Research on XML Enabled File System
- Author
- QiaoLei
- Advisor
- GongYuChang , LiZuo
- School
- University of Science and Technology of China
- Major
- Computer Software and Theory
- Classification
- TP316 Operating system
- Degree
- Doctoral dissertation
- Year
- 2007
- Downloads
- 502
- Citations
- 7
- File System
- XML
- XML-Enabled Database
- Semantic file system
- structure-based XML storage
- Servant/Exe-Flow Model
- Minicore OS
Abstract
With rapid development of information techniques, performance of computing, volume of digital data to be stored and complexity of information structures all increase. Under the circumstance, more capabilities of information organization and management are needed. File Systems, as one important component in Operating Systems, offer data storage and management. But there are two insufficiencies in current file systems, that is, (1) less capability of managing huge volume of data, (2) no support on file semantic structure, which leads Operating Systems to lack fine-grained information control.On another hand, XML emerges under the information explosion. Its good self descriptive and cross platform characteristics make it a standard for information storage and exchange on internet. How to store XML data efficiently has been a research focus.Firstly, this thesis analyzes several typical file systems including FAT, EXT2, SemanticFS, NTFS, WinFS and so on, summarizes their main design ideas and logical architecture. Further research shows that traditional file systems can not manage the great amount of complex, structural and semi-structural data. The key reason for above exists in the fact that traditional file systems regard data as bit stream without semantics, but use special applications to operate the inner structures and contents of files which makes the control of file on a bad grain level. However, with the high request of information process, OS needs not only strong query and search ability but also control information on a fine grain level., thus it brings in a problem for OS to strengthen the ability of structural and semantic manipulation.After that, this thesis analyzes XML and its related techniques, gives some abstractions and summaries of XML characteristics, based on which several XML storage methods such as file system based, XML-enabled database, native XML database and. object manager based methods are analyzed in detail. This thesis focuses on the file system method. Traditional method on file system to store XML regards XML data as flat document file. In fact, XML document is serialized data stream, which is often in the form of flat file. It means that storing each XML document in a document file, on high level, implements a query engine. When the query is excuting, XML file is parsed into a tree in memory. The advantage of file system based XML storage method is it is quite easy to be implemented and needs no extra database or other manager for help. However, its disadvantage is also obvious: 1)Before access, XML document has to be parsed again;2)During the whole process of query, the file that is under parsing has to stay in memory;3)In order to solve some of the problems above, extra index can be used, but when XML document is updated, index is hard be maintained.Based on the research above, this thesis combines the ideas and techniques of database, SemanticFS and XML characteristics, through modifying traditional logical layout of traditional file systems, storing semantic structures of XML file, proposes a new XML enabled storage method on file system. This method takes advantage of the similarity of directory/file hiberachy model and XML data model, connect them seamlessly, regards XML element node as directory inode and regard XML attribute node as file inode which is implemented efficiently on Linux Ext2 file system. Under the storage method, some further problems are stated and a new XML enabled file system is proposed by solving the problems. The system architecture is described, the organization and relationships of different modules are also given, and at last concrete implementations for each part are listed.The research has been applied on a Minicore OS based on Servant/Execution Flow OS model.This thesis proposes the design and implementation for the XML enbabled file system on Minicore which proves the validity, good performance and extra functions of the research.In summary, the new contributions of this thesis include:1. A new Semantics based XML data storage method on file system is proposed, which can make file system manipulate file in depth and provide direct XML storage, extra query function.2. A new XML enabled file system construction model is presented by adding XML analyzer, index engine, query engine and object manager. As for each part of XML Enabled file system architecture, different implementation techniques are given which includes data structures, algorithms and interfaces on Linux. This method makes OS provide good XML data management and new functions.3. A new implementation method for XML data based on Directory/File index nodes on traditional file system is designed, which takes advantage of similarity of file system’s dir/file structure and XML data structures, connect XML to traditional file system. Regard element node as directory index node while attribute node as file index node, thus file system needs no great changes but can manipulate XML data in fine grain.4. The research is applied to MiniCore OS which is based on Servant/Execution-Flow model, the design and implementation are given for the XML enabled file system on MiniCore and validity and performance are tested and proved.
Table of contents
Abstract 5-7
Abstract 7-10
thank 10-17
Chapter 1 Introduction 17-28
1.1 Research background and motivation 17-22
1.1.1 information organization and management challenges 17-18
1.1.2 XML appears 18
1.1.3 XML data storage 18-19
1.1.4 file system problems faced by 19-21
1.1.5 database - an effective tool for data organization and management 21-22
1.2 database technology application status in the file system 22-23
1.2.1 file system design trends 22-23
1.2.2 database technology in the file system design 23
1.3 XML-based database 23-24
1.4 semantic file system research 24-25
1.5 of this thesis work 25-28
1.5.1 research goals 25-26
the
1.5.2 thesis is the main work 26
the
1.5.3 thesis is the organizational structure 26-28
Chapter 2, a typical file system analysis 28-45
2.1 file system concepts and terminology 28-29
2.2 UNIX BSD FFS 29-30
2.3 LINUX EXT2 30-31
2.4 of Windows FAT 31-32
2.5 Macintosh HFS 32
2.6 Irix, the XFS 32-33
2.7 NTFS file system 33-41
2.7.1 NTFS file system, relational model 34
2.7.2 NTFS file system ER model description 34-35
2.7.3 NTFS relationship model 35-36
2.7.4 attributes describe the ability of extended file information 36-37
2.7.5 NTFS logical structure of the organization 37
2.7.6 NTFS logic structure 37-38
2.7.7 NTFS attributes of storage method 38-40
2.7.8 NTFS index technology 40-41
2.8 MIT SemanticFS 41-42
2.9 file system WinFS 42-44
2.10 Summary 44-45
Chapter 3 XML storage and related technologies 45-66
3.1 XML Overview 45-50
3.1.1 XML and the DTD 45-46
3.1.2 XML document structure 46-48
3.1.3 XML data models 48-49
3.1.4 DOM and SAX 49
3.1.5 XML document type 49-50
3.2 XML data storage strategy analysis 50-54
3.2.1 file system flat file 50-51
3.2.2 support for XML database systems approach 51-54
3.2.3 Object Manager method 54
3.3 different storage methods of analysis and 54-55
3.3.1 different storage methods advantages and disadvantages of relatively 54
3.3.2 different storage method performance 54-55
3.3.3 to relations DTD method is not the only way out of the XML database 55
3.4 XML database research trends: Native XML database system 55-57
3.4.1 Why the Native 55-56
3.4.2 Native XML database 56
the
3.4.3 NXDBMS is architecture 56-57
3.5 Native XML database is facing challenges 57-61
3.5.1 NXD physical storage 57
3.5.2 Data Mode 57-58
3.5.3 storage granularity 58
3.5.4 storage order 58-59
the
3.5.5 NXDBMS is query processing 59-61
3.5.6 XML data update: XUpdate 61
3.6 typical NXDBMS About 61-65
3.6.1 Tamino system 61-63
3.6.2 Timber system 63-65
3.7 Summary 65-66
Chapter 4 to effectively support the new file system storage of XML data management 66-83
4.1 Overview 66-67
4.2 XML basic concepts related to 67-69
4.3 XML document storage method 69-70
4.4 XML document structure storage model 70-71
4.5, a new structure of an XML-based storage method 71-78
4.5.1 key issues and solutions 71-78
4.6 Experiments and results analysis 78-81
Experimental results and analysis of
4.6.1 space overhead 78-79
4.6.2 store the XML document the performance test results and analysis 79-80
4.6.3 to read the experimental results and analysis of the XML file performance 80
4.6.4 query and update performance of experimental results and analysis 80-81
4.7 of this chapter section 81-83
Chapter 5 support the management of XML data file system to build models and design techniques 83-105
5.1 Background 83-85
5.2 support XML data management, file system design 85-89
5.2.1 design goals 85-86
5.2.2 key issues 86-87
5.2.3 System Architecture 87-89
5.3 specific implementation technology 89-102
5.3.1 of important data structures 89-90
5.3.2 parsing technology 90-92
5.3.3 layout of the storage technology 92-96
5.3.4 indexing technology 96-98
5.3.5 query technology 98-102
5.4 Experiments and results analysis 102-104
5.4.1 experimental environment and performance evaluation 102-104
5.4.2 space-efficient evaluation 104
5.5 Summary 104-105
Chapter 6
support for XML data management, file system on the the MiniCore operating system 105-138
6.1 operating system abstraction model SEFM 105-113
6.1.1 SEFM is the basic abstraction 105-106
6.1.2 operating system structure model based on SEFM 106-113,
6.2 based on the structure of the operating system of SEFM MiniCore 113-115
6.3 The MiniCore XML-Enabled FS (XEFS) design 115-124
6.3.1 service body with functional components 115-116
6.3.2 MiniCore in XEFS file system key technology 116-124
6.4 supports the XML file system services and related services, the relationship between 124
6.5 XML file system services body and the interaction of some of the key services 124-128
6.5.1 XML file system service body of work processes 124-125
6.5.2 XML file system service body with object management services body, as well as the interaction of IO management services 125-126
6.5.3 file system service body and the body of core services based on the message mechanism and the interaction of memory management 126-128
6.6 MiniCore on the concrete realization of the XML file 128-135
6.6.1 kernel data structures 128-131
6.6.2 The main service body of the message 131
6.6.3 interface and internal function process description 131-135
6.7 experimental performance analysis 135-137
6.8 Summary 137-138
Chapter 7 Conclusion 138-143
7.1 thesis research 138-140
7.2 In this thesis, the main contribution 140
7.3 for further work 140-143
References 143-148
during the study for a degree of papers published 148
Related dissertations
- Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
- Implementation of Windows File System Virtualization Based on Sandbox Technology
- Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research on Multi-attribute-based File Organization Mechanism
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure