# US 2011/0219114 A1 · Pod-based server backend infrastructure for peer-assisted applications

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

- Number: US 2011/0219114 A1
- Document ID: US20110219114A1
- Status: Published application
- Kind: A1
- Application number: 13/040,354
- Filed: 2011-03-04
- Published: 2011-09-08
- Earliest claimed: 2010-03-05
- Inventors: Bo Yang; Evan Pedro Greenberg; Chen Wang
- Web page: https://patentgrep.com/patent/US20110219114A1

## CPC

- H04L 61/4535: using an address exchange platform which sets up a session between two nodes, e.g. rendezvous servers, session initiation protocols [SIP] registrars or H.323 gatekeepers
- H04L 61/2575: using address mapping retrieval, e.g. simple traversal of user datagram protocol through session traversal utilities for NAT [STUN]
- H04L 63/029: {Firewall traversal, e.g. tunnelling or, creating pinholes}
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A backend server for a peer-to-peer network manages nodes according to a pod-based management scheme. Each pod comprises a plurality of nodes and only nodes within the same pod can directly share data in the peer-to-peer network. The server dynamically allocates nodes to pods and dynamically allocates computing resources for pushing data to the pods based on characteristics of the incoming data stream and performance of the peer-to-peer sharing. By dynamically adjusting the pod structure and resources available to them based on monitored characteristics, the server can optimize performance of the peer-to-peer network.

## Claims

### Claim 1

A method performed by a server for distributing streaming digital content in a peer-to-peer network, the method comprising:
assigning a plurality of nodes to a plurality of pods, wherein each node is assigned to only one pod, wherein a node shares data with other nodes within its pod and does not share data with nodes outside its pod;
determining an allocation of server resources to the plurality of pods;
receiving from a streaming data source a given data block from a sequence of data blocks;
pushing the given data block to each of the plurality of pods according to the allocation of server resources;
monitoring performance of peer-to-peer sharing of the given data block within each pod; and
re-allocating server resources between pods of the peer-to-peer network based on the monitored performance of the peer-to-peer sharing.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
re-assigning at least one node to a different pod based on the monitored performance of the peer-to-peer sharing.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
detecting a change in bit stream of data pushed to a first pod in the plurality of pods;
responsive to detecting an increase in the bit stream, increasing the allocation of computing resources devoted to the first pod; and
responsive to detecting a decrease in the bit stream, decreasing the allocation of computing resources devoted to the first pod.

### Claim 4 (depends on 1)

The method of claim 1, wherein assigning the plurality of nodes to the plurality of pods comprises:
detecting a new node joining the peer-to-peer network;
determining an available resource metric for each of the plurality of pod; and
assigning the new node to a pod having the most currently available resources.

### Claim 5 (depends on 1)

The method of claim 1, wherein assigning the plurality of nodes to the plurality of pods comprises:
detecting a new node joining the peer-to-peer network; and
determining a distance metric associated with each of the plurality of pods relative to the new node; and
assigning the new node to a pod having a smallest distance metric relative to the new node.

### Claim 6 (depends on 1)

The method of claim 1 wherein the re-allocating the server resources comprises modifying an amount of data pushed to the nodes in the pod directly from the server.

### Claim 7 (depends on 1)

The method of claim 1, wherein the monitored performance comprises an aggregate share ratio indicating a fraction of stream traffic provided to the nodes in the pod directly from the server.

### Claim 8

A computer-readable storage medium storing computer-executable instructions for distributing streaming digital content in a peer-to-peer network, the instructions when executed causing a processor to perform steps including:
assigning a plurality of nodes to a plurality of pods, wherein each node is assigned to only one pod, wherein a node shares data with other nodes within its pod and does not share data with nodes outside its pod;
determining an allocation of server resources to the plurality of pods;
receiving from a streaming data source a given data block from a sequence of data blocks;
pushing the given data block to each of the plurality of pods according to the allocation of server resources;
monitoring performance of peer-to-peer sharing of the given data block within each pod; and
re-allocating server resources between pods of the peer-to-peer network based on the monitored performance of the peer-to-peer sharing.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, the instructions when executed further causing the processor to re-assign at least one node to a different pod based on the monitored performance of the peer-to-peer sharing.

### Claim 10 (depends on 8)

The computer-readable storage medium of claim 8, the instructions when executed further causing the processor to perform steps including:
detecting a change in bit stream of data pushed to a first pod in the plurality of pods;
responsive to detecting an increase in the bit stream, increasing the allocation of computing resources devoted to the first pod; and
responsive to detecting a decrease in the bit stream, decreasing the allocation of computing resources devoted to the first pod.

### Claim 11 (depends on 8)

The computer-readable storage medium of claim 8, wherein assigning the plurality of nodes to the plurality of pods comprises:
detecting a new node joining the peer-to-peer network;
determining an available resource metric for each of the plurality of pod; and
assigning the new node to a pod having the most currently available resources.

### Claim 12 (depends on 8)

The computer-readable storage medium of claim 8, wherein assigning the plurality of nodes to the plurality of pods comprises:
detecting a new node joining the peer-to-peer network; and
determining a distance metric associated with each of the plurality of pods relative to the new node; and
assigning the new node to a pod having a smallest distance metric relative to the new node.

### Claim 13 (depends on 8)

The computer-readable storage medium of claim 8, wherein the re-allocating the server resources comprises modifying an amount of data pushed to the nodes in the pod directly from the server.

### Claim 14 (depends on 8)

The computer-readable storage medium of claim 8, wherein the monitored performance comprises an aggregate share ratio indicating a fraction of stream traffic provided to the nodes in the pod directly from the server.

### Claim 15

A system for distributing streaming digital content in a peer-to-peer network, the system comprising:
one or more processors; and
a computer-readable storage medium storing computer-executable instructions that when executed by the one or more processors cause the one or more processors to perform steps including:
assigning a plurality of nodes to a plurality of pods, wherein each node is assigned to only one pod, wherein a node shares data with other nodes within its pod and does not share data with nodes outside its pod;
determining an allocation of server resources to the plurality of pods;
receiving from a streaming data source a given data block from a sequence of data blocks;
pushing the given data block to each of the plurality of pods according to the allocation of server resources;
monitoring performance of peer-to-peer sharing of the given data block within each pod; and
re-allocating server resources between pods of the peer-to-peer network based on the monitored performance of the peer-to-peer sharing.

### Claim 16 (depends on 15)

The system of claim 15, the instructions when executed further causing the one or more processors to re-assign at least one node to a different pod based on the monitored performance of the peer-to-peer sharing.

### Claim 17 (depends on 15)

The system of claim 15, the instructions when executed further causing the one or more processors to perform steps including:
detecting a change in bit stream of data pushed to a first pod in the plurality of pods;
responsive to detecting an increase in the bit stream, increasing the allocation of computing resources devoted to the first pod; and
responsive to detecting a decrease in the bit stream, decreasing the allocation of computing resources devoted to the first pod.

### Claim 18 (depends on 15)

The system of claim 15, wherein assigning the plurality of nodes to the plurality of pods comprises:
detecting a new node joining the peer-to-peer network;
determining an available resource metric for each of the plurality of pod; and
assigning the new node to a pod having the most currently available resources.

### Claim 19 (depends on 15)

The system of claim 15, wherein assigning the plurality of nodes to the plurality of pods comprises:
detecting a new node joining the peer-to-peer network; and
determining a distance metric associated with each of the plurality of pods relative to the new node; and
assigning the new node to a pod having a smallest distance metric relative to the new node.

### Claim 20 (depends on 15)

The system of claim 15, wherein the re-allocating the server resources comprises modifying an amount of data pushed to the nodes in the pod directly from the server.

### Claim 21 (depends on 15)

The system of claim 15, wherein the monitored performance comprises an aggregate share ratio indicating a fraction of stream traffic provided to the nodes in the pod directly from the server.
