论文部分内容阅读
在线测试是通过观察线路上双方协议实体的会话来进行协议测试的方法 ,测试中需要判定会话双方的状态 .本文提出的状态同步算法将传统的协议状态机转化为“事件 状态表” ,并通过表运算判定双方状态 .该通用算法解决了在线测试中首先要解决的状态判定问题 .通过对该算法进行的复杂度分析得出了影响其复杂度的因素 ,并进行了改进和优化 .该算法应用于作者开发的在线测试系统中 ,已完成了若干通信协议和路由协议的一致性测试和互操作性测试 ,取得了较好效果
Online testing is a method for protocol testing by observing the sessions of both protocol entities on the line, and the state of the session needs to be determined in the test. The proposed state synchronization algorithm transforms the traditional protocol state machine into an “event state table” Table operation to determine the status of both parties.This universal algorithm solves the problem of state decision that must be solved first in online testing.Through the complexity analysis of the algorithm, the factors affecting its complexity are obtained and improved and optimized. In the online test system developed by the author, conformance testing and interoperability testing of several communication protocols and routing protocols have been completed and good results have been achieved