Dynamic Buffer Management for P2P Streaming Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In peer-to-peer (P2P) based streaming services, maintaining synchronization between peers and a server is challenging due to varying network conditions, leading to a decrease in data packet sharing ratios.

Innovation Solution

A system and method for managing buffering, which includes dynamically adjusting the size of buffers to store data stream pieces based on network conditions, using a first buffer for storing incoming pieces and a second buffer for outputting pieces for playback, and transmitting buffered pieces between peer clients to maintain synchronization and increase sharing ratios.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If buffering is not managed in P2P streaming, then network bandwidth is utilized efficiently, but synchronization between peers deteriorates due to varying network conditions

Engineering Contradiction:
Improvesynchronization between peersVSAvoidbuffering management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic buffer management where the buffer controller continuously monitors playback status and network conditions, adjusting buffer operations in real-time. The buffer size and timing are dynamically adapted to maintain synchronization despite varying network conditions, resolving the contradiction between reliability and static complexity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Each peer client autonomously manages its own buffering without requiring complex centralized coordination. The local buffer controller independently regulates data reception, storage, and playback timing based on local playback status, simplifying the overall system while maintaining synchronization reliability.

Inventive Principle:
Principle #25Self-service

2Reliability

If data pieces are transmitted immediately without buffering, then playback latency is reduced, but sharing ratio of data packets decreases due to synchronization failures

Engineering Contradiction:
Improvedata packet sharing ratioVSAvoidplayback latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary buffering of incoming data pieces before playback. The buffer stores data in advance, allowing peers to share pre-buffered pieces with other peers even before they are played back locally, thereby increasing sharing ratio without significantly impacting user-perceived latency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The buffer holds more data pieces than the minimum required for continuous playback. This excessive buffering ensures that sufficient data is available for sharing with other peers during synchronization events, improving the sharing ratio while maintaining acceptable playback timing.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If buffer size is increased to maintain synchronization, then data packet sharing ratio improves, but memory usage increases

Engineering Contradiction:
Improvesynchronization maintenanceVSAvoidbuffer memory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The buffer size is dynamically adjusted based on actual playback status and network conditions rather than being fixed at a large value. The buffer controller monitors synchronization status and expands or contracts buffer capacity accordingly, maintaining reliable synchronization while optimizing memory utilization.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes buffer parameters (size, timing, retention duration) adaptively based on operational conditions. When synchronization is stable, buffer size is reduced; when network variability increases, buffer size is expanded. This parameter adaptation maintains reliability while minimizing average memory usage.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9736236B2System and method for managing buffering in peer-to-peer (P2P) based streaming service and system for distributing application for processing buffering in client
Publication Date: 2017.08.15 NAVER CORP
  • US9736236B2 patent drawing
  • US9736236B2 patent drawing
  • US9736236B2 patent drawing

AI summary

A system to manage a buffering of a data stream for a peer client in a peer-to-peer based streaming service includes a buffering control unit including a processor configured to control pieces of the data stream to be buffered in a first buffer of the peer client, and to control one or more outputted pieces to be buffered in a second buffer of the peer client, the outputted pieces being outputted from the first buffer for play back of the data stream. A method for managing a buffering includes storing pieces of the data stream in a first buffer; storing one or more outputted pieces of the data stream in a second buffer; and transmitting one or more pieces stored in the first buffer or the second buffer.