Adaptive Live Streaming Buffering for Frame Freeze Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing live streaming technologies experience frame freezing due to fixed volume buffering, which is exacerbated by unstable network environments and terminal configurations, leading to network congestion, cache capacity issues, and reduced anti-frame-freezing capabilities.
Innovation Solution
A data buffering method that dynamically adjusts buffered audio/video data based on user network environment and terminal configuration, determining a target data volume to match actual network status and reduce frame freezing risks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If a fixed volume buffering area is configured to store audio/video data, then the buffering capacity is ensured, but frame freezing occurs during playback
Solution Approach 1:
The patent implements dynamic buffering by allowing the buffering area volume to be flexibly adjusted based on real-time network conditions and terminal capabilities. The system dynamically determines the optimal buffering volume during runtime rather than using a fixed pre-configured value, thereby adapting to changing conditions to prevent frame freezing while ensuring adequate buffering capacity.
2Productivity
If all buffered audio/video data is sent to the user at one time, then the initial buffering is completed quickly, but network congestion and cache capacity issues occur
Solution Approach 1:
The patent implements periodic data transmission by sending buffered audio/video data to the user in multiple batches rather than all at once. The system periodically transmits data segments over time, controlling the transmission rate to match network conditions and terminal cache capacity, thereby avoiding network congestion and cache overflow while still achieving efficient buffering.
3Reliability
If the buffering area is increased to prevent frame freezing, then playback fluency improves, but network resource consumption increases
Solution Approach 1:
The patent dynamically changes the buffering volume parameter based on real-time network conditions and terminal capabilities. Rather than using a fixed large buffering area that consumes excessive network resources, the system adjusts the buffering volume parameter adaptively - increasing it when needed to prevent frame freezing and decreasing it when network conditions are good, thereby optimizing the balance between playback reliability and network resource consumption.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of the present disclosure provide a data buffering method, including: obtaining, by a network device, multimedia data and network characteristic information of a communications network configured to transmit the multimedia data, the communications network including a first communications network or a second communications network, the first communications network being configured to transmit the multimedia data to the network device, and the second communications network being configured to transmit the multimedia data to a terminal device; determining, at least based on the network characteristic information of the first communications network and/or the second communications network included in the communications network, a target data volume corresponding to the terminal device; determining, based on the obtained multimedia data, first buffered data representing the multimedia data and having the target data volume; and sending the first buffered data to the terminal device by using the second communications network, a data volume of the first buffered data obtained by the terminal device matching the network characteristic information. The embodiments of the present disclosure further provide a network device and a storage medium.