无线传感网络由于分布的跨区域性,随着无线传感网络的扩张,如何高效组织存储这些跨区域的大规模的传感数据是近年来研究的热点和难点。根据大规模传感器数量大、分布广的特点,设计使用分层次的分布式存储方案。Hadoop的HBase是一个分布式的数据库,提供实时读写、随即访问、高可扩展性和高可用性的存储服务。使用HBase构建两层存储架构,分别存放区域内传感器数据和传感器数据的元数据。实验表明,该系统有良好的扩展性、存储和查询效率,能够满足大规模传感器数据的存储问题。
Wireless Sensor Networks which spread widely, and with the expansion of WSNs make it dltllcuit tO store me collecting massive data. Considering large number of sensors which is large number and widespread, this paper designs layered distributed storage solution, Hbase, which is a project of Hadoop, is a distributed database, providing real-time read/write random-access large-scale data sets, high scalable and high available storing service. This paper will describe how to store the massive data by two layer storage architecture to store sensor data from different regions and meta data of those sensors. Experiments show that this system with high scalability, storage and query efficiency can solve the massive sensor data storage.