Skip to main content
. 2017 Mar 1;17(3):489. doi: 10.3390/s17030489
Algorithm 1 On demand location-based scheduling scheme for WSNs
Step 1: cloud c> current location of mobile user μ
Step 2: cloud c> allocates a set of virtual sensors and reversely map to a set of physical sensor nodes ξμLcurrent which matches with interest of the application and the user, using the above functions
Step 3: cloud c> makes a schedule for the sensor nodes based on current location and requirements of the mobile user
Step 5: cloud c> sends a scheduling request to a corresponding base station BS
Step 6: BS> broadcasts the scheduling request to corresponding sensors.
Step 7: nodes that receive the scheduling request set their own schedule based on the request.
Step 8: when the user moves out of the area, cloud c sends a request to cancel the scheduling request for the set of sensors.