Computer Science ›› 2017, Vol. 44 ›› Issue (2): 82-87, 111.doi: 10.11896/j.issn.1002-137X.2017.02.010

Previous Articles     Next Articles

Cache Management Mechanism Study in HTML5 Hybrid Mobile Social Applications

ZHONG Yuan, WANG Jing, HAN Yan-bo and XING Qi-yuan   

  • Online:2018-11-13 Published:2018-11-13

Abstract: 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.

Key words: Hybrid application,Cache,Mobile social,Mobile application

[1] Ariel.App Stores Growth Accelerates in 2014.
[2] DoNews .TalkingData-2015移动社交应用行业报告 .
[3] LIU W X,YU S Z,CAI J,et al.Scheme for Cooperative Caching in ICN[J].Journal of Software,2013,24(8):1947-1962 .(in Chinese) 刘外喜,余顺争,蔡君,等.ICN中的一种协作缓存机制[J].软件学报 ,2013,4(8):1947-1962.
[4] BOYAR J,GUPTA S,LARSEN K S.Access Graphs Results for LRU versus FIFO under Relative Worst Order Analysis[C]∥Scandinavian Conference on Algorithm Theory.Springer-Verlag,2012:328-339
[5] TANWIR,HENDRANTORO G,AFFANDI A.Early resultfrom adaptive combination of LRU,LFU and FIFO to improve cache server performance in telecommunication network[C]∥Intelligent Technology and Its Applications (ISITIA),2015 International Seminar.2015:429-432.
[6] LIU L,XIONG X P.Least cache value replacement algorithm[J].Journal of Computer Applications,2013,33(4):1018-1022.(in Chinese) 刘磊,熊小鹏.最小驻留价值缓存替换算法[J].计算机应用,2013,33(4):1018-1022.
[7] LIANG R B,LIU Q.Research on Semantic Cache Consistency Maintenance in Mobile Environments Based on Agent Method[J].Journal of Beijing University of Posts and Telecommunications,2014,7(3):68-72.(in Chinese) 梁茹冰,刘琼.移动环境中语义缓存一致性维护的Agent方法[J].北京邮电大学学报,2014,7(3):68-72.
[8] SUN Y L.The Research of the Memory Management Optimization Method for Android Application Development[D].Wuhan:Wuhan University of Technology,2014.(in Chinese) 孙岳龙.Android 应用开发中内存管理优化方法的研究[D].武汉:武汉理工大学,2014.
[9] TAN G J.Key Technology Research of Mobile Internet Applications Based on Android[D].Guangzhou:South China University of Technology,2014.(in Chinese) 谭国坚.基于 Android 的移动互联网应用的关键技术研究[D].广州:华南理工大学,2014.
[10] XING Q Y.A User-Relationship-Based Cache ReplacementStrategy for Mobile Social Network[C]∥2015 Ninth International Conference on Frontier of Computer Science and Techno-logy.2015.
[11] CAO Y,CHEN H F.Operation-Balancing Framework Based on JSON,JavaScrip and Front-end Storage Technology[J].Research and Exploration in Laboratory,2014,3(5):117-119.(in Chinese) 曹宇,陈海峰.基于JSON、JavaScript、HTML5和前端存储技术的均衡运算框架[J].实验室研究与探索,2014,3(5):117-119.
[12] HUANG Y F.Exploration of HTML5 WebStorage API and.NET Mechanism[J].Computer Knowledge and Technology,2013,9(9):2102-2104.(in Chinese) 黄有福.HTML5 WebStorage API与.NET会话机制探索[J].电脑知识与技术,2013,9(9):2102-2104.
[13] LUO D H,CHEN J.Research and Implementation of HTML5-Based Web Offline Application[J].Computer Applications and Software,2012,9(12):263-305.(in Chinese) 罗大晖,陈娟.基于HTML5的Web离线应用研究与实现[J].计算机应用与软件,2012,9(12):263-305.
[14] ZHENG Y.Research and Application of HTML5 Local Storage and Offline Caching Mechanisms[D].Wuhan:Wuhan University of Technology,2014.(in Chinese) 郑艳.HTML5本地存储和离线缓存机制应用研究[D].武汉:武汉理工大学,2014.
[15] TIAN L,DU H C,TANG L.The discussion of cross-platform mobile application based on Phonegap[C]∥Proceedings of 2013 IEEE 4th International Conference on Software Engineering and Service Science.2013:652-655.

No related articles found!
Full text



[1] LEI Li-hui and WANG Jing. Parallelization of LTL Model Checking Based on Possibility Measure[J]. Computer Science, 2018, 45(4): 71 -75, 88 .
[2] XIA Qing-xun and ZHUANG Yi. Remote Attestation Mechanism Based on Locality Principle[J]. Computer Science, 2018, 45(4): 148 -151, 162 .
[3] LI Bai-shen, LI Ling-zhi, SUN Yong and ZHU Yan-qin. Intranet Defense Algorithm Based on Pseudo Boosting Decision Tree[J]. Computer Science, 2018, 45(4): 157 -162 .
[4] WANG Huan, ZHANG Yun-feng and ZHANG Yan. Rapid Decision Method for Repairing Sequence Based on CFDs[J]. Computer Science, 2018, 45(3): 311 -316 .
[5] SUN Qi, JIN Yan, HE Kun and XU Ling-xuan. Hybrid Evolutionary Algorithm for Solving Mixed Capacitated General Routing Problem[J]. Computer Science, 2018, 45(4): 76 -82 .
[6] ZHANG Jia-nan and XIAO Ming-yu. Approximation Algorithm for Weighted Mixed Domination Problem[J]. Computer Science, 2018, 45(4): 83 -88 .
[7] WU Jian-hui, HUANG Zhong-xiang, LI Wu, WU Jian-hui, PENG Xin and ZHANG Sheng. Robustness Optimization of Sequence Decision in Urban Road Construction[J]. Computer Science, 2018, 45(4): 89 -93 .
[8] LIU Qin. Study on Data Quality Based on Constraint in Computer Forensics[J]. Computer Science, 2018, 45(4): 169 -172 .
[9] ZHONG Fei and YANG Bin. License Plate Detection Based on Principal Component Analysis Network[J]. Computer Science, 2018, 45(3): 268 -273 .
[10] SHI Wen-jun, WU Ji-gang and LUO Yu-chun. Fast and Efficient Scheduling Algorithms for Mobile Cloud Offloading[J]. Computer Science, 2018, 45(4): 94 -99, 116 .