QUIC Complete-Message Framing for Simpler Receive-Side Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current QUIC transport protocol-based data transmission requires complex processing at the receive end to identify application message boundaries due to the need for boundary checks on received data frames, leading to high processing overheads.
Innovation Solution
Encapsulate application messages as complete frames with a frame type identifier, allowing the receive end to determine message completeness without additional boundary checks, using a QUIC connection with optional negotiation of processing capabilities.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If data frames are transmitted in byte stream form without complete message encapsulation, then network transmission flexibility is improved, but receive end processing complexity increases due to boundary check requirements
Solution Approach 1:
The patent segments data transmission into two types of frames: complete application message frames (with frame type identifier set to 1) that contain entire messages, and segmented frames (with frame type identifier set to 0) for larger messages. This segmentation allows the receive end to process complete messages directly without boundary checks while still supporting flexible transmission of larger data through segmented frames.
2Measurement precision
If boundary check is performed on every received data frame, then application message identification accuracy is improved, but information processing overhead increases
Solution Approach 1:
The transmit end performs preliminary action by setting the frame type identifier to 1 for complete application messages before transmission. This preliminary marking allows the receive end to immediately identify complete messages without performing boundary checks, thereby maintaining identification accuracy while significantly reducing processing overhead.
3Productivity
If complete application messages are encapsulated in data frames with frame type identifier, then receive end processing efficiency is improved, but transmit end encapsulation complexity increases
Solution Approach 1:
The patent extracts the essential information needed for efficient receive end processing by adding only a frame type identifier to complete application messages. This minimal extraction approach improves receive end processing efficiency while keeping transmit end encapsulation complexity low, as it requires only setting a single identifier field without complex processing.
Data Source
Figure 1A~1B
Figure 2
Figure 3
AI summary
This application discloses a data transmission method. In the method, a transmit end may obtain a first application message generated by a target application running on the transmit end. The transmit end encapsulates the first application message to obtain a first data frame, where the first data frame includes a first frame type identifier, and the first frame type identifier indicates that an application message included in the first data frame is a complete application message. The transmit end transmits the first data frame to a receive end based on an established QUIC connection to the receive end. After receiving the first data frame, the receive end may determine, based on the first frame type identifier in the first data frame, that the application message included in the first data frame is a complete application message, so as to conveniently obtain the complete first application message in the first data frame, and the receive end does not need to search received data frames for boundaries of an application message to obtain the corresponding application message. In this way, information processing overheads can be reduced, and an information processing process of the receive end can be optimized.