The Design and Implementation of Subsystem of Data Type in TTCN-3 Testing Platform
- Author
- GaoGaiXia
- Advisor
- WangJunYi
- School
- Inner Mongolia University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 43
- Citations
- 6
Abstract
TTCN-3 is a new test description language about protocols and software.It defined and standardized description languagean of abstract test suit, meanwhile described the TTCN-3 Operational Semantics and standardized the testing system interface between the various components.The many advantages of TTCN-3 may have enabled it to become a standardized description language in software development area.The description of the abstract test suit using TTCN-3 language only completed part of the test generation, the implementation of test need for an environment, namely testing system.The activities of test implementation is based on test data.Data is the most basic element in the TTCN-3 language.We defined data on the basic of data type.So to complete TTCN-3 test using the test environment, abstract data in the ATS must be mapped to the test platform.TTCN-3 predefined type,user-defined type and data is packaged into uniform format according to TTCN-3 Control Interface (TCI).In order to meet the TCI and TRI requirements and achieve the codec of message and the information communication between components,we implemented the subsystem of data type under the guide of this design mind. We implemented the express,storage and conversion of data and data type by the objected-oriented approach. We packaged the definition of data types, data and special data types - templates as class. First of all we have established the data structure of data and data type, secondly we implemented the various operation on the abstract data types and data.On the basic of upwards implemetation, we explain the process of ETS storage specific types, values and the template using data type subsystem.
Table of contents
Abstract 4-5
ABSTRACT 5-8
chart catalog 8-10
Chapter Introduction 10-15
1.1 test description language TTCN-3 10-11
1.2 Background and project development and application of TTCN-3 status 11-12
1.3 Objectives and research papers 12
1.4 paper structure 12-13
1.5 This article deals with the development environment 13
1.6 This article deals with the abbreviation 13-15
Chapter TTCN-3 test system Introduction 15-24
2.1 TTCN-3 language Introduction 15-19
2.1.1 TTCN-3 language elements analysis 15-16
2.1.2 TTCN-3 language elements data class 16-17
2.1.3 TTCN-3 language elements executive class 17
2.1.4 TTCN-3 Dynamic test configuration 17-18
2.1.5 TTCN-3 communication mechanism 18-19
2.2 TTCN-3 test environment, the basic structure of 19-22
2.3 TTCN-3 test execution mode 22-24
Chapter TTCN-3 data types subsystem functional analysis 24-29
3.1 ATS data type definition translation 25-26
3.2 ATS in data definition translation 26
3.3 template defines the function 26-27
3.4 codec module auxiliary functions 27-29
Chapter TTCN-3 data types subsystem design and implementation 29-51
4.1 TTCN-3 data type mapping design and implementation 29-38
4.1.1 TTCN-3 abstract data type - the type described in the type 29
4.1.2 Type and specific types of base class inheritance relationship between 29-30
4.1.3 base class TciType Design and Implementation 30-31
4.1.4 global type object list 31-32
4.1.5 Simple basic types of data structure design and implementation 32-33
4.1.6 structure type data structure design and implementation 33-35
4.1.7 TTCN-3 type of data validity check function to achieve 35-38
4.2 TTCN-3 data mapping design and implementation 38-43
4.2.1 abstract base class Value with specific types of inheritance relationship between the data 38-39
4.2.2 Safety Shift function 39-40
4.2.3 Value data structure design and implementation 40-41
4.2.4 Design and implementation of a data operation 41-42
4.2.5 Design and implementation of data manipulation 42-43
4.3 TTCN-3 template mapping design and implementation 43-50
4.3.1 Template - a special type 43-46
4.3.2 template data structure design 46
4.3.3 template member function implementation 46-49
4.3.4 template matching specific types of basic steps 49-50
4.4 TCI-CD interface implementation 50-51
Chapter datatype subsystem usage 51-70
5.1 ETS use the data type defined data type subsystem process 51-60
5.1.1 through the list attribute defines the basic types subtypes 52-53
5.1.2 through the range attribute defines the basic types subtypes 53-55
5.1.3 By length attribute defines the basic types subtypes 55-56
5.1.4 enumerated types and determine the type of definition process 56-58
5.1.5 structure type (record, set, union) of the definition process 58-59
5.1.6 single record type and a single collection type definition process 59-60
5.2 ETS subsystem defined data types used during data 60-67
5.2.1 defines integer data process 61-62
5.2.2 enumerated type defines the process of data 62-63
5.2.3 Example illustrate various string in string data definition process 63-64
5.2.4 record, set the type of data definition process 64-65
5.2.5 record of, set of types of data definition process 65-66
5.2.6 union data definition process 66-67
5.3 ETS subsystem defined data types using the general process template 67-70
Chapter 6 Application examples 70-74
Chapter VII Conclusions and future research directions 74-76
References 76-78
Thanks 78
Related dissertations
- The Research of the Realization of the Codec in TTCN-3 Testing Platform
- Research on the Export Competitiveness of High-tech Products
- Study of Fuzzy Neural Network on the Target-controlled Infusion Control Algorithm in Anesthesia
- Desing and Implementation of Alarm Subsystem of Mobile Network Management System
- Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
- Research of High Voltage High Power IGBT Test Technology and Test Platform
- Design of Led Drive Power Test System
- Study on Fuel Supplying Control System of the NG/diesel Dual-fuel Engine
- Reserch on Friction Properties of Gear Oil Used on Overloaded Transimission Synchronizer
- Image Processor Hardware Testing Platform Design&Implementation
- Fatigue Failure Analysis of Pinch Valve and Test Platform Design
- Study on the Preparation Method and Performance of Ag-IPMC
- Construction of Experimental Platform on Remote Wireless Monitoring System
- Research of Monitor and Test Platform on Coach Electronical System Based on CAN-Bus
- Research and Design of Automation Protocol Testing System Based on Distributed
- TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
- Research on Conformance Testting of LDP Protocol Based on E-Lotos
- Design and Implementation for Consistency Test Tool of DSRC Standard Based on ETC
- Research on Semantic Analysis and Mapping Method of Semi-structured Data
- Research on Integration Technology of Geophysical Professional Database