Research on Automatic Generation of Conformance Test Sequences for EFSM-Specified Protocols
- Author
- ShuTing
- Advisor
- SunShouQian
- School
- Zhejiang University
- Major
- Computer Science and Technology
- Classification
- TN915.04 Communication protocols, communication protocols
- Degree
- Doctoral dissertation
- Year
- 2010
- Downloads
- 72
- Citations
- 0
- protocol conformance testing
- Extended finite state machine
- Executability Analysis
- State Identification Sequence
- Executable Test Sequence
Abstract
With the popularization and the need for diversity of communication network, network protocols become more and more complex, which faces the new challenge on the development and implementation of protocols. According to the characteristics of communication network, such as distribution, heterogeneity and real-time performance, the implementation of network protocols needs not only correct functional behaviour, but favorable consistent interconnection as well. Actually, small deviations between the implementation and the specification of network protocols are likely to bring disastrous consequences to communication network. Protocol conformance testing aims to check the degree of conformance between a protocol specification and its implementation, which is one of the important means for ensuring the quality of network communication. Traditionally, conformance testing sequences are manually generated so that it is very time consuming and expensive to obtain. Moreover, the quality of the generated test sequences is difficultly ensured. In order to avoid the above drawbacks, there have been some efforts to automatically generate protocol conformance testing sequences using the extended finite state machine (EFSM). Thus, how to automatically generate conformance testing test sequences for the protocol modeled as EFSM has been the focus in recent research.Compared with Finite-state machines model, EFSM model contains a set of additional context variables and predicates, which enhances the capability of modeling the control portion and data portion of a real-time system. Additionally, it adds the difficulty in automatic generation of conformance testing sequences (AGCTS) for EFSM-based protocols. Currently, research topics on AGCTS based on EFSM are mainly centralized as follows:1) How to generate the executable state identification sequences; 2) How to guarantee the executability of conformance testing sequences generated; 3) How to design a method enabling executable control flow and data flow conformance test sequence generation for EFSM models; 4) How to design an automatic generation tool of protocol conformance testing sequences based on EFSM. This thesis focuses on the above four problems and systematically investigates the key technique for automatic generation technique of conformance testing sequences based on EFSM. The main contributions of this thesis are the following:(1) This thesis presents a new executable state identification sequences approach (ESIS). The approach, from the aspect of state identification demand and the EFSM configure projection subspace. adopts fractional-step computation to generate the shortest ESIS in the specific identification scene through searching a Executability Analysis Tree (EAT) in bread-first-search way. Thus, it avoids the complexity incurred by computing all state identification sequences by single step in the whole state configure space.(2) Through analyzing breadth first search of EAT in the generation process of ESIS, this thesis presents an adaptive method of ESIS and describes two concepts of EAT:transition distinction degree factor and node convergence degree factor. The new algorithm considers EAT node weight function as node search engine and transforms automatic generation of ESIS into adaptive exploration of the maximum weight node from unexplored nodes in EAT. The experimental results show that adaptive generation method of ESIS has better space-time characteristic in comparison with breadth first search method.(3) This thesis presents an executable testing sequences generation method using heuristic search EFSM protocol state space. And on this basis, a new control flow test method is proposed. Instead of traditional breadth first search, the new algorithm uses the exploring strategy of heuristic state pattern to search the minimum weight path. The experimental data show that the proposed method can effectively alleviate the state space explosion problem in the executability analysis process.(4) This thesis discusses the intrinsic characteristic and dependence relations of transitions in EFSM in detail. After defining the adjacency transition dependence graph (ATDG), this thesis presents an executable testing sequences generation method of the EFSM model based on the ATDG. Then, the proposed algorithm provides a new testing sequences generation method of control flow and data flow. Specifically, the proposed algorithm first classifies transition according to its variables and predicates. Next, dependence relationship among transitions is deeply mined. Finally, the executable test sequences are generated, using executability analysis guided by an adaptive exploration function. The proposed algorithm guarantees the executability of testing sequences generated and balances the shortest length and the generation cost of testing sequences.(5) According to the proposed methods above, this thesis describes an automatic generate integration environment design of the executable conformance testing sequences based on EFSM and realizes a prototype system. This integration testing environment supports several key parts of protocol conformance testing sequences:protocol formalization modeling, automatic generation of conformance test sequences and TTCN-3 formalization description of testing sequences.
Table of contents
Acknowledgements 5-6
summary 6-8
Abstract 8-10
catalog 10-14
List of Figures 14-16
Schedule list 16-17
1 Introduction 17-34
1.1 Background and significance 17-19
1.2 Research The 19-30
1.2.1 Overview 19-21
1.2.2 Formal Description EFSM agreement technical 21 - 23
1.2.3 EFSM model-based test sequences generated 23-28
1.2.4 EFSM model based test sequence generation tool automatically 28-30
1.3 the thesis contribution 30-31
1.4 thesis chapters organizational structure 31-34
EFSM-based protocol conformance test theoretical foundation 34-54 <br / > 2.1 finite state machine model and related definitions 34-39
2.1.1 finite state machine model 34-35
2.1.2 extended finite state machine model 35-36
2.1.3 on EFSM test generation related defined 36-39
2.2 conformance testing the relevant formal definition of the concept of 39-43
2.2.1 The formal definition of conformance testing the 39-40
2.2.2 conformance testing of the basic assumptions 40-42
2.2.3 active testing and passive test 42-43
2.3 protocol conformance testing method based on EFSM model the 2.3.1 test sequence generation method based on the control flow of 43-51
44-47
the 2.3.2 test sequence generation method based on data flow 47-50
the 2.3.3 control flow data flow is superimposed on the test sequence generation method 50-51
2.4 based on EFSM The key problem of the model test sequence generation 51-53
2.4.1 on EFSM model state validation sequence the 51-52
the 2.4.2 test sequences executable 52-53
2.5 Chapter Summary 53-54
EFSM executable state verification sequence generation 54-73
3.1 Introduction 54-55
3.2 work the 55-60
3.2.1 based executable analysis methods the 56-57
3.2.2 Based on EFSM error model methods 57-58
3.2.3 method based on genetic algorithm 58-60
3.3 ESIS theoretical basis of the sequence 60-64
3.3.1 EFSM model The state pattern space 60-61
3.3.2 ESIS algorithm related definitions and theorems 61-64
3.4 ESIS sequence generation algorithm 64-68
3.4.1 algorithm description are found; the 64-66 3.4.2 algorithm analysis
66-68
3.5 Experimental Analysis 68-72
3.5. an experimental setting 68-70
3.5.2 Experimental results 70-72
3.6 Chapter Summary 72-73
the ESIS sequence adaptive generation 73-88
4.1 Introduction 73-74
4.2 work 74-77
4.2.1 based state separation tree nbsp Changes in classification-based approach; 74-76
4.2.2 76-77
4.3 adaptive generation algorithm related concepts 77-80
4.3.1 Adaptive algorithm defined 78-79
the 4.3.2 node weight function 79-80
4.4 adaptive generation algorithm 80-82
4.4.1 algorithm described
80 4.4.2 Algorithm Analysis the 80-82
4.5 of Experimental Analysis the 82-86
4.5.1 experimental setups 82-83
4.5.2 Experimental results are found; 83-86
4.6 Chapter Summary the 86-88 May
based heuristic exploration protocol test sequence generation 88-99
5.1 Introduction 88
5.2 Related work 88-89
5.3 heuristic exploration concept 89-92 <br / > 5.3.1 WEFSM model formalized definition the 89-90
5.3.2 state pattern. heuristic exploration 90-92
5.4 heuristic search algorithm 92 - 94
5.4.1 algorithm described the 93-94 5.4.2 algorithm analysis
94
5.5 Experimental Analysis 94-98
5.5 .1 experimental setting 94-95
5.5.2 Experimental results 95-98
5.6 Chapter Summary 98-99
based on adjacency changes associated Figure test sequence generation 99-118
6.1 Introduction 99
6.2 Related work the 99-101
6.3 based on the predicate changing classification 101-102 adjacency changes associated map
6.4 102-103
6.5 based the adjacency changes associated adaptive search algorithm 103-108
6.5 .1 algorithm thinking the 103-104
6.5.2 algorithm described 104-106
6.5.3 Algorithm Analysis 106-108
6.6 based on adjacency changes associated diagram of the test sequence generation algorithm design 108-113
6.6.1 protocol conformance test sequence generation algorithm abstract description 108
6.6.2 A control flow data flow is superimposed on the test sequence generation algorithm 108-113
the 6.7 experimental analysis 113-117
6.7.1 Experimental set 113
6.7.2 the result 113-117
6.8 Chapter Summary 117-118
test sequence automatically generate system with the application examples 118-131
7.1 system Design and Implementation 118-123
7.1.1 overall system architecture and module design 118-122
7.1.2 system workflows 122-123 <br / > 7.2 conformance test sequences automatically generated instance 123-130
7.2.1 protocol EFSM model formalized modeling and information extraction 123-124
7.2.2 Protocol Conformance the abstract test sequences automatically generated 7.2.3 Protocol Conformance Abstract Test Suite 124-127
TTCN-3 Description 127-130
7.3 Chapter Summary 130-131
8 Summary and Outlook 131-134
8.1 summarizes 131-132
8.2 Looking 132-134
Reference the
Appendix nbsp 134-145; the
biographical 145-148 and studying the outcome of the doctorate during 148
Related dissertations
- Research on Fault Diagnosis of Protocol Conformance Testing
- Study of Protocol Conform Ance Testing Based on Fsm Model
- Design and Implementation of Protocol Conformance Testing System Based on LLDP
- Research on Non-contact Hand Motion Recognition
- 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
- Realization of Secruity Mechanism in Td-Lte Terminal Protocol Conformance Testing System Based on TTCN-3
- Data Link Test Innstruument Design
- Design and Implementation for802.1X Protocol Conformance Test Suite Based on TTCN-3
- Research on Dependence Analysis and Software Testing
- Distributed Intrusion Detection System Active Collaborative Research and Practice
- Research of the Key Technologies Applied in Conformance Testing of Mobile IPv6 Protocol Based on TTCN-3
- Automatic Cases Generation for Classes Test
- Study on the Generating Methodology of TTCN-3 Test Suite Based on MSC
- Research of Communication Protocol Conformance Test of CBTC System Based on EFSM
- TD SCDMA terminal protocol conformance testing research and development
- Research on Object Oriented Software Automated Unit Test Technique
- A Program Verification and Testing Tool Based on Symbolic Execution and Constraint Solving
- Smoking Testing of Policy Routing Protocol Based TCL
- Conformance Testing for Neighbor Discovery in IPv6