期刊文献+

支持MDD的代码生成、映射与逆向技术研究 被引量:5

Research on techniques of code generating,mapping and reversing serving for Model-Driven Development
在线阅读 下载PDF
导出
摘要 对代码生成、映射以及逆向技术进行了深入研究,并将研究成果应用于支持模型驱动开发的领域建模工具的研制。代码生成采用基于元数据的文本模版演化方案实现,演化机制包含宏替代、条件输出、循环输出;代码映射通过界定框架代码片段,并分别对其进行局部的代码生成、替换实现;代码逆向通过解析框架代码片段、提取模型信息实现。分析了模版设计、代码扫描所需遵循的文法。给出了软件实现方案。应用结果表明,技术与实现方案在不同的应用环境中体现出良好的适应性和可扩展性。 The research of the techniques serving for code generating,mapping and reversing is explained,and the corresponding applications into the development of the Domain-Oriented Modeling Tools which support the Model-Driven Development(MDD) are introduced.Code generating is a process of taking evolvements from the code template based on meta-data,key mechanisms for this evolvement include macro-substitution,conditionally code-exporting and circularly code-exporting.Code mapping needs to locate the code segments which mapping the corresponding model information separately,and replace them with the production of the code-generator respectively.Code reversing is realized by parsing the code segments mentioned before and extracting the model information from the segments.Grammars used to design the code templates and conformed by code-parsing are analyzed. The software implementation is also put forward.The applications in diversified environments testify the solution has good adaptability and expansibility.
出处 《计算机工程与应用》 CSCD 北大核心 2009年第28期6-9,12,共5页 Computer Engineering and Applications
基金 国家部委预研基金资助项目国家部委预研基金资助项目 第四十批中国博士后科学基金(No20060400391)~~
关键词 模型驱动开发 代码生成 代码映射 代码逆向 Model-Driven Developmen(tMDD) code generating code mapping code reversing
  • 相关文献

参考文献6

  • 1Miller J,Nu J,Ji M.MDA guide version 1.0.1[EB/OL].(2003-06- 12 ).http://www.omg.org./docs/omg/03-06-01 .pdf.
  • 2Poole J.Model-driven architecture : Vision, standards and emerging technologies [EB/OL]. ( 2002 -09 ).http ://www.omg.org/mda/mda__files/ Model-driven_Architecture.pdf.
  • 3林炜,夏宽理.基于MDA的模型转换方法研究[J].计算机工程与应用,2005,41(2):80-83. 被引量:12
  • 4陈翔,王学斌,吴泉源.代码生成技术在MDA中的实现[J].计算机应用研究,2006,23(1):147-150. 被引量:25
  • 5Wen Wei,He You,Huang Xiao-dong,et al.The design & simulation platform for the C2 system of Fleet[C]//Proceedings of the International Conference on Information Computing and Automation,Toh Tuck Link.Sinapore:World Scientific,2007:1503-1505.
  • 6黄晓冬,李伯虎,柴旭东,宋长峰.基于反射的分布交互仿真软件框架[J].北京航空航天大学学报,2007,33(8):994-999. 被引量:12

二级参考文献32

  • 1Model Driven Architecture(MDA).www.omg.org/mda.
  • 2OMG TC,MOF 2,0 Query/Views/Transformations RFP,2002.
  • 3David Akehurst.Model Translation:A UML-based specification technique and active implementation approach[D].PhD thesis.University of Kent at Cantebury,2000.
  • 4Krzysztof Czamecki,Simon Helsen.Classification of Model Transformation Approaches.www.softmetaware.com/oopsla2003/mda-workshop. html.
  • 5R Bardohl,H Ehrig.Theory and Application to Graph Transformations [C].In : TAGT'98,vol 1764 of LNCS,Springer,2000: 252-266.
  • 6Shane Sendall,Wojtek Kozaczynski.Model Transformation:The Heart and Soul of Model-Driven Software Development[J].IEEE SOVI'WARE, 2003-09/10.
  • 7Dragan Milicev.Automatic Model Transformations Using Extended UML Object Diagrams in Modeling Environments[J].IEEE SOFTWARE ENGINEERING, 2002.
  • 8Joaquin Miller, Jishnu Mukerji. MDA Guide version 1.0.1 [EB/OL]. http://www.omg.org/docs/omg/03-06-01.pdf,2003-06-12.
  • 9OMG. Model Driven Architecture(MDA) [EB/OL]. Available at Java and XSLT Eric M. Burke O'Reilly & Associates Inc, 2003.
  • 10Birgit Demuth Heinrich Hussmann, Sven Obermaier. Experiments with XMI Based Transformations of Software Models[R]. 2003.

共引文献46

同被引文献31

引证文献5

二级引证文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部