教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 法律文档 >

TOWARDS FORMAL VERIFICATION OF MODEL TRANSFORMATIONS

来源:网络收集 时间:2026-09-15
导读: varromit.bme.hu As the Unified Modeling Language is evolving into a family of languages with inpidually specified semantics, there is an increasing need for highly automated and provenly correct model transformations that would assure the

varromit.bme.hu As the Unified Modeling Language is evolving into a family of languages with inpidually specified semantics, there is an increasing need for highly automated and provenly correct model transformations that would assure the integration of

AbstractAstheUni edModelingLanguageisevolvingintoafamilyoflanguageswith

inpiduallyspeci edsemantics,thereisanincreasingneedforhighlyauto-

matedandprovenlycorrectmodeltransformationsthatwouldassuretheinte-

grationoflocalviewsofthesystem(intheformofdifferentdiagrams)intoa

consistentglobalview.Graphtransformationprovidesaneasy-to-understand

visualspeci cationtechniquetoformallycapturetherulesofsuchtransforma-

tions.Inthepaper,wesummarizetheconceptsofVIATRA,thegeneralpurpose

modeltransformationsystemtogetherwiththemajorcorrectnessrequirements

andamodelcheckingbasedveri cationmethodformodeltransformations.

Keywords:modeltransformation,modeltransitionsystems,graphtransformation,UML,

formalveri cation,

Nowadays,theUni edModelingLanguage(UML)hasbecomethedomi-natingspeci cationandmodelinglanguageforthedesignprocessofsoftware.However,despiteitsindustrialsuccessasbeingauni edandvisualnotation,theimprecisenessofUML(i.e.,thelackofformalsemantics)isstillthemajorfactorthathindersthegeneraluseofUMLasaprimarysourcelanguagefor(i)automatedtoolsofformalveri cationandvalidationexploitingtheresultsinthetheoryofformalmethods,and(ii)automatedcodegeneratorsthatwouldyieldaprovenlycorrectfunctionalcoreoftargetapplication.

Recentinitiatives(UML2.0RequestforProposal)oftheObjectManage-mentGroup(OMG)aimattore-architecturethesingleandmonolithlanguageThisworkwassupportedbytheHungarianNationalScienti cFoundationGrant(OTKA030804).

varromit.bme.hu As the Unified Modeling Language is evolving into a family of languages with inpidually specified semantics, there is an increasing need for highly automated and provenly correct model transformations that would assure the integration of

intoafamilyoflanguages(builtaroundakernelmetamodelinglanguage)eachhavingitsownwell-de nedsemantics.

However,astheformalseman-

ticsofdifferentviewsofthesystem(i.e.,separatediagramslikeclassdiagrams,statecharts,sequencediagrams,etc.)mightbede nedindifferentsemanticdomain(e.g.,byPetrinets,SOSrules,graphtransformationsystemsetc.),theintegrationofsuchlocalviewsintoaconsistentglobalviewofthesystemre-quiresaprecisespeci cationandveri cationoftransformationswithinandbetweenUMLmodels.

Inpractice,transformationsarenecessitatedforseveralpurposes:(i)modeltransformationswithinalanguageshouldcontrolthecorrectnessofconsecu-tivemodelre nementsteps,(ii)modeltransformationsbetweendifferentlan-guagesshouldprovideprecisemeanstoprojectthesemanticcontentofadia-gramintoanotherone,whichisindispensableforaconsistentglobalviewofthesystemunderdesign,and(iii)avisualUMLmodel(i.e.,asentenceintheUMLlanguagefamily)shouldbetransformedintoitssemanticdomain(calledmodelinterpretation).

AstheabstractsyntaxofUMLmodelsisde nedvisuallybyacorrespond-ingmetamodel.Astraightforwardrepresentationofsuchmodelscanrelyontheuseofdirected,typed,andattributedgraphsastheunderlyingsemanticdomain.Therefore,theuseofgraphtransformation[7]forcapturingthese-manticsofUMLmodelsandtheirtransformationsisanaturalchoicewhichalso tswelltoengineeringpracticesasaconsequenceofitsvisualexpres-siveness[3,4,9,11].

However,duetoahugeabstractiongapbetweenvisualUMLmodelsandformalmathematicaldescriptions,thespeci cationandimplementationofmodeltransformationsystemsarehighlypronetohumanerrors,whichnecessitatesahighlyautomatedveri cationandprogramgenerationmethodforsuchsys-tems.

VIATRA(VIsualAutomatedmodel

TRAnsformations[11],seeFigure1)isaprototypetoolbeingdevelopedattheBudapestUniversityofTechnologyandEconomics,thatprovidesagen-eralmeanstospecify,implementandverifyvariousmodeltransformations(tailoredespeciallytoUML-basedtransformations).

1AsthebeginningofatypicalinteractionwithVIATRA,thetransforma-tiondesignerconstructsthemetamodelsofthesourcelanguage(typi-callyUMLitself)andthetargetlanguages(formalmodelssuchasPetriNets,Kripkeautomaton,etc.)intheformofUMLclassdiagramsex-portedintothestandardXMIformat.

varromit.bme.hu As the Unified Modeling Language is evolving into a family of languages with inpidually specified semantics, there is an increasing need for highly automated and provenly correct model transformations that would assure the integration of

1

TheVIATRAenvironment

2Afterwards,thetransformationrulesarespeci edinavisualnotationbasedonaUMLpro letailoredtographtransformationsystems.

3Fromthisvisualdescription,themodeltransformationprogramisgener-atedautomaticallyintheformofaPrologprogram(see[10]forfurtherdetailsonautomatedprogramgenerationinVIATRA).

4ThisPrologprogramtakesasourceUMLmodelasinputandgeneratesthetargetmathematicalmodelastheoutput(sinceallmodelsarerepre-sentedinVIATRAusingtheXMIstandardtheunderlyingPrologengineishiddenfromtheuser).

5Theresultsofthemathematicalanalysiscanbeback–annotatedintothesourcelanguagebyadditionalmodeltransformations.

ThemaincontributionoftheVIATRAapproachisits exibilityandpre-cisenessforautomatedmodeltransformationsaimingattoinvestigateandfor-mallyverifyUMLmodelsfromdifferentaspects(suchaslogicalcorrectness,dependabilityandperformabilityanalysis).However,suchatransformationbasedautomaticmodelgenerationapproachmightnotassureahigherqualityofsystemveri cation,unlessthefaithfulnessandconsistencyofUMLmodelsandtheabstractmathematicalstructuresofformalanalysiscanbeguaranteed(preferably,formallyproven).Inthecurrentpaper,afterabriefsummaryofconceptswediscussthemajorcorrectnessrequirementsandamodelcheckingbasedveri cationapproachofmodeltransformationsystems.

WeinformallysummarizebelowthemajormodeltransformationconceptsofVIATRA.Models(andmetamodels,whichdescribetheabstractsyntaxof

varromit.bme.hu As the Unified Mo …… 此处隐藏:17015字,全部文档内容请下载后查看。喜欢就下载吧 ……

TOWARDS FORMAL VERIFICATION OF MODEL TRANSFORMATIONS.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/1412933.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)