# US 2005/0088975 A1 · Mechanism for modem pass-through with non-synchronized gateway clocks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2005/0088975 A1
- Document ID: US20050088975A1
- Status: Published application
- Kind: A1
- Application number: 11/004,352
- Filed: 2004-12-03
- Published: 2005-04-28
- Earliest claimed: 2000-12-11
- Assignees: Cisco Technology, Inc.
- Inventors: Hebert Wildfeuer; Nicholas Cutaia; Michael Tasker
- Web page: https://patentgrep.com/patent/US20050088975A1

## CPC

- H04L 65/80: Responding to QoS
- H04J 3/0632: {Synchronisation of packets and cells, e.g. transmission of voice via a packet network, circuit emulation service [CES] (queuing arrangements in packet switching elements H04L49/90; synchronising systems for the synchronous transmission of a pulse code modulated video signal with one or more other pulse code modulated signals H04N7/56)}
- H04L 12/5601: {Transfer mode dependent, e.g. ATM}
- H04L 2012/5618: {Bridges, gateways [GW] or interworking units [IWU]}
- H04L 2012/5649: {Cell delay or jitter}
- H04L 2012/5653: {using the ATM adaptation layer [AAL]}
- H04L 2012/5665: {Interaction of ATM with other protocols}
- H04L 2012/5671: {Support of voice}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)

## Abstract

A method for compensating for asynchronous clock sources is presented. A buffer is provided for storing frames received from a packet network. The buffer having a preselected playout delay. Upon detecting a buffer overflow, a drain operation is performed on the buffer and the playout delay is modified to provide a sufficient number of buffer locations for frames to be stored. Upon detecting a buffer underflow, a fill operation is performed on the buffer and the playout delay is modified to provide a sufficient number of frames to be played out.

## Claims

### Claim 1

A method for compensating for asynchronous clock sources comprising the steps of:
storing frames received from a packet network in a buffer having a preselected playout delay;
upon detecting a buffer overflow, performing a drain operation on the buffer and modifying the playout delay to provide a sufficient number of buffer locations for frames to be stored; and
upon detecting a buffer underflow, performing a fill operation on the buffer and modifying the playout delay to provide a sufficient number of frames to be played out.

### Claim 2 (depends on 1)

The method as claimed in claim 1 further comprising the step of:
upon detecting a reset message received from the packet network, triggering the buffer underflow or the buffer overflow dependent on the number of frames stored in the buffer

### Claim 3 (depends on 1)

The method as claimed in claim 1 wherein the data stored in the buffer is modem data.

### Claim 4 (depends on 1)

The method as claimed in claim 1 wherein the data stored in the buffer is fax data.

### Claim 5 (depends on 1)

The method as claimed in claim 1 further comprising the steps of:
storing, in a resampling buffer, data forwarded from the buffer;
monitoring an estimated clock difference between the asynchronous clock sources; and
performing a clock slip operation in the resampling buffer dependent on the estimated clock difference.

### Claim 6 (depends on 5)

The method as claimed in claim 5 wherein the estimated clock difference is a frame slip forward and the clock slip operation decimates the frame stored in the resampling buffer at a clock rate dependent on the estimated clock difference.

### Claim 7 (depends on 5)

The method as claimed in claim 5 wherein the estimated clock difference is a frame slip backward and the clock slip operation forwards a frame stored in the resampling buffer which has been interpolated at a clock rate dependent on the estimated clock difference.

### Claim 8 (depends on 1)

The method as claimed in claim 1 further comprising:
after the playout delay, playing the received frames from the buffer at a constant rate dependent on a local clock source.

### Claim 9 (depends on 8)

The method as claimed in claim 8 wherein, frames are received from the packet network at a rate dependent on a remote clock source.

### Claim 10 (depends on 2)

The method as claimed in claim 2 wherein the reset message is sent from a remote gateway, the reset message indicating that the remote gateway is performing a drain or fill operation.

### Claim 11 (depends on 1)

The method as claimed in claim 1, wherein performing a drain operation comprises:
enabling reading of the buffer and disabling writing of the buffer until the buffer is empty.

### Claim 12 (depends on 1)

The method as claimed in claim 1, wherein performing a fill operation comprises:
enabling writing to the buffer and disabling reading from the buffer until the buffer is full.

### Claim 13

An apparatus for compensating for asynchronous clock sources in a modem pass-through comprising:
a buffer which stores frames received from a packet network, the buffer having a preselected playout delay;
upon detecting a buffer overflow, means for performing a drain operation on the buffer and modifying the playout delay to provide a sufficient number of buffer locations for frames to be stored; and
upon detecting a buffer underflow, means for performing a fill operation on the buffer and modifying the playout delay to provide a sufficient number of frames to be played out.

### Claim 14 (depends on 13)

The apparatus as claimed in claim 13 further comprising:
upon detecting a reset message received from the packet network, means for triggering the buffer underflow or the buffer overflow dependent on the number of frames stored in the buffer.

### Claim 15 (depends on 13)

The apparatus as claimed in claim 13 wherein the data stored in the buffer is modem data.

### Claim 16 (depends on 13)

The apparatus as claimed in claim 13 wherein the data stored in the buffer is fax data.

### Claim 17 (depends on 13)

The apparatus as claimed in claim 13 further comprising:
a resampling buffer which stores data forwarded from the buffer;
means for monitoring an estimated clock difference between the asynchronous clock sources; and
means for performing a clock slip operation in the resampling buffer dependent on the estimated clock difference.

### Claim 18 (depends on 17)

The apparatus as claimed in claim 17 wherein the estimated clock difference is a frame slip forward and the clock slip operation decimates the frame stored in the resampling buffer at a clock rate dependent on the estimated clock difference.

### Claim 19 (depends on 17)

The apparatus as claimed in claim 17 wherein the estimated clock difference is a frame slip backward and the clock slip operation forwards a frame stored in the resampling buffer which has been interpolated at a clock rate dependent on the estimated clock difference.

### Claim 20

An apparatus for compensating for asynchronous clock sources in a modem pass-through comprising:
a buffer for storing frames received from a packet network, the buffer having a preselected playout delay; and
jitter buffer control logic which upon detecting a buffer overflow performs a drain operation on the buffer and modifies the playout delay to provide a sufficient number of buffer locations for frames to be stored and upon detecting a buffer underflow performs a fill operation on the buffer and modifies the playout delay to provide a sufficient number of frames to be played out.

### Claim 21 (depends on 20)

The apparatus as claimed in claim 20 wherein the jitter buffer control logic further comprises:
logic which upon detecting a reset message received from the packet network triggers the buffer underflow or the buffer overflow dependent on the number of frames stored in the buffer

### Claim 22 (depends on 20)

The apparatus as claimed in claim 20 wherein the data stored in the buffer is modem data.

### Claim 23 (depends on 20)

The apparatus as claimed in claim 20 wherein the data stored in the buffer is fax data.

### Claim 24 (depends on 20)

The apparatus as claimed in claim 20 further comprising:
a resampling buffer for storing data forwarded from the buffer;
monitoring logic which monitors an estimated clock difference between the asynchronous clock sources; and
resampling control logic which performs a clock slip operation in the resampling buffer dependent on the estimated clock difference.

### Claim 25 (depends on 24)

The apparatus as claimed in claim 24 wherein the estimated clock difference is a frame slip forward and the clock slip operation decimates the frame stored in the resampling buffer at a clock rate dependent on the estimated clock difference.

### Claim 26 (depends on 24)

The apparatus as claimed in claim 24 wherein the estimated clock difference is a frame slip backward and the clock slip operation forwards a frame stored in the resampling buffer which has been interpolated at a clock rate dependent on the estimated clock difference.

### Claim 27

A computer program product, for compensating for asynchronous clock sources in a modem pass-through, the computer program product comprising a computer usable medium having computer readable program code thereon, including program code which:
stores frames received from a packet network in a buffer having a preselected playout delay;
upon detecting a buffer overflow, performs a drain operation on the buffer and modifies the playout delay to provide a sufficient number of buffer locations for frames to be stored; and
upon detecting a buffer underflow, performs a fill operation on the buffer and modifies the playout delay to provide a sufficient number of frames to be played out.
