| 研究生: |
蘇聖夫 Su, Sheng-Fu |
|---|---|
| 論文名稱: |
在Linux系統中設計並實作ZigBee無線網路協定層 The Design and Implementation of the ZigBee Protocol Driver in Linux |
| 指導教授: |
鄭憲宗
Cheng, Sheng-Tzong |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 資訊工程學系 Department of Computer Science and Information Engineering |
| 論文出版年: | 2005 |
| 畢業學年度: | 93 |
| 語文別: | 中文 |
| 論文頁數: | 67 |
| 中文關鍵詞: | 網路協定 、無線網路 、Linux網路協定層 |
| 外文關鍵詞: | IEEE 802.15.4, ZigBee, Wireless Network, Linux |
| 相關次數: | 點閱:98 下載:5 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著高速有線網路與無線網路的快速發展,人們在追求高速網路的同時,低耗電且低速的無線網路形態也漸漸的被發現其必要性。ZigBee無線通訊協定與IEEE 802.15.4 無線個人網路協定正是在這背景下誕生,IEEE 802.15.4是無線個人區域網路(WPAN)的一個分支,主要著重在低耗電與低複雜度,低傳輸速率與短距傳輸正是前兩項設計需求所造成的規格限制,低價雖然目前還談不上,未來或許大量生產以後才能有效壓低網路設備的價格。ZigBee則是基於IEEE 802.15.4所發展的無線感測控制網路架構,主要可用於家庭電器控制、大型建築自動化與植物生長環境監控等。
Linux是近來廣受企業採用的作業系統,從TOP500的超級電腦到IBM Linux手錶都可看到它的蹤跡,並以開放原始碼的主力OS大將著稱。它可算是地球上已知最大型的協同開發計畫,全球每星期有上萬人對Linux的發展提供自己的貢獻,雖然大部分的開發者都是利用自己的閒暇時間來設計Linux程式,其成果卻一點都不馬虎,免費卻高品質;駭客們閒來無事就在修改核心以增進效能與安全性,或是針對新穎的周邊設備來設計驅動程式,當然更多的是針對自身的需求或興趣來設計有趣的應用程式。
本論文是在Linux中設計並實作ZigBee無線網路協定層,主要是以開發Linux核心協定層為主,兼以修改相關驅動程式與管理應用程式,希望能為ZigBee架構出在Linux中的運作空間,並讓未來的應用程式設計者能以較通行的應用程式設計方式來設計Linux ZigBee應用程式,盡量發揮Linux作為ZigBee Coordinator或ZigBee Router的優勢。
在本論文中,針對ZigBee無線通訊協定本身作了一些簡述,並指出其不足或錯誤之處,但不一定提出適合的解決方案,只針對在實作時所解決的問題作論述。在現行Linux網路子系統也多所著墨,並設計一套整合資料與管理的虛擬網路介面對其暫時性增補,以滿足Linux-ZigBee網路協定層實作。
With rapidly developing high speed wired and wireless network protocols, the necessity of low power consumption and low data rate wireless protocol is discovered. ZigBee and IEEE 802.15.4 wireless network protocols are designed for satisfying this necessity. IEEE 802.15.4 is branch of Wireless Personal Area Network (WPAN), and its characteristics are low power consumption, low complexity, short distance communication, and low data rate wireless connectivity just as its official name, Low-Rate WPAN(LR-WPAN). One of LR-WPAN design goal is low cost, but it seems not the truth in this time because of the lack of mass-producing LR-WPAN device. ZigBee is developed based on IEEE 802.15.4, and it is a kind of wireless sensor monitoring network. The initial markets of the ZigBee are Home Control, Building Automation and Industrial Automation.
Linux is an operating system that caught fire all over the computer corporations and it is famous for its Open Source source code distribution mode. From TOP500 supercomputer systems to IBM Linux Watchs adopt Linux as their operating system. It is known about the largest interworking project because there are always thousands people submit their contributions to Linux maintaining system each week. Most developers design Linux programs at their free time, and their products are freeware but have high quality. When hackers twiddle their thumbs, for killing their time, they often fixup the Linux kernel , update the mechanism of securit, design device drivers for new kinds of hardware, and develop funny programs for their interesting or needs.
The object of this dissertation is the design and implmentation of the ZigBee protocol in Linux. Constructing a new protocol driver is the main task, as well as, porting some device drivers and modifying utility programs for it are optional. With this new protocol driver, the ZigBee protocol can be resided in the Linux kernel and application designers could have the convenience of programming application codes by using common procedures, and it would give us advantages of working as a ZigBee Coordinator or a ZigBee Router result from powerful processing ability of Linux.
There are descriptions of the ZigBee standard and comments on shortcomings and bugs of the ZigBee specifications in this essay, and some solutions are presented. Linux Networking Subsystem is another focus of this paper and a new combined managing subarchitecture for it is described in the contents.
標準文件或論文 Standard
[S1] The ZigBee Specification Version 1.0. ZigBee Alliance. June 27, 2005
[S2] IEEE Std. 802.15.4-2003, IEEE Standard for Information technology-Telecommunications and information exchange between systems-Local and metropolitan area networks-Specific requirements-Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Network., IEEE. 1 October 2003.
[S3] Ad-hoc On-demand Distance Vector routing. Charles E. Perkins and Elizabeth M. Royer. Preceeds of the 2nd IEEE Workshop on Mobile Computing Systems and Application.
[S4] A Review of Current Routing Protocols for Ad Hoc Mobile Wireless Networks. Elizabeth M. Royer and Chai-Keong Tou. IEEE Personal Communications. April 1999.
[S5] A review of routeing protocols for mobile ad hoc networks. Mehran Abolhasan, Tadeusz Wysocki, and Eryk Dutkiewicz. www.ElseviverComputerSciense.com. 4 June 2003.
[S6] A wireless hierarchical routing protocol with group mobility. G. Pei, M. Gerla, X. Hong, C Chiang. Preceedings of Wireless Communications and Networking. 1999.
[S7] IEEE802.15.4低速率無線個人區域網路之CSMA/CA碰撞效能分析與研究,常若愚,逢甲大學碩士論文,民國九十三年六月。
[S8] The Design and Implementation of Object-Oriented Network System and Driver Model. Rern-Fur Tsai. NTU Master Thesis, June 2000.
書籍 Book
[B1] The Linux Networking Architecture : Design and Implementation of Network Protocols in the Linux. Klaus Wehrle, Frank Phlke, Hartmut Ritter, Daniel Mller, and Marc Bechler. 2005, Prentice Hall.
[B2] Understanding The Linux Knerel 2nd edition. Daniel P. Bover and Marco Cesati. 2002, O’Reilly.
[B3] Linux Device Drivers 3rd edition. Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. 2005, O’Reilly
[B4] Linux Kernel Development. Robert Love. 2004, Sams Publishing
[B5] Computer Networks 4th edition. Andrew S. Tanenbaum. 2003, Prentice Hall.
網路連結 Hyperlink
[H1] GNU通用公共許可證 (中譯版)
http://www.linux.org.tw/CLDP/OLD/doc/GPL.html
[H2] GNU Gernal Public License
http://www.gnu.org/copyleft/gpl.html
[H3] 教堂與市集 (The Cathedral and the Bazaaz) by Eric S. Raymond, 中譯:謝志昌
http://www.linux.org.tw/CLDP/OLD/doc/Cathedral-Bazaar.html
[H4] GUIDELINES FOR 64-BIT GLOBAL IDENTIFIER (EUI-64) REGISTRATION AUTHORITY
http://standards.ieee.org/regauth/oui/tutorials/EUI64.html
[H5] Single Unix Specification
http://www.opengroup.org/onlinepubs/009695399/