Data Stream Synchronization
AssigneeNXP B.V.
InventorYangbin Guo
Life of this patent
Estimating the term…
Abstract
The rate at which a receiving device processes a stream of data packets received from an asynchronous device is synchronized with the rate at which the asynchronous device is transmitting the data packets. The device stores the received data packets in a buffer “memory and processes the data from the buffer memory at a sampling rate determined by a sampling rate controller. The sampling rate is adjusted based on a threshold comparison of a memory fill level pointer to synchronize the rate at which the data is processed with the rate at witch the data is being received from the asynchronous device. By synchronizing the rates, buffer underflow and overflow conditions may be avoided.
Claims19
A system for synchronizing a first rate at which a first device processes data packets received from an asynchronous device with a second rate at which the asynchronous device is transmitting the data packets, comprising:
- a buffer memory for storing the data packets received from the asynchronous device, the buffer memory comprising a pointer indicating a level of the buffer memory;
- and a sampling rate controller for adjusting the first rate based on the position of the pointer with respect to a threshold position within the buffer memory, wherein overtime the first rate at which the data packets are processed from the buffer memory is synchronized with the second rate at which the asynchronous device transmits the data packets.
A method for adjusting a sampling rate for processing a plurality of data packets in a first device to prevent a buffer memory from experiencing an underflow or overflow condition, comprising:
- receiving a stream of data packets from a second device;
- storing each of the data packets as it is received in the buffer memory;
- processing the data packets from the buffer memory at a rate determined by the sampling rate;
- monitoring a level of the buffer memory;
- and adjusting the sampling rate based on the level of the buffer memory relative to a threshold position within the buffer memory, wherein overtime, the sampling rate is synchronized with a rate at which the second device streams the data packets to the first device.
A method for adjusting a sampling rate for storing data to a buffer memory in a capture device, comprising:
- receiving input tokens from a second device;
- storing data captured by the capture device in a buffer memory wherein the data is stored at a rate determined by the sampling rate;
- monitoring a level of the buffer memory;
- and adjusting the sampling rate based on the level of the buffer memory relative to a threshold position within the buffer memory, wherein overtime, the sampling rate is synchronized with a rate at which the second device is transmitting the input tokens.
A sampling rate controller for adjusting a sampling clock based on a level of a buffer memory for storing a stream of data packets, comprising:
- a divide counter for receiving an input clock and dividing the input clock by a divider to create the sampling clock;
- and a correction function module for adjusting a value of the divider based on the level of the buffer memory with respect to a threshold position within the buffer memory.
Dependencies are inferred from the claim text.