计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (19): 260-272.DOI: 10.3778/j.issn.1002-8331.2406-0209

• 网络、通信与安全 • 上一篇    下一篇

通信高效的分布式阈值监控算法设计与分析

严欣愉,黄增峰   

  1. 复旦大学 大数据学院,上海 200433
  • 出版日期:2025-10-01 发布日期:2025-09-30

Design and Analysis of Communication-Efficient Distributed Threshold Tracking Algorithm

YAN Xinyu, HUANG Zengfeng   

  1. School of Data Science, Fudan University, Shanghai 200433, China
  • Online:2025-10-01 Published:2025-09-30

摘要: 分布式阈值监控问题主要关注如何在多个传感器与一个中枢处理器之间高效地监控某个事件的累积数量是否超过了预设的阈值。现有的分布式阈值监控算法多以最小化通信次数为目标,这一指标虽然易于计算和优化,但并不能全面反映通信的真实代价。相比之下,通信的总比特数是一个更为精确的衡量标准。针对具有预设概率分布的分布式阈值监控问题,提出一种新的分布式监控算法(bits-based distributed tracking algorithm,BBDTA)。该算法以最小化通信比特数为目标,通过轮次统计、间隔汇报、询问与估计等机制,有效避免了传输大数值所带来的通信开销。该算法的通信代价在理论上得到证明,并与现有算法的理论值进行了比较,显示出其在通信效率上的提升。在均匀分布的条件下,该算法可以通过进一步的优化大幅降低通信代价。为验证算法BBDTA的性能,在多种实验条件下比较了BBDTA与其余四种常见的分布式监控算法,结果表明,该算法在多数场景中具有明显优势,验证了其在分布式监控问题中的实用性和高效性。

关键词: 随机算法, 抽样, 分布式监控, 数据流, 数值监控

Abstract: The distributed threshold tracking problem focuses on efficiently monitoring whether the cumulative count of a particular event across multiple sensors exceeds a preset threshold. Current algorithms aim to minimize the number of communications, an easily computable metric, but this does not fully reflect the true cost. A more accurate measure is the total number of bits communicated. This paper introduces the bits-based distributed tracking algorithm (BBDTA), which minimizes communication bits using round statistics, interval reporting, inquiries, and estimations. Theoretical analysis demonstrates the communication cost of the BBDTA, showing its enhanced efficiency compared to existing algorithms. Under a uniform distribution, the algorithm can be further optimized to reduce costs. Experimental comparisons with four common algorithms reveal that the BBDTA has a distinct advantage in most scenarios, validating its practicality and efficiency.

Key words: random algorithm, sampling, distributed tracking, data streams, functional monitoring