# US 2026/0064373 A1 · Distributed code generation and execution for real time marine applications

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

- Number: US 2026/0064373 A1
- Document ID: US20260064373A1
- Status: Published application
- Kind: A1
- Application number: 19/299,719
- Filed: 2025-08-14
- Published: 2026-03-05
- Earliest claimed: 2024-08-28
- Assignees: NEC Laboratories America, Inc.
- Applicants: NEC Laboratories America, Inc.
- Inventors: Giuseppe Coviello; Kunal Rao; Gennaro Mellone; Ciro Giuseppe DeVita
- Web page: https://patentgrep.com/patent/US20260064373A1

## CPC

- G06F 8/311: {Functional or applicative languages; Rewrite languages}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for executing code. The systems and methods include generating code by querying a model wherein one portion of the code is conditioned on an output on a second portion of the code, analyzing functions in the code with a second model to evaluate opportunities to implement tasks on devices, marking the code to designate portions of the code that can be performed on the devices, and assigning portions of the code to the devices based on capabilities of the devices. The systems and methods further include distributing the portions of the code to the devices, wherein the conditional portion of the code is distributed onto a first device and the second portion is distributed onto an edge device, executing the code across the devices, and transmitting data collected by the edge device to the first device upon meeting the condition in the code.

## Claims

### Claim 1

A method for generating and executing serial code in a distributed manner, comprising:
generating serial code by querying a trained model wherein at least one portion of the serial code is conditioned on an output on a second portion of the serial code;
analyzing code functions in the serial code with a second trained model to evaluate opportunities to implement tasks on a plurality of computer devices over a network;
marking the serial code with indicators to designate portions of the serial code that can be performed on the plurality of computing devices;
assigning portions of the serial code to the plurality of computing devices based on capabilities of the plurality of the computing devices;
distributing the portions of the serial code to the plurality of computing devices, wherein the conditional portion of the serial code is distributed onto a first device and the second portion of the serial code is distributed onto an edge device;
executing the serial code across the plurality of computing devices using an execution engine to coordinate execution across the plurality of computing devices; and
transmitting data collected by the edge device to the first device upon meeting the condition in the serial code.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first device is a cloud infrastructure that can receive the data collected by the edge device and execute remaining portions of the serial code.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
collecting and transmitting additional data for context of the collected data.

### Claim 4 (depends on 1)

The method of claim 1, wherein executing the conditional serial code further comprises:
identifying a triggering criteria in data collected on the edge device.

### Claim 5 (depends on 1)

The method of claim 1, wherein executing the serial code further comprises:
storing several portions of serial code on the edge device, wherein each portion of the serial code is conditional on a different alternative output of the first device.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
reducing a size of the collected data on the edge device before transmitting the collected data to the first device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
augmenting the collected data for improved interpretability prior to transmitting the data to the first device.

### Claim 8

A system for generating and executing distributed code, comprising:
a processor; and
a memory storing computer-readable instructions that, when executed by the processor, cause the system to:
generate serial code by querying a trained model wherein at least one portion of the serial code is conditioned on an output on a second portion of the serial code;
analyze code functions in the serial code with a second trained model to evaluate opportunities to implement tasks on a plurality of computer devices over a network;
mark the serial code with indicators to designate portions of the serial code that can be performed on the plurality of computing devices;
assign portions of the serial code to the plurality of computing devices based on capabilities of the plurality of the computing devices;
distribute the portions of the serial code to the plurality of computing devices, wherein the conditional portion of the serial code is distributed onto a first device and the second portion of the serial code is distributed onto an edge device;
execute the serial code across the plurality of computing devices using an execution engine to coordinate execution across the plurality of computing devices; and
transmit data collected by the edge device to the first device upon meeting the condition in the serial code.

### Claim 9 (depends on 8)

The system of claim 8, wherein the first device is a cloud infrastructure that can receive the data collected by the edge device and execute remaining portions of the serial code.

### Claim 10 (depends on 8)

The system of claim 8, wherein the memory further causes the system to:
collect and transmit additional data for context of the collected data.

### Claim 11 (depends on 8)

The system of claim 8, wherein the memory further causes the system to:
identify a triggering criteria in data collected on the edge device.

### Claim 12 (depends on 8)

The system of claim 8, wherein the memory further causes the system to:
store several portions of serial code on the edge device, wherein each portion of the serial code is conditional on a different alternative output of the first device.

### Claim 13 (depends on 8)

The system of claim 8, wherein the memory further causes the system to:
reduce a size of the collected data on the edge device before transmitting the collected data to the first device.

### Claim 14 (depends on 8)

The system of claim 8, wherein the memory further causes the system to:
augment the collected data for improved interpretability prior to transmitting the data to the first device.

### Claim 15

A computer program product comprising a non-transitory computer-readable storage medium containing computer program code, the computer program code when executed by one or more processors causes the one or more processors to perform operations, the computer program code comprising instructions to:
generate serial code by querying a trained model wherein at least one portion of the serial code is conditioned on an output on a second portion of the serial code;
analyze code functions in the serial code with a second trained model to evaluate opportunities to implement tasks on a plurality of computer devices over a network;
mark the serial code with indicators to designate portions of the serial code that can be performed on the plurality of computing devices;
assign portions of the serial code to the plurality of computing devices based on capabilities of the plurality of the computing devices;
distribute the portions of the serial code to the plurality of computing devices, wherein the conditional portion of the serial code is distributed onto a first device and the second portion of the serial code is distributed onto an edge device;
execute the serial code across the plurality of computing devices using an execution engine to coordinate execution across the plurality of computing devices; and
transmit data collected by the edge device to the first device upon meeting the condition in the serial code.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the first device is a cloud infrastructure that can receive the data collected by the edge device and execute remaining portions of the serial code.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the computer program code further comprises instructions to:
collect and transmit additional data for context of the collected data.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the computer program code further comprises instructions to:
identify a triggering criteria in data collected on the edge device.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the computer program code further comprises instructions to:
store several portions of serial code on the edge device, wherein each portion of the serial code is conditional on a different alternative output of the first device.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the computer program code further comprises instructions to:
reduce a size of the collected data on the edge device before transmitting the collected data to the first device.
