Patent ID: 11928345
Assignee: BEIJING SUPERSTRING ACADEMY OF MEMORY TECHNOLOGY
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 0:
1. A computational storage system, comprising a solid-state drive (SSD) and a computational storage processor (CSP), wherein communication between the SSD and the CSP, communication between the SSD and an external of the storage system, and communication between the CSP and the external of the storage system are performed through a point-to-point communication protocol of a peripheral component interconnect express (PCIe) bus;
the CSP is configured to receive a first operation instruction based on a storage object from the external, generate a second operation instruction based on a flash memory address according to information carried by the first operation instruction and SSD resource information maintained locally, and send the generated second operation instruction to the SSD;
the SSD is configured to, after receiving the second operation instruction, exchange data of the storage object with the external according to information carried by the second operation instruction;
wherein, the first operation instruction comprises a first storing instruction or a first reading instruction, and the second operation instruction comprises a second storing instruction or a second reading instruction;
wherein the SSD resource information comprises resource occupancy information in the SSD;
the CSP is configured to, after receiving the first storing instruction, generate the second operation instruction based on the flash memory address by the following way and send the generated second operation instruction to the SSD:
parsing an identification of a storage object, data length information and a starting source address of entire data, which are carried by the first storing instruction;
allocating a flash memory address or addresses in one or more SSDs for storing the data of the storage object according to the data length information and the resource occupancy information in the SSD; and determining a starting source address of a portion of data to be stored each time according to the starting source address of the entire data and an offset of the portion of the data of the storage object to be stored each time in the entire data of the storage object; and
generating one or more second storing instructions for each SSD allocated with a flash memory address and sending the generated one or more second storing instructions to the SSD, wherein each second storing instruction carries a starting source address of data to be stored in the SSD this time and a flash memory address for data storage.