Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR ACCESSING HYBRID CACHE IN ELECTRONIC DEVICE
Document Type and Number:
WIPO Patent Application WO/2021/008311
Kind Code:
A1
Abstract:
The present application discloses a method and apparatus for accessing hybrid cache in an electronic device, pertaining to the technical field of computer storage. The method comprises: receiving a read instruction for data to be accessed; and when a logical address of the data is found in an index table, acquiring status information of the data from the index table so as to read the data, wherein the status information is used to indicate whether the data is stored in volatile cache or in non-volatile cache. That is, the present application uniformly configures an index table for the hybrid cache. The index table records the logical address of the data stored in the hybrid cache, and indicates whether the data corresponding to each logical address is stored in a DRAM or in a PCM. Therefore, when data reading is performed in the hybrid cache, no matter whether the data is stored in the DRAM or the PCM of the hybrid cache, searching needs to be performed only once on the index table so as to determine which cache the data is stored in, thereby improving the efficiency of accessing the data in the hybrid cache.

Inventors:
WANG LIYU (CN)
ZHANG ZHENBO (CN)
Application Number:
PCT/CN2020/097519
Publication Date:
January 21, 2021
Filing Date:
June 22, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F12/0877; G06F12/02; G06F12/1009
Foreign References:
CN110502452A2019-11-26
CN105786717A2016-07-20
CN105786717A2016-07-20
CN108762671A2018-11-06
US20180024755A12018-01-25
Download PDF: