首页 | 本学科首页   官方微博 | 高级检索  
     

TTCN-3数据系统到Java的翻译方案
引用本文:邹志斌,李 允,张晓先.TTCN-3数据系统到Java的翻译方案[J].计算机工程,2014(1):280-282,286.
作者姓名:邹志斌  李 允  张晓先
作者单位:[1]电子科技大学计算机科学与工程学院,成都611731 [2]普华基础软件股份有限公司,上海200233
摘    要:TTCN-3数据系统的实现在遵照TTCN-3标准的基础上,还需要支持数据兼容等特性。针对该问题,给出一种TTCN-3数据系统到Java的翻译方案。利用Java语言具有的继承、多态等面向对象的特色,借鉴抽象工厂设计模式,通过检视分析翻译生成代码。证明该方案符合TTCN-3标准规定,并清晰地体现数据系统中的数据类型和数据值的功能区分。该方案支持不同数据类型的兼容和数据值之间的比较,并易于扩展。

关 键 词:TTCN-语言  符合性测试  数据系统  数据类型  数据值  Java语言

Translation Scheme of Data System in TTCN-3 into Java
ZOU Zhi-bin,LI Yun,ZHANG Xiao-xian.Translation Scheme of Data System in TTCN-3 into Java[J].Computer Engineering,2014(1):280-282,286.
Authors:ZOU Zhi-bin  LI Yun  ZHANG Xiao-xian
Affiliation:1. School of Computer Science and Engineering, University of Electronic Science & Technology of China, Chengdu 611731, China; 2. i-Soft Infrastructure Software Co., Ltd., Shanghai 200233, China)
Abstract:For implementation of data system of TTCN-3, it is a mandatory request to support several features, e.g. type capability, while in accordance with standards of TTCN-3. In order to solve this problem, this paper gives a translation scheme from TTCN-3 into Java, which utilizes Java's object-oriented natures such as inherence and polymorphism, and refers the abstract factory pattern. To inspect and analyze the outcome code, it is concluded that this scheme makes a clear functional separation of data type and value. Besides, this scheme supports compatibility between different data types and comparison between different data values, and is easy to be extended.
Keywords:TTCN-3  compliance test  data system  data type  data value  Java
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号