UDP Streaming Bandwidth Calculation via Packet Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current technologies face challenges in accurately calculating network bandwidth for UDP-based streaming media transmission, particularly in dynamically changing network environments, which affects the adaptation of encoding rates for reliable and efficient HD video transmission in real-time video surveillance.

Innovation Solution

A method that divides video frame data into sub-video frame packets with sequence numbers, sends them to a client, and uses response messages to determine packet reception status, allowing for accurate calculation of network bandwidth and adjustment of encoding rates based on sending times and packet sizes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If UDP protocol is used for real-time video transmission, then transmission speed and real-time performance are improved, but transmission reliability deteriorates due to lack of acknowledgment and retransmission mechanisms

Engineering Contradiction:
Improvetransmission speedVSAvoidtransmission reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent segments video frame data into multiple sub-video frame packets with sequence numbers, allowing selective retransmission of only lost packets rather than retransmitting entire frames, thus maintaining real-time performance while improving reliability

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements an acknowledgment mechanism where the client sends response messages to the server indicating which packets were received and which need retransmission, creating a feedback loop that enables reliable transmission over UDP without sacrificing speed

Inventive Principle:
Principle #23Feedback

2Reliability

If encoding rate is reduced when network bandwidth becomes smaller, then transmission reliability is improved, but the ability to adapt when bandwidth recovers deteriorates

Engineering Contradiction:
Improvetransmission reliabilityVSAvoidbandwidth adaptation capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent uses feedback from acknowledgment messages to continuously monitor actual network bandwidth capacity, enabling dynamic adjustment of encoding rate both downward when bandwidth decreases and upward when bandwidth recovers, thus improving both reliability and adaptability

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent implements dynamic encoding rate adjustment based on real-time network conditions, allowing the system to adapt flexibly to changing bandwidth availability rather than using static or one-way adjustment mechanisms

Inventive Principle:
Principle #15Dynamics

3Reliability

If sending buffer size is reduced when network bandwidth decreases, then transmission reliability is improved, but measurement precision of actual bandwidth deteriorates

Engineering Contradiction:
Improvetransmission reliabilityVSAvoidbandwidth measurement precision
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent uses feedback from acknowledgment messages to directly measure actual network bandwidth by calculating the rate at which packets are successfully transmitted and received, providing precise bandwidth measurement independent of sending buffer size

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent extracts bandwidth measurement from the sending buffer mechanism and implements it through acknowledgment feedback, separating the measurement function from buffer management to eliminate the trade-off between reliability and measurement precision

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentEP3322145B1Method, server side and system for computing bandwidth of network transmission of streaming media
Publication Date: 2020.10.14 HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
  • EP3322145B1 patent drawingFigure 1~2
  • EP3322145B1 patent drawingFigure 3
  • EP3322145B1 patent drawingFigure 4~5

AI summary

A method, a server and a system for calculating bandwidth of UDP-based streaming media network transmission. The method includes: dividing video frame data to be sent into a plurality of sub-video frame packets, sending a sub-video frame packet with a preset serial number to a client, and receiving a response message sent by the client, wherein the response message includes a first serial number and a second serial number; sending a sub-video frame packet corresponding to the first serial number to the client, and determining whether the client has received all sub-video frame packets of the video frame data; if so, accurately calculating the actual bandwidth of the current network based on the sending start time of the first sub-video frame packet of the video frame data, the sending end time of the last sub-video frame packet of the video frame data and the size of the video frame data, which provides a basis for the self-adaption of the encoding rate.