# US 2021/0081455 A1 · Object search with pagination and non-duplicates support

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

- Number: US 2021/0081455 A1
- Document ID: US20210081455A1
- Status: Published application
- Kind: A1
- Application number: 16/573,324
- Filed: 2019-09-17
- Published: 2021-03-18
- Earliest claimed: 2019-09-17
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Esad Muhlis Akar; Javier A. Azaret; Bruno Spinelli Dantas
- Web page: https://patentgrep.com/patent/US20210081455A1

## CPC

- G06F 16/9035: Filtering based on additional data, e.g. user or group profiles
- G06F 16/9014: {hash tables}
- G06F 16/9038: Presentation of query results
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed for querying for members in multiple groups. A list of unique members in the multiple groups may be received in response to the query. An example methodology implementing the techniques may include generating a group contexts dictionary and a job stack. The group contexts dictionary may include group context objects, each group context object associated with a group within a domain. The job stack may include one or more group context hashset keys, wherein a group context hashset key identifies a group context object. The method may include retrieving one or more group context hashset keys from the job stack and, for each retrieved group context hashset key, traversing a group associated with a group context object identified by a group context hashset key to determine membership information of the group, and generating a list of unique members by removing duplicate entries in the membership information.

## Claims

### Claim 1

A method comprising:
responsive to a query for members in a plurality of groups,
generating a group contexts dictionary, the group contexts dictionary including a plurality of group context objects, each group context object associated with a group within a domain;
generating a job stack, the job stack including one or more group context hashset keys, wherein a group context hashset key identifies a group context object;
retrieving one or more group context hashset keys from the job stack;
for each retrieved group context hashset key from the job stack, traversing a group associated with a group context object identified by a group context hashset key to determine membership information of the group;
generating a list of unique members by removing duplicate entries in the membership information; and
causing generation of a response to the query for members in the plurality of groups, the response including the list of unique members.

### Claim 2 (depends on 1)

The method of claim 1, wherein the list of unique members is paginated group membership information, the method further comprising:
generating a list of members returned, wherein the list includes the members in the plurality of groups returned in response to one or more previous queries;
saving the group contexts dictionary, the job stack, and the list of members returned to a cache;
generating a continuation token, the continuation token including information for restoring a state of the traversals of the groups; and
including the continuation token with the response to the query for members in the plurality of groups such that the continuation token is included in a subsequent query for additional members in the plurality of groups.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
responsive to a subsequent query for members in the plurality of groups, the query including a continuation token, wherein the continuation token includes information for restoring a state of the traversals of the groups,
restoring the group contexts dictionary and the job stack from a cache based on the continuation token; and
resuming the traversals of the groups based on the restored group contexts dictionary and the job stack to determine membership information of the groups.

### Claim 4 (depends on 1)

The method of claim 1, wherein traversing a group yields a nested group, the method further comprising:
responsive to a determination that the nested group is not in the group contexts dictionary,
including the nested group in the group contexts dictionary; and
pushing a group context hashset key identifying a group context object associated with the nested group onto the job stack.

### Claim 5 (depends on 1)

The method of claim 1, wherein the retrieved group context hashset keys includes a first group context hashset key identifying a first group context object associated with a first group and a second group context hashset key identifying a second group context object associated with a second group, the method further comprising traversing the first group by issuing a first query to a directory provider for members of the first group, and traversing the second group by issuing a second query to the directory provider for members of the second group.

### Claim 6 (depends on 5)

The method of claim 5, wherein the first query and the second query are issued in parallel.

### Claim 7 (depends on 1)

The method of claim 1, wherein traversing a group includes issuing a query to a directory provider for members of the group, wherein the query specifies a take value.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating a list of unique members includes comparing the membership information with a list of members returned, identifying matching entries in the membership information, and removing the identified matching entries from the membership information.

### Claim 9 (depends on 1)

The method of claim 1, further comprising, responsive to a determination that a group traversal yields less than a requested take value number of members, marking the group context object associated with the group as being exhausted, and discarding the group context object.

### Claim 10 (depends on 1)

The method of claim 1, further comprising, responsive to a determination that a group traversal returns no result, marking the group context object associated with the group as being not found, and discarding the group context object.

### Claim 11 (depends on 1)

The method of claim 1, further comprising, responsive to a determination that a group traversal returns at least a requested take value number of members, marking the group context object associated with the group as being in progress, and updating a skip value associated with the group context object, wherein the skip value indicates a number of members in the group to skip for subsequent queries for members in the plurality of groups.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
identifying a plurality of domains; and
traversing the plurality of groups within each of the plurality of domains to determine membership information of the plurality of groups for each of the plurality of domains.

### Claim 13

A non-transitory machine-readable medium encoding instructions that when executed by one or more processors cause a process to be carried out, the process comprising:
responsive to a query for members in a plurality of groups,
generating a group contexts dictionary, the group contexts dictionary including a plurality of group context objects, each group context object associated with a group within a domain;
generating a job stack, the job stack including one or more group context hashset keys, wherein a group context hashset key identifies a group context object;
retrieving one or more group context hashset keys from the job stack;
for each retrieved group context hashset key from the job stack, traversing a group associated with a group context object identified by a group context hashset key to determine membership information of the group;
generating a list of unique members by removing duplicate entries in the membership information; and
causing generation of a response to the query for members in the plurality of groups, the response including the list of unique members.

### Claim 14 (depends on 13)

The non-transitory machine-readable medium of claim 13, wherein the list of unique members is paginated group membership information, the process further comprising:
generating a list of members returned, wherein the list includes the members in the plurality of groups returned in response to one or more previous queries;
saving the group contexts dictionary, the job stack, and the list of members returned to a cache;
generating a continuation token, the continuation token including information for restoring a state of the traversals of the groups; and
including the continuation token with the response to the query for members in the plurality of groups such that the continuation token is included in a subsequent query for additional members in the plurality of groups.

### Claim 15 (depends on 13)

The non-transitory machine-readable medium of claim 13, the process further comprising:
responsive to a subsequent query for members in the plurality of groups, the query including a continuation token, wherein the continuation token includes information for restoring a state of the traversals of the groups,
restoring the group contexts dictionary and the job stack from a cache based on the continuation token; and
resuming the traversals of the groups based on the restored group contexts dictionary and the job stack to determine membership information of the groups.

### Claim 16 (depends on 13)

The non-transitory machine-readable medium of claim 13, wherein traversing a group yields a nested group, the process further comprising:
responsive to a determination that the nested group is not in the group contexts dictionary,
including the nested group in the group contexts dictionary; and
pushing a group context hashset key identifying a group context object associated with the nested group onto the job stack.

### Claim 17

A system comprising:
a memory; and
one or more processors in communication with the memory and configured to, responsive to a query for members in a plurality of groups,
generate a group contexts dictionary, the group contexts dictionary including a plurality of group context objects, each group context object associated with a group within a domain;
generate a job stack, the job stack including one or more group context hashset keys, wherein a group context hashset key identifies a group context object;
retrieve one or more group context hashset keys from the job stack;
for each retrieved group context hashset key from the job stack, traverse a group associated with a group context object identified by a group context hashset key to determine membership information of the group;
generate a list of unique members by removing duplicate entries in the membership information; and
cause generation of a response to the query for members in the plurality of groups, the response including the list of unique members.

### Claim 18 (depends on 17)

The system of claim 17, wherein the list of unique members is paginated group membership information, the one or more processors in communication with the memory further configured to:
generate a list of members returned, wherein the list includes the members in the plurality of groups returned in response to one or more previous queries;
save the group contexts dictionary, the job stack, and the list of members returned to a cache;
generate a continuation token, the continuation token including information for restoring a state of the traversals of the groups; and
include the continuation token with the response to the query for members in the plurality of groups such that the continuation token is included in a subsequent query for additional members in the plurality of groups.

### Claim 19 (depends on 17)

The system of claim 17, the one or more processors in communication with the memory further configured to:
responsive to a subsequent query for members in the plurality of groups, the query including a continuation token, wherein the continuation token includes information for restoring a state of the traversals of the groups,
restore the group contexts dictionary and the job stack from a cache based on the continuation token; and
resume the traversals of the groups based on the restored group contexts dictionary and the job stack to determine membership information of the groups.

### Claim 20 (depends on 17)

The system of claim 17, wherein to traverse a group yields a nested group, the one or more processors in communication with the memory further configured to:
responsive to a determination that the nested group is not in the group contexts dictionary,
include the nested group in the group contexts dictionary; and
push a group context hashset key identifying a group context object associated with the nested group onto the job stack.
