
基本信息:
- 专利标题: 更新缓存的方法和装置
- 专利标题(英):Cache updating method and device
- 申请号:CN201810843150.7 申请日:2018-07-27
- 公开(公告)号:CN110764796A 公开(公告)日:2020-02-07
- 发明人: 刘小云
- 申请人: 北京京东尚科信息技术有限公司 , 北京京东世纪贸易有限公司
- 申请人地址: 北京市海淀区杏石口路65号西杉创意园四区11号楼东段1-4层西段1-4层
- 专利权人: 北京京东尚科信息技术有限公司,北京京东世纪贸易有限公司
- 当前专利权人: 北京京东尚科信息技术有限公司,北京京东世纪贸易有限公司
- 当前专利权人地址: 北京市海淀区杏石口路65号西杉创意园四区11号楼东段1-4层西段1-4层
- 代理机构: 中原信达知识产权代理有限责任公司
- 代理人: 张一军; 张效荣
- 主分类号: G06F8/65
- IPC分类号: G06F8/65
The invention discloses a cache updating method and device, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps: determining an updating task in a cache queue by utilizing a tangent plane; determining an updating parameter corresponding to the updating task; and updating the to-be-updated data corresponding to the updating task intoa cache by utilizing a reflection mechanism and the updating parameters. According to the embodiment, the technical problems of too high coupling, poor code reusability, difficulty in mastering expiration time and invalid resource waste caused by possibly accessing a bottom-layer storage medium without reasons and executing updating operation when no data is updated due to the fact that codes forupdating caches need to be compiled in the prior art are solved; therefore, the technical effects of efficiently updating the cache and increasing the code reusability are achieved.
公开/授权文献:
- CN110764796B 更新缓存的方法和装置 公开/授权日:2025-04-15