At Source node, |
Choose the destination node using Location Services |
Perform the authentication mechanism with the node encountered |
Encrypt the data pkt using AES algorithm and broadcast it |
Initialize a timer value for rebroadcasting the data pkt |
At Destination node, |
Decipher the received pkt by AES decryption mechanism |
If pkt is received for the first time |
Deliver the pkt |
Transmit ack pkt |
At Relay nodes, |
Check whether sender is trusted node |
//done by means of agent test parameters |
Update Location Services with data packet Location Information |
Receive the pkt |
If the pkt is ack |
Resend it to the sender |
Else if the node is within the forwarding area |
If the node does not have copy of pkt |
Initialize timer value for rebroadcasting |
//if current node is ahead of destined node |
If node has copy of pkt |
Remove the pkt. |
At ack pkt reception |
Check whether the sender is an authenticated one |
Update location service with ack pkt location information |
If the node has a copy of the pct |
Remove pkt |
When the pkt’s rebroadcasting timer expires |
If the pkt’s TTL has expired |
Remove pkt |
Else |
Update location information in pkt with location server data |
Broadcast data pkt |
Set up timer for rebroadcasting the pkt |
At a set interval broadcast location data |
Select location data: vector with elements (node, location, timestamp) |
Broadcast the data |
When a LoDiS broadcast is received |
For each received more recent location data |
Update the entry in the LoDiS server |
When location data is received from the routing protocol |
If the supplied information is more recent |
Update the entry in the LoDiS server |