天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 軟件論文 >

面向PhoneGap移動中間件的研究及開發(fā)

發(fā)布時間:2018-10-30 10:48
【摘要】:隨著移動互聯(lián)網(wǎng)的蓬勃發(fā)展,移動應(yīng)用在人們的生產(chǎn)生活中扮演著日益重要的角色,更多的開發(fā)者開始從事移動應(yīng)用的開發(fā)。在主流的開發(fā)模式中,基于第三方框架的混合移動開發(fā)模式具有良好的應(yīng)用性能和低廉的開發(fā)成本等優(yōu)勢,使得其發(fā)展態(tài)勢越來越火熱。目前成熟的第三方框架有PhoenGap、APPCan和Titanium,其中性能最好的為PhoneGap框架。雖然PhoneGap是優(yōu)秀的開源框架,但PhoneGap對于網(wǎng)絡(luò)流量沒有有效的緩存處理,使其網(wǎng)絡(luò)流量消耗較大。其內(nèi)部封裝的插件過于簡單,如果想開發(fā)特定功能的應(yīng)用開發(fā)者仍需手動開發(fā)插件,這成為PhoneGap的跨平臺最大的局限。此外,目前對于PhoneGap框架的開發(fā)缺乏一套有效的優(yōu)化方案,這也是PhoneGap應(yīng)用性能較低的原因之一。針對上述情況,本文旨在提出一種擴展的PhoneGap框架,并提出PhoneGap應(yīng)用的優(yōu)化方案。首先,本文深入剖析了 PhoneGap框架的整體架構(gòu)、跨平臺原理、Web端JavaScript與本地代碼的通信機制,以及其插件開發(fā)方式等相關(guān)技術(shù);研究了 Ant打包SDK的方法與原理和快速緩存方案以及擴展插件的相關(guān)技術(shù)。然后,對于PhoneGap框架沒有緩存的情況,本文對Android端PhoneGap框架內(nèi)部邏輯流程進行改進,設(shè)計了快速緩存模塊并添加到PhoneGap框架之中。對于其插件單一的問題,本文對常用而又難以開發(fā)的功能進行調(diào)研,將PDF閱讀和二維碼掃描等功能做成PhoneGap形式的插件。最后利用Ant打包技術(shù)將改進后的PhoneGap框架和相關(guān)的功能插件重新打包,形成了一款擴展的基于PhoneGap框架的第三方框架供開發(fā)者使用。最后,本文利用擴展的PhoneGap框架依據(jù)國家數(shù)字移動圖書館項目需求開發(fā)了一款數(shù)字移動圖書館APP。通過對數(shù)字移動圖書館應(yīng)用的測試驗證了擴展PhoneGap框架的實用性與插件功能的穩(wěn)定性。對擴展后PhoneGap框架的快速緩存模塊做了完善的性能測試,證明了快速緩存模塊的必要性與其高效性。通過總結(jié)開發(fā)開發(fā)過程中遇到的問題以及解決辦法,本文提出了 PhoneGap應(yīng)用的優(yōu)化方案。該方案最終被應(yīng)用到數(shù)字移動圖書館APP之中,經(jīng)過對優(yōu)化前后應(yīng)用性能的測試對比,驗證了該方案的有效性和正確性。
[Abstract]:With the rapid development of mobile Internet, mobile applications play an increasingly important role in people's production and life, and more developers begin to engage in the development of mobile applications. In the mainstream development mode, the hybrid mobile development model based on the third party framework has the advantages of good application performance and low development cost, which makes its development trend more and more hot. At present, mature third-party frameworks have PhoenGap,APPCan and Titanium, the best performance is the PhoneGap framework. Although PhoneGap is an excellent open source framework, PhoneGap has no efficient cache handling for network traffic, which makes it consume a lot of network traffic. The internal encapsulation of the plug-in is too simple, if you want to develop a specific function of the application developer still need to develop the plug-in manually, which is the biggest cross-platform limitation of PhoneGap. In addition, there is a lack of an effective optimization scheme for the development of PhoneGap framework, which is one of the reasons for the low performance of PhoneGap applications. In view of the above, this paper proposes an extended PhoneGap framework and an optimization scheme for PhoneGap applications. First of all, this paper deeply analyzes the whole architecture of PhoneGap framework, the principle of cross-platform, the communication mechanism between JavaScript and local code on the Web side, and the way of plug-in development. The method and principle of Ant packaging SDK, the scheme of fast cache and the related technology of extension are studied. Then, for the case that PhoneGap framework has no cache, this paper improves the internal logic flow of Android PhoneGap framework, designs a fast cache module and adds it to PhoneGap framework. For the single problem of its plug-in, this paper investigates the commonly used and difficult to develop functions, PDF reading and QR code scanning and other functions into the PhoneGap form of the plug-in. Finally, the improved PhoneGap framework and related functional plug-ins are repackaged using Ant packaging technology, forming an extended third-party framework based on PhoneGap framework for developers to use. Finally, based on the requirements of the National Digital Mobile Library Project, this paper develops a digital mobile library APP. based on the extended PhoneGap framework. The practicability of the extended PhoneGap framework and the stability of the plug-in function are verified by testing the application of the digital mobile library. A perfect performance test of the fast cache module of the extended PhoneGap framework is made, which proves the necessity of the fast cache module and its high efficiency. Through summing up the problems encountered in the process of development and the solutions, this paper puts forward the optimization scheme of PhoneGap application. The scheme is finally applied to the APP of digital mobile library. The validity and correctness of the scheme are verified by the test and comparison of the application performance before and after optimization.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號】:TP311.52

【參考文獻】

相關(guān)期刊論文 前10條

1 徐隆龍;李瑩;白靜;;移動混合開發(fā)框架[J];計算機系統(tǒng)應(yīng)用;2014年12期

2 傅俊謙;李俊杰;向花;肖德琴;;智能手機跨平臺中間件CPAM-SP設(shè)計與應(yīng)用[J];通信技術(shù);2014年08期

3 鐘迅科;;基于HTML5的跨平臺移動Web應(yīng)用與混合型應(yīng)用的研究[J];現(xiàn)代計算機(專業(yè)版);2014年19期

4 李超;;HTML 5中視頻和音頻核心事件的相關(guān)研究[J];軟件;2013年07期

5 孟凡寧;叢中昌;黃志興;賀楚瑜;;移動互聯(lián)網(wǎng)應(yīng)用跨平臺開發(fā)研究[J];移動通信;2013年13期

6 趙哲;宋俊德;鄂海紅;;基于Android平臺的移動應(yīng)用構(gòu)建研究與設(shè)計[J];新型工業(yè)化;2013年06期

7 武晶晶;;跨平臺的PhoneGap研究[J];信息安全與技術(shù);2012年12期

8 施偉;王碩蘋;郭鳴;吳明暉;梁鵬;;跨平臺移動應(yīng)用中間適配層設(shè)計與實現(xiàn)[J];計算機工程與應(yīng)用;2014年16期

9 蹇紅梅;;WEB平臺下的基于HTML5標準離線應(yīng)用開發(fā)[J];四川理工學(xué)院學(xué)報(自然科學(xué)版);2012年05期

10 王曉娟;譚建龍;劉燕兵;劉金剛;;基于自動機理論的PDF文本內(nèi)容抽取[J];計算機應(yīng)用;2012年09期

相關(guān)博士學(xué)位論文 前1條

1 張志杰;智能手機操作系統(tǒng)的競爭與發(fā)展研究[D];北京郵電大學(xué);2012年

相關(guān)碩士學(xué)位論文 前6條

1 陳宏偉;基于PhoneGap的跨平臺移動應(yīng)用開發(fā)及其性能優(yōu)化[D];西南石油大學(xué);2015年

2 屠衛(wèi)平;基于PhoneGap的跨平臺移動GIS應(yīng)用研究[D];華東師范大學(xué);2013年

3 鄒軒;移動互聯(lián)網(wǎng)跨平臺應(yīng)用中間件的研究[D];復(fù)旦大學(xué);2013年

4 殷昊;基于Android平臺的消息推送能力的研究與實現(xiàn)[D];北京郵電大學(xué);2013年

5 李寶韓;基于Android的PhoneGap平臺研究及其跨移動平臺媒體框架的擴展[D];華南理工大學(xué);2012年

6 房宇哲;Struts框架的研究及在ESPAL項目中的應(yīng)用[D];吉林大學(xué);2006年

,

本文編號:2299789

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2299789.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶698f3***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com