Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing...

69
Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad- Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    214
  • download

    1

Transcript of Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing...

Page 1: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Dept. of Computer Science Distributed Computing Group

Asymptotically Optimal Mobile Ad-Hoc Routing

Fabian KuhnRoger WattenhoferAaron Zollinger

Page 2: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Overview

• Introduction• Model• Face Routing• Adaptive Face Routing• Lower Bound• Conclusion

Page 3: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Model I (Ad-Hoc Network)

• Nodes are points in R2

• All nodes have the same transmission range (normalized to 1)

) network is a unit disk graph

• Distance between any two nodes is lowerbounded by a constant d0

) (1)-model

Page 4: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Model II (Geometric Routing)

• Nodes know the geometric positions of themselves and of their neighbors

• Source s knows the coordinates of destination t

• Nodes not allowed to store anything• In the message, only O(logn) additional

bits can be stored

Page 5: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Cost Model I

• Cost of sending a message over a link (edge) e is c(e)

• Cost of a path p is the sum over the costs of its edges

• Cost of a routing algorithm A is the sum over the costs of the traversed edges

Page 6: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Cost Model II

3 different cost metrics:

• Link distance metric (c (e)´1)

• Euclidean distance (cd(e))

• Energy metric (cE(e):=cd2(e))

more general: cE(e):=cd(e) for an ¸2

Page 7: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Costs are Equivalent

Lemma:

In the (1)-model the link, Euclidean, and energy metrics of a path or an algorithm are equivalent up to a constant factor.

Page 8: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

geometric routing algorithm for planar graphs

Compass Routing on Geometric Networks[Kranakis, Singh, Urrutia; 1999]

Page 9: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

Page 10: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing (Faces)

Page 11: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 12: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 13: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 14: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 15: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 16: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 17: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 18: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 19: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 20: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 21: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 22: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 23: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 24: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 25: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 26: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 27: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 28: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 29: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 30: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 31: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 32: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 33: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 34: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 35: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 36: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing

s t

Page 37: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing (Analysis)

Lemma:

Face Routing always finds a path to the destination. The total cost of Face Routing is O(n).

Page 38: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Face Routing (Analysis)

Proof Sketch:• each face is explored at most once

each edge is traversed at most four times

)

• there are at most 3n-6 edges (Euler formula)

Page 39: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Problem of Face Routing

• Face Routing always reaches destination

• However, even if source and destination are close to each other, Face Routing can take O(n) steps.

• We would like to have an algorithm, whose cost is a function of the cost of an optimal path.

Page 40: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 41: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 42: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 43: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 44: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 45: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 46: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 47: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 48: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 49: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 50: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Ellipse is too small, go back!

Page 51: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 52: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 53: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 54: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 55: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 56: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Adaptive Face Routing

s t

Page 57: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

AFR on the Unit Disk Graph

• AFR needs a planar graph, UDG is not planar

• need a planar subgraph of UDG:– simple distributed construction– spanner for link distance, Euclidean,

and energy metric

Page 58: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Two nodes u and v are connected by an edge iff the circle with uv as diameter contains no other node.

Gabriel Graph

Definition:

u

v

uv

Page 59: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Properties of GG Å UDG

• For each pair of nodes, the GG (Å UDG) contains an energy optimal path (on UDG).

) spanner for link, Eucl. dist., energy ((1)-model)

• planar• no additional communication

) meets all our requirements

Page 60: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

AFR Complexity

Theorem 1:

Let c* be the cost (link, Euclidean, or energy) of an optimal path between two nodes on the UDG. Applying AFR on GGÅUDG then terminates with cost O(c*

2).

Page 61: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

AFR Complexity, Proof I

Lemma:For each used ellipse E, the cost is linear in the number of nodes in E.

Collorary:In the (1)-model, for each used ellipse E, the cost is linear in area covered by E.

Page 62: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

AFR Complexity, Proof II

Lemma:The cost, AFR needs to route a packet, is linear in the area covered by the last used ellipse.

Ellipses grow exponentially

Page 63: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

AFR Complexity, Proof III

Lemma:Using an ellipse E, AFR finds a path from s to t iff there is such a path inside E.Lemma:All paths of (Euclidean) length smaller or equal to c are inside an ellipse whose area is in O(c2).

Page 64: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

AFR Complexity, Proof IV

All the lemmas together now prove Theorem 1.

Page 65: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Lower Bound

Theorem 2:

Let c* be the cost (link, Euclidean, or energy) of an optimal path between two nodes on a UDG G. For each geometric routing algorithm, there is a graph for which the cost is (c*

2).

Page 66: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Lower Bound, Proofw

ts

Cost of optimal path:

Exp. cost for an algorithm A:

Page 67: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Main Theorem

Theorem 3:

On the Unit Disk Graph in the (1)-model, AFR is asymptotically optimal.

(follows directly from Theorems 1 and 2)

Page 68: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Conclusion I

• works fine for link and Euclidean distance (still (c*

2))

• For energy, it can be shown that the cost of a geometric routing alg. cannot be bounded by a function of c* alone.

(1) restriction can be dropped by clustering:

Page 69: Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.

Distributed Computing Group

Conclusion II

• The lower bound holds for all routing algorithms which have only local knowledge at the beginning.

• if coordinates of dest. are not known, but if each node can store some bits:Then there is a simple flooding variant which achieves O(c*

2).