Live-Streaming Encoder Dual-Bitrate Packet Loss Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

During co-hosting in live-streaming, packet loss occurs frequently, leading to significant damage to the live-streaming data received by the anchor terminal, necessitating effective packet loss recovery mechanisms to ensure uninterrupted and high-quality streaming.

Innovation Solution

The method involves an encoding device that generates two encoded data frames for each current data frame using different bit rates based on the same state information, allowing for seamless switching and reducing noise during decoding, while also utilizing long-term prediction parameters to manage packet loss and integrate data frames for complete streaming data reconstruction.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If packet loss recovery mechanisms are implemented to ensure uninterrupted streaming, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improvestreaming continuityVSAvoidencoding process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by generating and transmitting multiple encoded versions of each data frame (first encoded data frame with first bit rate, second encoded data frame with second bit rate) before transmission. These pre-prepared alternative encodings enable packet loss recovery without requiring complex real-time processing, thus improving reliability while controlling complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent utilizes parameter changes by encoding the same current data frame with different bit rates (first bit rate and second bit rate) to create multiple encoded versions. This parameter variation allows the receiving end to select appropriate encoded frames for packet loss recovery, improving streaming reliability through simple parameter-based differentiation rather than complex structural changes.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If multiple encoded data frames are generated for each current data frame, then packet loss recovery capability is improved, but loss of time increases

Engineering Contradiction:
Improvepacket loss recoveryVSAvoidencoding time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary encoding actions by generating both first and second encoded data frames during the initial encoding phase. These pre-encoded frames are prepared in advance and transmitted alongside the original data, enabling immediate packet loss recovery without additional real-time encoding operations, thus reducing time loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies copying by creating multiple encoded versions (copies) of the same current data frame with different bit rates. Instead of performing complex real-time encoding when packet loss is detected, the system uses these pre-created copies for recovery, significantly reducing the time required for packet loss handling.

Inventive Principle:
Principle #26Copying

3Adaptability or versatility

If different bit rates are used for encoding, then adaptability to network conditions is improved, but manufacturing precision requirements increase

Engineering Contradiction:
Improvenetwork condition adaptationVSAvoidstate information consistency
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The patent implements parameter changes by using different bit rates (first bit rate and second bit rate) for encoding the same current data frame. This allows the system to adapt to varying network conditions by selecting appropriate bit rates, improving versatility while maintaining consistent state information across different encodings.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies local quality by using the same state information (such as linear prediction coefficients, noise shaping gain) across different encoded versions while varying only the bit rate parameter. This ensures that each encoded version maintains the essential quality characteristics of the original audio while adapting to different network conditions, balancing adaptability with quality consistency.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11908481B2Method for encoding live-streaming data and encoding device
Publication Date: 2024.02.20 BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
  • US11908481B2 patent drawing
  • US11908481B2 patent drawing
  • US11908481B2 patent drawing

AI summary

Provided is a method for encoding live-streaming data, including: acquiring first state information associated with a current data frame; generating backup state information by backing up the first state information; generating a first encoded data frame by encoding the current data frame based on a first bit rate and the first state information; generating reset state information by resetting the updated first state information based on the backup state information; generating a second encoded data frame by encoding the current data frame based on a second bit rate and the reset state information; and generating a first target data frame corresponding to the current data frame based on the first encoded data frame and the second encoded data frame.