RESTful Wireless Sensor Networks

Sensor networks have diverse structures and generally employ proprietary protocols to gather useful information about the physical world. This diversity generates problems to interact with these sensors since custom APIs are needed which are tedious, error prone and have steep learning curve. In this thesis, I present RESThing, a lightweight REST framework for wireless sensor networks to ease the process of interacting with these sensors by making them accessible over the Web. I evaluate the system and show that it is feasible to support widely used and standard Web protocols in wireless sensor networks. Being able to integrate these tiny devices seamlessly into the global information medium, we can achieve the Web of Things.

Contents

1 Introduction
1.1 Motivation and Problem Statement
1.2 Internet Of Things and Web Of Things
1.3 RESTful Sensor Network Applications
1.4 Method
1.5 Limitations
1.6 Alternative Approaches
1.7 Scientiļ¬c Contributions
1.8 Thesis Structure
2 Background
2.1 Wireless Sensor Networks
2.1.1 Mote
2.1.2 Tmote Sky
2.1.3 IEEE 802.15.4
2.2 X-MAC
2.3 Contiki
2.4 SLIP
2.5 TCP
2.6 Web Architecture
2.6.1 URI
2.6.2 XML
2.6.3 HTTP
2.6.4 REST
2.7 JSON
2.8 Remote Procedure Call
2.9 Web Services
2.9.1 SOAP-Based Web Services
2.9.2 RESTful Web Services
2.9.3 RESTful Web Services vs SOAP-Based Web Services
2.10 Related Work
3 RESThing
3.1 Architecture Details
3.1.1 HTTP Server
3.1.2 XML Parser
3.1.3 Logger
3.2 SOAP Engine
4 Making HTTP Viable forWireless Sensor Networks
4.1 Session-aware X-MAC: A TCP Friendly X-MAC
4.2 HTTP Optimizations
4.2.1 Conditional HTTP GET
4.2.2 Delta Encoding
4.2.3 Range Header
4.2.4 Other HTTP Optimizations
5 Implementation
6 Evaluation
6.1 Experimental Setup and Details
6.2 Completion Time Improvement for TCP Connections over X-MAC
6.3 Power Consumption and Completion Times of RESTful Sensor Networks
6.4 RESTful Web Services vs SOAP-Based Web Services
6.5 Battery Lifetime
6.6 Energy Consumption on Byte Level
7 Conclusions and FutureWork
7.1 Future Work
7 Conclusions and FutureWork
7.1 Future Work
7.1.1 Solving Asynchronous Real World Problems in a RESTful Way
7.1.2 Discussion
Appendix:
A Code API
A.1 TYPE DEFINITIONS
A.2 HTTP-COMMON
A.3 HTTP-Server
A.4 REST
A.5 SIMPLEXML
A.6 LOGGER
A.7 SOAP

Author: Yazar, Dogan

Source: Uppsala University Library

Download URL 2: Visit Now

Leave a Comment