Video Data Transmission Switching Between Relay and P2P Modes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current video data transmission methods, such as server relay and Peer to Peer (P2P) technologies, face challenges like high bandwidth costs and low connection speeds, leading to reduced user experience and inefficient bandwidth usage.

Innovation Solution

A method and system that initially use a relay server for video data transmission, switching to P2P mode when connections are established, and revert to the relay server if packet loss or disconnection occurs, ensuring continuous video data transmission.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If server relay technologies are used to transmit video data, then user connection speed is improved, but bandwidth cost increases

Engineering Contradiction:
Improveconnection speedVSAvoidbandwidth cost
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent implements dynamic switching between relay server mode and P2P mode based on real-time connection status. The system transitions from a static relay-dependent architecture to a dynamic architecture that adapts between centralized relay and peer-to-peer transmission, optimizing both connection speed and bandwidth utilization according to network conditions

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the transmission mode parameter dynamically - switching between relay server transmission and P2P transmission based on connection establishment status. This parameter change allows the system to leverage the fast connection capability of relay servers initially, then switch to bandwidth-efficient P2P mode when connections are stable

Inventive Principle:
Principle #35Parameter changes

2Loss of energy

If P2P technologies are used to transmit video data, then bandwidth cost is reduced, but connection speed deteriorates

Engineering Contradiction:
Improvebandwidth costVSAvoidconnection speed
Core Design Contradiction:
Loss of energyVSSpeed

Solution Approach 1:

The system performs preliminary connection establishment through the relay server before switching to P2P mode. This preliminary action ensures that users experience fast connection speeds during the initial phase, and only transitions to bandwidth-efficient P2P mode after connections are stabilized, thus avoiding the slow connection problem of pure P2P

Inventive Principle:
Principle #10Preliminary action

3Reliability

If relay server is used for video data transmission, then connection reliability is improved, but bandwidth consumption increases

Engineering Contradiction:
Improveconnection reliabilityVSAvoidbandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system dynamically adjusts the transmission path based on network conditions, switching between relay server (high reliability) and P2P (low bandwidth consumption) modes. This dynamic adaptation allows the system to achieve both reliability and bandwidth efficiency by leveraging the strengths of both transmission methods

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The relay server acts as an intermediary that facilitates initial connection establishment and provides reliable transmission when needed. The system uses the intermediary relay server to ensure connection reliability during critical phases, then transitions to direct P2P communication to reduce bandwidth consumption when conditions permit

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP2448206B1Method, system and device for transmitting video data
Publication Date: 2021.04.28 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • EP2448206B1 patent drawingFigure 1
  • EP2448206B1 patent drawingFigure 2
  • EP2448206B1 patent drawingFigure 3~4

AI summary

Embodiments of the invention provide a method, system and device for transmitting video data, which belong to network communication technologies. The method includes: sending, by first and second clients, first and second connection requests respectively to a relay server and a Peer to Peer (P2P) server; when a first relay connection between the first client and the relay server is established successfully, a second relay connection between the second client and the relay server is established successfully, forwarding and transmitting the video data via the relay server; when a first P2P connection between the first client and the P2P server is established successfully, a second P2P connection between the second client and the P2P server is established successfully, suspending the forwarding and transmitting of the video data via the relay server; directly transmitting, by the first and second clients, the video data with a P2P mode. With the solution provided by embodiments of the invention, problems, such as low speed of log-on and connection, even without connection, generated when a client adopts the P2P, may be solved. Thus, a user's usage experience is improved.