作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (21): 253-255. doi: 10.3969/j.issn.1000-3428.2009.21.085

• 开发研究与设计技术 • 上一篇    下一篇

TTCN-3测试系统协议相关部分的分析与实现

李 华1,张巨萍2,叶新铭1,吴承勇1   

  1. (1. 内蒙古大学计算机学院,呼和浩特 010021;2. 内蒙古财经学院计算机信息管理学院,呼和浩特 010050)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-11-05 发布日期:2009-11-05

Analysis and Implementation of Protocol Related Part of TTCN-3 Test System

LI Hua1, ZHANG Ju-ping2, YE Xin-ming1, WU Cheng-yong1   

  1. (1. School of Computer Science, Inner Mongolia University, Hohhot 010021; 2. College of Computer Information Management, Inner Mongolia Finance and Economics, Hohhot 010050)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-11-05 Published:2009-11-05

摘要: 在TTCN-3测试系统的实现过程中,需要划分系统中与被测相关和无关的部分。分析与被测相关部分的编解码器和TRI中与协议相关的功能函数,并讨论它们的实现方法。以DHCPv6协议为例给出相关函数的实现算法,通过测试系统各部分的协作图阐述测试系统的工作过程。

关键词: 测试, 协议, 实现

Abstract: During the processing of implementation of TTCN-3 test system, there are requirements to divide the test system into protocol related part and System Under Test(SUT) unrelated part. This paper analyzes Coder/Decoder(CD) and Test Runtime Interface(TRI) functions of protocol related part. The implementation approach is discussed. As an example, DHCPv6 related algorithms are given. And the working process of the test system is interpreted by the collaboration diagram of TTCN-3 test system component.

Key words: test, protocol, implementation

中图分类号: