一种B语言描述的需求模型到PIM的转换方法  

An Approach to the Transformation from the Requirement Model Described by the B Language to the Platform-Independent Model

在线阅读下载全文

作  者:曾一[1] 王艳丽[1,2] 洪媛[1] 王健[1] 刘引 

机构地区:[1]重庆大学计算机学院,重庆400030 [2]武警广州指挥学院,广东广州510440 [3]重庆农村商业银行,重庆400020

出  处:《计算机工程与科学》2010年第3期85-88,共4页Computer Engineering & Science

摘  要:MDA为软件的自动化构造提供了一种良好的途径,但是MDA更多地关注PIM到PSM的转换,却忽视了需求阶段对PIM精确性的影响。本文针对这种问题,首先对MDA的基本过程进行改进,提出对需求进行必要的形式化描述的思路,使得需求模型到PIM的转换变得更为容易,从而达到增强PIM精确性的目的;其次,通过对三种形式化语言的对比研究,发现B语言在需求模型的表示及转换方面具有优势,并结合例子展示了如何使用B语言对软件需求进行形式化描述;最后,本文结合模型转换框图,给出了B方法和类图的ecore元模型的图形化描述,进一步给出了用B语言描述的需求模型到PIM的基本转换规则,并借助JavaCC、JJTree和ATL插件等工具实现了需求模型到PIM的转换。MDA provides a nice approach for the automatic construction of software, but pays more attention to the transformation from PIM to PSMs, and neglects that the stage of requirement which affects the accuracy of PIM. In view of such problems, firstly, the paper improves the basic process of MDA, puts forward to the idea that requirements are necessary to be formally described, then the transformation from the requirement model to PIM becomes easier, thus the intention to enhance the accuracy of PIM is achieved. Secondly, by means of the contrast research to three formal languages, the advantages that the B language has in the expression and transformation aspects of the requirement model are found, and the example for how to use the B language to formally describe software requirements is shown. Finally, by combining the framework of model transformation, the graphic descriptions for the 13 method and the Class Diagram ecore recta-model are given, and further the basic transformation rule from the requirement model described by the B Language to PIM is offered. With the help of tools such as JavaCC, JJTree and ATL plugin, the transformation from the requirement model to PIM is implemented.

关 键 词:MDA 软件需求 B语言 ATL 模型转换 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象