Research Article
Energy Balanced Source Location Privacy Scheme Using Multibranch Path in WSNs for IoT
Algorithm 1: RW Scheme (Node )
Input: | : the hop number of RW phase; | : the source node; | Output: | : the intermedium node; | The routing path of RW phases; | 1: Initiation: _Next_hop =null; | 2: is put into RW set; | 3: while receive a configuration message do | 4: Build the candidate set; | 5: delete RW nodes from the candidate set; | 6: Select the most energy node in candidate set as next hop ; | 7: ; | 8: if | 9: return; | 10: else RW scheme ; | 11: end while |
|
Algorithm 1: RW Scheme (Node ) |