Research Article
An Energy-Aware Data Transmission Scheme under the Guarantee of Reliability for 3D WSNs
An energy-aware transmission scheme for 3D WSN. | 1 Begin | 2 // the network boundary | 3 // the total number of nodes | 4 // : The required network reliability | 5 for each source node: | 6 djuge the node in near area or far area | 7 if node in far area | 8 calculates following equation (31) | 9 initiates packet copies and sends them per interval to the next hop | 10 if the packet successfully transmitted to the next hop and the next hop in far area | 11 go to step 9 | 12 else if the successfully relayed next hop in near area | 13 | 14 while | 15 sends one data packet and waits for an ACK | 16 if node does not receive the returned ACK | 17 ; | 18 else | 19 break; | 20 end | 21 end | 22 else record the packet is lost | 23 end | 24 else | 25 calculates following equation (23) | 26 | 27 while | 28 sends one data packet and wait for an ACK | 29 if node does not receive the returned ACK | 30 ; | 31 else | 32 break; | 33 end | 34 end | 35 end | 36 end for | 37 end |
|
Algorithm 1. |