300 likes | 407 Views
Combs, Needles, and Haystacks: Balancing Push and Pull for Information Discovery. Xin Liu Computer Science Dept. University of California, Davis Collaborators: Qingfeng Huang & Ying Zhang , PARC. Presented by Chien-Liang Fok on March 4, 2004 for CSE730. Objective.
E N D
Combs, Needles, and Haystacks:Balancing Push and Pull for Information Discovery Xin Liu Computer Science Dept. University of California, Davis Collaborators: Qingfeng Huang & Ying Zhang, PARC Presented by Chien-Liang Fok on March 4, 2004 for CSE730
Objective Simple, reliable, and efficient on-demand information discovery mechanisms ACM Sensys
Where are the tanks? ACM Sensys
Pull-based Strategy ACM Sensys
Pull-based Cont’d ACM Sensys
Push-based Strategy ACM Sensys
Comb-Needle Structure ACM Sensys
Assumptions • Events: Anywhere & Anytime • Queries: Anywhere & Anytime • Global discovery-type • One shot • Network: Uniform • Examples: • Firefighters query information in the field • Surveillance • Sensor nodes know their locations ACM Sensys
Event When an Event Happens ACM Sensys
Event Event When a Query is Generated Query ACM Sensys
Tuning Comb-Needle ACM Sensys
Query Freq. < Event Freq. ACM Sensys
Query Freq. < Event Freq. ACM Sensys
Query Event Reverse Comb When query frequency > event frequency ACM Sensys
Global pull +Local push Global push +Local pull Pull Push & Pull Push Relative query frequency increases The Spectrum of Push and Pull Reverse comb Inter-spike spacing increases ACM Sensys
Mid-term Review • Basic idea: balancing push and pull • Preview: • Reliability • Random network • An adaptive scheme ACM Sensys
Strategies for Improving Reliability • Local enhancement • Interleaved mesh (transient failures) • Routing update (permanent failures) • Spatial diversity • Correlated failures • Enhance and balance query success rate at different geo-locations • Two-level redundancy scheme • l=2s ACM Sensys
Spatial Diversity x Diversify queryspatially using green arrows Event Query ACM Sensys
Random Network • Constrained geographical flooding • Needles and combs have certain widths ACM Sensys
Simulation Using Prowler • Transmission model: • Reception model: Threshold • MAC layer: Simulates Berkeley Motes’ CSMA • Use Default radio model: • σa=0.45, σb=0.02, perror=0.05, =0.1 ACM Sensys
Two Experiments • What is the optimal spacing of the comb & needle length given Fq and Fe? • What is the robustness of the protocol in a really sparse network? ACM Sensys
Experiment 1 Results l=1, s=3 optimal l=1, s=3 optimal loptimal ~ ACM Sensys
Experiment 2 Results Wider the CGF width More Reliable More Energy ACM Sensys
Adaptive Scheme • Comb granularity depends on the query and event frequencies • Nodes estimate the query and event frequencies to guess s • Important to match needle length and inter-spike spacing • Allow asymmetric needle length • Comb rotates • Load balancing • Broadcast information of current inter-spike spacing ACM Sensys
Simulation • 20x20 regular grid • Communication cost: hop counts • No node failure • Adaptive scheme ACM Sensys
Event & Query Frequencies ACM Sensys
Tracking the Ideal Inter-Spike Spacing ACM Sensys
Simulation Results • Gain depends on the query and event frequencies • Even if needle length < inter-spike spacing, there is a chance of success. • Tradeoff between success ratio and cost • 99.33% success ratio and 99.64% power consumption compared to the ideal case ACM Sensys
Global pull +Local push Global push +Local pull Pull Push & Pull Push Relative query frequency increases Summary • Adapt to system changes • Can be applied in hierarchical structures ACM Sensys
Future work • Further study on random networks • Building a “comb-needle-like” structure without location information • Integrated with data aggregation and compression • Comprehensive models for communication costs Thank you! ACM Sensys