Sign up & Download
Sign in

Region streams: Functional macroprogramming for sensor networks

by Ryan Newton, Matt Welsh
Proceeedings of the 1st international workshop on Data management for sensor networks in conjunction with VLDB 2004 (2004)

Abstract

Sensor networks present a number of novel programming challenges for application developers. Their inherent limitations of computational power, communication bandwidth, and energy demand new approaches to programming that shield the developer from low-level details of resource management, concurrency, and in-network processing. We argue that sensor networks should be programmed at the global level, allowing the compiler to automatically generate nodal behaviors from a high-level specification of the network's global behavior.This paper presents the design of a functional macroprogramming language for sensor networks, called Regiment. The essential data model in Regiment is based on region streams, which represent spatially distributed, time-varying collections of node state. A region stream might represent the set of sensor values across all nodes in an area or the aggregation of sensor values within that area. Regiment is a purely functional language, which gives the compiler considerable leeway in terms of realizing region stream operations across sensor nodes and exploiting redundancy within the network.We describe the initial design and implementation of Regiment, including a compiler that transforms a macroprogram into an efficient nodal program based on a token machine. We present a progresssion of simple programs that illustrate the power of Regiment to succinctly represent robust, adaptive sensor network applications.

Cite this document (BETA)

Available from portal.acm.org
Page 1
hidden

Region streams: Functional macroprogramming for sensor networks

78
Page 2
hidden
79

Sign up today - FREE

Mendeley saves you time finding and organizing research. Learn more

  • All your research in one place
  • Add and import papers easily
  • Access it anywhere, anytime

Start using Mendeley in seconds!

Already have an account? Sign in

Readership Statistics

18 Readers on Mendeley
by Discipline
 
 
 
by Academic Status
 
56% Ph.D. Student
 
11% Other Professional
 
11% Researcher (at an Academic Institution)
by Country
 
56% United States
 
11% Germany
 
6% Switzerland

Groups

pool