Output Rate Controller for TS Packet Buffer Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing output rate controllers for TS packets in IP networks face issues with sudden changes in buffer accumulation, leading to potential buffer overflow or underflow, which can cause decoding failures due to irregular packet arrival intervals and AV synchronization errors.
Innovation Solution
An output rate controller that includes a packet accumulator, maximum value increase detector, minimum value decrease detector, and an output controller to dynamically adjust the output rate based on trends in buffer accumulation, with optional features like NULL packet insertion for packet loss and an initial output rate calculator for precise rate calculation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a buffer is provided to absorb transmission delay fluctuation and output rate is set according to buffer accumulation at sample time, then transmission delay fluctuation is absorbed, but output rate drastically changes when buffer accumulation suddenly increases or decreases, causing buffer overflow or underflow
Solution Approach 1:
The invention performs preliminary detection of buffer accumulation trends before the sample time output rate setting. By detecting whether buffer accumulation is increasing or decreasing in advance, the system can proactively adjust the output rate to prevent sudden drastic changes, buffer overflow, or underflow, thereby maintaining both transmission reliability and output rate stability.
Solution Approach 2:
The invention implements a feedback mechanism that continuously monitors buffer accumulation and uses this information to dynamically adjust the output rate. The detected buffer trend (increasing or decreasing) feeds back to the output rate setting, creating a closed-loop control system that responds to actual buffer conditions rather than relying on fixed sample time measurements, thus preventing output rate instability.
2Measurement precision
If output rate is set according to buffer accumulation at fixed sample time, then buffer accumulation is monitored, but the same state continues until next sample time causing buffer overflow or underflow
Solution Approach 1:
The invention performs preliminary detection of buffer accumulation trends between sample times. By detecting whether buffer accumulation is increasing or decreasing before the next sample time, the system can take preventive action to adjust the output rate, avoiding buffer overflow or underflow that would occur if waiting for the next sample time measurement.
Solution Approach 2:
The invention transitions from static output rate setting (based on fixed sample time measurements) to dynamic output rate adjustment (based on continuous buffer trend detection). The output rate is dynamically modified according to the detected buffer accumulation trend, enabling the system to adapt to changing buffer conditions in real-time rather than maintaining the same state until the next sample time.
Data Source
AI summary
An output rate controller has a TS packet buffer, a maximum value increase detector, a minimum value decrease detector and an output controller. The TS packet buffer accumulates input packets. The maximum value increase detector detects an increasing trend of the maximum number of packets being accumulated in the TS packet buffer within a fixed time period. The minimum value decrease detector detects a decreasing trend of the minimum number of packets being accumulated in the TS packet buffer within a fixed time period. The output controller sets a higher output rate of packets being accumulated in the TS packet buffer if an increasing trend has been detected by the maximum value increase detector, and sets a lower output rate of packets being accumulated in the TS packet buffer if a decreasing trend has been detected by the minimum value decrease detector.


