IP Library Granted Patent US 7,325,013
Granted Patent B2
US 7,325,013 · App. 10/830,962 · Granted Jan 29, 2008

Database with efficient fuzzy matching

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 7,325,013
App. No.
10/830,962
Granted
Jan 29, 2008
Kind
B2
Abstract

A database includes a repository of data segments to be searched, called standard streams. But rather than searching all possible segments of each standard stream, the database includes a set of index files that reference a number of different segments in the repository. Each index file provides information about whether various data segments in the repository are likely to match a given test stream, although in the presence of noise there may be multiple possible matches. By consulting a number of the index files, a searching algorithm identifies a set of candidate data segments to test and thus reduces the number of streams that must be tested.

Claims (98)

1. A computer-implemented method for identifying a test stream by matching the test stream to a substream within a repository of standard streams,

wherein the test stream is obtained from a series of samples of an event or a content item, and a substream comprising at least a portion of a standard stream in the repository, the method comprising:

indexing a plurality of substreams according to a plurality of templates,

each template specifying a number of bit positions,

wherein a given template is associated with a plurality of buckets,

each bucket referencing a group of substreams that have the same values at the bit positions specified by the template;

for a plurality of buckets, marking the buckets, for which the bits in the test stream match the bits in the substreams of the Bucket at the bit positions specified by the template associated with the bucket;

identifying a candidate set of substreams based on the occurrence in the marked buckets of each substream;

testing the substreams of the candidate set to determine whether one or more of the substreams thatch the test stream within an error tolerance; and

presenting a result of the testing.

2. The method of claim 1 , wherein testing each of the substreams comprises:

determining a distance between the test stream and the substream; and

identifying the substream as a match if the distance is within the error tolerance.

3. The method of claim 2 , wherein the distance is computed based on a fraction of the corresponding bits in the test stream and the substream that are not the same, the error tolerance defined as a predetermined fraction of bits that are allowed to be different between the test stream and a matching substream.

4. The method of claim 1 , wherein each bucket references one or more substreams using an identifier of a standard stream in the repository and an offset within that standard stream for locating the substream within the standard stream.

5. The method of claim 1 , wherein each standard stream comprises a plurality of frames, each frame containing characteristic information related to a sample of an audio item.

6. The method of claim 1 , wherein the test stream comprises a plurality of frames, each frame having a number of bits describing characteristic information about a sampled audio item.

7. A computer-implemented method for identifying a test sequence by matching the test sequence to a substream within a repository of standard streams, wherein the test sequence is obtained from a series of samples of an event or a content item, a substream comprising at least a portion of a standard stream in the repository, the method comprising:

indexing a plurality of substreams according to a plurality of templates, each template specifying a number of bit positions, wherein a given template is associated with a plurality of buckets, each bucket referencing a group of substreams that have the same values at the bit positions specified by the template;

selecting a first subsequence of the test sequence, wherein the first subsequence has a length equal to a test length and the test sequence has a length greater than the test length;

searching the repository for the first subsequence by:

for a plurality of buckets marking the buckets for which the bits in the first subsequence match the bits in the substreams of the bucket at the bit positions specified by the template associated with the bucket,

identifying a candidate set of substreams based on the occurrence in the marked buckets of each substream, and

testing the sub streams of the candidate set to determine whether one or more of the substreams match the first subsequence within an error tolerance;

for any substreams that match the first subsequence within the error tolerance,

determining whether the test sequence matches a corresponding substream of the repository;

if the test sequence does not match any substreams in the repository,

selecting a second subsequence of the test sequence haying a length equal to the test length;

searching the repository for the second subsequence by:

for a plurality of buckets, marking the buckets for which the bits in the second subsequence match the bits in the substreams of the bucket at the bit positions specified by the template associated with the bucket;

identifying a candidate set of substreams based on the occurrence in the marked buckets of each substream, and

testing the substreams of the candidate set to determine whether one or more of the substreams match the second subsequence within an error tolerance;

for any substreams that math the second subsequence within the error tolerance,

determining whether the test sequence matches a corresponding substream of the repository; and

presenting a result of the testing.

8. A computer-implemented method for fuzzy matching a test stream to one or more standard streams in a repository,

wherein the test stream is obtained from a series of samples of an event or a content item, the test stream suspected of matching one or more substream portions of one or more standard streams in the repository within a given error tolerance, the method comprising:

searching a plurality of indexes for substreams in the repository,

each index including a template that defines a plurality of bit positions within a substream,

a set of buckets for which each bucket identifies a group of substreams that have the same bit values at the bit positions defined by the template, and

a set of keys for which each key is associated with a bucket and identifies the shared bit values at the bit positions defined by the template for the substream references referenced by the associated bucket,

wherein for each of a plurality of indexes the searching comprises:

computing an index value of the test stream, the index value comprising a bit string for which each bit in the bit stream is equal to the value of the bit in the test stream at a bit position specified by a template associate with the index, and

if a key in the index matches the index, value of the test stream, marking the bucket associated with the key;

identifying a candidate set of substreams based on the occurrence of each the substreams in marked buckets;

testing each of the substreams in the candidate set for a match with the test stream within the given error tolerance; and

presenting a result of the testing.

9. The method of claim 8 , wherein testing each of the substreams comprises:

determining a distance between the test stream and the substream; and

identifying the substream as a match if the distance is within the error tolerance.

10. The method of claim 9 , wherein the distance is computed based on a fraction of the corresponding bits in the test stream and the substream that are not the same, the error tolerance defined as a predetermined fraction of bits that are allowed to be different between the test stream and a matching substream.

11. The method of claim 8 , wherein each standard stream comprises a plurality of frames, each frame containing characteristic information related to a sample of an audio item.

12. The method of claim 8 , wherein the test stream comprises a plurality of frames, each frame having a number of bits describing characteristic information about a sampled audio item.

13. A computer program product for identifying a test stream by matching the test stream to a substream within a repository of standard streams,

wherein the test stream is obtained from a series of samples of an event or a content item, a substream comprising at least a portion of a standard stream in the repository, the computer program product comprising a computer-readable storage medium containing computer program code for performing the operations:

indexing a plurality of substreams according to a plurality of templates, each template specifying a number of bit positions,

wherein a given template is associated with a plurality of buckets, each bucket referencing a group of substreams that have the same values at the bit positions specified by the template;

for a plurality of buckets; marking the buckets for which the bits in the test stream match the bits in the substreams of the bucket at the bit positions specified by associated the template associated with the bucket;

identifying a candidate set of substreams based on the occurrence in the marked buckets of each substream; and

testing the substreams of the candidate set to determine whether one or more of the substreams match the test stream within an error tolerance; and

presenting a result of the testing.

14. The computer program product of claim 13 , wherein testing each of the substreams comprises:

determining a distance between the test stream and the substream; and

identifying the substream as a match if the distance is within the error tolerance.

15. The computer program product of claim 14 , wherein the distance is computed based on a fraction of the corresponding bits in the test stream and the substream that are not the same, the error tolerance defined as a predetermined fraction of bits that are allowed to be different between the test stream and a matching substream.

16. The computer program product of claim 13 , wherein each bucket references one or more substreams using an identifier of a standard stream in the repository and an offset within that standard stream for locating the substream within the standard stream.

17. The computer program product of claim 13 , wherein each standard stream comprises a plurality of frames, each frame containing characteristic information related to a sample of an audio item.

18. The computer program product of claim 13 , wherein the test stream comprises a plurality of frames, each frame having a number of bits describing characteristic information about a sampled audio item.

19. .A computer program product for fuzzy matching a test stream to one or more standard streams in a repository, wherein the test stream is obtained from a series of samples of an event or a content item, the test stream suspected of matching one or more substream portions of one &more standard streams in the repository within a given error tolerance, the′computer program product comprising a computer-readable storage medium containing computer program code for performing the operations:

searching a plurality of indexes for substreams in the repository,

each index including a template that defines a plurality of bit positions within a substream,

a set of buckets for which each bucket identifies a group of substreams that have the same bit values at the bit positions defined by the template, and

a set of keys for which each key is associated with a bucket and identifies the shared bit values at the bit positions defined by the template for the substream references referenced by the associated bucket, wherein for each of a plurality of indexes the searching comprises:

computing an index value of the test stream, the index value comprising a bit string for which each bit in the bit stream is equal to the value of the bit in the test stream at a bit position specified by a template associate with the index, and

if a key in the index matches the index value .of the test stream, marking the bucket associated with the key;

identifying a candidate set of substreams based on the occurrence of each the substreams in marked buckets;

testing each of the substreams in the candidate set for a match with the test stream within the given error tolerance; and

presenting a result of the testing.

20. The computer program product of claim 19 , wherein testing each of the substreams comprises:

determining a distance between the test stream and the substream; and

identifying the substream as a match if the distance is within the error tolerance.

21. The computer program product of claim 20 , wherein the distance is computed based on a fraction of the corresponding bits in the test stream and the substream that are not the same, the error tolerance defined as a predetermined fraction of bits that are allowed to be different between the test stream and a matching substream.

22. The computer program product of claim 19 , wherein each standard stream comprises a plurality of frames, each frame containing characteristic information related to a sample of an audio item.

23. The computer program product of claim 19 , wherein the test stream comprises a plurality of frames, each frame having a number of bits describing characteristic information about a sampled audio item.

24. A computer-implemented method for matching a test segment to one or more data items in a database, wherein the test segment is obtained from a series of samples of an event or a content item, the method comprising:

indexing a plurality of data segments by a plurality of templates,

each data segment comparable to a test segment and comprising a contiguous portion of a data item in the database, and

each template specifying a different set of locations within a segment;

for each of a plurality of templates, identifying any indexed data segments that match the test segment at the set of locations specified by the template;

identifying a candidate set of data segments based on the number of occurrences the data segments matched the test segment for each of a number of templates;

testing the data segments in the candidate set to determine whether one or more data segments match the test segment within an error tolerance; and

presenting a result of the testing.

25. The method of claim 24 , wherein each template specifies a plurality of bit positions in a segment.

26. The method of claim 24 , wherein testing each of the data segments comprises:

determining a distance between the test segment and the data segment; and

identifying the data segment as a match if the distance is within the error tolerance.

27. The method of claim 24 , wherein each data item comprises a plurality of frames, each frame containing characteristic information about sampled media content.

28. The method of claim 24 , wherein the test segment comprises a plurality of frames, each frame having a number of bits describing characteristic information about sampled media content.

Assignments (10)
ASSIGNMENT OF INTELLECTUAL PROPERTY SECURITY AGREEMENT Recorded Mar 24, 2023
From: CITIBANK, N.A., AS RESIGNING ADMINISTRATIVE AGENT
To: JPMORGAN CHASE BANK, N.A., AS THE SUCCESSOR ADMINISTRATIVE AGENT
Reel/Frame 063164/0557 →
NOTICE OF GRANT OF SECURITY INTEREST IN PATENTS Recorded Mar 3, 2021
From: ETSY, INC.
To: CITIBANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 055473/0912 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 2, 2020
From: FREEDOM TRAIL, SERIES 94 OF ALLIED SECURITY TRUST I
To: ETSY INC.
Reel/Frame 053110/0917 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 27, 2018
From: FUISZ VIDEO, INC.
To: FREEDOM TRAIL, SERIES 94 OF ALLIED SECURITY TRUST I
Reel/Frame 045055/0929 →
CHANGE OF NAME Recorded Feb 1, 2018
From: FUISZ MEDIA, INC.
To: FUISZ VIDEO, INC.
Reel/Frame 045234/0560 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 18, 2018
From: FUISZ INTERACTIVE LLC
To: FUISZ MEDIA, INC.
Reel/Frame 044659/0824 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 1, 2014
From: FUISZ INTERACTIVE MEDIA, LLC
To: FUISZ MEDIA, INC.
Reel/Frame 033219/0077 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 13, 2013
From: ID3MAN, INC.
To: FUISZ INTERACTIVE LLC
Reel/Frame 030400/0352 →
CHANGE OF NAME Recorded May 26, 2006
From: AUDITUDE.COM, INC.
To: ID3MAN, INC.
Reel/Frame 017703/0154 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2004
From: CARUSO, JEFFREY L.
To: AUDITUDE.COM, INC.
Reel/Frame 015100/0296 →