QUIC Connection Control via Dynamic Idle Timeout Adjustment
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The increased complexity of HTML pages due to multimedia content leads to longer page load times and resource waste, particularly when QUIC connections are idle for extended periods or terminated abnormally, resulting in data retransmission and resource wastage.
Innovation Solution
A connection control method based on the QUIC protocol that adjusts transport parameters, such as idle timeouts, using historical data and system information to optimize connection management, preventing resource waste and data offset by switching to a draining state when idle times exceed thresholds.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the idle timeout is set to a large value or disabled to maintain connection stability, then connection reliability is improved, but resource waste occurs due to data retransmission and bandwidth occupation
Solution Approach 1:
The patent implements dynamic adjustment of the idle timeout parameter based on historical connection data and current system state. Instead of using a fixed large timeout value, the system adaptively modifies the timeout parameter to balance connection stability with resource efficiency, terminating idle connections appropriately while maintaining reliable connections when needed.
Solution Approach 2:
The system collects historical connection data including idle timeout values, connection termination reasons, and resource usage metrics. This feedback is processed to dynamically adjust the idle timeout parameter, creating a closed-loop control system that optimizes both connection reliability and resource utilization based on observed patterns.
2Ease of operation
If the idle timeout is set to a large value or disabled to maintain connection availability, then connection availability is improved, but data offset occurs when connections are reused after abnormal termination
Solution Approach 1:
The system performs preliminary analysis of historical connection data to identify patterns of abnormal terminations before they occur. By pre-configuring appropriate idle timeout values based on historical patterns, the system prevents connections from entering an unstable state that could lead to abnormal termination and subsequent data offset, while still maintaining availability for normal operations.
Solution Approach 2:
The patent implements a strategy of creating new QUIC connections rather than reusing potentially compromised connections. When a connection is terminated abnormally, the system discards the connection and establishes a fresh one, ensuring data integrity. This approach treats connections as disposable resources that can be rapidly recreated, prioritizing data correctness over connection reuse.
3Productivity
If connection reuse is encouraged to reduce connection establishment overhead, then productivity is improved, but resource waste occurs when idle connections are not properly terminated
Solution Approach 1:
The system dynamically adjusts the idle timeout parameter based on historical connection patterns and current resource conditions. This allows the system to optimize the balance between connection reuse (for productivity) and timely termination (for resource efficiency), adapting the timeout value to maximize connection efficiency while preventing bandwidth waste from overly persistent idle connections.
Data Source
AI summary
Embodiments of the present application provide a computer-implemented connection control method based on a QUIC protocol, comprising: receiving a QUIC connection request from a peer endpoint; analyzing the QUIC connection request and obtaining identification information of the peer endpoint; retrieving target historical information of the peer endpoint based on the identification information; adjusting a transport parameter based on the target historical information; establishing a QUIC connection with the peer endpoint based on an adjusted transport parameter; and controlling a connection state of the QUIC connection based on the adjusted transport parameter.


