Wiselib:一个异构传感器网络的通用算法库
Wiselib: A Generic Algorithm Library for Heterogeneous Sensor Networks
摘要:
无线传感器网络(WSNs)在不同的研究社区的成功故事的一个不幸的后果是理论和实践之间不断增长的差距。尽管有越来越多的无线传感器网络的算法方法,绝大多数从来没有在实践中尝试过,相反,许多实际的挑战仍然等待有效的算法解决方案。这种差异的主要原因是传感器节点的编程仍然发生在非常技术的层面上。我们通过引入Wiselib来补救这种情况,Wiselib是我们的算法库,它允许将算法简单地实现到各种硬件和软件上。这是通过采用高级C++技术(如模板和内联函数)来实现的,允许编写在编译时解析和绑定的泛型代码,从而在运行时间几乎没有内存或计算开销。Wiselib运行在不同的主机操作系统上,例如Contiki、iSense OS和ScatterWeb。此外,它运行在Shawn模拟的虚拟节点上。对于任何算法,Wiselib都提供适合目标平台特定属性的数据结构。算法代码不包含任何特定于平台的专门化,允许单个实现在异构网络上本机运行。在本文中,我们描述了Wiselib的构建模块,并分析了开销。我们证明了我们的方法的有效性,通过展示如何路由算法可以实现。我们还报告与真正的传感器节点硬件的实验结果。
英文摘要:
One unfortunate consequence of the success story of wireless sensor networks (WSNs) in separate research communities is an ever-growing gap between theory and practice. Even though there is a increasing number of algorithmic methods for WSNs, the vast majority has never been tried in practice; conversely, many practical challenges are still awaiting efficient algorithmic solutions. The main cause for this discrepancy is the fact that programming sensor nodes still happens at a very technical level. We remedy the situation by introducing Wiselib, our algorithm library that allows for simple implementations of algorithms onto a large variety of hardware and software. This is achieved by employing advanced C++ techniques such as templates and inline functions, allowing to write generic code that is resolved and bound at compile time, resulting in virtually no memory or computation overhead at run time. The Wiselib runs on different host operating systems, such as Contiki, iSense OS, and ScatterWeb. Furthermore, it runs on virtual nodes simulated by Shawn. For any algorithm, the Wiselib provides data structures that suit the specific properties of the target platform. Algorithm code does not contain any platform-specific specializations, allowing a single implementation to run natively on heterogeneous networks. In this paper, we describe the building blocks of the Wiselib, and analyze the overhead. We demonstrate the effectiveness of our approach by showing how routing algorithms can be implemented. We also report on results from experiments with real sensor-node hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。