51
Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs: An Approximate Steiner Tree Approach

Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Embed Size (px)

Citation preview

Page 1: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang

Shanghai Jiao Tong University

A Distributed Algorithm to Construct Multicast Trees in WSNs:

An Approximate Steiner Tree Approach

Page 2: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Wireless Sensor Networks

2

Data dissemination and aggregation are common in wireless sensor networks

Page 3: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

What is multicast tree?

3

Connect a group of sensors

No redundant links

Support one-to-many or many-to-onedata transmission

Page 4: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Applications

4

Smart home

Safety

Environmental monitoring

Illumination control

Irrigation control

Trafficmonitoring

Multicast treeIn WSN

Page 5: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Communication & Computation

Page 6: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Evaluation of the multicast tree

Euclidean tree length is an important concern

Larger tree length might result in Higher probability of transmission failure: wireless

interference More energy consumption: more power to transmit

messages farther Longer delay: more time is needed for messages travel

for a long distance

6

Page 7: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

7

Page 8: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

8

Page 9: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Our work

An algorithm to construct the minimum-length tree in Wireless Sensor Networks In a distributed manner Time efficiency Energy efficiency

9

Page 10: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Challenge: relay selection

Minimum-length tree is formulated as the Steiner Tree Problem, NP-hard in graph theory

relay addition tree length decrease

10

Fig. 1 Without relay, tree length is 2 Fig. 2 With relay, tree length is

Page 11: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Challenge: quantitative analysis

Quantitative analysis of the Steiner Tree Famous Gilbert-Pollak conjecture

on the Steiner ratio Prof. Dingzhu Du proved this conjecture

Quantitative analysis in stochastic network Big-O notation of tree length is not

so accurate Consider the general distribution instead of

the uniform distribution Hop count is not enough to describe the tree

performance

11

Dingzhu Du

Page 12: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Challenge: practical concern

Time complexity

Wireless sensor networks have dynamic topology, so the tree should be constructed in a short time.

Energy consumption

Sensors are usually battery-powered, so the algorithm should be energy saving.

12

Page 13: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

13

Page 14: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Network model

Sensor are identically and independently distributed in a unit square.

A group of m members are randomly chosen to participate in multicasting among n nodes in the network.

Density distribution of nodes is f(x), , where x is the position vector, and are positive constants.

The constructed tree is called Toward Source Tree (TST).

14

Page 15: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Assumptions

Every sensor knows its geographical location through GPS or signal sensing

Every node is distinguished from each other by their identification numbers

Only the source knows which nodes are chosen as destinations

15

Page 16: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

16

Page 17: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Distributed algorithm

17

Connecting Multicast Group Members

Selection of Relays

Cycle Detection and Elimination

Multicast Tree Constructed

Page 18: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Distributed algorithm

Make full use of local topology

18

Connectivity: every multicast group member connects to another member

Acyclic: neighbor is closer to source than it is (B, C in the grey region are potential neighbors of A)

Locality: only the closest member will be chosen (B is closer to A than C, so B is chosen by A) S: source

A,B,C,D: destinations

Page 19: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Distributed algorithm

Construct temporary tree among multicast members

Page 20: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Distributed algorithm

Selection of relays Limited transmission rangeTradeoff between hop count and Euclidean distance

Hop count: determines the delay and energy consumption Euclidean distance: determines tree length

Minimum-hop+shortest path between two adjacent multicast group members Among all paths with fewest hops, the shortest one is

chosen to connect members Nodes on the chosen path are selected as relays

20

Page 21: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Distributed algorithm

Relay addition

21

Page 22: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Distributed algorithm

Distributed cycle detection and elimination

22

Cycle detection: A cycle exists if and only if one node acts as relay for more than one pair of multicast group members.

Cycle elimination: Relays forwarded the Eliminate message along the redundant paths, and wipe them out.

Further reduce the tree length and relay count

Black nodes are multicast membersRed nodes are relaysDotted rectangle shows the existence of cycles

Page 23: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

23

Page 24: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Performance: tree length

24

Theorem 1 Assume that nodes are uniformly distributed in . The length of the temporary tree among multicast group members is denoted as . The expected tree length is

Proof points• Multicast group members are uniformly distributed• According to the neighbor selection criteria, nodes

with larger distance are chosen with smaller probability

Page 25: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Tree Length in Uniform Case

Divide the unit square into small grids Establish coordinate system with source as origin A receiver is in the cell with coordinate : the probability that connects to another receiver in cell

: the probability that connects to the source

25

Page 26: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Tree Length in Uniform Case

: the expected length of temporary tree

26

Page 27: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Tree Length in General Case

27

Lemma 2 Assume that node distribution satisfy density function . The expected length of the temporary tree among members is

Proof points• Divide the network region into cells small enough• Nodes in each cell can be regard as uniformly

distributed• Inter-cell edges connect nodes in the same cell and

intra-cell edges connect nodes in different cells

Page 28: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Tree Length in General Case

Divide the unit square into square cells, and then partition the cells into smaller grids with edge length of . where , Tree length is the sum of inter-square edge and intra-

square edge length : the probability that length of inter-square edge is

,

28

Page 29: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Tree Length in General Case k small squares

Intra-square edge length is:

By Riemann-Stiejies integration, the upper bound is:

29

Page 30: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Path Length

30

Lemma 3 Let nodes be independently and identically distributed. Suppose that the Euclidean distance between two nodes and is , and the transmission range is . The following properties hold:• The expected number of fewest relays that are needed to

connect and converges to as approaches ;• The expected length of the path connecting and involving

the fewest relays converges to .

Page 31: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Path Length

Hops on the path is chosen one by one Let A be the event that the next hop exists with

distance from last hop Let B be the event that there is a node within last

hop’s transmission region

is expected hop count in minimum-hop shortest path between nodes with Euclidean distance x

31

Page 32: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Path Length

Lower bound of

Upper bound of Proof by induction when Assume that ()

holds when

32

Page 33: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Path Length

As , , and .

The expected hop count is .

Since the transmission range is , the expected path length approaches the Euclidean distance between two nodes.

33

Page 34: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Performance: tree length

Upper bound of length of the constructed tree

: length of the tree among m nodes, : expenctaion.

. Lower bound of length of the Steiner Tree

Theoretical approximation ratio is smaller than 10.

34

Page 35: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Performance: tree length

35

Fig. 3 Tree length comparison

Approximation ratio is 1.11 in simulations when nodes are uniformly distributed.

Page 36: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

36

Page 37: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Running time

37

TST algorithm:

Upper bound of running time

Lower bound of running time

The algorithm with minimal running time:Upper bound of running time

Lower bound of running time

The running time of our algorithm shares the same upper and lower bound as the minimal time to construct the multicast tree. The ratio between the upper and lower bound is only .

22

Page 38: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Tradeoff between tree length and time complexity

38

Page 39: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Outline

Introduction and Challenges Network Model Distributed algorithm Performance Evaluation

Tree Length Running time Energy Consumption

39

Page 40: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy consumption

40

Energy consumption is evaluated from two aspects: during and after the tree construction.

During tree construction: energy consumed during tree construction

After tree construction: energy for data transmission along the constructed tree

Page 41: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy Consumption Energy consumption is measured by the quantity of

exchanged messages in our distributed algorithm.

Divide the network into cells : the probability that connects to another receiver in cell : the probability that connects to the source

Five types messages:

: Messages used to wake up all receivers

41

Page 42: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy Consumption : Messages used to request neighbors.

We have

42

Page 43: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy Consumption : Messages used to respond the requests from

receivers

We have .

43

Page 44: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy Consumption : Messages used to connect to the neighbor.

: Messages used to eliminate cycle.

Total message complexity is:

44

Page 45: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy consumption

45

Energy consumed during tree construction

Page 46: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy consumption

46

Energy for data transmission along the constructed tree – measured by the number of forwarding nodes,

Network size: , multicast group size: : minimal number of forwarding nodes

Page 47: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Energy consumption

47

Nodes in TST

When , the number of forwarding nodes in TST is order optimal

Page 48: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Performance

48

Algorithm Tree Length

Time Complexity

Exchanged Messages

Assumptions

SPH

Shortest paths are already

known

KSPH

ADH

DAShortest paths are unknownOur

algorithm -TST

Comparisons with other algorithms ( table)

Page 49: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Conclusion

Simple algorithm: limited computation and storage ability of nodes in wireless sensor networks

Tree length: good approximation ratio of the Steiner tree in both theory and simulations

Time efficiency: fast tree construction in dynamic networks.

Energy efficiency: energy-efficient in both tree construction and data transmission.

49

Page 50: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

Discussion

Good approximation ratio at low cost Distributed algorithm making parallel processing

possible and reducing the time cost Applies to dense networks such as wireless sensor

networks, but might not perform well in sparse networks

The approximation ratio is shown in expectation, but not always ensure the good performance

50

Page 51: Hongyu Gong, Lutian Zhao, Kainan Wang, Weijie Wu, Xinbing Wang Shanghai Jiao Tong University A Distributed Algorithm to Construct Multicast Trees in WSNs:

The Institute of Wireless Communication Technology,

School of Electronics, Information and Electrical Engineering,

Shanghai Jiao Tong University

A Distributed Algorithm to Construct Multicast Trees in WSNs:

An Approximate Steiner Tree Approach