Study and Implementation on Information Storage and Retrieval Technique for Program Understanding
- Author
- YeHuiHua
- Advisor
- GuHui
- School
- Zhejiang University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 73
- Citations
- 1
Abstract
As the development of software engineering field, the problem of software maintenance has become an important question for discussion currentlly in software industry. In the process of software maintenance, program understanding is a bald, time-consuming and difficult task, which needs program understanding aided systems to help. And that, the information storing and querying efficiency is one of the key factors that influence on the efficiency of program understanding aided systems, so much as program understanding. At present, most program understanding tools adopt professional database management systems (DBMS) to realize the function of storing and querying. However, professional DBMS take a lot of other factors into account, thus, the efficiency of storing and querying is reduced. In addition, professional DBMS demand to use special query languages which increaseds the process time of storing and the difficulty of program understanding.Aimed at the problems mentioned above, the main task of this paper is to research and design a program database with better efficiency of storing and querying, sustaining larger programs and incremented update. Firstly, according to the symbol types of programming language, put forward the idea of information sorted storing. According to the types, put the information into different base files, then binding all the files together to form a program database. Secordly, on the basis of professional DBMS’ storing and querying mechanism, analyze the capability and index mechanism of the B+-tree, put forward the idea of using the structure of B+-tree to design the program database model. Optimize the structure of B+-tree from three aspects: inserting batch keywords from bottom to up, storing keywords with compressing technique, choosing a suit way-number, and design index within and among nodes. Thirdly, according to the needs of program understanding, design four query methods, satisfying the demands of four windows in program understanding aided systems. At last, do experiments with a series of files composing of different amount of information records, test the program database system’s storing space and querying time. The result shows that under the circumstance of sacrificing some space, the program database achieves quickly storing and querying capability.
Table of contents
Abstract 5-6
ABSTRACT 6-10
first chapter 10-25
1.1 program understanding 10-12
1.1.1 program to understand the definition of 10-11
1.1.2 program to understand the evolution of the technology 11-12
1.1.3 Program Understanding the necessity 12
1.2 program understanding the auxiliary system overview 12-15
1.3 program repository 15
1.4 Research 15-21
1.4.1 China Research 15-18
1.4.2 domestic research 18-21
1.5 content and objectives 21-23
organizational structure
1.6 papers 23-24
1.7 Summary 24-25
storage and retrieval technology 25-32
2.1 data system development 25-26
2.2 data storage structure 26-27
2.3 data access 27
2.4 database management system of storage and retrieval technology 27-31
2.4.1 Data storage and access 28-29
2.4.2 indexing technology 29-31
2.5 Summary 31-32
Chapter B-tree-based storage and retrieval mechanisms 32-54
3.1 B-tree definition 32-36
3.1.1 the m binary search tree 32-33
3.1.2 B-tree 33-34
3.1.3 B-tree 34-36
3.2 B tree the basic operating 36-42
3.2.1 B tree insertion 36-39
3.2.2 B tree delete 39-41
3.2.3 B tree search 41-42
3.3 B-tree performance analysis 42-44
3.3.1 Basic algorithm analysis 42-43
3.3.2 B tree efficiency 43-44
3.4 improved B-tree construction method 44-48
3.4.1 from the bottom up to build B-tree 44-46
3.4.2 Keyword bulk insert 46
3.4.3 efficiency analysis 46-48
3.5 B-tree structure optimal design 48-52
3.5.1 keyword compressed storage 49-50
3.5.2 B-tree order m setting 50-52
3.6 B tree search strategy optimized design 52-53
3.7 Summary 53-54
Chapter program library research and design 54-77
4.1 storage and retrieval methods select 54-55
4.2 design ideas 55-56
4.2.1 Information Classification stored 55-56
4.2.2 Quick Search 56
4.3 storage and retrieval model design 56-67
4.3.1 Concept Design 56-58
4.3.2 logic design 58-62
4.3.3 physical design 62-67
4.4 overall repository structure 67-69
4.5 Information storage subsystem 69-73
4.5.1 Storage Engine 69-70
4.5.2 Mode Manager 70-72
4.5.3 Storage Processor 72-73
4.6 retrieval subsystem 73-75
4.6.1 query parser 73
4.6.2 Query Processor 73-75
4.6.3 format conversion 75
4.7 update nbsp to request processor ; 75
4.8 buffer manager 75-76
4.9 Summary 76-77
the program repository realization
Chapter 77-85
5.1 System Overview 77-81
5.2 system 81
5.3 system test 81-84
5.4 Summary 84-85
Chapter Summary and Outlook 85-88
6.1 thesis work summarizes 85-87
6.2 Looking ahead 87-88
the
References 88-93
Acknowledgements 93-94
the
pursuing degree during the academic catalog 94
Related dissertations
- Nuclear power program understanding based on OSDG chip
- Integrated model of nuclear power program understanding based on
- Research on Fast Programming Solution for Automatic Optical Inspecion System of Printed Circuit Board
- Research on the Multi-Agent Environment and Tools for Program Understanding Based on Compound Code Repository
- Object-Oriented Reverse Engineering and Software Comprehension
- Research on the Techniques of Software Reverse Engineering
- Research on Documentation Generation Technology in Porgram Understanding
- Research and Implementation of a Static Analysis and Extraction Technology in Program Understanding
- Research on the Framework of Program Reverse Analysis Based on Relational Database
- Research on the Interactive General Tools for Program Comprehension
- The Analysis and Realization of Reverse Engineering Based on C
- Research and Implementation of the Class Hierarchy Analysis for Java Language Based on Concept Lattice
- Research on AOP Based Reverse Engineering Framework and Tool
- Win32-based Software Reverse Engineering of the Research and Application
- Research on Slicing-Based Binary Executables Analysis Technology
- Web application system structure and interaction patterns extracted Research and Design