Heartbeat and Secure Stop Mechanism for Streaming Connection Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Digital content distribution systems face inaccuracies in tracking active and terminated streaming connections, leading to undesirable user experiences due to stale state information when termination notifications are not received in a timely manner.

Innovation Solution

Implementing a heartbeat mechanism to monitor streaming connections, where endpoint devices send periodic heartbeat packets indicating active connections, and a secure stop event is used to confirm connection termination, allowing the application server to accurately determine connection status and prevent new connections if previous ones are not properly terminated.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the content server waits for termination notification from the content player, then the state information remains consistent with actual connection status, but the user experience deteriorates when notifications are delayed causing unnecessary blocking of new connections

Engineering Contradiction:
Improveconnection status tracking accuracyVSAvoiduser waiting time for connection establishment
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The content server performs preliminary action by sending a secure stop event to the content player when it suspects a connection may have terminated, rather than waiting passively for the player to notify the server. This proactive approach prevents the server from maintaining stale state information and avoids blocking users unnecessarily while still ensuring accurate connection status tracking.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the content server actively monitors for secure stop events, then connection termination detection improves, but the system complexity increases

Engineering Contradiction:
Improveconnection termination detection reliabilityVSAvoidmonitoring mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements feedback by having the content player send secure stop events back to the content server when connections terminate. This feedback mechanism provides reliable termination detection without requiring complex active monitoring on the server side, as the player proactively informs the server of connection status changes.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The content player performs self-service by automatically generating and sending secure stop events to the content server when a connection terminates. This eliminates the need for the server to implement complex polling or monitoring mechanisms, reducing system complexity while maintaining reliable termination detection.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If the system implements heartbeat packets and secure stop events, then connection status accuracy improves, but the communication overhead increases

Engineering Contradiction:
Improveconnection status accuracyVSAvoidnetwork traffic volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The system uses periodic heartbeat packets exchanged between the content server and content player to maintain connection status accuracy. These periodic communications provide reliable status information while using minimal data volume compared to continuous monitoring, as they only occur at regular intervals to confirm active connections.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The secure stop event mechanism extracts only the essential termination notification from the communication stream, sending a minimal数据包 only when needed to indicate connection termination. This approach provides accurate status changes without the overhead of continuous detailed communication, transmitting only the critical information required.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10225170B2System and method for detecting active streams using a heartbeat and secure stop mechanism
Publication Date: 2019.03.05 NETFLIX INC
  • US10225170B2 patent drawing
  • US10225170B2 patent drawing
  • US10225170B2 patent drawing

AI summary

One embodiment of the present invention sets forth a technique for identifying active streaming connections associated with a particular user account. Each active streaming connection transmits heartbeat packets periodically to a server that tracks the receipt of the heartbeat packets. If, for a particular streaming connection, the server stops receiving heartbeat packets, then the server is able to infer that the streaming connection has been terminated.