# US 12,019,625 B2 · Techniques for automated database query generation

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

- Number: US 12,019,625 B2
- Document ID: US12019625B2
- Status: Granted
- Kind: B2
- Application number: 17/373,043
- Filed: 2021-07-12
- Published: 2022-01-06
- Granted: 2024-06-25
- Earliest claimed: 2016-07-18
- Assignees: State Street Corporation
- Applicants: State Street Corporation
- Inventors: Stephen C. Lawrence; Yongwei Ding; Junjie Du; Ana Baltazar; Pedro Gaspar; Rui Peixe
- Web page: https://patentgrep.com/patent/US12019625B2

## CPC

- G06F 16/2423: {Interactive query statement specification based on a database schema}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/0486: Drag-and-drop
- G06F 16/252: {between a Database Management System and a front-end application}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various embodiments are generally directed to techniques for automated generation of database queries. Techniques described herein may provide an automated database query generation method and system that provides a graphical user interface with one or more user interface items representing records within a database stored on a non-transitory computer-readable storage medium of a server. The server may receive an input from a graphical user interface, the input selecting one or more of the user interface elements. A processor of the server may configure the display of an indication within the graphical user interface that the one or more of the user interface elements has been selected. The processor of the server may automatically generate one or more queries to the database based upon the received input. The processor of the server may automatically update the configuration of the display of the one or more user interface elements based upon a result of the automatically generated one or more queries to the database.

## Claims

### Claim 1

A computer-implemented method, comprising:
configuring, with the processor of a server computing device, the display of one or more user interface elements in a graphical user interface, wherein the one or more user interface elements represent records stored within a first database stored on a non-transitory computer-readable storage medium of the server computing device, wherein the configuring comprises accessing a data record for a tag in a tag database to determine whether a user interface element associated with a selected tag is to be displayed or not and wherein the tag is a label for categorizing data records within the first database;
communicating the graphical user interface as configured from the server computing device to a client computing device;
receiving, at the server computing device from the client computing device, an input received by the graphical user interface, the input indicating selection of one or more of the user interface elements;
configuring, with the processor of the server computing device, an indication within the graphical user interface that the one or more of the user interface elements has been selected;
automatically generating, by the processor of the server computing device, one or more queries to the first database based upon the received input;
automatically updating, by the processor of the server computing device, the configuration of the display of the one or more user interface elements of the graphical user interface based upon a result of the automatically generated one or more queries to the first database, the one or more queries to trigger an addition of a new user interface element to the configuration of the display, the new user interface element associated with a previously hidden tag associated with the one or more user interface elements selected via the input; and
communicating the updated configuration of the display of the one or more user interface elements of the graphical user interface from the server computing device to the client computing device for display on a display device of the client computing device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the received input from the graphical user interface represents the separate selection of two or more of the user interface elements.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the automatically generated one or more queries includes an AND operation.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the received input from the graphical user interface represents the click and drag of at least one of the user interface elements onto another of the one or more user interface elements.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the automatically generated one or more queries includes an OR operation.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the automatic update, by the processor of the server, of the configuration of the display of the one or more user interface elements based upon a result of the automatically generated one or more queries to the first database further includes:
determining, by the processor of the server computing device, one or more new user interface elements to display on the graphical user interface; and
configuring, by the processor of the server computing device, the display of the one or more new user interface elements as part of the graphical user interface.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the indication within the graphical user interface that the one or more of the user interface elements has been selected includes a graphical timeline representing a volume of results to the automatically generated one or more queries.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the indication within the graphical user interface that the one or more of the user interface elements has been selected includes a modification of one of the selected one or more user interface elements to include a graphical user interface menu.

### Claim 9

A computing system, comprising:
a server computing device including a processor to:
configure the display of one or more user interface elements in a graphical user interface, the one or more user interface elements representing records stored within a first database stored on a non-transitory computer-readable storage medium of the server computing device, wherein the configuring comprises accessing a data record for a tag in a tag database to determine whether a user interface element associated with a selected tag is to be displayed or not and wherein the tag is a label for categorizing data records within the first database;
communicate the graphical user interface as configured from the server computing device to a client computing device;
receive an input received by the a graphical user interface, the input indicating selection of one or more of the user interface elements;
configure an indication within the graphical user interface that the one or more of the user interface elements has been selected;
automatically generate one or more queries to the first database based upon the received input;
automatically update the configuration of the display of the one or more user interface elements based upon a result of the automatically generated one or more queries to the first database, the one or more queries to trigger an addition of a new user interface element to the configuration of the display, the new user interface element associated with a previously hidden tag associated with the one or more user interface elements selected via the input; and
communicate the updated configuration of the display of the one or more user interface elements of the graphical user interface from the server computing device to the client computing device for display on a display device of the client computing device.

### Claim 10 (depends on 9)

The system of claim 9, wherein the received input from the graphical user interface represents the separate selection of two or more of the user interface elements.

### Claim 11 (depends on 10)

The system of claim 10, wherein the automatically generated one or more queries includes an AND operation.

### Claim 12 (depends on 1)

The system of claim 1, wherein the received input from the graphical user interface represents the click and drag of at least one of the user interface elements onto another user interface element of the at least one user interface elements.

### Claim 13 (depends on 12)

The system of claim 12, wherein the automatically generated one or more queries includes an OR operation.

### Claim 14 (depends on 9)

The system of claim 9, wherein the automatic update of the configuration of the display of the one or more user interface elements based upon a result of the automatically generated one or more queries to the first database further includes:
determining one or more new user interface elements to display on the graphical user interface; and
configuring the display of the one or more new user interface elements as part of the graphical user interface.

### Claim 15 (depends on 9)

The system of claim 9, wherein the indication within the graphical user interface that the one or more of the user interface elements has been selected includes a graphical timeline representing a volume of results to the automatically generated one or more queries.

### Claim 16 (depends on 9)

The system of claim 9, wherein the indication within the graphical user interface that the one or more of the user interface elements has been selected includes a modification of at least one of the selected one or more user interface elements to include a graphical user interface menu.

### Claim 17

An article including a computer-readable storage medium including instructions, that, when executed by a processor of a server computing device, cause the processor to:
configure the display of one or more user interface elements in a graphical user interface, the one or more user interface elements representing records stored within a first database stored on a non-transitory computer-readable storage medium of the server computing device, wherein the configuring comprises accessing a data record for a tag in a tag database to determine whether a user interface element associated with a selected tag is to be displayed or not and wherein the tag is a label for categorizing data records within the first database;
communicate the graphical user interface as configured from the server computing device to a client computing device;
receive an input received by the graphical user interface, the input indicating selection of one or more of the user interface elements;
configure an indication within the graphical user interface that the one or more of the user interface elements has been selected;
automatically generate one or more queries to the first database based upon the received input; and
automatically update the configuration of the display of the one or more user interface elements of the graphical user interface based upon a result of the automatically generated one or more queries to the first database, the one or more queries to trigger an addition of a new user interface element to the configuration of the display, the new user interface element associated with a previously hidden tag associated with the one or more user interface elements selected via the input; and
communicate the updated configuration of the display of the one or more user interface elements of the graphical user interface from the server computing device to the client computing device for display on a display device of the client computing device.

### Claim 18 (depends on 17)

The article of claim 17, wherein the received input from the graphical user interface represents the separate selection of two or more of the user interface elements.

### Claim 19 (depends on 18)

The article of claim 18, wherein the automatically generated one or more queries includes an AND operation.

### Claim 20 (depends on 17)

The article of claim 17, wherein the received input from the graphical user interface represents the click and drag of at least one of the user interface elements onto another user interface element of the at least one user interface elements.

### Claim 21 (depends on 20)

The article of claim 20, wherein the automatically generated one or more queries includes an OR operation.

### Claim 22 (depends on 17)

The article of claim 17, wherein the automatic update, by the processor of the server, of the configuration of the display of the one or more user interface elements based upon a result of the automatically generated one or more queries to the first database further includes:
determining one or more new user interface elements to display on the graphical user interface; and
configuring the display of the one or more new user interface elements as part of the graphical user interface.

### Claim 23 (depends on 17)

The article of claim 17, wherein the indication within the graphical user interface that the one or more of the user interface elements has been selected includes a graphical timeline representing a volume of results to the automatically generated one or more queries.

### Claim 24 (depends on 17)

The article of claim 17, wherein the indication within the graphical user interface that the one or more of the user interface elements has been selected includes a modification of at least one of the selected one or more user interface elements to include a graphical user interface menu.
