Gateway Server Network Latency Measurement via DNS and TLS

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mobile Network Operators (MNOs) lack a completely internal method to measure network latency of their wireless carrier networks, relying on third-party services with proprietary algorithms, making it difficult to verify measurement accuracy.

Innovation Solution

Implementing a latency measurement application on a gateway server that uses Domain Name System (DNS) and Transport Layer Security (TLS) handshake events to calculate network latency, allowing MNOs to independently assess their network latency by tracking timestamps of DNS and TLS messages within their internal network.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If MNOs use third-party network performance assessment service providers to measure network latency, then network latency measurement capability is provided, but measurement accuracy cannot be verified due to proprietary algorithms

Engineering Contradiction:
Improvenetwork latency measurement accuracyVSAvoidverification of measurement accuracy
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent introduces an intermediary mechanism by having the gateway server capture and record timestamps of DNS response messages and TLS handshake messages. These timestamps serve as verifiable intermediaries that allow the MNO to independently calculate network latency without relying on third-party proprietary algorithms, thus resolving the contradiction between obtaining measurement capability and verifying accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If MNOs implement internal network latency measurement using DNS and TLS events, then measurement verification capability is improved, but device complexity increases due to gateway server requirements

Engineering Contradiction:
Improvemeasurement verification capabilityVSAvoidgateway server configuration complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The gateway server is designed to perform multiple functions: it serves as a standard network gateway for routing traffic while simultaneously functioning as a measurement instrument by capturing DNS and TLS timestamps. This multi-functionality reduces the need for separate dedicated measurement devices, thereby mitigating the increase in device complexity while improving measurement verification capability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Device complexity

If conventional TCP signaling methods are used to measure network latency, then measurement methodology is simple, but visibility to wireless carrier network events is lost

Engineering Contradiction:
Improvemeasurement methodology simplicityVSAvoidvisibility to network events
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The patent extracts the measurement function from the complex TCP signaling process by using DNS response messages and TLS handshake messages as separate, identifiable events. These extracted events provide clear visibility points within the wireless carrier network where timestamps can be captured, maintaining measurement simplicity while improving visibility to network events.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11245606B1Network latency time measurement using DNS and web server messages
Publication Date: 2022.02.08 T MOBILE US INC
  • US11245606B1 patent drawing
  • US11245606B1 patent drawing
  • US11245606B1 patent drawing

AI summary

A first time that a Domain Name System (DNS) response message is sent by the gateway server of a network to a user device may be determined, the DNS response message being generated by a Local DNS server of the network in response to a DNS request message from the user device for routing via the gateway server to the user device. A second time that a client handshake message for an external server identified by a network address in the DNS response is received at the gateway server may be determined, in which the client handshake message is sent by the user device. A roundtrip time for the network that is a time difference between the first time and the second time is calculated. The roundtrip trip time is then halved to obtain a network latency time measurement for the network.