An image file conversion method, wherein the method comprises: obtaining an original image file of a virtual machine on an original platform; detecting whether the original image file has a first file characteristic and a second file characteristic that are corresponding to a target platform, wherein the first file characteristic comprises a target driver used when the virtual machine runs on the target platform, and the second file characteristic comprises a target file format supported by the target platform; and changing, when the original image file does not have at least one of the first file characteristic or the second file characteristic, the original image file by calling a predetermined interface, to obtain a target image file of the virtual machine on the target platform, wherein the target image file has the first file characteristic and the second file characteristic; wherein the detecting whether the original image file has a first file characteristic corresponding to a target platform comprises: accessing the original image file by calling the first predetermined interface, to determine the operating system type of the operating system in the original image file; determining the target driver corresponding to both the operating system type and the target platform; detecting whether the original driver is the same as the target driver; and when the original driver is different from the target driver, determining that the original image file does not have the first file characteristic wherein the changing, when the original image file does not have at least one of the first file characteristic or the second file characteristic, the original image file by calling a predetermined interface comprises: when the original image file does not have the first file characteristic, replacing an original driver in the original image file with the target driver by calling a first predetermined interface. obtaining an original image file of a virtual machine on an original platform; detecting whether the original image file has a first file characteristic and a second file characteristic that are corresponding to a target platform, wherein the first file characteristic comprises a target driver used when the virtual machine runs on the target platform, and the second file characteristic comprises a target file format supported by the target platform; and changing, when the original image file does not have at least one of the first file characteristic or the second file characteristic, the original image file by calling a predetermined interface, to obtain a target image file of the virtual machine on the target platform, wherein the target image file has the first file characteristic and the second file characteristic; wherein the detecting whether the original image file has a first file characteristic corresponding to a target platform comprises: accessing the original image file by calling the first predetermined interface, to determine the operating system type of the operating system in the original image file; determining the target driver corresponding to both the operating system type and the target platform; detecting whether the original driver is the same as the target driver; and when the original driver is different from the target driver, determining that the original image file does not have the first file characteristic wherein the changing, when the original image file does not have at least one of the first file characteristic or the second file characteristic, the original image file by calling a predetermined interface comprises: when the original image file does not have the first file characteristic, replacing an original driver in the original image file with the target driver by calling a first predetermined interface. accessing the original image file by calling the first predetermined interface, to determine the operating system type of the operating system in the original image file; determining the target driver corresponding to both the operating system type and the target platform; detecting whether the original driver is the same as the target driver; and when the original driver is different from the target driver, determining that the original image file does not have the first file characteristic wherein the changing, when the original image file does not have at least one of the first file characteristic or the second file characteristic, the original image file by calling a predetermined interface comprises: when the original image file does not have the first file characteristic, replacing an original driver in the original image file with the target driver by calling a first predetermined interface.