本論文實作一個轉換器,讓ZigBee節點能透過此轉換器和IPv6/802.3的伺服器進行溝通,使ZigBee感測網路中所收集到的資訊能夠透過Ethernet網路將資料送至伺服器端。過去的轉換器多半將ZigBee資料直接封裝在IP封包內傳送到Internet上,也因此侷限了ZigBee設備透過此一轉換器僅能與一部伺服器通訊的限制。此外,過去的設計缺乏群播的功能;當伺服器要送出指令給多個ZigBee節點時,必須由伺服器送出一個指令給轉換器;轉換器理解這個命令後,再逐一送出指令給各個ZigBee設備。為了改善以上缺點,本論文中設計了一個新的轉換器,採用位址映射和協定轉換的方式,讓兩端裝置進行溝通,並且善用ZigBee網路中的群播機制,讓伺服器端具有發送Broadcast、Multicast、Groupcast封包的功能。
This thesis describes the implementation of a translator between a ZigBee/802.15.4 network and an IPv6/802.3 network, so that the two networks can communicate through this translator. The data collected from the ZigBee sensor network are transmitted to an IPv6/802.3 server. Existing translators which allow ZigBee/802.15.4 devices to communicate with IPv6/802.3 devices usually encapsulate ZigBee data as the payload of IP packets, thus limit the destination to a single server on the Internet. Moreover, past design of translators did not incorporate the multicast mechanism. If a server wants to send a command to multiple ZigBee devices, it must send a command to the translator; after the translator recognizes the command, it will then send commands to individual ZigBee devices. To solve the aforementioned problems, our approach adopts address mapping and protocol translation to reduce the overall packet size. Furthermore, by elaborating the multicast mechanism in ZigBee, our translator allows IPv6/802.3 servers to send Multicast and Groupcast packets to reach a group of ZigBee devices.