# US 8,280,197 B1 · Managed background loading of image resources in resource-constrained devices

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

- Number: US 8,280,197 B1
- Document ID: US8280197B1
- Status: Granted
- Kind: B1
- Application number: 13/461,047
- Filed: 2012-05-01
- Granted: 2012-10-02
- Earliest claimed: 2012-02-29
- Assignees: Google Inc.
- Inventors: William Foote; Alejandro Nijamkin
- Web page: https://patentgrep.com/patent/US8280197B1

## CPC

- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06F 16/957: Browsing optimisation, e.g. caching or content distillation
- G09G 2370/027: Arrangements and methods specific for the display of internet documents
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Disclosed are apparatus and methods for loading images. A request can be received at a computing device to display a plurality of images on the computing device. In response to the request, the computing device can load, in parallel, the plurality of images into storage of the computing device. The computing device can determine whether an image of the plurality of images is to be used. In response to determining that the image is to be used, the computing device can mark the image as loaded. In response to determining that the image is to not be used, the computing device can mark the image as no-image. Only images marked as loaded can be provided for display.

## Claims

### Claim 1

A method, comprising:
sending a request from an application executing on a computing device to load a plurality of images in parallel onto the computing device;
receiving the request at an image loader executing on the computing device;
in response to the request, loading, in parallel, the plurality of images into storage of the computing device using the image loader, wherein a current state of each image of the plurality of images is set to a loading state;
while loading:
determining, by the application, that an image of the plurality of images is not to be used, and
requesting that loading of the not-used image be canceled; and
for each image in the plurality of images, the image loader:
determining whether the loading of the image is requested to be canceled,
in response to determining that the loading of the image is not requested to be canceled:
marking the current state of the image as loaded and
displaying the image, and
in response to determining that the loading of the image is requested to be canceled:
marking the current state of the image as no-image and
recycling storage allocated for the image.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
sending a second request from a second application executing on the computing device to load a second plurality of images in parallel onto the computing device, wherein the second request differs from the request, and wherein the second application differs from the application;
receiving the second request at the image loader before the image loader has loaded the plurality of images; and
in response to the second request, the image loader loading both the plurality of images and the second plurality of images in parallel into respective storage of the computing device.

### Claim 3

A method, comprising:
receiving, using a computing device, a request to display a plurality of images on the computing device;
in response to the request, loading, in parallel, the plurality of images into storage of the computing device;
determining whether an image of the plurality of images is to be used using the computing device;
in response to determining that the image is to be used, the computing device marking the image as loaded;
in response to determining that the image is not to be used, the computing device marking the image as no-image; and
providing for display only images marked as loaded using the computing device.

### Claim 4 (depends on 3)

The method of claim 3, wherein the plurality of images comprises an image stored as an array on the computing device.

### Claim 5 (depends on 3)

The method of claim 3, wherein the plurality of images comprises an image stored as a file on the computing device.

### Claim 6 (depends on 3)

The method of claim 3, wherein the plurality of images comprises an image accessible via a uniform resource locator (URL).

### Claim 7 (depends on 6)

The method of claim 6, wherein the image accessible via the URL comprises an image accessible via an imaging proxy server.

### Claim 8 (depends on 6)

The method of claim 6, wherein the URL comprises a size parameter for the image accessible via the URL.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
the computing device requesting delivery of the image of a pre-determined size by specifying the size parameter for the image;
in response, receiving the requested image having the pre-determined size at the computing device.

### Claim 10 (depends on 3)

The method of claim 3, further comprising:
in response to marking the image as no-image, the image loader recycling storage allocated for the marked image.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
after recycling storage allocated for the marked image, receiving a second request to display the marked image on the computing device; and
in response to the second request, the computing device:
generating an image specification for the marked image, the image specification comprising a state of the marked image;
initiating loading of the marked image into the storage of the computing device;
setting the state of the marked image as loading;
determining that the marked image is to be used; and
in response to determining that the image is to be used and that loading of the marked image is complete, setting the state of the marked image as loaded and providing the marked image for display.

### Claim 12 (depends on 3)

The method of claim 3, wherein the request comprises a callback software function for the image, and
wherein marking the image as no-image comprises deleting the callback software function for the image.

### Claim 13 (depends on 3)

The method of claim 3, wherein in response to determining that the image is not to be used by the application, canceling an in-progress loading of the image.

### Claim 14

An article of manufacture including a non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processor, cause the processor to perform functions comprising:
receiving a request to display a plurality of images;
loading the plurality of images, in parallel into storage associated with the processor;
determining whether an image is to be used;
in response to determining that the image is to be used, marking the image as loaded;
in response to determining that the image is not to be used, marking the image as no-image; and
providing for display only images marked as loaded.

### Claim 15 (depends on 14)

The article of manufacture of claim 14, wherein the plurality of images comprises an image stored as an array.

### Claim 16 (depends on 14)

The article of manufacture of claim 14, wherein the plurality of images comprises an image stored as a file.

### Claim 17 (depends on 14)

The article of manufacture of claim 14, wherein the plurality of images comprises an image accessible via a uniform resource locator (URL).

### Claim 18 (depends on 14)

The article of manufacture of claim 14, wherein the functions further comprise:
in response to marking the image as no-image, recycling storage allocated for the marked image.

### Claim 19 (depends on 18)

The article of manufacture of claim 18, wherein the functions further comprise:
after recycling storage allocated for the marked image, receiving a second request to display the marked image; and
in response to the second request:
generating an image specification for the marked image, the image specification comprising a state of the marked image;
initiating loading of the marked image into the storage associated with the processor;
setting the state of the marked image as loading;
determining that the marked image is to be used; and
in response to determining that the image is to be used and that loading of the marked image is complete, setting the state of the marked image as loaded and providing the marked image for display.

### Claim 20 (depends on 14)

The article of manufacture of claim 14, wherein in response to determining that the image is not to be used, canceling an in-progress loading of the image.
