Research Article

Protecting Location Privacy in IoT Wireless Sensor Networks through Addresses Anonymity

Algorithm 2

Forwarding random delay.
Node maintains a table with entry <data, time_to_transmit> to store data to be forwarded;
Node maintains clock timer, which is used for data transmission;
For data requested to be transmitted:
 Generate a random time rand;
 Insert into the table with entry <data, timer + rand>;
Node search the table to find data that could be transmitted:
for each entry in the table do.
  if timer ≥ entry. time_to_transmit then
   Transmit the data;
  end
end