计算机应用 ›› 2010, Vol. 30 ›› Issue (05): 1153-1155.

• 网络与通信 • 上一篇    下一篇

无线传感器网络中位数查询抽样算法研究

刘彩苹1,李仁发2,付彬2,毛建频3   

  1. 1. 湖南大学计算机与通信学院
    2.
    3. 江西抚州职业技术学院 信息工程系
  • 收稿日期:2009-11-18 修回日期:2010-01-04 发布日期:2010-05-04 出版日期:2010-05-01
  • 通讯作者: 刘彩苹
  • 基金资助:
    国家自然科学基金资助项目;高等学校博士点基金资助项目;湖南省自然科学基金资助项目

Research on sampling algorithm for median query based on wireless sensor network

  • Received:2009-11-18 Revised:2010-01-04 Online:2010-05-04 Published:2010-05-01

摘要: 提出一种基于无线传感器网络的中位数查询抽样算法SAMQ。在SAMQ中,网络中各节点将分布式产生各自的样本集,然后将样本集聚集传递后汇集到根节点形成全网的样本集,最后使用这个远小于全网数据集规模的、可用于代表全网数据集结构的样本集,迅速获得中位数查询的近似结果,从而无需将各传感器节点的所有数据都传输至根节点,同时采用了共享无线通道的方式进行通信,减少了网络数据丢包。理论分析和实验结果显示该算法功耗低、误差较小,能有效地延长网络的生命周期。

关键词: 无线传感器网络, 中位数查询, 抽样算法, 聚集算法

Abstract: A Sampling Algorithm for Median Query (SAMQ) based on Wireless Sensor Network (WSN) was proposed. In SAMQ, each node in WSN created a fresh sample summarizing its own observed values and the received values from children nodes, and then broadcasted its subsequence to the parents. Finally, these samples were combined to a single sample in the root node whose data structure was far smaller than the size of the whole data set. The approximate value for median query could be obtained from the sample quickly. A shared channel was used to reduce packet loss. Analytical and experimental results show that the proposed algorithm has the advantages of low power consumption, small error range, and is able to significantly prolong network lifetime.

Key words: Wireless Sensor Network (WSN), median query, sampling algorithm, aggregate algorithm