UDP Packet Loss Detection via Alternating Firewall Filters
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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
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.
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
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.
Data Source
Figure 1A
Figure 1B
Figure 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.