# US 2021/0287198 A1 · Sorted parallel processing of a large dataset

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

- Number: US 2021/0287198 A1
- Document ID: US20210287198A1
- Status: Published application
- Kind: A1
- Application number: 17/336,015
- Filed: 2021-06-01
- Published: 2021-09-16
- Earliest claimed: 2019-06-26
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Matthew L. TRIBBLE; Hala Salim EL-ALI
- Web page: https://patentgrep.com/patent/US20210287198A1

## CPC

- G06Q 20/24: Credit schemes, i.e. "pay after"
- G06F 16/9035: Filtering based on additional data, e.g. user or group profiles
- G06F 16/9038: Presentation of query results
- G06Q 30/0633: {Managing shopping lists, e.g. compiling or processing purchase lists (shipping orders G06Q10/083; order filling G06Q10/087)}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are system, method, and computer program product embodiments for sorted parallel processing of large dataset to provide quicker search results to a user. An embodiment operates by receiving a search request containing a first attribute from a user, determining an intermediate result set of items in a database based on the search request, and sorting the items based on a second attribute of the items. The embodiment further operates by dividing the sorted items into a plurality of batches with sequential IDs, determining a result corresponding to the first attribute for each item in parallel, creating a sequentially-ordered list of determined results, identifying a subset of determined results based on a comparison between the determined results and a target result, determining a final result set of items, and returning at least a portion of the final result set of items to the user.

## Claims

### Claim 1

A computer implemented method, comprising:
receiving a search request containing a first attribute from a user's input in an interactive user interface of an application;
determining an intermediate result set of items in a database based on the search request;
sorting the items in the intermediate result set based on a second attribute, wherein the second attribute is a known attribute of each item and the second attribute is related to the first attribute;
dividing the sorted items into a plurality of batches, wherein each of the plurality of batches has a sequential identification number (ID);
determining the first attribute for each item using a plurality of search actors based on the second attribute of each respective item in a subset of the plurality of batches in parallel with other batches in the subset of the plurality of batches, wherein each of the plurality of search actors determines the first attribute for a respective batch of the subset;
collecting, via a search collector, the determined first attribute for each item in the subset of the plurality of batches into a staging map;
generating, via the search collector, a final result set of items based on the determined first attribute for each item in the staging map prior to completion of determining the first attribute for all items in the plurality of batches; and
displaying, in response to the user's input, at least a portion of the final result set of items to the user in the interactive user interface while determining the first attribute for additional items in the plurality of batches using additional search actors,
wherein the receiving, determining, sorting, dividing, determining, collecting, generating, and displaying are performed by one or more computers.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating the final result set of items comprises:
creating a sequentially-ordered list of items based on the determined first attribute in the staging map for each of the subset of the plurality of batches according to the sequential ID; and
identifying the final result set of items in the sequentially-ordered list of items based on a comparison between the determined first attribute of each item in the subset of the plurality of batches and a target-value, wherein the target value is based on the second attribute of a last-in-sequence item in each of the subset of the plurality of batches.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
collecting, via additional search collectors, the determined first attribute for each of the additional items in the plurality of batches into the staging map;
generating, via the additional search collectors, an additional final result set of items based on the determined first attribute for each of the additional items in the staging map; and
adding the additional final result set of items to the final result set of items until a number of items in the final result set reaches a stop flag number.

### Claim 4 (depends on 1)

The method of claim 1, wherein the displaying the at least a portion of the final result set of items comprises:
determining a number of item slots available on a results web page in the interactive user interface displayed to the user; and
populating each item slot with a corresponding item in the final result set of items.

### Claim 5 (depends on 4)

The method of claim 4, wherein the populating each item slot comprises:
transmitting a first group of items in the final result set of items to the user once a number of items in the final result set is at least equal to the number of item slots available on the results web page; and
continuing to identify the final result set of items for a second group of items in the sequentially-ordered list of items.

### Claim 6 (depends on 1)

The method of claim 1, wherein the search request is a request to search an inventory of vehicles, and the first attribute comprises a monthly payment.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving search criteria in the interactive user interface from the user, wherein the search criteria comprise a characteristic;
determining a subset of the final result set of items by limiting the final result set of items to items having the characteristic; and
presenting at least a portion of the subset of the final result set of items to the user in the interactive user interface.

### Claim 8

A system, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
receive a search request containing a first attribute from a user's input in an interactive user interface of an application;
determine an intermediate result set of items in a database based on the search request;
sort the items in the intermediate result set based on a second attribute, wherein the second attribute is a known attribute of each item and the second attribute is related to the first attribute;
divide the sorted items into a plurality of batches, wherein each of the plurality of batches has a sequential identification number (ID);
determine the first attribute for each item using a plurality of search actors based on the second attribute of each respective item in a subset of the plurality of batches in parallel with other batches in the subset of the plurality of batches, wherein each of the plurality of search actors determines the first attribute for a respective batch of the subset;
collect, via a search collector, the determined first attribute for each item in the subset of the plurality of batches into a staging map;
generate, via the search collector, a final result set of items based on the determined first attribute for each item in the staging map prior to completion of determining the first attribute for all items in the plurality of batches; and
display, in response to the user's input, at least a portion of the final result set of items to the user in the interactive user interface while determining the first attribute for additional items in the plurality of batches using additional search actors.

### Claim 9 (depends on 8)

The system of claim 8, wherein the generating the final result set of items comprises:
creating a sequentially-ordered list of items based on the determined first attribute in the staging map for each of the subset of the plurality of batches according to the sequential ID; and
identifying the final result set of items in the sequentially-ordered list of items based on a comparison between the determined first attribute of each item in the subset of the plurality of batches and a target-value, wherein the target value is based on the second attribute of a last-in-sequence item in each of the subset of the plurality of batches.

### Claim 10 (depends on 8)

The system of claim 8, wherein the at least one processor is further configured to:
collect, via additional search collectors, the determined first attribute for each of the additional items in the plurality of batches into the staging map;
generate, via the additional search collectors, an additional final result set of items based on the determined first attribute for each of the additional items in the staging map; and
add the additional final result set of items to the final result set of items until a number of items in the final result set reaches a stop flag number.

### Claim 11 (depends on 8)

The system of claim 8, wherein the displaying the at least a portion of the final result set of items comprises:
determining a number of item slots available on a results web page in the interactive user interface displayed to the user; and
populating each item slot with a corresponding item in the final result set of items.

### Claim 12 (depends on 11)

The system of claim 11, wherein the populating each item slot comprises:
transmitting a first group of items in the final result set of items to the user once a number of items in the final result set is at least equal to the number of item slots available on the results web page; and
continuing to identify the final result set of items for a second group of items in the sequentially-ordered list of items.

### Claim 13 (depends on 8)

The system of claim 8, wherein the search request is a request to search an inventory of vehicles, and the first attribute comprises a monthly payment.

### Claim 14 (depends on 8)

The system of claim 8, wherein the at least one processor is further configured to:
receive search criteria in the interactive user interface from the user, wherein the search criteria comprise a characteristic;
determine a subset of the final result set of items by limiting the final result set of items to items having the characteristic; and
present at least a portion of the subset of the final result set of items to the user in the interactive user interface.

### Claim 15

A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
receiving a search request containing a first attribute from a user's input in an interactive user interface of an application;
determining an intermediate result set of items in a database based on the search request;
sorting the items in the intermediate result set based on a second attribute, wherein the second attribute is a known attribute of each item and the second attribute is related to the first attribute;
dividing the sorted items into a plurality of batches, wherein each of the plurality of batches has a sequential identification number (ID);
determining the first attribute for each item using a plurality of search actors based on the second attribute of each respective item in a subset of the plurality of batches in parallel with other batches in the subset of the plurality of batches, wherein each of the plurality of search actors determines the first attribute for a respective batch of the subset;
collecting, via a search collector, the determined first attribute for each item in the subset of the plurality of batches into a staging map;
generating, via the search collector, a final result set of items based on the determined first attribute for each item in the staging map prior to completion of determining the first attribute for all items in the plurality of batches; and
displaying, in response to the user's input, at least a portion of the final result set of items to the user in the interactive user interface while determining the first attribute for additional items in the plurality of batches using additional search actors.

### Claim 16 (depends on 15)

The non-transitory computer-readable device of claim 15, the operations further comprising:
collecting, via additional search collectors, the determined first attribute for each of the additional items in the plurality of batches into the staging map;
generating, via the additional search collectors, an additional final result set of items based on the determined first attribute for each of the additional items in the staging map; and
adding the additional final result set of items to the final result set of items until a number of items in the final result set reaches a stop flag number.

### Claim 17 (depends on 15)

The non-transitory computer-readable device of claim 15, wherein the displaying the at least a portion of the final result set of items comprises:
determining a number of item slots available on a results web page in the interactive user interface displayed to the user; and
populating each item slot with a corresponding item in the final result set of items.

### Claim 18 (depends on 17)

The non-transitory computer-readable device of claim 17, wherein the populating each item slot comprises:
transmitting a first group of items in the final result set of items to the user once a number of items in the final result set is at least equal to the number of item slots available on the results web page; and
continuing to identify the final result set of items for a second group of items in the sequentially-ordered list of items.

### Claim 19 (depends on 15)

The non-transitory computer-readable device of claim 15, wherein the search request is a request to search an inventory of vehicles, and the first attribute comprises a monthly payment.

### Claim 20 (depends on 15)

The non-transitory computer-readable device of claim 15, the operations further comprising:
receiving search criteria in the interactive user interface from the user, wherein the search criteria comprise a characteristic;
determining a subset of the final result set of items by limiting the final result set of items to items having the characteristic; and
presenting at least a portion of the subset of the final result set of items to the user in the interactive user interface.
