Image file conversion method and apparatus

    公开(公告)号:US11243792B2

    公开(公告)日:2022-02-08

    申请号:US15921929

    申请日:2018-03-15

    摘要: An image file conversion method includes: 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, in response to detecting that 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.

    Website access method, apparatus, and website system

    公开(公告)号:US10412176B2

    公开(公告)日:2019-09-10

    申请号:US15785653

    申请日:2017-10-17

    摘要: In the website system of the application, when a client accesses a page of a website, a web server obtains an initial URL of a content file included in the to-be-accessed page and a version parameter of a current version of the website, generates a current URL of the content file, and adds the version parameter to a search part of the current URL of the content file, so that the client can obtain the content file from the web server according to the current URL. During version upgrade of the website, a developer does not need to change a path to a content file, does not need to manually change a URL of the content file, and does not need to update a name of the content file either. This improves website upgrading efficiency.