Distributed Disaster Disclosure Bernard Mans Stefan Schmid Roger Wattenhofer Scandinavian Workshop on Algorithm Theory (SWAT) June 2008.

Slides:



Advertisements
Similar presentations
Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University.
Advertisements

Chapter 5: Tree Constructions
Adopt Algorithm for Distributed Constraint Optimization
Chapter 15 Basic Asynchronous Network Algorithms
Leader Election Let G = (V,E) define the network topology. Each process i has a variable L(i) that defines the leader.  i,j  V  i,j are non-faulty.
5/2/2015 Wireless Sensor Networks COE 499 Sleep-based Topology Control II Tarek Sheltami KFUPM CCSE COE
1 K-clustering in Wireless Ad Hoc Networks Fernandess and Malkhi Hebrew University of Jerusalem Presented by: Ashish Deopura.
1 K-clustering in Wireless Ad Hoc Networks using local search Rachel Ben-Eliyahu-Zohary JCE and BGU Joint work with Ran Giladi (BGU) and Stuart Sheiber.
Outline. Theorem For the two processor network, Bit C(Leader) = Bit C(MaxF) = 2[log 2 ((M + 2)/3.5)] and Bit C t (Leader) = Bit C t (MaxF) = 2[log 2 ((M.
Fabian Kuhn, Microsoft Research, Silicon Valley
© The McGraw-Hill Companies, Inc., Chapter 2 The Complexity of Algorithms and the Lower Bounds of Problems.
Common approach 1. Define space: assign random ID (160-bit) to each node and key 2. Define a metric topology in this space,  that is, the space of keys.
Information Dissemination in Highly Dynamic Graphs Regina O’Dell Roger Wattenhofer.
Ad-Hoc Networks Beyond Unit Disk Graphs
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Routing, Anycast, and Multicast for Mesh and Sensor Networks Roland Flury Roger Wattenhofer RAM Distributed Computing Group.
Department of Computer Science, University of Maryland, College Park, USA TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
1 Complexity of Network Synchronization Raeda Naamnieh.
Data Transmission and Base Station Placement for Optimizing Network Lifetime. E. Arkin, V. Polishchuk, A. Efrat, S. Ramasubramanian,V. PolishchukA. EfratS.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 21st Lecture Christian Schindelhauer.
Fast Distributed Algorithm for Convergecast in Ad Hoc Geometric Radio Networks Alex Kesselman, Darek Kowalski MPI Informatik.
2 -1 Chapter 2 The Complexity of Algorithms and the Lower Bounds of Problems.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
Dynamic Hypercube Topology Stefan Schmid URAW 2005 Upper Rhine Algorithms Workshop University of Tübingen, Germany.
ETH Zurich – Distributed Computing Group Jasmin Smula 1ETH Zurich – Distributed Computing – Stephan Holzer Yvonne Anne Pignolet Jasmin.
Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.
1 Brief Announcement: Distributed Broadcasting and Mapping Protocols in Directed Anonymous Networks Michael Langberg: Open University of Israel Moshe Schwartz:
A Distributed Algorithm for Minimum-Weight Spanning Trees by R. G. Gallager, P.A. Humblet, and P. M. Spira ACM, Transactions on Programming Language and.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 22nd Lecture Christian Schindelhauer.
Algorithmic Models for Sensor Networks Stefan Schmid and Roger Wattenhofer WPDRTS, Island of Rhodes, Greece, 2006.
Maximum Network lifetime in Wireless Sensor Networks with Adjustable Sensing Ranges Mihaela Cardei, Jie Wu, Mingming Lu, and Mohammad O. Pervaiz Department.
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
Mario Čagalj supervised by prof. Jean-Pierre Hubaux (EPFL-DSC-ICA) and prof. Christian Enz (EPFL-DE-LEG, CSEM) Wireless Sensor Networks:
Finding a maximum independent set in a sparse random graph Uriel Feige and Eran Ofek.
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha Presented by Ray Lam Oct 23, 2004.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Distributed Algorithms 2014 Igor Zarivach A Distributed Algorithm for Minimum Weight Spanning Trees By Gallager, Humblet,Spira (GHS)
CS 712 | Fall 2007 Using Mobile Relays to Prolong the Lifetime of Wireless Sensor Networks Wei Wang, Vikram Srinivasan, Kee-Chaing Chua. National University.
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang
Efficient Gathering of Correlated Data in Sensor Networks
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha.
Mobile Ad hoc Networks Sleep-based Topology Control
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1 Lectures on Parallel and Distributed Algorithms COMP 523: Advanced Algorithmic Techniques Lecturer: Dariusz Kowalski Lectures on Parallel and Distributed.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph G=(V,E), |V|=n, |E|=m, any set of nodes that are not adjacent.
1 Tight Bounds for Delay-Sensitive Aggregation Yvonne Anne Oswald Stefan Schmid Roger Wattenhofer Distributed Computing Group LEA.
PODC Distributed Computation of the Mode Fabian Kuhn Thomas Locher ETH Zurich, Switzerland Stefan Schmid TU Munich, Germany TexPoint fonts used in.
Neighborhood-Based Topology Recognition in Sensor Networks S.P. Fekete, A. Kröller, D. Pfisterer, S. Fischer, and C. Buschmann Corby Ziesman.
1 Leader Election in Rings. 2 A Ring Network Sense of direction left right.
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada Efficient k-Coverage Algorithms for Wireless Sensor Networks Mohamed Hefeeda.
ELECTIONEL ECTI ON ELECTION: Energy-efficient and Low- latEncy sCheduling Technique for wIreless sensOr Networks Shamim Begum, Shao-Cheng Wang, Bhaskar.
Data Structures and Algorithms in Parallel Computing Lecture 2.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Hierarchical Trust Management for Wireless Sensor Networks and Its Applications to Trust-Based Routing and Intrusion Detection Wenhai Sun & Ruide Zhang.
Smart Sleeping Policies for Wireless Sensor Networks Venu Veeravalli ECE Department & Coordinated Science Lab University of Illinois at Urbana-Champaign.
COMMUNICATING VIA FIREFLIES: GEOGRAPHIC ROUTING ON DUTY-CYCLED SENSORS S. NATH, P. B. GIBBONS IPSN 2007.
Distributed cooperation and coordination using the Max-Sum algorithm
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
Spatial Data Management
Monitoring Churn in Wireless Networks
The minimum cost flow problem
Lectures on Network Flows
Intra-Domain Routing Jacob Strauss September 14, 2006.
MST in Log-Star Rounds of Congested Clique
Presentation transcript:

Distributed Disaster Disclosure Bernard Mans Stefan Schmid Roger Wattenhofer Scandinavian Workshop on Algorithm Theory (SWAT) June 2008

Stefan SWAT, Motivation DISTRIBUTED COMPUTING Talk deals with natural disasters - Flooding, earthquakes, fires, etc. Need for fast disclosure - to warn endangered towns (shelter) - to inform helpers (e.g., firemen) Our focus: environmental monitoring and early warning systems

Stefan SWAT, Today’s Warning System DISTRIBUTED COMPUTING Different kinds of warning systems - Satellites - Seismic sensors - Smoke detectors - etc. Focus of this talk: Sensor nodes - Simple „computers“ with sensors - Sensors measure physical properties (e.g., heat) - Basic wireless communication - Cheap, can be distributed over a certain area - Limited energy supply

Stefan SWAT, Why Sensor Nodes? DISTRIBUTED COMPUTING Example: SENTINEL - Australian bushfire monitoring system - Based on satellites - Provides timely information about hotspots - Satellites may miss certain heat sources, e.g., if there is smoke! - Sensor nodes can be a good alternative

Stefan SWAT, Example: A Distributed Sensor System DISTRIBUTED COMPUTING Based on laptops - not a classic sensor network Earthquake network - Jesse Lawrence (Stanford), Elizabeth Cochran (Riverside) - E.g., Apple laptops since 2005 are outfitted with accelometers, to protect harddrive when falling; or USB shake sensors - Fill the „gaps“ between seismometers already in place in California. Goal: early warning of quakes based on gentle waves before the more brutal ones come. (E.g., stop high-speed trains)

Stefan SWAT, Algorithmic Perspective DISTRIBUTED COMPUTING Given a sensor network - Local event: connected subset of nodes senses event (simultaneously) - „connected event component“ Goal of distributed algorithm - Determine total number of nodes which sensed the event (size of event component) - Algorithm should be fast - Output sensitive: In case of „small disasters“, only a small number of messages is transmitted. - In case of large disasters, an alarm can be raised (e.g., priority = depends on event component size)

Stefan SWAT, Model DISTRIBUTED COMPUTING Preprocessing of graph is allowed - Only unknown: subset of nodes where event will happen Evaluation - Time complexity: time needed until at least one node knows event component size s - Communication complexity: total number of messages sent Assumptions - All nodes sense event simultaneously - „Synchronous“ environment (upper bound on message transmission time) - Nodes which did not sense event can also help to disclose the disaster by forwarding messages (on-duty model) - Only one event (can easily be generalized)

Stefan SWAT, Appetizer: What about the Tree? Efficient disaster disclosure on undirected tree? Idea: in preprocessing phase, make the tree directed! At runtime: each node v immediately informs its parent in case of an event; subsequently, wait until all event-children counted the total number of event nodes in their subtrees Time O(d), Messages O(s) d... Diameter of component s... Size of component => asymptotically optimal!

Stefan SWAT, The Neighborhood Problem (1) A first challenge for general graphs: how can a node find out which of its neighbors also sensed the event? Called the neighborhood problem. Asking all neighbors is expensive: e.g., star graph where only center has event: event component size s=1, but requires n-1 messages! Better idea: only ask neighbors with higher degree? Works for this example! But what about the complete graph? Lower bound n??

Stefan SWAT, The Neighborhood Problem (2) Idea: construct a sparse neighborhood cover in preprocessing phase! - A set of node sets with certain properties Concretely: cover ensures small diameter („local“), where at least one set includes t-neighborhood of each node (for parameter t), and where nodes are in not too many sets (small membership count)

Stefan SWAT, The Neighborhood Problem (3) Solution with neighborhood cover: - Preprocessing: compute (log n, 1)-neighborhood cover (clusters with log diameter, nodes in at most log sets, 1-neighborhoods included); for each set, define a cluster head (CH) (e.g., node with smallest ID), and compute shortest paths to CH - Runtime: Event node informs all its cluster heads, which will reply with corresponding neighbor list Analysis (of neighborhood problem only): - Time O(log n) and O(s polylog(n)) messages –Small cluster diameter ensures fast termination –Small membership count / sparseness ensures low message complexity set includes all neigbhors of v v CH

Stefan SWAT, Disaster Disclosure on General Graphs How to compute the event component size in general graphs? Algorithm 1: Hierarchical network decomposition Algorithm 2: Merging trees and pointer jumping

Stefan SWAT, Hierarchical Network Decomposition (1) Use exponential hierarchy of covers: D 1 = (log n, 1), D 2 = (log n, 2), D 3 = (log n, 4),..., D i = (log n, 2 i ), neighborhood increases exponentially - diameter also increases, sparseness remains logarithmic - then: CHs and shortest paths Runtime: - First all event nodes in active state - Contact CHs to learn 1-neighborhood (cover log n, 1) - Then, go to larger decompositions iteratively - Active nodes inform CHs about event component K part they already know - Cluster head does the following: (1) if component entirely contained in cluster => output size, done. (2) if component hits boundary of cluster, determine node with largest ID in component K; if this node‘s entire 2 i neighborhood is contained in C, make this the only remaining active node, otherwise set all nodes to passive (=> not too many nodes continue exploration, low message complexity).

Stefan SWAT, Hierarchical Network Decomposition (2) Observation: - largest node in component always survives (until entire component included) - in phase i, at least 2 i nodes have to be passive for an active node - number of active nodes decreases geometrically Runtime O(d log n) and at most O(s log d log n) messages needed.

Stefan SWAT, Merging Forests and Pointer Jumping Idea: - Solve neighborhood problem with (log n, 1)-cover - Each event node selects parent = neighboring event node with larger ID (if any) - Start merge forest: learn about root („pointer jumping“) and join the largest neighboring tree - Hence, in phase i, minimal tree is of size at least 2 i Runtime O(d log s + log s log n) and at most O(s log s (d+log n)) messages needed.

Stefan SWAT, Summary Easy in special graphs, e.g., on trees Algorithm 1: Hierarchical network decomposition Algorithm 2: Merging trees and pointer jumping Runtime O(d log n) and at most O(s log d log n) messages needed. Runtime O(d log s + log s log n) and at most O(s log s (d+log n)) messages needed.

Stefan SWAT, Conclusion Distributed event detection and alarming Two first algorithms - Network decomposition - Merging trees Open problems - Alternative algorithms? Distributed MST construction on general graphs? - Off-duty model: Non-events node are in sleep mode - Lower bounds - Smaller messages? - Faulty environments when components are not necessarily connected? - Dynamic case: e.g., detection of large wave fronts? - etc.

Stefan SWAT, Tack!

Stefan SWAT, Future Research: Off-Duty Model New assumption: nodes which did not sense an event are sleeping - they cannot participate in disaster disclosure The neighborhood problem is more difficult - network decomposition does not work: cluster head might be sleeping! Exploration of event component, e.g., in bipartite graph - if only time complexity is an issue: each event node can simply flood the entire network => time linear in (strong) diameter, but quadratic message complexity if completely bipartit and all nodes sense event - if only message complexity is an issue: e.g., make floods well spaced over time, such that at most one node explores the network (e.g., first node has 1 to n, second node has slots n+1 to 2n etc.) - What is the tradeoff? - Time * Message < O(n 3 ) possible (of worst, not same, instance)?

Stefan SWAT, Hierarchical Decomposition deactivate all, max node‘s neighborhood crosses border (-> can‘t decide which is largest in 2^i neighborhood, will be handled by other overlapping cluster C‘) CH cluster head informs all deactivate all except vmax The max node of the component K is always max and fully included with its neighborhood in some cluster, and will be told to remain active. How many nodes become passive? All nodes in neighborhood of active node must become passive, as only clusters heads which see all nodes in that neighborhood decide (priority for active if active & passive). kt/2 C‘

Stefan SWAT, Pointer Jumping...