Font Size: a A A

Ontology-based MVC Architectural Pattern Identification And Refactor Technology

Posted on:2020-06-22Degree:MasterType:Thesis
Country:ChinaCandidate:Q YinFull Text:PDF
GTID:2428330626450748Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the continuous evolution of software,software system complexity has increased dramatically,changes in software design and lack of documentation have made software systems more difficult to understand for maintenance personnel,and maintenance costs have become more and more expensive.For such software systems,developers need to refactor them.The most basic refactoring is code refactoring.Code refactoring can solve the poor design of software source code structure,but code refactoring can't solve the problem of software at the architectural level,and can't effectively improve the performance of software.The focus of architecture refactor is dependency structure information between the modules,without paying attention to functional information of the software modules.Therefore,the software needs to be reconstructed for the pattern.The software architectural pattern describes the software architecture from the perspective of function.The prerequisite for the pattern refactor is to understand the architectural pattern of the software system,so pattern identification is needed.The MVC architecture pattern is a kind of software architectural pattern.It is widely used in web information systems and Graphics User Interface applications.It is valuable to identify and reconstruct MVC architectural patterns.This thesis mainly studies the pattern identification and refactor of MVC software architectural pattern.The MVC identification is the premise.The MVC software architectural pattern refactor is the foothold.The refactor is based on pattern identification results.The ultimate goal is to make the software evolve towards a healthy direction and reduce the cost of software maintenance.The main work of this thesis includes:(1)Pattern identification is performed for the MVC architectural pattern of the target system.The pattern identification method is based on the ontology.Firstly,the reusable MVC software architectural pattern ontology is constructed,then the information extraction is performed for the specific target system,and the extracted basic information is combined with the MVC architectural pattern ontology to construct the specific target system ontology,and finally the specific target system is inferred by inference engine to obtain the pattern identification results.(2)Refactor based on MVC pattern identification results for the target system.Firstly,the refactor requirements are generated according to the application specification of the MVC architecture pattern.Secondly,based on the refactor requirements,the refactor scheme is generated by combining the results of the pattern identification.The refactor scheme includes the acquisition of the refactor points,the implementation of the refactor scheme,and the validity verification after the implementation of the identification point.The validity verification mainly uses the manual method to implement the specific operation of the identification scheme in the specific target system,and the refactor point is detected by comparing the changes of the MVC architectural pattern diagram before and after,so as to verify the effectiveness of the refactor scheme.(3)The MVC architecture pattern identification and refactor prototype tools is implemented,including the design and implement three modules: business logic,database and visualization.Finally,the excellent open source software is tested and analyzed on the prototype tool to verify the effectiveness of MVC architecture pattern identification and refactor techniques.
Keywords/Search Tags:Identification of MVC architectural pattern, Refactor of MVC architectural pattern, Ontology
PDF Full Text Request
Related items