| CPC G06F 12/1483 (2013.01) [G06F 12/0246 (2013.01)] | 17 Claims |

|
1. A data access method for a computing storage separation system, comprising:
acquiring a data access request;
acquiring, based on a type of the data access request, an index table on a master node of the computing storage separation system or synchronization metadata information of the master node and a slave node of the master node;
when the data access request is a data read request, querying an index item of a to-be-read data block in the index table, and reading the to-be-read data block based on a result of querying the index item, wherein the index item in the index table at least comprises a storage location attribute and a storage address attribute; and/or
when the data access request is a data write request, writing a to-be-written data block into an idle space of a persistent memory on the slave node based on the synchronization metadata information, wherein the synchronization metadata information is used for indicating space occupancy and idleness of the persistent memory,
wherein said reading the to-be-read data block based on the result of querying the index item comprises:
when the storage location attribute of the queried index item indicates that the to-be-read data block is stored in a local cache table of the master node, reading the to-be-read data block from the cache table based on the storage location attribute of the queried index item;
when the storage location attribute of the queried index item indicates that the to-be-read data block is stored in the persistent memory, reading the to-be-read data block from the persistent memory by means of remote direct memory access based on the storage location attribute of the queried index item;
when the storage location attribute of the queried index item indicates that the to-be-read data block is stored in a solid state disk on the slave node, reading the to-be-read data block from the solid state disk by means of remote process call based on the storage location attribute of the queried index item; and
when the index item of the to-be-read data block is not queried, reading the to-be-read data block from the slave node by means of remote process call.
|