Transport Protocol Switching by Connection State for Packet Reliability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing transport protocols like TCP and UDP face challenges in congested networks, leading to packet loss and network downtime due to connection interruptions, which affect system performance and reliability.
Innovation Solution
Implementing an enhanced transport protocol (e.g., Scalable Reliable Datagram, SRD) that allows automatic switching between TCP/UDP and SRD based on connection state, ensuring seamless packet transmission and quick recovery from network faults.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If TCP is used for reliable packet delivery, then packet delivery reliability is improved, but communication speed deteriorates
Solution Approach 1:
The system dynamically switches between TCP and UDP protocols based on network conditions and connection state. When the SRD connection is active, UDP is used for fast communication; when connection is lost or establishing, TCP provides reliable delivery. This dynamic protocol selection resolves the contradiction by adapting the communication mode to current network conditions.
2Speed
If enhanced transport protocol (SRD) is used for faster communication, then communication speed is improved, but connection stability deteriorates
Solution Approach 1:
The system maintains a fallback TCP connection alongside the primary SRD connection. When the SRD connection is lost or unstable, the TCP connection is already available to immediately take over packet transmission, preventing communication interruptions. This preparatory fallback mechanism cushions against connection instability while allowing SRD to provide fast communication during normal operation.
3Reliability
If automatic protocol switching is implemented, then network reliability is improved, but device complexity increases
Solution Approach 1:
The network interface device automatically monitors connection state and performs protocol switching without external intervention. The system self-detects when SRD connection is lost or establishing, and autonomously switches between UDP and TCP protocols, eliminating the need for manual configuration or complex external control mechanisms while maintaining high reliability.
4Reliability
If TCP connection establishment procedures are followed, then connection reliability is improved, but latency increases
Solution Approach 1:
The system pre-establishes a TCP connection in advance as a fallback option while the SRD connection is being set up or is active. This preliminary TCP connection is ready immediately and does not need to be established when packet transmission must begin, eliminating connection establishment latency while ensuring reliable communication path availability.
Data Source
AI summary
A network interface adapter can select between a first transport protocol and a second transport protocol to transmit a network packet based on a state of a connection to a destination address for the second transport protocol. The second transport protocol encapsulates the network packet formatted in the first transport protocol. The network interface adapter can automatically use the second transport protocol when the state of the connection is in an active state, and the first transport protocol when the state of the connection is not in the active state.


