作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (23): 45-47,5. doi: 10.3969/j.issn.1000-3428.2007.23.016

• 软件技术与数据库 • 上一篇    下一篇

一种基于语义重构的模型映射方法

杨 潇,万建成,侯金奎   

  1. (山东大学计算机科学与技术学院,济南 250061)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-05 发布日期:2007-12-05

Model Mapping Approach Based on Semantics Reconstruction

YANG Xiao, WAN Jian-cheng, HOU Jin-kui   

  1. (School of Computer Science and Technology, Shandong University, Jinan 250061)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-05 Published:2007-12-05

摘要: 通过对模型描述语言的语法结构和语义表达特性的抽象分析,提出了一种基于语义重构的模型映射方法。该方法通过归纳分析建立抽象目标语义模型,基于源模型语义域在目标语义域中的重新构造,以目标语义模型为中介建立源模型到目标模型的映射关系。该方法不仅可为模型转换的具体实现提供理论指导,还可为验证不同抽象层次模型之间映射关系的正确性提供依据。以JSF+EJB为目标平台阐述了该方法的应用。

关键词: 模型驱动开发, 模型映射, 语义重构, 语义一致性

Abstract: By abstractly analyzing the characteristic of syntax and semantics of modeling languages, a model mapping approach based on semantic consistency is proposed. To use this approach, abstract target semantic model should be constructed firstly. Then, based on the idea of elements in source semantic domain being reconstructed in the target semantic domain, mapping relations from source model to target model are made via abstract target semantic model. This approach may not only to be a theoretical guidance for model transformation, but also can be a measurement for validating the mapping rules between models at different abstract levels. JavaServer Faces assisted with Enterprise JavaBeans is used as a target platform to help interpreting the process of using this approach.

Key words: model driven development, model mapping, semantics reconstruction, semantics consistency

中图分类号: