A virtual data center VDC resource mapping method, comprising: step 202: receiving a VDC resource request, wherein the VDC resource request carries a quantity of requested virtual machines and a virtual machine distribution identifier, the quantity of the requested virtual machines is used to indicate a total quantity A of virtual machines requested for resource mapping, and the virtual machine distribution identifier is used to indicate a maximum quantity K of virtual machines that are in the VDC resource request, on which resource mapping needs to be performed, and that can be borne by a single physical server; step 204: selecting, from an unmapped virtual machine set Q in the VDC resource request, M virtual machines to form a partition P; wherein: the unmapped virtual machine set Q is a set of virtual machines on which resource mapping has not been performed and that are in the A virtual machines requested for resource mapping, and an initial value of M is a natural number greater than 1 and less than or equal to K; step 206: selecting a target physical server that can provide a physical resource required by the partition P, and mapping the partition P to the target physical server; and step 208: removing, from the unmapped virtual machine set Q, the M virtual machines on which resource mapping has been performed, and repeatedly performing steps 204, 206 and 208 until no virtual machine on which resource mapping has not been performed exists in the unmapped virtual machine set Q, wherein the selecting, from an unmapped virtual machine set Q in the VDC resource request, M virtual machines to form a partition P comprises: selecting M virtual machines that minimize a bandwidth requirement of the partition P from the unmapped virtual machine set Q to form the partition P, wherein the bandwidth requirement refers to a sum of bandwidths of all virtual links that connect all the virtual machines inside the partition P to virtual machines outside the partition P. step 202: receiving a VDC resource request, wherein the VDC resource request carries a quantity of requested virtual machines and a virtual machine distribution identifier, the quantity of the requested virtual machines is used to indicate a total quantity A of virtual machines requested for resource mapping, and the virtual machine distribution identifier is used to indicate a maximum quantity K of virtual machines that are in the VDC resource request, on which resource mapping needs to be performed, and that can be borne by a single physical server; step 204: selecting, from an unmapped virtual machine set Q in the VDC resource request, M virtual machines to form a partition P; wherein: the unmapped virtual machine set Q is a set of virtual machines on which resource mapping has not been performed and that are in the A virtual machines requested for resource mapping, and an initial value of M is a natural number greater than 1 and less than or equal to K; step 206: selecting a target physical server that can provide a physical resource required by the partition P, and mapping the partition P to the target physical server; and step 208: removing, from the unmapped virtual machine set Q, the M virtual machines on which resource mapping has been performed, and repeatedly performing steps 204, 206 and 208 until no virtual machine on which resource mapping has not been performed exists in the unmapped virtual machine set Q, the unmapped virtual machine set Q is a set of virtual machines on which resource mapping has not been performed and that are in the A virtual machines requested for resource mapping, and an initial value of M is a natural number greater than 1 and less than or equal to K; step 206: selecting a target physical server that can provide a physical resource required by the partition P, and mapping the partition P to the target physical server; and step 208: removing, from the unmapped virtual machine set Q, the M virtual machines on which resource mapping has been performed, and repeatedly performing steps 204, 206 and 208 until no virtual machine on which resource mapping has not been performed exists in the unmapped virtual machine set Q,