[go: up one dir, main page]

CN102404817A - Multi-sink node wireless sensor network networking method and system - Google Patents

Multi-sink node wireless sensor network networking method and system Download PDF

Info

Publication number
CN102404817A
CN102404817A CN2011103282129A CN201110328212A CN102404817A CN 102404817 A CN102404817 A CN 102404817A CN 2011103282129 A CN2011103282129 A CN 2011103282129A CN 201110328212 A CN201110328212 A CN 201110328212A CN 102404817 A CN102404817 A CN 102404817A
Authority
CN
China
Prior art keywords
node
route
state
module
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103282129A
Other languages
Chinese (zh)
Other versions
CN102404817B (en
Inventor
张招亮
张乐
黄庭培
李栋
崔莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201110328212.9A priority Critical patent/CN102404817B/en
Publication of CN102404817A publication Critical patent/CN102404817A/en
Application granted granted Critical
Publication of CN102404817B publication Critical patent/CN102404817B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a networking method of a multi-sink-node wireless sensor network, which is characterized by comprising the following steps: step 101, a control server sends a control command for acquiring sensing data to a network according to requirements; 102, the common node is responsible for collecting sensing data and sending the sensing data to the sink node; 103, collecting the collected sensing data by the sink node, sending a sensing data collecting command to the common node, and sending the collected sensing data to the wireless base station; step 104, the time server is responsible for time synchronization of each aggregation node; 105, transmitting the sensing data received by the wireless base station to a data server through a network, and simultaneously transmitting a command for acquiring the sensing data to a sink node, wherein the wireless base station is provided with a long-distance wireless communication module; and step 106, the data server is responsible for storing the acquired sensing data.

Description

多汇聚节点无线传感器网络组网方法及其系统Multi-sink node wireless sensor network networking method and system

技术领域 technical field

本发明涉及无线传感器网络技术领域,尤其涉及一种针对多汇聚节点无线传感器网络组网方法及其系统。The present invention relates to the technical field of wireless sensor networks, in particular to a networking method and system for multi-sinking node wireless sensor networks.

背景技术 Background technique

无线传感器网络是一种集成无线通信、传感器技术、嵌入式技术和分布式计算等技术,通过传感器节点之间的协同工作,对各种环境进行实时监测和感知的系统,它实现了物理世界、计算世界以及人类社会三元世界的连通,因而也被称为“物联网”。传感器网络具有重要的应用价值,例如智能交通、环境监测、精准农业、国防军事、智能家居、安防监控、抢险救灾等许多重要领域都有广阔的应用前景。目前,在许多行业已经开始该项技术的推广和应用,并取得一定的成效。随着应用的展开和技术的推广,传感器网络系统的规模已经从最初的数十个发展数百、数千、数万。可以预见,未来将会出来规模越来越大的传感器网络系统。Wireless sensor network is a technology that integrates wireless communication, sensor technology, embedded technology and distributed computing. Through the collaborative work between sensor nodes, it can monitor and perceive various environments in real time. The connection between the computing world and the ternary world of human society is therefore also known as the "Internet of Things". Sensor networks have important application value, such as intelligent transportation, environmental monitoring, precision agriculture, national defense and military, smart home, security monitoring, emergency rescue and disaster relief and many other important fields have broad application prospects. At present, the promotion and application of this technology has already begun in many industries, and achieved certain results. With the development of applications and the promotion of technology, the scale of sensor network systems has grown from the initial dozens to hundreds, thousands, and tens of thousands. It can be predicted that sensor network systems with larger and larger scales will emerge in the future.

然而,目前传感器网络的组网方法都是针对小规模应用,不能适应大规模应用的需求。现有的组网方法可以分两类:一类基于单汇聚节点网络的组网方法;另一类是基于多汇聚节点网络的组网方法,但是对应用范围有非常大的局限性或对网络拓扑有一定的限制。目前,绝大部分为第一类,只有少数几种方法属于第二类。基于单汇聚节点网络的组网方法,在整个网络中均使用一个汇聚节点而避免采用多个汇聚节点后引入路由建立、时间同步等技术难题。这类组网方法的网络拓扑或为簇状、或为树状、或为网状,在网络规模较小时,能够较好的工作。但是,当网络规模较大后,传感节点到汇聚节点的跳数将急剧增大,路径变得很长,加上无线链路本身的不稳定性和汇聚节点的热点问题,使得采集的传感数据要传送到汇聚节点将经历很大的时延,成功传送的概率也将降低、单个传感数据传送所带来的能量消耗也将变得非常大,因而,网络寿命、数据采集的成功率和时延等都将受到严重影响。However, the current networking methods of sensor networks are aimed at small-scale applications and cannot meet the needs of large-scale applications. The existing networking methods can be divided into two categories: one is based on a single-sink node network; the other is based on a multi-sink node network, but there are very large limitations on the scope of application or the network Topology has certain limitations. At present, most of them belong to the first category, and only a few methods belong to the second category. Based on the networking method of a single aggregation node network, one aggregation node is used in the entire network to avoid technical problems such as routing establishment and time synchronization after using multiple aggregation nodes. The network topology of this type of networking method is either cluster, tree, or mesh, and can work well when the network scale is small. However, when the network scale is large, the number of hops from the sensor node to the sink node will increase sharply, and the path will become very long. In addition to the instability of the wireless link itself and the hot spot problem of the sink node, the collected transmission The transmission of sensory data to the aggregation node will experience a large delay, the probability of successful transmission will also be reduced, and the energy consumption caused by a single sensory data transmission will also become very large. Therefore, the life of the network and the success of data collection The rate and delay will be seriously affected.

目前,基于多汇聚节点的组网方法较少,也可将其分为两小类:一小类是只能应用于河流等带状监测对象的组网方法,这种方法应用范围具有较大的局限性。另一小类采用以汇聚节点为簇头的单跳成簇组网方式,因此限定了传感节点必须在汇聚节点的一跳范围内,因而网络的规模也不可能太大。At present, there are few networking methods based on multi-sink nodes, which can also be divided into two sub-categories: one category is a networking method that can only be applied to belt-shaped monitoring objects such as rivers, and this method has a wide range of applications. limitations. Another sub-category adopts a single-hop cluster networking method with the sink node as the cluster head, so it is limited that the sensor nodes must be within one hop of the sink node, so the scale of the network cannot be too large.

综上所述,大规模传感器网络应用的迫切需要一种可扩展、能量消耗小、数据传输服务质量高的组网方法。本发明公开的基于多汇聚节点的多树组网方法克服了单汇聚节点组网和目前带限制的多汇聚节点组网方法的缺点,其应用于大规模传感器网络时,既具有越好的可扩展性和能量效率,同时又可提供较好的传输服务质量。To sum up, the application of large-scale sensor networks urgently needs a networking method with scalability, low energy consumption, and high quality of service for data transmission. The multi-tree networking method based on multi-sink nodes disclosed by the present invention overcomes the shortcomings of single-sink node networking and the current limited multi-sink node networking method. When it is applied to a large-scale sensor network, it has better performance Scalability and energy efficiency, while providing better transmission quality of service.

发明内容 Contents of the invention

本发明的目的在于,克服现有技术的缺陷,设计可扩展、能量消耗小、数据传输服务质量高的组网方法,为大规模传感器网络的应用提供关键的基础设施。The purpose of the present invention is to overcome the defects of the prior art, design a networking method with scalability, low energy consumption, and high data transmission service quality, and provide key infrastructure for the application of large-scale sensor networks.

一种多汇聚节点无线传感器网络组网方法,其特征在于,包括如下步骤:A method for networking a wireless sensor network with multiple convergence nodes, characterized in that it comprises the steps of:

步骤101,由控制服务器根据需求向网络中发送采集传感数据的控制命令;Step 101, the control server sends a control command for collecting sensing data to the network according to requirements;

步骤102,普通节点配备短距离无线通信模块,由普通节点负责采集传感数据,发送给汇聚节点;Step 102, the common node is equipped with a short-distance wireless communication module, and the common node is responsible for collecting sensing data and sending it to the sink node;

步骤103,由汇聚节点收集采集到的传感数据,并向普通节点发送采集传感数据的命令,同时负责将采集到的传感数据发送给无线基站,汇聚节点配备短距离无线通信模块和长距离无线通信模块;Step 103, the aggregation node collects the collected sensing data, sends a command to collect the sensing data to the common node, and is responsible for sending the collected sensing data to the wireless base station. The aggregation node is equipped with a short-distance wireless communication module and a long-range Distance wireless communication module;

步骤104,由时间服务器负责每个汇聚节点的时间同步;Step 104, the time server is responsible for the time synchronization of each sink node;

步骤105,由无线基站接收的传感数据通过网络传送给数据服务器,同时将采集传感数据的命令发送给汇聚节点,无线基站配备长距离无线通信模块;Step 105, the sensing data received by the wireless base station is transmitted to the data server through the network, and at the same time, the command for collecting the sensing data is sent to the convergence node, and the wireless base station is equipped with a long-distance wireless communication module;

步骤106,由数据服务器负责存储采集的传感数据。Step 106, the data server is responsible for storing the collected sensing data.

所述的组网方法,其特征在于,所述步骤102还包括:The networking method is characterized in that the step 102 also includes:

步骤201,普通节点经历一个初始化阶段,在这个阶段初次建立路由,如果建立路由成功则进入同步工作状态;否则,进入非同步工作状态,执行步骤202;In step 201, the common node goes through an initialization phase, in which a route is established for the first time, and if the route is established successfully, it enters the synchronous working state; otherwise, it enters the asynchronous working state, and executes step 202;

步骤202,非同步工作状态时,普通节点建立路由或修复路由。Step 202, in the asynchronous working state, common nodes establish routes or repair routes.

所述的组网方法,其特征在于,所述步骤201还包括:The networking method is characterized in that the step 201 also includes:

步骤301,在同步工作状态下,普通节点以低占空比周期方式工作后经历一次更新路由过程,依此循环;Step 301, in the synchronous working state, common nodes go through a routing update process after working in a low duty cycle mode, and so on;

步骤302,普通节点在各周期的休眠态,关闭微处理器模块、传感模块和无线通信模块;Step 302, the ordinary node shuts down the microprocessor module, the sensor module and the wireless communication module in the sleep state of each cycle;

步骤303,普通节点在各周期的活动态时,节点发送数据和命令,在活动态结束时,判断是否路由已失效,在失效时进入非同步工作状态以修复路由;在未失效时,进入休眠态,执行步骤302;Step 303, when the common node is in the active state of each cycle, the node sends data and commands. When the active state ends, it is judged whether the route has failed, and it enters the asynchronous working state to repair the route when it fails; when it is not invalid, it enters dormancy state, execute step 302;

步骤304,传感数据的转发采用定向转发和机会转发相结合的策略,并将父节点对该数据的转发作为隐式的成功接收回复包,先是3次向父节点转发,后是3次广播转发,由比自己跳数小的、且处于同步工作状态的节点进行转发,直到收到隐式成功接收回复包为止;Step 304, the forwarding of the sensing data adopts the strategy of combining directional forwarding and opportunistic forwarding, and the forwarding of the data by the parent node is regarded as an implicit successful reception reply packet, first forwarding to the parent node 3 times, and then broadcasting 3 times Forwarding, forwarding is carried out by a node with a smaller hop count than itself and in a synchronous working state until an implicit successful reception reply packet is received;

步骤305,控制命令的转发依构建的树状拓扑从汇聚节点向普通节点逐条转发。Step 305, the forwarding of the control command is forwarded one by one from the sink node to the common node according to the constructed tree topology.

所述的组网方法,其特征在于,所述步骤202还包括:The networking method is characterized in that the step 202 also includes:

步骤401,由已经和时间服务器同步的汇聚节点同时发起路由建立,普通节点再筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点;Step 401, the aggregation node that has been synchronized with the time server initiates route establishment at the same time, the common node then screens the parent node, estimates the link quality, and selects the best parent node according to the remaining energy and link quality;

步骤402,当路由失效时,普通节点会启动路由修复,根据工作在同步状态的相邻普通节点回复的响应包筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点;Step 402, when the route fails, the ordinary node will start the route repair, select the parent node according to the response packet returned by the adjacent ordinary node working in the synchronous state, estimate the link quality, and select the best parent node according to the remaining energy and link quality ;

步骤403,当一次修复失败后,休眠后再次尝试。Step 403, when a repair fails, try again after hibernation.

所述的组网方法,其特征在于,所述步骤103还包括:The networking method is characterized in that the step 103 also includes:

步骤501,先初始化,然后休眠、活动交替工作后,与处于同步状态的普通节点同时进入更新路由阶段。Step 501: Initialize first, then dormant and active alternately, enter the routing update stage simultaneously with ordinary nodes in the synchronous state.

所述的组网方法,其特征在于,所述步骤501还包括:The networking method is characterized in that the step 501 also includes:

步骤601,在初始化时段开始后,汇聚节点向时间服务器获取时间实现各汇聚节点间的时间同步;Step 601, after the initialization period begins, the aggregation node acquires time from the time server to realize time synchronization among the aggregation nodes;

步骤602,在休眠态,汇聚节点同时关闭无线通信、微处理器和传感等模块进入低功耗状态;Step 602, in the dormant state, the sink node simultaneously turns off modules such as wireless communication, microprocessor, and sensor to enter a low power consumption state;

步骤603,在活动态,汇聚节点发送命令和数据,并协助普通节点进行路由修复;Step 603, in the active state, the sink node sends commands and data, and assists common nodes in routing repair;

步骤604,在更新路由时段开始后,汇聚节点广播路由建立包启动更新路由过程。Step 604, after the route update period begins, the aggregation node broadcasts a route establishment packet to start a route update process.

所述的组网方法,其特征在于还包括:The networking method is characterized in that it also includes:

步骤701,实现路由的建立及维护并提供路由路径的父节点和所有子节点的标识号;所构造的路由路径的集合形成多个以各汇聚节点为根的树状拓扑;每个普通节点的传感数据在稳定状态沿该普通节点到汇聚节点的路径进行转发,在不稳定状态会以机会方式转发,而控制服务器的命令由汇聚节点沿树广播至普通节点;Step 701, realizing the establishment and maintenance of routing and providing the identification numbers of the parent node and all child nodes of the routing path; the collection of the routing paths constructed forms a plurality of tree topologies with each sink node as the root; each common node The sensing data is forwarded along the path from the normal node to the sink node in a stable state, and will be forwarded opportunistically in an unstable state, and the command of the control server is broadcast from the sink node to the normal node along the tree;

步骤702,实现数据包的接收和发送工作,接收的数据是由无线硬件设备提供的,发送的数据包是由步骤701产生的;Step 702, realizing the receiving and sending of data packets, the received data is provided by the wireless hardware device, and the transmitted data packets are generated by step 701;

步骤703,从步骤702经时间同步管理传递过来的数据进行分类,执行步骤704;Step 703, classify the data transferred from step 702 through time synchronization management, and execute step 704;

步骤704,完成缓存待发送数据包;Step 704, finish buffering the data packets to be sent;

步骤705,完成普通节点和/或汇聚节点的时间控制;Step 705, complete the time control of common nodes and/or sink nodes;

步骤706,监测普通节点和/或汇聚节点运行状态,在软件或硬件故障时,自己进行重启,同时响应网络管理员注入网络的强制重启、状态查询等维护命令。Step 706, monitor the running status of ordinary nodes and/or aggregation nodes, restart itself when software or hardware fails, and respond to maintenance commands such as forced restart and status query injected into the network by the network administrator.

一种多汇聚节点无线传感器网络组网系统,其特征在于,包括:A multi-convergence node wireless sensor network networking system, characterized in that it includes:

普通节点,用于采集传感数据,其配备有短距离无线通信模块;Ordinary nodes, used to collect sensing data, are equipped with short-distance wireless communication modules;

汇聚节点,用于收集采集到的传感数据和向普通节点发送命令,还负责将数据发送给无线基站,配备短距离无线通信模块,还配有长距离无线通信模块;The aggregation node is used to collect the collected sensing data and send commands to ordinary nodes, and is also responsible for sending data to the wireless base station, equipped with a short-distance wireless communication module and a long-distance wireless communication module;

无线基站,用于将收到的数据传送给数据服务器,也将命令发送给汇聚节点,配备长距离无线通信模块;The wireless base station is used to transmit the received data to the data server, and also sends the command to the aggregation node, equipped with a long-distance wireless communication module;

时间服务器,用于各汇聚节点的时间同步;Time server, used for time synchronization of each aggregation node;

数据服务器,用于永久存储采集的传感数据;Data server for permanent storage of collected sensing data;

控制服务器,用于根据形成和向网络发送控制命令。The control server is used to form and send control commands to the network.

所述的组网系统,其特征在于,所述普通节点还包括:The networking system described above is characterized in that the common node also includes:

同步工作状态模块,用于普通节点经历一个初始化阶段,在这个阶段初次建立路由,如果建立路由成功则进入同步工作状态;否则,进入非同步工作状态模块;The synchronous working state module is used for ordinary nodes to go through an initialization stage, and the route is established for the first time in this stage. If the route is established successfully, it will enter the synchronous working state; otherwise, it will enter the asynchronous working state module;

非同步工作状态模块:用于非同步工作状态时,普通节点建立路由或修复路由。Asynchronous working state module: used for asynchronous working state, ordinary nodes establish routes or repair routes.

所述的组网系统,其特征在于,所述同步工作状态模块还包括:The networking system is characterized in that the synchronous working state module also includes:

更新路由模块,用于在同步工作状态下,普通节点以低占空比周期方式工作后经历一次更新路由过程,依此循环;The update routing module is used to update the routing process once after the ordinary node works in a low duty cycle mode in the synchronous working state, and so on;

普通节点休眠态模块,用于普通节点在各周期的休眠态,关闭微处理器模块、传感模块和无线通信模块;The common node dormant state module is used for the dormant state of common nodes in each cycle, and turns off the microprocessor module, the sensing module and the wireless communication module;

普通节点活动态模块,用于普通节点在各周期的活动态时,节点发送数据和命令,在活动态结束时,判断是否路由已失效,在失效时进入非同步工作状态以修复路由;在未失效时,进入休眠态;The common node active state module is used for ordinary nodes to send data and commands when the active state is in each cycle. When the active state is over, it is judged whether the route has failed. When it fails, enter the dormant state;

传感数据转发模块,用于传感数据的转发采用定向转发和机会转发相结合的策略,并将父节点对该数据的转发作为隐式的成功接收回复包,先是3次向父节点转发,后是3次广播转发,由比自己跳数小的、且处于同步工作状态的节点进行转发,直到收到隐式成功接收回复包为止;The sensing data forwarding module is used to forward the sensing data using a combination of directional forwarding and opportunistic forwarding, and the forwarding of the data by the parent node is regarded as an implicit successful reception reply packet. First, it forwards to the parent node 3 times, The last is 3 broadcast forwarding, which is forwarded by a node with a smaller hop count than itself and in a synchronous working state until the implicit successful reception reply packet is received;

控制命令转发模块,用于控制命令的转发依构建的树状拓扑从汇聚节点向普通节点逐条转发。The control command forwarding module is used to forward the control commands one by one from the aggregation node to the common node according to the tree topology constructed.

所述的组网系统,其特征在于,所述非同步工作状态模块还包括:The networking system is characterized in that the asynchronous working state module also includes:

父节点选择模块,用于由已经和时间服务器同步的汇聚节点同时发起路由建立,普通节点再筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点;当路由失效时,普通节点会启动路由修复,根据工作在同步状态的相邻普通节点回复的响应包筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点;当一次修复失败后,休眠后再次尝试。The parent node selection module is used to initiate route establishment at the same time by the aggregation node that has been synchronized with the time server. The common node then screens the parent node, estimates the link quality, and selects the best parent node according to the remaining energy and link quality; when the route fails , the normal node will start route repair, screen the parent node according to the response packet replied by the adjacent normal node working in the synchronous state, estimate the link quality, and select the best parent node according to the remaining energy and link quality; when a repair fails, Try again after hibernation.

所述的组网系统,其特征在于,所述汇聚节点还包括:The networking system is characterized in that the convergence node also includes:

初始化更新路由模块,用于先初始化,然后休眠、活动交替工作后,与处于同步状态的普通节点同时进入更新路由阶段。Initialize and update the routing module, which is used for initializing, then dormant and active alternately, and enter the updating routing stage at the same time as the normal nodes in the synchronization state.

所述的组网系统,其特征在于,所述初始化更新路由模块还包括:The networking system is characterized in that the initialization update routing module also includes:

初始化模块,用于在初始化时段开始后,汇聚节点向时间服务器获取时间实现各汇聚节点间的时间同步;The initialization module is used to obtain the time from the time server by the aggregation node after the initialization period begins to realize time synchronization between the aggregation nodes;

汇聚节点休眠态模块,用于在休眠态,汇聚节点同时关闭无线通信、微处理器和传感等模块进入低功耗状态;The sleep mode module of the sink node is used to turn off the wireless communication, microprocessor and sensor modules of the sink node and enter the low power consumption state at the same time in the sleep state;

汇聚节点活动态模块,用于在活动态,汇聚节点发送命令和数据,并协助普通节点进行路由修复;在更新路由时段开始后,汇聚节点广播路由建立包启动更新路由过程。The active state module of the sink node is used to send commands and data to the sink node in the active state, and assist ordinary nodes to perform route repair; after the update route period begins, the sink node broadcasts the route establishment packet to start the update route process.

所述的组网系统,其特征在于,还包括:The networking system is characterized in that it also includes:

路由建立维护模块,用于路由的建立及维护并提供路由路径的父节点和所有子节点的标识号,所构造的路由路径的集合形成多个以各汇聚节点为根的树状拓扑,各普通节点的传感数据在稳定状态下沿该节点到汇聚节点的路径进行转发,在不稳定状态下会以机会方式转发,而控制服务器的命令由汇聚节点沿树广播至普通节点;The route establishment and maintenance module is used for the establishment and maintenance of the route and provides the identification numbers of the parent node and all child nodes of the route path. The sensing data of a node is forwarded along the path from the node to the sink node in a stable state, and is forwarded opportunistically in an unstable state, and the command of the control server is broadcast by the sink node to the common node along the tree;

数据分类模块,用于从接收发送模块经时间同步管理传递过来的数据进行分类,送入队列管理模块或路由建立维护模块;The data classification module is used to classify the data transmitted from the receiving and sending module through time synchronization management, and send it to the queue management module or the route establishment and maintenance module;

队列管理模块,用于完成缓存待发送数据包;The queue management module is used to finish buffering data packets to be sent;

时间同步管理模块,用于完成整个节点的时间控制;Time synchronization management module, used to complete the time control of the entire node;

接收发送模块,用于数据包的接收和发送工作,接收的数据是由无线硬件设备提供的,发送的数据包是由路由建立维护模块产生的,或由队列管理模块经时间同步管理模块处理后传递过来的;The receiving and sending module is used for receiving and sending data packets. The received data is provided by the wireless hardware device, and the sent data packets are generated by the route establishment and maintenance module, or processed by the queue management module through the time synchronization management module passed on;

网络监测维护模块,用于负责监测节点运行状态,在软件或硬件故障时,自己进行重启,同时响应网络管理员注入网络的强制重启、状态查询等维护命令。The network monitoring and maintenance module is responsible for monitoring the running status of nodes, restarting itself when the software or hardware fails, and responding to maintenance commands such as forced restart and status query injected into the network by the network administrator.

与现有技术相比,本发明具有以下几点优势:(1)采用多汇聚节点组网方式,具有较好的可扩展性,支持大规模网络;(2)全面地节能技术,结合周期性休眠、节点深度休眠、路由选择综合考虑能量均衡以及隐式时间同步;(3)周期性地全网更新路由,保证路由的最优性;(4)数据转发采用定向转发(即先是3次向父节点转发。)和机会转发(“3次广播转发”是一种机会转发方法,即发送者不知道谁会帮助转发,多个接收者根据一定策略自己决定是否转发。)相结合,可兼顾传输效率和可靠性;(5)网络监测维护可监测节点运行状态,在软件或硬件故障时,进行自重启,使得组网具有高可靠性。此外,也可响应网络管理员注入网络的强制重启、状态查询等维护命令,便于网络维护管理;(6)初始化时有专门初始化调试时段,便于网络管理员现场系统安装调试。Compared with the prior art, the present invention has the following advantages: (1) adopts multi-convergence node networking mode, has better scalability, and supports large-scale networks; (2) comprehensive energy-saving technology, combined with periodic Dormancy, node deep dormancy, and routing selection comprehensively consider energy balance and implicit time synchronization; (3) Periodically update the routing of the entire network to ensure the optimality of routing; (4) Data forwarding adopts directional forwarding (that is, three times to parent node forwarding.) and opportunistic forwarding ("3 broadcast forwarding" is an opportunistic forwarding method, that is, the sender does not know who will help forwarding, and multiple receivers decide whether to forward according to a certain strategy.) Combining, it can take into account Transmission efficiency and reliability; (5) Network monitoring and maintenance can monitor the running status of nodes, and perform self-restart when software or hardware fails, making the network highly reliable. In addition, it can also respond to maintenance commands such as forced restart and status query injected into the network by the network administrator, which is convenient for network maintenance and management; (6) There is a special initialization and debugging period during initialization, which is convenient for the network administrator to install and debug the system on site.

附图说明 Description of drawings

图1为本发明的网络拓扑图;Fig. 1 is a network topology diagram of the present invention;

图2为本发明的路由模块结构图;Fig. 2 is a routing module structural diagram of the present invention;

图3为本发明的普通节点的状态转换图;Fig. 3 is the state transition figure of common node of the present invention;

图4为本发明的普通节点的同步状态工作时序图;Fig. 4 is the synchronous state working timing diagram of common node of the present invention;

图5为本发明的普通节点在活动态的工作图;Fig. 5 is the working figure of common node of the present invention in active state;

图6为本发明的普通节点的数据和命令发送的示意图;Fig. 6 is a schematic diagram of sending data and commands of common nodes of the present invention;

图7为本发明的普通节点在路由更新态及路由修复态的状态转换图;Fig. 7 is the state transition figure of common node of the present invention in route update state and route repair state;

图8为本发明的汇聚节点的工作时序图。FIG. 8 is a working sequence diagram of the sink node of the present invention.

具体实施方式 Detailed ways

下面结合附图对本发明的方法及其系统做进一步的说明。The method and system of the present invention will be further described below in conjunction with the accompanying drawings.

本发明提出一种针对大规模传感器网络的组网方法。普通节点的设计的特征在于:The invention proposes a networking method for a large-scale sensor network. The design of common nodes is characterized by:

(1)普通节点分同步工作状态和非同步工作状态。普通节点经历一个初始化阶段,在这个阶段初次建立路由路径,如果建立路由成功则进入同步工作状态;否则,进入非同步工作状态。(1) Ordinary nodes are divided into synchronous working state and asynchronous working state. Ordinary nodes go through an initialization phase, in which a routing path is established for the first time, and if the route is successfully established, it will enter the synchronous working state; otherwise, it will enter the asynchronous working state.

(2)在同步工作状态下,普通节点以低占空比周期方式工作若干轮后再经历一次更新路由过程,依此循环。(2) In the synchronous working state, ordinary nodes work in a low duty cycle mode for several rounds and then go through a routing update process, and so on.

(3)节点在各周期的休眠态,关闭微处理器模块、传感模块和无线通信模块。微处理器模块负责整个节点的操作,处理和储存自己采集的数据以及其他节点发来的数据;传感模块负责检测所在区域内的相应环境信息后,将用于表示这些环境信息的模拟电压信号通过模数转换单元转换成数字信号;无线通信模块负责通过无线信号与其他节点进行通信,交换控制消息和收发采集数据。(其中,微处理器模块关闭有一个等级,涉及寄存器,时钟部分不会关闭。而传感模块和无线通信模块完全关闭。)进入低功耗状态。(3) The node shuts down the microprocessor module, the sensing module and the wireless communication module in each cycle of the dormant state. The microprocessor module is responsible for the operation of the entire node, processing and storing the data collected by itself and the data sent by other nodes; the sensor module is responsible for detecting the corresponding environmental information in the area, and will be used to represent the analog voltage signal of these environmental information It is converted into a digital signal through an analog-to-digital conversion unit; the wireless communication module is responsible for communicating with other nodes through wireless signals, exchanging control messages and sending and receiving collected data. (Among them, there is a level of shutdown of the microprocessor module, which involves registers, and the clock part will not be turned off. The sensing module and the wireless communication module are completely turned off.) Enter a low power consumption state.

(4)节点在各周期的活动态时,节点发送数据和命令,在活动态结束时,判断是否路由路径已失效(在失效时进入非同步工作状态;在未失效时,正常进入休眠态),应该进入非同步工作状态以修复路由。(4) When the node is in the active state of each cycle, the node sends data and commands, and at the end of the active state, it is judged whether the routing path has failed (enter the asynchronous working state when it fails; enter the dormant state normally when it is not invalid) , should go into asynchronous work state to fix the routing.

(5)数据的转发采用定向转发和机会转发相结合的策略,定向转发和机会转发两者之间的区别就是:定向转发是指节点在发送时就确定要发送给相应节点,并由该节点转发。而机会转发发送节点也不确定是发送给谁,而是由接收到的节点自己确定是不是应该转发。并将父节点对该数据的转发作为隐式的ACK(Acknowledgement成功接收回复包)。文中共出现3种ACK,各有不同的含义。隐式ACK:指并未收到ACK控制包,但是通过监听是否有其它比自己距离sink节点更近的节点帮转发自己刚才发送的数据包。如果有,则表示刚才自己发送数据包已有被前面的节点接收。因而,数据被传递到距离sink更近的节点了。显式ACK:指真正的MAC层的ACK包,是传统意义上的ACK包。PROBEACK:是指接收方收到PROBE包后,回复的一个控制包。它与PROBE包一一对应。7。(先向父节点转发再广播是为了提高可靠性;3次是根据在北京、无锡太湖、江苏大丰、广东肇庆等地大量实验实测结果,并结合功耗权衡之后的结果。)(5) Data forwarding adopts the strategy of combining directional forwarding and opportunistic forwarding. The difference between directional forwarding and opportunistic forwarding is: directional forwarding means that a node determines to send to the corresponding node when sending, and the node Forward. And the sending node of opportunistic forwarding is not sure who to send it to, but the receiving node itself determines whether it should be forwarded. And the forwarding of the data by the parent node is regarded as an implicit ACK (Acknowledgment successfully receives the reply packet). There are three kinds of ACKs in this article, each with different meanings. Implicit ACK: It means that the ACK control packet has not been received, but by monitoring whether there are other nodes closer to the sink node than itself to help forward the data packet it just sent. If there is, it means that the data packet sent by itself has been received by the previous node. Thus, data is delivered to nodes closer to the sink. Explicit ACK: Refers to the real ACK packet of the MAC layer, which is an ACK packet in the traditional sense. PROBEACK: It refers to a control packet that the receiver replies after receiving the PROBE packet. It has a one-to-one correspondence with the PROBE package. 7. (Forwarding to the parent node before broadcasting is to improve reliability; the 3 times are based on the results of a large number of experiments in Beijing, Wuxi Taihu, Jiangsu Dafeng, Guangdong Zhaoqing and other places, combined with the results after weighing power consumption.)

(6)命令的转发依所构建的树状拓扑从汇聚节点向子节点逐条转发。(6) The forwarding of commands is forwarded one by one from the sink node to the sub-nodes according to the constructed tree topology.

(7)非同步工作状态时,节点建立或修复路由。由已和时间服务器同步的汇聚节点同时发起路由建立,普通节点再筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点。当路由失效时,普通节点会启动路由修复,根据工作在同步状态的邻节点回复的响应包筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点。当一次修复失败后,休眠后再次尝试。(7) In the asynchronous working state, the node establishes or repairs the route. The aggregation node that has been synchronized with the time server initiates route establishment at the same time, and the common node then screens the parent node, estimates the link quality, and selects the best parent node according to the remaining energy and link quality. When the route fails, the ordinary node will start the route repair, screen the parent node according to the response packet returned by the neighboring node working in the synchronous state, estimate the link quality, and select the best parent node according to the remaining energy and link quality. When a repair fails, try again after hibernation.

汇聚节点设计的特征在于:The sink node design is characterized by:

(1)先经历一段初始化时段(其中所指一段初始化时段中的一段是可以设置的参数、参考值为60秒。),再休眠、活动交替工作一定周期(其中一定周期是可以设置的参数,参考值为72个周期。)后,与处于同步状态的普通节点同时进入更新路由阶段。(1) First go through a period of initialization (one of the period of initialization referred to is a parameter that can be set, and the reference value is 60 seconds.), and then sleep and alternately work for a certain period of activity (a certain period is a parameter that can be set, The reference value is 72 cycles.) Afterwards, it enters the update routing stage simultaneously with the common nodes in the synchronous state.

(2)在初始化时段开始后,汇聚节点向时间服务器获取时间实现各汇聚节点间的时间同步。(2) After the initialization period begins, the sink node acquires time from the time server to realize time synchronization among the sink nodes.

(3)在休眠时段,汇聚节点同时关闭无线通信、微处理器和传感等模块进入低功耗状态。(3) During the dormant period, the sink node simultaneously turns off modules such as wireless communication, microprocessor, and sensor to enter a low power consumption state.

(4)在活动时段,汇聚节点发送命令和数据,并协助普通节点进行路由修复。(4) During the active period, the sink node sends commands and data, and assists common nodes in routing repair.

(5)在更新路由时段开始后,汇聚节点广播若干SETUP包(路由建立包)启动更新路由过程。(5) After the route update period begins, the aggregation node broadcasts several SETUP packets (routing establishment packets) to start the route update process.

图1为本发明的系统结构图,包括以下几部分:(1)普通节点101;(2)汇聚节点102;(3)无线基站103;(4)时间服务器104;(5)数据服务器105;(6)控制服务器106。Fig. 1 is the system structural diagram of the present invention, comprises following several parts: (1) common node 101; (2) convergence node 102; (3) wireless base station 103; (4) time server 104; (5) data server 105; (6) Control server 106 .

其中,普通节点101负责采集传感数据,其配备有短距离无线通信模块;汇聚节点102负责收集采集到的传感数据和向普通节点101发送命令,还负责将数据发送给无线基站103,其配备短距离无线通信模块外,如802.15.4,负责与普通节点通信。(此处提到的短距离无线通信模块是指:无线通信模块中包括有短距离和长距离无线通信模块,这里使用短距离无线通信模块。)此外,汇聚节点102还配有WiFi、GPRS、GSM或3G等长距离无线通信模块,负责接入互联网,实现与时间服务器104、数据服务器105和控制服务器106之间的通信。如附图1所示,无线传感器网络内的直实线表示短距离通信,形状像闪电的线标示的是长距离通信。无线基站103负责将收到的数据传送给数据服务器105,也将命令发送给汇聚节点102,也配备WiFi、GPRS、GSM或3G等长距离无线通信模块。时间服务器104负责各汇聚节点102的时间同步;数据服务器105负责永久存储采集的传感数据;控制服务器106负责根据形成和向网络发送控制命令。Among them, the ordinary node 101 is responsible for collecting sensing data, which is equipped with a short-distance wireless communication module; the aggregation node 102 is responsible for collecting the collected sensing data and sending commands to the ordinary node 101, and is also responsible for sending the data to the wireless base station 103 Equipped with a short-distance wireless communication module, such as 802.15.4, responsible for communicating with common nodes. (The short-distance wireless communication module mentioned here refers to: the wireless communication module includes short-distance and long-distance wireless communication modules, and the short-distance wireless communication module is used here.) In addition, the aggregation node 102 is also equipped with WiFi, GPRS, Long-distance wireless communication modules such as GSM or 3G are responsible for accessing the Internet and realizing communication with the time server 104 , the data server 105 and the control server 106 . As shown in Figure 1, the straight solid line in the wireless sensor network indicates short-distance communication, and the line shaped like lightning indicates long-distance communication. The wireless base station 103 is responsible for transmitting the received data to the data server 105, and also sends commands to the aggregation node 102, and is also equipped with long-distance wireless communication modules such as WiFi, GPRS, GSM or 3G. The time server 104 is responsible for the time synchronization of each aggregation node 102; the data server 105 is responsible for permanently storing the collected sensing data; the control server 106 is responsible for forming and sending control commands to the network.

根据应用需求,汇聚节点和普通节点被随机部署在或者其它的应用场所。首先各汇聚节点和时间服务器进行同步,同步后,由汇聚节点和普通节点进行交互,通过路由协议建立多个以汇聚节点为树根的路由树,其中,一个普通节点只处于一个路由树中。普通节点采集到数据后通过无线信道以多跳方式沿路由树传递给位于树根的汇聚节点,由汇聚节点经无线基站传送给数据服务器。此外,由控制服务器发出的命令经无线基站传送给各汇聚节点,并由各汇聚节点转发给普通节点。因本发明的路由方式支持多汇聚节点,因而非常适用于大规模的传感器网络。According to application requirements, aggregation nodes and ordinary nodes are randomly deployed in or other application places. First, each aggregation node synchronizes with the time server. After synchronization, the aggregation node interacts with ordinary nodes, and establishes multiple routing trees with the aggregation node as the root through the routing protocol. Among them, an ordinary node is only in one routing tree. After the common node collects the data, it transmits the data to the aggregation node located at the root of the tree through the wireless channel in a multi-hop manner along the routing tree, and the aggregation node transmits it to the data server through the wireless base station. In addition, the commands issued by the control server are transmitted to each convergence node via the wireless base station, and then forwarded to the common nodes by each convergence node. Because the routing mode of the invention supports multiple sink nodes, it is very suitable for large-scale sensor networks.

所述普通节点还包括:The common nodes also include:

同步工作状态模块,用于普通节点经历一个初始化阶段,在这个阶段初次建立路由,如果建立路由成功则进入同步工作状态;否则,进入非同步工作状态模块;The synchronous working state module is used for ordinary nodes to go through an initialization stage, and the route is established for the first time in this stage. If the route is established successfully, it will enter the synchronous working state; otherwise, it will enter the asynchronous working state module;

非同步工作状态模块:用于非同步工作状态时,普通节点建立路由或修复路由。Asynchronous working state module: used for asynchronous working state, ordinary nodes establish routes or repair routes.

所述同步工作状态模块还包括:The synchronous working status module also includes:

更新路由模块,用于在同步工作状态下,普通节点以低占空比周期方式工作后经历一次更新路由过程,依此循环;The update routing module is used to update the routing process once after the ordinary node works in a low duty cycle mode in the synchronous working state, and so on;

普通节点休眠态模块,用于普通节点在各周期的休眠态,关闭微处理器模块、传感模块和无线通信模块;The common node dormant state module is used for the dormant state of common nodes in each cycle, and turns off the microprocessor module, the sensing module and the wireless communication module;

普通节点活动态模块,用于普通节点在各周期的活动态时,节点发送数据和命令,在活动态结束时,判断是否路由已失效,在失效时进入非同步工作状态以修复路由;在未失效时,进入休眠态;The common node active state module is used for ordinary nodes to send data and commands when the active state is in each cycle. When the active state is over, it is judged whether the route has failed. When it fails, enter the dormant state;

传感数据转发模块,用于传感数据的转发采用定向转发和机会转发相结合的策略,并将父节点对该数据的转发作为隐式的成功接收回复包,先是3次向父节点转发,后是3次广播转发,由比自己跳数小的、且处于同步工作状态的节点进行转发,直到收到隐式成功接收回复包为止;The sensing data forwarding module is used to forward the sensing data using a combination of directional forwarding and opportunistic forwarding, and the forwarding of the data by the parent node is regarded as an implicit successful reception reply packet. First, it forwards to the parent node 3 times, The last is 3 broadcast forwarding, which is forwarded by a node with a smaller hop count than itself and in a synchronous working state until the implicit successful reception reply packet is received;

控制命令转发模块,用于控制命令的转发依构建的树状拓扑从汇聚节点向普通节点逐条转发。The control command forwarding module is used to forward the control commands one by one from the aggregation node to the common node according to the tree topology constructed.

所述非同步工作状态模块还包括:The asynchronous working status module also includes:

父节点选择模块,用于由已经和时间服务器同步的汇聚节点同时发起路由建立,普通节点再筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点;当路由失效时,普通节点会启动路由修复,根据工作在同步状态的相邻普通节点回复的响应包筛选父节点,估计链路质量,依据剩余能量和链路质量选择最佳父节点;当一次修复失败后,休眠后再次尝试。The parent node selection module is used to initiate route establishment at the same time by the aggregation node that has been synchronized with the time server. The common node then screens the parent node, estimates the link quality, and selects the best parent node according to the remaining energy and link quality; when the route fails , the normal node will start route repair, screen the parent node according to the response packet replied by the adjacent normal node working in the synchronous state, estimate the link quality, and select the best parent node according to the remaining energy and link quality; when a repair fails, Try again after hibernation.

所述汇聚节点还包括:The aggregation node also includes:

初始化更新路由模块,用于先初始化,然后休眠、活动交替工作后,与处于同步状态的普通节点同时进入更新路由阶段。Initialize and update the routing module, which is used for initializing, then dormant and active alternately, and enter the updating routing stage at the same time as the normal nodes in the synchronization state.

所述初始化更新路由模块还包括:The initialization update routing module also includes:

初始化模块,用于在初始化时段开始后,汇聚节点向时间服务器获取时间实现各汇聚节点间的时间同步;The initialization module is used to obtain the time from the time server by the aggregation node after the initialization period begins to realize time synchronization between the aggregation nodes;

汇聚节点休眠态模块,用于在休眠态,汇聚节点同时关闭无线通信、微处理器和传感等模块进入低功耗状态;The sleep mode module of the sink node is used to turn off the wireless communication, microprocessor and sensor modules of the sink node and enter the low power consumption state at the same time in the sleep state;

汇聚节点活动态模块,用于在活动态,汇聚节点发送命令和数据,并协助普通节点进行路由修复;在更新路由时段开始后,汇聚节点广播路由建立包启动更新路由过程。The active state module of the sink node is used to send commands and data to the sink node in the active state, and assist ordinary nodes to perform route repair; after the update route period begins, the sink node broadcasts the route establishment packet to start the update route process.

图2为本发明的路由模块结构图。普通节点和汇聚节点都配备有路由模块,路由模块由以下几部分组成:(1)路由建立维护模块201;(2)数据分类模块202;(3)队列管理模块203;(4)时间同步管理模块204;(5)接收发送模块205;(6)网络管理维护模块206。Fig. 2 is a structural diagram of the routing module of the present invention. Both ordinary nodes and aggregation nodes are equipped with a routing module, which consists of the following parts: (1) routing establishment and maintenance module 201; (2) data classification module 202; (3) queue management module 203; (4) time synchronization management Module 204; (5) receiving and sending module 205; (6) network management and maintenance module 206.

路由建立维护模块201主要实现路由的建立及维护并提供路由路径的父节点和所有子节点的标识号。所构造的路由路径的集合形成多个以各汇聚节点为根的树状拓扑。各普通节点的传感数据正常情况下沿该节点到汇聚节点的路径进行转发,在不稳定的情况下可能会以机会方式转发,而控制服务器的命令由汇聚节点沿树广播至普通节点。数据分类模块202主要工作是从接收发送模块经时间同步管理传递过来的数据进行分类,送入队列管理模块203或路由建立维护模块201。队列管理模块203的主要功能是完成缓存待发送数据包。时间同步管理模块204的主要功能是完成整个节点的时间控制,普通节点和汇聚节点分别是按照图4和图8所示的工作流程进行工作的,在不同的时间点位置完成不同的工作。接收发送模块205主要实现数据包的接收和发送工作,接收的数据是由无线硬件设备提供的。发送的数据包是由路由建立维护模块产生的,或由队列管理模块经时间同步管理模块处理后传递过来的。网络监测维护模块206主要负责监测节点运行状态,在软件或硬件故障时,自己进行重启,此外,也负责响应网络管理员注入网络的强制重启、状态查询等维护命令。The route establishment and maintenance module 201 mainly implements route establishment and maintenance and provides identification numbers of the parent node and all child nodes of the route path. The set of constructed routing paths forms a plurality of tree topologies with each sink node as the root. The sensing data of each ordinary node is normally forwarded along the path from the node to the sink node, and may be forwarded opportunistically under unstable conditions, and the command of the control server is broadcast by the sink node to the common nodes along the tree. The main job of the data classification module 202 is to classify the data transferred from the receiving and sending modules through time synchronization management, and send them to the queue management module 203 or the route establishment and maintenance module 201 . The main function of the queue management module 203 is to buffer data packets to be sent. The main function of the time synchronization management module 204 is to complete the time control of the entire node. The common node and the convergence node work according to the workflow shown in FIG. 4 and FIG. 8 respectively, and complete different jobs at different time points. The receiving and sending module 205 mainly implements the receiving and sending of data packets, and the received data is provided by wireless hardware devices. The sent data packet is generated by the route establishment and maintenance module, or delivered by the queue management module after being processed by the time synchronization management module. The network monitoring and maintenance module 206 is mainly responsible for monitoring the running status of nodes, and restarting itself when software or hardware fails. In addition, it is also responsible for responding to maintenance commands such as forced restart and status query injected into the network by the network administrator.

图3为本发明中普通节点的状态转换图。普通节点在任意时刻处于五种状态之一:初始化态301、更新路由态302、初始调试态303、睡眠态304、活动态305和路由修复态306。Fig. 3 is a state transition diagram of common nodes in the present invention. Ordinary nodes are in one of five states at any time: initialization state 301 , route update state 302 , initial debugging state 303 , sleep state 304 , active state 305 and route repair state 306 .

步骤S301,普通节点启动后立即初始化态,完成设备的初始化工作,并驱动设备进入更新路由态,执行步骤S302;Step S301, the common node initializes the state immediately after starting, completes the initialization work of the device, and drives the device to enter the update routing state, and executes step S302;

步骤S302,更新路由态中普通节点与周围的普通节点和汇聚节点进行交互以确定路由,首先,启动后由初始化态进入到更新路由态,当路径建立成功(即成功进入一棵树并成为树的一部分),则节点进入初始化调试态,执行步骤S303,否则进入路由修复态,执行步骤S306;若修复成功由活动态进入到更新路由态,当路径更新成功后,则节点进入睡眠态,执行步骤S304,否则进入路由修复态,执行步骤S306;因网络路由的建立是由各汇聚节点同时启动的,因而在正常情况下,离汇聚节点近的普通节点先完成路由建立或更新,之后更远的节点再完成路由建立或更新。Step S302, the normal nodes in the update routing state interact with the surrounding common nodes and aggregation nodes to determine the route. First, after starting, enter the update routing state from the initialization state. When the path is successfully established (that is, successfully enters a tree and becomes a tree part), then the node enters the initialization debugging state, and executes step S303; otherwise, it enters the routing repair state, and executes step S306; if the repair is successful, it enters the update routing state from the active state, and when the path is successfully updated, the node enters the sleep state, and executes Step S304, otherwise enter the route repair state, execute step S306; because the establishment of the network route is started by each sink node at the same time, under normal circumstances, the common nodes near the sink node complete the route establishment or update first, and then further The node completes routing establishment or update.

步骤S303,初始调试态是为网络管理员提供的一段相对较长的节点活动时间,以便网络管理员观察成功安装网络。Step S303, the initial debugging state is a relatively long node active time provided for the network administrator, so that the network administrator can observe the successful installation of the network.

步骤S304,当INITIAL_WORK_TIME(初始工作时间)超时后,节点关闭radio(射频)进入睡眠态;节点在睡眠态采用深度睡眠技术,关闭无线通信模块、传感模块及微处理器模块,以延长工作寿命。节点处于睡眠态的时间达到SYNCHRONIC_SLEEP_TIME(同步睡眠时间)秒后,节点打开唤醒自己的微处理器模块、传感模块和无线通信模块,进入活动态,执行步骤305。Step S304, when the INITIAL_WORK_TIME (initial working time) is overtime, the node turns off the radio (radio frequency) and enters the sleep state; the node adopts deep sleep technology in the sleep state, and closes the wireless communication module, the sensor module and the microprocessor module to prolong the working life . After the node is in the sleep state for SYNCHRONIC_SLEEP_TIME (synchronous sleep time) seconds, the node turns on and wakes up its own microprocessor module, sensing module and wireless communication module, enters the active state, and executes step 305 .

步骤S305,节点在活动态开始后,采集传感数据,并将传感数据包传送给父节点,在状态结束时,若节点已连续3个小工作周期(1个小工作周期指进入睡眠态后又进入活动态的时间之和)未成功发送一个传感数据包,则节点进入路由修复态,执行步骤306;当节点已经过PERIODIC_COUNT(周期个数参数)个小工作周期后,节点进入更新路由态,执行步骤S302,否则,当节点处于活动态的时间达到SYNCHRONIC_WORK_TIME(同步工作时间)秒后,节点又回到睡眠态,执行步骤S304。Step S305, after the node starts the active state, collects the sensing data, and transmits the sensing data packet to the parent node. Enter the sum of the time of active state again) unsuccessfully send a sensing data packet, then node enters route repairing state, execution step 306; After the node has passed PERIODIC_COUNT (periodic number parameter) small working cycle, node enters update Routing state, execute step S302, otherwise, when the time of the node in active state reaches SYNCHRONIC_WORK_TIME (synchronous working time) seconds, the node returns to sleep state, and execute step S304.

步骤S306,普通节点在路由修复态与周围的普通节点和汇聚节点进行交互以确定路由路径,当路径建立成功,则节点进入活动态,执行步骤S305。In step S306, the common node interacts with surrounding common nodes and sink nodes in the route repair state to determine the routing path. When the path is established successfully, the node enters the active state and executes step S305.

更新路由态和路由修复态的状态转换图见图3。将节点已经建立好路径后的状态及路径重建状态称为同步状态,它包含初始化态301、更新路由态302、初始调试态303、睡眠态304及活动态305。反之,将路由修复态306称为失同步状态。因更新路由态302及路由修复态306的工作过程类似,将在后面同时介绍这两个状态的工作过程。下面,首先同步状态的工作过程。See Figure 3 for the state transition diagram of the update routing state and the routing repair state. The state after the node has established a path and the state of path reconstruction is called a synchronization state, which includes an initialization state 301 , an update routing state 302 , an initial debugging state 303 , a sleep state 304 and an active state 305 . On the contrary, the routing repair state 306 is called an out-of-sync state. Since the working processes of the update routing state 302 and the routing repair state 306 are similar, the working processes of these two states will be introduced later. Next, firstly, the working process of synchronizing the state.

图4是普通节点的同步状态工作时序图。Fig. 4 is a sequence diagram of the synchronous state work of common nodes.

步骤S41,节点在启动时刻401启动,将经过初始化态时段402,此时节点处于初始化态,即步骤S301,在这个时段,节点完成内部变量、资源及硬件的初始化;Step S41, the node is started at the startup time 401, and it will go through the initialization state period 402. At this time, the node is in the initialization state, that is, step S301. During this period, the node completes the initialization of internal variables, resources and hardware;

步骤S42,然后,进入路由建立时段403,此时节点处于更新路由态302。在该时段节点与周围节点进行交互以加入一颗建好的路径树,以达到建立路由路径的目的;Step S42, then, enter the route establishment period 403, and the node is in the update route state 302 at this time. During this period, the node interacts with the surrounding nodes to join a built path tree to achieve the purpose of establishing a routing path;

步骤S43,接着,节点进入初始调试态时段404,此时节点处于初始调试态303。在该时段,各节点向数据服务器传送调试数据包以便让网络管理员确定网络是否成功安装。之后,节点在休眠时刻405,关闭传感器模块、无线模块和微处理器模块以降低能耗。其中,初始化态时段、路由建立时段及初始调试态时段时间总长度为初始工作时间(INITIAL_WORK_TIME);Step S43 , then, the node enters the initial debugging state period 404 , and the node is in the initial debugging state 303 at this time. During this time period, each node transmits a debug packet to the data server to allow the network administrator to determine whether the network was successfully installed. Afterwards, at sleep time 405, the node turns off the sensor module, the wireless module and the microprocessor module to reduce energy consumption. Among them, the total length of the initial state period, route establishment period and initial debugging state period is the initial working time (INITIAL_WORK_TIME);

步骤S44,节点周期性地进入休眠态时段406和活动态时段407。在休眠态时段406节点处于休眠态304,时间长度为SYNCHRONIC_SLEEP_TIME(同步睡眠时间),节点关闭。在活动态时段407节点处于活动态305,时间长度为SYNCHRONIC_WORK_TIME(同步工作时间),1个休眠态时段406和1个活动态时段407构成1个小工作周期409;In step S44, the node enters the dormant state period 406 and the active state period 407 periodically. During the sleep state period 406 the node is in the sleep state 304 for a period of SYNCHRONIC_SLEEP_TIME (synchronous sleep time), and the node is shut down. In the active state period 407 node is in the active state 305, and the length of time is SYNCHRONIC_WORK_TIME (synchronous working time), and one dormant state period 406 and one active state period 407 constitute a small work cycle 409;

步骤S45,当节点经历周期个数参数(PERIODIC_COUNT)个小工作周期后,小工作周期为了区别由PERIODIC_COUNT个小工作周期构成的一个大工作周期,即图4中所示的,普通节点在经过(406,407,406,407,…408)之后又会进入(406,407,406,407,…408),所述大工作周期是指(406,407,406,407,…408),而小工作周期是指单个的(406,407)。进入更新路由态时段408,此时节点工作状态为306。其中,小工作周期是指时间上连续的一个休眠态时段和活动态时段。与在路由建立时段403一样,节点在该时段重新建立路由路径。Step S45, when the node experiences cycle number parameter (PERIODIC_COUNT) small working cycles, in order to distinguish a large working cycle constituted by PERIODIC_COUNT small working cycles, as shown in Fig. 4, the common node passes through ( 406, 407, 406, 407, ... 408) and then enter (406, 407, 406, 407, ... 408), the large duty cycle refers to (406, 407, 406, 407, ... 408), and the small A duty cycle refers to a single (406, 407). Enter the update routing state period 408, and the node working state is 306 at this time. Wherein, the small duty cycle refers to a dormant state period and an active state period continuous in time. As in the route establishment period 403, the node re-establishes the routing path during this period.

图5为普通节点在活动态的工作时序图。Fig. 5 is a working sequence diagram of common nodes in active state.

步骤S501,节点进行发送数据或命令701;Step S501, the node sends data or command 701;

步骤S502,在活动态结束的最后1秒,节点判断是否失同步702:若节点在过去3个小工作周期所发送的数据都未成功,即未收到隐式ACK(成功接收回复包),那么节点进入失同步态。Step S502, in the last 1 second after the end of the active state, the node judges whether it is out of synchronization 702: If the data sent by the node in the past 3 small working cycles has not been successful, that is, the implicit ACK has not been received (successfully received the reply packet), Then the node goes out of synchronicity.

图6为普通节点的数据和命令发送的示意图。FIG. 6 is a schematic diagram of sending data and commands of a common node.

节点的传感数据都是上行的,而命令都是下行的。The sensing data of the nodes are all uplinks, while the commands are all downlinks.

如图6(a)所示,对于每一个由节点本身产生的、由子节点传递单播过来的或由比自己跳数大的邻节点广播过来的数据包,节点都将其单播给父节点(步骤S601),其父节点收到后同样将该数据包单播给其父节点(步骤S602),与此同时,节点侦听到其父节点转发的包,并将其作为隐式ACK(成功接收回复包),认为自己的数据包已成功发送给父节点。因为数据包可能丢失,节点将间隔地尝次发送3次数据包,直到听到父节点转发的数据包。As shown in Figure 6(a), for each data packet generated by the node itself, delivered by the child node or broadcast by the neighbor node with a larger hop than itself, the node will unicast it to the parent node ( Step S601), after its parent node receives, this data packet is unicasted to its parent node (step S602) equally, at the same time, the node listens to the packet forwarded by its parent node, and uses it as an implicit ACK (success Receive the reply packet), thinking that its own data packet has been successfully sent to the parent node. Because the data packet may be lost, the node will try to send the data packet 3 times at intervals until it hears the data packet forwarded by the parent node.

否则,节点继续将采用图6(b)所示的方式机会转发。首先,节点先广播数据包(步骤S603),周围跳数比其小,且处于同步态的邻节点收到该包后,将像图6(a)所示的方式向父节点转发(步骤S604),节点听到该转发的包后,认为数据包已发送成功,即收到隐式ACK(成功接收回复包)。同样,节点广播3次,直到收到邻节点帮其转发的数据包。Otherwise, the node will continue to forward in the way shown in Figure 6(b). First of all, the node first broadcasts the data packet (step S603), and after receiving the packet, the adjacent nodes in the synchronous state will forward it to the parent node in the manner shown in Figure 6 (a) (step S604 ), after the node hears the forwarded packet, it thinks that the data packet has been sent successfully, that is, it receives an implicit ACK (successfully receives the reply packet). Similarly, the node broadcasts 3 times until it receives the data packet forwarded by the neighbor node.

下行的命令采用图6(c)所示的方式进行传递。节点广播收到的命令包(步骤S605),子节点收到后,又广播给子节点的子节点(步骤S606)。Downlink commands are delivered in the manner shown in Figure 6(c). The node broadcasts the received command packet (step S605), and after the child node receives it, it broadcasts to the child nodes of the child node (step S606).

图7为普通节点在更新路由态302及路由修复态306的状态转换图。FIG. 7 is a state transition diagram of an ordinary node in the update route state 302 and the route repair state 306 .

步骤S701,INIT状态(初始化状态):当节点进入更新路由态时,进入该状态。在该状态,设置路由修复计时器(RouteRecoveryTimer)值为一个固定参数TIMER_RECOVER_INIT_WAIT,置更新路由标志为true(真),自己的跳数为255,标志变量chooseLargeHopNode为false(假)。因为网络中的所有的节点的时间都是同步的,处于同步态的所有节点会同时进入更新路由态,整个路由的初始建立入更新路由过程是由各个汇聚节点同时启动的,首先,汇聚节点会间隔地广播NUM_SETUP_REPEAT(一个固定参数)个SETUP包(路由建立包),该包中包含汇聚节点的时间、自己的标识号、所连汇聚节点标识号(即自己的标识号)、跳数(为0)、电量。刚建立路由路径的普通节点同样也会间隔地广播NUM_SETUP_REPEAT(一个固定参数)个SETUP包(路由建立包)。当普通节点收到第1个SETUP包后,保存包中所含邻节点的时间、标识号、所连汇聚节点标识号、跳数、电量等信息。并重置路由建立计时器SetupRouteTableTimer值为一个固定参数TIMER_WAIT_GOODNBR。然后进入702状态。如果路由修复计时器RouteRecoveryTimer超时且未收到SETUP包(路由建立包),则进入708状态。Step S701, INIT state (initialization state): when the node enters the updating route state, it enters this state. In this state, set the route recovery timer (RouteRecoveryTimer) as a fixed parameter TIMER_RECOVER_INIT_WAIT, set the update route flag as true (true), own hop count as 255, and the flag variable chooseLargeHopNode as false (false). Because the time of all nodes in the network is synchronized, all nodes in the synchronous state will enter the update routing state at the same time, and the initial establishment and update routing process of the entire route is started by each sink node at the same time. First, the sink node will Broadcast NUM_SETUP_REPEAT (a fixed parameter) SETUP packets (route establishment packets) at intervals, which include the time of the sink node, its own identification number, the connected aggregation node identification number (ie its own identification number), and the number of hops (for 0), electricity. Ordinary nodes that have just established a routing path will also broadcast NUM_SETUP_REPEAT (a fixed parameter) SETUP packets (routing establishment packets) at intervals. When the ordinary node receives the first SETUP packet, it saves the time, identification number, identification number, hop number, power consumption and other information of the neighboring nodes contained in the packet. And reset the route establishment timer SetupRouteTableTimer value to a fixed parameter TIMER_WAIT_GOODNBR. Then enter the 702 state. If the route recovery timer RouteRecoveryTimer times out and does not receive the SETUP packet (route establishment packet), then enter the 708 state.

步骤S702,WAIT_FOR_GOODNBR状态(等待通信好的邻节点状态):节点在该状态主要是等待一个具有较好链路的邻节点广播的SETUP包(路由建立包),并存储所有所收到SETUP包(路由建立包)中携带的邻节点的时间、标识号、所连汇聚节点标识号,跳数、电量等信息。当收到一个具有较好链路质量的邻节点时,节点重设路由建立计时器SetupRouteTableTimer为一个固定参数TIMER_SETUP_ROUTE_TABLE,并进入703状态。否则,路由建立计时器SetupRouteTableTimer超时后,节点进入704状态。Step S702, WAIT_FOR_GOODNBR state (waiting for a good neighbor node state of communication): the node mainly waits for a SETUP packet (routing establishment packet) broadcasted by a neighbor node with a better link in this state, and stores all received SETUP packets ( Information such as the time, identification number, identification number of the connected sink node, hop count, and power of the adjacent node carried in the routing establishment packet). When receiving a neighbor node with better link quality, the node resets the route setup timer SetupRouteTableTimer to a fixed parameter TIMER_SETUP_ROUTE_TABLE, and enters the 703 state. Otherwise, after the route establishment timer SetupRouteTableTimer times out, the node enters the 704 state.

步骤S703,REBUILD_CONST_NBRTBL状态(更新路由表状态):节点在该状态主要是收集已经建立路径的邻节点广播的SETUP包(路由建立包),并存储其中携带的邻节点的时间、标识号、所连汇聚节点标识号、跳数、电量等信息。当路由建立计时器SetupRouteTableTimer超时后,节点进入704状态。Step S703, REBUILD_CONST_NBRTBL state (update routing table state): in this state, the node mainly collects the SETUP packet (routing establishment packet) broadcast by the neighbor node that has established the path, and stores the time, identification number, connected Aggregate information such as node identification number, hop count, and power. When the route establishment timer SetupRouteTableTimer times out, the node enters the 704 state.

步骤S704,SIFT_PARENT状态:节点在该状态主要是判断是否收到SETUP包(路由建立包),并且筛选出可以作为候选父节点的所有邻节点。当大跳数选择标志变量(chooseLargeHopNode)为true(真)时,收到过其SETUP包(路由建立包)的邻节点都可作为候选父节点;否则,只有跳数比自己小的节点才可以作为候选父节点。若未曾收到任何SETUP包(路由建立包)、iFailureSetup<MAX_NUM_FAILURE_SETUP(即失败计数变量小于某参数)且重置标置为true(真),则节点进入711状态;若未曾收到任何SETUP包(路由建立包)、iFailureSetup<MAX_NUM_FAILURE_SETUP(即失败计数变量小于某参数)且重置标置为false(假),则节点进入710状态;若未曾收到任何SETUP包(路由建立包)、iFailureSetup=MAX_NUM_FAILURE_SETUP(即失败计数变量等于某参数),则节点进入712状态。完成筛选后,若无候选父节点且iFailureSetup<MAX_NUM_FAILURE_SETUP(即失败计数变量小于某参数)则节点进入711状态;若无候选父节点且iFailureSetup=MAX_NUM_FAILURE_SETUP(即失败计数变量等于某参数),则节点进入712状态;否则,若存在候选父节点时,进入705状态。Step S704, SIFT_PARENT state: the node in this state mainly judges whether it has received a SETUP packet (routing establishment packet), and screens out all adjacent nodes that can be candidate parent nodes. When the large hop number selection flag variable (chooseLargeHopNode) is true (true), the neighboring nodes that have received its SETUP packet (routing establishment packet) can be used as candidate parent nodes; otherwise, only nodes with a smaller hop number than itself can as a candidate parent node. If never received any SETUP packet (route establishment packet), iFailureSetup<MAX_NUM_FAILURE_SETUP (that is, the failure count variable is less than a certain parameter) and the reset flag is set to true (true), then the node enters the 711 state; if never received any SETUP packet ( Routing establishment package), iFailureSetup<MAX_NUM_FAILURE_SETUP (that is, the failure count variable is less than a certain parameter) and the reset flag is set to false (false), then the node enters the 710 state; if no SETUP package (routing establishment package) has been received, iFailureSetup=MAX_NUM_FAILURE_SETUP (that is, the failure count variable is equal to a certain parameter), then the node enters the 712 state. After the screening is completed, if there is no candidate parent node and iFailureSetup<MAX_NUM_FAILURE_SETUP (that is, the failure count variable is less than a certain parameter), the node enters the 711 state; if there is no candidate parent node and iFailureSetup=MAX_NUM_FAILURE_SETUP (that is, the failure count variable is equal to a certain parameter), the node enters 712 state; otherwise, if there is a candidate parent node, enter 705 state.

步骤S705,CHECK_BILINK状态(确认双向链路状态):该状态的主要任务是对节点与各候选父节点之间双向链路的质量进行检测。检测方式是分别向各候选父节点发送固定参数NUM_CHECK_REPEAT个需要显式ACK(接收成功回复)的CHECK包(确认包),并统计CHECK包(确认包)传送成功次数作为链路质量的估计。此处提到的显式ACK是指:真正的MAC层的ACK包,是传统意义上的ACK包。Step S705, CHECK_BILINK state (confirming bidirectional link state): the main task of this state is to detect the quality of the bidirectional link between the node and each candidate parent node. The detection method is to send fixed parameter NUM_CHECK_REPEAT CHECK packets (confirmation packets) that require explicit ACK (successful reception) to each candidate parent node, and count the number of successful transmissions of CHECK packets (confirmation packets) as an estimate of link quality. The explicit ACK mentioned here refers to: the real ACK packet of the MAC layer, which is an ACK packet in the traditional sense.

步骤S706,CHOOSE_PARENT状态(选择父节点):该状态的任务是判断是否有链路质量足够好的候选父节点,并根据候选父节点的链路质量和剩余电量选择一个最优的父节点。若收到的SETUP包(路由建立包)中无链路质量足够好的候选父节点,且iFailureSetup<MAX_NUM_FAILURE_SETUP(即失败计数变量小于某参数),则节点进入711状态;若收到的SETUP包(路由建立包)中无链路质量足够好的候选父节点,且iFailureSetup=MAX_NUM_FAILURE_SETUP(即失败计数变量等于某参数),则节点进入712状态。若存在链路质量足够好的候选父节点,则选出一个最优父节点。最优父节点的选择标准是使alpha*链路质量+(1-alpha)*剩余电量值最大的候选父节点,其中,alpha为一个固定参数。然后,设置自己的时间为选定父节点的时间,毁掉邻节点表并间隔地广播NUM_SETUP_REPEAT(一个固定参数)个SETUP包(路由建立包),然后进入707状态。Step S706, CHOOSE_PARENT state (choose parent node): the task of this state is to judge whether there is a candidate parent node with sufficient link quality, and select an optimal parent node according to the link quality and remaining power of the candidate parent node. If there is no candidate parent node with good enough link quality in the received SETUP packet (routing establishment packet), and iFailureSetup<MAX_NUM_FAILURE_SETUP (that is, the failure count variable is less than a certain parameter), then the node enters the 711 state; if the received SETUP packet ( There is no candidate parent node with good enough link quality in the route setup packet), and iFailureSetup=MAX_NUM_FAILURE_SETUP (that is, the failure count variable is equal to a certain parameter), then the node enters the 712 state. If there is a candidate parent node with sufficient link quality, an optimal parent node is selected. The selection criterion of the optimal parent node is the candidate parent node with the largest alpha*link quality+(1-alpha)*remaining power value, where alpha is a fixed parameter. Then, set your own time as the time of the selected parent node, destroy the neighbor table and broadcast NUM_SETUP_REPEAT (a fixed parameter) SETUP packets (routing establishment packets) at intervals, and then enter the 707 state.

步骤S707,NORMAL状态(正常工作状态):到达该状态表示路由路径已经建立。进入该状态时保存汇聚节点的标识号,父节点的标识号,自己的跳数(父节点跳数+1)。若在该状态收到PROBE包(探测包),则回应PROBEACK包(探测回复包)。此处的PROBEACK包是指:接收方收到PROBE包后,回复的一个控制包,其与PROBE包一一对应。收到PROBE包(探测包)代表附近有邻节点未处于路由修复态。回复的PROBEACK包(探测回复包)中,包含汇聚节点的时间、自已的标识号、所连汇聚节点标识号(即自己的标识号)、跳数(为0)、电量。Step S707, NORMAL state (normal working state): reaching this state indicates that the routing path has been established. When entering this state, save the identification number of the sink node, the identification number of the parent node, and its own hop count (the hop count of the parent node + 1). If a PROBE packet (probe packet) is received in this state, a PROBEACK packet (probe reply packet) is responded. The PROBEACK packet here refers to a control packet that the receiver replies after receiving the PROBE packet, which corresponds to the PROBE packet one by one. Receiving a PROBE packet (probe packet) means that there are nearby neighboring nodes that are not in the route repair state. The reply PROBEACK packet (detection reply packet) includes the time of the sink node, its own identification number, the connected sink node identification number (ie its own identification number), the hop count (0), and the power.

步骤S708,NO_ROUTE状态(无路由状态):节点在进入路由修复态时,会进入该状态,从这开始一次路由修复的过程。在该状态,节点确保radio(射频)是打开的,然后发送一个PROBE包(探测包),并置路由表建立计时器SetupRouteTableTimer为一个固定参数TIMER_SETUP_ROUTE_TABLE,置更新路由标志为false(假),之后进入709状态。周围处于同步状态的邻节点收到PROBE包(探测包)后会回复PROBEACK包(探测回复包)。Step S708, NO_ROUTE state (no route state): when the node enters the route restoration state, it will enter this state, and a route restoration process will start from here. In this state, the node ensures that the radio (radio frequency) is turned on, then sends a PROBE packet (probe packet), and sets the routing table establishment timer SetupRouteTableTimer as a fixed parameter TIMER_SETUP_ROUTE_TABLE, sets the update routing flag as false (false), and then enters 709 status. Neighboring nodes in the synchronization state will reply PROBEACK packets (probe reply packets) after receiving the PROBE packets (probe packets).

步骤S709,RECOVER_CONST_NBRTBL状态(修复路由表状态):节点在该状态时收集PROBEACK包(探测回复包)构造邻居表。每当收到一个PROBEACK(探测回复包)便存储其中的汇聚节点的时间、自己的标识号、所连汇聚节点标识号(即自己的标识号)、跳数(为0)、电量等信息。当路由表建立计时器SetupRouteTableTimer超时后,节点进入704状态。Step S709, RECOVER_CONST_NBRTBL state (routing table repair state): when the node is in this state, it collects PROBEACK packets (probe reply packets) to construct a neighbor table. Whenever a PROBEACK (detection reply packet) is received, information such as the time of the sink node, its own identification number, the identification number of the connected sink node (ie its own identification number), the number of hops (0), and the power is stored. When the routing table establishment timer SetupRouteTableTimer times out, the node enters the 704 state.

步骤S710,LONG_WAIT状态(长等待状态):该状态为休眠长等待状态。节点进入该状态时,关闭无线模块和微处理器模块。将失败计数变量iFailureSetup加1,表示一次修复过程失败,置路由修复计时器RouteRecoverTimer为一个固定参数TIMER_RECOVER_LONG_WAIT值。当路由修复计时器RouteRecoverTimer超时后进入708状态。Step S710, LONG_WAIT state (long waiting state): this state is a dormant long waiting state. When a node enters this state, the wireless module and the microprocessor module are turned off. Add 1 to the failure count variable iFailureSetup, indicating that a repair process fails, and set the route repair timer RouteRecoverTimer to a fixed parameter TIMER_RECOVER_LONG_WAIT value. When the route recovery timer RouteRecoverTimer times out, it enters the 708 state.

步骤S711,SHORT_WAIT状态(短等待状态):该状态为不休眠短等待状态。节点进入该状态时,也表示一次修复过程失败,置路由修复计时器RouteRecoverTimer为一个固定参数TIMER_RECOVER_SHORT_WAIT值。当路由修复计时器RouteRecoverTimer超时后进入708状态。Step S711, SHORT_WAIT state (short wait state): this state is a non-sleep short wait state. When a node enters this state, it also indicates that a recovery process has failed, and the route recovery timer RouteRecoverTimer is set to a fixed parameter TIMER_RECOVER_SHORT_WAIT value. When the route recovery timer RouteRecoverTimer times out, it enters the 708 state.

步骤S712,TRY_LARGE_HOP状态(尝试大跳数状态):节点进入该状态时,也表示连续多次修复过程失败,在跳数比自己小的处于同步状态的邻节点中,已经无法找到链路足够好的父节点。节点设置大跳数选择使能计数器EnableLargerHopTimer为2*T_DUTY_CYCLE,其中,T_DUTY_CYCLE为单个周期的时间长度。在该计数器超时后,置大跳数选择标志变量chooseLargeHopNode为true(真),这样在此后的修复过程中,节点将可以选择比自己跳数低的节点作为父节点。Step S712, TRY_LARGE_HOP state (try large hop state): when the node enters this state, it also indicates that the repair process has failed for many times in a row, and it has been unable to find a good enough link among neighboring nodes in the synchronization state whose hop count is smaller than itself the parent node of . The node sets the large hop count selection enable counter EnableLargerHopTimer to 2*T_DUTY_CYCLE, where T_DUTY_CYCLE is the time length of a single cycle. After the counter was overtime, set the large hop number selection flag variable chooseLargeHopNode to be true (true), so that in the repair process thereafter, the node will be able to select a node with a lower hop number than itself as the parent node.

以上状态中处于更新路由态的状态序列是701、702、703、704、705、706和707。处于路由修复态的状态序列是708、709、704、705、706、710、711、712和707。Among the above states, the state sequence of updating routing state is 701, 702, 703, 704, 705, 706 and 707. The sequence of states in the route repair state is 708, 709, 704, 705, 706, 710, 711, 712, and 707.

图8为汇聚节点的工作时序图。其工作和休眠时间控制与普通节点在同步状态下工作时相似。在节点启动后,是一个较长的工作时间,在这段工作时间的开始,汇聚节点向时间服务器获取时间,并置为自己的时间(步骤801)。然后,间隔式的发送固定参数NUM_SETUP_REPEAT(一个固定参数)个SETUP包(路由建立包)(步骤803)。接着开始命令和数据的发送(步骤802)。工作完成后,开始固定参数PERIODIC_COUNT个小工作周期,在每个小工作周期的活动时间都进行命令或数据的发送。之后的更新路由态时段开始时再次间隔式的发送固定参数NUM_SETUP_REPEAT个SETUP包(路由建立包)。传送由普通节点发送过来的数据时,经过无线基站发送给数据服务器。收到控制服务器由无线基站传送过来的命令后,向所有子节点转发。当收到PROBE包(探测包)后,汇聚节点回复PROBEACK包(探测回复包)。FIG. 8 is a working sequence diagram of the sink node. Its working and sleeping time control is similar to that of ordinary nodes working in a synchronous state. After the node is started, it is a long working time. At the beginning of this working time, the sink node obtains the time from the time server and sets it as its own time (step 801). Then, send fixed parameter NUM_SETUP_REPEAT (a fixed parameter) SETUP packets (routing establishment packets) at intervals (step 803). Sending of commands and data then begins (step 802). After the work is completed, the fixed parameter PERIODIC_COUNT small work cycles are started, and commands or data are sent during the active time of each small work cycle. At the beginning of the subsequent update routing state period, the fixed parameter NUM_SETUP_REPEAT SETUP packets (routing establishment packets) are sent at intervals again. When transmitting data sent by common nodes, it is sent to the data server through the wireless base station. After receiving the command sent by the control server from the wireless base station, forward it to all child nodes. After receiving the PROBE packet (probe packet), the sink node replies with a PROBEACK packet (probe reply packet).

本领域的技术人员在不脱离权利要求书确定的本发明的精神和范围的条件下,还可以对以上内容进行各种各样的修改。因此本发明的范围并不仅限于以上的说明,而是由权利要求书的范围来确定的。Various modifications can be made to the above contents by those skilled in the art without departing from the spirit and scope of the present invention defined by the claims. Therefore, the scope of the present invention is not limited to the above description, but is determined by the scope of the claims.

Claims (14)

1. a poly concourse nodes networking method of wireless sensor network is characterized in that, comprises the steps:
Step 101 is sent the control command of gathering sensing data by Control Server in network according to demand;
Step 102, ordinary node is equipped with short-range wireless communication module, is responsible for gathering sensing data by ordinary node, sends to aggregation node;
Step 103; Collect the sensing data that collects by aggregation node; And to the order that ordinary node sends the collection sensing data, be responsible for simultaneously the sensing data that collects is sent to the wireless base station, aggregation node is equipped with short-range wireless communication module and long distance wireless communication module;
Step 104 is responsible for the time synchronized of each aggregation node by time server;
Step 105, the sensing data that is received by the wireless base station sends data server to through network, and the order that will gather sensing data simultaneously sends to aggregation node, and the wireless base station is equipped with long distance wireless communication module;
Step 106 is responsible for the sensing data of storage of collected by data server.
2. network-building method as claimed in claim 1 is characterized in that, said step 102 also comprises:
Step 201, initial phase of ordinary node experience is set up route for the first time in this stage, if set up the route success then get into the synchronous working state; Otherwise, get into asynchronous operating state, execution in step 202;
When step 202, asynchronous operating state, ordinary node is set up route or is repaired route.
3. network-building method as claimed in claim 2 is characterized in that, said step 201 also comprises:
Step 301, under the synchronous working state, ordinary node with the work of low duty ratio periodic mode after experience once upgrade routing procedure, circulation according to this;
Step 302, ordinary node are closed microprocessor module, sensing module and wireless communication module at the dormant state in each cycle;
Step 303, ordinary node are when the activity attitude in each cycle, and node sends data and order, when the activity attitude finishes, judges whether that route lost efficacy, when losing efficacy, get into asynchronous operating state to repair route; When not losing efficacy, get into dormant state, execution in step 302;
Step 304; The forwarding of sensing data adopts directed forwarding and chance to transmit the strategy that combines; And father node replied bag to this forwarding of data as the successful reception of implicit expression, transmitted to father node for 3 times before this, after be that 3 broadcasting is transmitted; Transmit by and node that be in the synchronous working state littler, till receiving that implicit expression successfully receives the answer bag than own jumping figure;
Step 305, the forwarding of control command is transmitted to ordinary node from aggregation node according to the tree topology that makes up one by one.
4. network-building method as claimed in claim 2 is characterized in that, said step 202 also comprises:
Step 401 is set up by initiating route simultaneously with the synchronous aggregation node of time server, and ordinary node rescreens and selects father node, estimates link-quality, selects best father node according to dump energy and link-quality;
Step 402, when route lost efficacy, ordinary node can start route repair, according to the respond packet screening father node that the adjacent ordinary node that is operated in synchronous regime is replied, estimated link-quality, selected best father node according to dump energy and link-quality;
Step 403 behind a repairing failure, is attempted after the dormancy once more.
5. network-building method as claimed in claim 1 is characterized in that, said step 103 also comprises:
Step 501, first initialization after dormancy then, the activity alternation, gets into the renewal route stage with the ordinary node that is in synchronous regime simultaneously.
6. network-building method as claimed in claim 5 is characterized in that, said step 501 also comprises:
Step 601, after initialization period began, aggregation node was realized the time synchronized between each aggregation node to the time server acquisition time;
Step 602, at dormant state, aggregation node is closed modules such as radio communication, microprocessor and sensing simultaneously and is got into low power consumpting state;
Step 603, in the activity attitude, aggregation node sends order and data, and assists ordinary node to carry out route repair;
Step 604, after the renewal route period began, aggregation node broadcasting route was set up bag and is started the renewal routing procedure.
7. network-building method as claimed in claim 1 is characterized in that, also comprises:
Step 701 realizes the foundation and the maintenance of route and the father node of routed path and the identification number of all child nodes is provided; It is the tree topology of root with each aggregation node that the set of the routed path of being constructed forms a plurality of; The sensing data of each ordinary node is transmitted in the path of stable state along this ordinary node to aggregation node, can transmit with the chance mode in labile state, and the order of Control Server is broadcast to ordinary node by aggregation node along tree;
Step 702 realizes the reception and the transmission work of packet, and the data of reception are provided by radio hardware equipment, and the packet of transmission is produced by step 701;
Step 703 is classified execution in step 704 from step 702 through the data that the time synchronized management passes over;
Step 704 is accomplished buffer memory packet to be sent;
Step 705 is accomplished the time control of ordinary node and/or aggregation node;
Step 706, monitoring ordinary node and/or aggregation node running status, when software or hardware fault, oneself is restarted, maintenance commands such as the response to network keeper pressure of injecting network is simultaneously restarted, status poll.
8. a poly concourse nodes wireless sensor network constructing system is characterized in that, comprising:
Ordinary node is used to gather sensing data, and it is equipped with short-range wireless communication module;
Aggregation node is used to collect the sensing data that collects and sends order to ordinary node, also is responsible for sending the data to the wireless base station, is equipped with short-range wireless communication module, also is furnished with long distance wireless communication module;
The wireless base station is used for sending the data of receiving to data server, also order is sent to aggregation node, is equipped with long distance wireless communication module;
Time server is used for the time synchronized of each aggregation node;
Data server is used for the sensing data that permanent storage is gathered;
Control Server is used for according to formation with to the network transmitting control commands.
9. group network system as claimed in claim 8 is characterized in that, said ordinary node also comprises:
The synchronous working block of state is used for initial phase of ordinary node experience, sets up route for the first time in this stage, if set up the route success then get into the synchronous working state; Otherwise, get into asynchronous operation state module;
Asynchronous operation state module: when being used for asynchronous operating state, ordinary node is set up route or is repaired route.
10. group network system as claimed in claim 9 is characterized in that, said synchronous working block of state also comprises:
Upgrade routing module, be used under the synchronous working state, ordinary node with the work of low duty ratio periodic mode after experience once upgrade routing procedure, circulation according to this;
Ordinary node dormant state module is used for ordinary node at the dormant state in each cycle, closes microprocessor module, sensing module and wireless communication module;
The movable morphotype piece of ordinary node is used for ordinary node when the activity attitude in each cycle, and node sends data and order, when the activity attitude finishes, judges whether that route lost efficacy, when losing efficacy, gets into asynchronous operating state to repair route; When not losing efficacy, get into dormant state;
The sensing data forwarding module; The forwarding that is used for sensing data adopts directed forwarding and chance to transmit the strategy that combines; And father node replied bag to this forwarding of data as the successful reception of implicit expression, transmitted to father node for 3 times before this, after be that 3 broadcasting is transmitted; Transmit by and node that be in the synchronous working state littler, till receiving that implicit expression successfully receives the answer bag than own jumping figure;
The control command forwarding module, the forwarding that is used for control command is transmitted to ordinary node from aggregation node according to the tree topology that makes up one by one.
11. group network system as claimed in claim 9 is characterized in that, said asynchronous operation state module also comprises:
Father node is selected module, is used for setting up by initiating route simultaneously with the synchronous aggregation node of time server, and ordinary node rescreens and selects father node, estimates link-quality, selects best father node according to dump energy and link-quality; When route lost efficacy, ordinary node can start route repair, according to the respond packet screening father node that the adjacent ordinary node that is operated in synchronous regime is replied, estimated link-quality, selected best father node according to dump energy and link-quality; Behind a repairing failure, attempt once more after the dormancy.
12. group network system as claimed in claim 8 is characterized in that, said aggregation node also comprises:
Routing module is upgraded in initialization, is used for first initialization, after dormancy then, the activity alternation, gets into the renewal route stage simultaneously with the ordinary node that is in synchronous regime.
13. group network system as claimed in claim 12 is characterized in that, said initialization is upgraded routing module and is also comprised:
Initialization module is used for after initialization period begins, and aggregation node is realized the time synchronized between each aggregation node to the time server acquisition time;
Aggregation node dormant state module is used at dormant state, and aggregation node is closed modules such as radio communication, microprocessor and sensing simultaneously and got into low power consumpting state;
The movable morphotype piece of aggregation node is used in the activity attitude, and aggregation node sends order and data, and assists ordinary node to carry out route repair; After the renewal route period began, aggregation node broadcasting route was set up bag and is started the renewal routing procedure.
14. group network system as claimed in claim 8 is characterized in that, also comprises:
Route is set up maintenance module; Be used for the foundation and the maintenance of route and the father node of routed path and the identification number of all child nodes are provided; It is the tree topology of root with each aggregation node that the set of the routed path of being constructed forms a plurality of; The sensing data of each ordinary node in the stable state lower edge this node transmit to the path of aggregation node, can transmit under labile state, and the order of Control Server is broadcast to ordinary node by aggregation node along tree with the chance mode;
The data qualification module is used for classifying through the data that the time synchronized management passes over from receiving sending module, sends into queue management module or route is set up maintenance module;
Queue management module is used to accomplish buffer memory packet to be sent;
The time synchronized administration module is used to accomplish the time control of whole node;
Receive sending module; Be used for the reception and the transmission work of packet; The data that receive are provided by radio hardware equipment, and the packet of transmission is set up maintenance module by route and produced, or pass over after the time synchronized administration module is handled by queue management module;
The network monitor maintenance module is used for being responsible for the monitoring node running status, and when software or hardware fault, oneself is restarted, maintenance commands such as the response to network keeper pressure of injecting network is simultaneously restarted, status poll.
CN201110328212.9A 2011-10-25 2011-10-25 Networking method and system for wireless sensor network based on multiple sink nodes Expired - Fee Related CN102404817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110328212.9A CN102404817B (en) 2011-10-25 2011-10-25 Networking method and system for wireless sensor network based on multiple sink nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110328212.9A CN102404817B (en) 2011-10-25 2011-10-25 Networking method and system for wireless sensor network based on multiple sink nodes

Publications (2)

Publication Number Publication Date
CN102404817A true CN102404817A (en) 2012-04-04
CN102404817B CN102404817B (en) 2015-04-01

Family

ID=45886482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110328212.9A Expired - Fee Related CN102404817B (en) 2011-10-25 2011-10-25 Networking method and system for wireless sensor network based on multiple sink nodes

Country Status (1)

Country Link
CN (1) CN102404817B (en)

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647472A (en) * 2012-04-11 2012-08-22 浙江大学 Networking method of wireless sensor network and wireless sensor network system
CN103338495A (en) * 2013-07-04 2013-10-02 南京信息工程大学 Two-way energy balance wireless sensing network route method based on LEPS
CN103369052A (en) * 2013-07-24 2013-10-23 中北大学 High-efficiency internet-of-things mass data transmission system and method
CN103402276A (en) * 2013-07-24 2013-11-20 中北大学 System and method for efficiently transmitting mass sensing data of internet of things
CN103491595A (en) * 2013-09-13 2014-01-01 深圳先进技术研究院 Routing generating method and device and wireless sensor network
CN103546868A (en) * 2012-07-12 2014-01-29 华为技术有限公司 Time synchronization method of wireless sensor network, network system and node
CN103607749A (en) * 2013-11-13 2014-02-26 福建工程学院 A direction perception guided data collection method in an opportunity mobile sensor network
CN103702448A (en) * 2014-01-07 2014-04-02 上海东源计算机自动化工程有限公司 Port monitoring system based on wireless sensor network
CN103868544A (en) * 2012-12-07 2014-06-18 财团法人资讯工业策进会 Sensing system and sensing method
CN104301060A (en) * 2014-10-27 2015-01-21 北京必创科技股份有限公司 A method and system for synchronous acquisition of nodes based on hardware-triggered sampling
CN104301895A (en) * 2014-09-28 2015-01-21 北京邮电大学 A Two-tier Triggered Intrusion Detection Method Based on Traffic Prediction
CN104469906A (en) * 2014-11-18 2015-03-25 无锡悟莘科技有限公司 Low-power-consumption wireless networking method
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof
CN105072042A (en) * 2015-08-10 2015-11-18 欧普照明股份有限公司 Routing method and routing system both for intelligent control network
CN105072658A (en) * 2015-08-11 2015-11-18 国家海洋局天津海水淡化与综合利用研究所 Network data collection control system and wireless routing method
CN105407463A (en) * 2015-12-09 2016-03-16 北京必创科技股份有限公司 Wireless sensor network system
CN105657058A (en) * 2016-03-16 2016-06-08 江苏科技大学 Remote monitoring system of special-shaped pipe steel reinforcement framework seam welder and monitoring method thereof
CN105682114A (en) * 2016-01-05 2016-06-15 南昌航空大学 Method for evaluating connectivity of partitioned opportunistic sensor network
CN106102017A (en) * 2016-05-31 2016-11-09 厦门纵行信息科技有限公司 The network-building method of a kind of tree-shaped multihop network and Wireless Telecom Equipment
CN106255167A (en) * 2016-08-31 2016-12-21 杭州鸿雁智能科技有限公司 A kind of wireless sensor network based on low-power consumption lossy networks Routing Protocol and computational methods thereof
CN106304115A (en) * 2016-08-26 2017-01-04 电子科技大学 A kind of multi-hop clustering method being applicable to radar sensor networks
CN106332214A (en) * 2015-06-23 2017-01-11 柳成荫 Method and system for directional data transmission
CN106537383A (en) * 2014-08-14 2017-03-22 迈克菲股份有限公司 Dynamic feature set management
CN106792484A (en) * 2017-01-22 2017-05-31 福州大学 A kind of novel tree-like structure wireless Sensor Network network-building method and its system
CN107255523A (en) * 2012-09-21 2017-10-17 谷歌公司 Information processing for the equipment of intelligent sensing family, method and correlation
CN107257367A (en) * 2017-06-07 2017-10-17 梧州市兴能农业科技有限公司 Orchard environment wireless sensor network monitoring system
CN107947885A (en) * 2017-11-01 2018-04-20 中国电子科技集团公司第二十八研究所 Non-stop layer time synchronization ad hoc network method under a kind of cluster environment
CN108173927A (en) * 2017-12-26 2018-06-15 中国水利水电科学研究院 Method and system for wireless data communication
WO2018113394A1 (en) * 2016-12-19 2018-06-28 Huawei Technologies Co., Ltd. Apparatus and method for optimized route invalidation using modified no-path dao signaling
CN108494516A (en) * 2018-01-19 2018-09-04 杭州博烁晟斐智能科技有限公司 A kind of communication iron tower fault monitoring system distribution time service method
CN108882194A (en) * 2017-05-09 2018-11-23 江苏北弓智能科技有限公司 A kind of ground battlefield wireless sensor system and wireless sensor equipment
CN109831828A (en) * 2019-03-25 2019-05-31 宁夏隆基宁光仪表股份有限公司 A kind of LORA network-building method, device and the storage medium of network topology structure
CN109831757A (en) * 2019-03-27 2019-05-31 中南大学 A method of reducing delay and energy consumption in dense wireless sensor network
CN110166973A (en) * 2019-05-29 2019-08-23 北京工业大学 A kind of super high-rise construction process structural health intelligent inspection system based on NB-IOT technology and edge calculations
CN110419066A (en) * 2017-03-13 2019-11-05 株式会社藤仓 Sensor device and sensor network system
CN111413711A (en) * 2020-03-18 2020-07-14 杭州微萤科技有限公司 A positioning system and method for automatically setting parent satellites
CN111511013A (en) * 2020-03-27 2020-08-07 桃芯科技(苏州)有限公司 Method, electronic device, and computer storage medium for synchronizing control signals
CN112055393A (en) * 2020-08-03 2020-12-08 博流智能科技(南京)有限公司 Zigbee large-scale routing method and system based on AI optimization
CN112367643A (en) * 2020-10-30 2021-02-12 珠海市深瑞智联科技有限公司 Wireless sensor connection and remote upgrading method and monitoring system thereof
CN112422169A (en) * 2020-11-04 2021-02-26 中国空间技术研究院 Composite link node coordination method, device and system
CN112533168A (en) * 2020-11-30 2021-03-19 南京林业大学 Data processing method of wireless sensor network node
CN112911675A (en) * 2021-02-23 2021-06-04 中国电子科技集团公司第七研究所 Area data opportunity synchronization method facing mobile edge network
CN113489797A (en) * 2021-07-07 2021-10-08 国网冀北电力有限公司 Virtual power plant data collection and information transmission method, device and equipment
CN114025312A (en) * 2021-11-09 2022-02-08 上海遨有信息技术有限公司 Method and system for broadcasting downlink route
CN116193391A (en) * 2023-02-24 2023-05-30 四川巨微集成电路有限公司 Wireless communication method, battery level monitoring method, electronic device, and storage medium
CN117939087A (en) * 2024-03-20 2024-04-26 福建泉州市铭源通电子有限公司 Intelligent firefighting intercom communication device and application method
TWI849175B (en) * 2019-07-16 2024-07-21 美商高通公司 Directed forwarding information sharing between devices in a mesh network
CN118400790A (en) * 2024-06-25 2024-07-26 广州旋坤信息科技有限公司 System for wireless node joins network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557637A (en) * 2009-05-20 2009-10-14 河南科技大学 Method for realizing cross-layer wireless sensor network medium access control protocol
CN102107669A (en) * 2009-12-23 2011-06-29 中国科学院微电子研究所 Wireless sensor network structure for heavy-haul railway track safety detection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557637A (en) * 2009-05-20 2009-10-14 河南科技大学 Method for realizing cross-layer wireless sensor network medium access control protocol
CN102107669A (en) * 2009-12-23 2011-06-29 中国科学院微电子研究所 Wireless sensor network structure for heavy-haul railway track safety detection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《电力科学与工程》 20090531 朱永利等 "基于TopDisc算法的WSN多汇聚节点拓扑控制研究" 第55-59页 , 第5期 *
朱永利等: ""基于TopDisc算法的WSN多汇聚节点拓扑控制研究"", 《电力科学与工程》 *

Cited By (73)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647472A (en) * 2012-04-11 2012-08-22 浙江大学 Networking method of wireless sensor network and wireless sensor network system
CN102647472B (en) * 2012-04-11 2014-08-27 浙江大学 Networking method of wireless sensor network and wireless sensor network system
CN103546868A (en) * 2012-07-12 2014-01-29 华为技术有限公司 Time synchronization method of wireless sensor network, network system and node
CN103546868B (en) * 2012-07-12 2018-05-11 华为技术有限公司 A kind of method for synchronizing time of wireless sensor network, network system and node
US10667347B2 (en) 2012-09-21 2020-05-26 Google Llc Smart wall switch controller
US11322316B2 (en) 2012-09-21 2022-05-03 Google Llc Home monitoring and control system
US11211208B2 (en) 2012-09-21 2021-12-28 Google Llc Smart wall switch controller
US11709101B2 (en) 2012-09-21 2023-07-25 Google Llc Home monitoring and control system
US11733101B2 (en) 2012-09-21 2023-08-22 Google Llc Smart wall switch controller
CN107255523A (en) * 2012-09-21 2017-10-17 谷歌公司 Information processing for the equipment of intelligent sensing family, method and correlation
CN103868544B (en) * 2012-12-07 2016-04-27 财团法人资讯工业策进会 sensing system and sensing method
CN103868544A (en) * 2012-12-07 2014-06-18 财团法人资讯工业策进会 Sensing system and sensing method
CN103338495B (en) * 2013-07-04 2014-05-14 南京信息工程大学 Two-way energy balance wireless sensing network route method based on LEPS
CN103338495A (en) * 2013-07-04 2013-10-02 南京信息工程大学 Two-way energy balance wireless sensing network route method based on LEPS
CN103369052B (en) * 2013-07-24 2017-03-08 中北大学 Internet of Things mass data efficient transmission system and method
CN103402276A (en) * 2013-07-24 2013-11-20 中北大学 System and method for efficiently transmitting mass sensing data of internet of things
CN103369052A (en) * 2013-07-24 2013-10-23 中北大学 High-efficiency internet-of-things mass data transmission system and method
CN103491595A (en) * 2013-09-13 2014-01-01 深圳先进技术研究院 Routing generating method and device and wireless sensor network
CN103607749A (en) * 2013-11-13 2014-02-26 福建工程学院 A direction perception guided data collection method in an opportunity mobile sensor network
CN103607749B (en) * 2013-11-13 2017-02-08 福建工程学院 A direction perception guided data collection method in an opportunity mobile sensor network
CN103702448A (en) * 2014-01-07 2014-04-02 上海东源计算机自动化工程有限公司 Port monitoring system based on wireless sensor network
CN106537383A (en) * 2014-08-14 2017-03-22 迈克菲股份有限公司 Dynamic feature set management
CN104301895A (en) * 2014-09-28 2015-01-21 北京邮电大学 A Two-tier Triggered Intrusion Detection Method Based on Traffic Prediction
CN104301060A (en) * 2014-10-27 2015-01-21 北京必创科技股份有限公司 A method and system for synchronous acquisition of nodes based on hardware-triggered sampling
CN104301060B (en) * 2014-10-27 2017-09-15 北京必创科技股份有限公司 A kind of node synchronous collection method and system sampled based on hardware trigger
CN104469906A (en) * 2014-11-18 2015-03-25 无锡悟莘科技有限公司 Low-power-consumption wireless networking method
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof
CN106332214A (en) * 2015-06-23 2017-01-11 柳成荫 Method and system for directional data transmission
CN106332214B (en) * 2015-06-23 2019-12-24 柳成荫 Method and system for directional data transmission
CN105072042A (en) * 2015-08-10 2015-11-18 欧普照明股份有限公司 Routing method and routing system both for intelligent control network
CN105072658A (en) * 2015-08-11 2015-11-18 国家海洋局天津海水淡化与综合利用研究所 Network data collection control system and wireless routing method
CN105072658B (en) * 2015-08-11 2018-06-08 国家海洋局天津海水淡化与综合利用研究所 A kind of network data acquisition control system and wireless route method
CN105407463B (en) * 2015-12-09 2019-03-01 北京必创科技股份有限公司 A kind of wireless sensor network system
CN105407463A (en) * 2015-12-09 2016-03-16 北京必创科技股份有限公司 Wireless sensor network system
CN105682114A (en) * 2016-01-05 2016-06-15 南昌航空大学 Method for evaluating connectivity of partitioned opportunistic sensor network
CN105657058A (en) * 2016-03-16 2016-06-08 江苏科技大学 Remote monitoring system of special-shaped pipe steel reinforcement framework seam welder and monitoring method thereof
CN106102017A (en) * 2016-05-31 2016-11-09 厦门纵行信息科技有限公司 The network-building method of a kind of tree-shaped multihop network and Wireless Telecom Equipment
CN106304115A (en) * 2016-08-26 2017-01-04 电子科技大学 A kind of multi-hop clustering method being applicable to radar sensor networks
CN106255167A (en) * 2016-08-31 2016-12-21 杭州鸿雁智能科技有限公司 A kind of wireless sensor network based on low-power consumption lossy networks Routing Protocol and computational methods thereof
CN106255167B (en) * 2016-08-31 2023-09-12 杭州鸿雁智能科技有限公司 Wireless sensor network based on low-power consumption lossy network routing protocol
US11722399B2 (en) 2016-12-19 2023-08-08 Huawei Technologies Co., Ltd. Apparatus and method for optimized route invalidation using modified No-Path DAO signaling
CN110100479A (en) * 2016-12-19 2019-08-06 华为技术有限公司 A kind of device and method without path DAO signaling optimization route break using modification
WO2018113394A1 (en) * 2016-12-19 2018-06-28 Huawei Technologies Co., Ltd. Apparatus and method for optimized route invalidation using modified no-path dao signaling
CN110100479B (en) * 2016-12-19 2021-06-22 华为技术有限公司 Device and method for optimizing routing failure by using modified non-path DAO signaling
US11070462B2 (en) 2016-12-19 2021-07-20 Huawei Technologies Co., Ltd. Apparatus and method for optimized route invalidation using modified no-path DAO signaling
CN106792484A (en) * 2017-01-22 2017-05-31 福州大学 A kind of novel tree-like structure wireless Sensor Network network-building method and its system
CN106792484B (en) * 2017-01-22 2023-05-23 福州大学 Tree-structure wireless sensor network networking method and system thereof
CN110419066A (en) * 2017-03-13 2019-11-05 株式会社藤仓 Sensor device and sensor network system
CN108882194A (en) * 2017-05-09 2018-11-23 江苏北弓智能科技有限公司 A kind of ground battlefield wireless sensor system and wireless sensor equipment
CN107257367A (en) * 2017-06-07 2017-10-17 梧州市兴能农业科技有限公司 Orchard environment wireless sensor network monitoring system
CN107947885A (en) * 2017-11-01 2018-04-20 中国电子科技集团公司第二十八研究所 Non-stop layer time synchronization ad hoc network method under a kind of cluster environment
CN108173927A (en) * 2017-12-26 2018-06-15 中国水利水电科学研究院 Method and system for wireless data communication
CN108494516A (en) * 2018-01-19 2018-09-04 杭州博烁晟斐智能科技有限公司 A kind of communication iron tower fault monitoring system distribution time service method
CN109831828A (en) * 2019-03-25 2019-05-31 宁夏隆基宁光仪表股份有限公司 A kind of LORA network-building method, device and the storage medium of network topology structure
CN109831757B (en) * 2019-03-27 2021-12-17 中南大学 Method for reducing time delay and energy consumption in dense wireless sensor network
CN109831757A (en) * 2019-03-27 2019-05-31 中南大学 A method of reducing delay and energy consumption in dense wireless sensor network
CN110166973A (en) * 2019-05-29 2019-08-23 北京工业大学 A kind of super high-rise construction process structural health intelligent inspection system based on NB-IOT technology and edge calculations
TWI849175B (en) * 2019-07-16 2024-07-21 美商高通公司 Directed forwarding information sharing between devices in a mesh network
CN111413711A (en) * 2020-03-18 2020-07-14 杭州微萤科技有限公司 A positioning system and method for automatically setting parent satellites
CN111511013A (en) * 2020-03-27 2020-08-07 桃芯科技(苏州)有限公司 Method, electronic device, and computer storage medium for synchronizing control signals
CN112055393A (en) * 2020-08-03 2020-12-08 博流智能科技(南京)有限公司 Zigbee large-scale routing method and system based on AI optimization
CN112367643A (en) * 2020-10-30 2021-02-12 珠海市深瑞智联科技有限公司 Wireless sensor connection and remote upgrading method and monitoring system thereof
CN112367643B (en) * 2020-10-30 2021-06-22 珠海市深瑞智联科技有限公司 A wireless sensor connection and remote upgrade method and monitoring system
CN112422169A (en) * 2020-11-04 2021-02-26 中国空间技术研究院 Composite link node coordination method, device and system
CN112533168A (en) * 2020-11-30 2021-03-19 南京林业大学 Data processing method of wireless sensor network node
CN112911675A (en) * 2021-02-23 2021-06-04 中国电子科技集团公司第七研究所 Area data opportunity synchronization method facing mobile edge network
CN113489797A (en) * 2021-07-07 2021-10-08 国网冀北电力有限公司 Virtual power plant data collection and information transmission method, device and equipment
CN113489797B (en) * 2021-07-07 2024-04-05 国网冀北电力有限公司 Virtual power plant data collection and information transmission method, device and equipment
CN114025312A (en) * 2021-11-09 2022-02-08 上海遨有信息技术有限公司 Method and system for broadcasting downlink route
CN116193391A (en) * 2023-02-24 2023-05-30 四川巨微集成电路有限公司 Wireless communication method, battery level monitoring method, electronic device, and storage medium
CN117939087A (en) * 2024-03-20 2024-04-26 福建泉州市铭源通电子有限公司 Intelligent firefighting intercom communication device and application method
CN118400790A (en) * 2024-06-25 2024-07-26 广州旋坤信息科技有限公司 System for wireless node joins network
CN118400790B (en) * 2024-06-25 2024-08-30 广州旋坤信息科技有限公司 System for wireless node joins network

Also Published As

Publication number Publication date
CN102404817B (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN102404817B (en) Networking method and system for wireless sensor network based on multiple sink nodes
Lu et al. Teamphone: Networking smartphones for disaster recovery
CN106792916B (en) Hybrid remote wireless sensor network system and communication method thereof
Lu et al. Networking smartphones for disaster recovery
CN101895956B (en) Data transmission method of multilayer distributed wireless sensor network
CN107682905B (en) A Layerless Communication Method for Starlink Wireless Sensor Networks
US20090010190A1 (en) Path Selection and Power Management in Mesh Networks
JPWO2006067922A1 (en) Wireless node power management method
CN103236974B (en) A kind of method of checking meter for power line carrier based on dynamic routing algorithm
CN110753328A (en) Chain type networking transmission method based on LoRa technology
CN105898679B (en) A heterogeneous sensing data collection method based on multi-representative nodes and multi-layer fusion
CN104486774B (en) A kind of clustering wireless sensor network life optimization method for considering to retransmit
Bernard et al. A low energy consumption MAC protocol for WSN
CN202406307U (en) Wireless sensor network
CN103582065A (en) Efficient ad hoc network routing method for wireless sensor network
Lai et al. Energy-efficient fault-tolerant mechanism for clustered wireless sensor networks
CN102693644A (en) Parking lot vacancy information collecting method based on wireless sensor network
Dagdeviren et al. Semi-asynchronous and distributed weighted connected dominating set algorithms for wireless sensor networks
CN101841885A (en) Method for constructing wireless sensor network for periodical data transmission
CN104168621B (en) A kind of sea wireless sense network cluster-dividing method based on distributed beams formation
Daflapurkar et al. Tree based distributed clustering routing scheme for energy efficiency in wireless sensor networks
CN107835522A (en) A kind of method of the fast quick-recovery of micropower wireless network
CN112423364B (en) Wireless mobile ad hoc communication method and system
Rehena et al. Handling area fault in multiple-sink Wireless Sensor Networks
CN104703257A (en) Wireless sensor network distributed clustering and sleep scheduling method specific to target detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150401