# US 2023/0350901 A1 · Real-time processing of a data stream using a graph-based data model

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

- Number: US 2023/0350901 A1
- Document ID: US20230350901A1
- Status: Published application
- Kind: A1
- Application number: 18/117,306
- Filed: 2023-03-03
- Published: 2023-11-02
- Earliest claimed: 2020-05-29
- Assignees: RN Technologies, LLC
- Applicants: RN Technologies, LLC
- Inventors: Richard Neill
- Web page: https://patentgrep.com/patent/US20230350901A1

## CPC

- G06F 16/24568: {Data stream processing; Continuous queries}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for processing of a data stream using a graph-based data model includes receiving a data stream including data messages; disassembling the data messages data elements and metadata; generating a structured data model comprising the set of data elements based on the type of the data elements and the pattern of the data messages; instantiating a workflow to process the structured data model; configuring a CPS-G model sub-graph to add to the CPS-G model based on the type of the data elements and the pattern of the data messages; adding the CPS-G model sub-graph to the CPS-G model to form the CPS-G dataset; and storing the CPS-G dataset including the CPS-G model sub-graph in a data store for further processing by streaming computation and machine learning algorithms.

## Claims

### Claim at position 1

-37. (canceled)

### Claim 38

A method for processing data using a graph-based data model, the method comprising:
receiving data including data messages;
disassembling the data messages into a set of data elements;
obtaining graph-based data model having a type that is based on a particular format of the set of data elements, the graph-based data model representing a dataset having a structure representing processed data messages of the data stream, the graph-based data model including the data elements of the data messages;
based on the disassembling, adding a sub-graph to a location in the graph-based data model, the sub-graph representing at least a portion of the data elements of the data messages, wherein the location of the sub-graph in the graph-based data model represents a relationship of the portion of the data elements to other data elements of other processed data messages of the data stream;
generating output data from the graph-based data model responsive to adding the sub-graph to the graph-based data model;
receiving a specification of one or more target data models; and
transforming the output data into the one or more target data models.

### Claim 39 (depends on 38)

The method of claim 38, wherein the graph-based data model comprises a graph organized as an assembly of sub-graphs comprising at least one of a prefix structure, forest, DAG, directed or undirected graph with or without cycles, or a sub-graph data-model structure comprising at least one graph node, and wherein the at least one graph node in the sub-graph data-model structure includes one of a dataset entity, a feature, or a platform.

### Claim 40 (depends on 39)

The method of claim 39, wherein each sub-graph of the assembly of sub-graphs comprises another sub-graph, a node, or a prefix structure that configured to provide storage of datasets sorted by frequency of occurrence in a compact representation of dataset patterns or compact pattern stream trees.

### Claim 41 (depends on 39)

The method of claim 39, wherein a graph node comprises a multi-dimensional data-structure or tensor data-model.

### Claim 42 (depends on 39)

The method of claim 39, wherein a first sub-graph of the assembly of sub-graphs includes a pointer to a second sub-graph, the pointer enabling access to the second sub-graph for an application accessing the first sub-graph.

### Claim 43 (depends on 39)

The method of claim 39, wherein a first sub-graph of the assembly of sub-graphs shares a node with a second sub-graph.

### Claim 44 (depends on 39)

The method of claim 39, further comprising generating a virtual sub-graph or node to include one or more shared prefix structures among a plurality of sub-graphs.

### Claim 45 (depends on 38)

The method of claim 38, wherein the sub-graph represents a subset of the data messages received over one or more of a configurable time-period window, spatial domain, data source, data type of the data stream, and a data pattern of the data stream.

### Claim 46 (depends on 38)

The method of claim 38, wherein the data store comprises one of an in-memory data store or a persistent database, wherein the data store is configured to store the data messages, the data elements, or both the data messages and the data elements, and wherein the data store is accessible by a plurality of parallel workflows processing the data stream.

### Claim 47 (depends on 38)

The method of claim 38, further comprising:
selecting, based on the type of the graph-based data model, a logic engine for processing the dataset, the logic engine being selected from a set of logic engines, each logic engine of the set including a logic model that is unique to that logic engine, wherein the logic engine generates the output data; and
wherein the logic engine is selected from a list comprising:
a supervised machine learning model, an unsupervised machine learning model, a support vector machine, a neural network, a clustering algorithm, a regression algorithm, a swarm engine, a graph neural network algorithm, a genetic learning algorithm, or an evolutionary learning algorithm.

### Claim 48 (depends on 47)

The method of claim 47, wherein the logic engine is configured to dynamically unroll the dataset in real-time.

### Claim 49 (depends on 38)

The method of claim 38, wherein the target data model is associated with a downstream application; and wherein transforming the output data comprises:
configuring the target data model to a data format specified by the downstream application; and
storing the target data model having the data format for sending to the downstream application.

### Claim 50 (depends on 49)

The method of claim 49, wherein the data format is specified by an application programming interface (API) of the downstream application, and wherein the method comprises:
sending the target data model having the data format to the downstream application based on the API.

### Claim 51 (depends on 38)

The method of claim 38, wherein disassembling each of the data messages into a set of data elements comprises:
disassembling the data messages into a stream of both real-time and non-real-time workflows based on one or both of a rate analysis and a message velocity analysis, wherein each workflow is annotated with a respective workflow identifier, and wherein the data messages are associated with the respective workflow identifier.

### Claim 52 (depends on 38)

The method of claim 38, wherein disassembling each of the data messages comprises:
applying an adaptive windowing rule to the data stream to partition the data messages into a plurality of data windows, wherein one or more input reservoir windows are provided as a first input stage followed by a second output reservoir window.

### Claim 53 (depends on 52)

The method of claim 52, wherein a first size of the one or more input reservoir windows together is equal or greater than a second size the second output reservoir window, wherein the input reservoir windows aggregate the data messages of the data stream.

### Claim 54 (depends on 38)

The method of claim 38, further comprising:
receiving the set of data elements at an extract-transform-load (ETL) processor module comprising a semantic layer configured to identify one or more patterns in the set of data elements;
determining, by the semantic layer, that the graph-based data model is associated with the one or more patterns in the set of data elements; and
transforming the set of data elements to match a template of the graph-based data model,
wherein the graph-based data model is generated based on the transformed set of data elements that match the template.

### Claim 55 (depends on 38)

The method of claim 38, wherein receiving the data stream including data messages is a first data stream received from a first device, the method comprising:
receiving a second data stream from a second device that is different from the first device; and
wherein the dataset is generated based on the first data stream and the second data stream.

### Claim 56 (depends on 55)

The method of claim 55, wherein the first device comprises an NMR/multi-sensor device or a multi-sensor device, including a distributed sample analysis system, wherein the second device comprises an autonomous device, and wherein the first device is coupled to the second device.

### Claim 57 (depends on 38)

The method of claim 38, wherein the data stream is generated by at least one autonomous or semi-autonomous system or device.
