# US 2021/0279052 A1 · Delta image update

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

- Number: US 2021/0279052 A1
- Document ID: US20210279052A1
- Status: Published application
- Kind: A1
- Application number: 16/813,138
- Filed: 2020-03-09
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Anushka Mihir NABAR
- Web page: https://patentgrep.com/patent/US20210279052A1

## CPC

- G06F 8/658: Incremental updates; Differential updates
- G06F 21/44: Program or device authentication
- G06F 9/30094: {Condition code generation, e.g. Carry, Zero flag}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 9/5016: {the resource being the memory}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 11/1417: {Boot up procedures}
- G06F 11/1469: {Backup restoration techniques}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In some aspects, the present disclosure provides a method for performing a software update. The method includes receiving, by a device, a delta image, the delta image comprising a metadata segment and one or more delta segments, wherein the one or more delta segments correspond to an update to one or more segments of a plurality of segments of a first image of a first software stored on a first memory partition, the metadata segment comprising: (i) for each of the one or more delta segments, an indication of a physical resource location in the first memory partition for storing the corresponding delta segment, and (ii) for each of the plurality of segments other than the one or more segments, an indication of a physical resource location in the first memory partition where the corresponding segment is stored.

## Claims

### Claim 1

A method for performing a software update, comprising:
receiving, by a device, a delta image, the delta image comprising a metadata segment and one or more delta segments, wherein the one or more delta segments correspond to an update to one or more segments of a plurality of segments of a first image of a first software stored on a first memory partition, the metadata segment comprising: (i) for each of the one or more delta segments, an indication of a physical resource location in the first memory partition for storing the corresponding delta segment, and (ii) for each of the plurality of segments other than the one or more segments, an indication of a physical resource location in the first memory partition where the corresponding segment is stored;
storing the received delta image in a second memory partition;
booting the device by:
determining whether to utilize the delta image for boot;
based on determining to utilize the delta image for boot, loading into working memory each of the one or more delta segments;
loading into the working memory each of the plurality of segments other than the one or more segments;
attempting to boot the device; and
when the device boots successfully, overwriting the one or more segments with the one or more delta segments in the first memory partition.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, when the device boots unsuccessfully, attempting to boot the device again using all of the plurality of segments of the first image.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining whether to utilize the delta image for boot comprises determining a flag is set, the set flag configured to indicate the one or more delta segments are stored in the second memory partition.

### Claim 4 (depends on 3)

The method of claim 3, wherein the set flag is further configured to identify the first image of the first software.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
setting the flag upon receiving the delta image; and
clearing the flag prior to the attempt to boot the device.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining whether to utilize the delta image for boot further comprises:
authenticating each of the one or more delta segments; and
based on a determination that one or more of the one or more delta segments cannot be authenticated, determining not to utilize the one or more delta segments.

### Claim 7 (depends on 6)

The method of claim 6, wherein authenticating each of the one or more delta segments comprises performing a hash check on each of the one or more delta segments.

### Claim 8 (depends on 1)

The method of claim 1, wherein the metadata segment further comprises, for each of the one or more delta segments:
an indication of a type of the first image; and
an indication of a length of each of the one or more delta segments.

### Claim 9 (depends on 1)

The method of claim 1, wherein each of the one or more delta segments is a compressed segment of the delta image, and wherein the one or more segments of the plurality of segments of the first image are not compressed.

### Claim 10

An apparatus configured to performing a software update, comprising:
a memory; and
a processor communicatively coupled to the memory, the processor configured to:
receive a delta image, the delta image comprising a metadata segment and one or more delta segments, wherein the one or more delta segments correspond to an update to one or more segments of a plurality of segments of a first image of a first software stored on a first memory partition, the metadata segment comprising: (i) for each of the one or more delta segments, an indication of a physical resource location in the first memory partition for storing the corresponding delta segment, and (ii) for each of the plurality of segments other than the one or more segments, an indication of a physical resource location in the first memory partition where the corresponding segment is stored;
store the received delta image in a second memory partition;
boot the apparatus, wherein the processor is further configured to:
determine whether to utilize the delta image for boot;
based on determining to utilize the delta image for boot, load into working memory each of the one or more delta segments;
load into the working memory each of the plurality of segments other than the one or more segments;
attempt to boot the apparatus; and
when the apparatus boots successfully, overwrite the one or more segments with the one or more delta segments in the first memory partition.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to attempt to boot the apparatus again using all of the plurality of segments of the first image when the apparatus boots unsuccessfully.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the processor, being configured to determine whether to utilize the delta image for boot, is further configured to determine a flag is set, the set flag configured to indicate the one or more delta segments are stored in the second memory partition.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the set flag is further configured to identify the first image of the first software.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the processor is further configured to:
set the flag upon receiving the delta image; and
clear the flag prior to the attempt to boot the apparatus.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the processor, being configured to determine whether to utilize the delta image for boot, is further configured to:
authenticate each of the one or more delta segments; and
based on a determination that one or more of the one or more delta segments cannot be authenticated, determine not to utilize the one or more delta segments.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the processor, being configured to authenticate each of the one or more delta segments, is further configured to perform a hash check on each of the one or more delta segments.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein the metadata segment further comprises, for each of the one or more delta segments:
an indication of a type of the first image; and
an indication of a length of each of the one or more delta segments.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein each of the one or more delta segments is a compressed segment of the delta image, and wherein the one or more segments of the plurality of segments of the first image are not compressed.

### Claim 19

An apparatus configured to performing a software update, comprising:
means for receiving a delta image, the delta image comprising a metadata segment and one or more delta segments, wherein the one or more delta segments correspond to an update to one or more segments of a plurality of segments of a first image of a first software stored on a first memory partition, the metadata segment comprising: (i) for each of the one or more delta segments, an indication of a physical resource location in the first memory partition for storing the corresponding delta segment, and (ii) for each of the plurality of segments other than the one or more segments, an indication of a physical resource location in the first memory partition where the corresponding segment is stored;
means for storing the received delta image in a second memory partition;
means for booting the apparatus, wherein the means for booting the apparatus comprises:
means for determining whether to utilize the delta image for boot;
means for loading into working memory each of the one or more delta segments based on determining to utilize the delta image for boot;
means for loading into the working memory each of the plurality of segments other than the one or more segments;
means for attempting to boot the apparatus; and
means or overwriting the one or more segments with the one or more delta segments in the first memory partition when the apparatus boots successfully.

### Claim 20 (depends on 19)

The apparatus of claim 19, further comprising means for attempting to boot the apparatus again using all of the plurality of segments of the first image when the apparatus boots unsuccessfully.
