# US 2021/0157807 A1 · Object-based search processing

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

- Number: US 2021/0157807 A1
- Document ID: US20210157807A1
- Status: Published application
- Kind: A1
- Application number: 16/694,858
- Filed: 2019-11-25
- Published: 2021-05-27
- Earliest claimed: 2019-11-25
- Assignees: Root, Inc.
- Applicants: Root, Inc.
- Inventors: Michael A. Panetta; James Wilbert Devine; Daniel Craig Manges
- Web page: https://patentgrep.com/patent/US20210157807A1

## CPC

- G06F 16/2433: {Query languages}
- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/243: {Natural language query formulation}
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F 40/205: Parsing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Structured data comprising primary data is transformed into object-based data comprising the primary data and at least one search function. The object-based data when loaded into memory provides the search function as executable instructions for an object instance. When an application calls the object instance with search terms as input, the search terms are located within the primary data (which is loaded into memory) by the search function, and the object instance returns corresponding field values from the primary data associated with the search terms to the application.

## Claims

### Claim 1

A method, comprising:
transforming, by one or more hardware processors of a machine, structured data comprising primary data into object data;
defining a search function within the object data;
loading the object data into a memory as an object instance; and
processing, by the one or more hardware processors, the object instance as the search function that when referenced with at least one search input term performs searching against the primary data within the memory and returns corresponding field values associated with the at least one search input term from the primary data.

### Claim 2 (depends on 1)

The method of claim 1, wherein transforming further includes converting the structured data into the object data by parsing the structured data using a schema that defines search keys and fields of the primary data.

### Claim 3 (depends on 2)

The method of claim 2, wherein defining further includes generating the object data with the search function in a Yet-Another Markup Language (YAML) format and syntax.

### Claim 4 (depends on 1)

The method of claim 1, wherein defining further includes assigning a version number to the object data based on a structured data version number associated with the structured data.

### Claim 5 (depends on 1)

The method of claim 1, wherein loading further includes maintaining the object instance in a cache and making the search function of the object instance available to calling applications from the cache.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
receiving, by the object instance, search terms passed by a calling application;
matching, by the object instance, the search terms to a record in the primary data within the memory; and
returning, by the object instance, record field values associated with the record to the calling application.

### Claim 7 (depends on 6)

The method of claim 6, wherein returning further includes populating, by the object instance, each record field value into a unique attribute that can be referenced by the calling application to retrieve that record field value.

### Claim 8 (depends on 6)

The method of claim 6, wherein returning further includes, providing, by the object instance, the record field values as a string, each component of the string representing a unique one of the record field values.

### Claim 9 (depends on 1)

The method of claim 1 further comprising:
detecting a change made to the primary data within the structured data;
transforming the structured data comprising revised primary data into updated object data; and
maintaining the search function within the updated object data.

### Claim 10

A method, comprising:
checking, by a calling application, a cache for a loaded version of an object instance;
loading, by the calling application, object data into the cache as the loaded version of the object instance when the loaded version was undetected in the cache during the checking;
referencing, by the calling application, a search function of the object instance with at least one search input term;
matching, by the object instance, the at least one search input term to a record from a plurality of records defined as primary data that was embedded within the object data of the object instance;
returning, by the object instance, record values associated with the record to the calling application; and
processing, by the calling application, the record values.

### Claim 11 (depends on 10)

The method of claim 10 further comprising, calculating, by the calling application, rates for a service based on the record values and available options that are available to the service.

### Claim 12 (depends on 11)

The method of claim 11 further comprising, providing, by the calling application, the rates for the available options to a mobile application of a mobile device.

### Claim 13 (depends on 10)

The method of claim 10, wherein loading further includes:
determining, by the calling application, the object data is missing from a processing environment of the calling application;
initiating, by the calling application, a parser; and
generating, by the parser, the object data from structured data that comprises the primary data.

### Claim 14 (depends on 10)

The method of claim 10, wherein loading further includes ensuring, by the calling application, a version number associated with the object data matches an expected version number before loading the object data as the loaded version of the object instance.

### Claim 15 (depends on 10)

The method of claim 10, wherein referencing further includes obtaining, by the calling application, the at least one search input term as a plurality of search input terms.

### Claim 16 (depends on 15)

The method of claim 15, wherein obtaining further includes obtaining, by the calling application, the plurality of search input terms as characteristics provided for or obtained from a user who is operating a mobile device.

### Claim 17 (depends on 10)

The method of claim 10, wherein matching further includes populating, by the object instance, each record value into a unique attribute that can be referenced by the calling application to obtain that record value.

### Claim 18

A system, comprising:
at least one server system comprising at least one server having at least one processor and a non-transitory computer-readable storage medium having executable instructions representing an object controller;
the object controller when executed by the at least one processor from the non-transitory computer-readable storage medium causes the at least one processor to perform operations comprising:
generating object data from structured data comprising primary data;
defining a search function within the object data; and
loading the object data into a cache as an object instance;
the object instance when executed by the at least one processor from the cache causes the at least one processor to perform operations comprising:
receiving a reference from a calling application to the search function along with at least one search input term;
marching the at least one search input term to a record from a plurality of records associated with the primary data; and
returning record values associated with the record to the calling application.

### Claim 19 (depends on 18)

The system of claim 18, wherein the at least one server system is a cloud processing environment.

### Claim 20 (depends on 18)

The system of claim 18, wherein the object controller when executed by the at least one processor from the non-transitory computer-readable storage medium further causes the at least one processor to perform additional operations comprising:
maintaining a version number associated with the structured data, the object data, and the object instance; and
permitting multiple instances of the object instance to be simultaneously loaded into the cache, each instance identified by that instance's corresponding version number.
