|
Algorithm 2 The proposed push-based critical data forwarding algorithm at a consumer. |
-
Received Data Packet: (ID, Content, Alert Type, Location, Timer, Signature)
-
2:
if Alert Type == (critical data packet) then
read b
-
4:
if Vehicle ()== CH (Cluster Head)then
Broadcast
-
6:
if Vehicle ()== then
Forward b to
-
8:
else
drop b
-
10:
end if
end if
-
12:
end if
|