Delay-Aware Big Data Collection Strategies for Sensor Cloud Services Dr. Chi-Tsun (Ben), Cheng chi-tsun.cheng@polyu.edu.hk http://www.eie.polyu.edu.hk/~bcheng/
An Overview Introduction Wireless Sensor Networks A Military Application (SASNet) Delay-Aware Data Collection Strategies Single Data Stream with Data Compression 2
An Overview (cont ) Delay-Aware Data Collection Strategies (cont ) Multiple Data Streams with Data Compression Conclusions 3
Introduction 4
Wireless Sensor Networks Large numbers of wireless sensor nodes Battery-powered (2x AA batteries) Low data rate (250 kbps) Limited processing power (AT Mega1281) Low-cost Limited communication range (<500m) MEMSIC IRIS MOTE ARDUINO UNO + XBEE 5
Wireless Sensor Nodes Micro-controller Transceiver Sensors Batteries 6
Sensors Microphone and Buzzer Ranging measurement MEMSIC MTS-310CB Temperature and Light Detection Accelerometer Magnetometer GPS module MEMSIC MTS-400 7
Wireless Sensor Networks (cont ) Many-to-one routing schemes Tree topologies A base station is often located at the root of a tree Individuals are aiming for the same objectives Fairness among individuals is often ignored 8
A Military Application (SASNet) 9
Project Background GEOmatics for Informed DEcisions Network GEOIDE (1999-2013) [SII-PIV-70] Integrating Developmental Genetic Programming and Terrain Analysis Techniques in GIS-based Sensor Placement Systems Université Laval, Quebec, Quebec, Canada University of Calgary, Calgary, Alberta, Canada Defence Research and Development Canada (DRDC) 10
SASNet Self-healing Autonomous Sensing Network L. Li, Localization in Self-healing Autonomous Sensing Network (SASNet), Technical Report, DRDC Ottawa, Jan 2008 11
Sensor Nodes used in SASNet Acoustic sensor Seismic sensor Magnetic sensor PIR motion detectors A.-L. Jousselme et al., Same world, different words: augmenting sensor output through semantics, 14 th Int. Conf. Info. Fusion, Chicago, July 2011 12
Object Identification P. Maupin and A.-L. Jousselme, Representation and evaluation of sensor network performance, May 2011 13
Delay-Aware Data Collection Strategies 14
Objectives? Optimization Objectives Delay in a data aggregation process The duration for a base station to collect information from all wireless sensor nodes in a network Target tracking Energy Consumption Data Transactions, Sensing, Processing and other Overheads 15
Delay-Aware Data Collection Strategies? Single Data Stream Multiple Data Streams With Data Compression Without Data Compression With Data Compression Without Data Compression 16
Delay-Aware Data Collection Strategies Single Data Stream with Data Compression 17
Problem Definition Typical wireless sensor nodes are half-duplex communication devices CH CM 1 CM 2 CM 3 T=1 T=2 T=3 18
Problem definition (cont ) Suppose multiple packets can be compressed into one CH CM 1 CM 2 CM 3 T=3 T=2 T=1 19
Problem Definition (cont ) What if? CH CM 1 CM 2 CM 3 T=1 T=2 T=1 20
Advantages of such modifications Shorten the duration of a data aggregation process Cluster members need smaller buffers to handle incoming data while waiting for their cluster head to become available 21
A Delay-Aware Data Collection Network Structure for Wireless Sensor Networks* Characteristics A tree structure Most efficient for networks with N = 2 p nodes *Cheng, C.-T.; Tse, C.K.; Lau, F.C.M.;, "A Delay-Aware Data Collection Network Structure for Wireless Sensor Networks," Sensors Journal, IEEE, vol.11, no.3, pp.699-710, March 2011. 22
Characteristics (cont ) Each node is given a rank, which is an integer between 1 and p+1 A node with a rank k will form k-1 data links with k-1 nodes, while these k-1 nodes are with different ranks starting from 1 up to k-1 These k-1 nodes will become the child nodes of the node with a rank k The node with a rank k will form a single data link with a node with a higher rank 23
Characteristics (Cont ) A graphical representation 7 5 1 2 3 4 24
Characteristics (Cont ) The cluster head is the one with the highest rank in the network. Instead of forming a data link to a node with a higher rank, it forms a data link with the base station BS RANK CH RANK 10 25
Characteristics (cont ) Rank distribution The distribution of the rank follows an inverse exponential base-2 function 1 node with a rank = log2n +1 26
Example A network with N=16 BS 5 1 2 3 4 1 1 2 1 2 3 1 1 1 2 1 27
Data Aggregation Duration Consider a network with N = 2 p. By adopting the proposed network structure, the number of time slots t(n) required for the base station to collect data from the whole network is given by 28
Delay-Aware Data Collection Strategies Multiple Data Streams with Data Compression 29
Problem Definition The delay-aware data collection network structure (Single Data Stream with Data Compression) is designed for scenarios which a data collection will be invoked occasionally, but once invoked, it should complete within a short duration A typical example is an event detecting application, in which an event may rarely happen, but once detected, data should be reported to the base station with a minimum delay 30
Problem Definition (Cont ) Consider a network with N=7 BS 1 2 2 3 1 1 1 31
Problem Definition (Cont ) A single data collection process will last for 3 time-slots There will be 7, 3, and 1 nodes involved in data transactions in the first, second, and third time-slot, respectively 32
Problem Definition (Cont ) Since all nodes will be utilized in the first time-slot, the next data collection process can only be invoked at or after the fourth time-slot. 33
Problem Definition (Cont ) It takes at least q x 3 time-slots to complete q data collection processes 34
Problem Definition (Cont ) For applications which require continuous monitoring, it is preferable to minimize the delays among consecutive data collection processes BS 1 3 4 1 2 3 2 35
Problem Definition (Cont ) Two clusters will be formed instead of three A single data collection process will last for 4 timeslots 36
Problem Definition (Cont ) There will be 4, 4, 3, and 1 nodes involved in data transactions at the first to fourth time-slots, respectively 37
Problem Definition (Cont ) Note that not all nodes are involved at the first and second time-slots, the next data collection process can begin at the third time-slot 38
Advantages of Such Modifications Although the duration of a data collection process is extended by 1 time-slot, by having the transmission schedules overlap, it takes only (q-1) x 2 + 4 timeslots to complete q data collection processes 39
A Delay-Aware Network Structure for wireless sensor Networks with Consecutive Data Collection Processes ^ Characteristics Still, a tree structure Based on the Delay-Aware Data Collection Network Structure (Single Data Stream with Data Compression) ^Cheng, C.-T.; Tse, C.K.;, "A Delay-Aware Network Structure for Wireless Sensor Networks with Consecutive Data Collection Processes," Sensors Journal, IEEE, vol. 13, no. 6, June 2013, pp. 2413-2422 40
Characteristics (Cont ) Let TDCP be the duration of a data collection process and TOL be the overlapping duration of 2 consecutive data collection processes. The duration for q consecutive data collection processes (Tq) is expressed as 41
Conflicts! By setting TOL=1, the next data collection process will begin at the last time-slot of the current data collection process A node with rank = TDCP will need to make a transmission to its parent node (i.e. the base station). Nevertheless, if such node has a child node with rank =1, it will need to receive a data packet simultaneously To resolve such conflicts, nodes with rank = TDCP should not connect to nodes with rank =1 42
Rules Rule - 1: A node with a rank = TDCP-Ƭ+1, where Ƭ=1,...,TOL, can have at most TDCP-TOL-1 child nodes and must not connect to a child node with a rank = Ƭ Rule - 2: A node with a rank = TDCP-Ƭ+1, where Ƭ=1,...,TOL, must not share the same parent node with another node with a rank =Ƭ 43
Rules (Cont ) Rule - 3: A node with a rank =Ƭ, where Ƭ=1,..., TOL, must connect to a parent node with a rank >Ƭ and TDCP-Ƭ and may connect to at most Ƭ-1 child nodes with their ranks ranging from 1 to Ƭ-1 Rule - 4: A node with a rank =Ƭ, where TOL< Ƭ TDCP-TOL, must connect to a parent node with a rank >TDCP-TOL and may connect to at most Ƭ-1 child nodes with their ranks ranging from 1 to Ƭ-1 44
TDCP=4, TOL=2 Example 4 2 BS 3 1 4 3 2 1 1 2 3 1 2 1 1 1 2 1 1 45
X X Example TDCP=4, TOL=2 4 2 3 1 4 2 BS 3 1 4 3 2 1 1 3 2 1 2 1 1 46
Network Formation Algorithm The energy consumption of an ordinary wireless sensor node is a function of its communication distance The objective of the network formation algorithm is to construct the proposed network structure while keeping communication distances among connected nodes short The proposed network formation algorithm is a multistage optimization process based on Dynamic Programming and Hungarian method. 47
Example 48
Example 49
Example 50
Example 51
Example 52
Example 53
Example 54
Example 55
Example 56
Evaluations 57
Evaluations 58
Evaluations 59
Conclusions 60
Conclusions Sensor networks act as interfaces for clouds to interact with the environment Two delay-aware data collection strategies are introduced Minimize the duration of a data collection process Keep the total communication distance short Reduce durations of consecutive data collection processes^ Does not introduce extra delay to a single data collection process^ 61
Thank You! 62