Research Article

Task Offloading and Scheduling Strategy for Intelligent Prosthesis in Mobile Edge Computing Environment

Algorithm 1

Selection Optimization Algorithm (SOA).
Input, ; a candidate set of edge servers ; mobile device MD;
Output Optimal edge server( );
1 For each
2 {   
3       ; //Initialize
4 }//End For each
5 If
6 {   Calculate the deferred execution time;
7    Update the position coordinates of the mobile device by Formula (7);
8    Return;
9 }//End if
10 For each
11 {     Update the position coordinate of the mobile device according to the initial position coordinate and the moving path by Formula (6) and Formula (7)
12     If
13     { Calculate the migration time
14     }//End if
15     Calculate and by Formula (8);
16     Update the minimum energy consumption;
17 }//End For each
18 Update the position coordinates of the mobile device;
19 Return;