| With the continuous development of wireless sensor network technology, wireless sensor networks have been widely used in environmental, medical, health, home, industrial, commercial and other fields, wireless sensor network technology has become the focus of the study.The thesis designs the IPv6-based wireless sensor network(WSNBIPv6),WSNBIPv6 integrates wireless sensor network into IPv6 network in all-IP way.WSNBIPv6 has three modules: sensor nodes, gateway and remote computer. Sensor nodes run u IPv6 stack, its network layer is IPv6, which is the same as typical IPv6 host, so, the gateway can directly forward the packets between wireless sensor network and IPv6 network, realizing the end-to-end communication between wireless sensor netword and IPv6 network.Based on all-IP network structure, WSNBIPv6 implements some specific applications. Sensor nodes run temperature-humidity sensing program and command control program, temperature-humidity sensing program senses the temperature and humidity data, and sends to gateway, these data are stored in the database in the gateway. A Web server is set up in the gateway, the remote computer can visit the server and get the data of sensor nodes. Meanwhile, the remote computer can send acommand to a sensor node to make it complete a corresponding operation remotely.Finally,based on the smart home environment as the scenario, we test the WSNBIPv6, sensor nodes, gateway and remote computer can achieve their functions respetively. So,the WSNBIPv6 is feasible and reliable. |