摘要
为缩小应用前端与系统结构模型之间的鸿沟,提出将交互流建模语言模型(IFML)直接映射为服务内容模型(SCM)的方法。首先,分析IFML和SCM元模型元素的特点,设计IFML模型元素至SCM模型元素的映射规则;然后,利用查询视图转换操作语言(QVTo)描述映射规则,并在IBM Rational Software Architect(RSA)平台上执行QVTo引擎,完成IFML模型至SCM模型的自动映射;最后,应用网上购物系统演示模型映射的执行结果,利用形式语义验证IFML模型与SCM模型之间的一致性。实验结果表明,应用前端的视图容器、动作和事件等元素与系统结构之间存在很强的一致性,IFML模型至SCM模型的自动映射可使系统的内容模型设计更加符合用户需求,从而有效提高软件开发质量和效率。
In order to reduce the gap between the application front-end and the system structure model,an approach of mapping the interactive flow modeling language(IFML)model into the service content model(SCM)model is proposed. Firstly,the meta model of the IFML and SCM are analyzed,and the mapping rules from the IFML model elements to SCM model elements are designed. Secondly,the mapping rules are described by Query View Transformation Operational(QVTo),and are implemented by the QVTo engine on the IBM Rational Software Architect(RSA)platform to complete the automatic mapping. Finally,the online shopping system is applied to demonstrate the executing results of the model mapping,and the consistency between the IFML model and the SCM model is validated by formal semantics. The experimental results show that there is a strong consistency between the elements such as view container,action and event in the application front-end and the system structure. Thus,the automatic mapping from IFML model to SCM model can make the content model design of the business system more in line with the user requirements,and effectively improve the quality and efficiency of software development.
作者
李宗花
LI Zong-hua(School of Computer Science and Technology,Huaiyin Normal University,Huai’an 223300,China)
出处
《软件导刊》
2022年第9期57-62,共6页
Software Guide
基金
国家自然科学基金项目(61902141)
教育部人文社会科学研究青年基金项目(19YJCZH095)。
关键词
交互流建模语言
模型映射
服务内容模型
查询视图转换操作
interactive flow modeling language
model mapping
service content model
query view transformation operational