Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/48133
Title: 可擴展標記語言之語法分析及查詢之數據平行方法
A Data Parallel Approach to XML Parsing and Query
Authors: Cheng-Han You
游承翰
Advisor: 王勝德(Sheng-De Wang)
Keyword: 可擴展標記語言,可擴展標記語言的路徑語言,多核心架構,虛擬標記描述子,平行處理,直接平行處理,
XML parsing,XML querying,XPath,multi-core,parallel,VTD-XML,reparsing,direct parallel,
Publication Year : 2011
Degree: 碩士
Abstract: 目前在使用數據平行方法來改善可擴展標記語言(XML)之語法分析上遇到了一個很大的問題,就是在分割文件上。現今的辦法都需要一個預先處理器來對文件做一個初步了解,才能解決這個問題。本文提出了不需使用預先處理的直接平行方法來解決這個問題。在直接平行方法中我們藉由找尋燈塔來開始語法分析,而所謂燈塔指的是一種只有少數例外的特定字元。接著我們在語法分析中藉由找尋線索以及在某些情況下重新解析必要的區間來處理例外狀況。接著我們提出了非同步之分割器來改善查詢可擴展標記語言之路徑語言的速度。在非同步之分割器中我們在不需要各個線程溝通的情況下查詢,並且藉由一種名稱為先代表格的資料結構來幫助各個線程獨立運作,讓我們可以把查詢路徑語言的工作分散到各個線程中。實驗數據顯示出我們提出的這兩個方法不論是用在空間小的文件或是空間大的文件上,都可以有效的利用多核心架構的資源。
Data-parallel XML parsing has a crucial problem in partitioning XML documents. Existing approaches need a pre-parse step to determine the partitions. In this paper, we propose a direct parallel method to solve this problem without pre-parsing. In the direct parallel method, we directly start the parallel parsing by finding the “light tower”, which is a particular character with some exceptions, called clues. We handle the exceptions by watching the clues and reparsing the partition if it is required in the parsing stage. We also propose a non-synchronized splitter approach to the parallel XML querying using XPath expressions. In the non-synchronized splitter approach, we split an XPath expression into pieces to be executed by threads and we use a data structure, called the ancestor table, to help each thread handle its part of XPath expression independently without communications between threads. Our experiments show that our approach scales well from small sized files to huge sized files.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/48133
Fulltext Rights: 有償授權
Appears in Collections:電機工程學系

Files in This Item:
File SizeFormat 
ntu-100-1.pdf
  Restricted Access
1.31 MBAdobe PDF
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved