| CPC G06F 11/2033 (2013.01) [G06F 11/2041 (2013.01)] | 20 Claims |

|
1. A solid-state disk access control method, comprising:
detecting all controller nodes connected to a Peripheral Component Interconnect Express (PCIe) switch and all Non-Volatile Memory Express (NVMe) solid-state disks connected to the PCIe switch, wherein each NVMe solid-state disk is connected to all the controller nodes through the PCIe switch;
setting a first mapping connection relationship to be formed between each NVMe solid-state disk and one controller node of all the controller nodes, and setting second mapping connection relationships to be formed between each NVMe solid-state disk and remaining controller nodes of all the controller nodes, wherein the first mapping connection relationship is a mapping connection between the one controller node of all the controller nodes and a real capacity space of the NVMe solid-state disk, and the second mapping connection relationships are mapping connections between the remaining controller nodes and virtual spaces of the NVMe solid-state disk; and
when any NVMe solid-state disk is accessed, in response to the first mapping connection relationship being normal, performing input and output read-write operation on an accessed NVMe solid-state disk through the one controller node of all the controller nodes corresponding to the first mapping connection relationship, and, in response to the first mapping connection relationship being abnormal, selecting one of the remaining controller nodes as a standby controller of the accessed NVMe solid-state disk, and modifying the second mapping connection relationship between the standby controller and the accessed NVMe solid-state disk to the first mapping connection relationship.
|