发明公开
EP3252609A1 CACHE DATA DETERMINATION METHOD AND DEVICE 审中-公开
缓存数据确定方法和装置

  • 专利标题: CACHE DATA DETERMINATION METHOD AND DEVICE
  • 专利标题(中): 缓存数据确定方法和装置
  • 申请号: EP15884413.4
    申请日: 2015-11-26
  • 公开(公告)号: EP3252609A1
    公开(公告)日: 2017-12-06
  • 发明人: CHAI, YunpengSUN, Dongwang
  • 申请人: Huawei Technologies Co. Ltd.
  • 申请人地址: Huawei Administration Building Bantian Longgang District Shenzhen, Guangdong 518129 CN
  • 专利权人: Huawei Technologies Co. Ltd.
  • 当前专利权人: Huawei Technologies Co. Ltd.
  • 当前专利权人地址: Huawei Administration Building Bantian Longgang District Shenzhen, Guangdong 518129 CN
  • 代理机构: Thun, Clemens
  • 优先权: CN201510105461 20150311
  • 国际公布: WO2016141735 20160915
  • 主分类号: G06F12/08
  • IPC分类号: G06F12/08
CACHE DATA DETERMINATION METHOD AND DEVICE
摘要:
The present invention discloses a cache data determining method and apparatus, and pertains to the field of computer technologies. The method includes: acquiring a data identifier of read cache miss data; selecting, based on the acquired data identifier, a data identifier of to-be-determined data; recording data identifiers by groups; collecting statistics on quantities of occurrence times, in each group, of the data identifiers; and selecting target to-be-determined data according to the quantities of occurrence times, and determining the target to-be-determined data as cache miss data to be written into a cache memory. Data identifiers are recorded by groups, and after statistics on quantities of occurrence times, in each group, of the data identifiers is collected, target to-be-determined data is selected according to the quantities of occurrence times, and the target to-be-determined data is determined as cache miss data to be written into a cache memory. Because a large quantity of occurrence times can indicate that cache miss data is read for relatively many times. Therefore, good data having a large quantity of read times can be selected, so that a proportion of good data stored in the cache memory can be improved, and further, a hit rate of subsequent data reading can be improved.
信息查询
0/0