Research Article

An Energy-Efficient Partial Data Offloading-Based Priority Rate Controller Technique in Edge-Based IoT Network to Improve QoS

Algorithm 1

Partial data offloading algorithm.
Algorithm: HE2DRC (heuristic-based energy-efficient data rate controller)
1.  Input: upper, lower values
   //Threshold upper and threshold lower values
2.  Output: (Temp, Hum)Values
   //Output values in degree Celsius and relative humidity in percentage
3.  If ()
  //System is in active state
3.1  Send data to server
     //Data will be sent to the cloud server
3.2  Else If (Temp, upper) and ( lower)
   3.2.1 System in idle state
   //Data will be forwarded to the local server
3.3  Else If (Temp, lower)
3.3.1 System in investigation state//data will be sent to the cloud server
4. End If.