# US 2025/0165535 A1 · Selective Aggregation Of Records For The Application Of A Function

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

- Number: US 2025/0165535 A1
- Document ID: US20250165535A1
- Status: Published application
- Kind: A1
- Application number: 18/515,821
- Filed: 2023-11-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Daniel S. Tow
- Web page: https://patentgrep.com/patent/US20250165535A1

## CPC

- G06F 16/906: Clustering; Classification
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for selectively aggregating records based on a downstream function to be applied to the records are disclosed. A system obtains an instruction corresponding to a set of records and a function to be applied to the set of records. The system determines whether the function meets a particular criteria for aggregating records prior to transmitting the records to an application for executing the function on the records. If the system determines that the function does meet the records-aggregation criteria, the system stores a set of records in a buffer prior to sending the set of records to the function-executing application. The system sends the set of records to the application together as a group with an instruction to generate a set of function results that includes a separate value for each record in the set of records.

## Claims

### Claim 1

One or more non-transitory computer readable media comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
accessing a first record;
determining a first downstream function that is to be applied to the first record;
determining whether the first downstream function meets one or more context aggregation criteria;
responsive to determining that the first downstream function does not meet the one or more context aggregation criteria:
selecting the first record as a first argument for invoking the first downstream function, and
initiating a first process for resolving the first downstream function using the first argument;
accessing a second record;
determining a second downstream function that is to be applied to the second record and one or more additional records;
determining whether the second downstream function meets the one or more context aggregation criteria;
responsive to determining that the second downstream function meets the one or more context aggregation criteria:
aggregating the second record and the one or more additional records to generate a set of records,
selecting the set of records as a second argument for resolving the second downstream function, and
initiating a second process for resolving the second downstream function using the second argument.

### Claim 2 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein the operations further comprise:
identifying a plurality of downstream functions to be applied to the set of records; and
determining whether any of the plurality of downstream functions meets the one or more context aggregation criteria,
wherein the second record and the one or more additional records are aggregated based on determining at least one of the plurality of downstream functions meets the one or more context aggregation criteria.

### Claim 3 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein the first process is initiated subsequent to obtaining the first record and prior to obtaining any additional records to which the first downstream function is also to be applied.

### Claim 4 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein initiating the second process comprises transmitting the set of records together for application of the second downstream function.

### Claim 5 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein the operations further comprise:
receiving a first output of the first downstream function resulting from application of the first downstream function to the first record; and
receiving a second output of the second downstream function resulting from application of the second downstream function to the set of records.

### Claim 6 (depends on 5)

The one or more non-transitory computer readable media of claim 5, wherein the second output comprises a table comprising a set of function results corresponding to the set of records arranged in at least one of a row and a column.

### Claim 7 (depends on 1)

The one or more non-transitory computer readable media of claim 1,
wherein the second argument includes the set of records in a first order;
wherein the operations further comprise:
receiving an output of the second downstream function resulting from application of the second downstream function to the set of records,
wherein the output of the second downstream function comprises a set of components corresponding respectively to the set of records, the set of components being in a second order, and
wherein a component is in a same position, within the second order of the set of components, as a corresponding record within the first order of the set of records.

### Claim 8 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein the operations further comprise obtaining the one or more additional records by querying a database for records on which the second downstream function is to be applied.

### Claim 9 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein the second record and the one or more additional records are aggregated in a buffer prior to initiating the second process.

### Claim 10

A method, comprising:
accessing a first record;
determining a first downstream function that is to be applied to the first record;
determining whether the first downstream function meets one or more context aggregation criteria;
responsive to determining that the first downstream function does not meet the one or more context aggregation criteria:
selecting the first record as a first argument for invoking the first downstream function, and
initiating a first process for resolving the first downstream function using the first argument;
accessing a second record;
determining a second downstream function that is to be applied to the second record and one or more additional records;
determining whether the second downstream function meets the one or more context aggregation criteria;
responsive to determining that the second downstream function meets the one or more context aggregation criteria:
aggregating the second record and the one or more additional records to generate a set of records,
selecting the set of records as a second argument for resolving the second downstream function, and
initiating a second process for resolving the second downstream function using the second argument.

### Claim 11 (depends on 10)

The method of claim 10, wherein further comprising:
identifying a plurality of downstream functions to be applied to the set of records; and
determining whether any of the plurality of downstream functions meets the one or more context aggregation criteria,
wherein the second record and the one or more additional records are aggregated based on determining at least one of the plurality of downstream functions meets the one or more context aggregation criteria.

### Claim 12 (depends on 10)

The method of claim 10, wherein the first process is initiated subsequent to obtaining the first record and prior to obtaining any additional records to which the first downstream function is also to be applied.

### Claim 13 (depends on 10)

The method of claim 10, wherein initiating the second process comprises transmitting the set of records together for application of the second downstream function.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
receiving a first output of the first downstream function resulting from application of the first downstream function to the first record; and
receiving a second output of the second downstream function resulting from application of the second downstream function to the set of records.

### Claim 15 (depends on 14)

The method of claim 14, wherein the second output comprises a table comprising a set of function results corresponding to the set of records arranged in at least one of a row and a column.

### Claim 16 (depends on 10)

The method of claim 10, wherein the second argument includes the set of records in a first order,
wherein the method further comprises:
receiving an output of the second downstream function resulting from application of the second downstream function to the set of records,
wherein the output of the second downstream function comprises a set of components corresponding respectively to the set of records, the set of components being in a second order, and
wherein a component is in a same position, within the second order of the set of components, as a corresponding record within the first order of the set of records.

### Claim 17 (depends on 10)

The method of claim 10, further comprising: obtaining the one or more additional records by querying a database for records on which the second downstream function is to be applied.

### Claim 18 (depends on 10)

The method of claim 10, wherein the second record and the one or more additional records are aggregated in a buffer prior to initiating the second process.

### Claim 19

A system comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the system to perform operations comprising:
accessing a first record;
determining a first downstream function that is to be applied to the first record;
determining whether the first downstream function meets one or more context aggregation criteria;
responsive to determining that the first downstream function does not meet the one or more context aggregation criteria:
selecting the first record as a first argument for invoking the first downstream function, and
initiating a first process for resolving the first downstream function using the first argument;
accessing a second record;
determining a second downstream function that is to be applied to the second record and one or more additional records;
determining whether the second downstream function meets the one or more context aggregation criteria;
responsive to determining that the second downstream function meets the one or more context aggregation criteria:
aggregating the second record and the one or more additional records to generate a set of records,
selecting the set of records as a second argument for resolving the second downstream function, and
initiating a second process for resolving the second downstream function using the second argument.

### Claim 20 (depends on 19)

The system of claim 19, wherein the operations further comprise:
identifying a plurality of downstream functions to be applied to the set of records; and
determining whether any of the plurality of downstream functions meets the one or more context aggregation criteria,
wherein the second record and the one or more additional records are aggregated based on determining at least one of the plurality of downstream functions meets the one or more context aggregation criteria.

### Claim 21 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein the one or more context aggregation criteria represent an improvement in performance of the second downstream function achieved by aggregating the second record and the one or more additional records in comparison with applying the second downstream function to the second record without aggregating the second record and the one or more additional records.

### Claim 22 (depends on 1)

The one or more non-transitory computer readable media of claim 1, wherein
determining that the second downstream function meets the one or more context aggregation criteria comprises:
determining a request for the second record to be used in the second downstream function includes the second record and omits the one or more additional records; and
determining that aggregating the second record and the one or more additional records to select as the second argument for resolving the second downstream function improves the performance of the second downstream function.
