1
play

1 Services for Mobile Users Services for Mobile Users Mobicast : - PDF document

Hint on Question 5.2 in HW2 Compute the maximum processor utilization that can be assigned to a Deferrable Server to guarantee the task Sensor Netw ork Services set (periodic tasks). for Mobile Users 1/ 1/ n n +


  1. Hint on Question 5.2 in HW2 � Compute the maximum processor utilization that can be assigned to a Deferrable Server to guarantee the task Sensor Netw ork Services set (periodic tasks). for Mobile Users ⎡ 1/ ⎤ ⎡ 1/ ⎤ n n ⎛ + ⎞ ⎛ + ⎞ 2 2 U U + ≤ + ⎢ − ⎥ ⇒ ≤ ⎢ − ⎥ ⎜ ⎟ 1 ⎜ ⎟ 1 U U U n s U n s p s s + p + ⎢ 2 1 ⎥ ⎢ 2 1 ⎥ ⎝ U ⎠ ⎝ U ⎠ ⎣ ⎦ ⎣ ⎦ s s Chenyang Lu Department of Computer Science and Engineering Washington University in St. Louis 1 2 Utilization Bound w ith DS Fire Monitoring ⎡ ⎤ 1 n / ⎛ ⎞ + 2 U = + ⎢ ⎜ ⎟ − ⎥ 1 s U U n � Under RMS ⎜ ⎟ Fireman in wild fire + b s ⎢ 2 1 ⎥ ⎝ ⎠ U • report temperature within 100m of the moving user every 2s; ⎣ ⎦ s • temperature data must be no more than 1s old ⎛ + ⎞ 2 U ⎜ ⎟ = + ln s � As n � ∞ : U U ⎜ ⎟ + b s 2 1 ⎝ ⎠ U s � When U s = 0.186, min U b = 0.652 � System is schedulable if ⎛ ⎞ + 2 U ⎜ ⎟ ≤ ln s U ⎜ ⎟ p + 2 1 ⎝ U ⎠ s 3 4 Navigation through Fire Cargo Tracking Ship Train Truck Shipping Yard Customer, Shipper, Customs 5 6 1

  2. Services for Mobile Users Services for Mobile Users Mobicast : information dissemination to moving areas. Mobicast : information dissemination to moving areas. � � MobiQuery : spatiotemporal query for mobile users. MobiQuery : spatiotemporal query for mobile users. � � Roadmap Query : navigation in dynamic environments. Roadmap Query : navigation in dynamic environments. � � MLDS : mobile agent directory service for tracking applications. MADS : mobile agent directory service for tracking applications. � � 7 8 A Motivating Application Fireman in wild fire • report temperature within 100m of the moving user every 2s; • temperature data must be no more than 1s old MobiQuery 9 10 Key Challenges Spatiotemporal Constraints � Limited power, memory and bandwidth. � Low duty cycle for extending network lifetime. Fireman in wild fire • report temperature within 100m of the moving user every 2s ; � Sleep schedule consists of cycles of long sleep period followed • temperature data must be no more than 1s old by short active period. � Lifetime of 450 days requires < 1% duty cycle. (based on Mica2 motes � Spatial constraints [J.Polastre et. al. Hot Chips ‘04]) � Query area moves with the user � All and only the sensors in the current query area should respond to the query 0.15s 0.15s 0.15s 0.15s active � Temporal constraints 14.85s 14.85s 14.85s 14.85s asleep � Result must be delivered within the current period cycle 1 cycle 2 cycle 3 cycle 4 � Result should not be older than data validity interval � Meeting the constraints are critical to the fireman’s safety! 11 12 2

  3. Design Goals of MobiQuery Prefetching � Predict future query areas � Allows a mobile user to periodically collect sensor � Prefetching data from surrounding areas � Forewarn nodes ahead of time so that they wake up at � Meet spatiotemporal constraints the right time to deliver the sensor data � Deal with severe resource constraints � Query dissemination and data collection � Reduce storage cost � Nodes wake up in time and upload fresh data to user � Reduce communication overhead � Robust against unpredictable user movement 13 14 Wakeup Process Prefetching � Assuming backbone based power management (ex. � Greedy Prefetching CCP, GAF, Span) � Forewarn nodes in future query areas ASAP Sleeping node Wake-up Active node � Many routing trees set up simultaneously at T2 Forewarned node Wake-up � Prediction of far away query areas is likely to be wrong! at T1 � Just-in-time (JIT) Prefetching Wake-up at T3 � Forewarn nodes in future query areas at the right time 2 � Store and forward strategy 4 � Reduce network contention & storage cost Wake- 1 up at T4 � More robust to user motion changes 3 15 16 Directional Tree Creation (DTC) MobiQuery Protocols � Wake-up sensors ahead of the user � Directional Tree Creation (DTC) [ICDCS’05] � Create a new query tree in each query area � High overhead and network contention at high query rates � Aggregate sensor data and deliver to the user when the user � Requires knowledge of user motion profile reaches a query area Sleeping node � Directional Tree Maintenance (DTM) [IPSN’05] Active node Forewarned node � Reduces overhead and contention � Requires knowledge of user motion profile � Omni-directional Tree Creation (OTC) [IPSN’05] � Does not require knowledge of user motion profile 17 18 3

  4. Generation of Motion Profile Directional Tree Maintenance (DTM) � Maintains a single moving tree rooted at the user � Local reconfiguration based on geographic location and user � Motion prediction motion profile Sleeping node Active node � Predict future user path based on movement history Forewarned node � Motion profile available after actual movement Query � Motion planning � Motion planner plans user path � Motion profile available before actual movement 19 20 Directional Tree Maintenance (DTM) Omni-directional Tree Creation (OTC) � Maintains a single moving tree rooted at the user � Local reconfiguration based on geographic location and user � No motion profile required motion profile Sleeping node Active node � Assume knowledge of maximum user speed Forewarned node 2 � Wake up sensors in a circular wake-up area 4 � Encloses sensors in all possible query areas in the 5 next few query periods � Create a tree when the user reaches a query area 1 3 21 22 OTC - Algorithm Analysis Sleeping node Active node � Derive parameters such that sensors in future query areas are woken up Query � early enough to respond to the query in time Query � late enough to reduce storage cost � DTM / DTC Query � Time to forward wake-up/prefetch message � Based on user velocity and sensor sleep period � OTC � Size of wake-up area � Based on knowledge of maximum user velocity and sensor sleep period 23 24 4

  5. Simulations - Metrics Simulations - Settings � Run on ns-2 � Success ratio – fraction of queries � Backbone-based Power management: Coverage � that meet deadline Configuration Protocol � for which, the faction of sensors that respond in a � 200 sensors in a 450mx450m area query area is above a threshold � Query radius = 150m � Communication cost – total number of messages � Sensor nodes normalized by total number of query results � Communication Range – 105m � Sensing Range – 50m � Bandwidth – 2Mbps 25 26 Impact of Sleep Period Impact of User Speed 1 1 0.9 0.9 0.8 0.8 Success Ratio 0.7 Success Ratio 0.7 0.6 0.6 0.5 0.5 0.4 0.4 DTM 0.3 DTM 0.3 OTC 0.2 OTC DTC 0.2 No Prefetching 0.1 DTC 0.1 0 0 0 3 6 9 12 15 3~5 ms/s 6 ~ 10 m/s 16 ~ 20 m/s 36~40 m/s Sleep Period (s) User Speed (m/s) Figure 1. Effect on Success Ratio (T p =0.5s); threshold = 90% Figure 2. Effect on Success Ratio (T p =1s, T s =15s); threshold = 90% � No prefetching performs extremely poorly DTM and OTC successfully adapt to different speed ranges. � DTM > OTC >> DTC at long sleep periods 27 28 Impact of Location Error Impact of Motion Changes 1 1 0.9 0.9 0.8 0.8 Success Ratio Success Ratio 0.7 0.7 0.6 0.6 0.5 0.5 0.4 0.4 DTM Ts = 6s DTM Ts = 6s 0.3 0.3 DTM Ts = 12s DTM Ts = 12s 0.2 0.2 OTC Ts = 6s OTC Ts = 6s 0.1 0.1 OTC Ts = 12s OTC Ts = 12s 0 0 4 6 8 10 12 0 5 10 15 20 Number of Motion Changes Location Error (m) Figure 3. Effect on Success Ratio ; threshold = 80% Figure 4. Effect on Success Ratio (location error = 10m); threshold = 80% � OTC is not affected by inaccuracy in the motion profile; � OTC is not affected by user motion changes � DTM delivers 80% of the query results for location error of 15m. � DTM maintains a success ratio greater than 80% 29 30 5

  6. Communication Cost Implementation on Motes 120 � Implemented DTC and DTM on 6x3 grid of Mica2 motes Tp=1s t R esul 100 Tp=0. 5s � Acroname PPRK robot carrying stargate was used to Q uery 80 emulate the user 60 per O verhead 40 20 0 O T C D T C D T M Figure 5. Under accurate motion profile (T s =9s) DTM << DTC < OTC 31 32 Summary � Meet stringent spatiotemporal constraints. � DTC - good performance for query periods ≥ 2s � DTM - lowest communication overhead. � OTC - most robust to location error and motion changes. � DTM and OTC successfully deliver >80% of results when Roadmap Query � query period = 1s for Navigation � <1% duty cycle � user changes direction every minute � location error = 15m 33 34 Problem Addressed Example Scenario T > Δ T � Mobile entity navigation in dynamic environments � Example dynamic environment � fire � Applications - search and rescue, evacuation B � Find a safe path from a start point S to a goal point G, G that is clear of fire. � Safe path - path where the maximum temperature along the path is below Δ T. C T CG < Δ T T AB < Δ T T AB > Δ T A S 35 36 6

Recommend


More recommend