Scene-Based Media Preview Generation Reducing Cache Thrashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current media sharing platforms face inefficiencies in generating and managing previews for digital media items, leading to increased resource usage, data generation, and cache thrashing due to the generation of numerous previews for long media items and the ability to seek to any point in time, causing unnecessary re-storage and re-caching of media segments.

Innovation Solution

The method involves identifying scenes within media items and generating previews based on scene length, allowing for fewer previews to be generated and stored, with users able to seek to specific scenes or portions of scenes rather than arbitrary points, reducing resource consumption and cache thrashing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If numerous previews are generated for each media item (e.g., one preview for every second of video), then users can seek to any point in time within the media item, but resource consumption and data generation increase significantly

Engineering Contradiction:
Improveseeking flexibilityVSAvoidnumber of previews
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The media item is divided into scenes based on visual content changes (e.g., scene transitions, different locations, actions). Previews are then generated only for these scene segments rather than for every second of the media item. This segmentation reduces the total number of previews while maintaining the ability to seek to meaningful portions of the media.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different parts of the media item are treated differently based on their characteristics. Scenes with significant visual changes receive previews, while uniform or transitional segments do not. This local differentiation optimizes preview generation by focusing resources on content that benefits most from previewing.

Inventive Principle:
Principle #3Local quality

2Adaptability or versatility

If numerous previews are generated for long media items, then users can access any time point, but cache thrashing and memory thrashing occur due to unnecessary re-storage and re-caching

Engineering Contradiction:
Improveaccess to time pointsVSAvoidcache thrashing
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

By segmenting the media into scenes and generating previews only for these segments, the system reduces the number of cache operations required. Users can still access specific time points, but the system only needs to manage and cache previews for actual scene transitions rather than continuous time points, reducing cache thrashing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system discards unnecessary preview data for segments that do not correspond to actual scenes or meaningful content changes. This selective discarding reduces the data footprint and minimizes cache operations, thereby reducing energy consumption associated with cache management.

Inventive Principle:
Principle #34Discarding and recovering

3Measurement precision

If one preview is generated for every second of video, then precise seeking is enabled, but processing power and storage requirements increase

Engineering Contradiction:
Improveseeking precisionVSAvoiddata generation
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The continuous time-based preview generation is replaced by scene-based segmentation. Previews are generated at scene boundaries and key moments within scenes rather than at every second. This maintains sufficient precision for meaningful seeking while dramatically reducing the total data volume required.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The temporal resolution parameter for preview generation is changed from fixed (one preview per second) to variable based on scene detection. Previews are generated at higher resolution at scene transitions and lower resolution within stable scenes, optimizing the balance between precision and data volume.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10298902B1Previewing and playing media items based on scenes
Publication Date: 2019.05.21 GOOGLE LLC
  • US10298902B1 patent drawing
  • US10298902B1 patent drawing
  • US10298902B1 patent drawing

AI summary

A user input indicating a request to preview a media item at a particular point in time in the media item is received from a client device and it is determined whether a length of a scene covering the particular point in time corresponds to a single preview or multiple previews. Responsive to the length of the scene corresponding to the single preview, the single preview is provided for display on the client device. Responsive to the length of the scene corresponding to the multiple previews, a portion of the scene covering the particular point in time is identified, and a preview associated with the identified portion of the scene is provided for display on the client device.