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

计算机工程 ›› 2012, Vol. 38 ›› Issue (04): 263-265. doi: hzshi@ict.ac.cn

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

基于TCL的6LoWPAN协议一致性测试

杨德兴,刘钦明,魏 磊,史红周   

  1. (中国科学院计算技术研究所,北京 100190)
  • 收稿日期:2011-07-12 出版日期:2012-02-20 发布日期:2012-02-20
  • 作者简介:杨德兴(1986-),男,硕士研究生,主研方向:普适计算,嵌入式系统;刘钦明、魏 磊,硕士研究生;史红周,高级工程师、博士
  • 基金资助:
    国家发改委CNGI专项基金资助项目“下一代互联网关键设备测试标准规范”(CNGI-09-03-02)

Conformance Test of 6LoWPAN Protocol Based on TCL

YANG De-xing, LIU Qin-ming, WEI Lei, SHI Hong-zhou   

  1. (Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China)
  • Received:2011-07-12 Online:2012-02-20 Published:2012-02-20

摘要: 针对6LoWPAN协议,提出一种基于TCL的一致性测试系统。在该系统中,界面控制部分提供用户操作和结果查看等功能,测试执行部分提供用例解释执行、结果分析等功能,底层通信部分提供物理层收发的功能。使用TCL脚本语言设计测试用例和扩展命令,从而增强系统的可扩展性。对Contiki系统中的uIPv6协议栈进行测试,结果表明,该测试系统的可扩展性较好,可满足6LoWPAN协议的一致性测试要求。

关键词: 6LoWPAN协议, 802.15.4标准, IPv6协议, TCL脚本语言, 一致性测试, uIPv6协议栈

Abstract: For 6LoWPAN protocol, this paper proposes a conformance test system based on TCL. The system consists User Interface(UI) control, test execution and device communication. Through the UI control, users can interact with the system and view results. The test execution module can provide test case execution, results analysis and so on. The device communication provides physical layer transceiver function. By using TCL script language to design test cases and extend commands, the system scalability is enhanced. The Contiki uIPv6 stack is tested and the results show that this system has the quality of expansibility, and can meet the 6LoWPAN protocol conformance test requirements.

Key words: 6LoWPAN protocol, 802.15.4 standard, IPv6 protocol, TCL script language, conformance test, uIPv6 protocol stack

中图分类号: