节点文献
TTCN-3语言中基于过程通信的编译器实现
Implementation of Compiler for Procedure-based Communication in TTCN-3 Language
【摘要】 TTCN-3是国际标准测试语言,支持基于消息通信和基于过程通信2种通信方式。为满足分布式系统和云应用平台中对远程过程调用的测试需求,提出一种基于过程通信的高效编译器设计方案,采用模块化思想,实现从TTCN-3语言到C++语言的自动化翻译,同时简化后期的执行器设计。实验结果表明,该方案可减少后期执行过程对平台的依赖性,并且翻译后的C++代码与TTCN-3代码相似,提高了代码的可维护性。
【Abstract】 Testing and Test Control Notation Version 3( TTCN-3) is an international standardized test specification language. It supports both message-based communication method and procedure-based one. To meet the test requirement of remote procedure call in distributed systems and cloud application platforms,an efficient compiler design scheme for procedure-based communication is proposed. It uses the modular idea to realize the automatic translation from the TTCN-3 language to the C + + language and simplifies the design of actuator in the later phase. Experimental results showthat this scheme can not only reduce the dependence of the execution process on the platform in later phases,but also improve the maintainability of the code due to the similarity between the compiled C + + code and the TTCN-3 code.
- 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2016年08期
- 【分类号】TP314
- 【被引频次】3
- 【下载频次】35