A server-side tile caching algorithm based on theme temporal and spatial value
LU Ye1,2, ZHANG Wei3, LI Fei3, DU Zhenhong1,2, ZHANG Feng1,2, LIU Renyi1,2
1.Zhejiang Provincial Key Lab of GIS, Zhejiang University, Hangzhou 310028, China 2.Department of Geographic Information Science, Zhejiang University, Hangzhou 310027, China 3.Shandong Provincial Institute of Land Surveying and Mapping, Shandong University, Jinan 250102, China
Abstract:Traditional cache algorithms such as FIFO, LRU, and LFU focus on the access time and frequency of data, while existing tile cache algorithms are mostly applicable to single-type tile data, therefore failing to balance the multi-type and spatial location characteristics of the tile data, and limiting their application on server-side tile caching. By constructing the server-side cache index for multi-type tiles and taking account of the temporal locality, spatial locality and user theme tendency in tile access, a tile data cache replacement algorithm GDTST based on the topic time-space value is proposed. The experimental results show that compared with the traditional server-side cache replacement algorithm, GDTST can improve the cache hit ratio, and has a better latency reduction ratio when the cache capacity is larger, which effectively reduces the load on the tile source server and accelerates the user response speed.
陆晔, 张伟, 李飞, 杜震洪, 张丰, 刘仁义. 一种基于主题时空价值的服务器端瓦片缓存算法[J]. 浙江大学学报(理学版), 2020, 47(1): 12-19.
LU Ye, ZHANG Wei, LI Fei, DU Zhenhong, ZHANG Feng, LIU Renyi. A server-side tile caching algorithm based on theme temporal and spatial value. Journal of ZheJIang University(Science Edition), 2020, 47(1): 12-19.
1 刘佳星, 陈飞翔, 陈星涵 . 一种基于地理单元热度的瓦片缓存策略[J]. 计算机工程与应用,2017,53(5): 90-96. LIU J X , CHEN F X , CHEN X H . Tile cache strategy based on geographic unit heat[J]. Computer Engineering and Applications, 2017,53(5): 90-96. 2 程雯, 杨阳, 陈峰 . 基于社交网络的Web缓存架构研究[J]. 电子设计工程,2017, 25(17): 191-193.DOI:10.3969/j.issn.1674-6236.2017.17.046 CHENG W , YANG Y , CHEN F . Web cache architecture research based on the social networking[J]. Electronic Design Engineering, 2017, 25(17): 191-193. DOI:10.3969/j.issn.1674-6236.2017.17.046 3 KANG Y K , KIM K C , KIM Y S . Probability-based tile prefetching and cache replacement algorithms for web geographical information systems[C]//East European Conference on Advances in Databases and Information Systems. Vilnius:Springer, 2001:127-140. DOI:10.1007/3-540-44803-9_11 4 王浩, 喻占武, 曾武, 等 . 基于瓦片寿命和访问热度的海量空间数据缓存置换策略[J]. 武汉大学学报(信息科学版),2009,34(6): 667-670. WANG H , YU Z W , ZENG W ,et al . Massive spatial data cache replacement policy based on tile lifetime and popularity[J]. Geomatics and Information Science of Wuhan University, 2009,34(6): 667-670. 5 涂振发, 孟令奎, 张文, 等 . 面向网络GIS的最小价值空间数据缓存替换算法研究[J]. 华中师范大学学报(自然科学版), 2012, 46(2): 230-234. DOI:10.3969/j.issn.1000-1190.2012.02.023 TU Z F , MENG L K , ZHANG W ,et al . Research on the lowest-value cache replacement algorithm of geospatial data in network GIS[J]. Journal of Central China Normal University(Nature Sciences), 2012, 46(2): 230-234.DOI:10.3969/j.issn.1000-1190.2012.02.023 6 LI R , WANG X X , LIN Y P . Replacement method based on access spatiotemporal locality in a heterogeneous distributed cluster-Based caching system for WebGIS[J]. The Open Cybernetics & Systemics Journal, 2015, 9:663-668.DOI:10.2174/1874110x20150610e010 7 路东林, 智广玉 . 地图发布平台下瓦片金字塔技术研究[J]. 数字技术与应用,2013(3): 99,101. LU D L , ZHI G Y . Tile pyramid technology research under map publishing platform[J]. Digital Technology and Application, 2013(3): 99,101. 8 王浩, 喻占武, 曾武, 等 . 网络地理信息服务中的空间数据缓存算法研究[J]. 测绘学报, 2009, 38(4): 348-355. DOI:10.3321/j.issn:1001-1595.2009.04.011 WANG H , YU Z W , ZENG W ,et al . The research on the algorithm of spatial data cache in network geographic information service[J]. Acta Geodaetica et Cartographica Sinica, 2009,38(4): 348-355.DOI:10.3321/j.issn:1001-1595.2009.04.011 9 LI R , WANG X , SHI X . A replacement strategy for a distributed caching system based on the spatiotemporal access pattern of geospatial data[J]. ISPRS - International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 2014, XL- 4:133-137.DOI:10.5194/isprsarchives-xl-4-133-2014 10 吴俊龙 . 基于对象替换与预取的Web缓存模型研究[D]. 湘潭: 湖南科技大学, 2014. DOI:10.7666/d.D625793 WU J L . The Research of Web Cache Model Based on Object Replacement and Prefetching[D]. Xiangtan: Hunan University of Science and Technology, 2014. DOI:10.7666/d.D625793 11 王兆春 . 基于固态盘的图片缓存优化研究[D]. 武汉: 华中科技大学, 2017. WANG Z C . Research on Photo Cache Optimization Based on Solid-State Disk[D]. Wuhan: Huazhong University of Science & Technology, 2017. 12 褚信, 蔡阳军, 杜震洪, 等 . 用户行为选择参与的五层十五级瓦片缓存置换策略研究[J]. 浙江大学学报(理学版) ,2016,43(4): 452-457. DOI:10.3785/j.issn.1008-9497.2016.04.012 CHU X , CAI Y J , DU Z H ,et al . Research on the user preference based cache replacement algorithm of the Five-layer Fifteen-level tile[J]. Journal of Zhejiang University (Science Edition), 2016,43(4): 452-457. DOI:10.3785/j.issn.1008-9497.2016.04.012 13 方磊 . 近海碳通量遥感信息的可视化构形与时空过程表达[D]. 杭州: 浙江大学, 2015. FANG L . Spatio-Temporal Process Construction and Visualization of Satellite-Derived Carbon Flux Data in Coastal Oceans[D]. Hangzhou: Zhejiang University, 2015.