on delivery guarantees of face and combined greedy-face routing in ad hoc and sensor networks

51
On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks Hannes Frey, Ivan Stojmenovic MobiCom 2006

Upload: corin

Post on 05-Feb-2016

31 views

Category:

Documents


0 download

DESCRIPTION

On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks. Hannes Frey, Ivan Stojmenovic MobiCom 2006. Face Recovery Details. When to change current face traversal? How to decide the next face locally?. Example 1. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Hannes Frey, Ivan Stojmenovic

MobiCom 2006

Page 2: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Face Recovery Details

When to change current face traversal?

How to decide the next face locally?

Page 3: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Example 1Greedy Perimeter Stateless Routing

GPSR [Karp, Kung, 2000]

Page 4: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPSR – The FACE Routing Part

TS

“ On each face, the traversal uses the right hand rule to reach an edge that crosses line xT. At that edge, the traversal moves to the adjacent face crossed by xT. … The node forwards the packet along the first edge of this next face – by applying the right hand rule, …” [Karp & Kung 2000]

Page 5: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPSR – The FACE Routing Part

TS

V

“ On each face, the traversal uses the right hand rule to reach an edge that crosses line xT. At that edge, the traversal moves to the adjacent face crossed by xT. … The node forwards the packet along the first edge of this next face – by applying the right hand rule, …” [Karp & Kung 2000]

x

Page 6: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPSR – The FACE Routing Part

F1 F2TS

V

“ On each face, the traversal uses the right hand rule to reach an edge that crosses line xT. At that edge, the traversal moves to the adjacent face crossed by xT. … The node forwards the packet along the first edge of this next face – by applying the right hand rule, …” [Karp & Kung 2000]

x

Page 7: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPSR – The FACE Routing Part

TS

V

“ On each face, the traversal uses the right hand rule to reach an edge that crosses line xT. At that edge, the traversal moves to the adjacent face crossed by xT. … The node forwards the packet along the first edge of this next face – by applying the right hand rule, …” [Karp & Kung 2000]

x

Page 8: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPSR – The FACE Routing Part

S

V

“ On each face, the traversal uses the right hand rule to reach an edge that crosses line xT. At that edge, the traversal moves to the adjacent face crossed by xT. … The node forwards the packet along the first edge of this next face – by applying the right hand rule, …” [Karp & Kung 2000]

x

T

Page 9: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPSR – The FACE Routing Part

TS

“ On each face, the traversal uses the right hand rule to reach an edge that crosses line xT. At that edge, the traversal moves to the adjacent face crossed by xT. … The node forwards the packet along the first edge of this next face – by applying the right hand rule, …” [Karp & Kung 2000]

x

Page 10: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

A

B

C

D

E

S T

Page 11: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

A

B

C

D

E

S T

Outer Face

Page 12: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

A

B

C

D

E

S T

Outer Face

Page 13: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

A

B

C

D

E

S T

Page 14: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

A

B

C

D

E

S T

GPSR Forwarding Loop for GG, RNG, and LDT

x

Page 15: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Is this an Issue for Greedy + PSR?

S

A

B

C

D

E

T

F1

F2

P

Q

[Kim et al., 2005]

Page 16: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Example 2Greedy-Face-Greedy GFG, [Bose et al.,

1999]

Page 17: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GFG – The face routing part

P Srepeat

Let F be the face with P on boundary and intersecting PTTraverse* F until reaching an edge that intersects PT at some point Q≠PP Q

until P=T

*counterclockwise if inner, clockwise if outer face

TS

P

F

Page 18: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GFG – The face routing part

P Srepeat

Let F be the face with P on boundary and intersecting PTTraverse* F until reaching an edge that intersects PT at some point Q≠PP Q

until P=T

*counterclockwise if inner, clockwise if outer face

TS

Q

F

P

Page 19: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GFG – The face routing part

P Srepeat

Let F be the face with P on boundary and intersecting PTTraverse* F until reaching an edge that intersects PT at some point Q≠PP Q

until P=T

*counterclockwise if inner, clockwise if outer face

TS

F

P

Page 20: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GFG – The face routing part

P Srepeat

Let F be the face with P on boundary and intersecting PTTraverse* F until reaching an edge that intersects PT at some point Q≠PP Q

until P=T

*counterclockwise if inner, clockwise if outer face

TS

P

F

Page 21: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about the GPSR Loop?

A

B

C

D

E

S T

Outer Face

Page 22: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about the GPSR Loop?

A

B

C

D

E

S T

Outer Face

Page 23: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about the GPSR Loop?

A

B

C

D

E

S T

Outer Face

Select face with P on boundary and intersecting PT

P

Page 24: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about the GPSR Loop?

A

B

C

D

E

S T

Outer Face

Page 25: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Example 3Greedy Path Vector Face Routing

(GPVFR) [Leong, Mitra, Liskov, 2005]

Page 26: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPVFR – The Face Routing Part

S T

A

B

1. Find the face F containing the line segment ST. Let A and B be the clockwise and anti-clockwise nodes. If |AT| ≤ |BT|, forward the packet clockwise along F; if |AT| > |BT|, forward the packet anti-clockwise.

2. If any adjacent edge intersects the line segment ST then set S to current node C and go to step 1. [Leong, Mitra, Liskov, 2005]

F

Page 27: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPVFR – The Face Routing Part

S T

A

B

1. Find the face F containing the line segment ST. Let A and B be the clockwise and anti-clockwise nodes. If |AT| ≤ |BT|, forward the packet clockwise along F; if |AT| > |BT|, forward the packet anti-clockwise.

2. If any adjacent edge intersects the line segment ST then set S to current node C and go to step 1. [Leong, Mitra, Liskov, 2005]

Page 28: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPVFR – The Face Routing Part

S T

A

B

C

1. Find the face F containing the line segment ST. Let A and B be the clockwise and anti-clockwise nodes. If |AT| ≤ |BT|, forward the packet clockwise along F; if |AT| > |BT|, forward the packet anti-clockwise.

2. If any adjacent edge intersects the line segment ST then set S to current node C and go to step 1. [Leong, Mitra, Liskov, 2005]

S := C

Page 29: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPVFR – The Face Routing Part

S T

S

B

A

1. Find the face F containing the line segment ST. Let A and B be the clockwise and anti-clockwise nodes. If |AT| ≤ |BT|, forward the packet clockwise along F; if |AT| > |BT|, forward the packet anti-clockwise.

2. If any adjacent edge intersects the line segment ST then set S to current node C and go to step 1. [Leong, Mitra, Liskov, 2005]

F

Page 30: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

GPVFR – The Face Routing Part

S T

S

B

A

1. Find the face F containing the line segment ST. Let A and B be the clockwise and anti-clockwise nodes. If |AT| ≤ |BT|, forward the packet clockwise along F; if |AT| > |BT|, forward the packet anti-clockwise.

2. If any adjacent edge intersects the line segment ST then set S to current node C and go to step 1. [Leong, Mitra, Liskov, 2005]

F

Page 31: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

S

T

Page 32: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

S

A

T

B

F

Page 33: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

S

A

C

T

B

Page 34: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

CB

S

T

A

F

Page 35: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

CB

T

B

A

S

F

Page 36: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

T

S

F

Page 37: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about Delivery Guarantees?

S

TF

GPVFR forwarding loop in arbitrary graphs

Page 38: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Is this an Issue for Greedy + PVFR?

B

S

A

TF

Start here.

Page 39: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Example 4 Greedy Other Adaptive Face Routing

GOAFR, [Kuhn et al., 2003]

Page 40: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Face Routing Part of GOAFR

P Srepeat

Explore the complete boundary of face F containing the line PTAdvance to Q on F’s boundary which is closest to T and set P Q

until reaching T

S T

F

P

Page 41: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Face Routing Part of GOAFR

P Srepeat

Explore the complete boundary of face F containing the line PTAdvance to Q on F’s boundary which is closest to T and set P Q

until reaching T

S T

Q

F

P

Page 42: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Face Routing Part of GOAFR

P Srepeat

Explore the complete boundary of face F containing the line PTAdvance to Q on F’s boundary which is closest to T and set P Q

until reaching T

S T

Q

F

P

Page 43: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Face Routing Part of GOAFR

P Srepeat

Explore the complete boundary of face F containing the line PTAdvance to Q on F’s boundary which is closest to T and set P Q

until reaching T

S T

Q

F

P

Page 44: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

What about the GPVFR Loop?S

TF

Page 45: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

State of the Art Counter examples for some well established

mechanisms which are proved to be correct

Proofs do not consider the details of localized face selection

General question: Does face and combined greedy-face routing provide delivery guarantees???

Page 46: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

General Face Start Mechanism

Assumption Planar graph S and T are connected

MechanismSelect first edge SA in cw direction from ST; traverse by right hand rule

Or select first edge SB in ccw direction from ST; traverse by left hand rule

Invariant: Always detects an ST-intersection P≠S

T

S

A B

U VP

Page 47: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

General Face Change Mechanism

Precondition Planar Graph S and T are connected S and U are connected UV intersects ST

MechanismIf UT right of UV then traverse by left hand rule

else traverse by right hand rule

Invariant: Always detects a PT-intersection Q≠P

T

U

V

rightleftS

cw<180°

ccw≤180°

TS

U

(a)

V

P Q

(b)

Page 48: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

RNG and GG are Good Natured Face change is not an issue in GG and

RNG

Intersection Property of GG

RNG GG applies to RNG as well

T

S

U

V

WLOG: |UT| < |ST|

Page 49: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Summary Success of face routing applied on its

ownRNG GG LDT Any

GFG ok ok ok okGPSR loop loop loop loopGOAFR ok ok ok okGPVFR ? ? ? loop

Page 50: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Summary Success of combined greedy-face

routingRNG GG LDT Any

GFG ok ok ok okGPSR ok ok ? loopGOAFR ok ok ok okGPVFR ok ok ? loop

Page 51: On Delivery Guarantees of Face and Combined Greedy-Face Routing in Ad Hoc and Sensor Networks

Summary GG and RNG allow simplified scheme

RepeatGreedy as long as possibleTraverse single face until return to greedy possible

Until delivery