TTCN-3 Test Architecture Based on Port-oriented Design and Assembly Language Implementation
作者单位:Wireless Information Network Lab University of Science and Technology of China Department of Electronic Engineering and Information Science University of Science and Technology of China
会议名称:《2012年计算机应用与系统建模国际会议》
会议日期:2012年
学科分类:08[工学] 0835[工学-软件工程] 081202[工学-计算机软件与理论] 0812[工学-计算机科学与技术(可授工学、理学学位)]
基 金:supported by the National Ministry of Education of China 2009-2011 National Innovation Experiment Program for University Students with Grant(091035837)
关 键 词:TTCN-3 Test System Protocol conformance testing
摘 要:The TTCN-3(Testing and Test Control Notation version 3)[1-2] based test systems are widely used for protocol testing in various technical system, but fall to be inefficient in both compiling and running, since the implementation are primarily based on high-level programming language and interpretation-execution mechanism. Viewing the test system as ports state system, this paper proposes a port-oriented, and compiling running mechanism based TTCN-3 test system, which is implemented primarily by assembly programming language. The test process is divided into the implementation of a series of two phases: the first test phase is environment computation which is implemented by assembly language necessary for the following port operations and the second phase is corresponding port operations which can be implemented by higher-level programming language. The assembly language implementation for the TTCN-3 abstract test suit allows much more computational optimizations at a lower level, and the compiling-running mechanism outperforms the performance of interpretation-execution mechanism by saving the efforts for compiling whenever the TS is executed and CPU’s sources for interpretation during runtime.