Research Article
Cloud-Based IoE Enabled an Urban Flooding Surveillance System
Algorithm 2
Decoding module at the receiver/client side.
| | (Initialization) | | (1) | = 0 | | (2) | For each | | (3) | = 0 | | (4) | End for {Handling Events} | | (5) | If data packet from server, then | | (6) | If innovative packet arrives then | | (7) | numSeen ++ | | (8) | ++ | | | (Where i is the sub-flow the innovative packets arrive from) | | (9) | Add the packet to the receiver buffer | | (10) | Retrieve the coding header | | (11) | Pass any newly decoded packet to the upper-layer | | (12) | Inform CMT suit of the numSeen and each | | (13) | Else if Redundant packet arrives then | | (14) | Drop the packet | | (15) | End if | | (16) | End if |
|