透過您的圖書館登入
IP:216.73.216.100
  • 學位論文

適用於感測器網路之輕量化Java虛擬機器

Barista: A Light-Weight Java Virtual Machine for Wireless Sensor Networks

指導教授 : 金仲達

摘要


無線感測器網路(WSN)常被用來偵測環境的變化,隨著環境因素的改變,我們會需要隨時更新無線感測器網路上所執行的應用程式。因此提供一個方便的更新程式的方法是有必要的。而無線感測器網路通常使用了數量龐大的感測器節點(sensor node),這使得要將感測器節點一個一個收回並更新其中的程式這件事情變得非常麻煩,因此我們需要一個省電、省資源的方法來達到更新程式的目的,且不需要將這些感測器節點收回。此外異質性無線感測器網路(heterogeneous WSN)使得處理這樣的問題更複雜了,因為不同種類的感測器節點可能會需要跑不同的程式。 本篇論文提出了一個專為無線感測器開發的輕量化(light-weight)Java虛擬機器(virtual machine)來解決程式可攜性(portability)與更新程式時的省電問題,該虛擬機器稱為Barista。我們的目標是要開發一個省電、省記憶體使用量與低度作業系統資源需求的Java虛擬機器。使用Barista,使用者可以用他們所熟悉的Java語言來開發無線感測器網路上的應用程式,且使得程式具有高度可攜性以及超小體積等優點。 最後我們在TinyOS上實作出了Barista,其結果顯示Barista可以跑在資源極有限的硬體上(32KB ROM and 1KB RAM),且感測器節點的壽命(life time)僅僅只會減少6%而已。

並列摘要


Abstract Wireless sensor networks (WSN) are usually used to monitor the environment. As the environment changes, we will need to change the task running on WSNs. Therefore, a concise way to reprogram each sensor node is required. Since WSNs typically contain a large amount of sensor nodes, it is difficult to retrieve them back and download new programs one by one. What is required is a power and resource efficient way of reprogramming the senor nodes in place. This is further complicated by the popularity of heterogeneous WSNs – different types of sensors require different code. To solve the problems of code portability and energy-efficient reprogramming, this thesis introduces “Barista”, a light-weight Java virtual machine developed for wireless sensors. The goal is to create a low power consumption, low memory usage and low OS resources Java virtual machine. With Barista, users can use their familiar Java language to program their WSN applications. The resultant code will be highly portable and small enough for efficient dissemination to the sensors. We have implemented Barista on TinyOS. The result shows that Barista can run on a resource limited device (32KB ROM and 1KB RAM) and the lifetime of the node is shortened by 6% only.

並列關鍵字

Barista JAVA WSN

參考文獻


[2] E. J. Duarte-Melo and M. Liu, “Analysis of energy consumption and lifetime of heterogeneous wireless sensor networks”, IEEE GLOBECOM 2002.
[3] J. Hahn, Q. Xie, and P. H. Chou, “Rappit: Framework for Synthesis of Host-Assisted Scripting Engines for Adaptive Embedded Systems”, In Proc. (CODES+ISSS), pages 315–320, September 2005.
[7] V. Shnayder, M. Hempstead, B. Chen, G. W. Allen and M. Welsh, “Simulating the Power Consumption of LargeScale Sensor Network Applications”, SenSys2004, 2004.
[8] Doug Simon, Cristina Cifuentes, Dave Cleal, John Daniels and Derek White, “Java(TM) on the Bare Metal of Wireless Sensor Devices -- The Squawk Java Virtual Machine”, VEE, Ottawa, July 2006
[9] T. Stathopoulos, J. Heidemann, and D. Estrin, “A remote code update mechanism for wireless sensor networks”, Technical report, UCLA, Los Angeles, CA, USA, 2003.

延伸閱讀