Session Affinity Manager for VPN Proxy Media Routing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Media streaming services face challenges in maintaining stable and reliable connections, especially when users access streaming, online gaming, or gambling services through VPNs, as current systems often switch exit nodes during a session, leading to potential logging out or CAPTCHA requirements due to multiple IP address changes.

Innovation Solution

The implementation of a system that assigns a unique hash ID string for a user's session to maintain a 'sticky session' with a single exit node throughout the media streaming, gaming, or gambling session, ensuring all requests are routed through the same exit node, thereby preventing unnecessary switching and enhancing privacy with a 'no-log' policy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Power

If the system switches exit nodes during a user session to distribute load across multiple servers, then server load balancing is improved, but connection stability deteriorates causing users to be logged out or face CAPTCHA requirements

Engineering Contradiction:
Improveserver load balancingVSAvoidconnection stability
Core Design Contradiction:
PowerVSReliability

Solution Approach 1:

The system performs preliminary binding of exit nodes to user sessions at the start of each session. The session affinity manager assigns a specific exit node to each user session and maintains this binding throughout the session duration, preventing subsequent switching. This preliminary assignment resolves the contradiction by establishing stable connections upfront while still allowing load distribution across different sessions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The session affinity manager acts as an intermediary between the load balancer and exit nodes. It receives session affinity indicators from users, determines appropriate exit nodes based on these indicators, and maintains the binding information. This intermediary layer enables both load distribution (by selecting different exit nodes for different sessions) and connection stability (by maintaining consistent exit nodes within sessions).

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If multiple exit nodes are used during a session to improve redundancy, then system availability is improved, but session consistency deteriorates leading to potential service disruptions

Engineering Contradiction:
Improvesystem availabilityVSAvoidsession consistency
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The system segments the session management into distinct components: session creation, exit node selection, and affinity maintenance. Each segment handles a specific aspect of session management independently. The session affinity manager specifically handles the affinity maintenance segment, ensuring that once an exit node is selected for a session, it remains consistent throughout that session's duration, thereby maintaining session consistency while still allowing overall system availability through multiple possible exit nodes across different sessions.

Inventive Principle:
Principle #1Segmentation

3Speed

If exit nodes are frequently changed to optimize performance, then response time is improved, but connection reliability deteriorates causing playback buffer issues

Engineering Contradiction:
Improveresponse timeVSAvoidconnection reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system implements dynamic session affinity management where the exit node assignment is flexible at session creation but becomes fixed during the session. The session affinity manager dynamically selects an exit node based on session affinity indicators when the session starts, then maintains this assignment statically throughout the session. This dynamic-to-static approach allows performance optimization at session initiation while ensuring connection reliability during media playback.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11057351B1System and method for session affinity in proxy media routing
Publication Date: 2021.07.06 UAB 360 IT
  • US11057351B1 patent drawing
  • US11057351B1 patent drawing
  • US11057351B1 patent drawing

AI summary

A system and method for transferring media over a VPN connection are provided. The method includes receiving a first request for connection to a first target at a VPN server from a user device, upon which a domain name of the first target is resolved at the VPN server. A session identification (ID) string for the first request is generated, and the first request and the session ID string are sent from the VPN server to a proxy media server (PMS). A second request for connection to the first target or to a second target, different from the first target is received at the VPN server. The session ID string for the second request is determined or assigned or both, and the second request and the session ID string are sent from the VPN server to the PMS.