Brazil Timestamp Reconstruction. Problem: Reboots Too many Reboots!

Slides:



Advertisements
Similar presentations
Gradient Clock Synchronization in Wireless Sensor Networks
Advertisements

Green Network Project Contract
Data and Computer Communications
Chunyi Peng, Guobin Shen, Yongguang Zhang, Yanlin Li, Kun Tan BeepBeep: A High Accuracy Acoustic Ranging System using COTS Mobile Devices.
Lecture 8: Asynchronous Network Algorithms
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
More on protocol implementation Version walks Timers and their problems.
1 An Approach to Real-Time Support in Ad Hoc Wireless Networks Mark Gleeson Distributed Systems Group Dept.
Max-Min D-Cluster Formation in Wireless Ad Hoc Networks - Alan Amis, Ravi Prakash, Thai Vuong, Dung Huynh Presenter: Nirav Shah.
A correlation method for establishing provenance of timestamps in digital evidence By: Bradley Schatz*, George Mohay, Andrew Clark From: Information Security.
1 Prediction-based Strategies for Energy Saving in Object Tracking Sensor Networks Yingqi Xu, Wang-Chien Lee Proceedings of the 2004 IEEE International.
Volkan Cevher, Marco F. Duarte, and Richard G. Baraniuk European Signal Processing Conference 2008.
Distributed Systems Fall 2010 Time and synchronization.
More routing protocols Alec Woo June 18 th, 2002.
Microsoft E-Science Data Storage Model for Environmental Monitoring Wireless Sensor Networks Jayant Gupchup †, R.
1 Energy-Efficient localization for networks of underwater drifters Diba Mirza Curt Schurgers Department of Electrical and Computer Engineering.
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
Self Organization and Energy Efficient TDMA MAC Protocol by Wake Up For Wireless Sensor Networks Zhihui Chen; Ashfaq Khokhar ECE/CS Dept., University of.
Bluenet a New Scatternet Formation Scheme * Huseyin Ozgur Tan * Zifang Wang,Robert J.Thomas, Zygmunt Haas ECE Cornell Univ*
Cyclone Time Technology Deriving Consistent Time Base Using Local Clock Information Ashok Agrawala Moustafa Youssef Bao Trinh University of Maryland College.
Probability Grid: A Location Estimation Scheme for Wireless Sensor Networks Presented by cychen Date : 3/7 In Secon (Sensor and Ad Hoc Communications and.
How to Turn on The Coding in MANETs Chris Ng, Minkyu Kim, Muriel Medard, Wonsik Kim, Una-May O’Reilly, Varun Aggarwal, Chang Wook Ahn, Michelle Effros.
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
8/18/2015 Mobile Ad hoc Networks COE 549 Synchronization Tarek Sheltami KFUPM CCSE COE 1.
Timing-sync Protocol for Sensor Networks (TPSN) Presenter: Ke Gao Instructor: Yingshu Li.
Energy-Aware Synchronization in Wireless Sensor Networks Yanos Saravanos Major Advisor: Dr. Robert Akl Department of Computer Science and Engineering.
FlockLab: A Testbed for Distributed, Synchronized Tracing and Profiling of Wireless Embedded Systems IPSN 2013 NSLab study group 2013/04/08 Presented by:
Vikramaditya. What is a Sensor Network?  Sensor networks mainly constitute of inexpensive sensors densely deployed for data collection from the field.
CS450 Network Embedded Sensing Systems Week 11: Time Synchronization and Reconstruction Jayant Gupchup.
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
1 Enabling Large Scale Network Simulation with 100 Million Nodes using Grid Infrastructure Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
IDIES Temporal Integrity Challenges in Long-term Environmental Monitoring Sensor Networks. Jayant Gupchup † Alex.
1 Adaptive QoS Framework for Wireless Sensor Networks Lucy He Honeywell Technology & Solutions Lab No. 430 Guo Li Bin Road, Pudong New Area, Shanghai,
Wei Gao1 and Qinghua Li2 1The University of Tennessee, Knoxville
Andreas Larsson, Philippas Tsigas SIROCCO Self-stabilizing (k,r)-Clustering in Clock Rate-limited Systems.
Optimizing Sensor Networks in the Energy-Latency-Density Design Space Curt Schurgers, Vlasios Tsiatsis, Saurabh Ganeriwal, Mani Srivastava, IEEE TRANSACTIONS.
A Simple Neighbor Discovery Procedure for Bluetooth Ad Hoc Networks Miklós Aurél Rónai and Eszter Kail GlobeCom 2003 Speaker: Chung-Hsien Hsu Presented.
Performance Analysis of Decentralized RAN (Radio Access Network) Selection Schemes December 28 th, 2004 Yang, Sookhyun.
Measurement and Modeling of Packet Loss in the Internet Maya Yajnik.
Lecture 4: Image Resampling and Reconstruction CS4670: Computer Vision Kavita Bala.
Microsoft E-Science Data Storage Model for Environmental Monitoring Wireless Sensor Networks Jayant Gupchup †, R.
CSCI 465 D ata Communications and Networks Lecture 15 Martin van Bommel CSCI 465 Data Communications & Networks 1.
InterConnection Network Topologies to Minimize graph diameter: Low Diameter Regular graphs and Physical Wire Length Constrained networks Nilesh Choudhury.
Econ 314: Project 1 Answers and Questions Examining the Growth Data Trends, Cycles, and Turning Points.
Outline for Today Objectives: –Time and Timers Administrative details: –Talk on learning at 4 in 130 North Building –Questions?
A Passive Approach to Sensor Network Localization Rahul Biswas and Sebastian Thrun International Conference on Intelligent Robots and Systems 2004 Presented.
CS 546: Intelligent Embedded Systems Gaurav S. Sukhatme Robotic Embedded Systems Lab Center for Robotics and Embedded Systems Computer Science Department.
Remote Hardware Fingerprinting: A Statistical Approach R. Fink ~ May, 2006.
Jayant Gupchup Phoenix, EWSN 2010 Phoenix: An Epidemic Approach to Time Reconstruction Jayant Gupchup †, Douglas Carlson †, Răzvan Musăloiu-E. †,*, Alex.
Slides for “Data Mining” by I. H. Witten and E. Frank.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Real-Time & MultiMedia Lab Synchronization Distributed System Jin-Seung,KIM.
1 Segal’s Law A man with a watch knows what time it is. A man with two watches is never sure.
Robotics Club: 5:30 this evening
Analyzing wireless sensor network data under suppression and failure in transmission Alan E. Gelfand Institute of Statistics and Decision Sciences Duke.
February Testing Campaign Summary. Disclaimer This presentation is based on the reports of the testing campaign and focuses on the problems arisen during.
Network Computing Laboratory 1 Vivaldi: A Decentralized Network Coordinate System Authors: Frank Dabek, Russ Cox, Frans Kaashoek, Robert Morris MIT Published.
CIAR Summer School Tutorial Lecture 1b Sigmoid Belief Nets Geoffrey Hinton.
SMAC: An Energy-efficient MAC Protocol for Wireless Networks
1 Order Reconstruction and Data Integrity Testing of Sensor Network Data Matthias Keller, ETH Zürich MICS Workshop,
Self-stabilizing energy-efficient multicast for MANETs.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
1 Properties and Features of Virtual 1394 bus PHILIPS Research Subrata Banerjee PHILIPS Research Briarcliff, New York P WG Meeting, Huntington Beach,
Precision Measurements with the EVERGROW Traffic Observatory Péter Hága István Csabai.
Data-Driven Processing in Sensor Networks Adam Silberstein, Rebecca Braynard, Gregory Filpus, Gavino Puggioni, Alan Gelfand, Kamesh Munagala, Jun Yang.
Distributed Systems Lecture 5 Time and synchronization 1.
Computer Science Least Privilege and Privilege Deprivation: Towards Tolerating Mobile Sink Compromises in Wireless Sensor Network Presented by Jennifer.
Distributed Computing
Pong: Diagnosing Spatio-Temporal Internet Congestion Properties
Model generalization Brief summary of methods
Presentation transcript:

Brazil Timestamp Reconstruction

Problem: Reboots Too many Reboots!

Existing Issues Reboots happen – unable to trace bug(s) causing them Current Time reconstruction – Heavily dependent on the basestation – BS can go down – BS can drift even if synced to NTP periodically. Possibly due to network outages FIX : Need to resort to tricks and magic to reconstruct segments with no anchors and multiple reboots.

Better Fix : Friends of Friends Assume one of the nodes knows the global clock (e.g. A dedicated GPS node) Each nodes beacons the following periodically Listening nodes record these advertisements and form a local-local anchor pair – Listen After reboots – Periodically (once a day/ 12 hrs/ 6hrs depending on reboot rate!) Eventually someone will know how to get to the globalclock

Example GPS Node Data Node

Example Time Recovered Chi (1,2) Chi (2,4) Chi (3,4) Chi (1,3) Chi (2,3)

Example

Node States & Events SENSE (final) DOWN (final) LISTEN Sample beaconSleep Receive Turning off Multiple Reboots Power up Periodic Anchor collection Turning off

Simulation Parameters – Topology : Cub hill – Segment Model : Poisson (mu) [ ~ 2 days ] Prob (stay down for a while) = 0.05 Amount of time node stays down ~ U (0 12hrs) – Beacon frequency (30s) – Wake up / Listen (after reboot & every “x” hours) – Communication Model Neighbor : Anyone within 30m of another node Communication delay ~ U(10ms, 20 ms) Prob (success) = 0.95 – Clock Drift : x ppm ( typically, 40 ppm) – GPSSync : On Reboot & every 6 hours – Known sensing process : Sine (1 day) + trend – Sampling Frequency : 30s

Data Unixts  Fake Data value (Sine + trend) 

Segments Unixts  Localclock 

Implementation Java 1.5 Used priority queues to simulate time

Timestamp Reconstruction (C#) Form a forest of pairs Form all fits – record the goodness of fit (ChiSquare) Create fit for the GPS segments curr = {gpsSegments} While (!empty(curr)) – a = Dequeue(curr) – If exists(globalFit(a) & localFit(a,b)) // for all neighbors of a currFit(b) = Map (a,b) // use local fit to get a global fit for b If ChiSquare(currFit (b) < globalFit(b)) – globalFit (b) = currFit (b) // if new fit is better, update! – Update ChiSquare (b) – Parent(b) = a // update new parent of a Enqueue(curr, b) // Add b to curr list End of While

1 week simulation - No Drift 54 nodes (1 GPS node + 53 Sensing nodes) 214 segments Anchors collection scheme – All neighbors – 6 hour collection 0 s err

Reconstruction with Clock Drift

Error CDF

Explore Further More sophisticated drift in localclock Add a random noise to the process (sine + trend + noise) Optimal # of anchors needed for a given accuracy Space-accuracy tradeoff – Collecting anchors from all neighbors is costly (space wise) Is it really needed? – More anchors from a few reliable neighbors with long segments should be better Earliest reconstruction (online case) Vs Best reconstruction – Currently Djiktra-like algorithm used for reconstruction Reboots are not random – Link reboots to download times