文档介绍:华中科技大学
硕士学位论文
光传输设备自动化测试平台的设计与实现
姓名:余蕾
申请学位级别:硕士
专业:软件工程
指导教师:沈刚
2010-01-16
华中科技大学硕士学位论文
摘要
SDH ( Synchronous Digital Hierarchy 全称为同步数字体系统)在 PDH
(Plesiochronous Digital Hierarchy)理论的基础上,规范了在传输过程中数据的帧结
构等内容。基于该原理的新一代光网络传输设备是适用于长输骨干层网络和城域核
心层的光通信产品,因此稳定性和可靠性等质量的要求是重要的考虑因素。而对于
产品的测试,是设备产品质量保证中最核心、最关键的一环。
传统的硬件测试方法就是在产品在逐步研发的过程中,由测试人员采用手工或
辅助小型自动化测试工具的形式进行单元测试、集成测试和系统测试。但光传输设
备系统本身模块数量非常庞大,某些测试用例很难用手工测试的方式完成,并且测
试用例覆盖率也非常有限,这传统的测试方法最终会导致遗漏掉很多潜伏的错误和
故障。这些故障若在产品研发后期或产品被交付使用之后才显露出来,将会大大提
高了解决这些故障的成本,急剧增加的项目管理的风险,同时也降低了用户对于该
产品的信赖度。
面对硬件系统手工测试遇到的瓶颈,人们提出了新的解决方案——研发专门针
对于传输设备的自动化测试的软件平台 HTP(Hardware Testing Platform)。HTP 平台
是采用 Python 语言在 ISEE 综合测试平台上的第二次开发,通过向设备 Qx 口下发
报文或检测上报报文,实现对传输设备功能性和非功能性的测试,最后将测试用例
执行结果输出在客户端的界面上。测试人员可根据测试用例执行日志,分析故障产
生的原因,从而全面有效的解决故障。平台能大大提高测试用例的覆盖率和有效性、
缩短测试阶段在整个产品研发周期中占有率,对提高传输设备的测试有效性具有重
要的实践意义。
关键词:自动化测试平台面向对象综合测试平台报文处理
I
华中科技大学硕士学位论文
Abstract
Compare to PDH(Plesiochronous Digital Hierarchy) theory, SDH(Synchronous Digital
Hierarchy) formulates frame structure and so on. Based on the principle of a new
generation of work transmission equipment is applicable to long-distance
work and the metro-core layer-layer munication products.
Traditional hardware testing methods is in the product development process step by
step, from the use of manual testers, unit testing, integration testing and system testing.
However, optical transmission equipment system itself is a very large number of modules,
some test cases it is difficult to manually test manner, and the test coverage is very limited,
this traditional test methods will eventually lead to missing out a lot of potential errors and
failures. These failures, if late in the product development or product has been exposed after
delivery will significantly increase the cost to address these failures, a sharp increase in the
risk of project management, but also reduces the user for the product reliability.
The face of the hardware