DOI QR코드

DOI QR Code

A Streaming XML Parser Supporting Adaptive Parallel Search

적응적 병렬 검색을 지원하는 스트리밍 XML 파서

  • Lee, Kyu-Hee (Department of Computer and Telecommunications Engineering, Yonsei University) ;
  • Han, Sang-Soo (Department of Energy IT, Gachon University)
  • Received : 2013.04.02
  • Accepted : 2013.05.15
  • Published : 2013.08.31

Abstract

An XML is widely used for web services, such as SOAP(Simple Object Access Protocol) and REST (Representational State Transfer), and also de facto standard for representing data. Since the XML parser using DOM(Document Object Model) requires a preprocessing task creating a DOM-tree, and then storing it into memory, embedded systems with limited resources typically employ a streaming XML parser without preprocessing. In this paper, we propose a new architecture for the streaming XML parser using an APSearch(Adaptive Parallel Search) on FPGA(Field Programmable Gate Array). Compared to other approaches, the proposed APSearch parser dramatically reduces overhead on the software side and achieves about 2.55 and 2.96 times improvement in the time needed for an XML parsing. Therefore, our APSearch parser is suitable for systems to speed up XML parsing.

XML은 SOAP(Simple Object Access Protocol)와 REST(Representational State Transfer) 같은 웹서비스들을 위해 널리 사용되며 데이터를 표현하기 위한 사실상의 표준이다. DOM(Document Object Model)을 사용하는 XML 파서는 DOM 트리로 생성하여 메모리에 저장하는 전처리가 요구되기 때문에, 제한적 자원을 갖는 임베디드 시스템들은 일반적으로 전처리를 요구하지 않는 스트리밍 XML 파서를 채택하여 사용하고 있다. 본 논문에서는 FPGA(Field Programmable Gate Array)에서 적응적 병렬 검색을 사용하는 스트리밍 XML 파서를 위한 새로운 구조를 제안한다. 제안된 APSearch(Adaptive Parallel Search) 파서는 이전 연구들과 비교하여 소프트웨어의 오버헤드를 상당 수 감소시켰으며 XML 파싱을 위한 처리 시간이 약 2.55배와 2.96배 향상되었다. 따라서, 제안된 APSearch 파서는 XML 파싱을 가속화하기 위한 시스템들에 적합한 구조이다.

Keywords

References

  1. K. Hameseder, S. Fowler, and A. Peterson, "Performance Analysis of Ubiquitous Web Systems for SmartPhones," Int'l Symposium on PECATS, pp. 84-89, 2011.
  2. F. Belqasmi, J. Singh, S. Y. B. Melhem, and R. H. Glitho, "SOAP-based vs. RESTful Web Services," Internet Computing, IEEE, Vol. 16, pp. 54-63, 2012. https://doi.org/10.1109/MIC.2012.62
  3. E. R. Harold, "An Introduction to StAX," Available: http://www.xml.com/pub/a/2003/01/17/stax.html.
  4. SAX, http://www.saxproject.org.
  5. Y. Pan, Y. Zhang, and K. Chiu, "Hybrid Parallel for XML SAX Parsing," Web Services, ICWS '08. IEEE Int'l Conference, pp.505-512, 2008.
  6. C. E. Chang, F. M. Asin and A. K. Mustapha, "RBStreX: Hardware XML Parser for Embedded System," Internet Technology and Secured Transactions, ICITST'09. International Conference, pp.1-6, Nov. 2009
  7. Sae-Woon Kim, Kyu-Hee Lee, and Sang-Kyun Yun, "Implementation of a Hardware-based XML Parser Supporting Search", In Proceedings of 33th KIPS Conference, pp. 41-44, 2012.