Skip to main content
. 2017 Dec 15;17(12):2875. doi: 10.3390/s17122875
Algorithm 1: Dynamic pre-backoff algorithm (DPBO)
  1.  Input: L,λ,NM2M,T,α,β,θ,γ,τ,δ1,δ2,η,Q,WBO, QoS requirements of H2H traffic

  2. Initialization:

  3.   Solve Equation (13) and return Imax;

  4.   XiM2M[1]=0,i[1,Imax];

  5.   WPBO=0;

  6. Step1: Solve Equations (34), (48) and (49) and return LTP;

  7.     Solve Equation (10) and return LSP;

  8.     Solve Equation (50) and return λthM2M;

  9. Step2: for each cycle i=1:Imax do

  10.      Solve Equation (12) and return NiM2M;

  11.      # Newly arrived M2M devices execute pre-backoff procedure

  12.       for k=1:WPBO+1 do

  13.       Xi+k1M2M[1]=Xi+k1M2M[1]+1WPBO+1NiM2M;

  14.       end for

  15.      # Adjust the pre-backoff window size dynamically

  16.       if XiM2M[1]λthM2M

  17.        WPBO=WPBO+1;

  18.        else if XiM2M[1]<λthM2M continuously in time interval [iη,i]

  19.          WPBO=WPBO1;

  20.       end if

  21.       Imax=max[i+WPBO+(Q1)(WBO+1),Imax]

  22.     end for