# US 2022/0292071 A1 · Alert based on baseline result

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

- Number: US 2022/0292071 A1
- Document ID: US20220292071A1
- Status: Published application
- Kind: A1
- Application number: 17/804,674
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2020-01-31
- Assignees: Snowflake Inc.
- Applicants: Snowflake Inc.
- Inventors: Andrey Fedorov; Maria Polyakova; Omer Singer
- Web page: https://patentgrep.com/patent/US20220292071A1

## CPC

- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/24556: {Aggregation; Duplicate elimination}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are systems and methods for providing percentile-based alerts from historical event-occurrence data. An embodiment of a method includes identifying a baseline result of an aggregation operation performed with respect to a detection set of attributes of event records. Each baseline result corresponds to a baseline set of one or more event records from a baseline time period within a baseline time window. The method includes determining a subject result of the aggregation operation performed with respect to the detection set of attributes of a subject set of the event records corresponding to a subject time period. The method includes determining, based on the baseline result and the subject result, whether the subject result indicates an alert condition for the detection set for the subject time period, and if so then outputting one or more alerts.

## Claims

### Claim 1

A method comprising:
applying a statistical function to a plurality of baseline results to select a particular baseline result of the plurality of baseline results, the particular baseline result that is selected representing a particular baseline set of one or more event records that is associated with a particular baseline time period of a plurality of baseline time periods;
determining an alert condition by performing operations comprising:
generating a modified baseline result based on the particular baseline result by multiplying the particular baseline result by a scaling factor; and
determining whether a subject result indicates the alert condition based on a comparison associated with the modified baseline result; and
generating one or more alerts in response to determining the alert condition.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating the plurality of baseline results of an aggregation operation performed with respect to a detection set of one or more attributes of event records in a database, each baseline result in the plurality of baseline results corresponding to a baseline set of one or more of the event records, each such baseline set corresponding to a baseline time period in the plurality of baseline time periods within a baseline time window, each such baseline time period having a first duration; and
determining a subject result of the aggregation operation performed with respect to the detection set of one or more attributes of a subject set of one or more event records in the database, the subject set corresponding to a subject time period having the first duration.

### Claim 3 (depends on 1)

The method of claim 1, wherein the statistical function comprises a percentile level N, the method further comprising receiving input from a user that specifies a percentile-level indication via a user interface, and responsively setting the percentile level N for an aggregation operation based at least in part on the received percentile-level indication of the received input from the user.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of baseline time periods constitutes all of the baseline time periods within a baseline time window.

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of baseline time periods does not constitute all of the baseline time periods within a baseline time window.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of baseline time periods does not include any time periods within a baseline time window having a zero count of instances corresponding to a detection set.

### Claim 7 (depends on 1)

The method of claim 1, further comprising receiving a detection-set specification via a user interface, and responsively setting the detection set for an aggregation operation based at least in part on the received detection-set specification.

### Claim 8 (depends on 1)

The method of claim 1, further comprising receiving a first-duration specification via a user interface, and responsively setting the first duration for an aggregation operation based at least in part on the received first-duration specification.

### Claim 9 (depends on 1)

The method of claim 1, further comprising receiving input from a user that specifies a value for via a user interface a baseline time window, wherein the plurality of baseline results is generated responsive to the input from the user that specifies the value of the baseline time window.

### Claim 10 (depends on 1)

The method of claim 1, wherein generating one or more alerts comprises outputting the one or more alerts to at least one of an alert-distribution platform, a user interface, an alert report, or data storage.

### Claim 11

A system comprising:
at least one processor; and
one or more non-transitory computer readable storage media containing instructions executable by the at least one processor for causing the at least one processor to perform operations comprising:
applying a statistical function to a plurality of baseline results to select a particular baseline result of the plurality of baseline results, the particular baseline result that is selected representing a particular baseline set of one or more event records that is associated with a particular baseline time period of a plurality of baseline time periods;
determining an alert condition by performing operations comprising:
generating a modified baseline result based on the particular baseline result by multiplying the particular baseline result by a scaling factor; and
determining whether a subject result indicates the alert condition based on a comparison associated with the modified baseline result; and
generating one or more alerts in response to determining the alert condition.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise:
generating the plurality of baseline results of an aggregation operation performed with respect to a detection set of one or more attributes of event records in a database, each baseline result in the plurality of baseline results corresponding to a baseline set of one or more of the event records, each such baseline set corresponding to a baseline time period in the plurality of baseline time periods within a baseline time window, each such baseline time period having a first duration; and
determining a subject result of the aggregation operation performed with respect to the detection set of one or more attributes of a subject set of one or more event records in the database, the subject set corresponding to a subject time period having the first duration.

### Claim 13 (depends on 11)

The system of claim 11, wherein applying the statistical function comprises:
sorting the plurality of baseline results in a list; and
selecting from the list of the sorted plurality of baseline results the particular baseline result that is within a specified distance of a top of the list.

### Claim 14 (depends on 13)

The system of claim 13, wherein the specified distance is selected by a user via a user interface.

### Claim 15 (depends on 12)

The system of claim 12, wherein the plurality of baseline time periods does not constitute all of the baseline time periods within the baseline time window.

### Claim 16 (depends on 11)

The system of claim 11, wherein the plurality of baseline time periods does not include any time periods within a baseline time window having a zero count of instances corresponding to a detection set.

### Claim 17 (depends on 11)

The system of claim 11, wherein the operations further comprises identifying a collection of baseline results having values that transgress a threshold, wherein the statistical function is applied to the identified collection of baseline results.

### Claim 18 (depends on 11)

The system of claim 11, wherein the operations further comprises receiving a first-duration specification via a user interface, and responsively setting the first duration for an aggregation operation based at least in part on the received first-duration specification.

### Claim 19 (depends on 11)

The system of claim 11, wherein at least one of the plurality of baseline time periods overlaps with at least one other baseline time period of the plurality of baseline time periods.

### Claim 20

A computer-storage medium containing instructions executable by at least one processor for causing the at least one processor to perform operations comprising:
applying a statistical function to a plurality of baseline results to select a particular baseline result of the plurality of baseline results, the particular baseline result that is selected representing a particular baseline set of one or more event records that is associated with a particular baseline time period of a plurality of baseline time periods;
determining an alert condition by performing operations comprising:
generating a modified baseline result based on the particular baseline result by multiplying the particular baseline result by a scaling factor; and
determining whether a subject result indicates the alert condition based on a comparison associated with the modified baseline result; and
generating one or more alerts in response to determining the alert condition.

### Claim 21 (depends on 20)

The computer-storage medium of claim 20, wherein the statistical function comprises a percentile level N, the operations further comprising receiving input from a user that specifies a percentile-level indication via a user interface, and responsively setting the percentile level N for an aggregation operation based at least in part on the received percentile-level indication of the received input from the user.

### Claim 22 (depends on 20)

The computer-storage medium of claim 20, wherein the plurality of baseline time periods constitutes all of the baseline time periods within a baseline time window.

### Claim 23 (depends on 20)

The computer-storage medium of claim 20, wherein the plurality of baseline time periods does not constitute all of the baseline time periods within a baseline time window.

### Claim 24 (depends on 20)

The computer-storage medium of claim 20, wherein the plurality of baseline time periods does not include any time periods within a baseline time window having a zero count of instances corresponding to a detection set.

### Claim 25 (depends on 20)

The computer-storage medium of claim 20, wherein the operations further comprise receiving a detection-set specification via a user interface, and responsively setting the detection set for an aggregation operation based at least in part on the received detection-set specification.

### Claim 26 (depends on 20)

The computer-storage medium of claim 20, wherein the operations further comprise receiving a first-duration specification via a user interface, and responsively setting the first duration for an aggregation operation based at least in part on the received first-duration specification.

### Claim 27 (depends on 20)

The computer-storage medium of claim 20, wherein the operations further comprise receiving a time-window-duration specification via a user interface, and responsively setting a baseline time window for an aggregation operation based at least in part on the received time-window-duration specification.

### Claim 28 (depends on 20)

The computer-storage medium of claim 20, wherein generating the one or more alerts comprises outputting one or more alerts to one or more of an alert-distribution platform, a user interface, an alert report, and data storage.

### Claim 29 (depends on 20)

The computer-storage medium of claim 20, wherein the operations further comprise:
generating the plurality of baseline results of an aggregation operation performed with respect to a detection set of one or more attributes of event records in a database, each baseline result in the plurality of baseline results corresponding to a baseline set of one or more of the event records, each such baseline set corresponding to a baseline time period in the plurality of baseline time periods within a baseline time window, each such baseline time period having a first duration.

### Claim 30 (depends on 29)

The computer-storage medium of claim 29, wherein the operations further comprise:
determining a subject result of the aggregation operation performed with respect to the detection set of one or more attributes of a subject set of one or more event records in the database, the subject set corresponding to a subject time period having the first duration.
