Patent ID: 7995504

Claim:
A computer-implemented method of adding a node entry to a routing table of an inquiring node of a data network, comprising: transmitting an inquire message from the inquiring node to a publishing node, the publishing node configured to publish a routing entry; receiving an acknowledgment response from the publishing node; measuring a publishing node roundtrip time, the publishing node roundtrip time is a time that elapsed between transmitting the inquire message and receiving the acknowledgement response; and for respective node registration entries in the routing table, determining if the inquiring node is closer in locality to the publishing node or to a node having a corresponding entry in the routing table by calculating a roundtrip time difference between the publishing node roundtrip time and a node roundtrip time, the node roundtrip time is the time elapsed between transmitting an inquire message from the inquiring node to the node and receiving an acknowledgement response from the node back at the inquiring node, and using IP address prefix matching for the inquiring node and the publishing node and IP address prefix matching for the inquiring node and the node; if it is determined that the roundtrip time difference is above a predetermined threshold, selecting the publishing node to be closer in locality to the inquiring node if the publishing node roundtrip time is lower than the node roundtrip time, and selecting the node to be closer in locality to the inquiring node if the node roundtrip time is lower than the publishing node roundtrip time; and adding to the routing table an entry for the publishing node if the publishing node is selected.