Patent ID: 7634174

Claim:
Method for data recording using a data recorder converting first data packet timestamps PAT A based on a first clock rate to second data packet timestamps PAT B based on a second clock rate, said clock rates having a ratio B/A, A being derived from said first clock rate and B being derived from said second clock rate, comprised of the following steps: if no PAT A timestamp wraparound takes place, calculating (μP): D ( i )=((PAT A ( i )−PAT A ( i− 1))* B+R ( i− 1))/ A R ( i )=((PAT A ( i )−PAT A ( i− 1))* B+R ( i− 1))mod A; if a PAT A timestamp wraparound takes place between i−1 and i, calculating (μP): D ( i )=((PAT A ( i )+PAT — M −PAT A ( i− 1))* B+R ( i− 1))/ A R ( i )=((PAT A ( i )+PAT — M −PAT A ( i− 1))* B+R ( i− 1))mod A, wherein PAT B (i)=PAT B (i−1)+D(i) and wherein (i) denotes a current timestamp (M 1 ), (i−1) denotes a previous timestamp (M 2 ), ‘/’ denotes an integer division, R is a remainder used to avoid the accumulation of rounding errors, and PAT_M is the wraparound value of the timestamp counter of said first clock rate.