Encoder-Sensitive Stream Buffer Management via HRD Occupancy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The transport of high-resolution media, such as video and audio, is resource-intensive and sensitive to timing precision, with existing mechanisms like UDP lacking guaranteed ordering and delivery, making accurate buffer sizing challenging to optimize resource utilization and provide a consistent user experience.

Innovation Solution

A system using a hypothetical reference decoder (HRD) buffer model to manage output buffer occupancy by adjusting based on the encoder's current HRD buffer occupancy, calculating target durations for packet release to prevent underflow or overflow, and dynamically sizing the output buffer based on time duration of picture data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If the output buffer is underallocated, then resource utilization is optimized, but buffer underflow or overflow risk increases

Engineering Contradiction:
Improvebuffer sizeVSAvoidbuffer underflow/overflow risk
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent implements dynamic buffer sizing where the output buffer allocation is continuously adjusted based on real-time HRD buffer occupancy measurements. The buffer size is not fixed but adapts to changing encoding conditions, allowing the system to optimize resource utilization while maintaining reliability across varying workloads.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system uses feedback from the HRD buffer occupancy status to control output buffer management. By monitoring the HRD buffer occupancy and using this information to adjust output buffer allocation and packet release timing, the system creates a closed-loop control mechanism that prevents underflow and overflow while optimizing buffer usage.

Inventive Principle:
Principle #23Feedback

2Reliability

If the output buffer is overallocated, then buffer underflow or overflow risk is reduced, but output latency increases

Engineering Contradiction:
Improvebuffer underflow/overflow riskVSAvoidoutput latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements dynamic buffer sizing where the output buffer allocation is continuously adjusted based on real-time HRD buffer occupancy measurements. The buffer size is not fixed but adapts to changing encoding conditions, allowing the system to optimize resource utilization while maintaining reliability across varying workloads.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of buffer size dynamically based on HRD occupancy. By adjusting the buffer size parameter in response to changing conditions rather than using a static allocation, the system achieves low latency during normal operation while maintaining sufficient buffering capacity when needed to prevent underflow or overflow.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If fixed buffer sizing is used, then device complexity is reduced, but adaptability to varying media stream characteristics deteriorates

Engineering Contradiction:
Improvebuffer management complexityVSAvoidadaptability to media stream variations
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements a self-adjusting buffer management system that automatically adapts to varying media stream characteristics without requiring complex external control. The system monitors its own HRD buffer occupancy and uses this self-generated information to dynamically adjust output buffer allocation, achieving high adaptability with minimal additional complexity.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10735338B2Encoder-sensitive stream buffer management
Publication Date: 2020.08.04 AMAZON TECH INC
  • US10735338B2 patent drawing
  • US10735338B2 patent drawing
  • US10735338B2 patent drawing

AI summary

An encoding or transcoding system uses hypothetical reference decoder occupancy data to at least calculate parameters for output buffers for data streams. An output thread receives HRD buffer occupancy data and calculates buffer occupancy based on duration, rather than absolute occupancy, and correlates the HRD buffer occupancy data with target durations for buffered packets prior to release from the buffer.