HTML5混合式移动社交应用中缓存管理机制的研究
发布时间:2018-10-31 17:52
【摘要】:随着移动互联网的发展,混合式开发作为一种快速开发的方式已经成为一种趋势,这种方式既可以体现Web应用可以同时适用于IOS平台和Android平台的特点,又能解决Web应用中不能调用操作系统底层资源的问题。当今社交类应用中普遍存在大量的图片,重复图片从服务器多次存取会消耗客户端流量、增加访问延迟,当今混合式开发框架中的缓存机制并不能解决这个问题。因此提出一个可以适用于混合式移动社交应用的图片缓存管理机制,提供缓存图片管理的原生模块供开发者在混合模式下使用,并将其应用于社交应用中。同时提出了一种基于社交关系的图片缓存替换算法,该算法结合了社交应用中用户之间的社交关系亲密值、LRU算法、图片占用空间大小。实际应用表明,该算法可以提高混合式移动社交应用中的缓存命中率。
[Abstract]:With the development of mobile Internet, hybrid development, as a rapid development method, has become a trend, which can reflect the characteristics that Web application can be applied to both IOS platform and Android platform. Can also solve the Web application can not call the operating system underlying resources. Nowadays, there are a lot of images in social class applications. Repeated images from the server can consume client traffic and increase access latency. The caching mechanism in current hybrid development framework can not solve this problem. Therefore, this paper proposes a picture cache management mechanism for hybrid mobile social applications, which provides a native module of cache image management for developers to use in mixed mode, and applies it to social applications. At the same time, a new image cache replacement algorithm based on social relationship is proposed. The algorithm combines the intimate value of social relationship between users, LRU algorithm, and the size of picture space. The practical application shows that the algorithm can improve the cache hit rate in hybrid mobile social applications.
【作者单位】: 北方工业大学云计算研究中心;北方工业大学大规模流数据集成与分析技术北京市重点实验室;
【基金】:北京市自然科学基金重点资助项目:面向大规模流式数据处理的数据空间理论与关键技术研究(4131001)资助
【分类号】:TP393.09
[Abstract]:With the development of mobile Internet, hybrid development, as a rapid development method, has become a trend, which can reflect the characteristics that Web application can be applied to both IOS platform and Android platform. Can also solve the Web application can not call the operating system underlying resources. Nowadays, there are a lot of images in social class applications. Repeated images from the server can consume client traffic and increase access latency. The caching mechanism in current hybrid development framework can not solve this problem. Therefore, this paper proposes a picture cache management mechanism for hybrid mobile social applications, which provides a native module of cache image management for developers to use in mixed mode, and applies it to social applications. At the same time, a new image cache replacement algorithm based on social relationship is proposed. The algorithm combines the intimate value of social relationship between users, LRU algorithm, and the size of picture space. The practical application shows that the algorithm can improve the cache hit rate in hybrid mobile social applications.
【作者单位】: 北方工业大学云计算研究中心;北方工业大学大规模流数据集成与分析技术北京市重点实验室;
【基金】:北京市自然科学基金重点资助项目:面向大规模流式数据处理的数据空间理论与关键技术研究(4131001)资助
【分类号】:TP393.09
【参考文献】
相关期刊论文 前1条
1 罗大晖;陈娟;;基于HTML5的Web离线应用研究与实现[J];计算机应用与软件;2012年12期
相关硕士学位论文 前3条
1 谭国坚;基于Android的移动互联网应用的关键技术研究[D];华南理工大学;2014年
2 孙岳龙;Android应用开发中内存管理优化方法的研究[D];武汉理工大学;2014年
3 郑艳;HTML5本地存储和离线缓存机制应用研究[D];武汉理工大学;2014年
【共引文献】
相关期刊论文 前10条
1 陈m,
本文编号:2303080
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2303080.html