Support Technologies for Self- Managing Situational Computing Gianpaolo Cugola DeepSE Group Dipartimento di Elettronica e Informazione Politecnico di Milano,

Slides:



Advertisements
Similar presentations
REDS: A Reconfigurable Event Dispatching Infrastructure Gianpaolo Cugola Dipartimento di Elettronica e Informazione Politecnico di Milano, Italy
Advertisements

Multicasting in Mobile Ad hoc Networks By XIE Jiawei.
Multicasting in Mobile Ad Hoc Networks Ravindra Vaishampayan Department of Computer Science University of California Santa Cruz, CA 95064, U.S.A. Advisor:
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Group #1: Protocols for Wireless Mobile Environments.
1 Message Oriented Middleware and Hierarchical Routing Protocols Smita Singhaniya Sowmya Marianallur Dhanasekaran Madan Puthige.
Sensor Network 教育部資通訊科技人才培育先導型計畫. 1.Introduction General Purpose  A wireless sensor network (WSN) is a wireless network using sensors to cooperatively.
Sensor Network Platforms and Tools
Content-Based Routing: Current Results and Open Issues Gianpaolo Cugola DeepSE Group Dipartimento di Elettronica e Informazione Politecnico di Milano,
Adapting Asynchronous Messaging Middleware to Ad Hoc Networking Mirco Musolesi Cecilia Mascolo Stephen Hailes Dept. of Computer Science University College.
1 Improving the Performance of Distributed Applications Using Active Networks Mohamed M. Hefeeda 4/28/1999.
ASNA Architecture and Services of Network Applications Research overview and opportunities L. Ferreira Pires.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Internetworking.
Distributed Systems Architectures
1 Efficient Retrieval of User Contents in MANETs Marco Fiore, Claudio Casetti, Carla-Fabiana Chiasserini Dipartimento di Elettronica, Politecnico di Torino,
A New Household Security Robot System Based on Wireless Sensor Network Reporter :Wei-Qin Du.
ATSN 2009 Towards an Extensible Agent-based Middleware for Sensor Networks and RFID Systems Dirk Bade University of Hamburg, Germany.
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
TiZo-MAC The TIME-ZONE PROTOCOL for mobile wireless sensor networks by Antonio G. Ruzzelli Supervisor : Paul Havinga This work is performed as part of.
Geographic Routing Without Location Information A. Rao, C. Papadimitriou, S. Shenker, and I. Stoica In Proceedings of the 9th Annual international Conference.
CoMob: A Scenario Focusing on Pervasiveness, Distribution, and Scale Gianpaolo Cugola & Matteo Rossi DeepSE Group Dipartimento di Elettronica e Informazione.
Peer-to-peer file-sharing over mobile ad hoc networks Gang Ding and Bharat Bhargava Department of Computer Sciences Purdue University Pervasive Computing.
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
UNCLASSIFIED – APPROVED FOR PUBLIC RELEASEUNCLASSIFIED Architectures for Mobile Wireless Publish/Subscribe Networks David S. Rosenblum Chief Technology.
Network Kernel Architectures and Implementation ( ) Naming and Addressing Chaiporn Jaikaeo Department of Computer Engineering.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
SensIT PI Meeting, January 15-17, Self-Organizing Sensor Networks: Efficient Distributed Mechanisms Alvin S. Lim Computer Science and Software Engineering.
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
ON DESIGING END-USER MULTICAST FOR MULTIPLE VIDEO SOURCES Y.Nakamura, H.Yamaguchi, A.Hiromori, K.Yasumoto †, T.Higashino and K.Taniguchi Osaka University.
A Lightweight Platform for Integration of Resource Limited Devices into Pervasive Grids Stavros Isaiadis and Vladimir Getov University of Westminster
A Mobile-IP Based Mobility System for Wireless Metropolitan Area Networks Chung-Kuo Chang; Parallel Processing, ICPP 2005 Workshops. International.
Software Architecture Framework for Ubiquitous Computing Divya ChanneGowda Athrey Joshi.
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
22 April 2005EPSRC e-Science Meeting AMUSE Autonomic Management of Ubiquitous Systems for e-Health Prof. J. Sventek University of Glasgow
Content-Based Routing in Mobile Ad Hoc Networks Milenko Petrovic, Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto July 18, 2005 MobiQuitous 2005.
BitTorrent enabled Ad Hoc Group 1  Garvit Singh( )  Nitin Sharma( )  Aashna Goyal( )  Radhika Medury( )
Sensor Database System Sultan Alhazmi
IntroductionRelated work 2 Contents Publish/Subscribe middleware Conclusion and Future works.
Locating Mobile Agents in Distributed Computing Environment.
Objectives Functionalities and services Architecture and software technologies Potential Applications –Link to research problems.
Distributed Systems and Algorithms Sukumar Ghosh University of Iowa Spring 2011.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 13. Review Shared Data Software Architectures – Black board Style architecture.
Multiuser Receiver Aware Multicast in CDMA-based Multihop Wireless Ad-hoc Networks Parmesh Ramanathan Department of ECE University of Wisconsin-Madison.
DHT-based unicast for mobile ad hoc networks Thomas Zahn, Jochen Schiller Institute of Computer Science Freie Universitat Berlin 報告 : 羅世豪.
An Efficient Wireless Mesh Network A New Architecture 指導教授:許子衡 教授 學生:王志嘉.
National Research Council - Pisa - Italy Marco Conti Italian National Research Council (CNR) IIT Institute MobileMAN MobileMAN: II year expected results.
1 Object Oriented Logic Programming as an Agent Building Infrastructure Oct 12, 2002 Copyright © 2002, Paul Tarau Paul Tarau University of North Texas.
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
DISTIN: Distributed Inference and Optimization in WSNs A Message-Passing Perspective SCOM Team
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
Information-Centric Networks Section # 10.2: Publish/Subscribe Instructor: George Xylomenos Department: Informatics.
1/14/ :59 PM1/14/ :59 PM1/14/ :59 PM Research overview Koen Victor, 12/2007.
Self-stabilizing energy-efficient multicast for MANETs.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
VADD: Vehicle-Assisted Data Delivery in Vehicular Ad Hoc Networks Zhao, J.; Cao, G. IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 鄭宇辰
Source : 2014 IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP) Auther : Nacer Khalil, Mohamed.
Agent Group Università di Modena e Reggio Emilia Theory and Practice of Field- based Motion Coordination in Multi-Agent Systems Marco Mamei, Franco Zambonelli.
Wireless sensor and actor networks: research challenges Ian. F. Akyildiz, Ismail H. Kasimoglu
AMSA TO 4 Advanced Technology for Sensor Clouds 09 May 2012 Anabas Inc. Indiana University.
Introduction to Mobile-Cloud Computing. What is Mobile Cloud Computing? an infrastructure where both the data storage and processing happen outside of.
Presented by Edith Ngai MPhil Term 3 Presentation
Ad-hoc Networks.
Wireless Sensor Network Architectures
The Improvement of PaaS Platform ZENG Shu-Qing, Xu Jie-Bin 2010 First International Conference on Networking and Distributed Computing SQUARE.
Distributed Publish/Subscribe Network
Market-based Dynamic Task Allocation in Mobile Surveillance Systems
Data-Centric Networking
Presentation transcript:

Support Technologies for Self- Managing Situational Computing Gianpaolo Cugola DeepSE Group Dipartimento di Elettronica e Informazione Politecnico di Milano, Italy

Como, June 20091st SMSCom meeting2 Focus (from the project breakdown point of view)

Como, June 20091st SMSCom meeting3 Issues Changes in the external environment –System level Nodes appearing, leaving, failing Networking links appearing, failing (e.g., due to mobility) –Software level Services/components appearing, leaving, failing Such changes must be “tolerated” –We cannot accept a networking protocol not able of delivering packets to moving nodes... –...or a middleware service breaking when a node fails Applications Middleware services Networking services (Physical, MAC, Routing, Transport) Networking services (Physical, MAC, Routing, Transport) HW/SW Platform (PCs, but also sensors, actuators, embedded devices,...) HW/SW Platform (PCs, but also sensors, actuators, embedded devices,...) changes

Como, June 20091st SMSCom meeting4 Issues (Some) changes must be reported to the application –Offering the proper mechanisms to notify interested components about changes The middleware have to ease the job of application programmers –Offering proper communication abstractions Client/server interactions result in strong coupling among components......better adopt interaction styles supporting flexible architectures, e.g. publish/subscribe and query/advertise –Offering proper facilities to build self- managing applications E.g., facilities to discover new components, to monitor them, etc. Applications Middleware services Networking services (Physical, MAC, Routing, Transport) Networking services (Physical, MAC, Routing, Transport) HW/SW Platform (PCs, but also sensors, actuators, embedded devices,...) HW/SW Platform (PCs, but also sensors, actuators, embedded devices,...) changes reports api

Como, June 20091st SMSCom meeting5 Issues “Situational awareness” must integrate with the entire loop? –Not only the current “situation” (i.e., context) has to be reported... –...but applications should also be allowed to behave differently based on the current situation “Context” has to become a first class concept at all layers Applications Middleware services Networking services (Physical, MAC, Routing, Transport) Networking services (Physical, MAC, Routing, Transport) HW/SW Platform (PCs, but also sensors, actuators, embedded devices,...) HW/SW Platform (PCs, but also sensors, actuators, embedded devices,...) changes reportsapi

Como, June 20091st SMSCom meeting6 networking services middleware services application services Int. of Thingstraditional scenarios past present future Solutions: a quick look CCBR Context & Content Based Routing for Mobile WSNs CCBR A-CBR AdvancedCBR: CBR + in-network aggregation A-CBR Perla A language for Pervasive environments Perla CA P/S Context Aware Pub/Sub CA P/S REDS Reconfigurable Event Dispatching in large scale scenarios REDS

Como, June 20091st SMSCom meeting7 Content-Based Addressing Conventional addressing –The sender explicitly specifies the intended message recipients –Using a unicast or multicast address Content-Based Addressing –Messages do not carry any (explicit) address... –... they are (implicitly) addressed, based on their content Nodes express their interests in receiving specific messages The sender simply injects messages into the network The network chooses the recipients based on the message content and on the expression of interests of each node

Como, June 20091st SMSCom meeting8 Why CBA (in general) CBA introduces a strong form of decoupling among communicating parties –Communication is asynchronous, multicast, anonymous, implicit Adding, removing or even moving components becomes trivial

Como, June 20091st SMSCom meeting9 From CBA to CBR CBA can be used at different layers At the middleware layer –Linda-like systems –Content-based pub/sub systems –Query/advertise systems (e.g., most file-sharing infrastructures) At the routing layer –Content-Based Routing protocols In ad-hoc networks (e.g., MANET, WSNs) In traditional networks (as an overlay networking protocol for implementing CBA in large scale scenarios) CBR techniques are the building blocks to develop advanced and flexible communication and coordination services

Como, June 20091st SMSCom meeting10 Why CBR (in WSNs) WSNs interactions are mainly data-centric... –WSNs are designed to gather data and deliver it... and multicast –Each sink collects data from different sensors –The data produced by each sensor may be of interest for different sinks Which addressing for WSNs? –Mapping a multicast, data-centric interaction on top of a conventional (unicast, address-centric) protocol may be very inefficient –CBA is a much better answer

Como, June 20091st SMSCom meeting11 WSNs & Context-Awareness Interaction in WSNs is often context-aware, e.g. –A farmer could be interested in having the temperature reading (each hour) of young cattle only –In a logistics application different data must be collected for different kind of products Encoding such context-awareness as part of message content in order to use standard CBR is possible but can lead to inefficiencies We need a context & content based routing protocol (CCBR)

Como, June 20091st SMSCom meeting12 The CCBR protocol: The API listenFor(ComponentFilter, MessageFilter, AdditionalData, MessageListener, LeaseTime) Chooses the relevant components based on their current context Expressed as a set of tuples E.g., to listen only for messages sent by nodes installed on “young” cattles (age<12) Chooses the relevant messages based on their content Expressed as a set of tuples E.g., to listen only for messages carrying temperature readings greater than 38° (T>38) Blindly transported to the relevant nodes Expressed as a set of tuples E.g., the metadata used to inform the relevant nodes that the temperature must be read every hour A pointer to a function: void notifyMessage(Message) invoked when a matching message arrives An integer expressing the period of validity (in seconds) for the expression of interest

Como, June 20091st SMSCom meeting13 The CCBR protocol: The API setComponentProperties(Properties, DataListener) A pointer to a function: void notifyData(AdditionalData) invoked when new data arrives (as part of a listenFor operation invoked somewhere in the network) Advertizes the component’s context Expressed as a set of tuples E.g., send(Message) Expressed as a set of tuples

Como, June 20091st SMSCom meeting14 In SMSCom we are interested in pushing WSNs to their extreme –To monitor people (e.g., elderly care,...), animals (e.g., in farms,...), mobile things in general (e.g., in logistics,...) Mobility is the distinctive characteristic of all these scenarios –Mobility of sensors and/or sinks Moreover, in advanced scenarios we cannot ignore the presence of multiple sinks –One or more gateways toward fixed networks –PDAs in the hand of operators roaming around –Actuators acting as sinks CCBR: A protocol for mobile and multi-sink WSNs Internet SMSCom scenarios Traditional scenarios

Como, June 20091st SMSCom meeting15 The CCBR protocol: General approach CCBR [EWSN09] uses link layer broadcast whenever possible –To minimize traffic –Taking advantage of an ad-hoc MAC capable of optimizing power usage for broadcast communication It uses an opportunistic/probabilistic approach –To limit the traffic while keeping good delivery in presence of very frequent changes of topology –Each node hearing a packet locally decides if re-forwarding it... –...using its estimate distance from the sinks it decides if forwarding the packet and how long to delay it before forwarding... –...if the same packet is received again the delayed packet is thrown away Overhearing is also used as an implicit ack –An initial number of credits is assigned to packets to limit re-forwarding due to missed acks The level of mobility is estimated (locally by sinks) and used to determine the frequency of refresh for routing information

Como, June 20091st SMSCom meeting16 CCBR: Status and future plans CCBR is implemented as a set of TinyOS modules for TelosB –We own 40 of them It runs on an ad-hoc MAC provided by researchers at RWTH –We plan to “sell” the two as a “cross-layer” protocol for WSNs There is an on-going master thesis on using gossip-like techniques to increase the protocol’s reliability –Promising results on initial simulations A PhD student at DEI is working on adding in-network aggregation capabilities to CCBR Some possible research proposals –Use CCBR (or a similar protocol) to provide other services, first of all service discovery on a WSN, in an efficient, fully distributed way –Use CCBR as the routing substrate for PERLA (or at least its incarnation in WSNs)

Como, June 20091st SMSCom meeting17 CBR: from the past to the future CBR routes single messages based on their own content –It neither look at set of messages nor keep a history of them It is often useful to aggregate single messages into complex ones –Complex Event Processing (CEP) extends the traditional pub/sub model to allow definition and capturing of composite events E.g., notify me when a stock quote overcomes its average value as measured in the last 10 days –Data Stream Management Systems (DSMS) extend DBMS to query and filter (continuous queries) data streams coming from different sources

Como, June 20091st SMSCom meeting18 AdvancedCBR: CBR + in-network aggregation Research on CEP and DSMS mostly focused on language expressivity –Systems are usually built around a centralized dispatcher This approach does not fit the SMSCom requirements –In terms of scale (internet wide computing)... –... and dynamisms (ad-hoc networks, WSNs, P2P networks) From CBR to a (sort of) distributed computing infrastructure built for a single task: filtering and aggregating simple messages to produce complex ones Like CBR is the enabling technology for both P/S and Q/A such AdvancedCBR layer has the potential to enable not only CEP-DSMS but also complex searching infrastructures –E.g.: search for a set of services with the right characteristics to execute this kind of orchestration

Como, June 20091st SMSCom meeting19 AdvancedCBR: Open Issues Methodological and theoretical –How to exactly define simple messages, complex message, message aggregates, message patterns,.... –How to model the routing infrastructure and the cost function that we want to minimize by distributing the matching process –Which language to filter and aggregate messages Expressiveness vs. ease of distributing the matching process System –How to combine routing with filtering/aggregation The idea is that filtering/aggregation has to happen as soon as possible within the network of sources/recipients –How to implement the system in different scenarios Internet wide (e.g., as part of REDS) In mobile, wireless scenarios In WSNs (e.g., by adding in network aggregation facilities to CCBR)

Como, June 20091st SMSCom meeting20 Conclusions CBR has the potential to become the communication layer on top of which building our Self-Managing Situated Computing Infrastructure Supporting different networking scenarios... –From the Internet to the Internet-of-Things...but also different interaction patterns –From P/S to Q/A to CEP and Complex Querying Several research lines are open (and funny investigating) –We mentioned some, mostly focusing on the CBR layer itself... –...many others exists if we focus on how CBR can be used to build higher level communication and coordination services

Como, June 20091st SMSCom meeting21 References [EWSN09] G. Cugola, M. Migliavacca, “A Context and Content-Based Routing Protocol for Mobile Sensor Networks”. EWSN [TMC08] L. Mottola, G. Cugola, G.P. Picco, “A Self Repairing Tree Topology Enabling Content-based Routing in Mobile Ad Hoc Networks”. In IEEE Transactions on mobile Computing, Vol. 7, No 8, Aug, [SEM06] G. Cugola, G.P. Picco, “REDS: a reconfigurable dispatching system”. In Proceedings of the 6th international workshop on Software engineering and middleware (SEM'06), November 10, [ICDCS04] P. Costa, M. Migliavacca, G.P. Picco, G. Cugola, “Epidemic Algorithms for Reliable Content-Based Publish-Subscribe: An Evaluation”. In Proceedings of the 24th International Conference on Distributed Computing Systems, [ICDCS03] G.P. Picco, G. Cugola, A. Murphy, “Efficient Content-Based Event Dispatching in Presence of Topological Reconfigurations”. In Proceedings of the 23rd International Conference on Distributed Computing Systems, May 2003.