# US 10,958,702 B1 · Timeout optimization for streaming video

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

- Number: US 10,958,702 B1
- Document ID: US10958702B1
- Status: Granted
- Kind: B1
- Application number: 16/128,205
- Filed: 2018-09-11
- Granted: 2021-03-23
- Earliest claimed: 2018-09-11
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Yang Yang; Yongjun Wu; Kevin Matthew McCaw; Satheesh Ramalingam; Viet Anh To; Alon Dulce
- Web page: https://patentgrep.com/patent/US10958702B1

## CPC

- H04L 65/80: Responding to QoS
- H04L 65/612: for unicast
- H04L 65/752: adapting media to network capabilities
- H04N 21/2387: Stream processing in response to a playback request from an end-user, e.g. for trick-play
- H04N 21/4384: {involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency}
- H04N 21/44004: {involving video buffer management, e.g. video decoder buffer or video display buffer}
- H04N 21/44209: {Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network (arrangements for maintenance or administration in data switching networks involving bandwidth and capacity management H04L41/0896)}
- H04N 21/845: Structuring of content, e.g. decomposing content into time segments
- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems, methods, and computer-readable media are disclosed for determining and applying a timeout for streaming video. Processing circuitry of a device may request video fragments to be downloaded and played, and if a requested fragment is not downloaded entirely before expiration of a timeout, the device may adjust the timeout to allow the download to complete. A timeout may be set based on available bandwidth and a size of a fragment requested for download, and the timeout may be extended based on network and/or device conditions.

## Claims

### Claim 1

A device comprising memory and processing circuitry configured to:
determine ultra high definition (UHD) content to be displayed;
determine, for the UHD content, an estimated download time, wherein the estimated download time is based at least in part on a size of a UHD video fragment divided by an estimated bandwidth associated with downloading the UHD video fragment;
determine a first timeout based at least in part on the estimated download time multiplied by a timeout factor;
cause to send a first request to download the UHD video fragment, wherein the UHD video fragment comprises a first portion and a second portion;
receive the first portion over a first time period;
determine that the second portion will not be downloaded before expiration of the first timeout;
determine a scaling factor for use in determining a second timeout, wherein the scaling factor is associated with at least one of an internet service provider (ISP) address, an autonomous system number (ASN), or a network condition;
determine, for the second portion, a second estimated download time;
determine that the second estimated download time is below a threshold;
determine the second timeout based at least in part on the scaling factor multiplied by a product, wherein the product is the second estimated download time multiplied by the timeout factor; and
receive the second portion before expiration of the second timeout.

### Claim 2 (depends on 1)

The device of claim 1, wherein to determine that the second portion will not be downloaded before expiration of the first timeout comprises to determine a ratio of a size of the second portion divided by a size of the first portion, wherein the ratio is multiplied by the first time period.

### Claim 3 (depends on 1)

The device of claim 1, wherein the memory and the processing circuitry are configured to determine the timeout factor based at least in part on a buffer size, wherein the timeout factor is a positive number.

### Claim 4 (depends on 1)

The device of claim 1, wherein the UHD video fragment comprises a third portion and a fourth portion, wherein the memory and the processing circuitry are further configured to:
receive the third portion;
determine that the fourth portion will not be downloaded before expiration of the second timeout;
determine a third timeout based at least in part a difference between the second timeout and a cumulative time taken to download the first portion, the second portion, and the third portion, wherein the difference is multiplied by a bonus factor; and
receive the fourth portion before expiration of the third timeout.

### Claim 5 (depends on 4)

The device of claim 4, wherein the memory and the processing circuitry are further configured to determine the bonus factor based at least in part on at least one of the following:
a size of the third portion divided by a size of the fourth portion,
performance data associated with the device, or
performance data associated with at least one of the ISP address, the ASN, or the network condition.

### Claim 6

A device comprising memory and processing circuitry configured to:
determine an estimated download time associated with a ultra high definition (UHD) content, wherein the estimated download time is based at least in part on a size of a UHD video fragment and an estimated bandwidth associated with downloading the UHD video fragment;
determine a timeout based at least in part on the estimated download time and multiplied by a timeout factor, the timeout factor associated with a video frame buffer;
cause to send a request to download the UHD video fragment, wherein the UHD video fragment comprises a first portion and a second portion; and
receive the first portion before the timeout is reached.

### Claim 7 (depends on 6)

The device of claim 6, wherein the estimated download time is based at least in part on the size of the UHD video fragment divided by the estimated bandwidth.

### Claim 8 (depends on 6)

The device of claim 6, wherein the timeout factor is associated with a size of the video frame buffer.

### Claim 9 (depends on 6)

The device of claim 6, wherein the UHD video fragment further comprises a third portion and a fourth portion, wherein the memory and the processing circuitry are further configured to:
receive the third portion; and
determine that the fourth portion and the second portion will be downloaded before expiration of the timeout.

### Claim 10 (depends on 6)

The device of claim 6, wherein the timeout is a first timeout, wherein the memory and the processing circuitry are further configured to:
determine that the second portion will not download before expiration of the first timeout;
determine a second timeout to download the second portion, wherein the second timeout expires after the first timeout;
determine that the second timeout is below a threshold; and
receive the second portion before expiration of the second timeout.

### Claim 11 (depends on 10)

The device of claim 10, wherein to determine the second timeout comprises:
determining a ratio of a size of the second portion divided by a size of the first portion; and
multiplying the ratio by a time used to download the first portion.

### Claim 12 (depends on 6)

The device of claim 6, wherein the timeout is a first timeout, and wherein the memory and the processing circuitry are further configured to:
determine a scaling factor for use in determining a second timeout, wherein the scaling factor is associated with at least one of an internet service provider (ISP) address, an autonomous system number (ASN), or a network condition;
determine the second timeout, wherein the second timeout is based at least in part on the scaling factor and an estimated download time associated with a second UHD video fragment, wherein the second UHD video fragment comprises a third portion and a fourth portion;
receive the third portion;
determine an additional time to download the fourth portion, wherein the additional time is based at least in part on a bonus factor, the second timeout, and a time taken to download the first portion, and wherein the additional time is in addition to the second timeout; and
receive the fourth portion before expiration of the second timeout plus the additional time.

### Claim 13 (depends on 12)

The device of claim 12, wherein the scaling factor is associated with the network condition, and wherein the network condition is associated with the estimated bandwidth.

### Claim 14 (depends on 12)

The device of claim 12, wherein the memory and the processing circuitry are further configured to determine the bonus factor based at least in part on at least one of the following:
the size of the third portion divided by the size of the fourth portion,
performance data associated with the device, or
performance data associated with at least one of the ISP address, the ASN, or the network condition.

### Claim 15

A method, comprising:
determining, by processing circuitry of a device, an estimated download time associated with a ultra high definition (UHD) content, wherein the estimated download time is based at least in part on a size of a UHD video fragment and an estimated bandwidth associated with downloading the UHD video fragment;
determining, by the processing circuitry, a timeout based at least in part on the estimated download time multiplied by a timeout factor, the timeout factor associated with a video frame buffer;
causing to send, by the processing circuitry, a request to download the UHD video fragment, wherein the UHD video fragment comprises a first portion and a second portion; and
receiving, by the processing circuitry, the first portion before the timeout is reached.

### Claim 16 (depends on 15)

The method of claim 15, wherein the estimated download time is based at least in part on the size of the UHD video fragment divided by the estimated bandwidth.

### Claim 17 (depends on 15)

The method of claim 15, wherein the timeout factor is associated with a size of the video frame buffer.

### Claim 18 (depends on 15)

The method of claim 15, wherein the UHD video fragment further comprises a third portion and a fourth portion, the method further comprising:
receiving the third portion; and
determining that the fourth portion and the second portion will be downloaded before expiration of the timeout.

### Claim 19 (depends on 15)

The method of claim 15, further comprising:
determining that the second portion will not download before expiration of the timeout;
determining a second timeout to download the second portion, wherein the second timeout expires after the timeout;
determine that the second timeout is below a threshold; and
receiving the second portion before expiration of the second timeout.

### Claim 20 (depends on 19)

The method of claim 19, wherein determining the second timeout comprises:
determining a ratio of a size of the second portion divided by a size of the first portion; and
multiplying the ratio by a time used to download the first portion.
