RTSP Intermediary Load Balancing via Session ID Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Managing and balancing media streaming sessions across multiple servers is challenging due to the significant resource consumption and distribution of media content across networks, leading to difficulties in controlling server resources effectively.

Innovation Solution

An intermediary system intercepts and modifies RTSP session identifiers to balance load by encoding server IP addresses and ports, allowing for efficient management and distribution of media streams between clients and servers, and dynamically adjusts listening services based on changing port and IP addresses.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If media streaming sessions are distributed across multiple servers, then server resource utilization is improved, but session management complexity increases

Engineering Contradiction:
Improveserver resource utilizationVSAvoidsession management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a load balancer as an intermediary component that sits between clients and multiple media streaming servers. The load balancer receives client requests, makes intelligent routing decisions based on server availability and load, and forwards requests to appropriate servers. This intermediary abstracts the complexity of multi-server management from the overall system, allowing individual servers to focus on streaming while the load balancer handles session distribution and management.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The load balancer performs multiple functions within a single component: it routes client requests to appropriate servers, monitors server availability, manages session state information, and provides a unified interface to clients. By consolidating these diverse functions into one universal component, the system achieves improved resource utilization across multiple servers without proportionally increasing management complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Productivity

If RTSP session identifiers are modified to include server identification, then load balancing capability is improved, but protocol compatibility may deteriorate

Engineering Contradiction:
Improveload balancing capabilityVSAvoidprotocol compatibility
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent embeds server identification information within the existing RTSP session identifier structure by utilizing available fields or extensions in the protocol. Rather than creating a completely new identifier system, the solution adds dimensional information (server ID) within the constraints of the existing protocol framework, enabling load balancing while maintaining compatibility with standard RTSP processing.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Solution Approach 2:

The server identification information is nested within the RTSP session identifier structure. The load balancer extracts and processes this nested information to make routing decisions, while the underlying RTSP protocol operations remain unchanged. This nesting approach allows the load balancing functionality to be layered onto the existing protocol without disrupting its core operations or compatibility.

Inventive Principle:
Principle #7Nested doll (Nesting)

3Adaptability or versatility

If listening services are dynamically adjusted based on port changes, then adaptability is improved, but system complexity increases

Engineering Contradiction:
Improveadaptability to port changesVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The load balancer implements a feedback mechanism that continuously monitors server port assignments and listening service states. When port changes are detected, the load balancer receives feedback about the new configuration, automatically updates its routing tables, and adjusts session management accordingly. This closed-loop feedback system enables dynamic adaptation to port changes without requiring manual reconfiguration or complex procedural interventions.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP2547066B1Systems and methods for load balancing real time streaming protocol
Publication Date: 2019.05.01 CITRIX SYSTEMS INC
  • EP2547066B1 patent drawingFigure 1A
  • EP2547066B1 patent drawingFigure 1B
  • EP2547066B1 patent drawingFigure 1C

AI summary

A system and method for managing by an intermediary between a client and a server a data session for streaming media controlled by a Real Time Streaming Protocol (RTSP) session. The intermediary between a client and a server may identify from a request of the client to setup a media stream and the corresponding response from the server via a control connection of an Real Time Streaming Protocol (RTSP) session, a first port of the client and a second port of the server over which the media stream is to be transmitted. The intermediary may establish a first listening service for communications from the server to the first port and a first internet protocol address of the client. The intermediary may establish a second listening service for communications from the client on the second port with a second internet protocol address of the intermediary. The second listening service of the intermediary may receive a transmission of the media stream via a real time transport protocol from the server to the client. The intermediary may forward the transmission of the media stream to the client upon modifying the transmission to identify the second internet protocol address of the intermediary.