Dual Storage Buffering for Media Playback Continuity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users experience service disruptions and freezing issues with audio/video applications on electronic devices when in areas with poor network coverage, as existing buffering mechanisms are insufficient to maintain smooth playback in weak network conditions.
Innovation Solution
Implementing an intermediate storage unit with greater storage capacity than the target storage unit, allowing for longer-duration data buffering and proactive data transfer from the server during playback, reducing the likelihood of service freezing in weak network areas.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is buffered only in the target storage unit during media service playback, then the device can maintain normal playback in good network conditions, but the playback will freeze when the device enters areas with weak network coverage
Solution Approach 1:
The storage system is divided into two independent storage units: an intermediate storage unit and a target storage unit. The intermediate storage unit serves as a buffer zone for pre-loading media data, while the target storage unit provides data during playback. This segmentation allows the system to accumulate sufficient data reserves without interfering with the normal playback mechanism, thereby preventing freezing in weak network areas while maintaining efficient data access during playback.
Solution Approach 2:
The system performs preliminary data buffering in the intermediate storage unit before actual playback occurs or before entering weak network areas. By pre-loading media service data into the intermediate storage unit in advance, the system ensures that sufficient data is available even when network coverage becomes poor during playback, thus maintaining continuous playback without freezing.
2Reliability
If the intermediate storage unit is allocated with greater storage space than the target storage unit, then longer-duration data can be buffered to prevent freezing, but the device complexity increases
Solution Approach 1:
The intermediate storage unit acts as an intermediary between the network and the target storage unit. It temporarily holds media data and transfers it to the target storage unit as needed. This intermediary structure simplifies the overall system by providing a clear data flow path: network → intermediate storage unit → target storage unit → playback, making the complex buffering process more manageable and efficient.
Solution Approach 2:
The buffering function is extracted from the target storage unit and placed into a separate intermediate storage unit. This extraction allows the target storage unit to focus solely on providing data during playback, while the intermediate storage unit handles the complex task of pre-loading and data management, thereby reducing the operational complexity of each individual component.
3Reliability
If the system proactively sends request signaling to the server based on historical freezing patterns, then playback freezing can be avoided in weak network areas, but the system complexity increases
Solution Approach 1:
The system implements feedback mechanisms by monitoring playback status, network conditions, and historical freezing patterns. This feedback information is used to dynamically adjust data buffering strategies and trigger proactive request signaling to the server. The feedback loop enables the system to learn from past freezing events and make intelligent decisions about when and how much data to pre-buffer, improving playback stability without requiring overly complex manual control logic.
Solution Approach 2:
The system automatically monitors its own playback status and network conditions, and self-adjusts by sending request signaling to the server when freezing is detected or predicted. This self-service capability reduces the need for external intervention or complex user configuration, as the system autonomously manages its own buffering and playback continuity based on real-time conditions and historical data.
Data Source
AI summary
A media service processing method, applied to an electronic device, includes providing, by an application running on the electronic device, a media service for a user, sending, to a server, request signaling requesting to send data of the media service to an intermediate storage unit, storing, in the intermediate storage unit, the data, moving the data from the intermediate storage unit to a target storage unit, wherein storage space of the intermediate storage unit is greater than storage space of the target storage unit, obtaining the data from the target storage unit, and playing the data.

