Abstract:
Testing and Test Control Notation Version 3(TTCN-3) is an international standardized test specification language.It supports both messagebased communication method and procedurebased one.To meet the test requirement of remote procedure call in distributed systems and cloud application platforms,an efficient compiler design scheme for procedurebased 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 show that 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.
Key words:
Testing and Test Control Notation Version 3(TTCN-3) language,
test system,
procedurebased communication,
automated compiler,
compile module
摘要: TTCN-3是国际标准测试语言,支持基于消息通信和基于过程通信2种通信方式。为满足分布式系统和云应用平台中对远程过程调用的测试需求,提出一种基于过程通信的高效编译器设计方案,采用模块化思想,实现从TTCN-3语言到C++语言的自动化翻译,同时简化后期的执行器设计。实验结果表明,该方案可减少后期执行过程对平台的依赖性,并且翻译后的C++代码与TTCN-3代码相似,提高了代码的可维护性。
关键词:
TTCN-3语言,
测试系统,
基于过程通信,
自动化编译器,
编译模块
CLC Number:
JIANG Fan,FAN Xiuping. Implementation of Compiler for Procedurebased Communication in TTCN-3 Language[J]. Computer Engineering.
蒋凡,范秀萍. TTCN-3语言中基于过程通信的编译器实现[J]. 计算机工程.