基于WebKit內(nèi)核的Android手機(jī)瀏覽器的性能研究與加載優(yōu)化
本文關(guān)鍵詞: 手機(jī)瀏覽器 加載與渲染 優(yōu)化 WebKit 出處:《南京郵電大學(xué)》2017年碩士論文 論文類型:學(xué)位論文
【摘要】:隨著互聯(lián)網(wǎng)技術(shù)的迅速發(fā)展和4G網(wǎng)絡(luò)的日漸完善,以及網(wǎng)絡(luò)的迅速普及,移動瀏覽器作為人們獲取網(wǎng)絡(luò)資訊的一種非常重要的工具,與人們的日常生活和工作的聯(lián)系越來越緊密。手機(jī)瀏覽器已經(jīng)成為人們生活中必不可少的一個部分,同時,手機(jī)瀏覽器作為人們常用的上網(wǎng)的入口,市場價值也越來越大。在早期由于硬件條件比較差,智能手機(jī)發(fā)展緩慢,手機(jī)瀏覽器主要是WAP瀏覽器。隨著硬件的不斷發(fā)展和新技術(shù)的不斷出現(xiàn),智能手機(jī)越來越完善,隨之而來就是Web瀏覽器正在逐漸地取代以前的WAP瀏覽器。論文介紹了國內(nèi)外手機(jī)瀏覽器的發(fā)展,并得出結(jié)論:Web瀏覽器將是未來的發(fā)展趨勢。論文介紹了手機(jī)瀏覽器的整體的工作流程,分析了當(dāng)前主流的一些手機(jī)瀏覽器。論文從瀏覽器的核心部分瀏覽器的內(nèi)核入手,比較了目前市場上最流行的四種瀏覽器引擎,說明了選擇WebKit內(nèi)核的原因并不僅僅是因為市場需求流行,而且還與其出色的性能有關(guān)。論文著重分析了瀏覽器引擎的架構(gòu)和處理頁面請求的主要流程,并對其中重要的Loader模塊、DOM模塊和Render模塊進(jìn)行了詳細(xì)分析。論文分析了WebKit內(nèi)核在加載資源和渲染資源時存在的一些缺陷,并針對這些缺陷做出了相應(yīng)的優(yōu)化改進(jìn)方案,提升了資源加載和渲染的速度。論文第四章基于網(wǎng)頁之間的相似性,提取相似網(wǎng)頁之間的樣式進(jìn)行重用,對于加載新網(wǎng)頁的過程,給出了一種方法來檢索可以重用樣式。論文第五章對渲染機(jī)制中存在重復(fù)渲染的問題進(jìn)行了相應(yīng)的改進(jìn),首先把需要加載的網(wǎng)頁分為兩倍于手機(jī)屏幕大小的眾多區(qū)域,優(yōu)先加載當(dāng)前用戶可視化的區(qū)域,當(dāng)用戶向下滑動時就已經(jīng)加載好了,避免了因觸發(fā)子資源帶來的重復(fù)渲染問題。最后,對本文進(jìn)行了總結(jié)并對手機(jī)瀏覽器的發(fā)展進(jìn)行了展望,同時對手機(jī)瀏覽器未來的優(yōu)化方向進(jìn)行了討論。
[Abstract]:With the rapid development of Internet technology and the improvement of 4G network, as well as the rapid popularization of network, mobile browser is a very important tool for people to obtain network information. Mobile browser has become an indispensable part of people's life. Meanwhile, mobile browser has become a common entry point for people to surf the Internet. In the early days, due to poor hardware conditions and slow development of smartphones, mobile browsers are mainly WAP browsers. With the continuous development of hardware and the emergence of new technologies, smartphones are becoming more and more perfect. Then the Web browser is gradually replacing the former WAP browser. This paper introduces the development of mobile browser at home and abroad. It is concluded that: Web browser will be the future development trend. This paper introduces the overall workflow of mobile browser and analyzes some mainstream mobile browsers. The paper starts with the kernel of browser, which is the core part of the browser. By comparing the four most popular browser engines on the market at present, we show that the reason for choosing the WebKit kernel is not just the popularity of market demand. It also has something to do with its outstanding performance. This paper focuses on the architecture of the browser engine and the main process of processing page requests. The important Loader modules, Dom module and Render module, are analyzed in detail. Some defects of WebKit kernel in loading and rendering resources are analyzed, and the corresponding optimization and improvement schemes are given. Chapter 4th, based on the similarity of web pages, extracts the styles between similar pages for reuse. This paper presents a method of retrieving reusable styles. Chapter 5th improves the problem of repeated rendering in rendering mechanism. Firstly, the web pages that need to be loaded are divided into many areas that are twice the size of the screen of the mobile phone. Load the visualized area of the current user first and load it well when the user slips down, avoiding the repeated rendering problem caused by triggering sub-resources. Finally, this paper summarizes and prospects the development of mobile browser. At the same time, the future optimization direction of mobile browser is discussed.
【學(xué)位授予單位】:南京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP393.092
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 肖偉民;孫鵬;郭志川;胡琳琳;;基于WebKit內(nèi)核的焦點查詢策略研究與優(yōu)化[J];計算機(jī)應(yīng)用與軟件;2016年10期
2 羅宏俊;馮瑞;;基于Web技術(shù)進(jìn)行桌面應(yīng)用開發(fā)的研究[J];網(wǎng)絡(luò)新媒體技術(shù);2016年02期
3 劉秀秀;潘梁;郭志川;胡琳琳;;基于嵌入式瀏覽器CSS引擎并行化技術(shù)的研究[J];計算機(jī)應(yīng)用與軟件;2016年03期
4 劉秀秀;潘梁;郭志川;胡琳琳;;基于Web運行環(huán)境的Android原生應(yīng)用管理研究[J];網(wǎng)絡(luò)新媒體技術(shù);2015年04期
5 段虎才;倪宏;鄧峰;胡琳琳;;WebKit內(nèi)核的嵌入式瀏覽器磁盤緩存方法[J];計算機(jī)工程與設(shè)計;2015年03期
6 趙金龍;;基于Chrome開放平臺的個人學(xué)習(xí)環(huán)境構(gòu)建研究[J];圖書館學(xué)研究;2014年21期
7 余啟洋;桑楠;郭文生;;嵌入式瀏覽器JavaScript引擎的研究與設(shè)計[J];計算機(jī)應(yīng)用與軟件;2014年05期
8 張開敏;;一種并行的網(wǎng)頁解析算法[J];小型微型計算機(jī)系統(tǒng);2014年02期
9 趙小廈;范冰冰;夏嵬;;基于WebKit的一種渲染改進(jìn)方法[J];計算機(jī)應(yīng)用與軟件;2014年01期
10 仲曉;廖建新;;基于Webkit的網(wǎng)站加載過程監(jiān)控系統(tǒng)的設(shè)計[J];電信工程技術(shù)與標(biāo)準(zhǔn)化;2013年11期
相關(guān)博士學(xué)位論文 前1條
1 張開敏;移動Web瀏覽系統(tǒng)的若干關(guān)鍵技術(shù)研究[D];中國科學(xué)技術(shù)大學(xué);2012年
相關(guān)碩士學(xué)位論文 前10條
1 李新新;在線學(xué)習(xí)平臺的前端設(shè)計優(yōu)化與實現(xiàn)[D];南京大學(xué);2016年
2 羅仁楊;基于百度云服務(wù)的Android云終端設(shè)計及實現(xiàn)[D];電子科技大學(xué);2016年
3 楊力;基于WebKit的圖形化編程軟件[D];吉林大學(xué);2015年
4 費維富;基于WebKit渲染架構(gòu)的嵌入式瀏覽器研究與實現(xiàn)[D];吉林大學(xué);2015年
5 向俊;基于WebKit瀏覽器WebGL的并行化圖形渲染研究[D];電子科技大學(xué);2015年
6 王閱蓁;移動應(yīng)用的web與native混合編程模式研究與實現(xiàn)[D];電子科技大學(xué);2015年
7 禹智;基于WebKit內(nèi)核手機(jī)瀏覽器的研究與優(yōu)化[D];南京郵電大學(xué);2015年
8 楊勇;基于WebKit嵌入式瀏覽器的設(shè)計與實現(xiàn)[D];哈爾濱工業(yè)大學(xué);2014年
9 張明璐;基于DirectFB的HTML5運行引擎的移值與優(yōu)化[D];東北大學(xué);2014年
10 謝將權(quán);基于web的移動應(yīng)用框架的研究與實現(xiàn)[D];電子科技大學(xué);2014年
,本文編號:1530589
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1530589.html