WO2014037779A1 - End-to-end communication in sensor network - Google Patents
End-to-end communication in sensor network Download PDFInfo
- Publication number
- WO2014037779A1 WO2014037779A1 PCT/IB2013/001840 IB2013001840W WO2014037779A1 WO 2014037779 A1 WO2014037779 A1 WO 2014037779A1 IB 2013001840 W IB2013001840 W IB 2013001840W WO 2014037779 A1 WO2014037779 A1 WO 2014037779A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- zigbee
- ipv6
- sensor node
- sensor
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/106—Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5038—Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
- H04L69/085—Protocols for interworking; Protocol conversion specially adapted for interworking of IP-based networks with other networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/672—Short addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/681—Types of network addresses using addresses for wireless personal area networks or wireless sensor networks, e.g. Zigbee addresses
Definitions
- the present disclosure relates to a sensor network and particularly to end-to-end communication in a sensor network.
- Sensor networks are widely used in numerous industrial or civilian applications. Currently the majority of the sensor networks are based on the ZigBee protocol to provide low-cost, low-power-consumption and bidirectional communication.
- the IPv6 is a de factor networking standard for internetworking of ZigBee networks.
- the fundamental design of the ZigBee protocol is incompatible with the TCP/IP protocol, it is not easy to provide internetworking between them.
- a ZigBee network is severely resource-constrained and capability-limited because sensor nodes in the ZigBee network have a short battery lifetime, a small form factor and a cost constraint, all of which restrain a memory space and a CPU speed and complicate a radio interface. Due to these constraints, the sensor nodes in the ZigBee network cannot perform IPv6 functions as a server in an IPv6 network does.
- a gateway in the sensor network allocates a globally unique virtual IPv6 address for each sensor node in a network join procedure, and the virtual IPv6 address is generated from an MAC address of the sensor node and an IPv6 network prefix of the gateway, for example, the virtual IPv6 address can be a 128-bit address which is generated as a result of combining the 64-bit MAC address of the sensor node and the 64-bit IPv6 network prefix of the gateway.
- each sensor node is allocated a virtual IPv6 address, the sensor node is equivalent to a normal IPv6 node from the perspective of the server in the IPv6 network.
- the gateway in the sensor network allocates a ZigBee short address, e.g., a 16-bit ZigBee short address, for each IPv6 server expecting communication with the sensor nodes in a network join procedure.
- the ZigBee short address is unique throughout the sensor network.
- IPv6 server is equivalent to a normal sensor node from the perspective of the sensor nodes in the sensor network.
- a method in a server of an IPv6 network, of joining a sensor network, the method including the steps of: sending an IPv6 network join request message to a gateway of the sensor network, the IPv6 network join request message including network identification information of the sensor network to be joined by the server and tag information indicating that the server is a terminal node; and receiving an IPv6 network join confirmation message from the gateway, the IPv6 network join confirmation message including a ZigBee short address allocated by the gateway for the server.
- a method, in a gateway of a sensor network, of assisting a server in an IPv6 network in joining the sensor network including the steps of: receiving an IPv6 network join request message from the server, the IPv6 network join request message including network identification information of the sensor network to be joined by the server and tag information indicating that the server is a terminal node; allocating a ZigBee short address for the server and recording an IPv6 address of the server, the network identification information of the sensor network to be joined by the server and the ZigBee short address allocated for the server; and sending an IPv6 network join confirmation message to the server, the IPv6 network join confirmation message including the ZigBee short address allocated for the server.
- a method, in a gateway of a sensor network, of assisting a sensor node in joining the sensor network including the steps of: receiving a ZigBee network join request message from the sensor node, the ZigBee network join request message including node identification information of the sensor node and network identification information of the sensor network to be joined by the sensor node; allocating a ZigBee short address for the sensor node, generating a virtual IPv6 address for the sensor node based upon an MAC address of the sensor node and an IPv6 network prefix of the gateway, and recording the node identification information of the sensor node, the network identification information of the sensor network to be joined by the sensor node, the ZigBee short address allocated for the sensor node and the virtual IPv6 address generated for the sensor node; and sending a ZigBee network join confirmation message to the sensor node, the ZigBee network join confirmation message including the ZigBee short address allocated for the sensor node.
- a method in a sensor node of a sensor network, of data transmission with a server in an IPv6 network, the sensor node and the server having joined the sensor network, wherein the method includes the steps of: sending a ZigBee data request message to a gateway in the sensor network, the ZigBee data request message including service identification information of data to be transmitted by the sensor node; receiving a ZigBee data confirmation message from the gateway, the ZigBee data confirmation message including a ZigBee short address of the server to indicate a destination of the data to be transmitted by the sensor node; and sending the ZigBee data to the gateway, a destination address of the ZigBee data being the ZigBee short address of the server.
- a method in a server of an IPv6 network, of cooperating with a sensor node in a sensor network in data transmission, the server and the sensor node having joined the sensor network, wherein the method includes the steps of: receiving an IPv6 data request message from a gateway of the sensor network, the IPv6 data request message including service identification information of data to be transmitted by the sensor node; sending an IPv6 data confirmation message to the gateway upon determining from the service identification information that the data to be transmitted by the sensor node is the data that the server expects; and receiving IPv6 data from the gateway, a source address of the IPv6 data being a virtual IPv6 address of the sensor node.
- a method in a gateway of a sensor network, of assisting a sensor node in the sensor network in data transmission with a server in an IPv6 network, the sensor node and the server having joined the sensor network, wherein the method includes the steps of: receiving a ZigBee data request message from the sensor node, the ZigBee data request message including service identification information of data to be transmitted by the sensor node; replacing a ZigBee network layer header of the ZigBee data request message with an IPv6 header to generate an IPv6 data request message; sending the IPv6 data request message to the server, the IPv6 data request message including the service identification information of the data to be transmitted by the sensor node; receiving an IPv6 data confirmation message from the server; replacing an IPv6 header of the IPv6 data confirmation message with a ZigBee network layer header to generate a ZigBee data confirmation message and adding a ZigBee short address of the server to the ZigBee data confirmation message to indicate that
- a method in a server of an IPv6 network, of data transmission with a sensor node in a sensor network, the server and the sensor node having joined the sensor network, wherein the method includes the steps of: sending an IPv6 service discovery request message to a gateway of the sensor network, the IPv6 service discovery request message including service identification information of a service of interest to the server; receiving an IPv6 service discovery confirmation message from the gateway, the IPv6 service discovery confirmation message including a virtual IPv6 address of the sensor node to indicate that the sensor node can provide the service of interest to the server; and sending IPv6 data to the gateway, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node.
- a method in a sensor node of a sensor network, of cooperating with a server in an IPv6 network in data transmission, the sensor node and the server having joined the sensor network, wherein the method includes the steps of: receiving a ZigBee service discovery request message from a gateway of the sensor network, the ZigBee service discovery request message including service identification information of a service of interest to the server; sending a ZigBee service discovery confirmation message to the gateway upon determining from the service identification information that the sensor node provides the service of interest to the server; and receiving ZigBee data from the gateway, a source address of the ZigBee data being a ZigBee short address of the server.
- a method in a gateway of a sensor network, of assisting a server in an IPv6 network in data transmission with a sensor node in the sensor network, the server and the sensor node having joined the sensor network, wherein the method includes the steps of: receiving an IPv6 service discovery request message from the server, the IPv6 service discovery request message including service identification information of a service of interest to the server; replacing an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message; sending the ZigBee service discovery request message to the sensor node, the ZigBee service discovery request message including the service identification information of the service of interest to the server; receiving a ZigBee service discovery confirmation message from the sensor node; replacing a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message and adding a virtual IPv6 address of the sensor node to the IP
- a method in a first sensor node of a first sensor network, of data transmission with a second sensor node in a second sensor network, the method including the steps of: sending a ZigBee service discovery request message to a first gateway of the first sensor network, the ZigBee service discovery request message including service identification information of an interested service of the first sensor node; receiving a ZigBee service discovery confirmation message from the first gateway, the ZigBee service discovery confirmation message including a ZigBee short address of the second sensor node in the second sensor network to indicate that the second sensor node can provide the interested service of the first sensor node in the first sensor network; receiving a ZigBee network rejoin indication message from the first gateway, the ZigBee network rejoin indication message including network identification information of the second sensor network to indicate a sensor network to be rejoined by the first sensor node; sending a ZigBee network rejoin request message to the first gateway, the ZigBee network rejoin request message including the network identification information of the second sensor
- a method in a first gateway of a first sensor network, of assisting a first sensor node in the first sensor network in data transmission with a second sensor node in a second sensor network, the method including the steps of: receiving a ZigBee service discovery request message from the first sensor node, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node; replacing a ZigBee network layer header of the ZigBee service discovery request message with an IPv6 header to generate an IPv6 service discovery request message; sending the IPv6 service discovery request message to a second gateway in the second sensor network, the IPv6 service discovery request message including the service identification information of the service of interest to the first sensor node; receiving an IPv6 service discovery confirmation message from the second gateway, the IPv6 service discovery confirmation message including network identification information of the second sensor network, a ZigBee short address of the second sensor node in the second sensor network and a virtual IPv6 address of the second sensor no
- a method in a second sensor node of a second sensor network, of cooperating with a first sensor node of a first sensor network in data transmission, the method including the steps of: receiving a ZigBee service discovery request message from a second gateway in the second sensor network, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node; sending a ZigBee service discovery confirmation message to the second gateway upon determining from the service identification information that the second sensor node provides the service of interest to the first sensor node; and receiving ZigBee data from the second gateway, a source address of the ZigBee data being a ZigBee short address of the first sensor node in the second sensor network.
- a method in a second gateway of a second sensor network, of assisting a first sensor node in a first sensor network in data transmission with a second sensor node in the second sensor network, the method including the steps of: receiving an IPv6 service discovery request message from a first gateway in the first sensor network, the IPv6 service discovery request message including service identification information of a service of interest to the first sensor node; replacing an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message; sending the ZigBee service discovery request message to the second sensor node, the ZigBee service discovery request message including the service identification information of the service of interest to the first sensor node; receiving a ZigBee service discover confirmation message from the second sensor node; replacing a ZigBee network layer header of the ZigBee service discover confirmation message with an IPv6 header to generate an IPv6 service discover confirmation message; sending the IPv6 service discover confirmation message
- IPv6 header is replaced with a ZigBee network layer header when a data packet is transmitted over a ZigBee network.
- the data packet will suffer no problem with its size and have a sufficient room to bear application data;
- Fig.l illustrates a network architectural diagram of end-to-end communication over sensor networks according to an embodiment of the invention
- Fig.2 illustrates a flow chart of a method in which a sensor node and an IPv6 server join a sensor network according to an embodiment of the invention
- Fig.3(a) illustrates a mapping table about sensor nodes stored in a gateway according to an embodiment of the invention
- Fig.3(b) illustrates a mapping table about IPv6 servers stored in a gateway according to an embodiment of the invention
- Fig.4 illustrates a flow chart of a method of transmitting data from a ZigBee network to an IPv6 network according to an embodiment of the invention
- Fig.5 illustrates a flow chart of a method of transmitting data from an
- IPv6 network to a ZigBee network according to an embodiment of the invention.
- Fig.6 illustrates a flow chart of a method of transmitting data across different ZigBee networks according to an embodiment of the invention.
- Fig.l is a network architectural diagram of end-to-end communication over sensor networks according to an embodiment of the invention.
- a sensor network A, a sensor network B and an IPv6 network are illustrated, a sensor node 10 and a gateway 20 are located in the sensor network A, a sensor node 30 and a gateway 40 are located in the sensor network B, and an IPv6 server 50 is located in the IPv6 network.
- the sensor network 10 is connected to the IPv6 network through the gateway 20, and the sensor node 30 is connected to the IPv6 network through the gateway 40.
- the sensor node 10 joins the sensor network A.
- the sensor node 10 sends a ZigBee network join request message to the gateway 20.
- the ZigBee network join request message includes node identification information of the sensor node 10 and network identification information of a sensor network to be joined by the sensor node 10 (i.e., network identification information of the sensor network A).
- the gateway 20 After the gateway 20 receives the ZigBee network join request message from the sensor node 10, in the step S22, the gateway 20 allocates a ZigBee short address for the sensor node 10, generates an virtual IPv6 address for the sensor node 10 based upon an MAC address of the sensor node 10 and an IPv6 network prefix of the gateway 20 and records the identification information of the sensor node 10, the network identification information of the sensor network to be joined by the sensor node 10 (i.e., the network identification information of the sensor network A), the ZigBee short address allocated for the sensor node 10 and the virtual IPv6 address generated for the sensor node 10.
- the gateway 20 can record the identification information of the sensor node 10, the network identification information of the sensor network to be joined by the sensor node 10, the ZigBee short address allocated for the sensor node 10 and the virtual IPv6 address generated for the sensor node 10 in a mapping table as illustrated in Fig.3(a).
- the gateway 20 sends a ZigBee network join confirmation message to the sensor node 10.
- the ZigBee network join confirmation message includes the ZigBee short address allocated for the sensor node 10.
- the IPv6 server 50 joins the sensor network A.
- the IPv6 server 50 sends an IPv6 network join request message to the gateway 20.
- the IPv6 network join request message includes network identification information of a sensor network to be joined by the IPv6 server 50 (i.e., network identification information of the sensor network A) and tag information indicating that the IPv6 server is a terminal node.
- the gateway 20 After the gateway 20 receives the IPv6 network join request message from the IPv6 server 50, in the step S25, the gateway 20 allocates a ZigBee short address for the IPv6 server 50 and records an IPv6 address of the IPv6 server 50, the network identification information of the sensor network to be joined by the IPv6 server 50 (i.e., the network identification information of the sensor network A) and the ZigBee short address allocated for the IPv6 server 50.
- the gateway 20 can record the IPv6 address of the IPv6 server 50, the network identification information of the sensor network to be joined by the IPv6 server 50 and the ZigBee short address allocated for the IPv6 server 50 in a mapping table as illustrated in Fig.3(b). Then in the step S26, the gateway 20 sends an IPv6 network join confirmation message to the IPv6 server 50.
- the IPv6 network join confirmation message includes the ZigBee short address allocated for the IPv6 server.
- the IPv6 server 50 joins a multicast group.
- a multicast group can be created between the gateway 20 and the IPv6 server 50 in order to reduce the amount of data to be transmitted.
- the IPv6 server 50 sends an IPv6 multicast group join request message to the gateway 20.
- the IPv6 multicast group join request message includes group identification information of a multicast group to be joined by the IPv6 server 50.
- the gateway 20 After the gateway 20 receives the IPv6 multicast group join request message from the IPv6 server 50, in the step S28, the gateway 20 allocates a multicast address for the multicast group and records the group identification information and the multicast address of the multicast group. For example, the gateway 20 can record the group identification information and the multicast address of the multicast group in the mapping table as illustrated in Fig.3(b).
- the gateway 20 sends an IPv6 multicast group join confirmation message to the IPv6 server 50.
- the IPv6 multicast group join confirmation message includes the allocated multicast address.
- a flow of a method of transmitting data from a ZigBee network to an IPv6 network will be described below with reference to Fig.4 in combination with Fig. l taking the sensor network A as an example.
- the sensor node 10 in the sensor gateway A expects communication with the IPv6 server 50 in the IPv6 network, for example, the sensor node 10 expects to send data sensed by the sensor node 10 to a destination interested in the data.
- the sensor node 10 sends a ZigBee data request message to the gateway 20, for example, the sensor node 10 can broadcast the ZigBee data request message over the sensor network A.
- the ZigBee data request message includes service identification information of data to be sent by the sensor node 10.
- the gateway 20 After the gateway 20 receives the ZigBee data request message from the sensor node 10, in the step S42, the gateway 20 replaces a ZigBee network layer header of the ZigBee data request message with an IPv6 header to generate an IPv6 data request message.
- the gateway 20 sends the IPv6 data request message to the IPv6 server 50, for example, the gateway 20 can send the IPv6 data request message in a multicast mode.
- the IPv6 data request message includes the service identification information of the data to be sent by the sensor node 10.
- the IPv6 server 50 After the IPv6 server 50 receives the IPv6 data request message from the gateway 20, in the step S44, the IPv6 server 50 sends an IPv6 data confirmation message to the gateway 20 after the IPv6 server 50 determines from the service identification information in the IPv6 data request message that the data to be sent by the sensor node 10 is the data that the server expects. For example, the IPv6 server 50 can send the IPv6 data confirmation message to the gateway 20 in a unicast mode.
- the gateway 20 After the gateway 20 receives the IPv6 data confirmation message from the IPv6 server 50, in the step S45, the gateway 20 replaces an IPv6 header of the IPv6 data confirmation message with a ZigBee network layer header to generate a ZigBee data confirmation message and adds a ZigBee short address of the IPv6 server 50 to the ZigBee data confirmation message to indicate that the IPv6 server 50 is a destination of the data to be sent by the sensor node 10.
- the gateway 20 sends the ZigBee data confirmation message to the sensor node 10, for example, the gateway 20 can send the ZigBee data confirmation message to the sensor node 10 in a unicast mode.
- the ZigBee data confirmation message includes the ZigBee short address of the IPv6 server 50.
- the sensor node 10 can communicate directly with the IPv6 server 50.
- the sensor node 10 takes the IPv6 server 50 as a sensor node in the sensor network A, and the IPv6 server 50 takes the sensor node 10 as an IPv6 node.
- the sensor node 10 sends ZigBee data to the gateway 20, a destination address of the ZigBee data being a ZigBee short address of the IPv6 server 50.
- the gateway 20 After the gateway 20 receives the ZigBee data from the sensor node 10, in the step S48, the gateway 20 replaces a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data.
- the gateway 20 sends the IPv6 data to the IPv6 server 50, a source address of the IPv6 data being a virtual IPv6 address of the sensor node 10.
- the IPv6 server 50 in the IPv6 network expects communication with the sensor node 10 in the sensor gateway A, for example, the IPv6 server 50 expects a service of interest.
- the IPv6 server 50 sends an
- IPv6 service discovery request message to the gateway 20, for example, the IPv6 server 50 can send the IPv6 service discovery request message to the gateway 20 in a multicast mode.
- the IPv6 service discovery request message includes service identification information of a service of interest to the IPv6 server 50 (i.e., a service in which the IPv6 server 50 is interested).
- the gateway 20 After the gateway 20 receives the IPv6 service discovery request message from the IPv6 server 50, in the step S52, the gateway 20 replaces an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message. Then in the step S53, the gateway 20 sends the ZigBee service discovery request message to the sensor node 10, for example, the gateway 20 can send the ZigBee service discovery request message in a broadcast mode.
- the ZigBee service discovery request message includes the service identification information of the service of interest to the IPv6 server 50.
- the sensor node 10 After the sensor node 10 receives the ZigBee service discovery request message from the gateway 20, in the step S54, the sensor node 10 sends a ZigBee service discovery confirmation message to the gateway 20 after the sensor node 10 determines from the service identification information in the ZigBee service discovery request message that the sensor node provides the service of interest to the IPv6 server 50 (i.e., the service in which the IPv6 server 50 is interested). For example, the sensor node 10 can send the ZigBee service discovery confirmation message to the gateway 20 in a unicast mode.
- the gateway 20 After the gateway 20 receives the ZigBee service discovery confirmation message from the sensor node 10, in the step S55, the gateway 20 replaces a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message and adds a virtual IPv6 address of the sensor node 10 to the IPv6 service discovery confirmation message to indicate that the sensor node 10 can provide the service of interest to the IPv6 server 50.
- the gateway 20 sends the IPv6 service discovery confirmation message to the IPv6 server 50, for example, the gateway 20 can send the IPv6 service discovery confirmation message to the IPv6 server 50 in a unicast mode.
- the IPv6 service discovery confirmation message includes the virtual IPv6 address of the sensor node 10.
- IPv6 server 50 can communicate directly with the sensor node 10.
- the IPv6 server 50 sends IPv6 data to the gateway 20, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node 10.
- the gateway 20 After the gateway 20 receives the IPv6 data from the IPv6 server 50, in the step S58, the gateway 20 replaces an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data.
- the gateway 20 sends the ZigBee data to the sensor node 10, a source address of the ZigBee data being a ZigBee short address of the IPv6 server 50.
- the sensor node 10 in the sensor network A expects communication with the sensor node 30 in the sensor network B, for example, the sensor node 10 expects a specific service.
- the sensor node 10 sends a ZigBee service discovery request message to the gateway 20, for example, the sensor node 10 can send the ZigBee service discovery request message in a broadcast mode.
- the ZigBee service discovery request message includes service identification information of a service of interest to the sensor node 10.
- the gateway 20 After the gateway 20 receives the ZigBee service discovery request message from the sensor node 10, in the step 602, the gateway 20 replaces a ZigBee network layer header of the ZigBee service discovery request message with an IPv6 header to generate an IPv6 service discovery request message.
- the gateway 20 sends the IPv6 service discovery request message to the gateway 40 in the sensor network B, for example, the gateway 20 can send the IPv6 service discovery request message in a multicast mode.
- the IPv6 service discovery request message includes the service identification information of the service of interest to the sensor node 10.
- the gateway 40 After the gateway 40 receives the IPv6 service discovery request message from the gateway 20 of the sensor network A, in the step S604, the gateway 40 replaces an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message.
- the gateway 40 sends the ZigBee service discovery request message to the sensor node 30, for example, the gateway 40 can send the ZigBee service discovery request message in a broadcast mode.
- the ZigBee service discovery request message includes the service identification information of the service of interest to the sensor node 10.
- the sensor nodes 30 After the sensor node 30 receives the ZigBee service discovery request message from the gateway 40, in the step S606, the sensor nodes 30 sends a ZigBee service discovery confirmation message to the gateway 40 after the sensor node 30 determines from the service identification information in the ZigBee service discovery request message that the sensor node 30 provides the service of interest to the sensor node 10. For examples, the sensor node 30 can send the ZigBee service discovery confirmation message in a unicast mode.
- the gateway 40 After the gateway 40 receives the ZigBee service discovery confirmation message from the sensor node 30, in the step S607, the gateway 40 replaces a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message.
- the gateway 40 sends the IPv6 service discovery confirmation message to the gateway 20 in the sensor network A, for example, the gateway 40 can send the IPv6 service discovery confirmation message in a unicast mode.
- the IPv6 service discovery confirmation message includes network identification information of the sensor network B, a ZigBee short address of the sensor node 30 in the sensor network B and a virtual IPv6 address of the sensor node 30 to indicate that the sensor node 30 in the sensor network B provides the service of interest to the sensor node 10.
- the gateway 20 After the gateway 20 receives the IPv6 service discovery confirmation message from the gateway 40, in the step S609, the gateway 20 records the ZigBee short address of the sensor node 30 in the sensor network B and the virtual IPv6 address of the sensor node 30 and replaces an IPv6 header of the IPv6 service discovery confirmation message with a ZigBee network layer header to generate a ZigBee service discovery confirmation message.
- the gateway 20 can record the ZigBee short address of the sensor node 30 in the sensor network B and the virtual IPv6 address of the sensor node 30 in the mapping table as illustrated in Fig.3(a).
- the gateway 20 sends the ZigBee service discovery confirmation message to the sensor node 10, for example, the gateway 20 can send the ZigBee service discovery confirmation message in a unicast mode.
- the ZigBee service discovery confirmation message includes the ZigBee short address of the sensor node 30 in the sensor network B to indicate that the sensor node 30 provides the service of interest to the sensor node 10.
- the sensor node 10 Since the sensor node 30 is located in the sensor network B instead of the sensor network A, the sensor node 10 needs to obtain a ZigBee short address of the sensor node 10 in the sensor network B (because ZigBee short addresses of the sensor node in the different sensor networks may be different).
- the gateway 20 sends a ZigBee network rejoin indication message to the sensor node 10.
- the ZigBee network rejoin indication message includes the network identification information of the sensor network B to indicate a sensor network to be rejoined by the sensor node 10.
- the sensor node 10 After the sensor node 10 receives the ZigBee network rejoin indication message from the gateway 20, in the step S612, the sensor node 10 sends a ZigBee network rejoin request message to the gateway 20.
- the ZigBee network rejoin request message includes the network identification information of the sensor network B to indicate the sensor network to be rejoined by the sensor node 10.
- the gateway 20 After the gateway 20 receives the ZigBee network rejoin request message from the sensor node 10, in the step S613, the gateway replaces a ZigBee network layer header of the ZigBee network rejoin request message with an IPv6 header to generate an IPv6 network rejoin request message.
- the gateway 20 sends the IPv6 network rejoin request message to the gateway 40 in the sensor network B.
- the IPv6 network rejoin request message includes node identification information of the sensor node 10, a virtual IPv6 address of the sensor node 10, the network identification information of the sensor network to be rejoined by the sensor node 10 (i.e., the network identification information of the sensor network B) and tag information indicating that the gateway 20 is a gateway.
- the gateway 40 After the gateway 40 receives the IPv6 network rejoin request message from the gateway 20, in the step S615, the gateway 40 allocates for the sensor node 10 a ZigBee short address thereof in the sensor network B and records the virtual IPv6 address of the sensor node 10 and the ZigBee short address of the sensor node 10 in the sensor network B.
- the gateway 40 can record the virtual IPv6 address of the sensor node 10 and the ZigBee short address of the sensor node 10 in the sensor network B in the mapping table as illustrated in Fig.3(a).
- the gateway 40 sends an IPv6 network rejoin confirmation message to the gateway 20 in the sensor node A.
- the IPv6 network rejoin confirmation message includes the ZigBee short address of the sensor node 10 in the sensor network B.
- the gateway 20 After the gateway 20 receives the IPv6 network rejoin confirmation message from the gateway 40, in the step S617, the gateway 20 records the ZigBee short address of the sensor node 10 in the sensor network B and replaces an IPv6 header of the IPv6 network rejoin confirmation message with a ZigBee network layer header to generate a ZigBee network rejoin confirmation message to the gateway 20 in the sensor network A.
- the gateway 20 records the ZigBee short address of the sensor node 10 in the sensor network B in the mapping table as illustrated in Fig.3 (a).
- the gateway 20 sends the ZigBee network rejoin confirmation message to the sensor node 10.
- the ZigBee network rejoin confirmation message includes the ZigBee short address of the sensor node 10 in the sensor network B.
- the sensor node 10 can communicate directly with the sensor node 30 in the sensor node B by using the ZigBee short address of the sensor node 10 in the sensor network B.
- the sensor node 10 sends ZigBee data to the gateway 20.
- a source address of the ZigBee data is the ZigBee short address of the sensor node 10 in the sensor network B.
- the gateway 20 After the gateway 20 receives the ZigBee data from the sensor node 10, in the step S620, the gateway 20 replaces a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data.
- the gateway 20 sends the IPv6 data to the gateway 40 in the sensor network B.
- a source address of the IPv6 data is the virtual IPv6 address of the sensor node 10
- a destination address of the IPv6 data is a virtual IPv6 address of the sensor node 30.
- the gateway 40 After the gateway 40 receives the IPv6 data from the gateway 20, in the step S622, the gateway 40 replaces an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data.
- the gateway 40 sends the ZigBee data to the sensor ndoe 30.
- a source address of the ZigBee data is the ZigBee short address of the sensor node 10 in the sensor network B.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
End-to-End Communication in Sensor Network
Field of the invention
The present disclosure relates to a sensor network and particularly to end-to-end communication in a sensor network.
Background of the invention
Sensor networks are widely used in numerous industrial or civilian applications. Currently the majority of the sensor networks are based on the ZigBee protocol to provide low-cost, low-power-consumption and bidirectional communication.
Since the TCP/IP protocol has become a dominant protocol over the Internet, interconnection of ZigBee networks based on the TCP/IP protocol is inevitable. Moreover since there are numerous problems occurring in the IPv4 (e.g., a shortage of IPv4 addresses), the IPv6 is a de factor networking standard for internetworking of ZigBee networks. However since the fundamental design of the ZigBee protocol is incompatible with the TCP/IP protocol, it is not easy to provide internetworking between them. For example, a ZigBee network is severely resource-constrained and capability-limited because sensor nodes in the ZigBee network have a short battery lifetime, a small form factor and a cost constraint, all of which restrain a memory space and a CPU speed and complicate a radio interface. Due to these constraints, the sensor nodes in the ZigBee network cannot perform IPv6 functions as a server in an IPv6 network does.
Summary of the invention
In view of the foregoing drawbacks, it is advantageous to provide a new internetworking solution between a ZigBee network and an IPv6 network to thereby provide end-to-end communication in the sensor
network.
In order to provide end-to-end communication between a server of the IPv6 network and sensor nodes of the sensor network, a gateway in the sensor network allocates a globally unique virtual IPv6 address for each sensor node in a network join procedure, and the virtual IPv6 address is generated from an MAC address of the sensor node and an IPv6 network prefix of the gateway, for example, the virtual IPv6 address can be a 128-bit address which is generated as a result of combining the 64-bit MAC address of the sensor node and the 64-bit IPv6 network prefix of the gateway.
Since each sensor node is allocated a virtual IPv6 address, the sensor node is equivalent to a normal IPv6 node from the perspective of the server in the IPv6 network.
In order to provide end-to-end communication between the sensor nodes of the sensor network and the server of the IPv6 network, the gateway in the sensor network allocates a ZigBee short address, e.g., a 16-bit ZigBee short address, for each IPv6 server expecting communication with the sensor nodes in a network join procedure. The ZigBee short address is unique throughout the sensor network.
Since the IPv6 server is allocated with a ZigBee short address, the
IPv6 server is equivalent to a normal sensor node from the perspective of the sensor nodes in the sensor network.
According to an aspect of the invention, there is provided a method, in a server of an IPv6 network, of joining a sensor network, the method including the steps of: sending an IPv6 network join request message to a gateway of the sensor network, the IPv6 network join request message including network identification information of the sensor network to be joined by the server and tag information indicating that the server is a terminal node; and receiving an IPv6 network join confirmation message from the gateway, the IPv6 network join confirmation message including a ZigBee short address allocated by the gateway for the server.
According to another aspect of the invention, there is provided a method, in a gateway of a sensor network, of assisting a server in an IPv6 network in joining the sensor network, the method including the steps of: receiving an IPv6 network join request message from the server, the IPv6 network join request message including network identification information of the sensor network to be joined by the server and tag information indicating that the server is a terminal node; allocating a ZigBee short address for the server and recording an IPv6 address of the server, the network identification information of the sensor network to be joined by the server and the ZigBee short address allocated for the server; and sending an IPv6 network join confirmation message to the server, the IPv6 network join confirmation message including the ZigBee short address allocated for the server.
According to another aspect of the invention, there is provided a method, in a gateway of a sensor network, of assisting a sensor node in joining the sensor network, the method including the steps of: receiving a ZigBee network join request message from the sensor node, the ZigBee network join request message including node identification information of the sensor node and network identification information of the sensor network to be joined by the sensor node; allocating a ZigBee short address for the sensor node, generating a virtual IPv6 address for the sensor node based upon an MAC address of the sensor node and an IPv6 network prefix of the gateway, and recording the node identification information of the sensor node, the network identification information of the sensor network to be joined by the sensor node, the ZigBee short address allocated for the sensor node and the virtual IPv6 address generated for the sensor node; and sending a ZigBee network join confirmation message to the sensor node, the ZigBee network join confirmation message including the ZigBee short address allocated for the sensor node.
According to another aspect of the invention, there is provided a method, in a sensor node of a sensor network, of data transmission with a
server in an IPv6 network, the sensor node and the server having joined the sensor network, wherein the method includes the steps of: sending a ZigBee data request message to a gateway in the sensor network, the ZigBee data request message including service identification information of data to be transmitted by the sensor node; receiving a ZigBee data confirmation message from the gateway, the ZigBee data confirmation message including a ZigBee short address of the server to indicate a destination of the data to be transmitted by the sensor node; and sending the ZigBee data to the gateway, a destination address of the ZigBee data being the ZigBee short address of the server.
According to another aspect of the invention, there is provided a method, in a server of an IPv6 network, of cooperating with a sensor node in a sensor network in data transmission, the server and the sensor node having joined the sensor network, wherein the method includes the steps of: receiving an IPv6 data request message from a gateway of the sensor network, the IPv6 data request message including service identification information of data to be transmitted by the sensor node; sending an IPv6 data confirmation message to the gateway upon determining from the service identification information that the data to be transmitted by the sensor node is the data that the server expects; and receiving IPv6 data from the gateway, a source address of the IPv6 data being a virtual IPv6 address of the sensor node.
According to another aspect of the invention, there is provided a method, in a gateway of a sensor network, of assisting a sensor node in the sensor network in data transmission with a server in an IPv6 network, the sensor node and the server having joined the sensor network, wherein the method includes the steps of: receiving a ZigBee data request message from the sensor node, the ZigBee data request message including service identification information of data to be transmitted by the sensor node; replacing a ZigBee network layer header of the ZigBee data request message with an IPv6 header to generate an IPv6 data request message;
sending the IPv6 data request message to the server, the IPv6 data request message including the service identification information of the data to be transmitted by the sensor node; receiving an IPv6 data confirmation message from the server; replacing an IPv6 header of the IPv6 data confirmation message with a ZigBee network layer header to generate a ZigBee data confirmation message and adding a ZigBee short address of the server to the ZigBee data confirmation message to indicate that the server is a destination of the data to be transmitted by the sensor node; sending the ZigBee data confirmation message to the sensor node, the ZigBee data confirmation message including the ZigBee short address of the server; receiving ZigBee data from the sensor node, a destination address of the ZigBee data being the ZigBee short address of the server; replacing a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data; and sending the IPv6 data to the server, a source address of the IPv6 data being a virtual IPv6 address of the sensor node.
According to another aspect of the invention, there is provided a method, in a server of an IPv6 network, of data transmission with a sensor node in a sensor network, the server and the sensor node having joined the sensor network, wherein the method includes the steps of: sending an IPv6 service discovery request message to a gateway of the sensor network, the IPv6 service discovery request message including service identification information of a service of interest to the server; receiving an IPv6 service discovery confirmation message from the gateway, the IPv6 service discovery confirmation message including a virtual IPv6 address of the sensor node to indicate that the sensor node can provide the service of interest to the server; and sending IPv6 data to the gateway, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node.
According to another aspect of the invention, there is provided a method, in a sensor node of a sensor network, of cooperating with a server
in an IPv6 network in data transmission, the sensor node and the server having joined the sensor network, wherein the method includes the steps of: receiving a ZigBee service discovery request message from a gateway of the sensor network, the ZigBee service discovery request message including service identification information of a service of interest to the server; sending a ZigBee service discovery confirmation message to the gateway upon determining from the service identification information that the sensor node provides the service of interest to the server; and receiving ZigBee data from the gateway, a source address of the ZigBee data being a ZigBee short address of the server.
According to another aspect of the invention, there is provided a method, in a gateway of a sensor network, of assisting a server in an IPv6 network in data transmission with a sensor node in the sensor network, the server and the sensor node having joined the sensor network, wherein the method includes the steps of: receiving an IPv6 service discovery request message from the server, the IPv6 service discovery request message including service identification information of a service of interest to the server; replacing an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message; sending the ZigBee service discovery request message to the sensor node, the ZigBee service discovery request message including the service identification information of the service of interest to the server; receiving a ZigBee service discovery confirmation message from the sensor node; replacing a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message and adding a virtual IPv6 address of the sensor node to the IPv6 service discovery confirmation message to indicate that the sensor node can provide the service of interest to the server; sending the IPv6 service discovery confirmation message to the server, the IPv6 service discovery confirmation message including the virtual IPv6 address of the sensor
node; receiving IPv6 data from the server, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node; replacing an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data; and sending the ZigBee data to the sensor node, a source address of the ZigBee data being a ZigBee short address of the server.
According to another aspect of the invention, there is provided a method, in a first sensor node of a first sensor network, of data transmission with a second sensor node in a second sensor network, the method including the steps of: sending a ZigBee service discovery request message to a first gateway of the first sensor network, the ZigBee service discovery request message including service identification information of an interested service of the first sensor node; receiving a ZigBee service discovery confirmation message from the first gateway, the ZigBee service discovery confirmation message including a ZigBee short address of the second sensor node in the second sensor network to indicate that the second sensor node can provide the interested service of the first sensor node in the first sensor network; receiving a ZigBee network rejoin indication message from the first gateway, the ZigBee network rejoin indication message including network identification information of the second sensor network to indicate a sensor network to be rejoined by the first sensor node; sending a ZigBee network rejoin request message to the first gateway, the ZigBee network rejoin request message including the network identification information of the second sensor network to indicate the sensor network to be rejoined by the first sensor node; receiving a ZigBee network rejoin confirmation message from the first gateway, the ZigBee network rejoin confirmation message including a ZigBee short address of the first sensor node in the second sensor network; and sending ZigBee data to the first gateway, a source address of the ZigBee data being the ZigBee short address of the first sensor node in the second sensor network.
According to another aspect of the invention, there is provided a method, in a first gateway of a first sensor network, of assisting a first sensor node in the first sensor network in data transmission with a second sensor node in a second sensor network, the method including the steps of: receiving a ZigBee service discovery request message from the first sensor node, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node; replacing a ZigBee network layer header of the ZigBee service discovery request message with an IPv6 header to generate an IPv6 service discovery request message; sending the IPv6 service discovery request message to a second gateway in the second sensor network, the IPv6 service discovery request message including the service identification information of the service of interest to the first sensor node; receiving an IPv6 service discovery confirmation message from the second gateway, the IPv6 service discovery confirmation message including network identification information of the second sensor network, a ZigBee short address of the second sensor node in the second sensor network and a virtual IPv6 address of the second sensor node to indicate that the second sensor node in the second sensor network provides the service of interest to the first sensor node, and recording the ZigBee short address of the second sensor node in the second sensor network and the virtual IPv6 address of the second sensor node; replacing an IPv6 header of the IPv6 service discovery confirmation message with a ZigBee network layer header to generate a ZigBee service discovery confirmation message; sending the ZigBee service discovery confirmation message to the first sensor node, the ZigBee service discovery confirmation message including the ZigBee short address of the second sensor node in the second sensor network to indicate that the second sensor node provides the service of interest to the first sensor node; sending a ZigBee network rejoin indication message to the first sensor node, the ZigBee network rejoin indication message including the network identification
information of the second sensor network to indicate a sensor network to be rejoined by the first sensor node; receiving a ZigBee network rejoin request message from the first sensor node, the ZigBee network rejoin request message including the network identification information of the second sensor network to indicate the sensor network to be rejoined by the first sensor node; replacing a ZigBee network layer header of the ZigBee network rejoin request message with an IPv6 header to generate an IPv6 network rejoin request message; sending the IPv6 network rejoin request message to the second gateway in the second sensor network, the IPv6 network rejoin request message including node identification information of the first sensor node, a virtual IPv6 address of the first sensor node, the network identification information of the sensor network to be rejoined by the first sensor node and tag information indicating that the first gateway is a gateway; receiving an IPv6 network rejoin confirmation message from the second gateway, the IPv6 network rejoin confirmation message including a ZigBee short address of the first sensor node in the second sensor network, and recording the ZigBee short address of the first sensor node in the second sensor network; replacing an IPv6 header of the IPv6 network rejoin confirmation message with a ZigBee network layer header to generate a ZigBee network rejoin confirmation message; sending the ZigBee network rejoin confirmation message to the first sensor node, the ZigBee network rejoin confirmation message including the ZigBee short address of the first sensor node in the second sensor network; receiving ZigBee data from the first sensor node, a source address of the ZigBee data being the ZigBee short address of the first sensor node in the second sensor network; replacing a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data; and sending the IPv6 data to the second gateway, a source address of the IPv6 data being the virtual IPv6 address of the first sensor node, and a destination address of the IPv6 data being the virtual IPv6 address of the second sensor node.
According to another aspect of the invention, there is provided a
method, in a second sensor node of a second sensor network, of cooperating with a first sensor node of a first sensor network in data transmission, the method including the steps of: receiving a ZigBee service discovery request message from a second gateway in the second sensor network, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node; sending a ZigBee service discovery confirmation message to the second gateway upon determining from the service identification information that the second sensor node provides the service of interest to the first sensor node; and receiving ZigBee data from the second gateway, a source address of the ZigBee data being a ZigBee short address of the first sensor node in the second sensor network.
According to another aspect of the invention, there is provided a method, in a second gateway of a second sensor network, of assisting a first sensor node in a first sensor network in data transmission with a second sensor node in the second sensor network, the method including the steps of: receiving an IPv6 service discovery request message from a first gateway in the first sensor network, the IPv6 service discovery request message including service identification information of a service of interest to the first sensor node; replacing an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message; sending the ZigBee service discovery request message to the second sensor node, the ZigBee service discovery request message including the service identification information of the service of interest to the first sensor node; receiving a ZigBee service discover confirmation message from the second sensor node; replacing a ZigBee network layer header of the ZigBee service discover confirmation message with an IPv6 header to generate an IPv6 service discover confirmation message; sending the IPv6 service discover confirmation message to the first gateway in the first sensor network, the IPv6 service discover confirmation message including network
identification information of the second sensor network, a ZigBee short address of the second sensor node in the second sensor network and a virtual IPv6 address of the second sensor node to indicate that the second sensor node in the second sensor network provides the service of interest to the first sensor node; receiving an IPv6 network rejoin request message from the first gateway, the IPv6 network rejoin request message including node identification information of the first sensor node, a virtual IPv6 address of the first sensor node, network identification information of a sensor network to be rejoined by the first sensor node and tag information indicating that the first gateway is a gateway; allocating for the first sensor node a ZigBee short address thereof in the second sensor network and recording the virtual IPv6 address of the first sensor node and the ZigBee short address of the first sensor node in the second sensor network; sending an IPv6 network rejoin confirmation message to the first gateway, the IPv6 network rejoin confirmation message including the ZigBee short address of the first sensor node in the second sensor network; receiving IPv6 data from the first gateway, a source address of the IPv6 data being the virtual IPv6 address of the first sensor node, and a destination address of the IPv6 data being the virtual IPv6 address of the second sensor node; replacing an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data; and sending the ZigBee data to the second sensor node, a source address of the ZigBee data being the ZigBee short address of the first sensor node in the second sensor network.
Advantages of the invention lie in that:
- An IPv6 header is replaced with a ZigBee network layer header when a data packet is transmitted over a ZigBee network. Thus the data packet will suffer no problem with its size and have a sufficient room to bear application data;
- All of existing routing, addressing and data relaying solutions in the ZigBee network can be reused because the ZigBee network layer header is reserved;
- An important end-to-end mode is reserved in a communication process, e.g., information security; and
- End-to-end communication across different ZigBee networks is supported.
The respective aspects of the invention will become more apparent from the foregoing description of particular embodiments.
Brief description of drawings
The foregoing and other features of the invention will become more apparent upon review of the following detailed description of non-limiting embodiments thereof with reference to the drawings in which:
Fig.l illustrates a network architectural diagram of end-to-end communication over sensor networks according to an embodiment of the invention;
Fig.2 illustrates a flow chart of a method in which a sensor node and an IPv6 server join a sensor network according to an embodiment of the invention;
Fig.3(a) illustrates a mapping table about sensor nodes stored in a gateway according to an embodiment of the invention;
Fig.3(b) illustrates a mapping table about IPv6 servers stored in a gateway according to an embodiment of the invention;
Fig.4 illustrates a flow chart of a method of transmitting data from a ZigBee network to an IPv6 network according to an embodiment of the invention;
Fig.5 illustrates a flow chart of a method of transmitting data from an
IPv6 network to a ZigBee network according to an embodiment of the invention; and
Fig.6 illustrates a flow chart of a method of transmitting data across different ZigBee networks according to an embodiment of the invention.
Identical or like reference numerals denote identical or like components throughout the drawings.
Detailed description of embodiments
Fig.l is a network architectural diagram of end-to-end communication over sensor networks according to an embodiment of the invention. In the figure where a sensor network A, a sensor network B and an IPv6 network are illustrated, a sensor node 10 and a gateway 20 are located in the sensor network A, a sensor node 30 and a gateway 40 are located in the sensor network B, and an IPv6 server 50 is located in the IPv6 network. The sensor network 10 is connected to the IPv6 network through the gateway 20, and the sensor node 30 is connected to the IPv6 network through the gateway 40.
It shall be noted that although only one sensor node is illustrated respectively in both the sensor network A and the sensor network B, a plurality of sensor nodes can be included respectively in both the sensor network A and the sensor network B in a practical application.
A flow of a method in which the sensor node 10 and the IPv6 server 50 join the sensor network A will be described below with reference to Fig.2 in combination with Fig.l taking the sensor network A as an example.
The sensor node 10 joins the sensor network A.
Referring to Fig.2, first in the step S21, the sensor node 10 sends a ZigBee network join request message to the gateway 20. The ZigBee network join request message includes node identification information of the sensor node 10 and network identification information of a sensor network to be joined by the sensor node 10 (i.e., network identification information of the sensor network A).
After the gateway 20 receives the ZigBee network join request message from the sensor node 10, in the step S22, the gateway 20 allocates a ZigBee short address for the sensor node 10, generates an virtual IPv6 address for the sensor node 10 based upon an MAC address of the sensor node 10 and an IPv6 network prefix of the gateway 20 and records the identification information of the sensor node 10, the network
identification information of the sensor network to be joined by the sensor node 10 (i.e., the network identification information of the sensor network A), the ZigBee short address allocated for the sensor node 10 and the virtual IPv6 address generated for the sensor node 10.
For example, the gateway 20 can record the identification information of the sensor node 10, the network identification information of the sensor network to be joined by the sensor node 10, the ZigBee short address allocated for the sensor node 10 and the virtual IPv6 address generated for the sensor node 10 in a mapping table as illustrated in Fig.3(a).
Then in the step S23, the gateway 20 sends a ZigBee network join confirmation message to the sensor node 10. The ZigBee network join confirmation message includes the ZigBee short address allocated for the sensor node 10.
The IPv6 server 50 joins the sensor network A.
Referring to Fig.2, first in the step S24, the IPv6 server 50 sends an IPv6 network join request message to the gateway 20. The IPv6 network join request message includes network identification information of a sensor network to be joined by the IPv6 server 50 (i.e., network identification information of the sensor network A) and tag information indicating that the IPv6 server is a terminal node.
After the gateway 20 receives the IPv6 network join request message from the IPv6 server 50, in the step S25, the gateway 20 allocates a ZigBee short address for the IPv6 server 50 and records an IPv6 address of the IPv6 server 50, the network identification information of the sensor network to be joined by the IPv6 server 50 (i.e., the network identification information of the sensor network A) and the ZigBee short address allocated for the IPv6 server 50.
For example, the gateway 20 can record the IPv6 address of the IPv6 server 50, the network identification information of the sensor network to be joined by the IPv6 server 50 and the ZigBee short address allocated for the IPv6 server 50 in a mapping table as illustrated in Fig.3(b).
Then in the step S26, the gateway 20 sends an IPv6 network join confirmation message to the IPv6 server 50. The IPv6 network join confirmation message includes the ZigBee short address allocated for the IPv6 server.
The IPv6 server 50 joins a multicast group.
A multicast group can be created between the gateway 20 and the IPv6 server 50 in order to reduce the amount of data to be transmitted.
Referring to Fig.2, first in the step S27, the IPv6 server 50 sends an IPv6 multicast group join request message to the gateway 20. The IPv6 multicast group join request message includes group identification information of a multicast group to be joined by the IPv6 server 50.
After the gateway 20 receives the IPv6 multicast group join request message from the IPv6 server 50, in the step S28, the gateway 20 allocates a multicast address for the multicast group and records the group identification information and the multicast address of the multicast group. For example, the gateway 20 can record the group identification information and the multicast address of the multicast group in the mapping table as illustrated in Fig.3(b).
Then in the step S29, the gateway 20 sends an IPv6 multicast group join confirmation message to the IPv6 server 50. The IPv6 multicast group join confirmation message includes the allocated multicast address.
A flow of a method of transmitting data from a ZigBee network to an IPv6 network will be described below with reference to Fig.4 in combination with Fig. l taking the sensor network A as an example.
Assumed that after the network join procedure, the sensor node 10 in the sensor gateway A expects communication with the IPv6 server 50 in the IPv6 network, for example, the sensor node 10 expects to send data sensed by the sensor node 10 to a destination interested in the data.
Referring to Fig.4, first in the step S41, the sensor node 10 sends a ZigBee data request message to the gateway 20, for example, the sensor node 10 can broadcast the ZigBee data request message over the sensor
network A. The ZigBee data request message includes service identification information of data to be sent by the sensor node 10.
After the gateway 20 receives the ZigBee data request message from the sensor node 10, in the step S42, the gateway 20 replaces a ZigBee network layer header of the ZigBee data request message with an IPv6 header to generate an IPv6 data request message.
Then in the step S43, the gateway 20 sends the IPv6 data request message to the IPv6 server 50, for example, the gateway 20 can send the IPv6 data request message in a multicast mode. The IPv6 data request message includes the service identification information of the data to be sent by the sensor node 10.
After the IPv6 server 50 receives the IPv6 data request message from the gateway 20, in the step S44, the IPv6 server 50 sends an IPv6 data confirmation message to the gateway 20 after the IPv6 server 50 determines from the service identification information in the IPv6 data request message that the data to be sent by the sensor node 10 is the data that the server expects. For example, the IPv6 server 50 can send the IPv6 data confirmation message to the gateway 20 in a unicast mode.
After the gateway 20 receives the IPv6 data confirmation message from the IPv6 server 50, in the step S45, the gateway 20 replaces an IPv6 header of the IPv6 data confirmation message with a ZigBee network layer header to generate a ZigBee data confirmation message and adds a ZigBee short address of the IPv6 server 50 to the ZigBee data confirmation message to indicate that the IPv6 server 50 is a destination of the data to be sent by the sensor node 10.
Then in the step S46, the gateway 20 sends the ZigBee data confirmation message to the sensor node 10, for example, the gateway 20 can send the ZigBee data confirmation message to the sensor node 10 in a unicast mode. The ZigBee data confirmation message includes the ZigBee short address of the IPv6 server 50.
So far the sensor node 10 can communicate directly with the IPv6
server 50. In communication, the sensor node 10 takes the IPv6 server 50 as a sensor node in the sensor network A, and the IPv6 server 50 takes the sensor node 10 as an IPv6 node.
Specifically, referring to Fig.4, in the step S47, the sensor node 10 sends ZigBee data to the gateway 20, a destination address of the ZigBee data being a ZigBee short address of the IPv6 server 50.
After the gateway 20 receives the ZigBee data from the sensor node 10, in the step S48, the gateway 20 replaces a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data.
Then in the step S49, the gateway 20 sends the IPv6 data to the IPv6 server 50, a source address of the IPv6 data being a virtual IPv6 address of the sensor node 10.
A flow of a method of transmitting data from an IPv6 network to a ZigBee network will be described below with reference to Fig.5 in combination with Fig. l taking the sensor network A as an example.
Assumed that after the network join procedure, the IPv6 server 50 in the IPv6 network expects communication with the sensor node 10 in the sensor gateway A, for example, the IPv6 server 50 expects a service of interest.
Referring to Fig.5, first in the step S51, the IPv6 server 50 sends an
IPv6 service discovery request message to the gateway 20, for example, the IPv6 server 50 can send the IPv6 service discovery request message to the gateway 20 in a multicast mode. The IPv6 service discovery request message includes service identification information of a service of interest to the IPv6 server 50 (i.e., a service in which the IPv6 server 50 is interested).
After the gateway 20 receives the IPv6 service discovery request message from the IPv6 server 50, in the step S52, the gateway 20 replaces an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message.
Then in the step S53, the gateway 20 sends the ZigBee service discovery request message to the sensor node 10, for example, the gateway 20 can send the ZigBee service discovery request message in a broadcast mode. The ZigBee service discovery request message includes the service identification information of the service of interest to the IPv6 server 50.
After the sensor node 10 receives the ZigBee service discovery request message from the gateway 20, in the step S54, the sensor node 10 sends a ZigBee service discovery confirmation message to the gateway 20 after the sensor node 10 determines from the service identification information in the ZigBee service discovery request message that the sensor node provides the service of interest to the IPv6 server 50 (i.e., the service in which the IPv6 server 50 is interested). For example, the sensor node 10 can send the ZigBee service discovery confirmation message to the gateway 20 in a unicast mode.
After the gateway 20 receives the ZigBee service discovery confirmation message from the sensor node 10, in the step S55, the gateway 20 replaces a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message and adds a virtual IPv6 address of the sensor node 10 to the IPv6 service discovery confirmation message to indicate that the sensor node 10 can provide the service of interest to the IPv6 server 50.
Then in the step S56, the gateway 20 sends the IPv6 service discovery confirmation message to the IPv6 server 50, for example, the gateway 20 can send the IPv6 service discovery confirmation message to the IPv6 server 50 in a unicast mode. The IPv6 service discovery confirmation message includes the virtual IPv6 address of the sensor node 10.
So far the IPv6 server 50 can communicate directly with the sensor node 10.
Specifically, referring to Fig.5, in the step S57, the IPv6 server 50
sends IPv6 data to the gateway 20, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node 10.
After the gateway 20 receives the IPv6 data from the IPv6 server 50, in the step S58, the gateway 20 replaces an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data.
Then in the step S59, the gateway 20 sends the ZigBee data to the sensor node 10, a source address of the ZigBee data being a ZigBee short address of the IPv6 server 50.
A flow of a method of transmitting data across different ZigBee networks will be described below with reference to Fig.6 in combination with Fig.l .
Assumed that after the network join procedure, the sensor node 10 in the sensor network A expects communication with the sensor node 30 in the sensor network B, for example, the sensor node 10 expects a specific service.
Referring to Fig.6, first in the step S601, the sensor node 10 sends a ZigBee service discovery request message to the gateway 20, for example, the sensor node 10 can send the ZigBee service discovery request message in a broadcast mode. The ZigBee service discovery request message includes service identification information of a service of interest to the sensor node 10.
After the gateway 20 receives the ZigBee service discovery request message from the sensor node 10, in the step 602, the gateway 20 replaces a ZigBee network layer header of the ZigBee service discovery request message with an IPv6 header to generate an IPv6 service discovery request message.
Then in the step S603, the gateway 20 sends the IPv6 service discovery request message to the gateway 40 in the sensor network B, for example, the gateway 20 can send the IPv6 service discovery request message in a multicast mode. The IPv6 service discovery request message includes the service identification information of the service of interest to
the sensor node 10.
After the gateway 40 receives the IPv6 service discovery request message from the gateway 20 of the sensor network A, in the step S604, the gateway 40 replaces an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message.
Then in the step S605, the gateway 40 sends the ZigBee service discovery request message to the sensor node 30, for example, the gateway 40 can send the ZigBee service discovery request message in a broadcast mode. The ZigBee service discovery request message includes the service identification information of the service of interest to the sensor node 10.
After the sensor node 30 receives the ZigBee service discovery request message from the gateway 40, in the step S606, the sensor nodes 30 sends a ZigBee service discovery confirmation message to the gateway 40 after the sensor node 30 determines from the service identification information in the ZigBee service discovery request message that the sensor node 30 provides the service of interest to the sensor node 10. For examples, the sensor node 30 can send the ZigBee service discovery confirmation message in a unicast mode.
After the gateway 40 receives the ZigBee service discovery confirmation message from the sensor node 30, in the step S607, the gateway 40 replaces a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message.
Then in the step S608, the gateway 40 sends the IPv6 service discovery confirmation message to the gateway 20 in the sensor network A, for example, the gateway 40 can send the IPv6 service discovery confirmation message in a unicast mode. The IPv6 service discovery confirmation message includes network identification information of the sensor network B, a ZigBee short address of the sensor node 30 in the
sensor network B and a virtual IPv6 address of the sensor node 30 to indicate that the sensor node 30 in the sensor network B provides the service of interest to the sensor node 10.
After the gateway 20 receives the IPv6 service discovery confirmation message from the gateway 40, in the step S609, the gateway 20 records the ZigBee short address of the sensor node 30 in the sensor network B and the virtual IPv6 address of the sensor node 30 and replaces an IPv6 header of the IPv6 service discovery confirmation message with a ZigBee network layer header to generate a ZigBee service discovery confirmation message. For example, the gateway 20 can record the ZigBee short address of the sensor node 30 in the sensor network B and the virtual IPv6 address of the sensor node 30 in the mapping table as illustrated in Fig.3(a).
Then in the step S610, the gateway 20 sends the ZigBee service discovery confirmation message to the sensor node 10, for example, the gateway 20 can send the ZigBee service discovery confirmation message in a unicast mode. The ZigBee service discovery confirmation message includes the ZigBee short address of the sensor node 30 in the sensor network B to indicate that the sensor node 30 provides the service of interest to the sensor node 10.
Since the sensor node 30 is located in the sensor network B instead of the sensor network A, the sensor node 10 needs to obtain a ZigBee short address of the sensor node 10 in the sensor network B (because ZigBee short addresses of the sensor node in the different sensor networks may be different).
Still referring to Fig.6, first in the step S611 , the gateway 20 sends a ZigBee network rejoin indication message to the sensor node 10. The ZigBee network rejoin indication message includes the network identification information of the sensor network B to indicate a sensor network to be rejoined by the sensor node 10.
After the sensor node 10 receives the ZigBee network rejoin indication
message from the gateway 20, in the step S612, the sensor node 10 sends a ZigBee network rejoin request message to the gateway 20. The ZigBee network rejoin request message includes the network identification information of the sensor network B to indicate the sensor network to be rejoined by the sensor node 10.
After the gateway 20 receives the ZigBee network rejoin request message from the sensor node 10, in the step S613, the gateway replaces a ZigBee network layer header of the ZigBee network rejoin request message with an IPv6 header to generate an IPv6 network rejoin request message.
Then in the step S614, the gateway 20 sends the IPv6 network rejoin request message to the gateway 40 in the sensor network B. The IPv6 network rejoin request message includes node identification information of the sensor node 10, a virtual IPv6 address of the sensor node 10, the network identification information of the sensor network to be rejoined by the sensor node 10 (i.e., the network identification information of the sensor network B) and tag information indicating that the gateway 20 is a gateway.
After the gateway 40 receives the IPv6 network rejoin request message from the gateway 20, in the step S615, the gateway 40 allocates for the sensor node 10 a ZigBee short address thereof in the sensor network B and records the virtual IPv6 address of the sensor node 10 and the ZigBee short address of the sensor node 10 in the sensor network B. For example, the gateway 40 can record the virtual IPv6 address of the sensor node 10 and the ZigBee short address of the sensor node 10 in the sensor network B in the mapping table as illustrated in Fig.3(a).
Then in the step S616, the gateway 40 sends an IPv6 network rejoin confirmation message to the gateway 20 in the sensor node A. The IPv6 network rejoin confirmation message includes the ZigBee short address of the sensor node 10 in the sensor network B.
After the gateway 20 receives the IPv6 network rejoin confirmation
message from the gateway 40, in the step S617, the gateway 20 records the ZigBee short address of the sensor node 10 in the sensor network B and replaces an IPv6 header of the IPv6 network rejoin confirmation message with a ZigBee network layer header to generate a ZigBee network rejoin confirmation message to the gateway 20 in the sensor network A. For example, the gateway 20 records the ZigBee short address of the sensor node 10 in the sensor network B in the mapping table as illustrated in Fig.3 (a).
Then in the step S618, the gateway 20 sends the ZigBee network rejoin confirmation message to the sensor node 10. The ZigBee network rejoin confirmation message includes the ZigBee short address of the sensor node 10 in the sensor network B.
So far the sensor node 10 can communicate directly with the sensor node 30 in the sensor node B by using the ZigBee short address of the sensor node 10 in the sensor network B.
Specifically, referring to Fig.6, in the step S619, the sensor node 10 sends ZigBee data to the gateway 20. A source address of the ZigBee data is the ZigBee short address of the sensor node 10 in the sensor network B.
After the gateway 20 receives the ZigBee data from the sensor node 10, in the step S620, the gateway 20 replaces a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data.
Then in the step S621 , the gateway 20 sends the IPv6 data to the gateway 40 in the sensor network B. A source address of the IPv6 data is the virtual IPv6 address of the sensor node 10, and a destination address of the IPv6 data is a virtual IPv6 address of the sensor node 30.
After the gateway 40 receives the IPv6 data from the gateway 20, in the step S622, the gateway 40 replaces an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data.
Then in the step S623, the gateway 40 sends the ZigBee data to the sensor ndoe 30. A source address of the ZigBee data is the ZigBee short address of the sensor node 10 in the sensor network B.
Those skilled in the art shall appreciate that the invention apparently will not be limited to the foregoing exemplary embodiments and can be embodied in other particular forms without departing from the spirit or essence of the invention. Accordingly the embodiments shall be construed anyway to be exemplary and non-limiting, and any reference numerals in the claims shall not be taken as limiting the claims in which they appear. Moreover apparently the term "comprising" will not preclude another element(s) or step(s), and the term "a" or "an" preceding an element will not preclude a plurality of such elements. A plurality of elements stated in an apparatus claim can alternatively be embodied as a single element in software or hardware. The terms "first", "second", etc., are intended to designate a name but not to suggest any specific order.
Claims
1. A method, in a server of an IPv6 network, of joining a sensor network, the method comprising the steps of:
- sending an IPv6 network join request message to a gateway of the sensor network, the IPv6 network join request message including network identification information of the sensor network to be joined by the server and tag information indicating that the server is a terminal node; and
- receiving an IPv6 network join confirmation message from the gateway, the IPv6 network join confirmation message including a ZigBee short address allocated by the gateway for the server.
2. A method, in a gateway of a sensor network, of assisting a server in an IPv6 network in joining the sensor network, the method comprising the steps of:
- receiving an IPv6 network join request message from the server, the
IPv6 network join request message including network identification information of the sensor network to be joined by the server and tag information indicating that the server is a terminal node;
- allocating a ZigBee short address for the server and recording an IPv6 address of the server, the network identification information of the sensor network to be joined by the server and the ZigBee short address allocated for the server; and
- sending an IPv6 network join confirmation message to the server, the IPv6 network join confirmation message including the ZigBee short address allocated for the server.
3. A method, in a gateway of a sensor network, of assisting a sensor node in joining the sensor network, the method comprising the steps of:
- receiving a ZigBee network join request message from the sensor node, the ZigBee network join request message including node identification information of the sensor node and network identification information of the sensor network to be joined by the sensor node;
- allocating a ZigBee short address for the sensor node, generating a virtual IPv6 address for the sensor node based upon an MAC address of the sensor node and an IPv6 network prefix of the gateway, and recording the node identification information of the sensor node, the network identification information of the sensor network to be joined by the sensor node, the ZigBee short address allocated for the sensor node and the virtual IPv6 address generated for the sensor node; and
- sending a ZigBee network join confirmation message to the sensor node, the ZigBee network join confirmation message including the ZigBee short address allocated for the sensor node.
4. A method, in a sensor node of a sensor network, of data transmission with a server in an IPv6 network, the sensor node and the server having joined the sensor network, wherein the method comprises the steps of:
- sending a ZigBee data request message to a gateway in the sensor network, the ZigBee data request message including service identification information of data to be transmitted by the sensor node;
- receiving a ZigBee data confirmation message from the gateway, the ZigBee data confirmation message including a ZigBee short address of the server to indicate a destination of the data to be transmitted by the sensor node; and
- sending the ZigBee data to the gateway, a destination address of the ZigBee data being the ZigBee short address of the server.
5. A method, in a server of an IPv6 network, of cooperating with a sensor node in a sensor network in data transmission, the server and the sensor node having joined the sensor network, wherein the method comprises the steps of:
- receiving an IPv6 data request message from a gateway of the sensor network, the IPv6 data request message including service identification information of data to be transmitted by the sensor node;
- sending an IPv6 data confirmation message to the gateway upon determining from the service identification information that the data to be
transmitted by the sensor node is the data that the server expects; and
- receiving IPv6 data from the gateway, a source address of the IPv6 data being a virtual IPv6 address of the sensor node.
6. A method, in a gateway of a sensor network, of assisting a sensor node in the sensor network in data transmission with a server in an IPv6 network, the sensor node and the server having joined the sensor network, wherein the method comprises the steps of:
- receiving a ZigBee data request message from the sensor node, the ZigBee data request message including service identification information of data to be transmitted by the sensor node;
- replacing a ZigBee network layer header of the ZigBee data request message with an IPv6 header to generate an IPv6 data request message;
- sending the IPv6 data request message to the server, the IPv6 data request message including the service identification information of the data to be transmitted by the sensor node;
- receiving an IPv6 data confirmation message from the server;
- replacing an IPv6 header of the IPv6 data confirmation message with a ZigBee network layer header to generate a ZigBee data confirmation message and adding a ZigBee short address of the server to the ZigBee data confirmation message to indicate that the server is a destination of the data to be transmitted by the sensor node;
- sending the ZigBee data confirmation message to the sensor node, the ZigBee data confirmation message including the ZigBee short address of the server;
- receiving ZigBee data from the sensor node, a destination address of the ZigBee data being the ZigBee short address of the server;
- replacing a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data; and
- sending the IPv6 data to the server, a source address of the IPv6 data being a virtual IPv6 address of the sensor node.
7. A method, in a server of an IPv6 network, of data transmission with a
sensor node in a sensor network, the server and the sensor node having joined the sensor network, wherein the method comprises the steps of:
- sending an IPv6 service discovery request message to a gateway of the sensor network, the IPv6 service discovery request message including service identification information of a service of interest to the server;
- receiving an IPv6 service discovery confirmation message from the gateway, the IPv6 service discovery confirmation message including a virtual IPv6 address of the sensor node to indicate that the sensor node can provide the service of interest to the server; and
- sending IPv6 data to the gateway, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node.
8. A method, in a sensor node of a sensor network, of cooperating with a server in an IPv6 network in data transmission, the sensor node and the server having joined the sensor network, wherein the method comprises the steps of:
- receiving a ZigBee service discovery request message from a gateway of the sensor network, the ZigBee service discovery request message comprising service identification information of a service of interest to the server;
- sending a ZigBee service discovery confirmation message to the gateway upon determining from the service identification information that the sensor node provides the service of interest to the server; and
- receiving ZigBee data from the gateway, a source address of the ZigBee data being a ZigBee short address of the server.
9. A method, in a gateway of a sensor network, of assisting a server in an IPv6 network in data transmission with a sensor node in the sensor network, the server and the sensor node having joined the sensor network, wherein the method comprises the steps of:
- receiving an IPv6 service discovery request message from the server, the IPv6 service discovery request message including service identification information of a service of interest to the server;
- replacing an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message;
- sending the ZigBee service discovery request message to the sensor node, the ZigBee service discovery request message including the service identification information of the service of interest to the server;
- receiving a ZigBee service discovery confirmation message from the sensor node;
- replacing a ZigBee network layer header of the ZigBee service discovery confirmation message with an IPv6 header to generate an IPv6 service discovery confirmation message and adding a virtual IPv6 address of the sensor node to the IPv6 service discovery confirmation message to indicate that the sensor node can provide the service of interest to the server;
- sending the IPv6 service discovery confirmation message to the server, the IPv6 service discovery confirmation message including the virtual IPv6 address of the sensor node;
- receiving IPv6 data from the server, a destination address of the IPv6 data being the virtual IPv6 address of the sensor node;
- replacing an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data; and
- sending the ZigBee data to the sensor node, a source address of the ZigBee data being a ZigBee short address of the server.
10. A method, in a first sensor node of a first sensor network, of data transmission with a second sensor node in a second sensor network, the method comprising the steps of:
- sending a ZigBee service discovery request message to a first gateway of the first sensor network, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node;
- receiving a ZigBee service discovery confirmation message from the first gateway, the ZigBee service discovery confirmation message including a
ZigBee short address of the second sensor node in the second sensor network to indicate that the second sensor node can provide the service of interest to the first sensor node in the first sensor network;
- receiving a ZigBee network rejoin indication message from the first gateway, the ZigBee network rejoin indication message including network identification information of the second sensor network to indicate a sensor network to be rejoined by the first sensor node;
- sending a ZigBee network rejoin request message to the first gateway, the ZigBee network rejoin request message including the network identification information of the second sensor network to indicate the sensor network to be rejoined by the first sensor node;
- receiving a ZigBee network rejoin confirmation message from the first gateway, the ZigBee network rejoin confirmation message including a ZigBee short address of the first sensor node in the second sensor network; and
- sending ZigBee data to the first gateway, a source address of the ZigBee data being the ZigBee short address of the first sensor node in the second sensor network.
11. A method, in a first gateway of a first sensor network, of assisting a first sensor node in the first sensor network in data transmission with a second sensor node in a second sensor network, the method comprising the steps of:
- receiving a ZigBee service discovery request message from the first sensor node, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node;
- replacing a ZigBee network layer header of the ZigBee service discovery request message with an IPv6 header to generate an IPv6 service discovery request message;
- sending the IPv6 service discovery request message to a second gateway in the second sensor network, the IPv6 service discovery request message including the service identification information of the service of
interest to the first sensor node;
- receiving an IPv6 service discovery confirmation message from the second gateway, the IPv6 service discovery confirmation message including network identification information of the second sensor network, a ZigBee short address of the second sensor node in the second sensor network and a virtual IPv6 address of the second sensor node to indicate that the second sensor node in the second sensor network provides the service of interest to the first sensor node, and recording the ZigBee short address of the second sensor node in the second sensor network and the virtual IPv6 address of the second sensor node;
- replacing an IPv6 header of the IPv6 service discovery confirmation message with a ZigBee network layer header to generate a ZigBee service discovery confirmation message;
- sending the ZigBee service discovery confirmation message to the first sensor node, the ZigBee service discovery confirmation message including the ZigBee short address of the second sensor node in the second sensor network to indicate that the second sensor node provides the service of interest to the first sensor node;
- sending a ZigBee network rejoin indication message to the first sensor node, the ZigBee network rejoin indication message including the network identification information of the second sensor network to indicate a sensor network to be rejoined by the first sensor node;
- receiving a ZigBee network rejoin request message from the first sensor node, the ZigBee network rejoin request message including the network identification information of the second sensor network to indicate the sensor network to be rejoined by the first sensor node;
- replacing a ZigBee network layer header of the ZigBee network rejoin request message with an IPv6 header to generate an IPv6 network rejoin request message;
- sending the IPv6 network rejoin request message to the second gateway in the second sensor network, the IPv6 network rejoin request
message including node identification information of the first sensor node, a virtual IPv6 address of the first sensor node, the network identification information of the sensor network to be rejoined by the first sensor node and tag information indicating that the first gateway is a gateway;
- receiving an IPv6 network rejoin confirmation message from the second gateway, the IPv6 network rejoin confirmation message including a ZigBee short address of the first sensor node in the second sensor network, and recording the ZigBee short address of the first sensor node in the second sensor network;
- replacing an IPv6 header of the IPv6 network rejoin confirmation message with a ZigBee network layer header to generate a ZigBee network rejoin confirmation message;
- sending the ZigBee network rejoin confirmation message to the first sensor node, the ZigBee network rejoin confirmation message including the ZigBee short address of the first sensor node in the second sensor network;
- receiving ZigBee data from the first sensor node, a source address of the ZigBee data being the ZigBee short address of the first sensor node in the second sensor network;
- replacing a ZigBee network layer header of the ZigBee data with an IPv6 header to generate IPv6 data; and
- sending the IPv6 data to the second gateway, a source address of the IPv6 data being the virtual IPv6 address of the first sensor node, and a destination address of the IPv6 data being the virtual IPv6 address of the second sensor node.
12. A method, in a second sensor node of a second sensor network, of cooperating with a first sensor node of a first sensor network in data transmission, the method comprising the steps of:
- receiving a ZigBee service discovery request message from a second gateway in the second sensor network, the ZigBee service discovery request message including service identification information of a service of interest to the first sensor node;
- sending a ZigBee service discovery confirmation message to the second gateway upon determining from the service identification information that the second sensor node provides the ested service of interest to the first sensor node; and
- receiving ZigBee data from the second gateway, a source address of the ZigBee data being a ZigBee short address of the first sensor node in the second sensor network.
13. A method, in a second gateway of a second sensor network, of assisting a first sensor node in a first sensor network in data transmission with a second sensor node in the second sensor network, the method comprising the steps of:
- receiving an IPv6 service discovery request message from a first gateway in the first sensor network, the IPv6 service discovery request message including service identification information of a service of interest to the first sensor node;
- replacing an IPv6 header of the IPv6 service discovery request message with a ZigBee network layer header to generate a ZigBee service discovery request message;
- sending the ZigBee service discovery request message to the second sensor node, the ZigBee service discovery request message including the service identification information of the service of interest to the first sensor node;
- receiving a ZigBee service discover confirmation message from the second sensor node;
- replacing a ZigBee network layer header of the ZigBee service discover confirmation message with an IPv6 header to generate an IPv6 service discover confirmation message;
- sending the IPv6 service discover confirmation message to the first gateway in the first sensor network, the IPv6 service discover confirmation message including network identification information of the second sensor network, a ZigBee short address of the second sensor node in the second
sensor network and a virtual IPv6 address of the second sensor node to indicate that the second sensor node in the second sensor network provides the service of interest to the first sensor node;
- receiving an IPv6 network rejoin request message from the first gateway, the IPv6 network rejoin request message including node identification information of the first sensor node, a virtual IPv6 address of the first sensor node, network identification information of a sensor network to be rejoined by the first sensor node and tag information indicating that the first gateway is a gateway;
- allocating for the first sensor node a ZigBee short address thereof in the second sensor network and recording the virtual IPv6 address of the first sensor node and the ZigBee short address of the first sensor node in the second sensor network;
- sending an IPv6 network rejoin confirmation message to the first gateway, the IPv6 network rejoin confirmation message including the ZigBee short address of the first sensor node in the second sensor network;
- receiving IPv6 data from the first gateway, a source address of the IPv6 data being the virtual IPv6 address of the first sensor node, and a destination address of the IPv6 data being the virtual IPv6 address of the second sensor node;
- replacing an IPv6 header of the IPv6 data with a ZigBee network layer header to generate ZigBee data; and
- sending the ZigBee data to the second sensor node, a source address of the ZigBee data being the ZigBee short address of the first sensor node in the second sensor network.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210324148.1A CN103686584B (en) | 2012-09-04 | 2012-09-04 | Peer-to-peer communication in sensor networks |
| CN201210324148.1 | 2012-09-04 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014037779A1 true WO2014037779A1 (en) | 2014-03-13 |
Family
ID=49484390
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/IB2013/001840 Ceased WO2014037779A1 (en) | 2012-09-04 | 2013-08-12 | End-to-end communication in sensor network |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN103686584B (en) |
| TW (1) | TW201415936A (en) |
| WO (1) | WO2014037779A1 (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104935678A (en) * | 2014-03-19 | 2015-09-23 | 国家电网公司 | Communication method of power wireless sensing network, access gateway and system |
| CN104954224A (en) * | 2015-06-09 | 2015-09-30 | 神州数码(中国)有限公司 | Access method and device of IP (internet protocol) devices to sensor network |
| EP2991312A1 (en) * | 2014-08-28 | 2016-03-02 | Samsung Electronics Co., Ltd. | Electronic device and method for providing ip network service |
| WO2016053454A1 (en) * | 2014-09-29 | 2016-04-07 | Raytheon Company | Ip address translation for tactical networks |
| EP3010183A1 (en) * | 2014-10-13 | 2016-04-20 | Deutsche Telekom AG | Device, system and method for connecting field bus devices with the internet |
| CN105516381A (en) * | 2014-10-14 | 2016-04-20 | 中国电信股份有限公司 | Method, device and system for generating IPv6 address |
| WO2016161266A1 (en) * | 2015-04-02 | 2016-10-06 | Google Inc. | Efficient network stack for wireless application protocols |
| US10007749B2 (en) | 2014-09-23 | 2018-06-26 | Intel Corporation | Converged adaptive compensation scheme |
| DE102019112841A1 (en) * | 2019-05-16 | 2020-11-19 | innogy eMobility Solutions GmbH | Charging station for charging electric vehicles |
| WO2022221445A1 (en) * | 2021-04-14 | 2022-10-20 | Futurewei Technologies, Inc. | Asymmetric addressing for limited domains and internet |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104994014B (en) * | 2015-05-11 | 2018-02-27 | 重庆邮电大学 | Power line carrier IPv6 in intelligent grid communication and the communication means between wireless ZigBee |
| CN106888281A (en) * | 2017-03-31 | 2017-06-23 | 山东超越数控电子有限公司 | A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks |
| CN108306823A (en) * | 2018-02-11 | 2018-07-20 | 中国联合网络通信集团有限公司 | A kind of addressing method and system of ZigBee node |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120099579A1 (en) * | 2009-07-03 | 2012-04-26 | Yeon-Soo Kim | Zigbee gateway and ip service server interworking with zigbee gateway through ip network |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1905527A (en) * | 2005-07-28 | 2007-01-31 | 横河电机株式会社 | Network communication system |
| CN101005418A (en) * | 2006-12-08 | 2007-07-25 | 海信集团有限公司 | Communication method and device between ether network and radio sensor network |
| CN201813549U (en) * | 2010-10-18 | 2011-04-27 | 上海易教信息科技有限公司 | IoT router |
-
2012
- 2012-09-04 CN CN201210324148.1A patent/CN103686584B/en active Active
-
2013
- 2013-08-12 WO PCT/IB2013/001840 patent/WO2014037779A1/en not_active Ceased
- 2013-08-15 TW TW102129276A patent/TW201415936A/en unknown
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120099579A1 (en) * | 2009-07-03 | 2012-04-26 | Yeon-Soo Kim | Zigbee gateway and ip service server interworking with zigbee gateway through ip network |
Non-Patent Citations (1)
| Title |
|---|
| REEN-CHENG WANG ET AL: "Internetworking Between ZigBee/802.15.4 and IPv6/802.3 Network", IEEE, vol. 8021543, 1 August 2007 (2007-08-01), XP055088015 * |
Cited By (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104935678A (en) * | 2014-03-19 | 2015-09-23 | 国家电网公司 | Communication method of power wireless sensing network, access gateway and system |
| US11089127B2 (en) | 2014-08-28 | 2021-08-10 | Samsung Electronics Co., Ltd. | Electronic device and method for providing IP network service |
| EP2991312A1 (en) * | 2014-08-28 | 2016-03-02 | Samsung Electronics Co., Ltd. | Electronic device and method for providing ip network service |
| US10659549B2 (en) | 2014-08-28 | 2020-05-19 | Samsung Electronics Co., Ltd. | Electronic device and method for providing IP network service |
| US10007749B2 (en) | 2014-09-23 | 2018-06-26 | Intel Corporation | Converged adaptive compensation scheme |
| KR20170061155A (en) * | 2014-09-29 | 2017-06-02 | 레이던 컴퍼니 | Ip address translation for tactical networks |
| WO2016053454A1 (en) * | 2014-09-29 | 2016-04-07 | Raytheon Company | Ip address translation for tactical networks |
| US10097509B2 (en) | 2014-09-29 | 2018-10-09 | Raytheon Company | IP address translation for tactical networks |
| US10666601B2 (en) | 2014-10-13 | 2020-05-26 | Deutsche Telekom Ag | Device, system and method for connecting fieldbus devices to the internet |
| WO2016059021A3 (en) * | 2014-10-13 | 2016-06-09 | Deutsche Telekom Ag | Device, system and method for connecting field bus devices to the internet |
| US20180359213A1 (en) * | 2014-10-13 | 2018-12-13 | Deutsche Telekom Ag | Device, system and method for connecting fieldbus devices to the internet |
| EP3010183A1 (en) * | 2014-10-13 | 2016-04-20 | Deutsche Telekom AG | Device, system and method for connecting field bus devices with the internet |
| CN105516381A (en) * | 2014-10-14 | 2016-04-20 | 中国电信股份有限公司 | Method, device and system for generating IPv6 address |
| US11343222B2 (en) | 2015-04-02 | 2022-05-24 | Google Llc | Efficient network stack for wireless application protocols |
| WO2016161266A1 (en) * | 2015-04-02 | 2016-10-06 | Google Inc. | Efficient network stack for wireless application protocols |
| EP3462753A1 (en) * | 2015-04-02 | 2019-04-03 | Google LLC | Efficient network stack for wireless application protocols |
| US20220239622A1 (en) * | 2015-04-02 | 2022-07-28 | Google Llc | Efficient Network Stack for Wireless Application Protocols |
| EP3751875A1 (en) * | 2015-04-02 | 2020-12-16 | Google LLC | Efficient network stack for wireless application protocols |
| CN104954224B (en) * | 2015-06-09 | 2019-02-01 | 神州数码(中国)有限公司 | Method and device for IP device to access sensor network |
| CN104954224A (en) * | 2015-06-09 | 2015-09-30 | 神州数码(中国)有限公司 | Access method and device of IP (internet protocol) devices to sensor network |
| DE102019112841A1 (en) * | 2019-05-16 | 2020-11-19 | innogy eMobility Solutions GmbH | Charging station for charging electric vehicles |
| WO2022221445A1 (en) * | 2021-04-14 | 2022-10-20 | Futurewei Technologies, Inc. | Asymmetric addressing for limited domains and internet |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103686584B (en) | 2016-12-14 |
| CN103686584A (en) | 2014-03-26 |
| TW201415936A (en) | 2014-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014037779A1 (en) | End-to-end communication in sensor network | |
| CN103534993B (en) | Label switching routing method and device for connecting low-power network domains | |
| CN102457900B (en) | Transmit the method and apparatus based on an IPv6 low-consumption wireless area network data bag | |
| EP3228123B1 (en) | Efficient hybrid resource and schedule management in time slotted channel hopping networks | |
| TWI374646B (en) | Apparatus for automated service discovery and dynamic connection management and system for the same | |
| US20090161576A1 (en) | Methods And Systems For Sending Information To A Zone Included In An Internet Network | |
| US7136928B2 (en) | Communication device and communication control method using efficient Echonet address determination scheme | |
| US20050138166A1 (en) | IP network node and middleware for establishing connectivity to both the IPv4 and IPv6 networks | |
| Sleman et al. | Integration of wireless sensor network services into other home and industrial networks; using device profile for web services (DPWS) | |
| TW200847715A (en) | Method and system of providing IP-based packet communications in a utility network | |
| CN101321111A (en) | Communication method and device, server, and computer-readable recording medium | |
| JP2003008585A (en) | Communication control device, communication control method, communication device, and communication method | |
| CN104038422B (en) | Message forwarding method and gateway | |
| CN1875573B (en) | Method, node and server for providing tunneling service capable of data communication between different types of networks | |
| US7760666B2 (en) | Method of generating and managing connection identifiers for supporting multicast for each group in IPv6-based wireless network and network interface using the method | |
| US20150032898A1 (en) | Method for establishing a virtual community network connection and a system for implementing said method | |
| CN105247842A (en) | Method and apparatus for selecting a communication interface | |
| EP3516825B1 (en) | Service layer support for multiple interface nodes | |
| CN1788471B (en) | Home link setting method, home gateway device, and mobile terminal | |
| CN117714554A (en) | Equipment interconnection method, related equipment and system | |
| KR100785482B1 (en) | Method and apparatus for discovering components between one or more sub-networks | |
| CN101572729B (en) | A method for processing virtual private network node information and related equipment and system | |
| WO2022166932A1 (en) | Communication authentication method, device, and storage medium | |
| CN106911817B (en) | Method and device for notifying change of MAC address of PPPoE server | |
| WO2017121134A1 (en) | Method for node identification and service advertisement in communication networks |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13780404 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13780404 Country of ref document: EP Kind code of ref document: A1 |