Patent ID: 8358589

Claim:
A device, comprising: a filter for determining a time stamp of an arriving data package, said time stamp identifying an expected location of said arriving data package and determining whether said expected location is inside or outside a first window having a predetermined size defined by a first time and a second time, wherein the first window is included within a second window and for moving the first window by a predetermined amount of time, without changing the size of the first window, to accommodate the expected location when the expected location is outside the first window; a buffer for storing said arriving data package in a position corresponding to the expected location; and a calculator which calculates a difference between the expected location of the arriving data package and a predetermined point in the first window when the expected location is outside the first window to obtain a value for said predetermined distance; wherein the buffer can move the first window when the difference is less than the predetermined size of the first window, to accommodate the arriving data package in the first window and balance the first window to have the same remaining time length between the first time and the new arriving data package at one side of the first window and between the second time and a furthest stored data package at another side of the first window.