UDP Packet Loss Detection via Alternating Firewall Filters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

User Datagram Protocol (UDP) does not support means for monitoring packet loss, making it difficult for real-time data transmission programs to detect packet loss or differentiate between packet loss and packet delay, and lacks a mechanism to detect when a transmitting device has stopped sending packets.

Innovation Solution

Implementing alternating firewall filters on network devices to count UDP packets, allowing packet loss information to be determined by comparing packet counters from two network devices, thereby enabling the reporting of packet loss for UDP IP sessions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If UDP protocol is used for real-time data transmission, then transmission speed and simplicity are improved, but packet loss monitoring capability deteriorates

Engineering Contradiction:
Improvetransmission speedVSAvoidpacket loss monitoring capability
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The patent introduces an intermediary mechanism (firewall filter marking system) that operates transparently to UDP traffic. Network devices mark packets with alternating filters and maintain counters without modifying the UDP protocol itself, enabling packet loss detection while preserving UDP's speed and simplicity advantages.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If simple packet counting is implemented to monitor UDP traffic, then implementation complexity is reduced, but ability to differentiate packet loss from packet delay deteriorates

Engineering Contradiction:
Improveimplementation complexityVSAvoidpacket loss detection accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent employs periodic alternating firewall filters that mark packets in alternating time periods. This periodic marking allows the system to compare packet counts across different time intervals, enabling differentiation between packet loss and packet delay while maintaining relatively simple implementation through standard firewall filter mechanisms.

Inventive Principle:
Principle #19Periodic action

3Measurement precision

If alternating firewall filters are used to mark and count UDP packets, then packet loss detection accuracy is improved, but device complexity increases

Engineering Contradiction:
Improvepacket loss detection accuracyVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system implements self-service through automatic alternation of firewall filters and autonomous packet counting at network devices. The filters alternate automatically between marking and non-marking states, and devices autonomously maintain counters based on marked packets, reducing the need for complex external control mechanisms while achieving accurate packet loss detection.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP3506565B1Packet loss detection for user datagram protocol (UDP) traffic
Publication Date: 2021.05.12 JUNIPER NETWORKS INC
  • EP3506565B1 patent drawingFigure 1A
  • EP3506565B1 patent drawingFigure 1B
  • EP3506565B1 patent drawingFigure 2

AI summary

A network device may receive user datagram protocol (UDP) packets associated with an internet protocol (IP) session. The network device may apply a first firewall filter by setting one or more bits of each UDP packet to particular bit values to allow each UDP packet to be identified in association with the first firewall filter. The network device may update, each time a UDP packet is received, a first packet counter to account for a total number of UDP packets to which the first firewall filter has been applied. The network device may provide each UDP packet to another network device. The other network device may update a second packet counter. The network device and the other network device may provide the first packet counter and the second packet counter to a server device to cause the server device to determine packet loss information for the IP session.