面向PhoneGap移动中间件的研究及开发
[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.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.52
【参考文献】
相关期刊论文 前10条
1 徐隆龙;李莹;白静;;移动混合开发框架[J];计算机系统应用;2014年12期
2 傅俊谦;李俊杰;向花;肖德琴;;智能手机跨平台中间件CPAM-SP设计与应用[J];通信技术;2014年08期
3 钟迅科;;基于HTML5的跨平台移动Web应用与混合型应用的研究[J];现代计算机(专业版);2014年19期
4 李超;;HTML 5中视频和音频核心事件的相关研究[J];软件;2013年07期
5 孟凡宁;丛中昌;黄志兴;贺楚瑜;;移动互联网应用跨平台开发研究[J];移动通信;2013年13期
6 赵哲;宋俊德;鄂海红;;基于Android平台的移动应用构建研究与设计[J];新型工业化;2013年06期
7 武晶晶;;跨平台的PhoneGap研究[J];信息安全与技术;2012年12期
8 施伟;王硕苹;郭鸣;吴明晖;梁鹏;;跨平台移动应用中间适配层设计与实现[J];计算机工程与应用;2014年16期
9 蹇红梅;;WEB平台下的基于HTML5标准离线应用开发[J];四川理工学院学报(自然科学版);2012年05期
10 王晓娟;谭建龙;刘燕兵;刘金刚;;基于自动机理论的PDF文本内容抽取[J];计算机应用;2012年09期
相关博士学位论文 前1条
1 张志杰;智能手机操作系统的竞争与发展研究[D];北京邮电大学;2012年
相关硕士学位论文 前6条
1 陈宏伟;基于PhoneGap的跨平台移动应用开发及其性能优化[D];西南石油大学;2015年
2 屠卫平;基于PhoneGap的跨平台移动GIS应用研究[D];华东师范大学;2013年
3 邹轩;移动互联网跨平台应用中间件的研究[D];复旦大学;2013年
4 殷昊;基于Android平台的消息推送能力的研究与实现[D];北京邮电大学;2013年
5 李宝韩;基于Android的PhoneGap平台研究及其跨移动平台媒体框架的扩展[D];华南理工大学;2012年
6 房宇哲;Struts框架的研究及在ESPAL项目中的应用[D];吉林大学;2006年
,本文编号:2299789
本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2299789.html