Data processing method, data processing device, electronic equipment and storage medium
Патент · CN B
Полный текст
The embodiment of the disclosure provides a data processing method, a data processing device, electronic equipment and a storage medium. The method comprises the steps of receiving a data read-write request carrying logic block index information, wherein the logic block index information is used for indicating a target logic block to which target data belong, acquiring physical address offset of the target logic block in a physical storage space through a data index interface according to the logic block index information, and executing reading or writing of the target data in the physical storage space based on the physical address offset, wherein the physical storage space is used for storing data in at least one logic block, a plurality of logic blocks with continuous indexes are mapped to mutually discontinuous physical address areas in the physical storage space, and the data index interface is constructed based on a logic block data arrangement mode. The method supports precisely acquiring the physical address of the logic block corresponding to the index identifier of the logic block by providing a unified data index interface, and adapts to the situation that the physical and logical arrangement sequence is inconsistent under a specific storage architecture.