TCP Trip Time Estimation Through Sparse Middlebox Sampling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The presence of middleboxes in network communication disrupts traditional methods of monitoring Transport Control Protocol (TCP) performance, as they modify and inspect packets without providing TCP flow markers, making it difficult for network administrators to evaluate and improve communication performance, especially in scenarios where endpoints have limited processing capabilities.

Innovation Solution

A system at the middlebox samples a subset of TCP packets to estimate performance characteristics like round trip time, throughput, and window size by generating time stamps and sequence/acknowledgment numbers, using interpolation for un-sampled packets, with minimal impact on the connection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional TCP performance monitoring methods are used at endpoints, then measurement accuracy is improved, but device complexity and processing burden increase

Engineering Contradiction:
ImproveTCP performance measurement accuracyVSAvoidendpoint processing capability
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces a middlebox as an intermediary component that performs TCP performance monitoring functions. The middlebox intercepts TCP packets between endpoints, generates synthetic acknowledgments with timestamps, and calculates round-trip times without requiring complex processing at the endpoints. This mediator approach transfers the measurement complexity from resource-constrained endpoints to a more capable intermediate device.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a copy of the TCP acknowledgment flow by generating synthetic ACK packets at the middlebox. Instead of requiring endpoints to perform complex measurements on actual traffic, the system creates timestamped copies of acknowledgment packets that carry measurement information. These synthetic packets enable performance monitoring while keeping endpoint processing simple.

Inventive Principle:
Principle #26Copying

2Productivity

If middleboxes inspect and modify TCP packets, then network optimization capability is improved, but TCP flow marker information is lost

Engineering Contradiction:
Improvenetwork optimization capabilityVSAvoidTCP flow marker
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent applies preliminary action by embedding timestamps and sequence numbers into synthetic acknowledgment packets before they are injected into the TCP stream. The middlebox pre-calculates round-trip times and attaches this measurement data to the synthetic ACK packets, ensuring that performance information is preserved and transmitted along with the data flow without requiring post-processing or additional measurement mechanisms.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If sparse packet sampling is used at the middlebox, then processing overhead is reduced, but measurement completeness decreases

Engineering Contradiction:
Improvemiddlebox processing efficiencyVSAvoidperformance characteristic accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent changes the parameter being measured from requiring complete packet inspection to using sparse sampling of key packets. By selectively sampling packets and using interpolation techniques for unsampled intervals, the system achieves acceptable measurement precision with reduced processing overhead. The middlebox adjusts its sampling rate and interpolation strategy based on traffic patterns and performance requirements.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentEP3973670B1Trip time estimation for transport control protocol
Publication Date: 2026.03.25 GOOGLE LLC
  • EP3973670B1 patent drawingFigure 1A
  • EP3973670B1 patent drawingFigure 1B
  • EP3973670B1 patent drawingFigure 1C

AI summary

A method (300) includes sparsely sampling, at a middled ox (160), a plurality of packets (170) from a transport control protocol (TCP) connection (180) between a source endpoint (190) and a destination endpoint through the middlebox. For each packet of the sampled plurality of packets, the method includes generating a time stamp (212) when the packet is sampled and recording a sequence number (172) and an acknowledgement number (174) for the respective packet. The acknowledgement number is recorded when the acknowledgement number exists for the respective packet. The method also includes generating an estimated performance characteristic (202) for the TCP connection between the source endpoint and the destination endpoint through the middlebox over the period of time based on at least two of a respective time stamp, a respective sequence number, or a respective acknowledgement number from one or more of the sampled plurality of packets.