Wireless sensor networks develop very rapidly today. In such circumstances, wireless sensor networks attract more and more people’s attention. And wireless sensor networks are widely applied in many fields at present. However, because of the existing problems of wireless sensor networks, the practical large-scale application is still limited for the flowing reasons.
Firstly, the standards of wireless sensor networks are not unified in different fields. It is not conducive to deploy wireless sensor networks in large scale. Besides, different fields have different characteristics, the interaction of data among different fields maybe difficult. It is also not conducive to deploy wireless sensor networks in large scale, even with the introduction of IPv6 into WSNs..
XMPP (Extensible Messaging and Presence Protocol) is an instant messaging specification which is based on IP technology and XML. As an application layer protocol, XMPP contains the characteristics of real-time and good scalability. It is widely used in the Internet.
With the IP technology and XML in wireless sensor networks going a step further, XMPP is designed to build a bridge that can easily associate the wireless sensor networks to the Internet. It also can solve the problems referred above. Besides, wireless sensor networks need to keep its protocol lightweight. So it is necessary to research and develop lightweight XMPP specification for wireless sensor networks which are based on IPv6.
In this paper, we extend XMPP to the area of WSN (wireless sensor networks) based on IPv6 and present a lightweight XMPP client protocol software optimized for sensor nodes. Considering the resource-limited characteristic of the sensor nodes, we use UDP as the underlying transmission mechanism for XMPP instead of traditional TCP mechanism.
With the purpose of decreasing the implementation overhead, we developed the XMPP client software through the finite state machine method. The state design and frame parsing process of the software are presented here. Finally, the proposed XMPP scheme and the client software have been tested in an IPv6-based WSN platform.
The experimental results show that using XMPP over UDP is feasible. It also demonstrates that XMPP can be used in the sensor networks as a unified method for information delivery among different kinds of sensors and networks.
To read this external content in full, download the complete paper from the author archives at Atlantis.