| CPC G06F 16/182 (2019.01) [G06F 3/0604 (2013.01); G06F 3/0638 (2013.01); G06F 3/067 (2013.01)] | 17 Claims |

|
1. A first terminal in a distributed storage system, comprising:
a memory storing executable instructions;
a processor configured to execute the executable instructions to:
obtain a first data identifier identifying first data that the first terminal needs to read;
determine, based on the first data identifier, whether the first data is local data;
when the first data is not local data, obtain a first identifier of the first data, wherein the first identifier is a unique identifier that uniquely identifies the first data in the distributed storage system and is a character string of a Varchar(64) type;
obtain, from a mapping table based on the first identifier, a hash identifier derived from content of the first data, wherein the mapping table stores a correspondence between the first identifier and the hash identifier;
obtain, based on the hash identifier, a read address indicating that the first data is stored on a second terminal in the distributed storage system; and
retrieving the first data from the second terminal.
|