计算机研究与发展
計算機研究與髮展
계산궤연구여발전
Journal of Computer Research and Development
2015年
9期
2145-2162
,共18页
何啸%麻志毅%邵维忠%胡长军
何嘯%痳誌毅%邵維忠%鬍長軍
하소%마지의%소유충%호장군
模型转换%转换模型%可视化建模语言%模型转换开发过程%模型驱动开发
模型轉換%轉換模型%可視化建模語言%模型轉換開髮過程%模型驅動開髮
모형전환%전환모형%가시화건모어언%모형전환개발과정%모형구동개발
model transformation%transformation model%visual modeling language%development process of model transformation%model-driven development
模型转换是模型驱动开发的核心操作,它通常被实现成一种特殊的程序。模型转换可以实现不同模型、模型和代码,以及模型和各种结构化文档之间的转换。随着模型驱动方法的发展,模型转换正在被运用到越来越复杂的问题上,从而导致越来越庞大的规模和越来越复杂的程序结构。为了更好地控制转换开发过程中的复杂性,需要一种图形化的建模语言,支持对转换程序的分析和设计。提出一种针对模型转换程序的可视化建模语言VisTML(the visual transformation modeling language)。它包含7种不同的视图,每个视图都包含一组建模概念。这些概念覆盖了整个转换程序开发过程中(从需求到部署运行)的所有主要阶段,支持开发人员在不同的抽象层次基于不同视角刻画模型转换。用VisTML对转换程序进行建模,有助于控制其复杂性,并促进开发人员的相互沟通与分工合作。最后介绍了VisT M L的支持工具T M odeler ,并且通过3个案例论证VisT M L的可行性与有效性。
模型轉換是模型驅動開髮的覈心操作,它通常被實現成一種特殊的程序。模型轉換可以實現不同模型、模型和代碼,以及模型和各種結構化文檔之間的轉換。隨著模型驅動方法的髮展,模型轉換正在被運用到越來越複雜的問題上,從而導緻越來越龐大的規模和越來越複雜的程序結構。為瞭更好地控製轉換開髮過程中的複雜性,需要一種圖形化的建模語言,支持對轉換程序的分析和設計。提齣一種針對模型轉換程序的可視化建模語言VisTML(the visual transformation modeling language)。它包含7種不同的視圖,每箇視圖都包含一組建模概唸。這些概唸覆蓋瞭整箇轉換程序開髮過程中(從需求到部署運行)的所有主要階段,支持開髮人員在不同的抽象層次基于不同視角刻畫模型轉換。用VisTML對轉換程序進行建模,有助于控製其複雜性,併促進開髮人員的相互溝通與分工閤作。最後介紹瞭VisT M L的支持工具T M odeler ,併且通過3箇案例論證VisT M L的可行性與有效性。
모형전환시모형구동개발적핵심조작,타통상피실현성일충특수적정서。모형전환가이실현불동모형、모형화대마,이급모형화각충결구화문당지간적전환。수착모형구동방법적발전,모형전환정재피운용도월래월복잡적문제상,종이도치월래월방대적규모화월래월복잡적정서결구。위료경호지공제전환개발과정중적복잡성,수요일충도형화적건모어언,지지대전환정서적분석화설계。제출일충침대모형전환정서적가시화건모어언VisTML(the visual transformation modeling language)。타포함7충불동적시도,매개시도도포함일조건모개념。저사개념복개료정개전환정서개발과정중(종수구도부서운행)적소유주요계단,지지개발인원재불동적추상층차기우불동시각각화모형전환。용VisTML대전환정서진행건모,유조우공제기복잡성,병촉진개발인원적상호구통여분공합작。최후개소료VisT M L적지지공구T M odeler ,병차통과3개안례론증VisT M L적가행성여유효성。
Model transformations ,the core operations within model‐driven development ,are usually realized as special kinds of programs .They can be used to achieve diverse conversions among models , codes ,and even structural documents .With the rapid progress in model‐driven methodology ,model transformations are being applied to more and more complicated problems in industrial projects .As a result ,they become large in scale and have complex structures .To handle the development complexity of large transformation ,a graphical modeling language that can serve as a user‐friendly notation for analyzing and designing transformations is required . This paper proposes VisTML (the visual transformation modeling language) ,a visual modeling language for model transformation programs . VisTML is comprised by seven diagrams , including goal diagram , transformation declaration diagram ,model type diagram ,rule diagram ,composite transformation diagram ,testing diagram ,and configuration diagram ,each of which includes a set of concepts derived from concrete transformation technologies .VisT M L is able to cover all the major phases w hen a transformation is being developed . It supports developers to describe a transformation from various viewpoints at different abstraction level .Modeling a transformation using VisTML can help developers control the complexity and facilitate their communication .Then ,the tool support of VisTML named TModeler is also presented . At last ,three case studies are presented to demonstrate the feasibility and the effectiveness of VisTML .