Docsity

Mobile Computing - Cluster Based Routing Protocol, Study notes of Mobile Computing

Toggle sidebar
bg1
1
CBRP( Cluster Based Routing
Protocol )
•The idea behind CBRP [38] is to divide the nodes of an Ad-
hoc network into a number of overlapping or disjoint clusters.
One node is elected as cluster head for each cluster. This
cluster head maintains the membership information for the
cluster. Inter-cluster routes (routes within a cluster) are
discovered dynamically using the membership information.
•CBRP is based on source routing, similar to DSR. This means
that intracluster routes (routes between clusters) are found
by flooding the network with Route Requests (RREQ). The
difference is that the cluster structure generally means that
the number of nodes disturbed is much less. Flat routing
protocols, i.e. only one level of hierarchy, might suffer from
excessive overhead when scaled up.
•CBRP is like the other protocols fully distributed. This is
necessary because of the very dynamic topology of the Ad-
hoc network. Furthermore, the protocol takes into
consideration the existence of unidirectional links.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Mobile Computing - Cluster Based Routing Protocol and more Study notes Mobile Computing in PDF only on Docsity!

CBRP( Cluster Based Routing

Protocol )

  • (^) The idea behind CBRP [38] is to divide the nodes of an Ad- hoc network into a number of overlapping or disjoint clusters. One node is elected as cluster head for each cluster. This cluster head maintains the membership information for the cluster. Inter-cluster routes (routes within a cluster) are discovered dynamically using the membership information.
  • (^) CBRP is based on source routing, similar to DSR. This means that intracluster routes (routes between clusters) are found by flooding the network with Route Requests (RREQ). The difference is that the cluster structure generally means that the number of nodes disturbed is much less. Flat routing protocols, i.e. only one level of hierarchy, might suffer from excessive overhead when scaled up.
  • (^) CBRP is like the other protocols fully distributed. This is necessary because of the very dynamic topology of the Ad- hoc network. Furthermore, the protocol takes into consideration the existence of unidirectional links.

CBRP

Functions

• Link

Sensing

• Clusters

• Routing

How a source finds a way to the destination

  • (^) Node S (source) has to send data to node D (destination). S sends route requests to all the neighbouring cluster-heads, and only to the cluster-heads. When a cluster-head receives the route request, it checks if the node D is in his cluster. If this is the case, the cluster-head sends the request directly to the destination. But when D isn't in the cluster, it sends the route request to all the adjacent cluster-heads. All cluster-head saves his address in the packet, so when a cluster- head receives a route request where his address is saved in the packet, it discards this packet. When the route request packet arrives at the destination, D replies back with the route that had been recorded in the request packet. When the source S doesn't receive a reply from the destination within a time period, it tries to send a route request again.
  • In the Cluster Based Routing Protocol, routing is done using source routing. But this protocol uses also route shortening. When a node receives the reply of the destination to the source, it tries to find the farthest node in the route that is its neighbour. With this principle the route between source and destination can be reduced. On the following figure you can see an ad-hoc network, separated in the different cluster with all the components

DATA STRUCTURES

  • (^) Neighbor Table
    • (^) Id, Role , Status of the link
  • (^) Cluster Adjacency Table (CAT)
    • (^) Keeps info. about adjacent clusters
    • (^) Contains
      • Id of neighboring cluster
      • (^) the gateway node (a member) to reach the neighboring cluster head
      • (^) the status of the link
  • (^) Two-hop Topology Database
    • (^) each node broadcasts its neighbor table information periodically in HELLO packets.
    • (^) Therefore, by examining the neighbor table from its neighbors, a node is able to gather `complete' information about the network topology that is at most two-hops away from itself.

CLUSTER FORMATION

  • (^) A node can be in any of the three states
    • (^) A cluster head
    • (^) A cluster member
    • Undecided ( Looking for a head )
  • (^) An undecided node starts a timer and broadcasts a HELLO message.
  • (^) Any cluster head that receives this message sends out HELLO message back.
  • (^) If the node has bi-directional link to that cluster head it chooses that node as its cluster head and regards itself as a member of that cluster head.
  • (^) If it does not find any head till the timer expires and it declares itself as a cluster head.
  • (^) If two cluster heads have bi-directional links to each other one of them gives his status as a head and becomes member of the other head. The node with a smaller id continues to be a cluster head.
  • (^) However the cluster heads wait for a certain period of time before this
  • (^) This ensures that if two cluster heads are just close for a short time when they are on a move cluster re-formation does not happen.

Adjacent Cluster Discovery

• For a member node neighboring cluster

head is the one that is two hops away.

i.e. one that can be reached via an

intermediate node. This node is called a

Gateway node.

• A node can find out about its

neighboring cluster heads by looking at

the neighbor tables of its neighbors

received in the HELLO messages.