节点文献

基于设计模式的逆向工程研究

Research on the Reverse Engineering Based on Design Pattern

【作者】 肖卓宇

【导师】 何锫;

【作者基本信息】 长沙理工大学 , 计算机软件与理论, 2008, 硕士

【摘要】 随着软件规模的扩大和复杂度的增加,理解和维护软件系统的难度也不断增大,因此通常需要使用逆向工程技术来辅助软件理解和维护,而面向对象技术最近的研究方向转向设计模式、框架、组件、Agent等,设计模式作为逆向工程的一个子领域其重要性越来越得到体现。本文试图通过基于设计模式的逆向工程研究以推进上述问题的解决。本项研究的思路是:实现源码的词法分析,语法分析,语义分析并在其形成的抽象语法树基础上进行元组化,通过多阶段减少修饰的策略方法提高设计模式的识别效率。具体围绕基于设计模式的逆向工程相关内容展开:分析了设计模式与逆向工程现状,研究最新的相关工作,并探讨其不足之处,在此基础上,提出基于设计模式的逆向工程研究的技术路线。讨论了基于设计模式的逆向工程研究所涉及的相关技术,而后对基于元组的设计模式的工作原理进行了剖析,并研究了基于元组的设计模式主要模型,从而为进一步研究做准备。提供一种基于多阶段减少修饰的策略方法,为此我们能够更好的解决在面向对象的程序设计中对于设计模式的某些度量关系以及结构信息的抽取,同时所有的设计模式描述为中间语言——一种基于XML的语言(简称为DPXML语言,Design Pattern eXtended Markup Language)。最后针对构建的结构模型及各模块预计的功能,研究实现基于设计模式的逆向工程系统的若干关键技术。

【Abstract】 With the expansion of software scale and the increase of software complicated degree, the difficulty for understanding and defending software system is also increase ceaselessly, so generally, we need to use Reverse engineering technology to assist the software’s understanding and maintenance. The research direction of Object-Oriented technology turns to Design Pattern, Frame, Agent etc. To be one field of Reverse engineering, the importance of Design Pattern are obvious. This paper tries to solve these problems by researching the Reverse engineering based Design Pattern .The research idea is: Realize sound code’s lexical analysis, syntax analysis, semantic analysis, and in the basis of AST(Abstract Syntax Tree) which are formed by them, tuplling them. Improve the identification efficiency of Design Pattern by multi-stage reduction ornament strategy.In the paper the author makes the following contribution on some related reverse engineer based on design pattern:Analyzing the actuality of design pattern and reverse engineer, researching the latest related product at home and abroad, indicating its’shortcomings, and based on those, presenting the techniques route of reverse engineer based on design pattern. Researching related techniques of reverse engineer based on design pattern.Discussing the feature that the tuple based on design pattern should belong, researching the main design pattern model based on tuple.Presenting a multi-stage reduction ornament strategy. It makes us to solve problems such as some measurement relation about design pattern and extraction about structure information in OO program design. The all design pattern will form a interlanguage—a user-defined language which called DPXML (Design Pattern eXtended Markup Language).Aim at the framework model and the function of all modules, research the key techniques for achieving the Reverse engineering system based on design pattern.

  • 【分类号】TP311.52
  • 【被引频次】4
  • 【下载频次】162
节点文献中: 

本文链接的文献网络图示:

本文的引文网络