Research on CTCS-3 Board-Ground Communication Protocol Conformance Testing Based on TTCN-3
- Author
- LiYan
- Advisor
- TangTao
- School
- Beijing Jiaotong University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- U285.2 Wireless communications
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 202
- Citations
- 7
- CTCS-3 board-ground communication protocol
- TTCN-3
- protocol conformance testing
- FSM
- UIO sequences
- TTworkbench
Abstract
CTCS level 3 is one of the important components of Chinese Train Control System (CTCS),which uses wireless communication systems(GSM-R) to achieve a two-way continuous information transmission between the train and the ground.It is a train control system based on wireless communication.In this system,board-ground communication protocol is not only the guarantee of reliable data communication between the train and ground,but also the foundation of the whole system’s safety.In reference to Euroradio safety protocol which is defined in ERTMS standards, CTCS-3 board-ground communication protocol is designed with domestic reality.To make sure that the train and the ground devives can communicate with each other correctly,we must perform test on the protocol.The protocol testing is an important branch of protocol engineering,and it is a prerequisite for the normal work of the protocol realization.Protocol conformance testing is the foundation of various types of testing work.Thus the conformance testing of board-ground communication protocol of CTCS level 3 is very important.In this paper,with board-ground communication protocol of CTCS level 3 standards and specifications,a conformance testing method is in-depth studied.For conformance testing,its process is divided into three phases:test generation,test implementation and test execution.Test generation is the generation of test sequences.In this phase,we analyse the communication protocol,establish FSM(Finite State Machine) model and then generate test sequences.Test implementation is based on TTCN-3(the Testing and Test Control Notation version 3),and use TTworkbench to build test system.Finally we run through the test system and give an analysis of test results.This paper firstly introduces the related theory and technology in detail,including protocol conformance testing theory,test sequence generation based on FSM,the development,characteristics,advantages,application direction of standardized test language TTCN-3 and test software TTworkbench support for TTCN-3 language. Secondly,CTCS-3 board-ground communication protocol model was established using formal modeling method based on FSM according to the characteristic of CBTC communication protocol.Thirdly,conformance test sequences of CTCS-3 board-ground communication protocol are genetated based in FSM and a mature UIO(Unique Input Output) algorithm.Then common comformance abstract test methods are analysis in detail and the whole test system is designed including test system configuration,the internal structure of the design,test case description,the design and implementation of codecs and protocol adapter.At last a comformance test on CTCS-3 board-ground communication protocol is performed using the built test system,and a test verdict and a analysis of test result is given.
Table of contents
Acknowledgements 5-6
Chinese Abstract 6-7
ABSTRACT 7-12
1 Introduction 12-20
1.1 Background 12-14
1.1.1 CTCS-3级train Control system Overview 12-14
1.1.2 CTCS-3 class cars to communication protocols 14
1.2 protocol Conformance Testing research 14-17
1.3 topics of purpose and meaning 17-18
1.4 The paper is organized 18-20
2 protocol testing and test description language TTCN-3 20-32
2.1 protocol conformance testing theory 20-23
2.1.1 protocol Test the basic concept 20-21
2.1.2 protocol test classification 21
2.1.3 protocol Conformance Test 21-23
2.2 limited state machine and conformance test sequences 23-26
2.2.1 finite state machine concept 23-24
2.2.2 based on finite state machine test sequence 24-26
2.3 test description language TTCN-3 26-29
2.3.1 formal description language TTCN test and development 26-27
2.3.2 TTCN-3 core language and other manifestations 27-28
2.3.3 TTCN-3 features 28-29
2.4 protocol testing tools TTworkbench introduction 29 -31
2.4.1 TTworkbench features 29
2.4.2 TTworkbench the composition 29-30
2.4.3 TTworkbench workflow 30-31
2.5 chapter Summary 31-32
3 CTCS-3 -car communication protocol conformance test sequences to design 32-52
3.1 based UIO the test sequence generation algorithm 32-38
3.1.1 common test sequence generation algorithm 32-33
3.1.2 generation Algorithm based UIO 33-38
3.2 CTCS-3 class cars to communication protocol process 38-42
3.2.1 establish a secure connection 39-40
3.2.2 secure data transmission 40-41
3.2.3 secure connection release 41-42
3.2.4 error Handling 42
3.3 CTCS-3 class cars to communication protocols FSM model 42-48
3.3.1 initiator FSM model 46-47
3.3.2 follow the party FSM model 47-48 <br / > 3.4 CTCS-3 class cars to communication protocol test sequence generation 48-51
3.5 Summary 51-52
4 CTCS-3 -car communication protocol conformance testing ground analysis 52-72
4.1 car to the communication protocol conformance testing method 52-55
4.1.1 abstract test method used 52-53
4.1.2 abstract test methods commonly used analysis 53-54
4.1.3 vehicle communication protocol conformance testing ground abstract test method 54-55
4.2 cars to communication protocol test system the structural design 55-59
4.2.1 test system consisting 55-57
4.2.2 test Configuration 57-58
4.2.3 test System internal structure 58-59
4.3 based on TTCN-3 test suites described 59-66
4.3.1 data type definition 60-61
4.3.2 port definition 61-62
4.3.3 timer 62-63
4.3.4 Description of the test sequence 63 - 66
4.4 codec design and implementation 66-67
4.5 protocol adapter design and implementation 67-69
4.6 test results and analysis 69-70
4.6.1 test verdict 69-70
4.6.2 problems during testing and analysis 70
4.7 chapter Summary 70-72
5 Summary and Outlook 72-74
5.1 work Summary 72-73
5.2 Prospects 73-74
References 74-76
bitmap index 76-77
table Index 77-78
Author Biography 78-80 <br / > dissertation dataset 80
Related dissertations
- Study of Protocol Conform Ance Testing Based on Fsm Model
- Design and Codec Sotfware Implementaiton of Testing System for High Performance Network over Coax
- Design and Implementation of Az Interface Test Cases in TETRA Digital Trunked System
- Design and Implementation for802.1X Protocol Conformance Test Suite Based on TTCN-3
- Study on the Generating Methodology of TTCN-3 Test Suite Based on MSC
- The Reseach on Conformace Testing for Mobile Station Stack
- Study on Method of Game Software Fault Management and Fault Injection
- Design and Develop of Simulating Environment for Protocol Conformance Test Framework
- Research on Development Method of Online Game Software Test Suits Based on Model
- The Design and Implementation of Enterprise Budget Management System
- Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
- The Research of the Induction Heating Power Supply Based on FPGA
- Research on Software System Design and Navigation Planning for Wheeled Service Robots
- The Study on Multi-agent Decision Model in FPS Games
- TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
- Research on Conformance Testting of LDP Protocol Based on E-Lotos
- Design and Implementation of Protocol Conformance Testing System Based on LLDP
- Design and Implementation for Consistency Test Tool of DSRC Standard Based on ETC
- The Research and Implementation of Realtime Testing in TTCN-3System
- Reconstruction of the Tool of TTCN-3Test Suite Automatic Generation Based on GFT