# US 2026/0149838 A1 · Utilizing a single buffer for a dynamic number of players, each using a dynamically sized buffer

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

- Number: US 2026/0149838 A1
- Document ID: US20260149838A1
- Status: Published application
- Kind: A1
- Application number: 19/447,677
- Filed: 2026-01-13
- Published: 2026-05-28
- Earliest claimed: 2023-07-27
- Assignees: Roku, Inc.
- Applicants: Roku, Inc.
- Inventors: Offer ATZITZ; WIM MICHIELS; HUATAO WENG; GOVIND VAIDYA
- Web page: https://patentgrep.com/patent/US20260149838A1

## CPC

- G06F 12/0842: for multiprocessing or multitasking
- H04N 21/231: Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- G06F 12/0871: Allocation or management of cache space
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/084: with a shared cache
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/1016: Performance improvement
- G06F 2212/254: Distributed memory
- G06F 2212/311: In host system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed herein are system, apparatus, article of manufacture, method and/or computer program product embodiments, and/or combinations and sub-combinations thereof, for utilizing a single storage buffer for a dynamic number of players, each using a dynamically sized virtual buffer. For example, a system includes a buffer management controller that receives a request to initiate at least one player instance for displaying a content item. The buffer management controller creates a virtual buffer having a maximum capacity for the player instance. Finally, the buffer management controller identifies one or more available regions of the single storage buffer and maps the virtual buffer to the one or more available regions in response to determining that address space in the one or more available regions matches or exceeds the maximum capacity of the virtual buffer.

## Claims

### Claim 1

A computer-implemented method for storing portions of content items in a virtual buffer, comprising:
receiving, by a buffer management controller, a memory allocation request from a player;
receiving, by the buffer management controller, a subset of a plurality of slices of a content item from a data source;
determining, by the buffer management controller, a playback status of at least one previously stored slice of the content item in one or more regions of the single storage buffer mapped to the virtual buffer associated with the player;
removing, by the buffer management controller, the at least one previously stored slice of the content item from the one or more regions of the single storage buffer mapped to the virtual buffer when the playback status indicates that the at least one previously stored slice of the content item has been displayed on a display device; and
storing, by the buffer management controller, the subset of the plurality of slices of the content item in the one or more regions of the single storage buffer mapped to the virtual buffer.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
prompting, by the buffer management controller, a streaming module to adjust a size of each slice of the content item based on one or more factors.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the one or more factors comprise a number of existing virtual buffers, a total capacity of a single storage buffer, a maximum amount of player instances that can be initiated at a given time, an amount of address space necessary to allocate a sufficient number of slices of a content item to the virtual buffer.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining the playback status of the at least one previously stored slice of the content item based on a status indicator associated with the at least one previously stored slice of the content item.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
selecting, by the buffer management controller, a first virtual buffer mapped to two or more non-contiguous regions of the single storage buffer; and
consolidating, by the buffer management controller, the two or more non-contiguous regions mapped to the selected first virtual buffer into a single contiguous region of the single storage buffer; and
mapping, by the buffer management controller, the selected first virtual buffer to the single contiguous region of the single storage buffer.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the consolidating further comprises:
identifying, by the buffer management controller, a target contiguous region and an eliminated region from the two or more non-contiguous regions;
determining, by the buffer management controller, a consolidation direction based on a shortest distance between the target contiguous region and the eliminated region;
identifying, by the buffer management controller, a moving region mapped to a second virtual buffer between the target contiguous region and the eliminated region along the consolidation direction;
shrinking, by the buffer management controller, the eliminated region by shifting at least one boundary of the eliminated region along the consolidation direction as one or more slices of the content item are removed from the eliminated region;
unmapping, by the buffer management controller, the eliminated region from the first virtual buffer;
shifting, by the buffer management controller, boundaries of the moving region along the consolidation direction to encompass address space in the single storage buffer previously used by the eliminated region; and
extending, by the buffer management controller, at least one boundary of the target contiguous region along the consolidation direction to encompass address space in the single storage buffer previously used by the moving region.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the shifting further comprises:
extending, by the buffer management controller, a first boundary of the moving region along the consolidation direction to encompass the address space in the single storage buffer previously used by the eliminated region; and
shrinking, by the buffer management controller, a second boundary of the moving region along the consolidation direction by an amount corresponding to the extension of the first boundary.

### Claim 8

A system for storing portions of content items in a virtual buffer, comprising:
one or more memories; and
at least one processor each coupled to at least one of the memories and configured to perform operations comprising:
receiving, by a buffer management controller, a memory allocation request from a player;
receiving, by the buffer management controller, a subset of a plurality of slices of a content item from a data source;
determining, by the buffer management controller, a playback status of at least one previously stored slice of the content item in one or more regions of the single storage buffer mapped to the virtual buffer associated with the player;
removing, by the buffer management controller, the at least one previously stored slice of the content item from the one or more regions of the single storage buffer mapped to the virtual buffer when the playback status indicates that the at least one previously stored slice of the content item has been displayed on a display device; and
storing, by the buffer management controller, the subset of the plurality of slices of the content item in the one or more regions of the single storage buffer mapped to the virtual buffer.

### Claim 9 (depends on 8)

The system of claim 8, the operations further comprising:
prompting, by the buffer management controller, a streaming module to adjust a size of each slice of the content item based on one or more factors.

### Claim 10 (depends on 9)

The system of claim 9, wherein the one or more factors comprise a number of existing virtual buffers, a total capacity of a single storage buffer, a maximum amount of player instances that can be initiated at a given time, an amount of address space necessary to allocate a sufficient number of slices of a content item to the virtual buffer.

### Claim 11 (depends on 10)

The system of claim 10, the operations further comprising:
determining the playback status of the at least one previously stored slice of the content item based on a status indicator associated with the at least one previously stored slice of the content item.

### Claim 12 (depends on 8)

The system of claim 8, the operations further comprising:
selecting, by the buffer management controller, a first virtual buffer mapped to two or more non-contiguous regions of the single storage buffer; and
consolidating, by the buffer management controller, the two or more non-contiguous regions mapped to the selected first virtual buffer into a single contiguous region of the single storage buffer; and
mapping, by the buffer management controller, the selected first virtual buffer to the single contiguous region of the single storage buffer.

### Claim 13 (depends on 12)

The system of claim 12, wherein the consolidating further comprises:
identifying, by the buffer management controller, a target contiguous region and an eliminated region from the two or more non-contiguous regions;
determining, by the buffer management controller, a consolidation direction based on a shortest distance between the target contiguous region and the eliminated region;
identifying, by the buffer management controller, a moving region mapped to a second virtual buffer between the target contiguous region and the eliminated region along the consolidation direction;
shrinking, by the buffer management controller, the eliminated region by shifting at least one boundary of the eliminated region along the consolidation direction as one or more slices of the content item are removed from the eliminated region;
unmapping, by the buffer management controller, the eliminated region from the first virtual buffer;
shifting, by the buffer management controller, boundaries of the moving region along the consolidation direction to encompass address space in the single storage buffer previously used by the eliminated region; and
extending, by the buffer management controller, at least one boundary of the target contiguous region along the consolidation direction to encompass address space in the single storage buffer previously used by the moving region.

### Claim 14 (depends on 13)

The system of claim 13, wherein the shifting further comprises:
extending, by the buffer management controller, a first boundary of the moving region along the consolidation direction to encompass the address space in the single storage buffer previously used by the eliminated region; and
shrinking, by the buffer management controller, a second boundary of the moving region along the consolidation direction by an amount corresponding to the extension of the first boundary.

### Claim 15

A non-transitory computer-readable medium having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
receiving a memory allocation request from a player;
receiving a subset of a plurality of slices of a content item from a data source;
determining a playback status of at least one previously stored slice of the content item in one or more regions of the single storage buffer mapped to the virtual buffer associated with the player;
removing the at least one previously stored slice of the content item from the one or more regions of the single storage buffer mapped to the virtual buffer when the playback status indicates that the at least one previously stored slice of the content item has been displayed on a display device; and
storing the subset of the plurality of slices of the content item in the one or more regions of the single storage buffer mapped to the virtual buffer.

### Claim 16 (depends on 15)

The non-transitory computer-readable device of claim 15, the operations further comprising:
prompting a streaming module to adjust a size of each slice of the content item based on one or more factors.

### Claim 17 (depends on 16)

The non-transitory computer-readable device of claim 16, wherein the one or more factors comprise a number of existing virtual buffers, a total capacity of a single storage buffer, a maximum amount of player instances that can be initiated at a given time, an amount of address space necessary to allocate a sufficient number of slices of a content item to the virtual buffer.

### Claim 18 (depends on 15)

The non-transitory computer-readable device of claim 15, the operations further comprising:
determining the playback status of the at least one previously stored slice of the content item based on a status indicator associated with the at least one previously stored slice of the content item.

### Claim 19 (depends on 18)

The non-transitory computer-readable device of claim 18, wherein the consolidating further comprises:
identifying a target contiguous region and an eliminated region from the two or more non-contiguous regions;
determining a consolidation direction based on a shortest distance between the target contiguous region and the eliminated region;
identifying a moving region mapped to a second virtual buffer between the target contiguous region and the eliminated region along the consolidation direction;
shrinking the eliminated region by shifting at least one boundary of the eliminated region along the consolidation direction as one or more slices of the content item are removed from the eliminated region;
unmapping the eliminated region from the first virtual buffer;
shifting boundaries of the moving region along the consolidation direction to encompass address space in the single storage buffer previously used by the eliminated region; and
extending at least one boundary of the target contiguous region along the consolidation direction to encompass address space in the single storage buffer previously used by the moving region.

### Claim 20 (depends on 19)

The non-transitory computer-readable device of claim 19, wherein the shifting further comprises:
extending a first boundary of the moving region along the consolidation direction to encompass the address space in the single storage buffer previously used by the eliminated region; and
shrinking a second boundary of the moving region along the consolidation direction by an amount corresponding to the extension of the first boundary.
