wireless networks routing2003

109
Wireless Networks Routing    國立屏東教育大學   資訊科學系 王朱福 教授 

Upload: akttripathi

Post on 02-Apr-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 1/109

Wireless Networks Routing

   國立屏東教育大學   資訊科學系 王朱福 教授 

Page 2: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 2/109

Outlines

Wireless networks architectures

Routing protocols for wireless networks

Mobile ad-hoc Networks (MANETs)

Wireless Sensor Networks (WSNs)

Vehicle ad-hoc networks (VANETs)

Page 3: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 3/109

Wireless Communications

Wireless networks use radio frequency channels as

their physical medium for communications.

Each node in the network broadcast information

which can be received by all nodes within its direct

transmission range.

Page 4: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 4/109

Wireless network architectures

Infrastructure-based wireless networks

Fixed base stations / access points areused.

Infrastructure-less wireless networks(Ad-hoc networks)

 No fixed infrastructure support are

available. Hybrid wireless networking

architecture

Page 5: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 5/109

Wireless network architectures (cont.)

Infrastructure-based wireless networks

Uses fixed base stations / access points which are responsible

for coordinating communication between the hosts.

Single-hop communication

Page 6: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 6/109

Ad-hoc networks

Consists of nodes which communicate with each other through

wireless medium without any fixed infrastructure.

Multi-hop communications

Wireless network architectures (cont.)

Page 7: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 7/109

Properties of ad-hoc networks

 No pre-build infrastructure

All nodes are wireless capable

Base stations are not necessary

Ease of deployment

Quickly deploy

Page 8: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 8/109

Some emerging types of wireless networks

MANETs (Mobile Ad-hoc Networks)

WSNs (Wireless Sensor Networks)

VANET (Vehicle Ad-hoc Networks)

WMN (Wireless Mesh Networks)

… 

Page 9: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 9/109

Routing protocols for wireless networks –  

MANETs

A dynamically reconfigurable ad-hoc network.

Main issues in the design and operation of MANETs.

(1) MANETs are more unstable than wired-networks because

of the lack of a centralized entity.

Page 10: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 10/109

 

(2) Mobility will cause network topology to change,

which results in a great change in connection between

two hosts.

(3) The connectivity between network nodes is not

guaranteed, so intermittent connectivity is common.

Routing protocols for wireless networks –  

MANETs (cont.)

Page 11: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 11/109

1

2

6

7

9

3

4

5

8

10

The main routing

 problems for MANETs

Node mobility  

Routing path broken

frequently

Page 12: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 12/109

Traditional ad-hoc routing protocols

Page 13: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 13/109

Routing protocols for MANETs

Flooding-type routing protocol (flooding)

Table-driven routing protocol (proactive)

On-demand routing protocol (reactive)

Hybrid routing protocol

Page 14: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 14/109

Flooding-type routing protocol

(Flooding)

1

4

3

2

7

166

15

11

10

9

8

20

19

18

17

14

13

12

Page 15: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 15/109

Advantage: They do not need to maintain network 

topology, or is looking for data transmission path, so

they can quickly transfer information.

Disadvantage: Node receives information after, must

repeat broadcast, making it fast consumes its batteryenergy, and produces broadcast storm .

Flooding-type routing protocol

(Flooding)

Page 16: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 16/109

Table-driven routing protocol (proactive):

They maintain the global topology information in the

form of tables at every node. These tables are updated frequently in order to

maintain consistent and accurate network state

information. For example, DSDV , WRP, and STAR.

Routing protocols for MANETs (cont.)

Page 17: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 17/109

The DSDV routing protocol is an enhanced version of the distributed Bellman-Ford algorithm where each

node maintain a table that contain the shortest distanceand the first node on the shortest path to every other node in the network.

Table-driven routing protocol —  Destination Sequenced Distance Vector routing (DSDV)

Page 18: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 18/109

15

14

13

1211

10 98

7

6

5

4

3

21

Dest NextNode Dist seqNo

2 2 1 22

3 2 2 26

4 5 2 325 5 1 134

6 6 1 144

7 2 3 162

8 5 3 170

9 2 4 186

10 6 2 142

11 6 3 176

12 5 3 190

13 5 4 198

14 6 3 214

15 5 4 256

Routing table for Node 1

Table-driven routing protocol –  DSDV (cont.)

Example:

Page 19: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 19/109

Table-driven routing protocol –  DSDV (cont.)

Each node, upon receiving an update, quickly

disseminates it to its neighbors in order to propagatethe broken-link information to the whole network.

Thus a single link break leads to the propagation of 

table update information to the whole network.

Page 20: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 20/109

15

14

13

1211

10

98

7

6

5

4

3

21

Routing table for Node 1

Dest   NextNode  Dist  seqNo 2  2  1  22 3  2  2  26 4  5  2  32 5  5  1  134 6  6  1  144 7  2  3  162 8  5  3  170 9  2  4  186 10  6  2  142 11  5  4  180 12  5  3  190 13  5  4  198 14  6  3  214 15  5  4  256 

Table-driven routing protocol –  DSDV (cont.)

Page 21: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 21/109

Advantage: 

It can be applied to MANETs with few modifications.The updates are propagated throughout the network in

order to maintain an up-to-date view of the network 

topology at all the nodes.

Table-driven routing protocol –  DSDV (cont.)

Page 22: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 22/109

Disadvantage: 

(1) The DSDV suffers from excessive control

overhead that is proportional to the number of nodes in the network and therefore is notscalable in MANETs, which have limited

 bandwidth and whose topologies are highly

dynamic.

Table-driven routing protocol –  DSDV (cont.)

Page 23: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 23/109

(2) In order to obtain information about a particular 

destination node, a node has to wait for a tableupdate message initiated by the same destination

node. This delay could result in stale routing

information at nodes.

Table-driven routing protocol –  DSDV (cont.)

Page 24: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 24/109

On-demand routing protocol (reactive):

They execute the path-finding process and exchange

routing information only when a path is required by anode to communicate with a destination.

For example, AODV and DSR .

Routing protocols for MANETs (cont.)

Page 25: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 25/109

AODV, a route is established only when it is required

 by a source node for transmitting data packets.

In AODV, the source node and intermediate nodes

store the next-hop information corresponding to each

flow for data packet transmission.

On-demand routing protocol –  Ah-hoc On-demand Distance-Vector Routing Protocol (AODV)

Page 26: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 26/109

The major difference between AODV and other on-

demand routing protocol is that it uses a destination

sequence number ( DestSeqNum) to determine an up-

to-date path to the destination.

A node updates its path information only if the

DestSeqNum of the current packet received is greater than the last DestSeqNum stored at the node.

On-demand routing protocol –  AODV (cont.)

Page 27: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 27/109

AODV utilizes routing tables to store routing

information.

The routing table stores:

destination

addr

next-hop

addr

destination

sequence

hop count life time

On-demand routing protocol –  AODV (cont.)

Page 28: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 28/109

1. If a node wants to send a packet to some destination. At

first, it checks its routing table to determine whether it has

a current route to the destination or not.

=>If yes, it forwards the packet to next hop node of the route.

=>If no, it initiates a route discovery process.

The AODV routing procedure

Page 29: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 29/109

The Route discovery process :

It begins with the creation of a RouteRequest (RREQ) packet.Broadcasting is done via flooding.

Broadcast ID gets incremented each time a source node uses

RREQ.

Broadcast ID and source IP address form a unique identifier for 

the RREQ.Type Reserved Hop Count

Broadcast ID

Destination IP Address

Destination Sequence Number

Source IP Address

Source Sequence Number

Time Stamp

RREQ packet format

The AODV routing procedure (cont.)

Page 30: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 30/109

2. Sender S broadcasts a RREQ to all its neighbors, each node

receiving RREQ forwards RREQ to its neighbors.*Sequence numbers help to avoid the possibility of forwarding the same packet more than once.

3. An intermediate node (not the destination) may also send a

RouteReply (RREP) packet  provided that it knows a morerecent path than the one previously known to sender S.

Type Reserved Hop Count

Destination IP Address

Destination Sequence Number

Source IP Address

Life Time

RREP packet format

The AODV routing procedure (cont.)

Page 31: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 31/109

4. As an intermediate node receives the RREP packet,

it sets up a forward path entry to the destination in

its routing table.

5. The source node can begin data transmission upon

receiving the first RREP.

The AODV routing procedure (cont.)

Page 32: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 32/109

Illustration of route establishment in AODV

1. Node S needs a routing path to node D.

2. Node S creates a RREQ packet

RREQ [D’s IP addr, seq#, S’s IP addr, seq#, hopcount] 

 Node S broadcasts RREQ to its neighbors.

S A

B

C

D

RREQ{D, D’seq, S, S’seq, 0} 

Page 33: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 33/109

2. Node A rebroadcasts RREQ to all its neighbors.

S A

B

C

D

RREQ{D, D’seq, S, S’seq, 1} 

RREQ{D, D’seq, S, S’seq, 1} 

Illustration of route establishment in AODV (cont.)

Page 34: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 34/109

3. Since, node C known a route to D. Node C creates a RREP packet and unicasts RREP to A.

Set forward path in node C’s routing table. 

S A

B

C

D

RREP{D, D’seq, S, S’seq, 1} 

Illustration of route establishment in AODV (cont.)

C’s Routing table 

dest nexthop hopcount

D D 1

Page 35: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 35/109

3. Node A creates a RREP packet and unicasts RREP to S.

4. Set forward path in node A’s routing table. 

S A

B

C

D

Illustration of route establishment in AODV (cont.)

C’s Routing table 

dest nexthop hopcount

D D 1

RREP{D, D’seq, S, S’seq, 2} 

A’s Routing table 

dest nexthop hopcount

D C 2

Page 36: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 36/109

4. Set forward path in node S’s routing table. 

S A

B

C

D

Illustration of route establishment in AODV (cont.)

C’s Routing table 

dest nexthop hopcount

D D 1

A’s Routing table 

dest nexthop hopcount

D C 2

S’s Routing table 

dest nexthop hopcount

D A 3

Page 37: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 37/109

1. If intermediate nodes or the destination move.The next hop links break.

Routing tables are updated for the link failures.

All active neighbors are informed by RouteError (RRER) packet.

2. When a source node receives an RRER, it can

reinitiate the route discovery process.

3. It can be also dealt with by a local fix scheme.

Route maintenance in AODV (Path broken due to host mobility)

Page 38: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 38/109

Assume link between C and D breaks.

 Node C invalidates route to D in route table.

 Node C creates RRER packet and sends to its upstream

neighbors.

 Node A sends RRER to S. Node S rediscovers route if still needed.

S A

B

C

DRRER 

Illustration of route maintenance in AODV

RRER 

Page 39: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 39/109

Advantage:

The routes are established on demand and the destination

sequence number can find the latest route to the

destination.

Disadvantage:

The intermediate nodes can lead to inconsistent routes if 

the source sequence number is very old. The periodic beaconing leads to unnecessary bandwidth

consumption.

On-demand routing protocol –  AODV (cont.)

Page 40: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 40/109

DSR designed to restrict the bandwidth consumed

 by control packets in ad hoc wireless networks by

eliminating the periodic table-update messagesrequired in the table-driven approach.

On-demand routing protocol –  

Dynamic Source Routing Protocol (DSR)

Page 41: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 41/109

Route Discovery

(broadcasting the RREQ packets)

1

2

3

5

7

6

4

8<1>

<1,2> <1,3,5,7>

<1,4>

<1,4,6>

<1,3,5>

<1,3><1>

<1>

Source

Destination

Page 42: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 42/109

Route Discovery (cont.)

(propagating the RREP packets back to source)

1

2

3

5

7

6

4

8

<1,4,6>

<1,4,6>

<1,4,6>

Source

Destination

<1,3,5, 7>

<1,3,5, 7>

b id i l

Page 43: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 43/109

Hybrid routing protocol –  

Zone Routing Protocol (ZRP)

A hybrid routing protocol which effectively combines

the best features of both proactive and reactive routing

 protocols.

The key concept employed in ZRP is to use a

 proactive routing scheme within a limited zone in the

γ-hop neighborhood of every node, and use a reactiverouting scheme for nodes beyond this zone.

Page 44: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 44/109

15

1413

1211

10 98

76

5

4

3

21

Routing Zone with Radius = 1

Routing Zone with Radius = 2

Routing Zone for Node 8

Routing zone for node 8 in ZRP

Performing the Proactive Routing for node 8

Page 45: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 45/109

15

14

13

1211

10

9

8

7

6

5

4

321

Routing Zone for Node8

16

RouteRequest

RouteReply

Routing Zone with Radius = 2

Performing the Proactive Routing for node 8

(destination=node 16)

Page 46: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 46/109

Advantage:

By combining the best features of proactive and

reactive routing schemes, ZRP reduces the control

overhead.

Disadvantage:

But in the absence of a query control, ZRP tends to

 produce higher control overhead than the previously

schemes.

Hybrid routing protocol –  ZRP (cont.)

Page 47: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 47/109

 Other routing issue for MANET –  The Intermittent connected routing problem

In case of the nodes density of a MANET is sparse, it

will cause the intermittent connected routing problem,

and consequently the traditional routing protocols will

 be no longer fit.

Page 48: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 48/109

Intermittent connected routing problem

Page 49: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 49/109

Epidemic routing protocol

Epidemic is a simple routing protocol to resolve the

intermittent connected routing problem.

The nodes adopt store-carry-forward communication

scheme.

A node can carry the messages in its cache if no any direct

routing path to the destination is available. If a node moves into the node’s transmission range, they

will exchange the carried messages between them.

Page 50: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 50/109

S

3

2

14

5

(Epidemic routing)

Page 51: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 51/109

A sensor network is composed of a large number of 

multifunctional and small sensor nodes.

WSN allows random deployment in inaccessible

terrains or disaster relief operations.

Sensor nodes are fitted with an onboard processor, itconsists of sensing, data processing, and

communicating components.

Routing protocols for wireless networks –  

WSNs

Page 52: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 52/109

Introduction to WSNs -- Communication architecture

Internet or

satelite

User

Task manager node

Sink

Sensor field

Page 53: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 53/109

Sink 

Satelite

Introduction to WSNs -- Communication architecture (cont.)

Page 54: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 54/109

The sensor nodes are usually scattered in a sensor 

field.

Sensor nodes can collect data and route data back tosink.

The sink may communicate with the task manager 

node via Internet or Satellite.

Introduction to WSNs -- Communication architecture (cont.)

Page 55: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 55/109

Page 56: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 56/109

The number of sensor nodes in a sensor network 

can be several orders of magnitude higher.

Sensor nodes are densely deployed.

Sensor nodes are prone to failures.

Sensor nodes are limited in power, computational

capacities, and memory.

Introduction to WSNs –  The differences between WSNs and ad-hoc networks

Page 57: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 57/109

Sensor nodes mainly use a broadcast communication

 paradigm, whereas most ad hoc networks are based

on point-to-point communications.

Sensor nodes may not have global identification (ID)

 because of the large amount of overhead and large

number of sensors.

Introduction to WSNs –  The differences between WSNs and ad-hoc networks (cont.)

Page 58: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 58/109

Introduction to WSNs –  Sensor node

Page 59: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 59/109

Aqua node

Introduction to WSNs –  Sensor node (cont.)

Page 60: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 60/109

Aqua node

Introduction to WSNs –  Sensor node (cont.)

Page 61: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 61/109

Mobilizer Location Finding System Power Generator

Power Unit

Sensor ADC

Processor

Storage

Transceiver

Sensing Unit Processing Unit Transmission Unit

Introduction to WSNs –  Sensor node (cont.)

Page 62: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 62/109

Introduction to WSNs –  Design factors

Production costs

The cost of each sensor node should be much less

than US $1 in order for the sensor network to be

feasible.

Transmission media

In a multi-hop sensor network, communicating

nodes are linked by radio, infrared or optical

media.

Page 63: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 63/109

Introduction to WSNs –  Design factors (cont.)

Environment

Sensor network usually work unattended in remote

geographic areas, such as large machinery, ocean,

 biologically and chemically contaminated field.

Hardware

A sensor node is made up of four basic components:

sensing unit, processing unit, transceiver unit,

 power unit, and also have additional application-dependent components.

Page 64: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 64/109

Three phases of WSNs deployment Pre-deployment phase

Sensor nodes can be either thrown in mass

or placed one by one in the sensor field.

Post-deployment phase

After deployment, topology changes are

due to change in sensor nodes’ 

Position available energy

malfunctioning

Introduction to WSNs –   Network deployment

Page 65: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 65/109

Re-deployment phase

Additional sensor nodes can be re-deployed at

any time to replace the malfunctioning nodes

or due to changes in task dynamics.

Addition of new nodes poses a need to re-

organize the network.

Introduction to WSNs –   Network deployment (cont.)

Page 66: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 66/109

 Node deployment

In manual deployment, the sensors are

manually placed and data is routed through

 predetermined paths.

Energy consumption without losing accuracy

Sensor nodes can use up their limited energy

 performing computations and transmitting

information.

Introduction to WSNs –  Routing challenges and design

issues

Page 67: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 67/109

Data reporting method

Data reporting can be categorized as either time-

driven, event-driven, query-driven, or a hybrid.

The time-driven method is suitable for 

applications that require periodic data.

Event-driven and query-driven methods, sensor 

nodes react immediately to sudden and drasticchanges in the value of a sensed attribute

Introduction to WSNs –  Routing challenges and design

issues (cont.)

Page 68: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 68/109

Coverage

A given sensor’s view of the environment is

limited in both range and accuracy.

Area coverage is an important design

 parameter.

Quality of service

Bounded latency for data delivery is another 

condition for time-constrained applications.

As energy is depleted, the network may be

required to reduce the quality of results in

order to reduce energy dissipation.

Introduction to WSNs –  Routing challenges and design

issues (cont.)

Page 69: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 69/109

Routing protocols for WSNs (cont.)

Flat-based

All nodes are typically assigned equal roles or 

functionality.

Hierarchical-based

 Nodes will play different roles in the network.

Location-based

Sensor node’s positions are exploited to route

data in the network.

R i l f WSN ( )

Page 70: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 70/109

Routing protocols for WSNs (cont.)

Flat-based routing

Each node typically plays the same role andsensor nodes collaborate to perform the sensing

task.

This consideration has led to data-centric routing,where the BS sends queries to certain regions and

waits for data from the sensors located in the

selected regions.

Early work on data centric routing were shown to

save energy through data negotiation and

elimination of redundant data.

Page 71: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 71/109

Flat-based routing exampleSPIN (Sensor Protocols for Information via Negotiation)

ADV REQ DATA

ADV REQ DATA

 A

1. Data is described by meta-message (ADV).

2. Send ADV to neighbors.

3. If neighbor do not have the data, sends REQ; otherwise, do nothing.4. As the REQ received by sender, then it sends the data to the

neighbor.

Fl t b d ti l

Page 72: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 72/109

Flat-based routing exampleSPIN (cont.)

Advantage

Each node only needs to know its one-hop

neighbors.

Disadvantage

Data advertisement cannot guarantee the

delivery of data.

R i l f WSN ( )

Page 73: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 73/109

Hierarchical routing is two-layer routing where one

layer is used to select cluster heads and the other for 

routing.

Higher-energy nodes can be used to process and sendthe information, while low-energy nodes can be used

to perform the sensing in the proximity of the target.

The creation of clusters and assigning special tasks tocluster heads can greatly contribute to overall system

scalability, lifetime, and energy efficiency.

Routing protocols for WSNs (cont.)

Hierarchical-based routing 

Page 74: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 74/109

Proactive clustering.

 Node transmits sensed data only if both of the following

conditions hold:

1. The sensed value is greater than a Hard Threshold .2. The sensed value differs from last transmitted value

 by more than a Soft Threshold .

Hi hi l b d ti l

Page 75: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 75/109

Hierarchical-based routing exampleTEEN (Threshold-Sensitive Energy Efficient Sensor Network Protocol)

Node

1st cluster head

2nd cluster head

Sink 

Cluster 

S

D

Hi hi l b d ti l

Page 76: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 76/109

Advantage

Good for time-critical applications.

Disadvantage Inappropriate for periodic monitoring,

e.g., habitat monitoring.

Ambiguity between packet loss and

unimportant data.

Hierarchical-based routing exampleTEEN (cont.)

Page 77: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 77/109

Routing compare

Hierarchical-based routing Flat-based routing

Reservation-based scheduling Contention-based scheduling

Collisions avoided Collision overhead present

Reduced duty cycle due to periodic

sleeping

Variable duty cycle by controlling

sleep time of nodes

Data aggregation by cluster head  Node on multi-hop path aggregatesincoming data from neighbors

Simple but non-optimal routingRouting can be made optimal but

with an added complexity

Requires global and local

synchronization

Links formed on the fly without

synchronizationOverhead of cluster formation

throughout the network 

Routes formed only in regions that

have data for transmission

Lower latency as multiple hops

network formed by cluster heads

always available

Latency in waking up intermediate

nodes and setting up the multipath

Routing protocols for WSNs (cont )

Page 78: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 78/109

Routing protocols for WSNs (cont.)

Location-based routing

The location of nodes may be available directly by

communicating with a satellite using GPS if nodes

are equipped with a small low-power GPS receiver.

Relative coordinates of neighboring nodes can beobtained by exchanging such information between

neighbors.

To save energy, some location-based schemesdemand that nodes should go to sleep if there is no

activity.

Page 79: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 79/109

Vehicular Ad hoc Network (VANET) is a special case of 

MANET.

The direct communication between vehicular using Adhoc network.

Routing protocols for wireless networks – 

VANETs

Page 80: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 80/109

Applications in a VANET fall into two categories

comfort applications

safety applications

Comfort applications aim to improve the driving comfortand the efficiency of the transportation system

on-board Internet access

high data rate content download

driving through payment

Introduction to VANETs

Page 81: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 81/109

Safety applications aim to provide driver’s informationabout future critical situations

inter-vehicle danger warning

intersection collision avoidance

work zone safety warning

Introduction to VANETs (cont.)

Page 82: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 82/109

Safety applications

Page 83: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 83/109

VANETs provide the following three communications:

Inter-Vehicle Communication (IVC)

Roadside-to-Vehicle Communication (RVC)

Hybrid-Vehicular Communication (HVC)

V2V

V2R 

RSU

Emergency Event

Introduction to VANETs (cont.)

Page 84: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 84/109

Vehicles mobility is restricted to one-dimensional road

geometry.

Factors affect the mobility of vehicles such as

road configuration

traffic laws

safety limits

 physical limits

Introduction to VANETs (cont.)

Page 85: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 85/109

Vehicle mobility creates a highly dynamic topology.

VANETs are potentially large-scale networks.

Vehicles can provide more resources than other types of 

mobile networks such as:  large batteries

antennas

 processing power 

Introduction to VANETs (cont.)

Page 86: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 86/109

The connectivity of the network is affected by factors that

include

transmitter power 

environmental conditionsobstacles

mobility

Introduction to VANETs (cont.)

Page 87: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 87/109

Factors such as the vast number of nodes that lack inherent organization, as well as

frequent topological changes

Introduction to VANETs (cont.)

Page 88: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 88/109

To enhance the safety of drivers

To provide the comfortable driving environment

The message for different purpose need to be sent to

vehicles through the inter-vehicle communications.Unicast routing

Multicast and Geocast

Broadcast

Routing for VANETs

Page 89: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 89/109

Unicast routing is a fundamental operation for vehicle toconstruct a source-to-destination routing in a VANET

From Reference 1.

Routing for VANETs -- Unicast

Page 90: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 90/109

Routing objective:Min-Delay 

The goal of min-delay routing protocols is to transmit

data packets to destination as soon as possible. Relative routing protocols:VADD、CAR、 DIR

Routing for VANETs -- Unicast

Page 91: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 91/109

Unicast routing example for VANETsVehicle-Assisted Data Delivery (VADD)

Carry-and-forward for data delivery from a moving

vehicle to a static destination.

VADD is to select a forwarding path with the smallest

 packet delivery delay.

i i l f

Page 92: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 92/109

 Two Paths:  (1) Ia => Ic => Id => Ib 

(2) Ia => Ib

Disconnected due to sparse

Delayacdb < Delayab 

Unicast routing example for VANETsThe VADD (cont.)

i i l f A

Page 93: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 93/109

1. Transmit through wireless channels as much as possible.

2. If the packet has to be carried through certain roads, the

road with higher speed should be chosen.

Unicast routing example for VANETsThe VADD (cont.)

U i i l f VANET

Page 94: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 94/109

3. Due to the unpredictable nature of vehicular ad-hoc

networks, so dynamic path selection should

continuously be executed throughout the packet

forwarding process.− The routing cannot expect the packet to be successfully

routed along the pre-computed optimal path

Unicast routing example for VANETsThe VADD (cont.)

Page 95: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 95/109

To overcome the limitation of the static destination.

The CAR protocol establishes a routing path from source

to destination by setting the anchor points at intermediate

 junctions.

Unicast routing example for VANETsConnectivity-Aware Routing (CAR)

i i l f

Page 96: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 96/109

CAR protocol sends the searching packets to find the

destination.

Each forwarding vehicle records its ID, hop count, and 

average number of neighbors in searching packets.

Once the searching packets reach the destination, thedestination chooses a routing path with the minimum

delivery delay time and replies it to the source.

Unicast routing example for VANETsThe CAR (cont.)

U i i l f VANET

Page 97: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 97/109

While destination sends the reply packet to the source, the

 junctions passed through by the reply packet are set as the

anchor point.

After the path set up, data packets are forwarded in a

 greedy forwarding.

Greedy forwarding example:

x: the current message holder.

 Assume y is the closest neighbor of x to D,

then x sends the message to y.

 y 

D

x

Unicast routing example for VANETsThe CAR (cont.)

U i i l f VANET

Page 98: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 98/109

Vehicle V S tries to send data to vehicle V  D , the anchor 

 points are set at I 1,1 , I 2,1 , I 2,2 , I 3,2 , I 3,3 , and I 3,4.

Data is forwarded according to order in the list of anchor points.

Unicast routing example for VANETsAn example for CAR (cont.)

Unicast routing example for VANETs

Page 99: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 99/109

To improve the CAR protocol.

DIR protocol constructs a series of diagonal intersections

 between the source and destination vehicles.

 Auto-adjustability is achieved that one sub-path with low

data packet delay, between two neighboring diagonal

intersections, is dynamically selected to forward data packets.

Unicast routing example for VANETsDiagonal-Intersection-based Routing (DIR)

Unicast routing example for VANETs

Page 100: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 100/109

To reduce the data packet delay, the route is automatically

re-routed by the selected sub-path with lowest delay.

DIR protocol constructs a series of diagonal intersections between vehicles V S and V  D.

Unicast routing example for VANETsThe DIR (cont.)

U i t ti l f VANET

Page 101: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 101/109

 DIR protocol may set the fewer number of anchors than

CAR protocol.

DIR protocol can automatically adjust routing path for 

keeping the lower packet delay, compared to CAR 

 protocol.

Unicast routing example for VANETsThe comparisons between CAR and DIR 

Page 102: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 102/109

Multicast is defined by delivering multicast packets from

a single source vehicle to all multicast members by multi-hop communication.

Geocast routing is to deliver a geocast packet to a specificgeographic region.

Geocast

Routing

Routing for VANETs – Multicast and Geocast

Page 103: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 103/109

Broadcast protocol is utilized for a source vehicle sends

 broadcast message to all other vehicles in the network.

Routing protocol type:

 Broadcast methods for V2V communication

 Advertisement Publicity Broadcast

Broadcast routing for VANETs

Page 104: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 104/109

The purpose of emergency information is to announce anurgent event by broadcasting for surrounding vehicles.

emergency-vehicle-approach

traffic accident information dissemination 

Broadcast outing for VANETs (cont.)

Page 105: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 105/109

 Emergency-vehicle-approach Emergency-vehicle-approach information is used to

announce the urgent event to those vehicles in front of the

current vehicle, so the emergency information is only

disseminated ahead.  Traffic accident information dissemination

Traffic accident information is used to announce the urgent

event to those vehicles behind the current vehicle, the

emergency information is only disseminated behind.

Broadcast routing for VANETs (cont.)

Broadcast ro ting for VANETs

Page 106: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 106/109

1. Vehicle V  A  broadcasts the emergency message to therestricted direction.

2. Vehicle V  D does nothing.

Broadcast routing for VANETs(emergency message distribution)

Broadcast routing for VANETs

Page 107: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 107/109

3. Vehicle V  B is located in the relay range, it re-broadcasts theemergency information.

4. Vehicle V C  is located in notification range but not in relay

range, V C   just receives the emergency information and not

to re-broadcast.

Broadcast routing for VANETs --emergency message distribution (cont.)

References

Page 108: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 108/109

References

I. F. Akyildiz, W. Su, Y. Sankarasubramaniam, and E. Cayirci, "Wireless

sensor network: a survey", Computer Networks, Vol. 38, pp. 393-422,2002.

I. F. Akyildiz, W. Su, Y. Sankarasubramaniam, and E. Cayirci, "A survey

on sensor networks", IEEE Communications Magazine, Vol. 40, issue 8,

 pp. 102-114, Aug. 2002.

J. N. Karaki, A. E. Kamal, "Routing techniques in wireless sensor 

networks: a survey", IEEE Wireless Communications, pp. 6-28, Dec.

2004.

J. Zhao and G.Cao, ―VADD: vehicle-assisted data delivery in vehicular 

ad hoc networks,‖ IEEE Computer Communications, pp. 1-12, 2006.

V. Naumov and T. Gross, ―Connectivity-aware routing (CAR) in

vehicular ad hoc Networks,‖ in Proceedings of IEEE International

Conference on Computer Communications, pp.1919-1927, 2007.

Y. W. Lin, Y. S. Chen and S. L. Lee, ―Routing protocols in vehicular ad

hoc networks: a survey and future perspectives,‖ Journal of Information

Science and Engineering 26, pp.1-20, 2010.

References

Page 109: Wireless Networks Routing2003

7/27/2019 Wireless Networks Routing2003

http://slidepdf.com/reader/full/wireless-networks-routing2003 109/109

References

M. S. Bouassida and M. Shawky, ―A cooperative congestion control approachwithin VANETs : formal verification and performance evaluation,‖ EURASIP

Journal on Wireless Communications and Networking, Vol. 2010, 2010. 

http://commonsense.epfl.ch/COMMONSense/description.htm

http://groups.csail.mit.edu/drl/wiki/index.php/AMOUR_(Autonomous_Modula

r_Optical_Underwater_Robot)

http://russnelson.com/wisan/Sensor-node-front.jpg http://www.ece.ncsu.edu/wireless/Images/sensor.gif  

http://blogs.iium.edu.my/jaiz/2008/12/22/what-is-vehicular-network/