A safe-by-design programming language for wireless sensor networks

被引:9
作者
Lopes, Luis [1 ,2 ]
Martins, Francisco [3 ,4 ]
机构
[1] Univ Porto, CRACS INESC TEC, Rua Campo Alegre 1021, P-4169007 Oporto, Portugal
[2] Univ Porto, Fac Ciencias, Rua Campo Alegre 1021, P-4169007 Oporto, Portugal
[3] Univ Lisbon, LASIGE, P-1749016 Lisbon, Portugal
[4] Univ Lisbon, Fac Ciencias, P-1749016 Lisbon, Portugal
关键词
Programming language; Compiler; Virtual machine; Type safety; Wireless sensor network; OPERATING SYSTEM; CALCULUS;
D O I
10.1016/j.sysarc.2016.01.004
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Wireless sensor networks are notoriously difficult to program and debug. This fact not only stems from the nature of the hardware, but also from the current approaches for developing programming languages and runtime systems for these platforms. In particular, current systems do not place enough stress on providing formal descriptions of the language and its runtime system, and on proving static properties, like type-safety and soundness. In this paper, we present the design, specification, and implementation of a programming language and a runtime system for wireless sensor networks that are safe by design. We say this in the sense that we can statically detect a large set of would-be runtime errors, and that the runtime system will not incorrectly execute an application, once the latter is deployed. We have a full prototype implementation of the system that supports SunSPOT devices, the simulation tool VisualSense, and local computer networks for fast deployment and testing of applications. Development is supported by an IDE implemented on top of the Eclipse tool that embeds both the compiler and the virtual machine seamlessly, and is used to produce software releases. (c) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:16 / 32
页数:17
相关论文
共 39 条
[1]   A survey on sensor networks [J].
Akyildiz, IF ;
Su, WL ;
Sankarasubramaniam, Y ;
Cayirci, E .
IEEE COMMUNICATIONS MAGAZINE, 2002, 40 (08) :102-114
[2]  
[Anonymous], 2004, WORKSHOP DATA MANAGE, DOI DOI 10.1145/1052199.1052213
[3]  
[Anonymous], 2001, ECLIPSE IDE
[4]  
[Anonymous], 2004, PROJECT SUN SPOT
[5]  
[Anonymous], 2008, THE CALLAS PROJECT
[6]  
[Anonymous], 2004, TINYOS DOCUMENTATION
[7]  
Bai LS, 2009, 2009 INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING IN SENSOR NETWORKS (IPSN 2009), P85
[8]  
Baldwin P, 2004, IPSN '04: THIRD INTERNATIONAL SYMPOSIUM ON INFORMATION PROCESSING IN SENSOR NETWORKS, P359
[9]   MANTIS OS: An embedded multithreaded operating system for wireless micro sensor platforms [J].
Bhatti, S ;
Carlson, J ;
Dai, H ;
Deng, J ;
Rose, J ;
Sheth, A ;
Shucker, B ;
Gruenwald, C ;
Torgerson, A ;
Han, R .
MOBILE NETWORKS & APPLICATIONS, 2005, 10 (04) :563-579
[10]   Design and implementation of a framework for efficient and programmable sensor networks [J].
Boulis, A ;
Han, CC ;
Srivastava, MB .
PROCEEDINGS OF MOBISYS 2003, 2003, :187-200