摘要
模型驱动的体系结构(MDA)开发方法是以模型作为软件开发的主线,基于统一建模语言(UML)创建的模型不能很好地起到衔接用户需求和代码的桥梁作用,而且模型中存在不同的视角.在元对象设施(MOF)的基础上,定义了SACRED元模型,使用主题和映射来解决基于UML建模的缺陷.主题的引入为用户需求到模型增加了新的转换桥梁,采用映射方式实现了平台无关模型(PIM)到平台相关模型(PSM)的转化,使得模型不需要关注系统细节,降低了元模型的复杂度.阐述了基于SACRED元模型的开发过程,并研制了一个基于SACRED元模型的MDA工具PureX.通过一个实例说明了该元模型以及软件开发过程的有效性.与UML相比,该模型具有建模元素简单、不同阶段、不同角色模型一致、支持双向开发、便于模型复用等优点.
Model driven architecture (MDA) development method regards model as the axis in software development. Traditional unified modeling language (UML) generated model cannot link up the users' requirement and the code very well and has various views. Based on meta object facility (MOF), a meta model named SACRED (Subject, Act ion, Constrain, Relation, Event, Data) was defined to solve the deficiency of UML modeling by using subject and mapping. Introduction of subject adds new swift bridge from use's demand to model, and mapping-realizes the swift from platform independent model (PIM) to platform specific model (PSM), which enabling the model not to focus on the system's details so as to reduce the complexity of meta model. And the software development process based on the SACRED meta model was proposed. A tool named PureX based on the SACRED meta model was also introduced. Finally an example was put forward to illustrate the SACRED meta model and the software development process. Compared to UML, the model features simple modeling elements, consistency of model diagram in different stage and for different character, supporting two-way development, and easy reuse of model, etc.
出处
《浙江大学学报(工学版)》
EI
CAS
CSCD
北大核心
2007年第9期1541-1545,1551,共6页
Journal of Zhejiang University:Engineering Science
基金
国家自然科学基金资助项目(60475025)
高等学校博士学科点资助项目(20050335096)