Data Block Packet Loss Detection for Time-Critical Streaming
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing packet loss retransmission mechanisms in multiplex transmission technology are inefficient in meeting the strict time limits of streaming media applications, such as short video and live streaming, as they rely on timeout triggers or acknowledge messages, leading to excessive transmission times and delays.
Innovation Solution
A data packet-driven packet loss detection and retransmission mechanism that determines packet loss based on the size of a data block and historical packet loss rates, using a current packet loss detection threshold to identify not-arrived data packets and adjust retransmission timing through flight time thresholds and path selection to minimize recovery time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If timeout-triggered retransmission mechanism is used, then packet loss recovery is guaranteed, but transmission time exceeds strict time limits of streaming media applications
Solution Approach 1:
The patent pre-calculates and stores the expected arrival time of each data packet during the sending phase. The receiving end compares the actual arrival time with the expected arrival time to detect packet loss proactively, without waiting for timeout or ACK messages. This preliminary action of pre-calculating arrival times enables immediate packet loss detection and retransmission triggering, resolving the contradiction between reliable packet loss recovery and excessive transmission time.
2Reliability
If ACK-driven retransmission mechanism is used, then retransmission can be triggered by acknowledge messages, but multiple ACK messages are required and transmission time still exceeds limits
Solution Approach 1:
The patent extracts the packet loss detection function from the traditional ACK-driven retransmission mechanism. Instead of relying on multiple ACK messages to trigger retransmission, the system independently detects packet loss by comparing actual arrival times with pre-calculated expected arrival times. This extraction of the detection function eliminates the need for multiple ACK messages and reduces transmission time while maintaining reliable packet loss recovery.
3Reliability
If traditional retransmission mechanisms are used, then packet loss can be recovered, but the mechanisms rely on timeout triggers or acknowledge messages leading to delays
Solution Approach 1:
The patent implements a self-service packet loss detection mechanism where the receiving end autonomously detects packet loss by comparing actual arrival times with pre-calculated expected arrival times. The system does not require external timeout triggers or ACK messages to initiate detection. This self-service approach simplifies the retransmission mechanism by eliminating complex timeout management and ACK message handling, while maintaining reliable packet loss recovery.
Data Source
AI summary
The present disclosure relates to a data transmission method and apparatus, an electronic device, and a storage medium. The method includes: obtaining the size of a present data block and a historical packet loss rate of historical data blocks, the present data block comprising at least one data packet; based on the size of the present data block and the historical packet loss rate, determining a present packet loss detection threshold for the present data block; when on the basis of a number of first received data packets of the present data block it is determined that the present packet loss detection threshold is satisfied, performing packet loss detection on the present data block, and determining a first not-arrived data packet of the present data block; and obtaining the first not-arrived data packet so as to obtain a data packet of the present data block.


