XML Cache Model Research and Implementation
- Author
- JinPengWei
- Advisor
- TangChangJie
- School
- Sichuan University
- Major
- Computer Applications
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 73
- Citations
- 0
Abstract
This paper proposes and implements a novel XML cache model(XCache), based on Frequency Path Tree. The issues of the new model are following: (a)Building a Frequency Path Tree from user’s query documents.(b) From Frequency Path Tree, mining Frequent Path Tree which is user’s query model.(c) Projecting the XML document to a new XML document according user’s query model and caching the new XML document. Then, if the query containing is true, the caching document is used to answer the query.The main works and contributions of this thesis include:1. Defines the query containing, Frequency Path Tree, Frequent Path Tree and so on. Proposes a method of mining user’s query model and gives some algorithms, including PathInclusion, F-treeConstruction and F-treeDiscovery.2. Proposes XML projecting model and implementing method using SAX, gives the algorithm- File Project.3. Implements two important modules, the Query Mining Module and the Document Projecting Module.4. Gives extensitive experiments to show that the method reduces memory requirements and significantly improves the query response time. The memory is reduced to 20% and time reduced to 43%.The paper is organized as follows. Chapter 1 introduces the research background. Chapter 2 discusses XML. Chapter 3 proposes the XML cache model. Chapter 4 gives the relative concepts and defines some terms, which will be used in the paper. Chapter 5 researches how to build a Frequency Path Tree and how to mine the user’s
Table of contents
Summary 2-3
ABSTRACT 3-7
1 Introduction 7-9
1.1 Background
1.2 related work 7-8
1.3 innovation of this paper 8-9
an XML and its related technologies 9-20
2.1 XML Introduction 9-10
2.2 XML elements 10-14
2.2.1 tag 10
2.2.2 elements 10 - 11
2.2.3 Properties 11
2.2.4 Notes 11-12
2.2.5 Unicode character set 12
2.2. 6 named 12-13
2.2.7 XML document structure 13-14
2.3 an XML query specification 14-16
2.3.1 XPath 14-15
2.3.2 XQuery 15-16
2.4 XML parser 16-20
the 2.4.1 document object model (DOM) 16-17
2.4.2 SAX interface 17-18
2.4.3 to choose SAX and DOM 18-20
3 the XML cache model architecture 20-21
basic concepts and terminology 21-28
4.1 frequency path tree and frequent path tree
21-22 4.2 query implication 22-28
the 4.2.1 tree contains the formal description 23
4.2.2 Query implication defined 23-28
frequency Road tree and query mode 28-37
5.1 FASTXMINER algorithm, 28-31
5.2 frequency path tree construction algorithm 31-35
5.3 extract User Query 35-37
XML file projection 37-43
6.1 projection method the 37-39
6.2 relevant comparative 39-40
6.3 Performance Analysis the 40-42
6.3.1 advantages 40-41
6.3.2 deficiencies at 41-42 < br /> the 6.4 caching projection file the 42-43 July
query mining and document projector 43-49
7.1 query mining 43-47
7.1.1 F-treeConstruction algorithm 44-45
7.1.2 F-treeDiscovery algorithm the 45-47 7.2 document projector
47-49 < br /> 8 experiments and performance analysis the 49-55
8.1 XMARK inquiries, 8.1.1 Projection File size 49-53
49-51
8.1.2 Projection file memory 51-52
8.1.3 projector file response time 52-53
8.2 DBLP query 53-55
9 summarizes 55-56
Reference 56-59
authors post master's degree 59-61
Acknowledgements 61