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

Claim 5:
6. A computational storage processor (CSP) in a storage system, comprising:
a first peripheral component interconnect express (PCIe) bus interface, configured to be connected to a PCIe bus to communicate with a solid-state drive (SSD) in the storage system and an external of the storage system through the PCIe bus;
a processor, configured to receive a first operation instruction based on a storage object from the external through the first PCIe bus interface, 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, 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; and
wherein the processor is configured to maintain the SSD resource information in the storage system;
wherein,
the SSD resource information comprises resource occupation information in the SSD;
the processor is configured to:
receive a first storing instruction from the external through the first PCIe bus interface, and parse 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;
allocate a flash memory address or addresses in one or more SSDs for storing data of the storage object according to the data length information and the resource occupancy information in the SSD; and determine 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
generate one or more second storing instructions for each SSD allocated with a flash memory address and send 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.