IP Library Granted Patent US 8,908,554
Granted Patent B2
US 8,908,554 · App. 13/755,621 · Granted Dec 9, 2014

Computing time-decayed aggregates in data streams

Inventors: Graham Cormode (Morristown, NJ); Philip Korn (New York, NY); Srikanta Tirthapura (Ames, IA)
Assignees: AT&T Intellectual Property I, L.P.; Iowa State University Research Foundation, Inc.
H04L43/08H04L43/00H04L12/2602H04L43/106
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,908,554
App. No.
13/755,621
Granted
Dec 9, 2014
Kind
B2
Abstract

Aggregates are calculated from a data stream in which data is sent in a sequence of tuples, in which each tuple comprises an item identifier and a timestamp indicating when the tuple was transmitted. The tuples may arrive out-of-order, that is, the sequence in which the tuples arrive are not necessarily in the sequence of their corresponding timestamps. In calculating aggregates, more recent data may be given more weight by multiplying each tuple by a decay function which is a function of the timestamp associated with the tuple and the current time. The tuples are recorded in a quantile-digest data structure. Aggregates are calculated from the data stored in the quantile-digest data structure.

Claims (17)

1. An apparatus comprising:

a processor; and

a memory to store computer program instructions for calculating a time-decayed aggregate from a data stream comprising a sequence of tuples, each tuple comprising an item identifier and an associated timestamp, the computer program instructions when executed on the processor cause the processor to perform operations comprising:

generating a time-dependent weighted sequence of tuples by multiplying each tuple of the sequence of tuples by a time-dependent weighting factor calculated from a decay function, wherein the decay function is a function of the timestamp associated with the tuple and a current time;

generating a quantile-digest data structure from the time-dependent weighted sequence of tuples;

updating the quantile-digest data structure with the time-dependent weighted sequence of tuples; and,

calculating the time-decayed aggregate from the updated quantile-digest data structure.

2. The apparatus of claim 1 , wherein the quantile-digest data structure comprises a set of quantile-digests.

3. The apparatus of claim 1 , wherein the operations further comprise compressing the quantile-digest data structure.

4. The apparatus of claim 1 , wherein the decay function is a sliding-window function.

5. The apparatus of claim 1 , wherein the decay function is an exponential decay function.

6. The apparatus of claim 1 , wherein the decay function is a polynomial decay function.

7. The apparatus of claim 1 , wherein the time-decayed aggregate is a time-decayed user-defined aggregate function.

8. The apparatus of claim 1 , wherein the time-decayed aggregate is a time-decayed count.

9. The apparatus of claim 1 , wherein the time-decayed aggregate is a time-decayed range.

10. The apparatus of claim 1 , wherein the time-decayed aggregate is a time-decayed quantile.

11. The apparatus of claim 1 , wherein the time-decayed aggregate is a time-decayed heavy hitter.

Assignments (4)
CONFIRMATORY LICENSE Recorded Aug 7, 2014
From: IOWA STATE UNIVERSITY
To: NATIONAL SCIENCE FOUNDATION
Reel/Frame 033484/0591 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 31, 2013
From: TIRTHAPURA, SRIKANTA
To: IOWA STATE UNIVERSITY RESEARCH FOUNDATION, INC.
Reel/Frame 029732/0283 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 31, 2013
From: CORMODE, GRAHAM; KORN, PHILIP
To: AT&T LABS, INC.
Reel/Frame 029733/0128 →
NUNC PRO TUNC ASSIGNMENT Recorded Jan 31, 2013
From: AT&T LABS, INC.
To: AT&T INTELLECTUAL PROPERTY I, L.P.
Reel/Frame 029733/0762 →
Continuity (2)
Continuation 12006338 · Jan 2, 2008
Related Publication 20130155892A1 · Jun 20, 2013