# US 2022/0291915 A1 · Methods for Optics Module Firmware In-Field Upgrade

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

- Number: US 2022/0291915 A1
- Document ID: US20220291915A1
- Status: Published application
- Kind: A1
- Application number: 17/201,256
- Filed: 2021-03-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Jianqiao Liu; Xiangyu Dong; Pedram Z. Dashti; Kais Belgaied
- Web page: https://patentgrep.com/patent/US20220291915A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A uniform and unified firmware in-field upgrade capability for the optics modules may ensure compatibility, security and code quality, and scalability. In some examples, an intermediate representation, which includes vendor firmware upgrade operations and control logic, may be defined, received, and parsed. Read/write operations may be communicated to optical module(s) based on the control logic. In some examples, a unified optics module firmware in-field upgrade framework, which has multiple defined software layers, may ensure a uniform and unified approach to managing optics module(s) from different vendors and used by different projects. The software layers that may properly translate optics module read/write operations, abstract and make uniform the read/write operations, provide libraries of intermediate representations, package the intermediate representations into executables/scripts, monitor optics module status, determine when a new firmware is released, and gradually upgrade the optics module firmware.

## Claims

### Claim 1

A method of upgrading firmware within an optics module coupled to a management system, the method comprising:
receiving, using a processor, an intermediate representation (IR) based file, wherein the IR based file includes operations and control logic for upgrading the optics module;
parsing, using the processor, the IR based file to the determine the operations, wherein the operations include read operations and write operations;
communicating the operations to the optics module using the management system and based on the control logic; and
upgrading the firmware of the optics module based on the communicated operations.

### Claim 2 (depends on 1)

The method of claim 1, wherein the IR based file is a comma separated value (CSV) file.

### Claim 3 (depends on 1)

The method of claim 1, wherein the operations include Two Wire Interface (TWI) protocol operations.

### Claim 4 (depends on 1)

The method of claim 1, wherein the IR based file includes a plurality of sections, and wherein the plurality of sections includes a first section that includes a supported optics module base firmware revision, and a second section defining delays after the read operations and the write operations.

### Claim 5 (depends on 1)

The method of claim 1, wherein the IR file is received from an optics module vendor.

### Claim 6 (depends on 1)

The method of claim 1, wherein the management system includes a management chip coupled between the optics module and a processor.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
decoding the read operations and the write operations from a first interface and protocol using the management chip; and
sending the decoded read operations and the write operations to optics module using a second interface and protocol.

### Claim 8

A system for upgrading firmware within an optics module, the system comprising a management system and one or more processors configured to:
receive an intermediate representation (IR) based file, wherein the IR based file includes operations and control logic for upgrading the optics module;
parse the IR based file to the determine the operations, wherein the operations include read operations and write operations;
communicate the operations to the optics module using the management system and based on the control logic; and
upgrade the firmware of the optics module based on the communicated operations.

### Claim 9 (depends on 8)

The system of claim 8, wherein the IR based file is a comma separated value (CSV) file.

### Claim 10 (depends on 8)

The system of claim 8, wherein the operations include Two Wire Interface (TWI) protocol operations.

### Claim 11 (depends on 8)

The system of claim 8, wherein the IR based file includes a plurality of sections, and wherein the plurality of sections includes a section that includes a supported optics module base firmware revision, and a section defining delays after the read operations and the write operations.

### Claim 12 (depends on 8)

The system of claim 8, wherein the IR file is received from an optics module vendor.

### Claim 13 (depends on 8)

The system of claim 8, wherein the management system includes a management chip coupled between the optics module and a processor.

### Claim 14 (depends on 13)

The system of claim 13, wherein the management system and one or more processors are further configured to:
decode the read operations and the write operations from a first interface and protocol using the management chip; and
send the decoded read operations and the write operations to optics module using a second interface and protocol.

### Claim 15

A non-transitory computer-readable medium storing instructions, that when executed by one or more processors, cause the one or more processors to:
receive an intermediate representation (IR) based file, wherein the IR based file includes operations and control logic for upgrading the optics module;
parse the IR based file to the determine the operations, wherein the operations include read operations and write operations;
communicate the operations to the optics module using a management system and based on the control logic; and
upgrade the firmware of the optics module based on the communicated operations.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the IR based file is a comma separated value (CSV) file.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations include Two Wire Interface (TWI) protocol operations.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the IR based file includes a plurality of sections, and wherein the plurality of sections includes a section that includes a supported optics module base firmware revision, and a section defining delays after the read operations and the write operations.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the IR file is received from an optics module vendor.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the management system includes a management chip coupled between the optics module and a processor.
