Research Article
BSS: A Burst Error-Correction Scheme of Multipath Transmission for Mobile Fog Computing
Algorithm 1
: Core algorithm of BSS scheme.
1: ForeachPathinMultipathdo | 2: UpdateInterleavingDistance(Path); | 3: InitPathBuffer(Path); | 4: End foreach | 5: While SendBuffer.isNotEmpty() do | 6: Path = PathScheduler(); | 7: If timeout() then | 8: Packet = GetFirstPacket(); | 9: Else | 10: Packet = PacketScheduler(Path); | 12: End if | 13: IfPacket.isNull() then | 14: Break; | 15: End if | 16: Send(Packet, Path); | 17: Update(SendBuffer); | 18: Update(Threshold); | 19: Update(PathBuffer); | 20: End while |
|