# US 2023/0267110 A1 · Actor-based data processing

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

- Number: US 2023/0267110 A1
- Document ID: US20230267110A1
- Status: Published application
- Kind: A1
- Application number: 18/140,401
- Filed: 2023-04-27
- Published: 2023-08-24
- Earliest claimed: 2021-02-18
- Assignees: Itron, Inc.
- Applicants: Itron, Inc.
- Inventors: Wayne Creasey; Thomas Kring
- Web page: https://patentgrep.com/patent/US20230267110A1

## CPC

- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/211: {Schema design and management}
- G06F 16/217: {Database tuning (G06F16/2282 takes precedence; database performance monitoring G06F11/3409)}
- G06F 16/2386: {Bulk updating operations (data conversion details G06F16/258)}
- G06F 16/258: {Data format conversion from or to a database}
- H04W 4/38: for collecting sensor information
- H04W 76/11: Allocation or use of connection identifiers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method includes receiving data packets from a stream partition of a plurality of stream partitions, processing the data packets with a plurality of stream processors to generate multiple table entries, transmitting the multiple table entries in batches to a plurality of staging tables, the plurality of staging tables being provided for a respective one of the plurality of stream partitions, and receiving the batches at a target table communicatively coupled to the plurality of staging tables, the batches being transmitted from the plurality of staging tables. The plurality of staging tables are updated in first batches at a first frequency and the target table is updated in second batches at a second frequency, the second frequency being different than the first frequency.

## Claims

### Claim 1

A method comprising:
receiving data packets from a stream partition of a plurality of stream partitions;
processing the data packets with a plurality of stream processors to generate multiple table entries;
transmitting the multiple table entries in batches to a plurality of staging tables, the plurality of staging tables being provided for a respective one of the plurality of stream partitions; and
receiving the batches at a target table communicatively coupled to the plurality of staging tables, the batches being transmitted from the plurality of staging tables,
wherein the plurality of staging tables are updated in first batches at a first frequency and the target table is updated in second batches at a second frequency, the second frequency being different than the first frequency.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, with a stream partition manager:
receiving data packets as input from a plurality of actors, the plurality of actors comprising virtual representations of physical devices;
partitioning the data packets into the plurality of stream partitions based at least in part on one or more criteria; and
assigning a stream identifier (ID) to a respective actor of the plurality of actors, the stream ID identifying a respective stream partition to which the respective actor of the plurality of actors is assigned; and
for the respective actor, writing data to the respective stream partition associated with the stream ID assigned to the respective actor.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
deleting existing staging tables on startup; and
generating new staging tables including a new data schema, a different number of the plurality of stream partitions, or combinations thereof.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of staging tables include a first database schema that is same as a second database schema of the target table.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the target table includes a first number of fields within a database schema of the target table, and
the plurality of staging tables include at least the first number of fields of the target table.

### Claim 6 (depends on 5)

The method of claim 5, wherein the plurality of staging tables include an extra field beyond the first number of fields of the target table, the extra field including an auto-incrementing key.

### Claim 7 (depends on 1)

The method of claim 1, wherein creation of a plurality of fields within the target table and the plurality of staging tables is performed dynamically based at least in part on:
at least one model, and
software executed among physical devices within a network.

### Claim 8

A system comprising:
a processor; and
a non-transitory computer-readable media storing instructions that, when executed by the processor, causes the system to perform operations comprising:
receiving data packets from a stream partition of a plurality of stream partitions;
processing the data packets with a plurality of stream processors to generate multiple table entries;
transmitting the multiple table entries in batches to a plurality of staging tables, the plurality of staging tables being provided for a respective one of the plurality of stream partitions; and
receiving the batches at a target table communicatively coupled to the plurality of staging tables, the batches being transmitted from the plurality of staging tables,
wherein the plurality of staging tables are updated in first batches at a first frequency and the target table is updated in second batches at a second frequency, the second frequency being different than the first frequency.

### Claim 9 (depends on 8)

The system of claim 8, further comprising:
a stream partition manager to:
receive data packets as input from a plurality of actors, the plurality of actors comprising virtual representations of physical devices;
partition the data packets into the plurality of stream partitions based at least in part on one or more criteria; and
wherein the plurality of stream processors are communicatively coupled to the stream partition manager, the stream partition manager to:
assign a stream identifier (ID) to the plurality of actors, the stream ID identifying a respective stream partition to which the plurality of actors are individually assigned; and
for a respective actor of the plurality of actors, write data to the respective stream partition associated with the stream ID assigned to the respective actor.

### Claim 10 (depends on 9)

The system of claim 9, wherein individual staging tables of the plurality of staging tables are interposed between the plurality of stream processors and the target table to receive the batches from the plurality of stream processors prior to transmission to the target table.

### Claim 11 (depends on 10)

The system of claim 10, further comprising a merge manager interposed between the plurality of staging tables and the target table to coordinate uploading of the batches from the plurality of staging tables to the target table.

### Claim 12 (depends on 11)

The system of claim 11, wherein the plurality of staging tables and the target table include a same database schema.

### Claim 13 (depends on 12)

The system of claim 12, wherein the plurality of staging tables include an extra field beyond a number of fields of the target table, the extra field including an auto-incrementing key.

### Claim 14 (depends on 11)

The system of claim 11, wherein the plurality of staging tables are updated in first batches at a first frequency and the target table is updated in second batches at a second frequency, the second frequency being different than the first frequency.

### Claim 15 (depends on 9)

The system of claim 9, wherein the target table is a first target table and is associated with a first application running on at least some of the plurality of actors, the system further comprising a second target table associated with a second application running on at least some of the plurality of actors, the second application being different than the first application.

### Claim 16 (depends on 9)

The system of claim 9, wherein the physical devices comprise metrology devices.

### Claim 17

A non-transitory computer-readable medium storing instructions that, when executed, causes a processor to perform operations, comprising:
receiving data packets from a stream partition of a plurality of stream partitions;
processing the data packets with a plurality of stream processors to generate multiple table entries;
transmitting the multiple table entries in batches to a plurality of staging tables, the plurality of staging tables being provided for a respective one of the plurality of stream partitions; and
receiving the batches at a target table communicatively coupled to the plurality of staging tables, the batches being transmitted from the plurality of staging tables,
wherein the plurality of staging tables are updated in first batches at a first frequency and the target table is updated in second batches at a second frequency, the second frequency being different than the first frequency.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, the operations further comprising:
with a stream partition manager:
receiving data packets as input from a plurality of actors, the plurality of actors comprising virtual representations of physical devices; and
partitioning the data packets into the plurality of stream partitions based at least in part on one or more criteria;
wherein the plurality of stream processors are communicatively coupled to the stream partition manager, the stream partition manager being configured to:
assign a stream identifier (ID) to the plurality of actors, the stream ID identifying a respective stream partition to which the plurality of actors are assigned; and
for a respective actor of the plurality of actors, write data to the respective stream partition associated with the stream ID assigned to the respective actor.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein individual staging tables of the plurality of staging tables are interposed between the plurality of stream processors and the target table to receive the batches from the plurality of stream processors prior to transmission to the target table.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, the operations further comprising:
deleting existing staging tables on startup; and
generating new staging tables including a new data schema, a different number of the plurality of stream partitions, or combinations thereof.
