| Literature DB >> 22219664 |
Abstract
We propose novel algorithms for the timing correlation of streaming sensor data. The sensor data are assumed to have interval timestamps so that they can represent temporal uncertainties. The proposed algorithms can support efficient timing correlation for various timing predicates such as deadline, delay, and within. In addition to the classical techniques, lazy evaluation and result cache are utilized to improve the algorithm performance. The proposed algorithms are implemented and compared under various workloads.Entities:
Keywords: correlation; interval; lazy; sensor; timestamps
Mesh:
Year: 2010 PMID: 22219664 PMCID: PMC3247709 DOI: 10.3390/s100605329
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1.(a) The upper-bounds and the lower-bounds of satisfaction probabilities (b) Efficient filtering process using the bounds.
LazyTimingCorrelation(e, BaseStream)
| 1: | Insert |
| 2: | |
| 3: | call BlockTimingCorrelation(BaseStream) |
| 4: |
BlockTimingCorrelation(BaseStream)
| 1: | Sort the target stream buffer |
| 2: | |
| 3: | |
| 4: | |
| 5: | Compute |
| 6: | |
| 7: | AddResult( |
| 8: | |
| 9: | |
| 10: | Probe( |
| 11: | |
| 12: | |
| 13: | Sort the base stream buffer |
| 14: | Invalidate obsolete tuples in the base buffer by |
| 15: | Invalidate obsolete tuples in the target buffer by |
LazyWithLookup-newblock(BaseStream)
| 1: | Sort the target stream buffer |
| 2: | |
| 3: | |
| 4: | |
| 5: | Compute |
| 6: | |
| 7: | Add ( |
| 8: | |
| 9: | |
| 10: | |
| 11: | |
| 12: | Initialize look-up table ( |
| 13: | |
| 14: | Compute |
| 15: | |
| 16: | EfficientProbe( |
| 17: | |
| 18: | |
| 19: | Initialize look-up table ( |
| 20: | |
| 21: | Compute |
| 22: | |
| 23: | EfficientProbe( |
| 24: | |
| 25: | |
| 26: | Invalidate obsolete tuples in the base buffer by |
| 27: | Invalidate obsolete tuples in the target buffer by |
Figure 3.The execution times under various arrival rates.
Figure 4.The average response times under various arrival rates.
Figure 5.Average lengths of stream buffers.
Figure 6.The execution times under different correlation block sizes.
Figure 7.The hit ratio of the look-up table under different correlation block sizes.
Figure 8.The execution times under various confidence thresholds.
Figure 9.The interval timing correlation with high and low confidence thresholds.
EfficientProbe(e, e, d, ct, BaseStream)
| 1: | |
| 2: | |
| 3: | |
| 4: | Probe( |
| 5: | SetLookup(prob(|@ |
| 6: | |
| 7: | |
| 8: | Add ( |
| 9: | |
| 10: | Probe( |
| 11: | |
| 12: | |
| 13: | |
| 14: | Probe( |
| 15: | SetLookup(prob(|@ |
| 16: |
SimpleTimingCorrelation(e, BaseStream)
| 1: | |
| 2: | |
| 3: | Add ( |
| 4: | |
| 5: | Mark |
| 6: | |
| 7: | Remove the marked obsolete tuples in the target buffer. |
| 8: | Insert |
EagerTimingCorrelation(e, BaseStream)
| 1: | Compute |
| 2: | |
| 3: | Add ( |
| 4: | |
| 5: | |
| 6: | Probe( |
| 7: | |
| 8: | Invalidate obsolete tuples in the target buffer by |
| 9: | Insert |
Probe(e, e, d, ct)
| 1: | |
| 2: | Add ( |
| 3: |