Input:

CH―Cluster Head

P-Routing Path

i-Current CH

j-Next neighbor CH

Step 1: CH receives the request from cloud or sensor centric.

Step 2: Gateway CH is forward the request to neighbor CH.

Step 3: All CH transmit the resource to neighbor CH and neighbor forward the resource to Gateway CH.

Step 4: Find the best P from Gateway CH to Destination.

P = (P1, P2, P3, ・・・, Pn)

Step 5: Evaluate the path based on performance and delay.

Step 6: resource in i

If

Congestion in i

Request to j

Then

Request is accepted re-route the data to next neighbor CH.

Output:

Reduce the delay

Increase speed