| CPC H04L 67/141 (2013.01) [H04L 67/1097 (2013.01); H04L 69/18 (2013.01)] | 18 Claims |

|
1. A method for data interaction under different storage protocols, comprising:
acquiring a storage protocol switching instruction, and upgrading a storage device based on the storage protocol switching instruction to obtain the upgraded storage device capable of performing the data interaction with a server based on a non-volatile memory express (NVMe) protocol;
releasing a volume mapping relationship constructed between the server and a preset block data space of the upgraded storage device based on a small computer system interface (SCSI) protocol, and establishing a connection relationship between the server and the upgraded storage device based on the NVMe protocol; and
remapping the preset block data space to the server in a form of a namespace, so that the server performs the data interaction with the upgraded storage device based on the NVMe protocol;
wherein establishing the connection relationship between the server and the upgraded storage device based on the NVMe protocol comprises:
establishing the connection relationship between the server and the upgraded storage device by using a fibre card for performing data transmission based on the NVMe protocol;
remapping the preset block data space to the server in the form of the namespace comprises:
acquiring a universally unique identifier of the server; and
determining whether the server is matched with the preset block data space according to the universally unique identifier, and in a case that the server is matched with the preset block data space, remapping the preset block data space to the server in the form of the namespace.
|