节点文献
协议一致性测试原理及其应用
Protocol Conformance Test Principles and the Application
【作者】 郭闯;
【导师】 刘兴伟;
【作者基本信息】 西华大学 , 计算机应用技术, 2008, 硕士
【摘要】 协议是计算机网络的核心,是计算机网络中通信双方关于如何进行通信的约定规则。通信双方只有实现相同的协议,才可以正确地有效地进行信息的传输。目前协议标准一般都是由自然语言加以描述的文本,网络设备的实现者往往会对这些协议文本有不同的认识、理解,所以对网络设备的协议实现进行一致性测试是网络设备研发的必要环节。随着Internet的商业化,各种网络产品和网络应用相继出现,加速了IPv4地址的消耗,IPv6在这种情况下应运而生。随着IPv6协议栈的不断完善和支持IPv6的网络产品的日渐增多,IPv6协议替代IPv4协议是一个必然趋势。同时协议实现与协议标准的一致性问题也越来越突出,因此开发能够测试IPv6协议实现一致性的测试系统具有重要意义。本文在研究协议一致性测试原理和方法的基础上,围绕实现IPv6协议一致性测试系统这个目标,提出了协议一致性测试系统的软件架构。同时在Linux平台上实现了该系统并对IPv6基本协议进行了测试。最后本文又对协议一致性测试原理加以推广应用,设计并实现了计算机网络协议实验系统。综上所述,本文的主要特色如下:(1)协议一致性测试执行系统软件架构的设计和实现。该架构由测试代理器、测试执行器、测试接口组成。其中测试执行器和测试接口的实现是实现执行系统的关键。(2)IPv6基本协议的一致性测试。针对IPv6基本描述协议和ICMPv6设计两大组10个测试例。并利用本文设计的协议一致性测试执行系统分别对LinuxAS4.0上的IPv6和ICMPv6协议实现进行了测试,验证了本文系统的有效性和实用性。(3)本文在对协议一致性测试原理研究的基础上,设计并实现了计算机网络实验系统。为学生在学习网络原理时提供一个编写协议的平台。学生在客户端根据教师提供的函数接口和动态链接库编写、运行协议,服务器自动评判,不仅减少教师的工作量,而且有助于学生对网络协议设计的主要目标和思想的理解,提高了学习的效率。
【Abstract】 Practically, network protocols are serials of rules about computers communicating, which constitute the core of computer network. A couple of communication parties may exchange information effectively via identical network protocols. At present, the protocols are generally described by the natural language in RFC, resulting in different comprehension of different protocol developers. Thus protocol conformance test is an important step for the development of network devices.During the past years, Internet becomes more and more popular and is eventually applied in commercial use. Kinds of products and applications come forth correspondingly, which results in a huge and accelerating demand of IP addresses. Hence, IPv6 emerges that may inevitably replace IPv4 with the improvement of its protocol stack and the flourishing of related products. Moreover, it becomes an exigent problem to verify the conformance between the IPv6 protocols and its implementation, thus it has important significance to develop protocol conformance test execution system (CTES) for IPv6 protocol stack.In this research, the architecture of CTES has been proposed base on the theories and methods of conformance test. It is implemented on Linux platform and basic Ipv6 protocols are tested afterward. Furthermore, an Experiment System of Computer Network Protocol is designed and implemented which applies the principle of protocol conformance test. The detailed studies are listed as following:Firstly, propose CTES by analyzing the requirements and designing the architecture. The proposed CTES consists of three modules, including test agent, test executer and test interfaces, and the latter two ones make the key works of CTESSecondly, implement CTES with the proposed architecture. Two conformance test schemes (10 test cases) are executed for IPv6 and ICMPv6 on Linux operation system, by which many implementation errors have been found. The test results demonstrate effectiveness and practicality of the CTES.Finally, apply the principle of protocol conformance test. Based on the research of protocol conformance test, an experiment system of computer network protocol is implemented. According to the function interfaces and DLL provided by teachers, students can make up and implement protocols (such as HTTP, TCP, IP, RIP etc) to deepen the understanding of network principle . Then the server evaluates and judges their works automatically. The system not only relieves unnecessary workload of teachers, but also helps students understand the main concept and objection of network protocol design.
【Key words】 Network protocols; The principle of protocol conformance test; Test execution system; IPv6;
- 【网络出版投稿人】 西华大学 【网络出版年期】2008年 08期
- 【分类号】TP393.04
- 【被引频次】13
- 【下载频次】549