Skip to Main Content
Wireless sensor networks (WSNs) have many applications in home and industrial automation, and the management and integration of WSNs into Internet and IP-based networks is still getting tremendous interesting. This paper presents a micro SOA-model as part of a 4-layered, SOA-based architecture targeting resource-constrained devices with 48 KB of ROM and 10 KB of RAM. The key idea in this model is trying to implement SOA concepts using WSN protocols instead of trying to port the SOA protocols from IT-business world. Our micro model is based on the mIP protocol and it uses the HTTP philosophy instead of the HTTP protocol itself. The middleware layer in our architecture manages the simultaneous access to the WSN and filters the verbose information in a HTTP request to the WSN. It also manages the events and the service description of all devices in the network as well as it provides many other tasks like DNS, firewall, security, and authorization. Furthermore the paper presents a new idea for compressing XML and JSON messages based on a new concept of exchanging a common vocabulary between the networked embedded devices. Our results show that using JSON format instead of XML, or applying our zipping algorithm on them has many advantages in terms of network overhead and power consumption.