ISSN1000?9825,CODEN
RUXUEW
JournalofSoftware,V01.17,No.6,June2006,PP.1411—1422
DOI:10.1360/josl71411
@2006byJournalofSoftware.All
rightsreserved.
模型驱动架构中模型构造与集成策略
刘静1+,何积丰1,缪淮扣2
1(华东师范大学软件学院,上海200062)
2(上海大学计算机科学与工程学院,上海200072)
AStrategyfor
Model
ConstructionandIntegrationin
MDA
LIUJin91+,HEJi.Fen91,MIAO
Huai—Kou2
1(SoftwareEngineeringInstitute,EastChinaNormalUniversity,Shanghai200062,China)2(SchoolofComputerScienceandTechnology,ShanghaiUniversity,Shanghai200072,China)
+Corresponding
author:Phn:+86—21—62232554,E—mail:jifeng@sei.ecnu.edu.ca,http://www.sei.ecnu.edu.ca
E—mail:jos@iscas.ac.cnhttp:#www.jos.org.cn
Tel/Fax:+86.10—62562563
LiuJ,HeJF,MiaoHK.AstrategyformodelconstructionandintegrationinMDA.JournalofSoftware,
2006,17(6):1411—1422.http://www.jos.org.cn/1000—9825/17/1411.htm
Abstract:
Atthe
core
of
MDD(model
drivendevelopment)aretheconceptsofmodelandits
transformation
and
refinement.Unifiedmodelinglanguage(UML)isselectedbyobjectmanagementgroup(OMG)asa
standard
modelinglanguageandmodeldrivenarchitecture(MDA)isconstructed
on
it.However,UMLmodels
are
not
preciselydescribed.especially
in
semantics.Thusthemodelsdevelopedindifferentphases
or
constructedin
differentviewsarenoteasilytobeintegratedtogetherin
MDA.In
thispaper,based
on
HoareandHe’sunifying
theoriesofprogramming(UTP),amethodisproposedtocombinetherefinementcalculusofobjectsystems(rCOS)
witll
UML
is
proposedtoincreasetheprecisionandtransformationabilityofthe
models.Models
at
different
abstractlevelsanddifferentviews
are
constructedandintegratedtogethertoform
a
unifiedmodelingsystem.
Keywords:
modeldriven
architecture(MDA);UTP;model;component;formalmethod
摘要:模型驱动式开发是以模型构造、模型转换和精化为核心的.对象管理组织OMG选择将统一建模语言
UML作为标准建模语言,并将其作为模型驱动架构MDA的支持平台.但UML模型缺乏严格的语义,不同视角和不同开发阶段的模型很难集成,所以目前MDA中各种模型之间是脱节的.基于统一程序设计理论UTP,将对象精化演算系统rCOS与UML结合起来,提高了UML模型的精确性与模型转换能力.建立模型驱动式开发中不同层次、不同视角的相关模型并将它们集成起来,建立了一个统一的模型系统.
关键词:
模型驱动架构(MDA);UTP;模型;构件;形式方法
中图法分类号:TP301
文献标识码:A
模型驱动式软件开发(model
driven
development,简称MDD)就是对实际问题进行建模,并转换、精化模型,
?SupportedbytheNationalNaturalScienceFoundationofChinaunderGrantNo.60373032(国家自然科学基金);theNationalGrand
Fundamental
Research973ProgramofChinaunderGrantNos.2002CB312001,2005CB321904(国家重点基础研究发展规划(973));the
NaturalScienceFoundationof
Shanghai
ofChinaunderGrant
No.05ZRl4052(上海市自然科学基金)
Received2006—01一18:Accepted2006-03?28
万方数据