Smart TV Streaming Audio Cache Management for Replay
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When watching encrypted streaming media files on smart TVs, users often encounter issues where the file replays in fast backward mode only display the playing interface with no sound due to the browser's cache mechanism not being considered, causing the audio stream to be repeatedly decrypted and resulting in data errors.
Innovation Solution
The display apparatus includes a controller that manages the playback of streaming media files by caching audio data and determining if it's within the cache space, allowing direct decoding without re-decryption for audio data within the cache and requesting decryption for data beyond the cache limit, ensuring seamless audio playback during fast backward replays.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the audio stream is repeatedly decrypted during fast backward replay, then the playing interface is displayed, but audio playback fails due to data errors from browser cache mechanism
Solution Approach 1:
The patent applies preliminary action by caching the decrypted audio stream data before replay operations occur. The browser cache stores the decrypted audio data in advance, so when fast backward replay is needed, the cached data can be directly reused without repeating the decryption process, preventing audio playback failures
Solution Approach 2:
The patent uses copying by creating a cached copy of the decrypted audio stream data. Instead of repeatedly decrypting the original encrypted stream, the system makes a copy of the decrypted data in the browser cache, which can then be efficiently retrieved and played back without re-decryption, resolving the data error issues
2Quantity of substance
If the audio data capacity exceeds cache space, then decryption is required, but this increases processing time and complexity
Solution Approach 1:
The patent applies partial action by only decrypting and caching the necessary portion of audio data that will be needed for replay. The system calculates the audio data capacity required for the replay operation and only processes that specific amount, rather than decrypting the entire audio stream, thus reducing processing time while ensuring sufficient data is available in cache
Data Source
AI summary
A method for playing a streaming media file and a display apparatus are provided. The method includes: receiving a command for replaying at least one portion of a streaming media file that has been played from a user; determining a first timestamp associating with replaying of the at least one portion of the streaming media file that has been played; calculating audio data capacity between the first timestamp and a second timestamp corresponding to a current play time point of the streaming media file when the command is received; in response to the audio data capacity being not greater than capacity of a cache space for a browser of a streaming application, sending audio data after the first timestamp in the cache space directly to a decoder for decoding without sending the audio data to a decryption module for decryption; outputting audio data decoded by the decoder to a loudspeaker.


