Research Article
Zone-Based Routing Protocol for Wireless Sensor Networks
Start | if = 1 | α ← rand (0, 1) | | | else | | | | End if | Start timers for node | If = 0 | Call CANCEL_TIMERS_MSG(Zone_Id) from | Call CH_ADV_MSG(Zone_Id) from | End if | On call CANCEL_TIMERS_MSG(Zone_Id) from | If S.Zone_Id = N.Zone_Id | ← −1 | End if | On Receive CH_ADV_MSG(Zone_Id) from | If S.Zone_Id = N.Zone_Id AND = −1 | Send JOIN_MSG() from | End if | On Receive JOIN_MSG() from | Push to S.Cluster_Members | Increment Cluster_Member_Count | End Function |
|