首页> 中文期刊> 《计算机工程》 >TTCN-3数据系统到Java的翻译方案

TTCN-3数据系统到Java的翻译方案

             

摘要

TTCN-3数据系统的实现在郌照TTCN-3标准的基础上,还需要支持数据兼容等特性。针对该问题,给出一种TTCN-3数据系统到Java的翻译方案。利用Java语言具有的继承、多态等面向对象的特色,借鉴抽象工厂设计模式,通过检视分析翻译生成代码。证明该方案符合 TTCN-3标准规定,并清晰地体现数据系统中的数据类型和数据值的功能区分。该方案支持不同数据类型的兼容和数据值之间的比较,并易于扩展。%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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号