Media Stream Preservation During Server Maintenance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Media streams are often disrupted or lost when infrastructure components, such as servers, go offline for maintenance, leading to lost data or dropped streams due to the 'draining' period where servers stop accepting new requests but may still host existing connections.

Innovation Solution

Implementing a 'reconnect now' message system where servers notify clients of impending offline status, allowing clients to establish a new connection with a different server at a logical boundary, minimizing disruption and ensuring continuous stream preservation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If servers stop accepting new requests during maintenance (draining period), then server maintenance can be performed, but existing media streams may be disrupted or lost when the server goes offline

Engineering Contradiction:
Improveserver maintenance capabilityVSAvoidmedia stream continuity
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The system sends a 'reconnect now' message to clients before the server actually goes offline during the draining period. This preliminary notification allows clients to proactively establish new connections to different servers before the original server shuts down, preventing stream disruption and maintaining reliability while enabling maintenance

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The 'reconnect now' message acts as an intermediary signal between the server and client. It mediates the transition by informing the client of the upcoming server shutdown and prompting the client to switch to an alternative server, thus resolving the conflict between server maintenance and stream continuity

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If servers host existing connections during the draining period, then existing media streams can continue, but the server may go offline causing lost data or dropped streams

Engineering Contradiction:
Improvemedia stream continuityVSAvoidmedia data loss
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

By sending the reconnect notification in advance during the draining period, the system enables clients to complete their data transmission and establish new connections before the server shuts down. This preliminary action prevents data loss by ensuring clients have already migrated to alternative servers that will continue hosting the streams

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a feedback mechanism where the server monitors which clients have received the reconnect message and tracks their reconnection status. This feedback loop ensures that clients are properly redirected to alternative servers, preventing data loss by confirming successful stream migration before the original server goes offline

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11888905B2Systems and methods for preserving media streams
Publication Date: 2024.01.30 META PLATFORMS INC
  • US11888905B2 patent drawing
  • US11888905B2 patent drawing
  • US11888905B2 patent drawing

AI summary

A computer-implemented method for preserving media streams may include (i) identifying a media stream transmitted by a client device to a server that hosts the media stream for access by additional devices, (ii) detecting that the server is expected to go offline, (iii) sending, in response to detecting that the server is expected to go offline, a message to the client device indicating that the server is expected to go offline, (iv) receiving, at an additional server, a request from the client device to host the media stream, and (v) in response to receiving the request, hosting the media stream at the additional server while ceasing to host the media stream at the server that is expected to go offline. Various other methods, systems, and computer-readable media are also disclosed.