# US 2009/0276795 A1 · Virtual automata

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

- Number: US 2009/0276795 A1
- Document ID: US20090276795A1
- Status: Published application
- Kind: A1
- Application number: 12/112,461
- Filed: 2008-04-30
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Assignees: Microsoft Corporation
- Inventors: John Wesley Dyer; Brian C. Beckman; Henricus Johannes Maria Meijer; Jeffrey Van Gogh
- Web page: https://patentgrep.com/patent/US20090276795A1

## CPC

- G06F 9/4498: {Finite state machines}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Computer-based machines can be modeled after a virtual automaton. The virtual automaton defines processes that are not bound statically to particular behavior but rather perform a lookup at runtime to bind behavior to a specific process mechanism. In accordance with one aspect, binding can be dependent upon runtime context information such as object type. Instances of virtual automaton are provided in the context of graph processing including serialization of object graphs and scanning/parsing, among others.

## Claims

### Claim 1

A computer-implemented data process system, comprising:
a map component that provides node process mechanisms; and
a process component that interacts with the map component to identify and execute specific process mechanisms to process nodes of a graph in a recursive manner at runtime.

### Claim 2 (depends on 1)

The system of claim 1, further comprising a navigation component that traverses the graph in a depth-first pattern to enable streaming.

### Claim 3 (depends on 1)

The system of claim 1, further comprising an extension component to enable addition of process mechanisms to the map component.

### Claim 4 (depends on 3)

The system of claim 3, further comprising an acquisition component that acquires a process mechanism from a server.

### Claim 5 (depends on 3)

The system of claim 3, further comprising a component that generates an additional process mechanism.

### Claim 6 (depends on 1)

The system of claim 1, the map component includes production rules and the process component parses and/or scans input as a function of the rules.

### Claim 7 (depends on 1)

The system of claim 1, the map component includes type serializers and the process component manages serialization and/or deserialization based on the type serializers.

### Claim 8

A serialization method, comprising:
acquiring a writer component to write output with in a specific transfer syntax;
looking up a type serializer for an object type of a node in an object graph; and
executing the type serializer to serialize the node, wherein the type serializer invokes the writer component.

### Claim 9 (depends on 8)

The method of claim 8, further comprising performing a depth-first traversal of the object graph in furtherance of serialization thereof.

### Claim 10 (depends on 9)

The method of claim 9, further comprising transforming the graph into a tree employing depth-first navigation identifiers to break cycles.

### Claim 11 (depends on 10)

The method of claim 10, further comprising assigning an identifier to a node that could potentially begin a cycle.

### Claim 12 (depends on 11)

The method of claim 11, further comprising inserting the identifier into a tree node to capture back edges.

### Claim 13 (depends on 9)

The method of claim 9, further comprising serializing the object graph in one pass.

### Claim 14 (depends on 8)

The method of claim 8, further comprising requesting the type serializer from an external source or generating the type serializer upon lookup failure.

### Claim 15 (depends on 14)

The method of claim 14, further comprising registering the type serializer to enable future lookup.

### Claim 16

A method of deserialization, comprising:
locating a type serializer as a function of an object type; and
executing the type serializer to deserialize an object, the type serializer invokes a reader component to read serialized data in a particular transfer sytnax.

### Claim 17 (depends on 16)

The method of claim 16, further comprising constructing an object graph in a depth-first manner from a stream of serialized data.

### Claim 18 (depends on 17)

The method of claim 17, further comprising reconstructing object graph cycles as a function of depth-first navigation identifiers.

### Claim 19 (depends on 16)

The method of claim 16, locating the type serializer comprises retrieving the type serializer from an external service and registering the type serializer locally for future employment.

### Claim 20 (depends on 16)

The method of claim 16, further comprising generating the type serializer and registering the generated serializer for subsequent use.
