Dynamic Packet Rate Adjustment for Live Streaming Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing live streaming technologies face issues with packet loss and network resource utilization due to unreliable transmission protocols, leading to video frame drops and lag when network bandwidth fluctuates.
Innovation Solution
A data transmitting method that adjusts packet transmission rates based on packet loss rates by sending verification messages and acknowledgments to determine the number of lost packets, allowing for dynamic rate adjustments to accommodate network conditions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If UDP protocol is used for live stream pushing to achieve high transmission rate, then transmission speed is improved, but packet loss occurs leading to video frame drops
Solution Approach 1:
The patent implements dynamic adjustment of packet transmission rate based on real-time network conditions. The sending device monitors packet loss rates and round-trip times, then dynamically modifies the transmission rate to adapt to changing network bandwidth, thereby maintaining both high speed and reliability
Solution Approach 2:
The patent establishes a feedback mechanism where the receiving device sends verification acknowledgments containing packet reception status back to the sending device. The sending device uses this feedback information to calculate packet loss rates and adjust transmission parameters, creating a closed-loop control system that resolves the contradiction between speed and reliability
2Reliability
If TCP protocol is used for live stream pushing to achieve reliable transmission, then packet loss is reduced, but video lag occurs when bandwidth fluctuates
Solution Approach 1:
The patent dynamically adjusts the transmission rate based on real-time network conditions rather than using fixed TCP flow control. By monitoring packet loss rates and round-trip times, the system adaptively modifies sending rates to match current bandwidth availability, reducing latency while maintaining reliability
Solution Approach 2:
The patent changes transmission parameters (packet transmission rate, verification message frequency) based on measured network conditions. By adjusting these parameters dynamically rather than relying on standard TCP protocols, the system achieves both reliability and low latency
3Measurement precision
If frequent verification messages are sent to monitor packet loss, then packet loss detection accuracy is improved, but network resource utilization decreases
Solution Approach 1:
The patent implements periodic verification where the sending device transmits verification messages at regular intervals or after sending a certain number of data packets. This periodic approach provides sufficient packet loss detection accuracy while minimizing the frequency of verification messages to conserve network resources
Solution Approach 2:
The patent sends verification messages at a controlled frequency that is sufficient for accurate packet loss detection but not excessive. By optimizing the verification message rate rather than sending continuous verification, the system achieves measurement precision while avoiding unnecessary network resource consumption
Data Source
AI summary
A data transmitting method, includes: generating, by a first device, data messages based on a to-be-sent data stream; transmitting, by the first device, the data messages to a second device based on a packet transmission rate; recording, by the first device, the number of transmitted data messages; when the number of the transmitted data messages reaches a preset number for one batch, transmitting, by the first device, a verification message to the second device; receiving, by the first device, a verification acknowledgement returned by the second device, and determining, by the second device, a packet loss rate of the batch of data messages; updating, by the first device, the packet transmission rate based on packet loss rates of multiple batches of data messages.


