Computer Engineering and Applications ›› 2011, Vol. 47 ›› Issue (6): 116-118.

• 网络、通信、安全 • Previous Articles     Next Articles

Research on BUIO generation and test sequences generation algorithms

GAO Zhanchun,HU Xiaoling,JIANG Yanjun,LI Qingwei   

  1. School of Computer,Beijing University of Posts & Telecommunications,Beijing 100876,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-02-21 Published:2011-02-21

BUIO生成及测试序列生成算法研究

高占春,胡晓玲,蒋砚军,李清伟   

  1. 北京邮电大学 计算机学院,北京 100876

Abstract: Generating shorter testing sequence is an important issue in protocol conformance test.This paper proposes a method for generating BUIO sequence by using UIO sequence.Some UIO sequences switching to BUIO sequences can bring the cost reduce of the BUIO generation.The heuristic sequences generation algorithom based on UIO and BUIO is analyzed and improved to ensures the automatic generation of test sequence.Test sequence is obtained through applying the algorithm to protocol ECMA-203,which is compared to the test sequence generated by using Rural Chinese Postman algorithm and UIO sequences.

Key words: Unique Input/Output(UIO), Backward Uniquee Input/Output(BUIO), heuristic algorithm, heuristic function

摘要: 在通信协议的一致性测试中,生成较短的测试序列是一个重要问题。提出一种利用UIO生成 BUIO(Backward UIO)的方法,部分UIO直接转换成BUIO,可以降低BUIO的生成费用。对基于UIO和BUIO的启发式测试序列生成方法进行了分析,完善了该方法的生成算法,保证测试序列的自动生成。以ECMA-203协议为例,应用这种算法得到了测试用例,与基于UIO序列和中国邮路算法生成的测试序列进行了比较。

关键词: 唯一输入输出(UIO), 反向唯一输入输出(BUIO), 启发式算法, 启发函数