| In recent years, with the rapid development of sensor technology and communicationtechnology, wireless sensor network has become a hot research topic at home and abroad.However, due to the limitations of wireless sensor network itself, WSN usually cannot operate incomplete isolation, but must to be connected to the Internet, allowing users to enjoy the servicesprovided by WSN conveniently. Wireless sensor network can provide the services involved invarious fields, such as military investigation, environmental monitoring, medical treatment,space exploration, city traffic management, warehouse management and so on. At present,wireless sensor network can realize the home and work environment intelligent which bringsgreat convenience to our everyday life.IPv6protocol is the next generation Internet standard of network layer which is proposed byIETF. Compared to IPv4protocol, IPv6can provide more address and has better security andmobility, which make IPv6more adapted to the modern Internet. So IPv6technology willreplace IPv4as the core technology of Internet network sooner or later in the future.In this paper, we firstly analyze four kinds of mainstream technology on connectingwireless sensor network to Internet. On the basis of the analyses of the four kinds of mainstreamtechnology, we choose the gateway based approach to connect wireless sensor network toInternet. According to distinction between node-centric routing ideology of WSN andaddress-centric routing ideology of Internet, we design the virtual IPv6gateway which realizesthe interaction of Internet and WSN. To reduce the energy consumption of the wireless sensornetwork, we propose two energy-saving forward methods: cache response and service requestfusion. And the user/service authentication can effectively improve the security of WSN network.Based on the data forwarding processes among Internet, gateway and WSN, we design fourkinds of data packet format. By using Visual Studio2010and Oracle10g, implementation of thevirtual IPv6gateway with the designed function is achieved. |