Continuous Query for Top-K Maximal Sum Intervals over Streaming Data
Zhongshuai Zhang, Xiaochun Yang, Baihua Zheng, Rui Zhu, Haomin Li, Bin Wang
Abstract
The continuous identification of top- maximal sum intervals using a sliding window over a data stream is a critical operation for applications in IoT and beyond. A maximal sum interval is a non-overlapping, contiguous subsequence with the maximal sum in a sequence of signed values. Existing algorithms are ill-suited for streaming contexts: they either exhaustively enumerate all intervals even for small values, or depend on indexes that require frequent and costly restructuring. We propose a novel partition-based strategy. Our core insight is a partitioning scheme that guarantees that any maximal sum interval is fully contained within a single partition, enabling independent and parallel processing. This design provides two key advantages: it enables safe pruning of partitions that cannot contribute to top- results, drastically narrowing the search space, and it enables efficient, incremental maintenance of the maximal sum intervals in each partition. We develop algorithms for partition construction, incremental partition updates, and partition-based top- maximal sum interval search. Extensive experiments on real and synthetic datasets demonstrate that our approach significantly improves efficiency.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on2
Related papers
- Multiple Continuous Top-K Queries Over Data StreamRui Zhu, Yujin Jia, Xiaochun Yang, Baihua Zheng et al.ICDE 2024 · 5 citations
- Improved Sliding Window Algorithms for Clustering and Coverage via Bucketing-Based SketchesAlessandro Epasto, Mohammad Mahdian, Vahab S. Mirrokni, Peilin ZhongSODA 2022 · 6 citations
- DISC: Density-Based Incremental Clustering by Striding over Streaming DataBogyeong Kim, Kyoseung Koo, Juhun Kim, Bongki MoonICDE 2021 · 12 citations
- Efficient Incremental Computation of Aggregations over Sliding WindowsChao Zhang, Reza Akbarinia, Farouk ToumaniKDD 2021 · 11 citations
- BCCE: Block-Centric GPU Co-Design for Real-Time Range-Top-K Query at ScaleChengying Huan, Ziheng Meng, Zhengyi Yang, Yongchao Liu et al.HPDC 2026
