# US 2017/0286086 A1 · Dynamic capsule generation and recovery in computing environments

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

- Number: US 2017/0286086 A1
- Document ID: US20170286086A1
- Status: Published application
- Kind: A1
- Application number: 15/086,293
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: KRISHNAKUMAR NARASIMHAN; NICHOLAS J. ADAMS; KARUNAKARA KOTARY; Brett P Wang
- Web page: https://patentgrep.com/patent/US20170286086A1

## CPC

- G06F 11/1469: {Backup restoration techniques}
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/1433: {during software upgrading}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A mechanism is described for facilitating dynamic capsule generation and recovery in computing environments according to one embodiment. A method of embodiments, as described herein, includes accessing a current firmware and a capsule driver binary file (“capsule file”) from a storage device, and merging the current firmware with the capsule file and a capsule header into a capsule payload. The method may further include assigning a security protocol to the capsule payload to ensure a secured capsule payload, and storing the secured capsule payload at the storage device for subsequent updates.

## Claims

### Claim 1

An apparatus comprising:
access and extraction logic (“access logic”) to access a current firmware and a capsule driver binary file (“capsule file”) from a storage device;
merging logic to merge the current firmware with the capsule file and a capsule header into a capsule payload;
security logic to assign a security protocol to the capsule payload to ensure a secured capsule payload; and
update and storage logic to store the secured capsule payload at the storage device for subsequent updates.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the current firmware comprises at least one of platform firmware or device firmware.

### Claim 3 (depends on 1)

The apparatus of claim 1, further comprising generation engine to generate at least one of the capsule header and the capsule payload.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the security protocol comprises a signature based on one or more private keys, wherein the one or more private keys are generated by calling into a trusted execution environment (TEE).

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the secured capsule payload at the storage device serves as a backup of a previous good copy if one or more of firmware images or capsule files are launched in future in a secured environment, wherein the secured capsule payload is further used for potential recoveries or rollbacks.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the current firmware and the capsule file are extracted and then written into memory.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the update and storage logic is further to update at least one of the platform firmware and the device firmware using the secured capsule payload.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the access logic is further to receive an update request, wherein the request is initiated locally at the apparatus or received from a computing device including a server computer representing a service provider, wherein the update request to indicate updating of at least one of the platform firmware and the device firmware.

### Claim 9

A method comprising:
accessing a current firmware and a capsule driver binary file (“capsule file”) from a storage device;
merging the current firmware with the capsule file and a capsule header into a capsule payload;
assigning a security protocol to the capsule payload to ensure a secured capsule payload; and
storing the secured capsule payload at the storage device for subsequent updates.

### Claim 10 (depends on 9)

The method of claim 9, wherein the current firmware comprises at least one of platform firmware or device firmware.

### Claim 11 (depends on 9)

The method of claim 9, further comprising: generating at least one of the capsule header and the capsule payload.

### Claim 12 (depends on 9)

The method of claim 9, wherein the security protocol comprises a signature based on one or more private keys, wherein the one or more private keys are generated by calling into a trusted execution environment (TEE).

### Claim 13 (depends on 9)

The method of claim 9, wherein the secured capsule payload at the storage device serves as a backup of a previous good copy if one or more of firmware images or capsule files are launched in future in a secured environment, wherein the secured capsule payload is further used for potential recoveries or rollbacks.

### Claim 14 (depends on 9)

The method of claim 9, wherein the current firmware and the capsule file are extracted and then written into memory.

### Claim 15 (depends on 9)

The method of claim 9, further comprising: updating at least one of the platform firmware and the device firmware using the secured capsule payload.

### Claim 16 (depends on 9)

The method of claim 9, wherein accessing further comprises receiving an update request, wherein the request is initiated locally at the apparatus or received from a computing device including a server computer representing a service provider, wherein the update request to indicate updating of at least one of the platform firmware and the device firmware.

### Claim 17

At least one machine-readable storage medium comprising a plurality of instructions, executed on a computing device, to facilitate the computing device to perform operations comprising:
accessing a current firmware and a capsule driver binary file (“capsule file”) from a storage device;
merging the current firmware with the capsule file and a capsule header into a capsule payload;
assigning a security protocol to the capsule payload to ensure a secured capsule payload; and
storing the secured capsule payload at the storage device for subsequent updates.

### Claim 18 (depends on 17)

The machine-readable storage medium of claim 17, wherein the current firmware comprises at least one of platform firmware or device firmware.

### Claim 19 (depends on 17)

The machine-readable storage medium of claim 17, wherein the operations further comprise: generating at least one of the capsule header and the capsule payload.

### Claim 20 (depends on 17)

The machine-readable storage medium of claim 17, wherein the security protocol comprises a signature based on one or more private keys, wherein the one or more private keys are generated by calling into a trusted execution environment (TEE).

### Claim 21 (depends on 17)

The machine-readable storage medium of claim 17, wherein the secured capsule payload at the storage device serves as a backup of a previous good copy if one or more of firmware images or capsule files are launched in future in a secured environment, wherein the secured capsule payload is further used for potential recoveries or rollbacks.

### Claim 22 (depends on 17)

The machine-readable storage medium of claim 17, wherein the current firmware and the capsule file are extracted and then written into memory.

### Claim 23 (depends on 17)

The machine-readable storage medium of claim 17, wherein the operations further comprise: updating at least one of the platform firmware and the device firmware using the secured capsule payload.

### Claim 24 (depends on 17)

The machine-readable storage medium of claim 17, wherein accessing further comprises receiving an update request, wherein the request is initiated locally at the apparatus or received from a computing device including a server computer representing a service provider, wherein the update request to indicate updating of at least one of the platform firmware and the device firmware.
