Research in Geostatistical Analysis System of Reservoir Based on Software Refactoring Technology
- Author
- LiuHuiLiang
- Advisor
- WangJiaHua
- School
- Xi'an University of Petroleum
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 17
- Citations
- 0
Abstract
The theory and methods of Software refactoring is studies in-depth, and application therefactoring technology to laboratory developed "Geostatistical Analysis System ofReservoir(GASOR)".First,the paper explores the dilemma of the current GASOR, and thendetermine the refactoring program, finally, it is carried out the refactoring of GASOR underthe refactoring program.The GASOR after refactoring is enable developers to easy reading itscode, easy maintenance, expansion, reuse, update, and enable user easy to operation. Contentand innovation of this study are as follows:First, it is analysis and summarizes detailed of the refacotoring’s definition, principles,meaning, method, implementation time and a dozen expressions of code details problem. Afterreading GASOR’s development information, analysised the code and tested the function ofcode, determined the problem of GASOR’s code, then,it is put forward the refactoring ofimplementation of the program.Second, it choose Appropriate method of refactoring to reconstruct the all GASOR’s codedetails problem, and shows the application process of the various refacotoring methods indetail. By refactoring GASOR’s code, it’s function naming conventions, code is simple andclear, low redundancy and easy maintenance.Third, the paper were refactoring GASOR based on design patterns. After refactoring ofdesign patterns, it is separated the variable part and unchanging part of the program, reducedthe coupling between the classes, improved the code readability and reusability.Fourth, it is expounded Software architecture and architecture refactoring theory, toconversion the original reserve calculation unit build structures interface of GASOR from QTto MFC, and use MVC architecture refactoring it, finally, using the plug-in technologyinserted it in GASOR, also full realization of the unified interface style of GASOR.This paper discussed the theory of refactoring and summarize the refactoring methods hasa general, that with some reference value to object-oriented software design and softwarerefactoring implementation.
Table of contents
Summary 3-4
ABSTRACT 4-9
first chapter purpose and meaning 9-12
1.1 topics 9
1.2 sources subject and background 9-10
1.3 domestic and foreign research status organizational structure nbsp 10
1.4 papers ; 10-11 <br / > 1.5 Summary 11-12
Chapter II software reconfigurable technology 12-20
2.1 What software reconfiguration 12
2.1.1 reconstruction software defined 12
2.1.2 software reconstruction principle 12
2.2 Why reconstruction 12-14
2.2.1 can be reconstructed improved code design 12-13
2.2.2 remodeling to make the software more easily understood 13
2.2.3 reconstruction help programmers find bug 13 - 14
2.2.4 remodeling to improve programming speed 14
2.3 when remodeling 14
2.4 code performance and its reconstruction details of 14-18
2.5 software reconstruction test worth 18-19
2.5.1 remodeling testing 18
2.5.2 reconstruction and unit testing 18-19
2.6 software refactoring tools 19
2.7 Summary 19-20
Chapter reconstruction based on design patterns Research 20-25
3.1 design patterns Introduction 20
3.2 design patterns elements 20-21
3.3 classification of design patterns 21
3.4 GASOR related design patterns introduced 21-24
3.4.1 factory mode 21-22
3.4.2 strategy pattern 22-23
3.4.3 observer mode 23-24
3.5 design patterns using the significance 24
3.6 Summary 24-25
the fourth chapter GASOR difficulties arise and reconstruction programs 25-29
4.1 GASOR current difficulties arise 25-27
4.1.1 details of the program code exists problems 25
4.1.2 debugging maintenance difficulties 25
4.1.3 program some functionality imperfect 25-26
4.1.4 program readability and reusability poor 26
4.1.5 procedures exist structured design methods 26-27
4.1.6 software interface style is not uniform 27
4.2 GASOR reconstruction program 27-28
4.2.1 using the code details the six reconstruction 27-28
4.2. 2 application design patterns 28
4.2.3 MVC architecture reconstruction 28
4.2.4 MFC interface converts Qt interface 28
4.3 chapter Summary reconstruction 28-29
Chapter GASOR code details of 29-44
solve 5.1 GASOR the Chinese path 29-32
5.1.1 character encoding conversion 29-30
5.2.2 refining function 30-32
5.2 between objects moving features 32-34 <br / > 5.2.1 move function 32-33
5.2.2 move property 33-34
5.3 reorganize the data 34-36
5.3 .1 to object to replace data values ?? 34
5.3.2 to replace an array of objects 34-36
5.4 simplifying conditional expressions 36-37
5.4.1 remove the control tag 36-37
5.4.2 to replace the conditional expression polymorphism 37
5.5 simplifies the function call 37-40 <br / > 5.5.1 modify the function name 37-38
5.5.2 introduced parameter object 38-40
5.6 deal with inheritance 40-43 <br / > 5.6.1 function shift 40-41
5.6.2 refining parent 41-43
5.7 Summary 43-44
Article chapters based GASOR reconfigurable design patterns 44-53
6.1 design patterns reconstructed target application 44
6.2 factory mode 44-47 <br / > Applications 6.3 strategy mode application 47-49
6.4 observer mode 49-52
6.5 Summary 52-53
Article seven chapters reconstruction GASOR architecture 53-61
7.1 software architecture reconstructed 53
7.2 software architecture 53
7.3 MVC architecture and its application 53-59
7.3.1 MVC architecture 53-54
7.3.2 reserves analysis unit introduces 54-55
7.3.3 reserves design analysis unit 55-56
test 7.3.4 reserves analysis unit 56-58
7.3.5 analysis of the reserves inserted GASOR 58-59
7.4 reconstructed GASOR functional verification 59-60
7.4.1 remodeling GAOR main interface 59
verification 7.4.2 simulation algorithm 59-60
7.5 summary 60-61
Chapter VIII summary and Outlook 61-62
8.1 summarizes 61 <br / > 8.2 Prospects 61-62
Thanks 62-63
References 63-65
Appendix 65-66 <br / > detailed summary 66-76
Related dissertations
- Desing and Implementation of Personalized Information Service System of Beijing Science Popularization Website
- The Design and Implementation of Experiment Teaching Management System in Changshu Institute of Technology
- Research on Geostatistical Analysis System of Reservoir Based on Plug-in Technology
- Research on intelligent extraction technology design patterns in object oriented software
- Analysis and design of Dongguan securities data center
- The Research of Reservoir Random Walks Modeling System Based on Object-oriented Techonology
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Design and Implementation of a Recommender System Framework Based on Collaborative Filtering Algorithm
- Design and Implement of Telematics System Service Center Subsystem
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Design and application of J2EE persistence layer framework DR-ORM
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The Research and Implementation of the College Counselors Skills Competition Training System
- The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
- Design and Implementation of Tianhua College Office System
- Universities Fixed Asset Lifecycle Management System Design
- Design and Implementation of Human Resource Management System for MIRLE Company
- Analysis and design of engineering project management system
- The Design and Implementation of Vehicle Tracking Management System