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

支持MDA的设计模式建模与模型转换方法研究
引用本文:曾一,周吉,孙政,许林.支持MDA的设计模式建模与模型转换方法研究[J].计算机工程与应用,2012,48(1):76-80.
作者姓名:曾一  周吉  孙政  许林
作者单位:重庆大学计算机学院,重庆,400030
摘    要:设计模式是描述某一类问题的通用解决方案,可以提高软件开发的可重用性,但在设计模式建模中存在模式消失和模式组合复杂化等问题,模型的可扩展性低,不利于模型到代码的自动化转换。由此,在MDA框架下,引入角色的建模思想,提出了一种基于Ecore的设计模式建模和模型转换方法,该方法在元模型层抽象并扩展了设计模式通用元素的元模型,使得不同的模式组合模型通过对相同的模式元素元模型进行转换可以获得相应的应用模型,从而增强了设计模式建模的可扩展性和模型转换的通用性,为MDA框架中设计模式建模和模型转换提供了一种有效的途径。

关 键 词:设计模式  模型转换  模型驱动架构  模式通用元素  元模型
修稿时间: 

Research on MDA-supported design pattern modeling and model transformation method
ZENG Yi , ZHOU Ji , SUN Zheng , XU Lin.Research on MDA-supported design pattern modeling and model transformation method[J].Computer Engineering and Applications,2012,48(1):76-80.
Authors:ZENG Yi  ZHOU Ji  SUN Zheng  XU Lin
Affiliation:College of Computer Science, Chongqing University, Chongqing 400030, China
Abstract:Design pattern is a common solution for describing one kind of problems in software development, which helps to improve the reusability in software development. However, it suffers from the pattern lost and complicated pattern combination problems and as a result the design model performs not so well in auto transformation to code. This paper proposes a design pattern method based on Ecore and also a model transformation method in MDA. By introducing role concept in model constructing, it abstracts and extends the generic elements of meta-models of design pattern in the meta-model layer, so as to make different pattern combination models transform on the same elements of pattern meta-models to obtain their corresponding application models. The proposed method improves the extendibility of the design pattern modeling and the availability of model transformation, which provides an effective way to the model constructing and transformation in MDA.
Keywords:design patterns model transformation Model Driven Architecture(MDA) generic elements of pattern meta-model
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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