# US 2020/0128107 A1 · Distributed state recovery in a system having dynamic reconfiguration of participating nodes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0128107 A1
- Document ID: US20200128107A1
- Status: Published application
- Kind: A1
- Application number: 16/658,424
- Filed: 2019-10-21
- Published: 2020-04-23
- Earliest claimed: 2018-10-19
- Assignees: ARRIS Enterprises LLC
- Applicants: ARRIS Enterprises LLC
- Inventors: Dan Leverett Clark
- Web page: https://patentgrep.com/patent/US20200128107A1

## CPC

- H04L 65/1083: In-session procedures
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 12/5601: {Transfer mode dependent, e.g. ATM}
- H04L 43/067: using time frame reporting
- H04L 63/166: {at the transport layer}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 65/612: for unicast
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L 2012/5635: {Backpressure, e.g. for ABR}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for obtaining previously stored session state data for a session between a system having a plurality of nodes and a client device includes obtaining a session identifier specifying the session and hashing the session identifier. A currently valid hash map is searched. The hash map maps a hash of the session identifier to the nodes for a current system configuration. The search is performed to identify a system node on which the session state data for the session is stored. If the session state data is not located using the currently valid hash map, at least one earlier generation hash map that is valid for a previous configuration of the system is searched. Upon identifying the system node on which the session state data is stored, the session state data from the system node is retrieved. The session state data is used to establish the session.

## Claims

### Claim 1

A method for resuming a session that has been interrupted between a system having a plurality of nodes and a client device;
subsequent to interruption of service in a session between a first node and a client device in which the first node delivers a service to the client device, receiving a session resume request from the client device at a second node in the system, the session resume request including information allowing the second node to obtain a session identifier specifying the session;
hashing the session identifier;
searching a currently valid hash map that maps a hash of the session identifier to the nodes in the system for a current system configuration, the search being performed to identify a system node on which the session state data for the session is stored;
if the session state data is not located using the currently valid hash map, searching at least one earlier generation hash map that is valid for a previous configuration of the system;
upon identifying the system node on which the session state data is stored, retrieving the session state data from the system node; and
using the session state data so that the second node is able to resume delivery of the service to the client device.

### Claim 2 (depends on 1)

The method of claim 1, wherein searching said at least one earlier generation includes sequentially searching earlier generation hash maps from the currently valid hash map back through previous generations of hash maps until the session state data is located.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second node is currently delivering another session to another client device and further comprising storing session state data for said another session using the currently valid hash map.

### Claim 4 (depends on 2)

The method of claim 2, wherein previous generations of the hash map expire and no longer need to searched after expiration of a time-to-live (TTL) for any stored session state data.

### Claim 5 (depends on 1)

The method of claim 1, wherein the session identifier is a universally unique identifier (UUID) that is unique within the system for no more than a specified period of time.

### Claim 6 (depends on 1)

The method of claim 1, wherein the session state data includes sufficient data for the second node to resume the session.

### Claim 7 (depends on 1)

The method of claim 1, wherein the nodes in the system include server resources.

### Claim 8 (depends on 1)

The method of claim 1, wherein the system is a system for delivering ABR streaming content to the client device, each of the nodes of the system including an instance of a manifest manipulator delivering ABR manifests to the client device, wherein the service being delivered to the client device includes delivery of ABR streaming content to the client device.

### Claim 9 (depends on 1)

The method of claim 1, wherein each generation of the hash maps is assigned a generation identifier and a timestamp.

### Claim 10 (depends on 1)

The method of claim 1, wherein the plurality of nodes are grouped into different clusters of nodes and identifying the system node in the system on which the session state data is stored further comprises identifying the second node based in part on a previously established system policy concerning the clusters of nodes.

### Claim 11 (depends on 14)

The method of claim 14, wherein the established system policy dictates that attempts to retrieve stored session state data first attempt to retrieve the stored session state data from a node in a cluster in which the first node is located.

### Claim 12 (depends on 12)

The method of claim 12, wherein the session state data has a shard count greater than 1.

### Claim 13 (depends on 12)

The computer-readable medium of claim 12, wherein identifying the system node includes identifying two or more of the plurality of nodes on each of which a different shard of the session state data is saved and further comprising obtaining each of the different shards of the session state data from the two or more nodes.

### Claim 14 (depends on 1)

The computer-readable medium of claim 1, wherein each of the nodes includes a server resource that deliver services to client devices.

### Claim 15

A computer-readable medium having computer executable instructions for implementing a method for obtaining previously stored session state data for a session between a system having a plurality of nodes and a client device, the method comprising;
obtaining a session identifier specifying the session;
hashing the session identifier;
searching a currently valid hash map that maps a hash of the session identifier to the nodes in the system for a current system configuration, the search being performed to identify a system node on which the session state data for the session is stored;
if the session state data is not located using the currently valid hash map, searching at least one earlier generation hash map that is valid for a previous configuration of the system;
upon identifying the system node on which the session state data is stored, retrieving the session state data from the system node; and
using the session state data to establish the session.

### Claim 16 (depends on 15)

The computer-readable medium of claim 15, wherein the session identifier is obtained and used by a second node in the plurality of nodes in the system.

### Claim 17 (depends on 15)

The computer-readable medium of claim 15, wherein searching said at least one earlier generation includes sequentially searching earlier generation hash maps from the currently valid hash map back through previous generations of hash maps until the session state data is located.

### Claim 18 (depends on 16)

The computer-readable medium of claim 16, wherein the second node is currently delivering another session to another client device and further comprising storing session state data for said another session using the currently valid hash map.

### Claim 19 (depends on 15)

The computer-readable medium of claim 15, wherein previous generations of the hash map expire and no longer need to searched after expiration of a time-to-live (TTL) for any stored session state data.

### Claim 20 (depends on 15)

The computer-readable medium of claim 15, wherein the system is a system for delivering ABR streaming content to the client device, each of the nodes of the system including an instance of a manifest manipulator delivering ABR manifests to the client device, wherein the service being delivered to the client device includes delivery of ABR streaming content to the client device.
