计算机科学 ›› 2014, Vol. 41 ›› Issue (1): 254-257.

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

基于XML Schema技术的设计模式定义方法

古辉,张炜星   

  1. 浙江工业大学计算机科学与技术学院 杭州310023;浙江工业大学计算机科学与技术学院 杭州310023
  • 出版日期:2018-11-14 发布日期:2018-11-14

Method of Design Patterns Definition Based on XML Schema Technology

GU Hui and ZHANG Wei-xing   

  • Online:2018-11-14 Published:2018-11-14

摘要: 在程序理解和逆向工程中,对软件设计模式的识别有助于软件技术人员从软件结构上理解系统的设计意图和实现功能。通常,采用UML类图表示的软件设计描述难以从特征上对设计模式进行准确的识别。提出一种基于XML Schema技术定义XML文档结构的设计模式定义语言——DPDLXS。通过运用DPDLXS语言描述特定设计模式的实例表明,该设计模式定义语言能够准确表述设计模式的特征,可以为设计模式的识别提供技术支持。

关键词: 程序理解,DPDLXS,设计模式定义,设计模式识别

Abstract: The identification of software design patterns can help software technical personnel understand the system’s design intent and function from the software structural in program comprehension and reverse engineering.Generally,the software design information in the form of UML class diagram representation is hard to identify design patterns accurately from the pattern feature.This paper proposed a design patterns definition language can based on XML Schema—DPDLXS.The representation of specific design patterns instance by using DPDLXS language shows that the language can portray the feature of design patterns accurately,and provide a technical support for the identification of design patterns.

Key words: Program comprehension,DPDLXS,Design patterns definition,Design patterns identification

[1] Rasool G,Mader P.Flexible Design Pattern Detection Based on Feature Types[C]∥26th IEEE/ACM International Conference on Automated Software Engineering (ASE).2011:243-252
[2] 苗康,余啸,赵吉,等.基于关系演算的Java模式识别[J].计算机应用研究,2010,7(9):3425-3430
[3] Antoniol G,Fiutem R,Cristoforetti L.Design pattern recovery in object-oriented software[C]∥Proceedings of the 6th IEEE International Workshop on Program Comprehension(IWPC 1998).1998:153-160
[4] 冯铁,李文锦,张家晨.面向Java语言的设计模式抽取方法的研究[J].计算机工程与应用,2005,1(25):28-33
[5] 冯铁,李文锦,张家晨.从源码中抽取设计模式技术研究综述[J].计算机应用研究,2005(8):6-9
[6] 李文锦.基于设计模式的软件设计恢复方法研究[J].计算机与现代化,2007(8):89-92
[7] Bouassida N,Ben-Abdallah H.Structural and Behavioral Detection of Design Patterns[J].Springer Advances in Software Engineering,2009,9:16-24
[8] Balanyi Z,Ferenc R.Mining Design Patterns from C++Source Code[C]∥Proc.Int’l Conf.Software Maintenance,(ICSM ’03).2003:305-314
[9] 肖卓宇.基于设计模式的逆向工程研究[D].长沙:长沙理工大学,2008
[10] Dobis M,Majtas L.Mining Design Patterns from Existing Projects Using Static and Run-Time Analysis[J].Springer Software Engineering Techniques,2011,0:62-75
[11] W3C.Schema.http://www.w3.org/standards/xml/schema,2013-1-20
[12] Hunter D,Rafter J,Fawcett J,等.XML入门经典(第4版)[M].吴文国,译.北京:清华大学出版社,2009
[13] 阎宏.Java与模式[M].北京:电子工业出版社,2002
[14] Gamma E,Helm R,Johnson R,et al.Design Patterns-Elements of Reusable Object-Oriented Software[M].New Jersey:Addison-Wesley,1995

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!