# US 8,578,041 B2 · Variable sampling rates for website visitation analysis

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

- Number: US 8,578,041 B2
- Document ID: US8578041B2
- Status: Granted
- Kind: B2
- Application number: 11/319,337
- Filed: 2005-12-27
- Published: 2006-12-07
- Granted: 2013-11-05
- Earliest claimed: 2005-06-03
- Assignees: Adobe Systems Incorporated
- Applicants: Christopher Reid Error
- Inventors: Christopher Reid Error
- Web page: https://patentgrep.com/patent/US8578041B2

## CPC

- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A data set containing website traffic data or other data is sampled according to a variable sample rate. A target number of samples per time period is established, and a baseline sample rate is determined. Data items in the data set are sampled according to the baseline sample rate, to obtain a sample set. For time periods where the size of the resulting sample set exceeds the target number of samples, a new sample rate is established and the data items for the time period are resampled. Appropriate sampling capability can thus be provided for website traffic in normal time periods, while maintaining capability for handling spikes and other variations in website traffic as may take place in response to certain periodic or non-periodic events.

## Claims

### Claim 1

A method for sampling a data set comprising a plurality of data items, comprising:
establishing a target number of sample items to be extracted from a plurality of data items corresponding to a time period;
establishing a tolerance factor;
establishing a target range using the target number and the tolerance factor;
establishing a first sampling rate for sampling the plurality of data items;
applying, by a computer, the first sampling rate to the plurality of data items corresponding to the time period to obtain a first sample set comprising a first plurality of sample items, wherein the first sample set is a subset of the plurality of data items;
determining, by the computer, a number of sample items contained in the first sample set; and
responsive to the number of sample items contained in the first sample set being substantially different from the target number for the time period falling outside the target range:
establishing a second sampling rate that is different from the first sampling rate; and
applying, by the computer, the second sample sampling rate to the plurality of data items to obtain a second sample set comprising a second plurality of sample items.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining a applying the second sampling rate to obtain the second sample set comprises applying the second sampling rate to the plurality of data items corresponding to the time period.

### Claim 3 (depends on 1)

The method of claim 1, wherein obtaining a applying the second sampling rate to obtain the second sample set comprises:
establishing a resampling rate based on the second sampling rate and the first sampling rate; and
applying the resampling rate to the first sample set.

### Claim 4 (depends on 3)

The method of claim 3, wherein establishing the resampling rate comprises dividing the second sampling rate by the first sampling rate.

### Claim 5 (depends on 1)

The method of claim 1, further comprising generating a report using at least one of the first and second sample sets.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of data items describe website visits.

### Claim 7 (depends on 6)

The method of claim 6, further comprising generating a website traffic report using at least one of the first and second sample sets.

### Claim 8 (depends on 1)

The method of claim 1, wherein the time period comprises a day.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
applying the first sampling rate to the plurality of data items corresponding to a second time period to obtain an third sample set comprising a third plurality of sample items; and
responsive to the third sample set containing an additional number of sample items for the second time period substantially different from the target number falling outside the target range, performing the steps of:
establishing a third sampling rate; and
obtaining a fourth sample set using the third sampling rate.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
applying the second sampling rate to the plurality of data items corresponding to a second time period to obtain a third sample set comprising a third plurality of sample items; and
responsive to the third sample set containing an additional number of sample items for the second time period substantially different from the target number falling outside the target range, performing the steps of:
establishing a third sampling rate; and
obtaining a fourth sample set using the third sampling rate.

### Claim 11 (depends on 1)

The method of claim 1, wherein establishing a target number the target range of sample items comprises establishing a target number the target range based on at least one selected from the group consisting of performance, traffic, load factors, storage space, and reporting needs.

### Claim 12 (depends on 1)

The method of claim 1, wherein establishing a target number the target range of sample items comprises receiving a target number the target range.

### Claim 13 (depends on 1)

The method of claim 1, wherein establishing the first sampling rate comprises establishing the first sampling rate based on the target number range of sample items for the time period and an expected number of data items for the time period.

### Claim 14 (depends on 1)

The method of claim 1, wherein establishing the first sampling rate comprises receiving the first sampling rate.

### Claim 15

A method for sampling a data set comprising a plurality of data items, each data item associated with a time period, comprising:
establishing a target number of sample items to be extracted from a plurality of data items corresponding to one or more time periods;
establishing a tolerance factor;
establishing a target range using the target number and the tolerance factor;
establishing a first sampling rate for sampling the plurality of data items;
for each of the one or more time periods:
applying, by a computer, the first sampling rate to the plurality of data items corresponding to the time period to obtain a first sample set comprising a first plurality of sample items for a given time period of the one or more time periods, wherein the first sample set is a subset of the plurality of data items corresponding to the particular given time period; and
determining, by the computer, a number of sample items contained in the first sample set;
responsive to the number of sample items contained in the first sample set for the time period being substantially different from the target number for the given time period falling outside the target range:
establishing a second sampling rate for the given time period, wherein the second sampling rate is different from the first sampling rate; and
applying, by the computer, the second sample sampling rate to the plurality of data items corresponding to the given time period to obtain a second sample set for the given time period using the second sampling rate, wherein the second sample set comprises a second plurality of sample items.

### Claim 16

A computer program product for sampling a data set comprising a plurality of data items, comprising:
a non-transitory computer-readable storage medium; and
computer program code, encoded on the non-transitory computer-readable storage medium, for:
establishing a target range of sample items to be extracted from a plurality of data items corresponding to a time period;
establishing a tolerance factor;
establishing a target range using the target number and the tolerance factor;
establishing a first sampling rate for sampling the plurality of data items;
applying the first sampling rate to the plurality of data items corresponding to the time period to obtain a first sample set comprising a first plurality of sample items, wherein the first sample set is a subset of the plurality of data items;
determining a number of sample items contained in the first sample set; and
responsive to the number of sample items contained in the first sample set being substantially different from the target number for the time period falling outside the target range:
establishing a second sampling rate that is different from the first sampling rate; and
applying the second sample sampling rate to the plurality of data items to obtain a second sample set comprising a second plurality of sample items.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the computer program code for obtaining a applying the second sampling rate to obtain the second sample set comprises computer program code for applying the second sampling rate to the plurality of data items corresponding to the time period.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein the computer program code for obtaining a applying the second sampling rate to obtain the second sample set comprises computer program code for:
establishing a resampling rate based on the second sampling rate and the first sampling rate; and
applying the resampling rate to the first sample set.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the computer program code for establishing the resampling rate comprises computer program code for dividing the second sampling rate by the first sampling rate.

### Claim 20 (depends on 16)

The computer program product of claim 16, further comprising computer program code for generating a report using at least one of the first and second sample sets.

### Claim 21 (depends on 16)

The computer program product of claim 16, wherein the plurality of data items describe website visits.

### Claim 22 (depends on 21)

The computer program product of claim 21, further comprising computer program code for generating a website traffic report using at least one of the first and second sample sets.

### Claim 23 (depends on 16)

The computer program product of claim 16, wherein the time period comprises a day.

### Claim 24 (depends on 16)

The computer program product of claim 16, further comprising computer program code for:
applying the first sampling rate to the plurality of data items corresponding to a second time period to obtain an third sample set comprising a third plurality of sample items; and
responsive to the third sample set containing an additional number of sample items for the second time period substantially different from the target number falling outside the target range:
establishing a third sampling rate; and
obtaining a fourth sample set using the third sampling rate.

### Claim 25 (depends on 16)

The computer program product of claim 16, further comprising computer program code for:
applying the second sampling rate to the plurality of data items corresponding to a second time period to obtain an third sample set comprising a third plurality of sample items; and
responsive to the third sample set containing an additional number of sample items for the second time period substantially different from the target number falling outside the target range:
establishing a third sampling rate; and
obtaining a fourth sample set using the third sampling rate.

### Claim 26 (depends on 16)

The computer program product of claim 16, wherein the computer program code for establishing a target number the target range of sample items comprises computer program code for establishing a target number the target range based on at least one selected from the group consisting of performance, traffic, load factors, storage space, and reporting needs.

### Claim 27 (depends on 16)

The computer program product of claim 16, wherein the computer program code for establishing a target number the target range of sample items comprises computer program code for receiving a target number the target range.

### Claim 28 (depends on 16)

The computer program product of claim 16, wherein the computer program code for establishing the first sampling rate comprises computer program code for establishing the first sampling rate based on the target number range of sample items for the time period and an expected number of data items for the time period.

### Claim 29 (depends on 16)

The computer program product of claim 16, wherein the computer program code for establishing the first sampling rate comprises computer program code for receiving the first sampling rate.

### Claim 30

A computer system for sampling a data set comprising a plurality of data items, comprising:
a processor configured to execute instructions embodied in a storage device and comprising a log processing module configured for:
establishing a target number of sample items to be extracted from a plurality of data items corresponding to a time period,
establishing a tolerance factor;
establishing a target range using the target number and the tolerance factor;
establishing a first sampling rate for sampling the plurality of data items;
applying the first sampling rate to the plurality of data items corresponding to the time period to obtain a first sample set comprising a first plurality of sample items, wherein the first sample set is a subset of the plurality of data items;
determining a number of sample items contained in the first sample set; and
responsive to the number of sample items contained in the first sample set being substantially different from the target number falling outside the target range:
establishing a second sampling rate that is different from the first sampling rate; and
applying the second sample sampling rate to the plurality of data items to obtain a second sample set comprising a second plurality of sample items; and
wherein the storage device is configured for storing at least one of the first and second sample sets.

### Claim 31 (depends on 30)

The system of claim 30, wherein the log processing module obtains a is configured for applying the second sampling rate to the plurality of data items to obtain the second sample set by applying the second sampling rate to the plurality of data items corresponding to the time period.

### Claim 32 (depends on 30)

The system of claim 30, wherein the log processing module obtains a is configured for applying the second sampling rate to the plurality of data items to obtain the second sample set by:
establishing a resampling rate based on the second sampling rate and the first sampling rate; and
applying the resampling rate to the first sample set.

### Claim 33 (depends on 32)

The system of claim 32, wherein the log processing module establishes a is configured for establishing the resampling rate by dividing the second sampling rate by the first sampling rate.

### Claim 34 (depends on 30)

The system of claim 30, further comprising a report generator module configured for generating a report using at least one of the first and second sample sets.

### Claim 35 (depends on 30)

The system of claim 30, wherein the plurality of data items describe website visits.

### Claim 36 (depends on 35)

The system of claim 35, further comprising a report generator, for generating a website traffic report using at least one of the first and second sample sets.

### Claim 37 (depends on 30)

The system of claim 30, wherein the time period comprises a day.

### Claim 38 (depends on 30)

The system of claim 30, wherein the log processing module is further configured for:
the log processing module applies applying the first sampling rate to the plurality of data items corresponding to a second time period to obtain an third sample set comprising a third plurality of sample items; and
responsive to the third sample set containing an additional number of sample items for the second time period substantially different from the target number, the log processing module falling outside the target range:
establishes establishing a third sampling rate; and
obtains obtaining a fourth sample set using the third sampling rate.

### Claim 39 (depends on 30)

The system of claim 30, wherein the log processing module is further configured for:
the log processing module applies applying the second sampling rate to the plurality of data items corresponding to a second time period to obtain an third sample set comprising a third plurality of sample items; and
responsive to the third sample set containing an additional number of sample items for the second time period substantially different from the target number, the log processing module falling outside the target range:
establishes establishing a third sampling rate; and
obtains obtaining a fourth sample set using the third sampling rate.

### Claim 40 (depends on 30)

The system of claim 30, wherein the log processing module establishes a target number is configured for establishing the target range of sample items by establishing a target number the target range based on at least one selected from the group consisting of performance, traffic, load factors, storage space, and reporting needs.

### Claim 41 (depends on 30)

The system of claim 30, wherein the log processing module establishes a target number is configured for establishing the target range of sample items by receiving a target number the target range.

### Claim 42 (depends on 30)

The system of claim 30, wherein the log processing module establishes a target number is configured for establishing the first sampling rate by establishing the first sampling rate based on the target number range of sample items for the time period and an expected number of data items for the time period.

### Claim 43 (depends on 30)

The system of claim 30, wherein the log processing module establishes a target number is configured for establishing the first sampling rate by receiving the first sampling rate.
