Patent ID: 8855050

Claim:
A routing protocol method for a wireless sensor network utilizing a network node comprising the steps of: identifying, by the network node, a plurality of network elements; organizing, by the network node, the plurality of network elements into a first community and a second community depending on attributes and refreshing time interval of each of the plurality of network elements between the first community and a second community; organizing, by the network node, the plurality of network elements of the first community into a first group and a second group depending on a changing condition of the plurality of network elements, specific needs of the plurality of network elements and an evenness of distribution of the plurality of network elements between the first group and the second group; refreshing periodically and dynamically the plurality of network elements belonging to the first community and the second community; timing the refreshing of the plurality of network elements using only one timer, the only one timer refreshing different groups of the first and second communities at different times the only one timer timing the refreshing of the first community by using a step count having a plurality of steps, each step corresponding to one group of the first community, the step count refreshing the corresponding group once each step is reached, and increasing incrementally after each refreshing based on the timer, the step count recycling to an initial step after a final step corresponding to a final group of the first community, the only one timer timing the refreshing of the second community by using a second step count having a plurality of steps, each step corresponding to one group of the second community, the step count refreshing the corresponding group once each step is reached, and increasing incrementally after each refreshing based on the timer, the step count recycling to an initial step after a final step corresponding to a final group of the second community; sending a first plurality of refreshing packets containing routing information that reflects the content of the refreshed first group of the first community via a virtual socket to a second network node; and sending a second plurality of refreshing packets containing routing information that reflects the content of the refreshed second group of the first community via a virtual socket to a second network node at a different time from the sending of the first plurality of refreshing packets.