Name-Centric Services in Sensor Networks Torsten Teubler, Horst Hellbrück, Lübeck
Outline Introduction to CCN Service Interaction for WSN Motivation for SOA in WSN Name Centric Service Architecture Implementation Conclusion Future Work Publications Torsten Teubler Name-Centric Services in Sensor Networks 2
Introduction to CCN CCN: Content Centric Networking A.k.a: NDN - Named Data Networking ICN Information Centric Networking Address data instead of the location/id where data(=content) is stored Prominent implementation: CCNx Developed at Palo Alto Research Center Vibrant and growing community Can be deployed as overlay in the Future Internet Torsten Teubler Name-Centric Services in Sensor Networks 3
Introduction to CCN Names instead of location/id's URN's instead of URL's => Name-Centric Architecture 1. component: DNS name recommended E.g.: /fh-luebeck.de/18/2/14/led/%c1.trisos.led.switchon~1 Command = CCN approach for Remote Procedure Call (RPC) CCN Message Types: Command Marker Interest (=> Service Request) Content Object (=> Service Reply) Command Operation Namespace Operation Argument Torsten Teubler Name-Centric Services in Sensor Networks 4
Service Interaction for WSN ID-centric approach: Users are interested in data Not in sensor nodes Collaboratively sensed data One-to-One communication Torsten Teubler Name-Centric Services in Sensor Networks 5
Service Interaction for WSN Name-centric approach: In networkprocessing One-to-Many/Many-to-One communication Torsten Teubler Name-Centric Services in Sensor Networks 6
Motivation for SOA in WSN Service Oriented Architectures (SOA) in WSN: Accessing data of WSN is still an open question Recent approaches for accessing WSN (Id-centric): 6LoWPAN/IPv6 CoAP + CoAP-Client No (name-centric) SOA for WSN until now Use CCN directly for name-centric services: /fhluebeck.de/18/2/14/led/%c1.trisos.led.switchon~1 Handling URN's is a tedious task, especially command marker New paradigm SOA developers are not used to No standard data exchange format specified (like SOAP) Torsten Teubler Name-Centric Services in Sensor Networks 7
Name Centric Service Architecture GW Internet/Cloud Service Provider Service Consumer Service Consumer Service Provider Sensor network provides services to consumers Gateway for: Wired/Wireless transition Service provider for sensor nodes e.g. for configuration Service orchestration Torsten Teubler Name-Centric Services in Sensor Networks 8
Implementation GW Internet/Cloud Service 1 Service 2 Service N Service Consumer Serialization/Deserialization Name Centric Service Engine Serialization/Deserialization CCN-WSN GW CCNx Services are implemented "bottom-up" Code annotations WSN are mash-ups of finegrained services Each service: single purpose, e.g. temperature, humidity, Service description JSON-WSP (WSP=Web Service Protocol) Asynchronous RPC Non-blocking wait for messages Torsten Teubler Name-Centric Services in Sensor Networks 9
Conclusion Motivation for name-centric service architecture for wireless sensor networks WSN are inherently content centric Solves data access in WSN Implementation Use CCN as a base for a name-centric SOA Fine grained services in WSN Torsten Teubler Name-Centric Services in Sensor Networks 10
Future Work Add standard services to our name centric service engine: Routing/Forwarding service Repository service Energy related optimization: Probabilistic request propagation in WSN ("Gossip Routing") Add semantic functionality to query for services Torsten Teubler Name-Centric Services in Sensor Networks 11
Publications CCN-WSN - a lightweight, flexible Content-Centric Networking Protocol for Wireless Sensor Networks (Zhong Ren, Mohamed A. Hail, Horst Hellbrück), (IEEE ISSNIP 2013) Efficient Data Aggregation with CCNx in Wireless Sensor Networks (Torsten Teubler, Mohamed Ahmed M. Hail, Horst Hellbrück), (EUNICE 2013) Name-Centric Service Architecture for Cyber-Physical Systems (Short Paper) (Horst Hellbrück, Torsten Teubler, Stefan Fischer), (SOCA) A Solution for the Naming Problem for Name-Centric Services (under Review) Torsten Teubler Name-Centric Services in Sensor Networks 12