Streaming Session Cache Eviction After Ad Playback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The integration of Ad segments with main streaming content in streaming services generates significant session data, leading to storage burdens, inefficiencies, and difficulty in determining the precise end of streaming sessions, resulting in unnecessary storage overhead and resource inefficiencies.
Innovation Solution
Implementing a cache eviction policy that dynamically adjusts the expiry time of session data based on user actions, automatically removing Ad responses and aged manifest files within a short timeframe, optimizing storage space and reducing Time to Live (TTL) to enhance efficiency and reduce storage overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If Ad segments are integrated with main streaming content in streaming sessions, then the user experience is enhanced with seamless advertisement delivery, but significant session data is generated leading to storage burdens
Solution Approach 1:
The patent implements automatic eviction of Ad response data from storage devices after advertisements are delivered to user devices. The system discards cached Ad response data once it has served its purpose, preventing accumulation of stale data while maintaining availability during active streaming sessions
Solution Approach 2:
The patent introduces dynamic cache management where the eviction policy adjusts based on real-time streaming session status. The system dynamically determines when to evict Ad response data based on whether the associated content is currently being streamed, optimizing storage utilization according to actual demand
2Reliability
If session data is retained for extended periods, then data availability is maintained for potential re-streaming, but storage overhead increases and resource efficiency decreases
Solution Approach 1:
The patent employs a feedback mechanism where the system continuously monitors streaming session status and uses this information to determine cache eviction timing. The eviction decision is based on feedback about whether content is currently being streamed, ensuring data is retained only as long as needed
Solution Approach 2:
The system proactively evicts Ad response data from storage before it would naturally expire, based on predictions about future streaming needs. By preliminarily removing data that is unlikely to be needed, the system optimizes storage space while maintaining availability for content that will be streamed
3Speed
If Ad response data is cached in storage devices, then fast delivery to user devices is achieved, but the storage burden and difficulty in managing data lifecycle increase
Solution Approach 1:
The patent implements an automated cache management system that self-regulates the storage lifecycle of Ad response data. The system automatically determines when to evict data based on streaming session status without requiring manual intervention, reducing operational complexity while maintaining fast delivery performance
Solution Approach 2:
The patent changes the parameter of data retention time from a static fixed value to a dynamic value based on streaming session status. The eviction policy adjusts retention parameters according to whether associated content is currently being streamed, optimizing both delivery speed and management simplicity
Data Source
AI summary
Systems, devices, and methods related to providing streaming services and managing streaming session data are provided. An example method includes: receiving a request for streaming a content item in a streaming session, obtaining a content playlist including a plurality of content segments associated with the requested content item, obtaining an Ad response including an Ad playlist of a plurality of Ad segments, sending the Ad response to a storage device, generating a variant manifest file including the content playlist and the Ad segments inserted in the content playlist, initiating playback of the content segments, obtaining a current playback status of the streaming session, and in response to a determination that the playback of the Ad segments has been completed based on the current playback status, automatically executing a cache clearing process to remove the Ad response from the storage device.


