【24h】

A Compilation Framework for Macroprogramming Networked Sensors

机译:用于对网络传感器进行宏编程的编译框架

获取原文
获取原文并翻译 | 示例

摘要

Macroprogramming-the technique of specifying the behavior of the system, as opposed to the constituent nodes-provides application developers with high level abstractions that alleviate the programming burden in developing wireless sensor network (WSN) applications. However, as the semantic gap between macroprogramming abstractions and node-level code is considerably wider than in traditional programming, converting the high level specification to running code is a daunting process, and a major hurdle to the acceptance of macroprogramming. In this paper, we propose a general compilation framework for a data-driven macroprogramming language that allows for plugging in different modules implementing various stages of compilation. We also demonstrate an actual instantiation of our framework by showing an end-to-end solution for compiling macro-programs. Our compiler provides the final code to be deployed on real nodes as well as an estimate of the costs the running system will incur, e.g., in terms of messages exchanged. We compared the auto-generated code against a hand-coded version for the same application behavior to verify the outcome of our compiler.
机译:宏编程(一种指定系统行为的技术,而不是组成节点)为应用程序开发人员提供了高级抽象,从而减轻了开发无线传感器网络(WSN)应用程序时的编程负担。但是,由于宏编程抽象和节点级代码之间的语义鸿沟比传统编程要大得多,因此,将高级规范转换为正在运行的代码是一个艰巨的过程,并且是接受宏编程的主要障碍。在本文中,我们为数据驱动的宏编程语言提出了一个通用的编译框架,该框架允许插入实现各个编译阶段的不同模块。通过显示用于编译宏程序的端到端解决方案,我们还演示了我们框架的实际实例。我们的编译器提供了将要部署在实际节点上的最终代码,以及运行系统将产生的成本估算(例如,根据消息交换)。对于相同的应用程序行为,我们将自动生成的代码与手动编码的版本进行了比较,以验证编译器的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号