# US 2021/0173835 A1 · Systems and methods for determining if a user is a member of a defined segment

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

- Number: US 2021/0173835 A1
- Document ID: US20210173835A1
- Status: Published application
- Kind: A1
- Application number: 17/175,804
- Filed: 2021-02-15
- Published: 2021-06-10
- Earliest claimed: 2019-04-25
- Assignees: Braze, Inc.
- Applicants: Braze, Inc.
- Inventors: Jonathan HYMAN
- Web page: https://patentgrep.com/patent/US20210173835A1

## CPC

- G06F 16/2462: {Approximate or statistical queries}
- G06F 16/335: Filtering based on additional data, e.g. user or group profiles (filtering in web context G06F16/9535, G06F16/9536)
- G06F 16/144: {Query formulation}
- G06F 16/185: Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof (details of archiving G06F16/11)
- G06F 16/2465: {Query processing support for facilitating data mining operations in structured databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for determining whether a user is part of a defined segment of all users makes use of a database of user information that includes rapidly searchable field values. Predetermined segment definitions can be evaluated using information from a user's record in the database to rapidly determine if the user is a member of the segment.

## Claims

### Claim 1

A method of determining whether a user is a member of a segment of users that is defined by a compound segment definition comprising a plurality of user characteristics or search terms, the method comprising:
generating a compound segment definition by selecting a plurality of user characteristics or search terms and the value of each user characteristic or search term that a user must have to be included in the compound segment definition;
calculating a cardinality for each of the user characteristics that make up the compound segment definition by:
determining for a first user characteristic of the compound segment definition, the number of different values of the first user characteristic that are each shared by more than X % of all users within a test group of users, that number being the cardinality of the first user characteristic;
repeating the determining step for each of the other user characteristics that make up the compound segment definition to determine a cardinality for each of the other user characteristics that make up the compound segment definition;
ordering the plurality of user characteristics or search terms of the compound segment definition, at least in part, according to cardinality, with the user characteristics or search terms having the highest cardinality appearing in the compound segment definition before those user characteristics or search terms having the lowest cardinality; and
determining whether a user is a member of the segment defined by the compound segment definition by evaluating each of the user characteristics in the compound segment definition in the order in which they appear in the compound segment definition.

### Claim 2 (depends on 1)

The method of claim 1, where determining whether a user is a member of the segment defined by the compound segment definition is halted when evaluation of one of the user characteristics or search terms of the compound segment definition excludes the user from the segment.

### Claim 3 (depends on 1)

The method of claim 1, where determining whether the user is a member of the segment defined by the compound segment definition comprises comparing information in a database of user characteristics to each of the user characteristics or search terms in the compound segment definition.

### Claim 4 (depends on 1)

The method of claim 1, where X % is 5%.

### Claim 5 (depends on 1)

The method of claim 1, where X % is 2%.

### Claim 6 (depends on 1)

The method of claim 1, wherein the ordering step is performed such that the user characteristics or search terms of the compound segment definition are ordered only based on cardinality, with the user characteristics or search terms with the highest cardinality coming first.

### Claim 7

A system for determining whether a user is a member of a segment of users that is defined by a compound segment definition comprising a plurality of user characteristics or search terms, comprising:
means for generating a compound segment definition by selecting a plurality of user characteristics or search terms and the value of each user characteristic or search term that a user must have to be included in the compound segment definition;
means for calculating a cardinality for each of the user characteristics that make up the compound segment definition by:
means for determining for a first user characteristic of the compound segment definition, the number of different values of the first user characteristic that are each shared by more than X % of all users within a test group of users, that number being the cardinality of the first user characteristic;
means for repeating the determining step for each of the other user characteristics that make up the compound segment definition to determine a cardinality for each of the other user characteristics that make up the compound segment definition;
means for ordering the plurality of user characteristics or search terms of the compound segment definition, at least in part, according to cardinality, with the user characteristics or search terms having the highest cardinality appearing in the compound segment definition before those user characteristics or search terms having the lowest cardinality; and
means for determining whether a user is a member of the segment defined by the compound segment definition by evaluating each of the user characteristics in the compound segment definition in the order in which they appear in the compound segment definition.

### Claim 8

A system for of determining whether a user is a member of a segment of users that is defined by a compound segment definition comprising a plurality of user characteristics or search terms, comprising:
a memory; and
one or more processors that are configured to perform a method comprising:
generating a compound segment definition by selecting a plurality of user characteristics or search terms and the value of each user characteristic or search term that a user must have to be included in the compound segment definition;
calculating a cardinality for each of the user characteristics that make up the compound segment definition by:
determining for a first user characteristic of the compound segment definition, the number of different values of the first user characteristic that are each shared by more than X% of all users within a test group of users, that number being the cardinality of the first user characteristic;
repeating the determining step for each of the other user characteristics that make up the compound segment definition to determine a cardinality for each of the other user characteristics that make up the compound segment definition;
ordering the plurality of user characteristics or search terms of the compound segment definition, at least in part, according to cardinality, with the user characteristics or search terms having the highest cardinality appearing in the compound segment definition before those user characteristics or search terms having the lowest cardinality; and
determining whether a user is a member of the segment defined by the compound segment definition by evaluating each of the user characteristics in the compound segment definition in the order in which they appear in the compound segment definition.

### Claim 9 (depends on 8)

The system of claim 8, where determining whether a user is a member of the segment defined by the compound segment definition is halted when evaluation of one of the user characteristics or search terms of the compound segment definition excludes the user from the segment.

### Claim 10 (depends on 8)

The system of claim 8, where determining whether the user is a member of the segment defined by the compound segment definition comprises comparing information in a database of user characteristics to each of the user characteristics or search terms in the compound segment definition.

### Claim 11 (depends on 8)

The system of claim 8, where X % is 5%.

### Claim 12 (depends on 8)

The system of claim 8, where X % is 2%.

### Claim 13 (depends on 8)

The system of claim 8, wherein the ordering step is performed such that the user characteristics or search terms of the compound segment definition are ordered only based on cardinality, with the user characteristics or search terms with the highest cardinality coming first.
