Read-write control method for memory, and corresponding memory and server
Abstract:
Described are a read-write control method for memory, and a corresponding memory and server. The method comprises: dividing a storage resource of the memory by taking a block as a unit; to write data, combining the data to be written into a data block, writing the data block in a free segment of the memory, and recording an identifier and a corresponding index of the data, the index of the written data is an offset indicating a memory location of the data in the memory; to read data, reading the data from the offset of the memory according to an identifier and a index of the data to be read. When read-write control is performed on the memory, the number of the times that the I/O operation is performed on the memory is reduced during data writing, thereby improving the efficiency of the write operation on the memory.
Information query
Patent Agency Ranking
0/0