当前位置:文档之家› 一种针对模型转换的图形化建模语言

一种针对模型转换的图形化建模语言

计算机研究与发展DOI:10.7544/issn1000‐1239.2015.20148187JournalofComputerResearchandDevelopment52(9):21452162,2015 收稿日期:2014-03-07;修回日期:2014-12-16

 基金项目:国家“九七三”重点基础研究发展计划基金项目(2013CB329601);国家自然科学基金项目(61300009,61272159);中国博士后科学

基金项目(2013M540050);中央高校基本科研业务费专项资金资助项目(FRF‐TP‐14‐040A2)一种针对模型转换的图形化建模语言

何 啸

1,2 麻志毅2 邵维忠2 胡长军11

(北京科技大学计算机与通信工程学院 北京 100083)2(高可信软件技术教育部重点实验室(北京大学) 北京 100871)

(hexiao@ustb.edu.cn)

AGraphicalModelingLanguageforModelTransformations

HeXiao1,2,MaZhiyi2,ShaoWeizhong2,andHuChangjun11

(SchoolofComputerandCommunicationEngineering,UniversityofScienceandTechnologyBeijing,Beijing100083)2(KeyLaboratoryofHighConfidenceSoftwareTechnologies(PekingUniversity),MinistryofEducation,Beijing100871)

Abstract Modeltransformations,thecoreoperationswithinmodel‐drivendevelopment,areusuallyrealizedasspecialkindsofprograms.Theycanbeusedtoachievediverseconversionsamongmodels,codes,andevenstructuraldocuments.Withtherapidprogressinmodel‐drivenmethodology,modeltransformationsarebeingappliedtomoreandmorecomplicatedproblemsinindustrialprojects.Asaresult,theybecomelargeinscaleandhavecomplexstructures.Tohandlethedevelopmentcomplexityoflargetransformation,agraphicalmodelinglanguagethatcanserveasauser‐friendlynotationforanalyzinganddesigningtransformationsisrequired.ThispaperproposesVisTML(thevisualtransformationmodelinglanguage),avisualmodelinglanguageformodeltransformationprograms.VisTMLiscomprisedbysevendiagrams,includinggoaldiagram,transformationdeclarationdiagram,modeltypediagram,rulediagram,compositetransformationdiagram,testingdiagram,andconfigurationdiagram,eachofwhichincludesasetofconceptsderivedfromconcretetransformationtechnologies.VisTMLisabletocoverallthemajorphaseswhenatransformationisbeingdeveloped.Itsupportsdeveloperstodescribeatransformationfromvariousviewpointsatdifferentabstractionlevel.ModelingatransformationusingVisTMLcanhelpdeveloperscontrolthecomplexityandfacilitatetheircommunication.Then,thetoolsupportofVisTMLnamedTModelerisalsopresented.Atlast,threecasestudiesarepresentedtodemonstratethefeasibilityandtheeffectivenessofVisTML.

Keywords modeltransformation;transformationmodel;visualmodelinglanguage;developmentprocessofmodeltransformation;model‐drivendevelopment摘 要 模型转换是模型驱动开发的核心操作,它通常被实现成一种特殊的程序.模型转换可以实现不同模型、模型和代码,以及模型和各种结构化文档之间的转换.随着模型驱动方法的发展,模型转换正在被运用到越来越复杂的问题上,从而导致越来越庞大的规模和越来越复杂的程序结构.为了更好地控制转换开发过程中的复杂性,需要一种图形化的建模语言,支持对转换程序的分析和设计.提出一种针对模型转换程序的可视化建模语言VisTML(thevisualtransformationmodelinglanguage).它包含7种不同的视图,每个视图都包含一组建模概念.这些概念覆盖了整个转换程序开发过程中(从需求到部署

相关主题
文本预览
相关文档 最新文档