Font Size: a A A

Research And Implementation Of Embedded Browser Control Page Parser

Posted on:2012-07-04Degree:MasterType:Thesis
Country:ChinaCandidate:R Q WuFull Text:PDF
GTID:2208330332986683Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With the rapid development of information technology and the extensive application of Internet, the embedded browser has become an important means for people to access information in a daily network life. The web language such as HTML and XML is created to exchange information in the network. To parse the web language is one of the browser's core technologies, and the quality of parsing is directly related to the performance of the embedded browser. In this situation, to research the parsing technology of the embedded browser is of great significance.This thesis studys the WebKit web browser engine's the parsing technology. With different document types such as HTML and XML, we introduce the HTML parser and the XML parser. In the part of HTML parser, firstly we study the working mechanism and the used data structure of the parser from these aspects:HTMLTokenizer, HTMLParser and the HTML Tag Liberary. Then we describe in detail the different ways of loading some special resources such as images, scripts and style sheets. In the part of XML parser, firstly we study the working mechanism of three different XML parsing techniques:DOM, SAX and the VTD-XML. Then we introduce some modules based on XML parsing technology:XMLHttpRequet, XPATH and XSL, describing their working mechanism and used data structure, and expand the SVG module based on XML parsing technology.This thesis researchs and implements the parser party of embedded browser. At the same time, we raise two schemes which greatly improved the performance of browser: the split-screen parsing scheme and the web page prefetching scheme, and describing their working mechanism. Next we introduce two expansion programs for SVG module based on XML parsing technology:the expansion of SVGUseElement class and the expansion of SVGTRefElement class. Finallly, we test the embedded browser in terms of functionality and performance. Especially performance testing the split-screen parsing scheme and do the SVG1.1 standard test after the expansion of SVG module.
Keywords/Search Tags:WebKit, embedded browser, HTMLParser, XMLParser
PDF Full Text Request
Related items