Research Article

Using Burstiness for Network Applications Classification

Algorithm 1

Estimation of packet bursts and idle time.
burst_threshold = 1 s
 idle_threshold = 10 s
  initialise burst and idle time parameters
  while packets arriving
  do
   calculate interarrival_time
   if interarrival_time < burst_threshold
    current_burst ++
    current_session ++
   else
    burst_counter ++
    current_burst = 1
    if interarrival_time > idle_threshold
     current_session = 1
     session_counter ++
     idle_time + = interarrival_time
    fi
   fi
  done