A single-root input/output virtualization, SR-IOV, supported storage resource access method, wherein the method is executed by a storage controller in a storage device, the storage device further comprises a storage medium, the storage controller is configured to separately connect a host and the storage medium, the host being configured to run a virtual machine monitor and one or more virtual machines, the storage controller comprises a physical function PF and one or more virtual functions VF related to the PF, the PF directly communicates with the virtual machine monitor, and each VF directly communicates with a virtual machine; and the method comprises: consolidating the storage medium as a unified storage resource, and dividing the unified storage resource into multiple storage sub-resources; allocating the storage sub-resources to at least one of the PF or the VF according to a preset allocation rule, and maintaining a resource allocation table, wherein the resource allocation table comprises a mapping relationship between the storage sub-resources and at least one of the PF or the VF; receiving a host command sent by the virtual machine to a destination VF or sent by the virtual machine monitor to a destination PF; and searching the resource allocation table according to the destination VF or the destination PF, and performing, on a storage sub-resource corresponding to the destination PF or the destination VF and according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, an operation corresponding to the host command; wherein the host command comprises storage sub-resource relative identifiers ID used to identify the storage sub-resources, and the storage sub-resources in the resource allocation table are identified by using storage sub-resource absolute IDs; and the searching the resource allocation table according to the destination VF or the destination PF, and performing, on a storage sub-resource corresponding to the destination PF or the destination VF and according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, an operation corresponding to the host command comprise: finding, according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, the storage sub-resource corresponding to the destination VF or the destination PF, finding, according to a correspondence between a storage sub-resource relative ID and a storage sub-resource absolute ID, a storage sub-resource absolute ID corresponding to a storage sub-resource relative ID carried in the host command, and performing the operation on the storage sub-resource corresponding to the found storage sub-resource absolute ID. consolidating the storage medium as a unified storage resource, and dividing the unified storage resource into multiple storage sub-resources; allocating the storage sub-resources to at least one of the PF or the VF according to a preset allocation rule, and maintaining a resource allocation table, wherein the resource allocation table comprises a mapping relationship between the storage sub-resources and at least one of the PF or the VF; receiving a host command sent by the virtual machine to a destination VF or sent by the virtual machine monitor to a destination PF; and searching the resource allocation table according to the destination VF or the destination PF, and performing, on a storage sub-resource corresponding to the destination PF or the destination VF and according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, an operation corresponding to the host command; wherein the host command comprises storage sub-resource relative identifiers ID used to identify the storage sub-resources, and the storage sub-resources in the resource allocation table are identified by using storage sub-resource absolute IDs; and the searching the resource allocation table according to the destination VF or the destination PF, and performing, on a storage sub-resource corresponding to the destination PF or the destination VF and according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, an operation corresponding to the host command comprise: finding, according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, the storage sub-resource corresponding to the destination VF or the destination PF, finding, according to a correspondence between a storage sub-resource relative ID and a storage sub-resource absolute ID, a storage sub-resource absolute ID corresponding to a storage sub-resource relative ID carried in the host command, and performing the operation on the storage sub-resource corresponding to the found storage sub-resource absolute ID.