跳到主要內容

臺灣博碩士論文加值系統

(75.101.211.110) 您好!臺灣時間:2022/01/26 12:36
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:李銘謙
研究生(外文):Ming-Chien Li
論文名稱:Linux作業系統上有線網路頭端之驅動程式研究與設計
論文名稱(外文):Design of a Linux-based CMTS Driver
指導教授:鄭憲宗鄭憲宗引用關係
指導教授(外文):Sheng-Tzong Cheng
學位類別:碩士
校院名稱:國立成功大學
系所名稱:資訊工程學系碩博士班
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2002
畢業學年度:90
語文別:英文
論文頁數:55
中文關鍵詞:有線網路頭端系統
外文關鍵詞:CMTS
相關次數:
  • 被引用被引用:0
  • 點閱點閱:754
  • 評分評分:
  • 下載下載:214
  • 收藏至我的研究室書目清單書目收藏:2
台灣,在都市人口密集度中居世界排名前列,而電視也是一般家庭必須品,所以有線電視的接線密集度高得令人咋舌,許多第四台業者自從法令開放後也如雨後春筍般冒出。
近年來,資訊產業抬頭,網路門戶大開,許多廠商也為此商機而蠢蠢欲動,像中華電信即推出ISDN、ADSL等方案,而有線電視業者則有所謂的GiGiGaGa.com寬頻上網方案,在分食著台灣網路這塊大餅。其中又以有線電視網路備受矚目,因為台灣的有線電視用戶非常之多。
Cable data system 分別由許多不同的技術和標準所組成,因此在北美 cable television operators組成一個團隊組織,叫做Multimedia Cable Network System ( MCNS ),且發展制定出 DOCSIS 規格,在 MCNS 規格發表Cable Modem標準後,成為CATV operator、系統供應商和晶片供應商所矚目。也因此許多系統廠商再幾番評估後(如Cisco , 3Com , Toshiba, Motorola等等)為此生產MCNS cable modem謀取商機。
在現行 CATV 網路架構中,我們可以清楚知道,CMTS ( Cable Modem Termination System ) 雖然只是系統頭端的一部分,不過它卻扮演著主要的角色,因為所有的資料流全賴 CMTS 一手包辦,不管是用戶端傳到頭端的上行資料或頭端廣播到用戶端的下行資料,甚至是用戶端之間互動的資料,全都必須交由 CMTS 管理。在 CMTS 架構裡包含許多重要原件 – 晶片BCM3210, BCM3137 , BCM3033 等等,它們分別負責管理上行與下行管道的運作,另外資料的加解密與訊息的傳遞等等,將在論文中予以介紹。
在這篇論文中,重點放在如何將QNX作業系統的 CMTS 驅動程式移植到LINUX平台。QNX是一套即時、可延伸、通過POSIX認證的作業系統,許多工業級電腦以QNX做為其作業系統,穩定但是不便宜;相對的,LINUX是一套免費的作業系統,而且包含核心原始碼,我們可以藉此得知核心與周邊裝置的對應關係,依樣修改CMTS驅動程式使得頭端裝置可以在 LINUX 環境下作用。
論文裡面提出三個實作方法:1. 由 PCI Bus 著手,使得作業系統得以偵測出裝置; 2. 針對下行管道縮小驅動程式範圍; 3.將 Makefile 裡面含有的 .o目的檔案對照 .cpp 原始檔案依序編譯並除錯。另外,在這過程中遇到許多問題,例如:不明的巨集、或結構以及未定義的函式等等,論文裡亦提供了數種方案來解決問題。
The density of population in Taiwan is at the head of the world, and almost every family has more than one television in the house. Hence the cable TV subscribers are not a small amount of quantity in Taiwan. Recently, there are also many choices to enjoy the internet services like ISDN, ADSL or Cable network and so forth. This paper will discuss something about CMTS (Cable Modem Termination System) architecture, how a HeadEnd machine provides its capability and related functions. Some points about porting QNX device driver to Linux in addition.
A cable data system is comprised of many different techniques and standards. To develop a mass market for cable modems, products from different vendors must be interoperable. To accomplish the task of interoperable systems, the North American cable television operators formed a limited partnership, Multimedia Cable Network System (MCNS), and developed an initial set of cable modem requirements (DOCSIS). MCNS was initially formed by Comcast, Cox, TCI, Time Warner, Continental (now MediaOne), Rogers Cable, and CableLabs. The DOCSIS requirements are now managed by CableLabs. Vendor equipment compliance to the DOCSIS requirements and interoperability tests are administered by a CableLabs certification program. Some companies like Cisco, 3Com, Toshiba, Motorola and so forth, produce some related products to gain profit.
In the paper, the subject is mainly aimed at – design a Linux-based CMTS driver. First, there is a guide to device driver implementation. Then there are several ways mentioned to solve the problem like PCI Bus, downstream channel and so forth to illustrate the process of porting QNX device driver to Linux machine.
In the process of designing a Linux-based CMTS driver, many troubles were happened like unknown variables. Some ways will be mentioned to solve these kinds of problems in this paper and still some debug tools will be introduced later.
In a word, CMTS is a very important component in Cable Network, hence a manager should care about its operating efficiency, like the CPU load of the machine or other vicious attack to the server. Finally, there is something about data flow management of the machine in the paper.
Chapter 1. Introduction 5
Chapter 2. Background 6
2.1 QNX 6
2.1.1. What is the QNX 6
2.1.2 QNX microkernel architecture 6
2.1.2.1 QNX microkernel 7
2.1.2.1.1 Inter-process communication 7
2.1.2.1.1 Process scheduling 10
2.2 Data-Over-Cable Service Interface Specification 14
2.2.1 Communication Protocols: 14
2.2.1.1 Physical Layer 14
2.2.1.2 Date Link Layer-MAC Layer 15
2.2.1.3 Network Layer 16
2.2.1.4 Transport Layer 16
2.2.1.5 Application Layer 16
2.2.1.6 Operations System 16
2.2.2 Media Access Control 16
2.2.2.1 Overview 16
2.2.2.2 Service Flows 16
2.2.2.3 Classifiers 18
2.2.3 CM Configuration 18
2.2.4 General Operation 19
2.2.4.1 Static Operation 19
2.2.4.2 Registration Request (REG-REQ) 20
2.2.4.3 Registration Response (REG-RSP) 21
2.2.4.4 Registration Acknowledge (REG-ACK) 22
Chapter 3. Implementation – Illustration 24
3.1 Introduction 24
3.1.1 CMTS Overview 24
3.1.2 Product Description 24
3.2 Hardware Architecture 25
3.2.1 Chips Description 25
3.3 Software Architecture of C-CMTS 26
3.3.1 Function Description 27
3.4 A skeleton diagram of C-CMTS Driver 29
Chapter 4. Porting QNX Driver to Linux Machine 30
4.1 Introduction 30
4.2 Equipment of the Computer 31
4.3 Procedures 31
4.4 Solutions: 32
4.4.1 Base on PCI Bus 33
4.4.2 Base on downstream channel - BCM3033 PHY layer 36
4.4.3 Base on Makefile 38
4.5 Problem and Solution 39
4.5.1 Macro and Struct 39
4.5.2 Functions 40
4.6 Debugging 44
4.6.1 printf and printk 45
4.6.2 Debugging with gdb - xxgdb 46
4.7 Future Work 47
Chapter 5. Detect Network Flow Rate in Linux 47
5.1 The Operating Principle of MRTG 47
5.2 Needed components and Constraint 47
5.3 Getting and Setting MRTG: 48
5.4 MRTG COMPILATION 48
5.5 Setting MRTG 48
5.6 Detect One time Per Five Minutes 49
5.7 A statistical graph 50
Chapter 6. Conclusions 51
Chapter 7. References 54
[1].QNX System Architecture- http://www.qnx.com/literature/qnx_sysarch/index.html
[2]. Droms, R., Dynamic Host Configuration Protocol, IETF RFC-2131, March, 1997.
[3]. Postel, J., Internet Protocol, IETF RFC-791 (MIL STD 1777), September, 1981.
[4]. Schoffstall, M., Fedor, M., Davin, J. and Case, J., A Simple Network Management Protocol (SNMP), IETF RFC-1157, May, 1990.
[5]. Sollings, K., The TFTP Protocol (Revision 2), IETF RFC-1350, July, 1992.
[6]. Definitions of Managed Objects for Bridges. E. Decker, P. Langille, A. Rijsinghani, & K. McCloghrie. July 1993. (Obsoletes RFC1286)
[7]. Krawczyk, H., Bellare, M., and Canetti, R., HMAC: Keyed-Hashing for Message Authentication, IETF RFC-2104, February, 1997.
[8]. Data-Over-Cable Service Interface Specifications, Cable Modem Termination System - Network Side Interface Specification, SP-CMTS-NSI-I01-960702.
[9]. Data-Over-Cable Service Interface Specifications, Operations Support System Interface Specification, SP-OSSIv1.1-I02-000714.
[10]. Data-Over-Cable Service Interface Specifications, Radio Frequency Interface Specification, SP-RFIv1.1-I05-000714.
[11].BROADCOM Reference Web Side- http://www.broadcom.com
[12]. PLX Reference Web Side- http://www.plxtech.com/products/9080/default.htm
[13].Hardware Detailed Design Report of MCNS Cable Modem Headend Version 1.0 by 黃煥旗, July 29,1998
[14].System Specification of MCNS Cable Modem Headend Version 1.0 by 楊鴻岳, April 30, 1998
[15].Reference from 興德資訊研討會- http://www.sinter.com
[16].MRTG(Multi Router Traffic Grapher ), by Tobias Oetiker , Dave Rand and many contributors from the global Village - http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
[17]. CATV CyberLab http://www.catv.org/frame/cmt_competitive.html
[18].A Cable Switch For Hierarchical HFC Network by Kuo-Chu, Yi-Gang Tai, Wei-Tsong Lee and Pao-choo Chung
連結至畢業學校之論文網頁點我開啟連結
註: 此連結為研究生畢業學校所提供,不一定有電子全文可供下載,若連結有誤,請點選上方之〝勘誤回報〞功能,我們會盡快修正,謝謝!
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top