CN202602904U - ZigBee-based dynamic node identity implementation system of wireless measurement and control network - Google Patents

ZigBee-based dynamic node identity implementation system of wireless measurement and control network Download PDF

Info

Publication number
CN202602904U
CN202602904U CN2012202125440U CN201220212544U CN202602904U CN 202602904 U CN202602904 U CN 202602904U CN 2012202125440 U CN2012202125440 U CN 2012202125440U CN 201220212544 U CN201220212544 U CN 201220212544U CN 202602904 U CN202602904 U CN 202602904U
Authority
CN
China
Prior art keywords
node
network
terminal
zigbee
router
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.)
Expired - Fee Related
Application number
CN2012202125440U
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.)
Shandong Institute of Light Industry
Original Assignee
Shandong Institute of Light Industry
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 Shandong Institute of Light Industry filed Critical Shandong Institute of Light Industry
Priority to CN2012202125440U priority Critical patent/CN202602904U/en
Application granted granted Critical
Publication of CN202602904U publication Critical patent/CN202602904U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The utility model discloses a ZigBee-based dynamic node identity implementation system of a wireless measurement and control network. The system comprises a monitoring terminal and a plurality of routers, the monitoring terminal is communicated with a monitoring terminal of a Zigbee network coordinator through a series port, each of a plurality of terminal nodes is respectively communicated with each of the routers which is closest to the terminal node, then a tree form Zigbee network is formed, and the monitoring terminal enables all terminal node identities to convert between routers and terminal nodes through commands. By the aid of the system, the network is reliable, the phenomenon of network transmission congestion is reduced, the transmission delay of data is reduced, and the energy of nodes is saved.

Description

Dynamic node identity based on the radio fest and control network of ZigBee realizes system
Technical field
The dynamic node identity that the utility model relates to a kind of radio fest and control network based on ZigBee realizes system, and can be used for increases whole network more flexible and the whole energy consumption that reduces network to the improvement by the radio fest and control network performance of ZigBee technique construction.
Background technology
The ZigBee technology has been applied in every field widely because of characteristics such as its low rate, low-power consumption, low costs; Especially very suitable structure radio fest and control network; The radio fest and control network is made up of many microsensor nodes that are deployed in the monitored area; Utilize the ZigBee wireless communication technology that all nodes are formed a network, the data that each node collects give host computer for the user through Network Transmission, and the user also can give each node with command transfer; Thereby made things convenient for the control of people, improved the efficient of work the monitored area.
But present radio fest and control network based on the ZigBee technology; Node type comprises telegon, router, terminal equipment; Whole network has only a telegon, and router has data forwarding and routing function, and terminal node only is responsible for image data and is sent the data to telegon; At the beginning of network construction; Node type is just provided, and the user has no way to go to change node type during network work, only if perhaps replace for again node programming new procedures with the node of newtype.Too abominable apart from all routers communication environment too far away or industry spot when terminal node, the data of terminal node collection can not successfully send, and cause the increase of packet loss, badly influence the reliability of whole network.A kind of solution is around terminal node, to increase router, and data are forwarded smoothly, still can increase the cost of building network like this, is not that we are desirable; Another kind method is the transmitting power that increases node; Though this method can reduce packet loss in a short time; But can let very fast the consuming of energy of node like this; The bad local consumed energy of communication conditions is many, and the local consumed energy good near telegon and communication conditions is few, causes the network energy distributed pole inhomogeneous.The data that collect of terminal node need periodically send to telegon in addition; But packet includes only the network address and the physical address of several simple data, source node; And just data are different at every turn; Each terminal node collection and transmission that need not stop like this can cause the traffic congestion phenomenon of network.
The utility model content
The purpose of the utility model is exactly to cause the shortcoming of network congestion easily for node type transmission immutable and simple data message in the network that overcomes the prior art existence; Provide a kind of dynamic node identity of the radio fest and control network based on ZigBee to realize system; It is terminal node that this method can change each router node flexibly, and also can change each terminal node flexibly is router node; Remove the redundant duplicate message of a plurality of packets, with redispatching behind the aggregation of data.
For realizing above-mentioned purpose, the utility model adopts following scheme:
A kind of dynamic node identity of the radio fest and control network based on ZigBee realizes system, and it comprises: monitor terminal, and monitor terminal is communicated by letter with Zigbee network coordinator monitor terminal through serial ports; Some routers, some terminal nodes communicate respectively with from own nearest router, thereby constitute tree-like Zigbee network; Monitor terminal changes each terminal node identity through instruction between router and terminal node.
A kind of dynamic node identity implementation method of the radio fest and control network based on ZigBee comprises the following steps:
(1) self-defining host computer serial port command comprises that identity changes order C/EX**** (the * representative is the network address), serial port command C/CH**** (the * representative is the network address);
(2) in the application layer of protocol stack, each node is with the information of other nodes of structure stored in form.Can broadcast the packet of physical address, the network address and node type information with oneself when node adds network or after the change of node identity and give all nodes in the net, the node that receives this packet then is stored in node type, physical address and the network address in the structure.
(3) router node receives the order (C/EX****) that the node identity changes, and then stops route forwarding function, the beginning image data; Terminal node receives the node identity and changes order, then stops data collection, and opens route forwarding function;
(4) router node through serial port command C/CH**** appointment; The characteristic of this type of router node is to be terminal node entirely in its child node; This type router node stores respectively according to the source address difference for the data message that receives; When treating that data message from same source address reaches 10 times, then 10 data messages are once sent to telegon entirely.
In step (2), each node defines a structure in order to store the information of other net interior nodes in the application layer of protocol stack.Member in the structure comprises routing node number routercount; Be used for storing the three-dimensional array of interior each the routing node physical address of net and the network address; Terminal node number RFDcount is used for storing the three-dimensional array of netting interior each the terminal node physical address and the network address.When node adds network successfully can broadcasted content be that the packet of own node type, physical address, the network address is to every other node in netting; In addition after router node and terminal node receive the order of node identity conversion, if change node type, physical address and the network address that successfully also can broadcast after oneself changing to other nodes, node type information so that other nodes upgrade in time.
Like self-defined serial port command in the step (3), command format is C/EX****, and telegon is given destination node according to the network address in the order with this order clean culture, and destination node can be changed the node identity of oneself, and concrete steps are:
(a) destination node is a router, and global variable Exchang is 0, receive order after, the Exchange assignment is 1; The information of sending node change is simultaneously given all nodes in the net, and sending function is SendstateMessage (), and the data content of transmission is character types, is " excRFD+ physical address+network address ";
(b) other router nodes and terminal node receive above-mentioned data message; If the first six of data message character is excRFD; Then in the storage net, find out identical this information of 8 physical addresss of closelying follow with excRFD at the back the structure of router node information; Carry out deletion action, the structure of terminal node information adds a new terminal node information in the storage net then;
(c) telegon receives the data message described in (a), then does operation same in (b), in addition, can call serial ports and write function halwrite (), and content is " network address+exchanged RFD successfully ".
Like step (4) if in all be terminal node in the child node of router node; Then upperly send self-defined serial port command and give such router node; Command format is C/CH**** (* represents the network address); Telegon can send to this order the router node of the network address of the network address in for this reason ordering, receive this order after, when receiving the data message that other nodes send; If information is the data of gathering then stores according to the source address difference; When the data message from same source address reached 10, the packet of then network address of these 10 information and source node being formed sent to telegon, uploads to host computer by telegon.
The utility model advantage compared with prior art is: it is terminal node that the utility model can change each router node flexibly, and also can change each terminal node flexibly is router node; Redispatch after the information that collects for terminal node is can be with 10 secondary data comprehensive, greatly reduce the phenomenon of network congestion, improved networks efficiency.The utility model realized the flexible conversion of node identity, avoided some nodes because communication environment is abominable and far away and become the situation of acnode apart from other router nodes, increased the reliability of network.Solved routing node owing to transmit data big energy-consuming, the too early phenomenon that becomes dead node; Adopt the method for aggregation of data simultaneously, reduced the redundant information of network, data are carried out comprehensively having alleviated the transmission congestion phenomenon of network, reduced the transmission delay of data, practiced thrift the energy of node.It is big to have solved existing ZigBee radio fest and control network packet loss rate, the problem that energy consumption is big.The utility model is effectively in the ZigBee radio fest and control network under various application scenarioss.
Description of drawings
Fig. 1 is former network topological diagram;
Fig. 2 carries out the network topology change figure of C/EX0001;
Fig. 3 is the workflow diagram of C/EX0001 for serial port command;
Fig. 4 is the workflow diagram of C/CH0001 for serial port command;
Fig. 5 is applied in the sketch map in the radio fest and control network for the method.
Wherein, 1. monitor terminal, 2.Zigbee network coordinator, 3. router, 4. terminal node.
Embodiment
Like Fig. 1-shown in Figure 5, the practical implementation method of the utility model is following:
Suppose that network topological diagram is as shown in Figure 1, it is that 0001 the router and the network address are respectively 0002,0004 terminal that the network address is wherein arranged, and the data that gather at these two terminals all are transmitted to telegon through 0001.
Communication between 0001 and 0002 goes wrong, and is as shown in Figure 2, and with dashed lines representative can not be carried out proper communication between the two, and 0002 is also all distant apart from other routers, and at this moment host computer can't receive the data from 0002.Host computer sends serial port command C/EX0004; The network address is that 0004 terminal node receives, and concrete processing procedure is shown in the workflow diagram among Fig. 3, and Exchange was 0 originally, changes to 1 after receiving order.Send on the one hand and comprise that the packet of this node newtype, the physical address network address nets interior nodes to all; Such as the network address is that 0002 node receives this information; The structure variable of memory node information is JoinNode, and the member variable JoinNode.RFDcount of record terminal number deducts 1, the physical address of deletion 0004 from JoinNode.RFDLaddr; The network address of deletion 0004 among the JoinNode.RFDSaddr; The member variable JoinNode.Routercount that writes down the router number then adds 1, adds 0004 physical address among the JoinNode.RouterLaddr, adds 0004 the network address among the JoinNode.RouterSaddr; No longer carry out the data acquisition function on the other hand, but after receiving data message., transmit if desired, then carry out the forwarding capability function.Like this, as shown in Figure 2,0004 becomes new router node, and 0002 can communicate by letter with 0004, thereby data forwarding is gone out.
In like manner, if 0004 need to change back terminal identity, then send C/EX0004 after; As shown in Figure 3, Exchange is assigned 0, carries out termination function; Sending the packet of this node newtype, the physical address network address and net interior nodes to all, is that 0002 node receives this information such as the network address, and the structure variable of memory node information is JoinNode; The member variable JoinNode.Routercount of record terminal number deducts 1; The physical address of deletion 0004 from JoinNode.RouterLaddr, the network address of deletion 0004 among the JoinNode.RouterSaddr, the member variable JoinNode.RFDcount that writes down the router number then adds 1; Add 0004 physical address among the JoinNode.RFDLaddr, add 0004 the network address among the JoinNode.RFDSaddr.
Being 0001 router like the network address among Fig. 1 if desired redispatches to telegon behind the aggregation of data of child node 10 times, then sends serial port command C/CH0001, and flowchart is as shown in Figure 4; The network address is after 0001 node receives this order; Judge whether that earlier child node all is a terminal node, can find out from Fig. 1 that 0002 and 0004 is the terminal and is 0001 child node, if give two node numbering; The network address is that 0002 terminal number is 01; The network address is that 0004 terminal number is 02, whenever sends 0,001 one secondary data to by 0002 then, and variable count01 adds 1; Data are stored among the two-dimensional array Databuf [01] [count01]; Deposit the network address that is numbered 01 node in first dimension,, then the data of the dimension of second among the Databuf and the network address and the physical address of Data Source node are sent to telegon together when count01 equals 10.The Count01 zero clearing, Dadabuf is zero clearing also.The processing of 0004 data is also the same the same.
As shown in Figure 5, be a radio fest and control network diagram based on zigbee.Host computer is that monitor terminal 1 can communicate through serial ports and zigbee network coordinator 2; Can learn that the zigbee topology of networks is tree-like from Fig. 5, zigbee network coordinator 2 is communicated by letter with two router threes, and terminal node 4 communicates respectively with from own nearest router three.Host computer sends order C/EX0002, and then the network address is that 0002 router three can receive this order, and router three can be carried out operation as shown in Figure 3, becomes a terminal node 4 afterwards, the execution termination function.And if host computer sends C/EX0003, then the network address is that 0003 terminal node 4 can be received this message, in like manner, also can begin to fulfil the router three function according to the relevant operation of the flow performing of Fig. 3.

Claims (1)

1. the dynamic node identity based on the radio fest and control network of ZigBee realizes system, it is characterized in that it comprises: monitor terminal, and monitor terminal is communicated by letter with Zigbee network coordinator monitor terminal through serial ports; Some routers, some terminal nodes communicate respectively with from own nearest router, thereby constitute tree-like Zigbee network; Monitor terminal changes each terminal node identity through instruction between router and terminal node.
CN2012202125440U 2012-05-11 2012-05-11 ZigBee-based dynamic node identity implementation system of wireless measurement and control network Expired - Fee Related CN202602904U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012202125440U CN202602904U (en) 2012-05-11 2012-05-11 ZigBee-based dynamic node identity implementation system of wireless measurement and control network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012202125440U CN202602904U (en) 2012-05-11 2012-05-11 ZigBee-based dynamic node identity implementation system of wireless measurement and control network

Publications (1)

Publication Number Publication Date
CN202602904U true CN202602904U (en) 2012-12-12

Family

ID=47320410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012202125440U Expired - Fee Related CN202602904U (en) 2012-05-11 2012-05-11 ZigBee-based dynamic node identity implementation system of wireless measurement and control network

Country Status (1)

Country Link
CN (1) CN202602904U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI513262B (en) * 2013-10-03 2015-12-11 Nat Inst Chung Shan Science & Technology Digital voice transmission system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI513262B (en) * 2013-10-03 2015-12-11 Nat Inst Chung Shan Science & Technology Digital voice transmission system and method

Similar Documents

Publication Publication Date Title
CN104507144B (en) Wireless take can junction network joint relay selection and resource allocation methods
CN103209224B (en) Based on underwater sound sensor network system and the data transmission method thereof of P2P
CN104754688A (en) Routing method for entangled state based wireless Mesh quantum communication network
CN104012149A (en) Network architecture for minimalistic connected objects
CN107317707B (en) SDN network topology management method based on point coverage set
CN108174412A (en) A kind of RPL multi-path data transmission mechanisms of load balancing
CN104157120A (en) WSN information perception system and method for industrial equipment and environment monitor
CN103929782A (en) Resource leveling multi-path routing method applicable to industrial wireless sensor network
CN104284386A (en) Vertex-betweenness-based cluster head selection method in wireless sensor networks
CN104301229B (en) Data packet forwarding method, route table generating method and device
CN210298098U (en) Industrial embedded gateway, system and communication equipment based on Bluetooth Mesh
Oh et al. An explicit disjoint multipath algorithm for cost efficiency in wireless sensor networks
CN110178410A (en) A kind of communication path determines method and the network equipment
CN103957553A (en) Sense coexisting TD-SCDMA and sensor network convergence transmission system
CN102324192A (en) Wirelessly transmitted and controlled networked experimental teaching platform and implementation method thereof
CN202602904U (en) ZigBee-based dynamic node identity implementation system of wireless measurement and control network
CN102664962B (en) Dynamic node identity implementing method and system for wireless measurement and control network based on ZigBee
JPWO2014181379A1 (en) Wireless communication system and wireless communication method
CN104320821B (en) Initial networking and method for routing in a kind of alien frequencies wireless sensor network
CN102781063A (en) Method for establishing WSN (wireless sensor network) energy equalizing routing based on local network betweenness
CN102025622B (en) Method for realizing low-power consumption routing based on cognitive network
Bendjima et al. Intelligent wireless sensor network management based on a multi-agent system
Huang et al. A backbone-aware topology formation (BATF) scheme for ZigBee wireless sensor networks
CN110167095A (en) A kind of mobile Ad-Hoc algorithm network routing based on Fermat point
Yu et al. Performance evaluation for routing protocols in wireless mesh networks

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121212

Termination date: 20130511