摘要
随着模型驱动技术的逐渐成熟和广泛应用,大量反映程序结构、行为以及性质的模型产生于软件的开发过程中,并成为软件文档的重要部分保存下来。其中,尤以UML模型的应用最为广泛,也因此形成了通过理解UML模型来理解大规模、高复杂性软件系统的研究思路。对UML模型理解的一个难点是如何有效地从大量复杂的模型中,快速查找并定位具有一定结构特征的模型片段。幸运的是,设计模式的普遍应用为我们快速、高效地理解和定位模型提供了一条重要的线索。然而,随着技术的发展,设计模式数量在不断增长,其自身在应用中的结构也在微妙变化,这些都给相应查询和识别工具的开发带来一定的困难。文中从查询和匹配UML模型中特定结构的角度入手,利用UML自身特点设计相应查询算法,通过分析和理解设计模式的结构特征,从UML模型中查询相应的设计模式,以达到灵活和高效地理解软件系统的目的。
As model-driven techniques are matured and widely used,more and more models reflecting structures,behaviors and features of program have been produced in the process of software development.And models also preserve as important parts of software documentations.Among them,UML models are most widely used.Therefore,comprehension of UML models is thought as a good way to the comprehension of large-scale,highly complex software systems.One of the difficulties to comprehension of UML models is how to find and locate effectively a certain structural feature of model fragments from a large number of complex models.Fortunately,the wide application of design patterns provides an important clue for us to understand and locate model quickly and efficiently.This paper aimed to analyze and understand the structural features of design patterns in order to identify design patterns in UML models.In this way,the purpose of understanding software system flexibly and efficiently can be achieved.
出处
《计算机科学》
CSCD
北大核心
2014年第11期50-55,共6页
Computer Science
基金
国家自然科学基金(61003025
61021062)
国家863高技术研究发展计划(2011AA010103
2012AA011205)资助
关键词
模型查询技术
统一建模语言
信息抽取
设计模式
Model query technology
Unified modeling language
Information extraction
Design patterns