嵌入式瀏覽器多線程機(jī)制的研究與實(shí)現(xiàn)
本文選題:嵌入式瀏覽器 切入點(diǎn):多線程 出處:《電子科技大學(xué)》2012年碩士論文
【摘要】:隨著移動(dòng)互聯(lián)網(wǎng)的飛速發(fā)展和移動(dòng)終端的大量涌現(xiàn),在消費(fèi)類電子設(shè)備上使用嵌入式瀏覽器訪問網(wǎng)絡(luò)獲得信息成為一種趨勢。三網(wǎng)融合的逐步實(shí)現(xiàn),使得越來越多的消費(fèi)類電子產(chǎn)品中有了使用瀏覽器進(jìn)行網(wǎng)絡(luò)應(yīng)用的需求。目前,數(shù)字電視機(jī)頂盒、數(shù)字電視一體機(jī)、手機(jī)等產(chǎn)品中很多都已支持瀏覽器應(yīng)用。近年來,硬件的快速發(fā)展使得多核CPU廣泛應(yīng)用于各種消費(fèi)類電子設(shè)備中,因此如何針對這一變化,對原有嵌入式瀏覽器的架構(gòu)進(jìn)行重新設(shè)計(jì),從而有效利用多核的優(yōu)勢,提高嵌入式瀏覽器的瀏覽性能和用戶的響應(yīng)速度值得進(jìn)一步研究。 本文對比分析了嵌入式瀏覽器的架構(gòu)技術(shù)及其優(yōu)缺點(diǎn),研究了在多核平臺(tái)下引入多線程技術(shù)帶來的性能優(yōu)勢。在對現(xiàn)有嵌入式瀏覽器的串行處理機(jī)制進(jìn)行分析的基礎(chǔ)上,提出一種新的基于多線程的并行處理架構(gòu)。該多線程架構(gòu)主要包括主從線程的劃分依據(jù)和劃分方法、主從線程的基本執(zhí)行流程、基于消息的線程間通信以及對關(guān)鍵組成模塊和數(shù)據(jù)的處理。 本文依據(jù)實(shí)際課題項(xiàng)目,提出嵌入式瀏覽器的多線程處理架構(gòu),對瀏覽器的用戶交互、HTML處理模塊、CSS處理模塊、JavaScript處理模塊、Render模塊等重要組成部分進(jìn)行重組,對其實(shí)現(xiàn)了線程化處理,,優(yōu)化了瀏覽器的處理流程。為了驗(yàn)證該多線程處理架構(gòu),本文搭建了基于QT/Embedded的嵌入式瀏覽器平臺(tái),設(shè)計(jì)實(shí)現(xiàn)了瀏覽器關(guān)鍵模塊的線程化、線程間通信的管理、對關(guān)鍵數(shù)據(jù)的保護(hù)以及對資源加載、排版布局、樣式的解析和運(yùn)用、腳本執(zhí)行等的詳細(xì)處理。本文提出的嵌入式瀏覽器多線程架構(gòu)是對多核平臺(tái)下瀏覽器架構(gòu)的一次新嘗試,對于嵌入式瀏覽器的進(jìn)一步開發(fā)具有參考和借鑒意義。
[Abstract]:With the rapid development of mobile Internet and the emergence of a large number of mobile terminals, it is a trend to use embedded browser to access the network to obtain information on consumer electronic devices. As a result, more and more consumer electronics have the need to use browsers for network applications. At present, many of the products, such as digital TV set-top boxes, digital television integrated machines, mobile phones, and so on, have supported browser applications. With the rapid development of hardware, multi-core CPU is widely used in various consumer electronic devices, so how to redesign the architecture of the original embedded browser in view of this change, so as to effectively utilize the advantages of multi-core. It is worth further research to improve the browsing performance of embedded browsers and the response speed of users. In this paper, the architecture technology of embedded browser and its advantages and disadvantages are compared and analyzed, and the performance advantage of multi-thread technology in multi-core platform is studied. Based on the analysis of serial processing mechanism of embedded browser, A new parallel processing architecture based on multithreading is proposed, which mainly includes the division basis and method of master-slave thread, the basic execution flow of master-slave thread. Message-based communication between threads and the processing of key components and data. According to the actual project, this paper puts forward the multi-thread processing architecture of embedded browser, and reorganizes the important parts of browser, such as user interaction HTML processing module, JavaScript processing module, JavaScript processing module and render module, etc. In order to verify the multi-thread processing architecture, the embedded browser platform based on QT/Embedded is built, and the thread of the key module of browser is designed and implemented. Management of inter-thread communication, protection of critical data, resource loading, layout, style parsing and application, The multithreaded architecture of embedded browser proposed in this paper is a new attempt of browser architecture under multi-core platform, which has reference and reference significance for the further development of embedded browser.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1;TP393.092
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 倪建新;;基于WebKit的嵌入式瀏覽器關(guān)鍵技術(shù)研究與實(shí)現(xiàn)[J];智能計(jì)算機(jī)與應(yīng)用;2011年06期
2 何立民;嵌入式系統(tǒng)的定義與發(fā)展歷史[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2004年01期
3 蔡智聰;;對Chrome的源碼簡易剖析[J];電腦編程技巧與維護(hù);2011年21期
4 陸瑋玨;葉德建;;面向下一代網(wǎng)絡(luò)電視的多媒體展示框架中間件[J];電視技術(shù);2011年21期
5 黃偉文;張坤;;MHG平臺(tái)下的Web瀏覽器的設(shè)計(jì)及實(shí)現(xiàn)[J];計(jì)算機(jī)工程與應(yīng)用;2010年10期
6 劉劍;桑楠;郭文生;;嵌入式瀏覽器CSS引擎的研究與改進(jìn)[J];計(jì)算機(jī)工程;2011年09期
7 陽富民,李俊,周正勇,胡貫榮;嵌入式瀏覽器的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)工程與科學(xué);2003年04期
8 常海峰,鄭羽,萬振凱;線程池?cái)?shù)據(jù)庫服務(wù)器的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)時(shí)代;2004年01期
9 王華,馬亮,顧明;線程池技術(shù)研究與應(yīng)用[J];計(jì)算機(jī)應(yīng)用研究;2005年11期
10 車元媛;;CSS技術(shù)在網(wǎng)頁設(shè)計(jì)中的應(yīng)用研究[J];科技信息;2011年05期
相關(guān)碩士學(xué)位論文 前10條
1 郭志強(qiáng);基于B/S模式的網(wǎng)絡(luò)實(shí)驗(yàn)系統(tǒng)的研究[D];天津理工大學(xué);2010年
2 吳銳強(qiáng);嵌入式瀏覽器網(wǎng)頁解析器的研究與實(shí)現(xiàn)[D];電子科技大學(xué);2011年
3 李春香;基于Trimaran平臺(tái)的多核模擬器設(shè)計(jì)與實(shí)現(xiàn)[D];西安電子科技大學(xué);2010年
4 楊留慧;嵌入式瀏覽器多線程機(jī)制研究與設(shè)計(jì)[D];電子科技大學(xué);2011年
5 于海濤;嵌入式瀏覽器渲染體系結(jié)構(gòu)的研究與設(shè)計(jì)[D];電子科技大學(xué);2011年
6 張銳;嵌入式JavaScript引擎即時(shí)編譯器的研究與設(shè)計(jì)[D];電子科技大學(xué);2011年
7 劉道宏;嵌入式瀏覽器布局繪制引擎的研究與實(shí)現(xiàn)[D];電子科技大學(xué);2011年
8 彭莉娟;嵌入式瀏覽器的研究[D];北京工業(yè)大學(xué);2001年
9 劉剛;基于MiniGUI的嵌入式瀏覽器的研究與開發(fā)[D];華中科技大學(xué);2004年
10 胡青山;嵌入式瀏覽器的研究與實(shí)現(xiàn)[D];西北大學(xué);2005年
本文編號(hào):1673443
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1673443.html