# US 2016/0239499 A1 · Object Creation Based on Copying Objects Corresponding to Similar Entities

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

- Number: US 2016/0239499 A1
- Document ID: US20160239499A1
- Status: Published application
- Kind: A1
- Application number: 14/620,704
- Filed: 2015-02-12
- Published: 2016-08-18
- Earliest claimed: 2015-02-12
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Filip Nguyen; Filip Elias
- Web page: https://patentgrep.com/patent/US20160239499A1

## CPC

- G06F 16/355: Creation or modification of classes or clusters
- G06F 16/951: Indexing; Web crawling techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example method of providing a list of entities includes obtaining a list of entities responsive to a request from a client. Each entity in the list includes a set of attribute name-value pairs. The method also includes recursively dividing the list of entities into subgroups and for each division resulting in a plurality of subgroups including one or more entities, and assigning a subgroup number to each of the corresponding entity's attribute names by which the division is based. The method also includes generating a logical message tree of entities. The method further includes sorting the list of entities based on the order of the entities in the logical message tree and serializing the sorted list of entities into a data stream. The method also includes transmitting a list of subgroup numbers and the entities in the sorted order over a network to the client.

## Claims

### Claim 1

A method of providing a list of entities, comprising:
obtaining, at a server, a list of entities responsive to a request from a client, each entity in the list including a set of attribute name-value pairs;
recursively dividing the list of entities into subgroups based on an attribute name in the set until each entity in the corresponding subgroup has the same attribute name-value pairs;
for each division resulting in a plurality of subgroups including one or more entities, assigning a subgroup number to each of the corresponding entity's attribute names by which the division is based, each entity in a common subgroup of the plurality of subgroups having the same subgroup number;
generating, at a parser, a logical message tree of entities, an order of the entities in the logical message tree being based on the assigned subgroup numbers;
sorting the list of entities based on the order of the entities in the logical message tree;
serializing the sorted list of entities into a data stream;
transmitting the entities in the sorted order over a network to the client; and
transmitting a list of subgroup numbers to the client, the list of subgroup numbers being based on the assigning.

### Claim 2 (depends on 1)

The method of claim 1, wherein the list of entities is in a data-interchange format.

### Claim 3 (depends on 1)

The method of claim 1, wherein the data-interchange format is JavaScript Object Notation (JSON).

### Claim 4 (depends on 1)

The method of claim 1, wherein the recursively dividing includes dividing the list of entities based on a similarity of attribute name-value pairs among the entities in the list.

### Claim 5 (depends on 1)

The method of claim 1, further including:
creating an array having an array length of M, M being the number of attribute name-value pairs included in an entity in the list;
for each common attribute name among the entities in the list, determining a number of different values for the common attribute name; and
assigning each of the determined number of different values to an element of the array, each element of the array representing a number of different values for an attribute name.

### Claim 6 (depends on 5)

The method of claim 5, further including:
selecting a smallest number in the array, wherein the recursively dividing includes dividing the list of entities into a corresponding number of subgroups based on the attribute name associated with the smallest number.

### Claim 7 (depends on 1)

The method of claim 1, wherein each entity in the list is of a common type having a common set of attribute names.

### Claim 8 (depends on 1)

The method of claim 1, further including:
receiving, at a client, the first entity and second entity listed in the sorted list of entities;
receiving, at the client, the assigned subgroup numbers including a first set of subgroup numbers assigned to one or more of the first entity's attribute names and a second set of subgroup numbers assigned to one or more of the second entity's attribute names;
creating a first object based on the first entity, the first object including a set of fields corresponding to the first entity's attributes;
comparing the first set of subgroup numbers to the second set of subgroup numbers; and
copying the first object if the first listed subgroup number in the first set of subgroup numbers matches the first listed subgroup number in the second set of subgroup numbers.

### Claim 9 (depends on 8)

The method of claim 8, further including:
setting, based on the second entity's attributes, one or more fields in the object copy, the set field values in the object copy being different from their corresponding field values in the first object, wherein the object copy represents the second entity.

### Claim 10 (depends on 8)

The method of claim 8, further including:
creating a second object representative of the second entity if the first listed subgroup number in the first set of subgroup numbers does not match the first listed subgroup number in the second set of subgroup numbers; and
setting each field in the second object based on the second entity's attributes.

### Claim 11

A system for providing a list of entities, comprising:
a server that obtains a list of entities responsive to a request from a client, wherein each entity in the list includes a set of attribute name-value pairs;
a sort module that recursively divides the list of entities into subgroups based on an attribute name in the set until each entity in the corresponding subgroup has the same attribute name-value pairs, wherein for each division resulting in a plurality of subgroups including one or more entities, the sort module assigns a subgroup number to each of the corresponding entity's attribute names by which the division is based, and wherein each entity in a common subgroup of the plurality of subgroups has the same subgroup number;
a parser that generates a logical message tree of entities, wherein an order of the entities in the logical message tree is based on the assigned subgroup numbers, wherein the parser sorts the list of entities based on the order of the entities in the logical message tree; and
a serializer that serializes the sorted list of entities into a data stream, and transmits a list of subgroup numbers and the entities in the sorted order over a network to the client, wherein the list of subgroup numbers is based on the subgroup number assignments.

### Claim 12 (depends on 11)

The system of claim 11, wherein the list of entities is in a data-interchange format.

### Claim 13 (depends on 12)

The system of claim 12, wherein the data-interchange format is JavaScript Object Notation (JSON).

### Claim 14 (depends on 12)

The method of claim 12, wherein the data-interchange format is Extensible Markup Language (XML).

### Claim 15 (depends on 11)

The system of claim 11, wherein the sort module creates an array having an array length of M, wherein for each common attribute name among the entities in the list, the sort module determines a number of different values for the common attribute name, and wherein the sort module assigns each of the determined number of different values to an element of the array, wherein M is the number of attribute name-value pairs included in an entity in the list and each element of the array represents a number of different values for an attribute name.

### Claim 16 (depends on 15)

The system of claim 15, wherein the sort module selects a smallest number in the array, and divides the list of entities into a corresponding number of subgroups based on the attribute name associated with the smallest number.

### Claim 17 (depends on 11)

The system of claim 11, wherein the sort module creates the list of subgroup numbers based on the subgroup number assignments and the one or more divisions, and wherein the list of subgroup numbers includes the assigned subgroup numbers.

### Claim 18 (depends on 11)

The system of claim 11, further including:
a client that receives the first entity and second entity listed in the sorted list of entities, and receives the assigned subgroup numbers including a first set of subgroup numbers assigned to one or more of the first entity's attribute names and a second set of subgroup numbers assigned to one or more of the second entity's attribute names; and
an entity processing module that creates a first object based on the first entity, compares the first set of subgroup numbers to the second set of subgroup numbers, and copies the first object if the first listed subgroup number in the first set of subgroup numbers matches the first listed subgroup number in the second set of subgroup numbers, wherein the first object includes a set of fields corresponding to the first entity's attributes.

### Claim 19 (depends on 18)

The system of claim 18, wherein the entity processing module sets, based on the second entity's attributes, one or more fields in the object copy, wherein the set field values in the object copy are different from their corresponding field values in the first object, and wherein the copy represents the second entity.

### Claim 20

A machine-readable medium comprising a plurality of machine-readable instructions that when executed by one or more processors is adapted to cause the one or more processors to perform a method comprising:
obtaining, at a server, a list of entities responsive to a request from a client, each entity in the list including a set of attribute name-value pairs;
recursively dividing the list of entities into subgroups based on an attribute name in the set until each entity in the corresponding subgroup has the same attribute name-value pairs;
for each division resulting in a plurality of subgroups including one or more entities, assigning a subgroup number to each of the corresponding entity's attribute names by which the division is based, each entity in a common subgroup of the plurality of subgroups having the same subgroup number;
generating, at a parser, a logical message tree of entities, an order of the entities in the logical message tree being based on the assigned subgroup numbers;
sorting the list of entities based on the order of the entities in the logical message tree;
serializing the sorted list of entities into a data stream;
transmitting the entities in the sorted order over a network to the client; and
transmitting a list of subgroup numbers to the client, the list of subgroup numbers being based on the assigning.
