摘要: 为实现任务模型(TM)到抽象用户界面(AUI)模型的自动转换,提出一个基于规则的模型转换方法。构建并发任务树的TM元模型和AUI元模型,采用基于对象约束语言的规则表示方法定义TM到AUI的映射规则,使用可扩展标记语言(XML)描述TM和映射规则,得到AUI的XML文件。通过一个虚拟工作压力调查实例验证该方法的可行性和易用性。
关键词:
任务模型,
抽象用户界面,
模型转换,
元模型,
可扩展标记语言
Abstract: In order to realize the automatic conversion of Task Model(TM) to Abstract User Interface(AUI), this paper presents a rule-based model automatic conversion method. The TM meta model of concur task tree and AUI meta model are constructed. The rule representation based on Object Constraint Language(OCL) is used to define the mapping rules from task model to abstract user interface. The eXtensible Markup Language(XML) is used to describe the task model and mapping rules. An XML file of abstract user interface is derived. An example of virtual research on job stress is given to demonstrate the feasibility and accessibility of this method.
Key words:
Task Model(TM),
Abstract User Interface(AUI),
model conversion,
meta model,
eXtensible Markup Language(XML)
中图分类号:
杨鹤标, 石云. 基于规则的模型自动转换方法[J]. 计算机工程, 2011, 37(20): 46-48.
YANG He-Biao, DAN Yun. Rule-based Model Automatic Conversion Method[J]. Computer Engineering, 2011, 37(20): 46-48.