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

AADL构件到RTLinux平台C代码的转换方法研究*
引用本文:朱江,张茂林.AADL构件到RTLinux平台C代码的转换方法研究*[J].计算机应用研究,2011,28(12):4613-4615.
作者姓名:朱江  张茂林
作者单位:北京航空航天大学计算机学院,北京,100191
基金项目:国家自然科学基金资助项目(60940027);内蒙古自然科学基金资助项目(2010MS0906)
摘    要:为了提高嵌入式软件开发的自动化程度,代码自动生成是一种值得采用的有效方法.在研究体系结构分析与设计语言(AADL)和RTLinux(real-time Linux)平台C代码的特性的基础上,提出了AADL构件到RTLinux平台C代码的转换规则;然后用一个实例实现了代码自动生成,从而验证了转换规则的有效性.

关 键 词:体系结构分析与设计语言  构件  转换规则  代码自动生成

Research of transformation method from AADL components to C code in platform of RTLinux
ZHU Jiang,ZHANG Mao-lin.Research of transformation method from AADL components to C code in platform of RTLinux[J].Application Research of Computers,2011,28(12):4613-4615.
Authors:ZHU Jiang  ZHANG Mao-lin
Affiliation:(College of Computer & Information Engineering, Inner Mongolia Normal University, Hohhot 010022, China)
Abstract:Because the current research about code plagiarism detection mostly based on program source code similarity, lacking of grammatical analysis to code, ignoring the syntax and semantics of the program, can not effectively detect plagiarism to the slight modification of the structure.This paper presented a code plagiarism detection based on the AST. It pre-formated code, analysis lexical and syntax and obtained the corresponding AST. Then it traversed AST to generate code sequences, calculated the similarity of the code sequence and got the code plagiarism detection report. Experimental results show that the approach can verify the C code plagiarism effectively, and it has some versatility and scalability on the C++,Java and other plagiarism detection program code.
Keywords:AADL(architecture analysis and design language)  component  transformation rules  code generation
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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