Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department...

25
DAO 2 : Overcoming Overall Storage Overflow in Intermittently Connected Sensor Networks Bin Tang Department of Computer Science California State University Dominguez Hills 1

Transcript of Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department...

Page 1: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

DAO2: Overcoming Overall Storage Overflow in Intermittently

Connected Sensor Networks

Bin Tang

Department of Computer Science California State University Dominguez Hills

1

Page 2: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Outline

v  ICSN and its overall storage overflow problem

v  DAO2 (Data Aggregation for Overall Storage Overflow)

v  MTSW (Multiple Traveling Salesman Walks)

v  Distributed DAO2 algorithm

v  Simulation results

v  Conclusion and future work 2

Page 3: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Intermittently Connected Sensor Networks (ICSN)

v  Deepwater sensor networks for tactical surveillance, volcano eruption/glacial melting monitoring

v  Not feasible to install base station in field v  Data generated and stored in the network, periodically uploaded via data mules or satellite links v  Data uploading opportunities are intermittently available

Source: http://fiji.eecs.harvard.edu/Volcano 3

Page 4: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Data Preservation in ICSN v  Non-uniform data generation

and limited storage capacity

v  Data nodes v Storage-depleted

v Overflow data

v  Storage nodes v Available storage spaces

Data Nodes Storage nodes

4

v  Data preservation: offload overflow data from data node to storage nodes

Page 5: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Overall Storage Overflow In Data Preservation

v When total size of overflow data exceeds the total available storage in the network

5

Data Nodes Storage nodes

Overall storage overflow

Page 6: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Solution - DAO2 (Data Aggregation for Overall Storage Overflow)

6

v Spatial correlation among sensory data v Two stages: 1) data aggregation, 2) data offloading

v Challenge: energy efficient data aggregation

Page 7: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Problem Formulation of DAO2

v  Undirected weighted graph G( V, E)

v  p data nodes, each has R bits of overflow data v when a data node receives data information from at least

another data node, it becomes an aggregator, and v it reduces the size of its overflow data from R to r, 0 ≤ r < R

v  |V|- p storage nodes, each has m bits of storage space v  Due to overall storage overflow: p × R > (|V|- p) × m

7

Page 8: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Problem Formulation of DAO2 v q: number of aggregators,

v Therefore, at most p-q sensor nodes can be initiators

v  Energy model - u sends R-bit data to v over lu,v

v  Goal: select a set of b (1 ≤ b ≤ p-q) initiators, each visiting some data nodes (aggregators) following a walk, s.t. total q distinct aggregators are visited with minimum total energy cost

8

Page 9: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

An Example of DAO2

v Data nodes: B, D, E, G, I

v Storage nodes: A, C, F, H

v R = m = 1 overall storage overflow! v r = ¾, number of aggregators q = 4, leaving

one data node to be initiator v Edge weight = 1 v Decide: which data node to be initiator and which path it visits?

9

A 1

D E

C B

F

G H I

Page 10: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

10

Two Optimal Solutions: cost=5

3/4

3/4 7/4

(a) B is initiator (b) I is initiator

A

E

C B

F

G H I

D

0

3/4 3/4

3/4 0

A

E

C B

F

G H I

D

7/4

3/4

Page 11: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

11

Next, data offloading…

3/4

3/4 7/4

A

E

C B

F

G H I

D

0

3/4

Equivalent to minimum cost flow problem (Tang et al. TOSN 2013)

Page 12: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Multiple Traveling Salesman Walks (MTSW) v  Input: An undirected weighted graph G(V,E) and a

number q v  Output: Finds at most |V|- q starting nodes, each

visiting some other nodes following a walk, s.t. v  Goal: total q nodes are visited while the total cost

of the walks is minimized

12

Page 13: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

MTSW is NP-hard

v  Traveling salesman path problem (TSPP) is a special case of MTSW, with q=|V|-1

v  Prove TSPP is NP-hard, reduced from traveling salesman problem (TSP)

13

Page 14: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Approximation Algo. for MTSW v  Find the q smallest cycleless

edges, referred to as q-edge forest

v  Traverse each tree in the forest using a B-walk

v  Works alike and generalizes Kruskal’s MST algo.

v  O(|E|log|E|) 14

Page 15: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Binary Walk (B-Walk) and Longest-Path Walk (LP-Walk)

15

Page 16: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

An Example of Algo. 1 (q=5)

16

v  Edge weight = 1 v  How to visit 5 nodes energy efficiently?

A B C

D E F

G H I

Page 17: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Many solutions…

17

A B C

D E F

G H I

A B C

D E F

G H I

•  B, D are starting nodes •  C, F, E, H, I are visited •  Cost = 5

•  E is starting node •  B, C, D, H, I are visited •  Cost = 8

Page 18: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Analysis of Algo. 1

v  Lemma 1: Its resulted q-edge forest is a minimum q-edge forest

v  Lemma 2: The cost of the minimum q-edge forest is a lower bound of the optimal MTSW cost

v  Theorem: Algorithm 1 is a (2-1/q) approximation algorithm

18

Page 19: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Equivalency b/t MTSW and DAO2 Theorem: DAO2 in sensor network G(V,E) is equivalent to MTSW in aggregation network G’(V’,E’)

19

1

1 2

2

A

1 E

G I

B

E

G I

D D 1

B C

F

H G(V,E) G’(V’,E’)

Page 20: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Distributed DAO2 Algorithm Based on distributed minimum spanning tree algorithm by Gallager, Humblet, and Spira 1.  Starts with each node being considered as a fragment, with level value 0 2.  Each level 0 node

1)  Chooses its minimum-weight incident edge and mark that edge as a branch edge. 2)  Sends a message via the branch edge to notify the node on the other side. 3)  Waits for a message from the other end of the edge.

3.  The edge chosen by both nodes it connects becomes the core with level 1. 4.  For a non-zero level fragment, the execution takes three stages: broadcast, convergecast, and change core 5.  while (number of branch edges < q)

1)  Each fragment finds its minimum weight outgoing edge 2)  Uses it to combine with other fragments, using two operations: merge and absorb

end while

20

Theorem 3:

The distributed data preservation algorithm

preserves maximum total priority. It runs in

O

(

kn

2

)

time and

uses

O

(

n

2

m

)

messages.

It runs in O(NlogN) time and uses O(NlogN+E) messages.

Page 21: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Performance Evaluation v  Visual Performance Comparison

v  50 nodes in 1000m×1000m network, Tr = 250m v  R=m=512MB, ρ = 1 - r/R

21

Page 22: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

22

One initiator

Four initiators

Page 23: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Comparing B-Walk and LP-Walk

23

Page 24: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Distributed DAO2 Algorithm

v  Implemented in DistAlgo (Liu et al. OOPSLA 2012)

v  100 nodes in 2000m×2000m senor network, Tr = 250m

v  R=m=512MB, overhead message = 20B

Page 25: Bin Tang - csc.csudh.educsc.csudh.edu/btang/papers/Infocom_2018_slides.pdf · Bin Tang Department of Computer Science California State University Dominguez Hills 1 . Outline v ICSN

Conclusions and Future Works v DAO2 is an architectural and algorithmic

framework to tackle overall storage overflow

v A new multiple traveling salesman walk problem

v Energy-efficient optimal, approximation, heuristic, and distributed algorithm

v Techniques applicable for any application where data correlation and resource constraints coexist

v Varying overflow data size and storage capacity

v Integrate data aggregation and data offloading 25