作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (14): 72-74. doi: 10.3969/j.issn.1000-3428.2009.14.025

• 软件技术与数据库 • 上一篇    下一篇

一种高效的流媒体代理缓存替换算法

王小燕   

  1. (西安石油大学理学院,西安 710065)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-07-20 发布日期:2009-07-20

High Effective Stream Media Proxy Cache Replacement Algorithm

WANG Xiao-yan   

  1. (Department of Science, Xi’an Shiyou University, Xi’an 710065)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-07-20 Published:2009-07-20

摘要: 提出基于流行度和将来访问次数的最小效用替换算法(SCU-PFUT),考虑流媒体文件的字节有效性和文件块大小等因素,使替换出内存的数据块更合理。避免LRU和LFU算法中出现的媒体文件被连续替换的问题,与LRU, LFU和SCU-2算法相比,该算法的缓存命中率、字节命中率和空间利用率较高。

关键词: 流媒体, 代理缓存, 缓存替换算法, 流行度

Abstract: The smallest cache utility algorithm based on popularity and visited times in future, SCU-PFUT, is proposed. In addition, it considers bytes benefit of stream media file and the size of file block, so it is more reasonable when move data block out of cache. It not only avoids the problem of the stream media file being continuously replaced, but also has better performance in enhancing cache hit rate, byte hit rate and space use rate than LRU, LFU and SCU-2.

Key words: stream media, proxy cache, cache replacement algorithm, popularity

中图分类号: