王凡Wang, Farn臺灣大學:電子工程學研究所廖鴻欣Liao, Hung-HsinHung-HsinLiao2010-07-142018-07-102010-07-142018-07-102008U0001-2407200816070200http://ntur.lib.ntu.edu.tw//handle/246246/189121在當前正興起的WiMAX無線通訊產業中,我們可以看到許多研發團隊進行WiMAX通訊協定的各種開發。而多數的開發者都集中在研發WiMAX的儀器或應用軟體上,僅有相對少數的WiMAX測試儀器的研發在進行。然而由於WiMAX協定的複雜度相當高,無法由人工測試的方法對協定的各項細節進行測試,因此測試系統的開發是目前WiMAX產業相當緊急而重要的需求。我們團隊開發出了一個低成本、易於使用的WiMAX測試系統讓使用者能自行進行WiMAX的通訊協定符合性測試。在這篇論文中我們展示了這個測試系統中的編碼/解碼模組和對型別及變數之程式碼產生模組的實作演算法。經由這邊實做出來的編碼/解碼器,我們可以將任何WiMAX通訊協定符合性測試的測試案例中的訊息編碼成對應的WiMAX封包,反過來WiMAX標準的封包可以經由編碼/解碼器模組轉換成對應的資料結構。When we observe the WiMAX technology industry, we discover that although there are many groups working on the implementation of WiMAX devices and applications, there are relatively few works on the test system of WiMAX protocol. However, the need of test system is still intense due to the complexity of the protocol in WiMAX devices is too high to be checked manually. In the work of our team, we provide an inexpensive, easy-to-use test system for WiMAX developers to perform protocol conformance tests (PCT) on their products. The work of this thesis presents the implementation of the codec module and code generation functions for type & variable in our test system. With the codec module we provided, messages in any PCT test cases can be translate to corresponding WiMAX packets.Contents iiiist of Figures vist of Table viibbreviations viiicknowledgements ix Introduction 1.1 Background 1.2 Thesis Framework 5 TTCN-3 6.1 TTCN-3 Test System 7.2 Basic language elements of TTCN-3 10.2.1 Data Types 12.2.1.1 Subtype 13.2.1.2 Simple basic types & basic string types 15.2.1.3 User-defined types 17.2.2 Test Data 18 Architecture of TTCN-3 Module in WiMAX Test System 22 TTCN-3 Module Implementation 25.1 Code Generation of TTCN-3 Type & Variable 25.1.1 New Created Data Types 26.1.1.1 integer type in TTCN-3 26.1.1.2 bitstring & octetstring in TTCN-3 27.1.2 Code Generation of Type Define 28.1.3 Code Generation of Variable Instance 32.1.4 Result of Type & Variable Part 33.2 Codec 34.2.1 Decoder Function of Codec 37.2.2 Encoder Function of Codec 39.2.3 Message Structure Definition of Codec 41.3 Socket Connection Program 41 Experiment 43 Related Works 47 Conclusions and Future Works 49ibliography 52ppendix A TTCN-3 Files in PCT Test Cases 53ppendix B Pseudo Codes of the Codec 552306806 bytesapplication/pdfen-US編碼/解碼測試自動化轉接器通訊協定TTCN-3測試語言WiMAXTTCN-3CodecTest automationAdaptorWiMAX通訊協定符合性測試TTCN-3測試案例轉接器之研發Development of Adaptor for WiMAX TTCN-3 Protocol Conformance Test Casesthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/189121/1/ntu-97-R95943168-1.pdf