期刊文献+

HTML5混合式移动社交应用中缓存管理机制的研究 被引量:5

Cache Management Mechanism Study in HTML5 Hybrid Mobile Social Applications
下载PDF
导出
摘要 随着移动互联网的发展,混合式开发作为一种快速开发的方式已经成为一种趋势,这种方式既可以体现Web应用可以同时适用于IOS平台和Android平台的特点,又能解决Web应用中不能调用操作系统底层资源的问题。当今社交类应用中普遍存在大量的图片,重复图片从服务器多次存取会消耗客户端流量、增加访问延迟,当今混合式开发框架中的缓存机制并不能解决这个问题。因此提出一个可以适用于混合式移动社交应用的图片缓存管理机制,提供缓存图片管理的原生模块供开发者在混合模式下使用,并将其应用于社交应用中。同时提出了一种基于社交关系的图片缓存替换算法,该算法结合了社交应用中用户之间的社交关系亲密值、LRU算法、图片占用空间大小。实际应用表明,该算法可以提高混合式移动社交应用中的缓存命中率。 With the development of the mobile Internet,the hybrid development,as a way of rapid development,has become a trend.This approach can not only reflect the characteristics of Web applications which is both suitable for IOS and Android platform,but also can solve the problem which the web application cannot call the underlying resources of operating system.Nowadays,social application generally have a large number of pictures,When duplicate pictures accessed multiple times from server,it will consume client flow and increase the latency of access.However,today's cache mechanism of hybrid application development frameworks can not solve the problem described above.So,this paper proposed a management mechanism of picture cache which is suitable for mixing mobile social applications,it provides a native module of picture cache management for use by developers in hybrid mode,and it can be used in social applications.Meanwhile,we put forward an algorithm of picture cache replacement based on social relationships.It considers enough influence factors,including close value of social relationships among users in social applications,the LRU algorithm,image size space.Practical application shows that the algorithm we proposed can increase the cache hit ratio of hybrid mobile social applications.
作者 仲媛 王菁 韩燕波 邢起源 ZHONG Yuan WANG Jing HAN Yan-bo XING Qi-yuan(Cloud Computing Research Center, North China University of Technology, Beijing 100144, China Beijing Key Laboratory on Integration and Analysis of Large-scale Stream Data, North China University of Technology, Beijing 100144, China)
出处 《计算机科学》 CSCD 北大核心 2017年第2期82-87,111,共7页 Computer Science
基金 北京市自然科学基金重点资助项目:面向大规模流式数据处理的数据空间理论与关键技术研究(4131001)资助
关键词 混合式应用 缓存 移动社交 移动应用 Hybrid application Cache Mobile social Mobile application
  • 相关文献

参考文献6

二级参考文献47

共引文献65

同被引文献49

引证文献5

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部