Research Article

Failure-Aware and Delay-Predicted Multipath Virtual Queue Scheduling for Multimedia Transmission in Edge IoT

Algorithm 2

Multipath virtual queue scheduling.
(1)Initialize: subflow set , transmission delay , virtual wueue .
(2)while there are unallocated segments do
(3)if receive new ACK from subslow then
(4)  Get new ,
(5)  Update according to equation (3)
(6)  Update with the feedback of Algorithm 1
(7)  Update according to equation (20)
(8)  Update according to equation (22)
(9)if packet loss occurs in subflow then
(10)  Get new ;
(11)  Update with the feedback of Algorithm 1
(12)  Update according to equation (22)
(13)for each do
(14)  Calculate according to equation (23)
(15)  Find the subflow with minimum
(16)ifthen
(17)  if undistributed segments then
(18)   Allocate all undistributed segment to
(19)  else
(20)   Allocate segments to
(21)  Update
(22) else
(23)  if undistributed segments then
(24)   Allocate all undistributed segment to
(25)  else
(26)   Allocate segments to
(27)  Update