# US 2009/0257455 A1 · Method and apparatus for synchronizing timing of signal packets

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

- Number: US 2009/0257455 A1
- Document ID: US20090257455A1
- Status: Published application
- Kind: A1
- Application number: 12/082,890
- Filed: 2008-04-15
- Published: 2009-10-15
- Earliest claimed: 2008-04-15
- Assignees: Tellabs Operations, Inc.
- Inventors: Rafid A. Sukkar; Peng Zhang
- Web page: https://patentgrep.com/patent/US20090257455A1

## CPC

- H04J 3/0664: {unidirectional timestamps}
- H04L 47/28: in relation to timing considerations
- H04L 65/80: Responding to QoS
- H04L 69/28: Timers or timing mechanisms used in protocols
- 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)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some communications systems, unsynchronized near-end and far-end packets of communications signals can reduce or impair performance of processing of packets, such as to the case of Coded Domain Media Quality Enhancement. Therefore, a system may synchronize the incoming signals to enhance quality. A relative delay determination module according to an example embodiment of this invention determines a synchronization and relative delay between packets belonging to different packet streams arriving at a network node in a packet-based network by computing a time synchronization parameter based on a time reference of timestamps of the signals and reports the relative delay to a module making use of the relative delay such as a voice quality enhancement or an echo control module. By synchronizing the packets at the location within the network, source clocks at end or edge nodes of the network can operate with reduced synchronization, simplifying network operations and management thereof.

## Claims

### Claim 1

A method for synchronizing timing of signal packets of different packet streams in a packet-based network, the method comprising:
computing a time synchronization parameter as a function of time references generated at originating endpoints of a near-end signal and a far-end signal and at an entity where time synchronization is to be determined;
computing a set of time difference parameters between a near-end packet of a near-end signal and each far-end packet in a buffer having stored therein consecutively arranged packets of a far-end signal as a function of the time synchronization parameter;
computing indices of packets in the buffer corresponding to a preset delay range as a function of the time synchronization parameter; and
reporting at least one index to a module making use of the preset delay range.

### Claim 2 (depends on 1)

The method of claim 1 wherein computing the time synchronization parameter includes computing a time difference between local and source clocks of the endpoints originating and receiving the near-end and the far-end signals.

### Claim 3 (depends on 1)

The method of claim 1 wherein computing the time synchronization parameter includes computing a time difference between local and source timestamps of a first arriving far-end packet and source and local timestamps of a first arriving near-end packet.

### Claim 4 (depends on 1)

The method of claim 1 further including determining the preset delay range based on expectancy of echo within a delay range.

### Claim 5 (depends on 1)

The method of claim 1 wherein storing packets in the buffer includes storing a set of far-end packets corresponding to the preset delay range based on a newly arrived near-end packet.

### Claim 6 (depends on 5)

The method of claim 5 further including determining a length for the buffer as a function of relative network delay statistics between the near-end and far-end packets.

### Claim 7 (depends on 5)

The method of claim 5 further comprising storing a set of previously arrived far-end packets in the buffer.

### Claim 8 (depends on 5)

The method of claim 5 wherein storing the packets includes storing consecutively arranged packet and filling-in gaps in the consecutively arranged packets due to missing packets according to preset coding standards.

### Claim 9 (depends on 8)

The method of claim 8 further comprising assigning to missing packets appropriate source timestamps based on timestamps of neighboring packets of the missing packets.

### Claim 10 (depends on 1)

The method of claim 1 further comprising determining a length for the buffer as a function of expected network delay statistics of the near-end and far-end packets.

### Claim 11 (depends on 1)

The method of claim 1 wherein computing the indices of packets includes computing a minimum index and a maximum index.

### Claim 12 (depends on 1)

The method of claim 1 wherein computing the indices of packets includes computing a range of indices corresponding to the preset delay range.

### Claim 13 (depends on 1)

The method of claim 1 further comprising synchronizing the far-end and the near-end signals as a function of the indices to control acoustic echo.

### Claim 14 (depends on 1)

The method of claim 1 wherein computing the indices of packets includes computing a set of time differences corresponding to a set of far-end packets in the preset delay range.

### Claim 15 (depends on 14)

The method of claim 14 wherein computing the set of time differences 5 corresponding to the set of far-end packets in the preset delay range includes computing a difference between time at the source clock originating each near-end packet, time at the source clock originating each far-end packet, and the time synchronization parameter.

### Claim 16 (depends on 1)

The method of claim 1 further including computing a location in the buffer corresponding to a minimum value of the preset delay range.

### Claim 17 (depends on 16)

The method of claim 16 wherein computing the location in the buffer includes computing a minimum of absolute values of time differences determining a set of far-end packets in the preset delay range and the minimum value of the preset delay range.

### Claim 18 (depends on 16)

The method of claim 16 further comprising computing the location in the buffer corresponding to the minimum value of the preset delay range to determine a lower bound for a range of packets in the buffer corresponding to the preset delay range.

### Claim 19 (depends on 1)

The method of claim 1 further including computing a location in the buffer corresponding to a maximum value of the preset delay range.

### Claim 20 (depends on 19)

The method of claim 19 wherein computing the location in the buffer includes computing a minimum of absolute values of time differences determining a set of far-end packets in the preset delay range and the maximum value of the preset delay range.

### Claim 21 (depends on 19)

The method of claim 19 further comprising computing the location in the buffer corresponding to the maximum value of the preset delay range to determine an upper bound for a range of packets in the buffer corresponding to the preset delay range.

### Claim 22 (depends on 1)

The method of claim 1 further comprising reporting at least one index to a Voice Quality Enhancement module.

### Claim 23 (depends on 1)

The method of claim 1 further comprising reporting at least one index to an echo control module.

### Claim 24

An apparatus for determining a time synchronization and relative delay between packets belonging to different packet streams in a packet-based network comprising:
a time synchronization computation unit to compute a time synchronization parameter as a function of time references generated at originating endpoints of a near-end signal and a far-end signal and at an entity where time synchronization is to be determined;
a parameter computation unit to compute a set of time difference parameters between a near-end packet of a near-end signal and each far-end packet in a buffer having stored therein consecutively arranged packets of a far-end signal as a function of the time synchronization parameter;
an index computation unit to compute indices of packets in the buffer corresponding to a preset delay range as a function of the time synchronization parameter; and
a reporting unit to report at least one index to a module making use of the preset delay range.

### Claim 25 (depends on 24)

The apparatus of claim 24 wherein the time synchronization computation unit is arranged to compute the time synchronization parameter as a function of a time difference between local and source clocks of the endpoints originating and receiving the near-end and the far-end signals.

### Claim 26 (depends on 24)

The apparatus of claim 24 wherein the time synchronization computation unit is arranged to compute the time synchronization parameter as a function of a time difference between local and source timestamps of a first arriving far-end packet and source and local timestamps of a first arriving near-end packet.

### Claim 27 (depends on 24)

The apparatus of claim 24 further including a preset delay computation unit to determine the preset delay range based on expectancy of echo within a delay range.

### Claim 28 (depends on 24)

The apparatus of claim 24 wherein the buffer is configured to store packets based on storing a set of far-end packets corresponding to the preset delay range based on a newly arrived near-end packet.

### Claim 29 (depends on 28)

The apparatus of claim 28 further including a buffer length computation unit arranged to determine a length for the buffer as a function of relative network delay statistics between the near-end and far-end packets.

### Claim 30 (depends on 28)

The apparatus of claim 28 further comprising storing a set of previously arrived far-end packets in the buffer.

### Claim 31 (depends on 28)

The apparatus of claim 28 wherein the buffer is configured to store consecutively arranged packets by filling-in gaps in the consecutively arranged packets due to missing packets according to preset coding standards.

### Claim 32 (depends on 31)

The apparatus of claim 31 further comprising an assignment unit to assign to missing packets appropriate source timestamps based on timestamps of neighboring packets of the missing packets.

### Claim 33 (depends on 28)

The apparatus of claim 28 further comprising a buffer length computation unit arranged to determine a length for the buffer as a function of expected network delay statistics of the near-end and far-end packets.

### Claim 34 (depends on 24)

The apparatus of claim 24 wherein the index computation unit computes the indices of packets as a function of computing a minimum index and a maximum index.

### Claim 35 (depends on 24)

The apparatus of claim 24 wherein the index computation unit computes the indices of packets as a function of computing a range of indices corresponding to the preset delay range.

### Claim 36 (depends on 24)

The apparatus of claim 24 further comprising a synchronization unit to synchronize the far-end and the near-end signals as a function of the indices to control acoustic echo.

### Claim 37 (depends on 24)

The apparatus of claim 24 wherein the index computation unit is arranged to compute the indices of packets by computing a set of time differences corresponding to a set of far-end packets in the preset delay range.

### Claim 38 (depends on 37)

The apparatus of claim 37 wherein the index computation unit is arranged to compute the set of time differences corresponding to the set of far-end packets in the preset delay range by computing a difference between time at the source clock originating each near-end packet, time at the source clock originating each far-end packet, and the time synchronization parameter.

### Claim 39 (depends on 24)

The apparatus of claim 24 further including a computation unit to compute a location in the buffer corresponding to a minimum value of the preset delay range.

### Claim 40 (depends on 39)

The apparatus of claim 39 wherein the computation unit computes the location in the buffer based on computing a minimum of absolute values of time differences determining a set of far-end packets in the preset delay range and the minimum value of the preset delay range.

### Claim 41 (depends on 40)

The apparatus of claim 40 further comprising a computation unit to compute the location in the buffer corresponding to the minimum value of the preset delay range to determine a lower bound for a range of packets in the buffer corresponding to the preset delay range.

### Claim 42 (depends on 24)

The apparatus of claim 24 further including a computation unit to compute a location in the buffer corresponding to a maximum value of the preset delay range.

### Claim 43 (depends on 42)

The apparatus of claim 42 wherein the computation unit is arranged to compute location in the buffer based on computing a minimum of absolute values of time differences determining a set of far-end packets in the preset delay range and the maximum value of the preset delay range.

### Claim 44 (depends on 42)

The apparatus of claim 42 further comprising a computation unit to compute the location in the buffer corresponding to the maximum value of the preset delay range to determine an upper bound for a range of packets in the buffer corresponding to the preset delay range.

### Claim 45 (depends on 24)

The apparatus of claim 24 wherein the reporting module reports at least one index to a Voice Quality Enhancement module.

### Claim 46 (depends on 24)

The apparatus of claim 24 wherein the reporting module reports at least one index to an echo control module.

### Claim 47

A computer program product comprising a computer readable medium having computer readable code stored thereon, which, when executed by a processor, causes the processor to:
compute a time synchronization parameter as a function of time references generated at originating endpoints of a near-end signal and a far-end signal and at an entity where time synchronization is to be determined;
compute a set of time difference parameters between a near-end packet of a near-end signal and each far-end packet in a buffer having stored therein consecutively arranged packets of a far-end signal as a function of the time synchronization parameter;
compute indices of packets in the buffer corresponding to a preset delay range as a function of the time synchronization parameter; and
report at least one index to a module making use of the preset delay range.

### Claim 48

A method for aligning signals in a packet-based network based on source and local timestamps comprising:
determining a relative delay between signals based on source and local timestamps of the signals; and
reporting the relative delay to a module making use of the relative delay.

### Claim 49

An apparatus for aligning signals in a packet-based network based on source and local timestamps comprising:
a relative delay computation unit to compute a relative delay between signals based on source and local timestamps of the signals; and
a reporting module to report the relative delay to a module making use of the relative delay.
