CN105721296A - Method for improving stability of chain structure ZigBee network - Google Patents

Method for improving stability of chain structure ZigBee network Download PDF

Info

Publication number
CN105721296A
CN105721296A CN201610100020.5A CN201610100020A CN105721296A CN 105721296 A CN105721296 A CN 105721296A CN 201610100020 A CN201610100020 A CN 201610100020A CN 105721296 A CN105721296 A CN 105721296A
Authority
CN
China
Prior art keywords
node
data
network
chain structure
zigbee
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.)
Pending
Application number
CN201610100020.5A
Other languages
Chinese (zh)
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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201610100020.5A priority Critical patent/CN105721296A/en
Publication of CN105721296A publication Critical patent/CN105721296A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1803Stop-and-wait protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1806Go-back-N protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath

Abstract

The invention relates to a method for improving stability of a chain structure ZigBee network, and belongs to the technique of a sensor and the technical field of wireless communication. The method comprises link reconstruction, error control, data fusion and routing protocol steps. The link reconstruction step comprises repairing broken parts of the chain network through adoption of a re-networking mechanism and redundant nodes in a dual-link scene, or searching for a replacing path; the error control step comprises improving data transmission reliability through adoption of a response mechanism and a resending mechanism; the data fusion step comprises combining data received by a certain node into a big data packet and sending the integrated data packet to an aggregation node, wherein the data is sent by multiple sub-nodes; and the routing protocol step comprises improving data sending quality through a scheduling mechanism based on sending and receiving time, node subgroups, and dynamic cluster heads, realizing routing maintenance in a network fault. According to the method, the stability of the chain network is improved; and the practical application value of the chain structure ZigBee network is improved.

Description

A kind of method of the ZigBee-network stability improving chain structure
Technical field
The invention belongs to sensor technology and wireless communication technology field, particularly technical field of wireless sensor network application, a kind of method relating to ZigBee-network stability improving chain structure.
Background technology
ZigBee technology is to use a kind of wireless communication technology in radio sensing network, its because of low cost, low-power consumption, low rate, carrying data traffic is little, can embed various equipment, networking feature greatly and flexibly and be widely applied to the fields such as Industry Control, home automation, remote measuring and controlling, agricultural automation and medical treatment and nursing.
Communal facility monitoring service under the environment such as road, bridge, tunnel, river environment is monitored, the application scenarios such as transmission line of electricity monitoring in real time are all present linear topology structure, it is being applied to the ZigBee-network of chain structure of above scene in transmitting procedure, often there is the phenomenon of data-bag lost, will be unstable when system data packet loss reaches certain value.Such as: the node in the ZigBee-network of chain structure, because of faults itself, causes node failure, transmission link fracture occurring, data cannot realize multi-hop transmission, thus causing the loss of packet;All nodes sharing communication channels in the Radio Network System of chain structure, it is necessary to competition obtains the right that data send mutually, when offered load is bigger, the congested loss inevitably resulting in packet of internodal data collision and network.Therefore problem above causes the unstability of the ZigBee-network of chain structure and low reliability.
Summary of the invention
In view of this, a kind of method that it is an object of the invention to provide ZigBee-network stability improving chain structure, the method can improve stability and the practicality of chain-shaped network.
For reaching above-mentioned purpose, the present invention provides following technical scheme:
A kind of method of ZigBee-network stability improving chain structure, in the method, including LINK RECONFIGURATION, Error Control, data fusion and Routing Protocol step;
Described LINK RECONFIGURATION is by adopting the part reparation or searching alternative route that under again network mechanism and dual link scene, chain-shaped network is ruptured by the mode of redundant node;
Described error control mechanism is the reliability of the transmission being improved data by employing acknowledgement mechanism and retransmission mechanism;
Described data fusion is certain node to receive the data that multiple child node sends be merged into a big packet, then the packet after merging is sent to aggregation node;
Described Routing Protocol is by improving the quality sending data based on multiple scheduling mechanisms of transmission reception time and the mode of node grouping and Dynamic Cluster head, it is achieved the maintenance of route in network failure.
Further, described LINK RECONFIGURATION step comprises redundant node under again network mechanism and dual link scene:
The described mechanism that again networks is to make the node of off-line rejoin in existing network, repairs the network of fracture;Node off-line comprises two processes: one is that node off-line judges, two is that node networks mechanism, and first node carries out judging oneself whether off-line, and if so, then starter node networks again;
Redundant node under described dual link scene, such as Street Lamp Monitor System, there is node road both sides, it is possible to form dual link.Namely under dual link scene, if the node on a link damages, data can be passed through another link and continue transmission.
Further, described error control mechanism be the network fracture caused because of node failure or data packetloss cause data can not normal transmission, improved the reliability of data transmission by automatic retransmission mechanism, including acknowledgement mechanism and retransmission mechanism;
Described acknowledgement mechanism, is after destination node receives the data that source node sends, it is necessary to send the information receiving confirmation, to ensure the stability that data are transmitted;
Described retransmission mechanism, is, after source node sends data, if not receiving confirmation in responseWaitTime, then again send data, and effective sending times of this retransmission mechanism is 3 times.
Further, described data fusion is certain node to receive the packet combining that multiple node sends become a big packet, merges part for control information, i.e. data packet head.
Further, the described scheduling mechanism based on multiple transmission reception times adopts and distributes multiple time slots to sending or receiving data, it is to avoid the mistake that occurs in transmission also can reduce the system required precision to the time.
Further, described Routing Protocol adopts cluster structured form, and every five nodes are cluster, and intermediate node is a bunch head, after leader cluster node converges data, then the result after converging is sent to aggregation node.
Further, the Dynamic Cluster head conversion in Routing Protocol is after leader cluster node breaks down, and automatically becomes new leader cluster node from the node that former leader cluster node is nearest, and completes the function of leader cluster node.
The beneficial effects of the present invention is: the method for the LINK RECONFIGURATION in the present invention can realize offline node and again network, repair link, and avoid damaging node, finding the purpose in new transmission path, thus improving communication link quality, increasing the reliability of data transmission.Error control mechanism can increase the arrival rate of data transmission, the situation that recognition node lost efficacy and damaged.And data fusion can be greatly reduced the number of transmissions and the data volume of data, effectively reduce network congestion and transmission delay, improve network data transmission amount and extend network lifecycle.Routing Protocol is the quality adopting the scheduling mechanism raising transmission data accepting the time based on multiple transmissions, reduces packet loss, it is ensured that the stability in data transmission procedure;Can avoid node that data directly mail to a bunch head by the mode of node clustering, reduce the jumping figure of node-node transmission data, it is possible to reduce mutual crosstalk during node-node transmission data;The method converted by Dynamic Cluster head node realizes the maintenance of route in network failure.The ZigBee-network using the chain structure of the program will be stablized more.
Accompanying drawing explanation
In order to make the purpose of the present invention, technical scheme and beneficial effect clearly, the present invention provides drawings described below to illustrate:
Fig. 1 is the schematic diagram of mechanism that again networks;
Fig. 2 is the redundant node schematic diagram under dual link scene;
Fig. 3 is acknowledgement mechanism schematic diagram;
Fig. 4 is for retransmitting schematic diagram of mechanism;
Fig. 5 is data fusion schematic diagram;
Fig. 6 is the scheduling mechanism schematic diagram based on multiple transmission reception times;
Fig. 7 is the cluster structured figure of chain-shaped network;
Fig. 8 is Dynamic Cluster head conversion schematic diagram;
Fig. 9 is the principle schematic of this method.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described in detail,
Fig. 1 is the mechanism of networking again in LINK RECONFIGURATION, and principle is as follows:
Again the mechanism that networks is to make the node of off-line rejoin in existing network, repairs the network of fracture.And node off-line comprises two processes: one is that node off-line judges, two is node networking mechanism.First node carries out judging oneself whether off-line;If so, then starter node networks again.
A. node off-line judges
Node sends information to adjacent node, if node sends does not receive the confirmation that adjacent node returns for three times, then node judges self off-line, and network mechanism by starter node.
B. node networks machine-processed
Startup is networked mechanism by the Internet of node again, namely sending, to adjacent node, the request of networking, if adjacent node is beamed back after allowing request inbound information, then node sends the related data of oneself to adjacent node, then adjacent node sends link information, then two nodes are set up and connected.
Fig. 2 utilizes the redundant node under dual link scene in LINK RECONFIGURATION, its principle is as follows:
Under dual link scene, if the node on a link damages, data can be passed through another link and continue transmission.Its operation principle is as shown in Figure 2.There is dual link under this scene, i.e. link A and link B, link A interior joint N+1 damages, then the node N '+1 in link B is set up and connects by the node N in link A, and data are transmitted by link B.
Fig. 3 is the acknowledgement mechanism in Error Control, and its principle is as follows:
After source node sends data, destination node is after receiving data, it is necessary to sends and receives confirmation, to guarantee that data are received.
Fig. 4 is the retransmission mechanism in Error Control, and its principle is as follows:
After source node sends data, if responseWaitTime (this time interval need to be arranged in conjunction with actual) does not receive confirmation, will again send data.Effective sending times of this retransmission mechanism is 3 times, if do not receive the confirmation message that destination node sends more than 3 times, then it is assumed that this link breakdown, will start link repair mechanism.
Fig. 5 is data fusion, and its principle is as follows:
In a packet, valid data are a part for physical layer data bag, and remainder is all related control information.Therefore, the payload of each packet can be taken out, be fused in a packet, to reduce the transmission of additional control information, thus reducing data transfer amount.As shown in Figure 6, packet 1 and packet 2, packet 3 and packet 4 all comprise same control information, are extracted by the load payload of these four packets, then load one and control information, merge into a packet.
Fig. 6 is based on the scheduling mechanism of multiple transmission reception time, and its principle is as follows:
Scheduling mechanism based on multiple transmission reception times is the working time period of node to be divided into multiple data send time, multiple data receipt time and the length of one's sleep, data send the time and data receipt time is equal, are the time sending a packet.Node only need to complete a secondary data within multiple data transmission times and send.In figure 6, the transmission of one working cycle of node or reception time are the twice of a data packet time, and node A sends data to node B within the transmission time of regulation, if node B does not respond, the data extending oneself are sent the time by node A, continue to send the data to node C.
Fig. 7 is the cluster structured figure of chain-shaped network, and its principle is as follows:
In chain-shaped network, adopt and the node in network is divided into the sub-clustering type structure that every five nodes are cluster, in every bunch, intermediate node is leader cluster node, other nodes are ordinary node, and node, according to signal intensity, adjusts communication radius to guarantee only nearest with it neighbor node communication.As it is shown in fig. 7, when node 2 receives the data of node 1, first carry out data fusion with the data self gathered, be then passed to leader cluster node 3, leader cluster node 3 performs data fusion again, finally data is mail to aggregation node.
Fig. 8 is the conversion of Dynamic Cluster head, and its principle is as follows:
The conversion of Dynamic Cluster head is after leader cluster node breaks down, and bunch head transfers to nearest node, and then remaining node forwards the data to new leader cluster node, finally the data after convergence is forwarded by leader cluster node.Fig. 9 is the principle schematic of this method.
What finally illustrate is, preferred embodiment above is only in order to illustrate technical scheme and unrestricted, although the present invention being described in detail by above preferred embodiment, but skilled artisan would appreciate that, in the form and details it can be made various change, without departing from claims of the present invention limited range.

Claims (7)

1. the method for the ZigBee-network stability improving chain structure, it is characterised in that: in the method, including LINK RECONFIGURATION, Error Control, data fusion and Routing Protocol step;
Described LINK RECONFIGURATION is by adopting the part reparation or searching alternative route that under again network mechanism and dual link scene, chain-shaped network is ruptured by the mode of redundant node;
Described error control mechanism is the reliability of the transmission being improved data by employing acknowledgement mechanism and retransmission mechanism;
Described data fusion is certain node to receive the data that multiple child node sends be merged into a big packet, then the packet after merging is sent to aggregation node;
Described Routing Protocol is by improving the quality sending data based on multiple scheduling mechanisms of transmission reception time and the mode of node grouping and Dynamic Cluster head, it is achieved the maintenance of route in network failure.
2. the method for a kind of ZigBee-network stability improving chain structure according to claim 1, it is characterised in that: described LINK RECONFIGURATION step comprises redundant node under again network mechanism and dual link scene:
The described mechanism that again networks is to make the node of off-line rejoin in existing network, repairs the network of fracture;Node off-line comprises two processes: one is that node off-line judges, two is that node networks mechanism, and first node carries out judging oneself whether off-line, and if so, then starter node networks again;
Redundant node under described dual link scene, if the node on a link damages, data can be passed through another link and continue transmission.
3. the method for a kind of ZigBee-network stability improving chain structure according to claim 1, it is characterized in that: described error control mechanism is that the network fracture caused because of node failure or data packetloss causes that data can not normal transmission, the reliability of data transmission is improved, including acknowledgement mechanism and retransmission mechanism by automatic retransmission mechanism;
Described acknowledgement mechanism, is after destination node receives the data that source node sends, it is necessary to send the information receiving confirmation, to ensure the stability that data are transmitted;
Described retransmission mechanism, is, after source node sends data, if not receiving confirmation in responseWaitTime, then again send data, and effective sending times of this retransmission mechanism is 3 times.
4. the method for a kind of ZigBee-network stability improving chain structure according to claim 1, it is characterized in that: described data fusion is certain node to receive the packet combining that multiple node sends become a big packet, merge part for control information, i.e. data packet head.
5. the method for a kind of ZigBee-network stability improving chain structure according to claim 1, it is characterized in that: the described scheduling mechanism based on multiple transmission reception times adopts and distributes multiple time slots to sending or receiving data, it is to avoid the mistake that occurs in transmission also can reduce the system required precision to the time.
6. the method for a kind of ZigBee-network stability improving chain structure according to claim 1, it is characterized in that: described Routing Protocol adopts cluster structured form, every five nodes are cluster, intermediate node is a bunch head, after leader cluster node converges data, then the result after converging is sent to aggregation node.
7. the method for a kind of ZigBee-network stability improving chain structure according to claim 6, it is characterized in that: the Dynamic Cluster head conversion in Routing Protocol is after leader cluster node breaks down, automatically become new leader cluster node from the node that former leader cluster node is nearest, and complete the function of leader cluster node.
CN201610100020.5A 2016-02-23 2016-02-23 Method for improving stability of chain structure ZigBee network Pending CN105721296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610100020.5A CN105721296A (en) 2016-02-23 2016-02-23 Method for improving stability of chain structure ZigBee network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610100020.5A CN105721296A (en) 2016-02-23 2016-02-23 Method for improving stability of chain structure ZigBee network

Publications (1)

Publication Number Publication Date
CN105721296A true CN105721296A (en) 2016-06-29

Family

ID=56156038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610100020.5A Pending CN105721296A (en) 2016-02-23 2016-02-23 Method for improving stability of chain structure ZigBee network

Country Status (1)

Country Link
CN (1) CN105721296A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108414693A (en) * 2018-03-19 2018-08-17 翼捷安全设备(昆山)有限公司 Gas information monitoring system and its method
CN113541736A (en) * 2021-07-12 2021-10-22 国网甘肃综合能源服务有限公司 Networking fault maintenance method based on power line carrier communication
RU2815819C1 (en) * 2023-01-10 2024-03-22 федеральное государственное казенное военное образовательное учреждение высшего образования "Военная орденов Жукова и Ленина Краснознаменная академия связи имени Маршала Советского Союза С.М. Буденного" Министерства обороны Российской Федерации Communication network dynamic reconfiguration method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420445A (en) * 2007-10-25 2009-04-29 厦门大学 Fast routing protocol of wireless sensor network
CN101841930A (en) * 2010-04-23 2010-09-22 南京邮电大学 Node cooperative work method based on sensing direction guide in Internet of things environment
CN102149160A (en) * 2011-04-20 2011-08-10 宁波职业技术学院 Energy perception routing algorithm used for wireless sensing network
CN102572991A (en) * 2010-12-31 2012-07-11 中国人民解放军总参谋部第六十一研究所 Transmission method with low power consumption based on trust control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420445A (en) * 2007-10-25 2009-04-29 厦门大学 Fast routing protocol of wireless sensor network
CN101841930A (en) * 2010-04-23 2010-09-22 南京邮电大学 Node cooperative work method based on sensing direction guide in Internet of things environment
CN102572991A (en) * 2010-12-31 2012-07-11 中国人民解放军总参谋部第六十一研究所 Transmission method with low power consumption based on trust control
CN102149160A (en) * 2011-04-20 2011-08-10 宁波职业技术学院 Energy perception routing algorithm used for wireless sensing network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈拥军 等: "无线传感器网络故障诊断与容错控制研究进展", 《传感器与微系统》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108414693A (en) * 2018-03-19 2018-08-17 翼捷安全设备(昆山)有限公司 Gas information monitoring system and its method
CN113541736A (en) * 2021-07-12 2021-10-22 国网甘肃综合能源服务有限公司 Networking fault maintenance method based on power line carrier communication
CN113541736B (en) * 2021-07-12 2022-07-05 国网甘肃综合能源服务有限公司 Networking fault maintenance method based on power line carrier communication
RU2815819C1 (en) * 2023-01-10 2024-03-22 федеральное государственное казенное военное образовательное учреждение высшего образования "Военная орденов Жукова и Ленина Краснознаменная академия связи имени Маршала Советского Союза С.М. Буденного" Министерства обороны Российской Федерации Communication network dynamic reconfiguration method

Similar Documents

Publication Publication Date Title
RU2454815C2 (en) Control system with transfer of wireless address domain to domain of field device address
CN102164051B (en) Service-oriented fault detection and positioning method
CN102821050B (en) A kind of RSTP is applied to the processing method of Single-ring network topology
US7668994B2 (en) Method for optimizing bandwidth utilization in bus systems
CN101420335B (en) Failure detection/processing method and apparatus for peer-to-peer network node
CN101588303B (en) Link status notice information interaction method and OSPF device
JP5310956B2 (en) Routing method and node device in network
CN103916275A (en) BFD detection device and method
CN101132320A (en) Method for detecting interface trouble and network node equipment
CN102624929A (en) Wireless sensor network gateway redundancy method based on virtual gateway
CN104579961A (en) Scheduling method and device for data message
CN104518973A (en) SDN (software defined network) environment based reliable multicast data transport method
KR20090120558A (en) Wireless sensor network
CN102780615B (en) Link backup method and routing forwarding device
CN104468776A (en) Method for achieving sensor network data transmission and sink nodes
CN107615721A (en) Transmitting software defines network (SDN) logical links polymerization (LAG) member's signaling
CN101815006A (en) aggregation control method of links passing through provider network and system
CN105656715A (en) Method and device for monitoring state of network device under cloud computing environment
CN104735743A (en) Routing optimization method for embedded wireless self-organized network
CN103997436A (en) Link maintaining method and gateway in internet of things of elevator
CN105721296A (en) Method for improving stability of chain structure ZigBee network
CN103916318A (en) Single-loop network implementation method
CN103929778A (en) Data grading transmission method
CN102857401B (en) Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)
Zhang et al. Optimization scheme of forming linear WSN for safety monitoring in railway transportation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160629