# US 2017/0013041 A1 · Http streaming client adaptation algorithm based on proportional-integral control

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

- Number: US 2017/0013041 A1
- Document ID: US20170013041A1
- Status: Published application
- Kind: A1
- Application number: 15/275,714
- Filed: 2016-09-26
- Published: 2017-01-12
- Earliest claimed: 2013-08-28
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Xiaoqing Zhu; Zhi Li; Rong Pan; Joshua B. Gahm; Hao Hu
- Web page: https://patentgrep.com/patent/US20170013041A1

## CPC

- H04L 47/38: by adapting coding or compression rate
- H04L 47/25: with rate being modified by the source upon detecting a change of network conditions
- H04L 47/30: in combination with information about buffer occupancy at either end or at transit nodes
- H04L 65/60: Network streaming of media packets
- H04L 65/65: Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
- H04L 65/75: Media network packet handling
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, an HTTP streaming session may be initiated at a client device in a network. The client device may have a buffer and may be configured to request and receive one or more data segments over HTTP from an HTTP server. A first data segment at a first data source rate may be requested and subsequently received. The first data segment may be stored in the buffer. A second data source rate may then be calculated based on a storage level in the buffer, and a second data segment at the second data source rate may be requested.

## Claims

### Claim 1

A method, comprising:
initiating, at a client device in a network, a Hyper-Text Transfer Protocol (HTTP) streaming session, wherein the client device has a buffer and is configured to request and receive one or more data segments over HTTP from an HTTP server;
requesting a first data segment at a first data source rate;
receiving the first data segment at the first data source rate;
storing the first data segment in the buffer;
calculating a second data source rate as a function of the first data source rate and a difference between a current buffer level and a predetermined reference buffer level, a difference between the current buffer level and a previous buffer level or both;
requesting a second data segment at the second data source rate;
receiving the second data segment at the second data source rate; and
continuing the adaptive HTTP streaming session until the HTTP session is complete.

### Claim 2 (depends on 1)

The method as in claim 1, further comprising:
calculating the second data source rate and requesting the second data segment at the second data source rate substantially immediately after the first data segment is requested.

### Claim 3 (depends on 1)

The method as in claim 1, wherein the calculating of the second data source rate is further based on a predetermined reference storage level in the buffer.

### Claim 4 (depends on 1)

The method as in claim 1, wherein the calculating of the second data source rate is further based on the first data source rate.

### Claim 5 (depends on 1)

The method as in claim 1, further comprising:
adjusting one or more of: the first predetermined scaling parameter and the second predetermined scaling parameter.

### Claim 6 (depends on 1)

The method as in claim 1, wherein the first data segment and the second data segment are a first video segment and a second video segment, respectively.

### Claim 7 (depends on 1)

The method as in claim 1, further comprising:
determining a buffer playout duration based on the storage level in the buffer.

### Claim 8 (depends on 1)

The method as in claim 1, wherein:
the client device is engaged in the HTTP streaming session while a plurality of other client devices in the network are engaged in respective HTTP streaming sessions, and
the client device and the plurality of other client devices receive data segments over a shared communications link.

### Claim 9 (depends on 1)

The method as in claim 1, further comprising:
determining whether the buffer is full, wherein the second data segment is requested only when the buffer is not full.

### Claim 10

An apparatus, comprising:
one or more network interfaces that communicate with a network;
a processor coupled to the one or more network interfaces and configured to execute a process; and
a memory configured to store program instructions which contain the process executable by the processor, the process comprising:
initiating, as a client device in the network, a Hyper-Text Transfer Protocol (HTTP) streaming session, wherein the client device has a buffer and is configured to request and receive one or more data segments over HTTP from an HTTP server;
requesting a first data segment at a first data source rate;
receiving the first data segment at the first data source rate;
storing the first data segment in the buffer;
calculating a second data source rate as a function of the first data source rate and a difference between a current buffer level and a predetermined reference buffer level, a difference between the current buffer level and a previous buffer level or both;
requesting a second data segment at the second data source rate;
receiving the second data segment at the second data source rate; and
continuing the adaptive HTTP streaming session until the HTTP session is complete.

### Claim 11 (depends on 10)

The apparatus as in claim 10, wherein the process further comprises:
calculating the second data source rate and requesting the second data segment at the second data source rate substantially immediately after the first data segment is requested.

### Claim 12 (depends on 10)

The apparatus as in claim 10, wherein the calculating of the second data source rate is further based on a predetermined reference storage level in the buffer.

### Claim 13 (depends on 10)

The apparatus as in claim 10, wherein the calculating of the second data source rate is further based on the first data source rate.

### Claim 14 (depends on 10)

The apparatus as in claim 10, wherein the process further comprises:
adjusting one or more of: the first predetermined scaling parameter and the second predetermined scaling parameter.

### Claim 15 (depends on 10)

The apparatus as in claim 10, wherein the first data segment and the second data segment are a first video segment and a second video segment, respectively.

### Claim 16 (depends on 10)

The apparatus as in claim 10, wherein the process further comprises:
determining a buffer playout duration based on the storage level in the buffer.

### Claim 17 (depends on 10)

The apparatus as in claim 10, wherein:
the client device is engaged in the HTTP streaming session while a plurality of other client devices in the network are engaged in respective HTTP streaming sessions, and
the client device and the plurality of other client devices receive data segments over a shared communications link.

### Claim 18 (depends on 10)

The apparatus as in claim 10, wherein the process further comprises:
determining whether the buffer is full, wherein the second data segment is requested only when the buffer is not full.

### Claim 19

A tangible non-transitory computer readable medium storing program instructions that cause a computer to execute a process, the process comprising:
initiating an HTTP streaming session at a client device in a network, wherein the client device has a buffer and is configured to request and receive one or more data segments over HTTP from an HTTP server;
requesting a first data segment at a first data source rate;
receiving the first data segment at the first data source rate;
storing the first data segment in the buffer;
calculating a second data source rate as a function of the first data source rate and a difference between a current buffer level and a predetermined reference buffer level, a difference between the current buffer level and a previous buffer level or both;
requesting a second data segment at the second data source rate;
receiving the second data segment at the second data source rate; and
continuing the adaptive HTTP streaming session until the HTTP session is complete.

### Claim 20 (depends on 19)

The tangible non-transitory computer readable medium of claim 19, wherein the process further comprises;
calculating the second data source rate and requesting the second data segment at the second data source rate substantially immediately after the first data segment is requested.
