Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/46676
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor郭斯彥(Sy-Yen Kuo)
dc.contributor.authorWei-Cheng Wangen
dc.contributor.author王維成zh_TW
dc.date.accessioned2021-06-15T05:22:37Z-
dc.date.available2012-07-21
dc.date.copyright2010-07-21
dc.date.issued2010
dc.date.submitted2010-07-19
dc.identifier.citation1. Chih-Chieh Han, Ram Kumar, Roy Shea, and Mani Srivastava. Sensor Network Software Update Management. Intl. Journal of Network Management, no. 15. John Wiley & Sons.
2. James W. Hunt and M. Douglas McIlroy (June 1976). An Algorithm for Differential File Comparison. Computing Science Technical Report, Bell Laboratories 41.
3. Tridgell, A. and Mackerras, P. 1996. The rsync algorithm. Tech. Rep. TR-CS-96-05, Canberra 0200 ACT, Australia. http://samba.anu.edu.au/rsync/.
4. C. Intanagonwiwat, R. Govindan, and D. Estrin. Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks. In Proc. of the Sixth Annual International Conference on Mobile Computing and Networking (MobiCOM 2000), August 2000, Boston, Massachussetts.
5. Crossbow Technology Inc. (XNP) Mote In-Network Programming User Reference, 2003. http://www.xbow.com.
6. T. Stathopoulos, J. Heidemann, and D. Estrin. (MOAP) A remote code update mechanism for wireless sensor networks. Technical report, UCLA, Los Angeles, CA, USA, 2003.
7. N. Reijers, and K. Langendoen. Efficient Code Distribution in Wireless Sensor Networks. In Proc. 2nd ACM international conference on Wireless sensor networks and applications (WSNA 2003), pages 60-67, 2003.
8. J. Jeong and D. Culler. Incremental Network Programming for Wireless Sensors. In Proc. of Sensor and Ad-Hoc Communications and Networks (SECON 2004), 2004.
9. J. Koshy, and R. Pandey. Remote Incremental Linking for Energy-Efficient Reprogramming of Sensor Networks. In Proc. of the second European Workshop on Wireless Sensor Networks, pages 354–365, Jan. 2005.
10. A. Dunkels , N. Finne , J. Eriksson , T. Voigt. Run-time dynamic linking for reprogramming wireless sensor networks. In Proc. of the 4th international conference on Embedded networked sensor systems (SenSys 2006), October 31-November 03, 2006.
11. M. Mukhtar, B.W. Kim, B.S. Kim, S.S. Joo. An Efficient Remote Code Update Mechanism for Wireless Sensor. In Proc. of Military Communications Conference (MILCON 2009), 2009.
12. D. Gay, P. Levis, R.V. Behren, M. Welsh, E. Brewer, and D. Culler. The nesC Language: A Holistic Approach to Networked Embedded Systems. In Proc. of Programming Language Design and Implementation (PLDI 2003), June 2003.
13. P. Levis, D. Culler. Maté a tiny virtual machine for sensor networks. In Proc. of the 10th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS X), 2002.
14. H. Abrach, S. Bhatti, J. Carlson, H. Dai, J. Rose, A. Sheth, B. Shucker, J. Deng, and R. Han. MANTIS: system support for MultimodAl NeTworks of In-Situ sensors. In Proc. Mobile Networks and Applications (WSNA 2003), 2003.
15. A. Dunkels, B. Gronvall, and T. Voigt. Contiki - a Lightweight and Flexible Operating System for Tiny Networked. In Proc. of the 29th Annual IEEE International Conference on Local Computer Networks (LCN 2004), Pages: 455 - 462, 2004.
16. O. Gnawali , K.Y. Jang , J. Paek , M. Vieira , R. Govindan , B. Greenstein , A. Joki , D. Estrin , E. Kohler. The Tenet architecture for tiered sensor networks. In Proc. of the 4th international conference on Embedded networked sensor systems (SenSys 2006), October 31-November 03, 2006.
17. Y. Chen, O. Gnawali, M. Kazandjieva, P. Levis, and J. Regehr. (Neutron) Surviving sensor network software faults. In Proc. of the ACM SIGOPS 22nd symposium on Operating systems principles (SOSP 2009), 2009.
18. A. Adya, J. Howell, M. Theimer, W.J. Bolosky, and J.R. Douceur. Cooperative Task Management Without Manual Stack Management. In Proc. of the General Track of the annual conference on USENIX Annual Technical Conference (USENIX 2002), 2002.
19. Dunkels , O. Schmidt , T. Voigt , M. Ali. Protothreads: simplifying event-driven programming of memory-constrained embedded systems. In Proc. of the 4th international conference on Embedded networked sensor systems, October 31-November 03, 2006.
20. K. Klues, C.J. M. Liang, J. Paek, Musaloiu-E, P. Levis, A. Terzis, R. Govindan. TOSThreads: Thread-Safe and Non-Invasive Preemption in TinyOS. In Proc. of the 7th international conference on Embedded networked sensor systems (SenSys 2009), 2009.
21. Robert W. Sebesta (2003). Concepts of Programming Languages, Sixth Edition. Addison Wesley.
22. Gamma, Erich; Richard Helm, Ralph Johnson, John M. Vlissides (1995). Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley. pp. 395. ISBN 0-201-63361-2.
23. IAR Systems. http://www.iar.com/
24. Eric Steven Raymond. Art of UNIX Programming, The. Addison-Welsey. pp. 560. ISBN 0131429019.
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/46676-
dc.description.abstract無線感測網路是由許多便宜、微小、自治的裝置組成,他們常用於監測環境況狀,並彼此交換通訊資訊。在將他們佈建之後,仍有可能需要更新上面的程式,例如為了修正程式錯誤、需求修改,或是其他的維護。因為在無線感測網路下軟硬體或環境較為受限,在無線感測網路上的軟體更新成為一項挑戰與議題。
在先前的研究,軟體更新後往往需要將裝置重新啟動。然而,重新啟動的成本所費不貲,因為裝置運行所有蒐集與建立的珍貴資料都會遺失。例如需要時間重新與其他裝置同步,或是需要額外的網路頻寬來重新路由表。
這篇提出了uFlow,他是一個程式範式和他的簡單的原型實作。uFlow可以讓程式在更新後,直接套用新的程式,而不需要重新啟動裝置,因此得以保留資料。uFlow執行時,大約會有88時脈週期的額外負擔,只發生在工作切換時。而原型引擎大約需要420位元組用於執行迴圈與核心功能,而TinyOS-1.x的執行核心則大約需要400位元組。
zh_TW
dc.description.abstractA wireless sensor network consists a number of small, cheap and autonomous devices communicating with each other for monitoring environment conditions. After the deployment, there is still a need for updating the software in the nodes due to bug fixes, requirement changes, or other maintenance reasons. Software updating in wireless sensor networks has became a challenge because of the constrained hardware resources and environment.
In previous works, the node is required to reboot after software update. However, reboot is costly since the previous runtime status is lost. It needs time and bandwidth to synchronize with other nodes or rebuild routing table.
The thesis presents uFlow, a programming paradigm and a prototype implementation for wireless sensor networks. uFlow allows application to update without rebooting the node therefore preserving precious runtime states. The execution overhead is around 88 clock cycles, which is slightly larger than TinOS, but fortunately the overhead only occurs when task transitions. The prototype implementation is about 420 bytes for task loop and core helper APIs and 146 bytes for helper APIs used to facilitate the dynamic update, while TinyOS-1.x costs around 400bytes.
en
dc.description.provenanceMade available in DSpace on 2021-06-15T05:22:37Z (GMT). No. of bitstreams: 1
ntu-99-R97921067-1.pdf: 557513 bytes, checksum: d95b637386454fe932cd90da7b69af03 (MD5)
Previous issue date: 2010
en
dc.description.tableofcontents口試委員會審定書 i
Acknowledgements iii
中文摘要 v
Abstract vii
Contents ix
List of Figures xi
List of Tables xiii
Chapter 1 Introduction 1
1.1 Motivation 1
1.2 Overview 2
1.3 Contribution 2
1.4 Organization 2
Chapter 2 Related Works 5
2.1 Dissemination 6
2.1.1 Directed Diffusion 7
2.1.2 MOAP 8
2.2 Traffic Reduction 8
2.2.1 diff 9
2.2.2 Revised Diff 12
2.2.3 Slop Space 14
2.3 Execution Environment 17
2.3.1 Task Management 17
2.3.2 Virtual Machine 19
2.3.3 Cost of Reboots 20
2.3.4 Data-driven, or Dynamic, Programming 21
Chapter 3 System Design 23
3.1 Overview 23
3.1.1 Why uFlow Matters 23
3.1.2 What is uFlow 26
3.2 System Design 27
3.3 Tasks in uFlow 28
3.4 Control Flow in uFlow 30
3.4.1 Sequence Execution 31
3.4.2 Conditional Branch 32
3.4.3 While Loop 33
3.4.4 Hierarchized Structure 33
3.5 Context Stack 35
3.6 Parameter Passing in uFlow 37
3.7 Execute uFlow Programs 39
3.8 Dynamic Replacement 41
3.8.1 Altering Simple Task Implementation 42
3.8.2 Inserting, Removing or Replacing Child Tasks 43
3.8.3 Changing Transition Rule 44
Chapter 4 Prototype and Results 45
4.1 Prototype Implementation 45
4.1.1 uFlow Data Structures 45
4.1.2 uFlow Application Programming Interfaces 49
4.1.3 Engine Task Loop 53
4.2 Example Program 56
4.3 Results 59
4.3.1 Engine Code Size 59
4.3.2 uFlow Program Size 60
4.3.3 Execution Overheads 62
Chapter 5 Conclusion 65
5.1 Future Work 66
References 69
dc.language.isoen
dc.subject軟體更新zh_TW
dc.subject無線感測網路zh_TW
dc.subjectuflowen
dc.subjectsoftware updateen
dc.subjecttinyosen
dc.subjectsensor networken
dc.title無線感測網路之動態軟體更新zh_TW
dc.titleDynamic Software Updating in Wireless Sensor Networksen
dc.typeThesis
dc.date.schoolyear98-2
dc.description.degree碩士
dc.contributor.oralexamcommittee雷欽隆,顏嗣鈞,呂毓榮,陳俊良
dc.subject.keyword無線感測網路,軟體更新,zh_TW
dc.subject.keywordsensor network,software update,uflow,tinyos,en
dc.relation.page73
dc.rights.note有償授權
dc.date.accepted2010-07-19
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept電機工程學研究所zh_TW
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-99-1.pdf
  未授權公開取用
544.45 kBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved