首页> 外国专利> METHOD AND APPARATUS FOR REPLACING DATA BLOCK IN CACHE

METHOD AND APPARATUS FOR REPLACING DATA BLOCK IN CACHE

机译:在缓存中替换数据块的方法和装置

摘要

The invention discloses a method for replacing a data block in a cache, including: selecting, at a specified interval, an available way from available ways of a first mode as a used-for-replacement way of the first mode, where each available way of the first mode has an equal probability of acting as the used-for-replacement way of the first mode, the first mode is one of multiple modes, and the available ways of the first mode are ways allocated to the first mode; receiving a first data access request, where the first data access request includes an identifier of the first mode; and storing a data block, to be accessed by using the first data access request, in the used-for-replacement way of the first mode when the data block to be accessed by using the first data access request is not stored in the cache.
机译:本发明公开了一种替换缓存中数据块的方法,包括:以指定的间隔,从第一模式的可用方式中选择一种可用方式作为第一模式的替换方式,其中,每种可用方式第一模式中的第一模式具有相等的概率用作第一模式的替换方式,第一模式是多种模式中的一种,第一模式的可用方式是分配给第一模式的方式;接收第一数据访问请求,所述第一数据访问请求包括所述第一模式的标识;当所述第一数据访问请求所要访问的数据块没有存储在所述缓存中时,以第一模式的替换方式存储要使用所述第一数据访问请求所访问的数据块。

著录项

  • 公开/公告号US2018089106A1

    专利类型

  • 公开/公告日2018-03-29

    原文格式PDF

  • 申请/专利权人 HUAWEI TECHNOLOGIES CO. LTD.;

    申请/专利号US201715828712

  • 发明设计人 HENGCHAO XIN;

    申请日2017-12-01

  • 分类号G06F12/121;G06F12/0864;G06F12/0811;

  • 国家 US

  • 入库时间 2022-08-21 13:01:36

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号