Simple RESTful sensor application development model using CoAP

Gateway or cloud based interaction models are widely used for automation solutions that use networked sensors and actuators. In this model, every sensor/actuator interaction goes through the gateway or via the cloud. In order to realize the true Internet of Things philosophy where everything is interconnected, direct interactions between sensors and actuators, also called bindings, are important. In addition to this, alternative IoT application development models which facilitate application development and improve efficiency are required. In this paper, we first introduce a CoAP based sensor/actuator binding solution where a 3rd party is responsible for setting up the binding, but is not involved in any of the further interactions. Next, the binding concept is extended to introduce (pre-)processing into the sensor/actuator interactions in the form of RESTlets. RESTlets are small application building blocks with internal processing logic and RESTful interfaces for input, control and output. Finally, we present how IoT applications can be created by binding different RESTlets to each other and to sensors and actuators.

[1]  Ingrid Moerman,et al.  IETF Standardization in the Field of the Internet of Things (IoT): A Survey , 2013, J. Sens. Actuator Networks.

[2]  Cesare Pautasso,et al.  Restful web services vs. "big"' web services: making the right architectural decision , 2008, WWW.

[3]  Jeroen Hoebeke,et al.  Conditional observe in CoAP , 2014 .

[4]  Adam Dunkels,et al.  A Low-Power CoAP for Contiki , 2011, 2011 IEEE Eighth International Conference on Mobile Ad-Hoc and Sensor Systems.

[5]  Gabriel Montenegro,et al.  IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs): Overview, Assumptions, Problem Statement, and Goals , 2007, RFC.

[6]  Gerhard P. Hancke,et al.  Opportunities and Challenges of Wireless Sensor Networks in Smart Grid , 2010, IEEE Transactions on Industrial Electronics.

[7]  Wouter Joosen,et al.  LooCI: a loosely-coupled component infrastructure for networked embedded systems , 2009, MoMM.

[8]  Ingrid Moerman,et al.  Facilitating the creation of IoT applications through conditional observations in CoAP , 2013, EURASIP J. Wirel. Commun. Netw..

[9]  Ali Ziya An Internet Based Wireless Home Automation System for Multifunctional Devices , 2005 .

[10]  Carsten Bormann,et al.  The Constrained Application Protocol (CoAP) , 2014, RFC.

[11]  Pascal Thubert,et al.  Objective Function Zero for the Routing Protocol for Low-Power and Lossy Networks (RPL) , 2012, RFC.

[12]  Gerhard P. Hancke,et al.  Industrial Wireless Sensor Networks: Challenges, Design Principles, and Technical Approaches , 2009, IEEE Transactions on Industrial Electronics.

[13]  Simon Mayer,et al.  In Search of an Internet of Things Service Architecture: REST or WS-*? A Developers' Perspective , 2011, MobiQuitous.

[14]  Simon Duquennoy,et al.  Actinium: A RESTful runtime container for scriptable Internet of Things applications , 2012, 2012 3rd IEEE International Conference on the Internet of Things.

[15]  Tim Winter,et al.  RPL: Routing Protocol for Low Power and Lossy Networks , 2009 .

[16]  Antônio Francisco do Prado,et al.  Thing broker: a twitter for things , 2013, UbiComp.