Location- -free Routing in free Routing in Location Sensor - - PowerPoint PPT Presentation

location free routing in free routing in location sensor
SMART_READER_LITE
LIVE PREVIEW

Location- -free Routing in free Routing in Location Sensor - - PowerPoint PPT Presentation

Location- -free Routing in free Routing in Location Sensor Networks Explore the Global Explore the Global Sensor Networks Topology Topology Jie Gao Computer Science Department Stony Brook University 9/29/05 Jie Gao,


slide-1
SLIDE 1

9/29/05 Jie Gao, CSE590-fall05 1

Location Location-

  • free Routing in

free Routing in Sensor Networks Sensor Networks – – Explore the Global Explore the Global Topology Topology

Jie Gao

Computer Science Department Stony Brook University

slide-2
SLIDE 2

9/29/05 Jie Gao, CSE590-fall05 2

Papers Papers

  • Qing Fang, Jie Gao, Leonidas Guibas, Vin de Silva, Li Zhang,

GLIDER: Gradient Landmark-Based Distributed Routing for Sensor Networks, Proc. of the 24th Conference of the IEEE Communication Society (INFOCOM'05), March, 2005.

  • J. Bruck, J. Gao, A. Jiang, MAP: Medial Axis Based

Geometric Routing in Sensor Networks, to appear in the 11th Annual International Conference on Mobile Computing and Networking (MobiCom’05), August, 2005.

slide-3
SLIDE 3

9/29/05 Jie Gao, CSE590-fall05 3

Routing in a dense sensor field with Routing in a dense sensor field with complex geometry complex geometry

  • Is there an efficient routing scheme for dense

sensor filed with complex geometry?

  • Light-weight
  • Localized routing.
  • Guaranteed delivery.
  • Load balancing.
  • Robust to dynamic change.
slide-4
SLIDE 4

9/29/05 Jie Gao, CSE590-fall05 4

General methodology: 2 General methodology: 2-

  • level architecture

level architecture

  • When the sensor field has complex

geometric shape or nontrivial topology.

  • Top level: a compact abstraction of

the global geometry/topology of the sensor field. E.g., there is a hole in the middle of the sensor field.

  • Bottom level: a naming scheme with

respect to the global topology that enables local gradient routing.

slide-5
SLIDE 5

9/29/05 Jie Gao, CSE590-fall05 5

General methodology: routing General methodology: routing

  • Top level: a compact abstraction of

the global geometry/topology of the sensor field. Check the compact abstract graph to get a global guidance on how to get around obstacles.

  • Bottom level: a naming scheme with

respect to the global topology that enables local gradient routing. The actual routing is local gradient descending.

slide-6
SLIDE 6

9/29/05 Jie Gao, CSE590-fall05 6

General methodology: routing General methodology: routing

  • Top level: a compact abstraction of

the global geometry/topology of the sensor field. Stable topological information is proactively maintained.

  • Bottom level: a naming scheme with

respect to the global topology that enables local gradient routing. Actual routing is local and reactive!

slide-7
SLIDE 7

9/29/05 Jie Gao, CSE590-fall05 7

GLIDER: GLIDER:

Gradient Landmark Gradient Landmark-

  • based Distributed Routing

based Distributed Routing for Sensor Networks for Sensor Networks

slide-8
SLIDE 8

9/29/05 Jie Gao, CSE590-fall05 8

Combinatorial Combinatorial Delaunay Delaunay graph graph

  • Given a communication graph
  • n sensor nodes, with path

length in shortest path hop counts

  • Landmarks flood the network.

Each node learns the hop count to each landmark.

  • Construct Landmark Voronoi

Complex (LVC)

  • Select a set of landmarks
slide-9
SLIDE 9

9/29/05 Jie Gao, CSE590-fall05 9

Combinatorial Combinatorial Delaunay Delaunay graph graph

  • Each sensor identifies its

closest landmark.

  • A sensor is on the boundary if it

has 2 closest landmarks or its distance to its closest and 2nd closest landmarks differs by 1 (due to rounding error).

  • If flooding are synchronized,

then restricted flooding up to the boundary nodes is enough.

  • Construct Landmark Voronoi

Complex (LVC)

slide-10
SLIDE 10

9/29/05 Jie Gao, CSE590-fall05 10

Combinatorial Combinatorial Delaunay Delaunay graph graph

  • Construct Combinatorial

Delaunay Triangulation (CDT) on landmarks

  • If there is at least one

boundary node between landmark i and j, then there is an edge ij in CDT.

  • Holes in the sensor field

map to holes in CDT.

  • CDT is broadcast to the

whole network.

slide-11
SLIDE 11

9/29/05 Jie Gao, CSE590-fall05 11

Definitions Definitions

slide-12
SLIDE 12

9/29/05 Jie Gao, CSE590-fall05 12

Theorem: If G is connected, then the Combinatorial Delaunay graph D(L) for any subset of landmarks is also connected.

  • 1. Compact
  • 2. Each edge in D(L) is relatively

stable

  • 3. Each edge can be mapped to a

path that uses only the nodes in the two corresponding Voronoi tiles; Each path in G can be “lifted” to a path in D(L)

Combinatorial Combinatorial Delaunay Delaunay graph graph

slide-13
SLIDE 13

9/29/05 Jie Gao, CSE590-fall05 13

Information Stored at Each Node Information Stored at Each Node

  • The shortest path tree on D(L)

rooted at its home landmark

  • The predecessors on the shortest

path trees (in the network) rooted at its reference landmarks, i.e., the next hop towards the reference landmark.

  • A bit to record if the node is on

the boundary of a tile

  • Its coordinates and those of its

neighbors for greedy routing

slide-14
SLIDE 14

9/29/05 Jie Gao, CSE590-fall05 14

Local Routing with Global Guidance Local Routing with Global Guidance

  • Global Guidance

the D(L) that encodes global connectivity information is accessible to every node for proactive route planning on tiles.

  • Local Routing

high-level routes on tiles are realized as actual paths in the network by using reactive protocols.

slide-15
SLIDE 15

9/29/05 Jie Gao, CSE590-fall05 15

GLIDER GLIDER --

  • - Routing

Routing

  • 2. Local routing

– Inter-tile routing p q u3 u2 u1

  • 1. Global planning

– Intra-tile routing

slide-16
SLIDE 16

9/29/05 Jie Gao, CSE590-fall05 16

Intra Intra-

  • tile routing

tile routing

  • How to route from one node to

the other inside a tile?

  • Each node knows the hop count

to home landmark and neighboring landmarks.

  • No idea where the landmarks

are. L2 L1

p

L5 L4 L3

L0 q

  • A bogus proposal: p routes to

the home landmark then routes to q.

slide-17
SLIDE 17

9/29/05 Jie Gao, CSE590-fall05 17

Local virtual coordinates: c(p)= (pL0

2– s,…, pLk 2– s)

(centered metric) Distance function: d(p, q) = |c(p) – c(q)|

2

Centered Landmark Centered Landmark-

  • Distance Coordinates

Distance Coordinates and Greedy Routing and Greedy Routing

Greedy strategy: to reach q, do gradient descent on the function d(p, q)

L2 L1

p

L5 L4 L3

L0 q

Reference landmarks: L0,…Lk T(p) = L0 Let s = mean(pL0

2,…, pLk 2)

slide-18
SLIDE 18

9/29/05 Jie Gao, CSE590-fall05 18

Local Landmark Coordinates Local Landmark Coordinates – – No Local No Local Minimum Minimum

  • Theorem: In the continuous Euclidean

plane, gradient descent on the function d(p, q) always converges to the destination q, for at least three non-collinear landmarks.

  • Landmark-distance coordinates
  • Centered coordinates
  • The function is a linear

function!

Landmark i

slide-19
SLIDE 19

9/29/05 Jie Gao, CSE590-fall05 19

Node Density vs. Success Rate of Greedy Node Density vs. Success Rate of Greedy Routing Routing

2000 nodes distributed on a perturbed grid. Perturbation ~ Gaussian(0, 0.5r), where r is the radio range In the discrete case, we empirically observe that landmark gradient descending does not get stuck on networks with reasonable density (each node has on average six neighbors or more).

slide-20
SLIDE 20

9/29/05 Jie Gao, CSE590-fall05 20

p q u1 u2 u3

slide-21
SLIDE 21

9/29/05 Jie Gao, CSE590-fall05 21

Examples Examples

Each node on average has 6 one-hop neighbors.

slide-22
SLIDE 22

9/29/05 Jie Gao, CSE590-fall05 22

Simulations Simulations – – Path Length and Load Path Length and Load Balancing Balancing

GPSR GLIDER

Each node on average has 6 one-hop neighbors.

52 hops 41 hops

slide-23
SLIDE 23

9/29/05 Jie Gao, CSE590-fall05 23

Simulations Simulations – – Hot Spots Comparison Hot Spots Comparison

Randomly pick 45 source and destination pairs, each separated by more than 30 hops. Blue (6-8 transit paths), orange (9-11 transit paths), black (>11 transit paths)

GPSR GLIDER

slide-24
SLIDE 24

9/29/05 Jie Gao, CSE590-fall05 24

Open issues Open issues

  • How to select landmarks? What is a good criterion in

selecting landmarks?

  • What can we say about the intra-tile greedy routing on

a discrete network?

  • Notice that one of the challenges is that the hop count

is a rough estimation of the Euclidean distance. And the approximation is independent of the sensor density.

slide-25
SLIDE 25

9/29/05 Jie Gao, CSE590-fall05 25

MAP: MAP:

Medial Medial-

  • Axis Based Geometric Routing in

Axis Based Geometric Routing in Sensor Networks Sensor Networks

slide-26
SLIDE 26

9/29/05 Jie Gao, CSE590-fall05 26

Medial Axis Medial Axis ---

  • -- Definitions

Definitions

Given a bounded region R, the medial axis of its boundary ∂

∂ ∂ ∂R is the

collection of points with two or more closest points in ∂

∂ ∂ ∂R .

The medial axis of a piecewise analytic curve is a finite number of continuous curves. Any bounded open subset in R2 is homotopy equivalent to its medial

  • axis. Thus it has the same topological features of R.
slide-27
SLIDE 27

9/29/05 Jie Gao, CSE590-fall05 27

Partitioning into Canonical Regions Partitioning into Canonical Regions

A chord is a line segment connecting a point on the medial axis and its closest points on ∂

∂ ∂ ∂R. A point on the medial axis with 3 or more

closest points on ∂

∂ ∂ ∂R is called a medial vertex.

We can partition the region R by the medial axis and the chords of medial vertices into canonical pieces, each resembling a stretched rectangular region.

slide-28
SLIDE 28

9/29/05 Jie Gao, CSE590-fall05 28

Naming w.r.t. Medial Axis Naming w.r.t. Medial Axis

A point p is named by the chord x(p)y(p) it stays on. (x(p), y(p), d(p)) x(p) is a point on the medial axis. y(p) is the closest point of x(p) on ∂

∂ ∂ ∂R.

d(p) is height, i.e., relative distance from x(p): |px(p)|/|x(p)y(p)|. Theorem: each point is given a unique name.

slide-29
SLIDE 29

9/29/05 Jie Gao, CSE590-fall05 29

Naming is unique Naming is unique

  • Lemma 1: for a point p not on

the medial axis, if p is on a chord xy, then y is p’s only closest point on ∂ ∂ ∂ ∂R.

  • Say y’ is p’s closest point, then

|xy’| ≤ |xp|+|py’| < |xy|.

  • Lemma 2: If p is not on the

medial axis, there is a unique chord through p.

slide-30
SLIDE 30

9/29/05 Jie Gao, CSE590-fall05 30

Routing inside a canonical piece Routing inside a canonical piece

The naming system naturally builds a Cartesian coordinate system: x-longitude curve --- the chord attached to point x on the medial axis h-latitude curve --- the points with the same height h. Inside a canonical piece, we just do Manhattan routing!

slide-31
SLIDE 31

9/29/05 Jie Gao, CSE590-fall05 31

Routing between canonical pieces Routing between canonical pieces

The canonical pieces are glued together by the medial axis. With the knowledge of the medial axis – we can route from pieces to pieces by checking only local neighbor information.

slide-32
SLIDE 32

9/29/05 Jie Gao, CSE590-fall05 32

Routing between canonical pieces Routing between canonical pieces

Two canonical pieces adjacent to the same medial vertex may not share a chord. A fix: build rotary systems around medial vertices. Polar coordinate system: (|ap|/r, θ), r is the maximum radius of a empty ball centered at a medial vertex a.

slide-33
SLIDE 33

9/29/05 Jie Gao, CSE590-fall05 33

Routing between canonical pieces Routing between canonical pieces

Routing is done in 2 steps: 1. Check the medial axis graph, find a route connecting the corresponding points on the medial axis as guidance. 2. Realize the route by local gradient descending, in either the Cartesian coordinate system inside a canonical piece, or a polar coordinate system around a medial vertex.

slide-34
SLIDE 34

9/29/05 Jie Gao, CSE590-fall05 34

Routing between canonical pieces Routing between canonical pieces

Routing is done in 2 steps: 1. Check the medial axis graph, find a route connecting the corresponding points on the medial axis as guidance. 2. Realize the route by local gradient descending, in either the Cartesian coordinate system inside a canonical piece, or a polar coordinate system around a medial vertex.

slide-35
SLIDE 35

9/29/05 Jie Gao, CSE590-fall05 35

Challenges of MAP in discrete networks Challenges of MAP in discrete networks

The hop count is only a rough approximation to the Euclidean distance. Low cost and distributed construction of a robust medial axis is desirable. The exact medial axis is sensitive to noises. We use the same intuition as in the continuous case but keep these challenges in mind.

slide-36
SLIDE 36

9/29/05 Jie Gao, CSE590-fall05 36

MAP in discrete networks MAP in discrete networks ---

  • -- a sketch

a sketch

Sketch of Naming Protocol Sketch of Routing Protocol Detect boundaries of the sensor field. Construct the medial axis graph. Assign names to sensors. Mimic Manhattan routing. Guarantee delivery.

slide-37
SLIDE 37

9/29/05 Jie Gao, CSE590-fall05 37

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Detect boundaries of the sensor field.

Find sample nodes on boundaries. By manual identification, or automatic detection [Fekete’04, Funke’05]

Network Boundary nodes

slide-38
SLIDE 38

9/29/05 Jie Gao, CSE590-fall05 38

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Detect boundaries of the sensor field.

Detect boundaries (a curve reconstruction problem). Method: use local flooding to connect nearby boundary nodes, and include nodes on the shortest path between them as boundary nodes.

slide-39
SLIDE 39

9/29/05 Jie Gao, CSE590-fall05 39

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Detect boundaries of the sensor field.

Detect boundaries (a curve reconstruction problem). Method: use local flooding to connect nearby boundary nodes, and include nodes on the shortest path between them as boundary nodes.

slide-40
SLIDE 40

9/29/05 Jie Gao, CSE590-fall05 40

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Construct the medial axis graph.

Detect medial nodes (the sensors with 2 or more closest boundary nodes) by restricted flooding.

The flooding is in fact a Voronoi partition of the network. So every node receives only one or a few flooded messages. To suppress noise, for those nodes whose closest boundary nodes are

  • n the same boundary and are very

close to each other, we do not consider them to be medial nodes.

slide-41
SLIDE 41

9/29/05 Jie Gao, CSE590-fall05 41

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Construct the medial axis graph.

Detect medial nodes (the sensors with 2 or more closest boundary nodes) by restricted flooding.

slide-42
SLIDE 42

9/29/05 Jie Gao, CSE590-fall05 42

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Construct the medial axis graph.

Connect medial nodes into a graph and clean it up (remove very short branches).

medial axis

slide-43
SLIDE 43

9/29/05 Jie Gao, CSE590-fall05 43

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Construct the medial axis graph.

Connect medial nodes into a graph and clean it up (remove very short branches). Medial axis graph: two vertices, two edges.

slide-44
SLIDE 44

9/29/05 Jie Gao, CSE590-fall05 44

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Construct the medial axis graph.

Connect medial nodes into a graph and clean it up (remove very short branches). Medial axis graph: two vertices, two edges. Broadcast this simple graph to all sensors.

slide-45
SLIDE 45

9/29/05 Jie Gao, CSE590-fall05 45

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Assign names to sensors. Recall: in the continuous case, a point is named based on the medial axis graph and the corresponding chord.

slide-46
SLIDE 46

9/29/05 Jie Gao, CSE590-fall05 46

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Assign names to sensors for a discrete network:

Replace chords by (approximate) shortest path trees. “Medial axis with dangling trees”

slide-47
SLIDE 47

9/29/05 Jie Gao, CSE590-fall05 47

MAP in discrete networks MAP in discrete networks ---

  • -- naming

naming

Assign names to sensors for a discrete network:

Replace chords by (approximate) shortest path trees. Nodes are assigned names w.r.t. where it lies in its tree. All the computation is simple and local. Take advantage of the discreteness, assign names in a way to make it easy for insertion / deletion of nodes and edges.

slide-48
SLIDE 48

9/29/05 Jie Gao, CSE590-fall05 48

MAP in discrete networks MAP in discrete networks ---

  • -- routing

routing

Medial Axis based Routing Protocol Mimic Manhattan routing. Guaranteed delivery:

If there is no better choice, route toward the medial axis.

Maintain balanced load:

Try to route in parallel with the medial axis as much as possible, to avoid overloading nodes near the medial axis.

Building a small neighborhood routing table (e.g., a table for nodes within 3 hops) improves routing performance.

Due to the discreteness of hop count distance.

slide-49
SLIDE 49

9/29/05 Jie Gao, CSE590-fall05 49

Simulation Examples Simulation Examples

Outdoor sensor field: Campus

5735 nodes in the sensor network

slide-50
SLIDE 50

9/29/05 Jie Gao, CSE590-fall05 50

Simulation Examples Simulation Examples

Outdoor sensor field: Campus

The simple medial axis graph: 18 nodes, 27 edges.

slide-51
SLIDE 51

9/29/05 Jie Gao, CSE590-fall05 51

Simulation Examples Simulation Examples

Outdoor sensor field: Campus Routing path comparison:

source destination

Blue: MAP Green: GPSR (geographical forwarding)

slide-52
SLIDE 52

9/29/05 Jie Gao, CSE590-fall05 52

Simulation Examples Simulation Examples

Outdoor sensor field: Campus ------ Load Balance Comparison

MAP: GPSR (Geographical Forwarding)

slide-53
SLIDE 53

9/29/05 Jie Gao, CSE590-fall05 53

Simulation Examples Simulation Examples

Outdoor sensor field: Campus ---- Routing Distance Comparison

For the i-th path: Number of hops Euclidean length MAP: GPSR: MAP: GPSR: Blue: Red: Blue: Red:

slide-54
SLIDE 54

9/29/05 Jie Gao, CSE590-fall05 54

Test MAP on networks modeled by quasi unit disk graphs Quasi unit disk graph model:

If two nodes are within distance , they are connected. If two nodes are more than away, they are not connected. If the distance of two nodes is between and , a link between them exists with probability .

Note:

Unit disk graph corresponds to the special case . The ratio of the largest and the smallest coverage ranges is .

Simulation Examples Simulation Examples

slide-55
SLIDE 55

9/29/05 Jie Gao, CSE590-fall05 55

Test MAP on networks modeled by quasi unit disk graphs Example:

Maximum coverage range: Minimum coverage range:

An example coverage area of a node:

Simulation Examples Simulation Examples

slide-56
SLIDE 56

9/29/05 Jie Gao, CSE590-fall05 56

Test MAP on networks modeled by quasi unit disk graphs Example:

Medial Axis (for campus): Although the network is very different from unit disk graph, the construction of medial axis is very robust.

Simulation Examples Simulation Examples

slide-57
SLIDE 57

9/29/05 Jie Gao, CSE590-fall05 57

Test MAP on networks modeled by quasi unit disk graphs Example: Compare MAP Load: both well balanced

(UDG)

Simulation Examples Simulation Examples

slide-58
SLIDE 58

9/29/05 Jie Gao, CSE590-fall05 58

For the i-th path: Number of hops Euclidean length Quasi-UDG: UDG: Quasi-UDG: UDG:

MAP on quasi unit disk graphs: Routing Distance

Blue: Red: Blue: Red:

Campus Airport Terminal

Simulation Examples Simulation Examples

slide-59
SLIDE 59

9/29/05 Jie Gao, CSE590-fall05 59

Comparison of GLIDER and MAP Comparison of GLIDER and MAP

1. Different ways to represent the global topology. 2. More understand of the performance comparison is necessary. 3. GLIDER works also for 3D sensor field, but landmark selection requires more study.

slide-60
SLIDE 60

9/29/05 Jie Gao, CSE590-fall05 60

Summary Summary

  • Topology-enabled naming and routing schemes that

based purely on link connectivity information

  • Separate the global topology and the local

connectivity

– Use topological information to build a routing infrastructure – Propose a new coordinate system for a node based on its hop distances to a subset of landmarks

  • Advantages

– takes only connectivity graph as input – infrastructure is lightweight – routing is efficient and local