# US 2025/0156389 A1 · Technologies for filtering and querying trie data structures for generating real-time bot flow visualizations and analytics

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

- Number: US 2025/0156389 A1
- Document ID: US20250156389A1
- Status: Published application
- Kind: A1
- Application number: 18/505,900
- Filed: 2023-11-09
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Genesys Cloud Services, Inc.
- Applicants: Genesys Cloud Services, Inc.
- Inventors: Ankit Pat
- Web page: https://patentgrep.com/patent/US20250156389A1

## CPC

- G06F 16/2246: {Trees, e.g. B+trees}
- H04M 3/493: Interactive information services, e.g. directory enquiries {; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals}
- G06F 16/23: Updating
- G06F 16/24573: {using data annotations, e.g. user-defined metadata}
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- H04M 3/5175: {Call or contact centers supervision arrangements}
- H04M 2201/38: Displays
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for filtering a Trie data structure for real-time bot flow visualization according to an embodiment includes receiving data associated with the Trie data structure, wherein the Trie data structure includes data for a plurality of contact center bot flows of an organization, and wherein each bot flow of the plurality of contact center bot flows includes at least one event, receiving a user selection associated with filtering the Trie data structure for modified visualization of the Trie data structure, performing a search of the Trie data structure to identify events of the Trie data structure to be deleted, deleting the identified events to generate an updated Trie data structure, updating event attributes of remaining events of the updated Trie data structure in response to deleting the identified events, and providing the updated Trie data structure for real-time bot flow visualization.

## Claims

### Claim 1

A method for filtering a Trie data structure for real-time bot flow visualization, the method comprising:
receiving, by a computing system, data associated with the Trie data structure, wherein the Trie data structure includes data for a plurality of contact center bot flows of an organization, and wherein each bot flow of the plurality of contact center bot flows includes at least one event;
receiving, by the computing system, a user selection associated with filtering the Trie data structure for modified visualization of the Trie data structure;
performing, by the computing system, a search of the Trie data structure to identify events of the Trie data structure to be deleted;
deleting, by the computing system, the identified events to generate an updated Trie data structure;
updating, by the computing system, event attributes of remaining events of the updated Trie data structure in response to deleting the identified events; and
providing, by the computing system, the updated Trie data structure for real-time bot flow visualization.

### Claim 2 (depends on 1)

The method of claim 1, wherein receiving the user selection associated with filtering the Trie data structure comprises receiving a user request to filter the Trie data structure by a selected bot flow.

### Claim 3 (depends on 2)

The method of claim 2, wherein performing the search of the Trie data structure to identify events of the Trie data structure to be deleted comprises identifying events of the Trie data structure that are not associated with the selected bot flow.

### Claim 4 (depends on 1)

The method of claim 1, wherein receiving the user selection associated with filtering the Trie data structure comprises receiving a user request to filter the Trie data structure to include only events that include a selected event attribute value.

### Claim 5 (depends on 4)

The method of claim 4, wherein performing the search of the Trie data structure to identify events of the Trie data structure to be deleted comprises identifying events of the Trie data structure that do not include the selected event attribute value.

### Claim 6 (depends on 5)

The method of claim 5, wherein deleting the identified events to generate the updated Trie data structure comprises updating parent-child relationships of events impacted by deletion of the identified events.

### Claim 7 (depends on 6)

The method of claim 6, further comprising identifying, by the computing system and subsequent to deleting the identified events, one or more sub-Trie data structures of an intermediate Trie data structure, wherein each sub-Trie data structure of the one or more sub-Trie data structures is a parent event having an updated parent-child relationship.

### Claim 8 (depends on 7)

The method of claim 7, further comprising merging, by the computing system, each of the one or more sub-Tries to generate the updated Trie data structure.

### Claim 9 (depends on 1)

The method of claim 1, wherein performing the search of the Trie data structure comprises performing a depth first search of the Trie data structure.

### Claim 10

A system for filtering a Trie data structure for real-time bot flow visualization, the system comprising:
at least one processor; and
at least one memory comprising a plurality of instructions stored thereon that, in response to execution by the at least one processor, causes the system to:
receive data associated with the Trie data structure, wherein the Trie data structure includes data for a plurality of contact center bot flows of an organization, and wherein each bot flow of the plurality of contact center bot flows includes at least one event;
receive a user selection associated with filtering the Trie data structure for modified visualization of the Trie data structure;
perform a search of the Trie data structure to identify events of the Trie data structure to be deleted;
delete the identified events to generate an updated Trie data structure;
update event attributes of remaining events of the updated Trie data structure in response to deleting the identified events; and
provide the updated Trie data structure for real-time bot flow visualization.

### Claim 11 (depends on 10)

The system of claim 10, wherein to receive the user selection associated with filtering the Trie data structure comprises to receive a user request to filter the Trie data structure by a selected bot flow.

### Claim 12 (depends on 11)

The system of claim 11, wherein to perform the search of the Trie data structure to identify events of the Trie data structure to be deleted comprises to identify events of the Trie data structure that are not associated with the selected bot flow.

### Claim 13 (depends on 10)

The system of claim 10, wherein to receive the user selection associated with filtering the Trie data structure comprises to receive a user request to filter the Trie data structure to include only events that include a selected event attribute value.

### Claim 14 (depends on 13)

The system of claim 13, wherein to perform the search of the Trie data structure to identify events of the Trie data structure to be deleted comprises to identify events of the Trie data structure that do not include the selected event attribute value.

### Claim 15 (depends on 14)

The system of claim 14, wherein to delete the identified events to generate the updated Trie data structure comprises to update parent-child relationships of events impacted by deletion of the identified events.

### Claim 16 (depends on 15)

The system of claim 15, wherein the plurality of instructions further causes the system to identify, subsequent to deletion of the identified events, one or more sub-Trie data structures of an intermediate Trie data structure, wherein each sub-Trie data structure of the one or more sub-Trie data structures is a parent event having an updated parent-child relationship.

### Claim 17 (depends on 16)

The system of claim 16, wherein the plurality of instructions further causes the system to merge each of the one or more sub-Tries to generate the updated Trie data structure.

### Claim 18 (depends on 10)

The system of claim 10, wherein to perform the search of the Trie data structure comprises to perform a depth first search of the Trie data structure.

### Claim 19

One or more non-transitory machine-readable storage media comprising a plurality of instructions stored thereon that, in response to execution by a computing system, causes the computing system to:
receive data associated with a Trie data structure, wherein the Trie data structure includes data for a plurality of contact center bot flows of an organization, and wherein each bot flow of the plurality of contact center bot flows includes at least one event;
receive a user selection associated with filtering the Trie data structure for modified visualization of the Trie data structure, wherein the user selection requests that the Trie data structure be filtered to include only journeys that have a selected starting event;
perform a search of the Trie data structure to identify each occurrence of the selected starting event in the Trie data structure;
extract a sub-Trie data structure associated with each identified starting event;
merge the extracted sub-Trie data structures to generate an updated Trie data structure; and
provide the updated Trie data structure for real-time bot flow visualization.

### Claim 20 (depends on 19)

The one or more non-transitory machine-readable storage media of claim 19,
wherein to perform the search of the Trie data structure comprises to perform a depth first search of the Trie data structure.
