Research Article

Industrial Internet of Things Based Efficient and Reliable Data Dissemination Solution for Vehicular Ad Hoc Networks

Algorithm 2

Computes the waiting time for R vehicle positioned outside the concerned area to schedule transmission of received data packet (M) across network partitions.
Procedure Waiting Time for R during Network Partitions //target is the center of partitioned area inside CA
Input: M//all vehicles outside the Concern Area (CA)
(SPosx, SPosy) //position of source vehicle (S) that initiate the data dissemination process
(4) (RPosx, RPosy) //position of receiving vehicle
(5) (holeGeometryx, holeGeometryy) // partitioning the concern area
(6)Output: Waiting Time //calculated waiting time for R to schedule the transmission of data packet (M)
(7) if RPosx> holeGeopmetryx1 then
(8) Partitioned = SPosx − CA/2;
(9) end if
(10) else
(11) Partitioned = SPosx + CA/2;
(12) end else
(13) Partitioned = (holeGeometryy2  − holeGeometryy1)/2;
(14) DistParitioned V =
(15) Delay = 0.07 × (distParitioned V/CA/2);
(16) end Procedure