节点文献
MDA模型转换平台中模型转换方法的研究与实现
Research and Implementation on Model Transformation Method in MDA Model Transformation Platform
【作者】 戚铁林;
【导师】 李亚芬;
【作者基本信息】 北京工业大学 , 控制科学与工程, 2010, 硕士
【摘要】 随着社会信息化、电子化程度的不断提高,基于Web的软件技术得到了空前的发展。但与此同时,在传统软件开发中,随着项目的推进,设计阶段产生的模型与代码间的同步维护变得更加困难。用户需求和实现技术的变化,使系统代码也不断变换,造成了软件开发效率低、互操作性差、移植性差以及维护成本高等问题。为了解决上面出现的问题促使软件技术不断发展,OMG(Object Management Group)提出了一种描述、建立系统的新方法,即模型驱动架构(Model Driven Architecture,MDA)。软件行业也越来越关注和研究这项技术,并力争通过它实现新变革。目前,国内外对MDA研究最多的是模型转换技术,它也是实现MDA的关键。本文结合Web应用系统的特点,在研究和实现方面,完成了如下工作:(1)针对目前MDA研究现状和MDA工具的不足,设计面向Web应用系统的模型转换平台,并确定以模型转换模块为整个模型转换平台的核心。(2)分析与设计了模型转换平台的输入模型和输出模型。源模型的设计中,将功能性需求和非功能性需求(MVC)相结合,将源模型以三元组形式表示,分别是平台信息模型、界面模型、业务模型。又将业务模型分为静态结构模型和动态行为模型,并对其详细设计。同样目标模型也由三个部分组成,Web配置文件、三层架构模型、关系模型。根据Web应用的特点,抽象出架构模型和关系模型的关键信息,使目标系统符合模型驱动开发的要求。(3)针对模型转换平台中模型转换部分的研究与实现要求,参考当前主流的模型转换方法,采用基于元模型间映射的思想上结合RDL规则语言实现模型转换。分别从总体和部分两个角度定义了源模型和目标模型映射关系,尽量满足模型转换细节的功能要求,完成模型转换规则编写。通过增加保存转换步骤信息和模型验证环节,提高模型转换质量,确保模型转换过程的实现。(4)本文还对模型转换平台的图形化用户界面做了实现。通过交互式页面的设计,提高了软件的实用性和友好性。除此之外,提出了模型转换平台可扩展性的思路,以上两点都是本文研究的特色之处。(5)以一个Web应用系统的开发为例,捕获用户需求,以文中提出的模型转换方法完成Web应用系统模型转换,进一步证明了所提出方法的可操作性。最后,本文对研究工作进行了总结,提出了下一步的工作展望。
【Abstract】 The software technique based on Web has been developed unprecedented with the continuously improvement in informatization and electronization of the society. Meanwhile, it has been made more difficult that synchronized maintaining between the models generated in designing stage and the codes, in traditional software developing with the push of the item.The changing of the demand of the customers and implementation technique causes the changing of the system code continually. These lead to the inefficiency in software development, interoperability , portability and high maintaining cost. In order to solve the problems above and accelerate the continuously development in software technique, OMG(Object Management Group)bring forward MDA (Model Driven Architecture) which is a new way to describe and establish system. This technique is more and more concerned and researched in order to achieve new change.Nowadays, the research of MDA is mostly focus on the model transformation technique which is the point of MDA implement. This article contains the works below combining the characters of Web application in research and implement.(1) The article designs the model tansfermation platform facing the Web application system and confirms the model transformation modul as the core, aiming at the MDA research situation and lack of tools.(2) The artielce anlysizes and designs the input and output models of the model tansfermation platform. It combines the functional demands and non-functional demands (MVC), and describe the source model as platform imformation model, interface model and business model, meanwhile describe the business model as static structure model and dynamic structure with details. And source model is formed by Web configuration files, architecture model and association model. It abstracts the key information of association model and association model according to the character of Web application to make the target system sytisfied by the MDA demand.(3) It indroduces the model implement based on the mapping of meta model with RDL rule aiming at the research and implement demand in model transformation platform. It defines the mapping relationship between the source model and target model totally and partially so that the details of the demand of model transfermaiton could be met and transformation rules could be compiled. And it improves the model transfermaiton quality and comfirms the implement of model transfermaiton process through increasing the information of steps saving the transfermaiton and model transfermaiton validation.(4) It brings out the GUI of the model transformation platform improved the practicability and friendliness of the software through interactive interface, and additionally brings forward the thinking of extension of model transformation platform.(5) It furtherly improves the flexibility of the method through capturing usre’s demands in a Web application system development and completing the transfermaiton using the method mentioned above.Finally, it summarizes the research and brings forwords the prospect.
【Key words】 Web application development; Model Driven Architecture; Model transformation; RDL;