A virtual machine migration method, device, equipment, system and storage medium

By maintaining the coupling relationship and deploying hardware trusted clusters, the solution addresses security risks in virtual machine migration, ensuring the credibility and availability of virtual environments in cloud service systems.

CN111897621BActive Publication Date: 2024-12-06ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910371285.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-06
Publication Date
2024-12-06
Estimated Expiration
2039-05-06

AI Technical Summary

Technical Problem

Virtual machine migration in cloud service systems often disrupts the credibility of the virtual environment, introducing security risks.

Method used

Maintain the coupling relationship between security parameters of the target virtual machine and the hardware trusted module before and after migration, or utilize remote authentication between physical machines, and deploy hardware trusted clusters to ensure the credibility and availability of security parameters.

Benefits of technology

Ensures the credibility of the virtual environment by centrally managing trusted hardware and allocating resources during migration, thereby maintaining security and integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111897621B_ABST
    Figure CN111897621B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a virtual machine migration method, device, equipment, system and storage medium. By maintaining the coupling relationship between the security parameters required by the target virtual machine and the hardware trusted module on the physical machine where the target virtual machine is located before and after migration, or by remote authentication between the physical machines where the target virtual machine is located before and after migration, the target virtual machine can remotely call the hardware trusted module on the source physical machine where it is located before migration, or by deploying a hardware trusted cluster and cluster management equipment in the cloud service system to centrally manage and allocate resources for the trusted hardware in the cloud service system, so as to ensure the credibility and availability of the security parameters required by the target virtual machine when the target virtual machine is migrated, and further, it can be achieved that when the virtual machine is migrated, the credibility of the virtual environment in the cloud service system is maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of trusted computing technology, and in particular to a virtual machine migration method, device, equipment, system and storage medium. Background Art

[0002] With the development of cloud computing technology, the application of cloud service systems is becoming more and more extensive.

[0003] The cloud service system includes a physical environment built by physical machines. With the support of the physical environment, multiple virtual machines can be run on the physical machines based on virtualization technology to provide users with the required computing resources through the virtual environment built by the virtual machines.

[0004] Due to the variability of user needs, virtual machine migration is often required in cloud service systems. However, when virtual machines need to be migrated, the credibility of the virtual environment will be destroyed, bringing security risks. Summary of the invention

[0005] Multiple aspects of the present application provide a virtual machine migration method, apparatus, device, system and storage medium for maintaining the credibility of a virtual environment in a cloud service system when a virtual machine is migrated.

[0006] The present invention provides a method for migrating a virtual machine, including:

[0007] Migrating a target virtual machine on a source physical machine to a destination physical machine, wherein the source physical machine is configured with a virtual trusted module corresponding to the target virtual machine;

[0008] Acquire security parameters required by the target virtual machine according to a coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine;

[0009] The security parameters are sent to the destination physical machine, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

[0010] The present application also provides a virtual machine migration method, including:

[0011] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine;

[0012] Receiving security parameters corresponding to the target virtual machine transmitted by the source physical machine, and configuring the security parameters into the virtual trusted module;

[0013] A coupling relationship is created between the virtual trusted module and a hardware trusted module on the target physical machine, so as to provide trusted support to the target virtual machine by using the hardware trusted module based on the security parameters.

[0014] The embodiment of the present application also provides a virtual machine migration device, including:

[0015] A virtual machine management module, used to migrate a target virtual machine on a source physical machine to a destination physical machine, wherein the source physical machine is configured with a virtual trusted module corresponding to the target virtual machine;

[0016] A control module, configured to obtain security parameters required by the target virtual machine according to a coupling relationship between the virtual trusted module and a hardware trusted module on the source physical machine;

[0017] The communication component is used to send the security parameters to the destination physical machine, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

[0018] The embodiment of the present application also provides a virtual machine migration device, including:

[0019] A virtual machine management module, used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine;

[0020] A communication component, configured to receive security parameters corresponding to the target virtual machine transmitted from the source physical machine, and configure the security parameters into the virtual trusted module;

[0021] The control module is used to establish a coupling relationship between the virtual trusted module and the hardware trusted module on the target physical machine, so as to provide trusted support for the target virtual machine by using the hardware trusted module based on the security parameters.

[0022] The embodiment of the present application also provides a physical machine, including a hardware trusted module, a memory, a processor, and a communication component;

[0023] The memory is used to store one or more computer instructions;

[0024] The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for:

[0025] Migrating the target virtual machine on the physical machine to a destination physical machine, where the physical machine is configured with a virtual trusted module corresponding to the target virtual machine;

[0026] Acquiring security parameters required by the target virtual machine according to a coupling relationship between the virtual trusted module and the hardware trusted module on the physical machine;

[0027] The security parameters are sent to the destination physical machine through the communication component, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

[0028] The embodiment of the present application also provides a physical machine, including a hardware trusted module, a memory, a processor, and a communication component;

[0029] The memory is used to store one or more computer instructions;

[0030] The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for:

[0031] Deploy the target virtual machine migrated from the source physical machine on the physical machine, and configure a virtual trusted module for the target virtual machine on the physical machine;

[0032] Receiving security parameters corresponding to the target virtual machine transmitted by the source physical machine, and configuring the security parameters into the virtual trusted module;

[0033] A coupling relationship is established between the virtual trusted module and the hardware trusted module, so as to provide trusted support to the target virtual machine by using the hardware trusted module based on the security parameter.

[0034] The present application also provides a virtual machine migration method, including:

[0035] Migrate the target virtual machine on the source physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine;

[0036] If a remote access request transmitted by the destination physical machine is received, authenticating the remote access request based on the authentication parameters included in the remote access request;

[0037] If the remote access request passes the authentication, a remote communication connection is established with the destination physical machine, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

[0038] The present application also provides a virtual machine migration method, including:

[0039] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0040] Generate a remote access request according to the authentication parameter, and send the remote access request to the source physical machine;

[0041] If the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine is remotely called to provide trusted support for the target virtual machine.

[0042] The embodiment of the present application also provides a virtual machine migration device, including:

[0043] A virtual machine management module, used to migrate a target virtual machine on a source physical machine to a destination physical machine, and send authentication parameters used by the target virtual machine to access a hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine;

[0044] an authentication module, configured to authenticate the remote access request based on authentication parameters included in the remote access request if a remote access request transmitted by the destination physical machine is received;

[0045] The communication module is used to establish a remote communication connection with the destination physical machine if the remote access request passes the authentication, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

[0046] The embodiment of the present application also provides a virtual machine migration device, including:

[0047] A virtual machine management module, used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0048] An authentication module, configured to generate a remote access request according to the authentication parameters;

[0049] A communication module, configured to send the remote access request to the source physical machine;

[0050] The control module is used for remotely invoking a hardware trusted module on the source physical machine to provide trusted support for the target virtual machine if the remote access request passes the authentication of the source physical machine.

[0051] The embodiment of the present application also provides a physical machine, including a hardware trusted module, a memory, a processor, and a communication component;

[0052] The memory is used to store one or more computer instructions;

[0053] The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for:

[0054] Migrate the target virtual machine on the source physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine;

[0055] If a remote access request transmitted by the destination physical machine is received, authenticating the remote access request based on the authentication parameters included in the remote access request;

[0056] If the remote access request passes the authentication, a remote communication connection is established with the destination physical machine, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

[0057] The embodiment of the present application also provides a physical machine, including a hardware trusted module, a memory, a processor, and a communication component;

[0058] The memory is used to store one or more computer instructions;

[0059] The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for:

[0060] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0061] Generate a remote access request according to the authentication parameter, and send the remote access request to the source physical machine;

[0062] If the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine is remotely called to provide trusted support for the target virtual machine.

[0063] The present application also provides a virtual machine migration method, comprising:

[0064] Receiving a remote access request transmitted from a destination physical machine where the target virtual machine is located after migration, wherein the remote access request includes an authentication parameter used by the target virtual machine to access a trusted hardware cluster;

[0065] authenticating the remote access request based on the authentication parameter included in the remote access request;

[0066] If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0067] The present application also provides a virtual machine migration method, including:

[0068] Migrate the target virtual machine on the source physical machine to the destination physical machine;

[0069] The authentication parameters used by the target virtual machine to access the trusted hardware cluster are sent to the destination physical machine, so that the target virtual machine can remotely access the trusted hardware cluster.

[0070] The present application also provides a virtual machine migration method, including:

[0071] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0072] generating a remote access request according to the authentication parameter, and sending the remote access request to the cluster control device;

[0073] If the remote access request passes the authentication of the cluster control device, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

[0074] The embodiment of the present application also provides a virtual machine migration device, including:

[0075] A communication module, configured to receive a remote access request transmitted from a destination physical machine where a target virtual machine is located after migration, wherein the remote access request includes authentication parameters used by the target virtual machine to access a trusted hardware cluster;

[0076] an authentication module, configured to authenticate the remote access request based on the authentication parameters included in the remote access request;

[0077] The control module is used to connect the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster if the remote access request passes the authentication, according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0078] The embodiment of the present application also provides a virtual machine migration device, including:

[0079] A virtual machine management module, used to migrate the target virtual machine on the source physical machine to the destination physical machine;

[0080] The communication module is used to send the authentication parameters used by the target virtual machine to access the trusted hardware cluster to the destination physical machine, so that the target virtual machine can remotely access the trusted hardware cluster.

[0081] The embodiment of the present application also provides a virtual machine migration device, including:

[0082] A virtual machine management module, used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0083] An authentication module, configured to generate a remote access request according to the authentication parameters, and send the remote access request to a cluster control device;

[0084] The control module is configured to remotely call the trusted hardware cluster to provide trusted support for the target virtual machine if the remote access request passes the authentication of the cluster control device.

[0085] The embodiment of the present application also provides a virtual machine migration system, including: a source physical machine, a destination physical machine, a trusted hardware cluster, and a cluster control device;

[0086] The source physical machine is used to migrate the target virtual machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the trusted hardware cluster to the destination physical machine;

[0087] The target physical machine is used to deploy the target virtual machine and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster; generate a remote access request according to the authentication parameters, and send the remote access request to the cluster control device; if the remote access request passes the authentication of the cluster control device, remotely call the trusted hardware cluster to provide trusted support for the target virtual machine;

[0088] The cluster control device is used to receive a remote access request transmitted by the destination physical machine; authenticate the remote access request based on the authentication parameters contained in the remote access request; if the remote access request passes the authentication, according to the preset association relationship between the virtual machine and the trusted hardware, connect the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0089] The embodiment of the present application also provides a cluster control device, including a memory, a processor and a communication component;

[0090] The memory is used to store one or more computer instructions;

[0091] The processor is coupled to the memory and the communication component for executing the one or more computer instructions for:

[0092] Receiving, by the communication component, a remote access request transmitted from a destination physical machine where the target virtual machine is located after migration, wherein the remote access request includes an authentication parameter used by the target virtual machine to access a trusted hardware cluster;

[0093] authenticating the remote access request based on the authentication parameter included in the remote access request;

[0094] If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0095] The embodiment of the present application also provides a physical machine, including: a memory, a processor, and a communication component;

[0096] The memory is used to store one or more computer instructions;

[0097] The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for:

[0098] Migrate the target virtual machine on the source physical machine to the destination physical machine;

[0099] The authentication parameters used by the target virtual machine to access the trusted hardware cluster are sent to the destination physical machine through the communication component, so that the target virtual machine can remotely access the trusted hardware cluster.

[0100] The embodiment of the present application also provides a physical machine, including: a memory, a processor, and a communication component;

[0101] The memory is used to store one or more computer instructions;

[0102] The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for:

[0103] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0104] generating a remote access request according to the authentication parameter, and sending the remote access request to the cluster control device through the communication component;

[0105] If the remote access request passes the authentication of the cluster control device, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

[0106] The present application also provides a virtual machine migration method, including:

[0107] Receiving a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine;

[0108] Determining a destination physical machine based on the service type code run by the target virtual machine;

[0109] The target virtual machine on the current physical machine is migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

[0110] The embodiment of the present application also provides a virtual machine migration device, including:

[0111] A communication module, configured to receive a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine;

[0112] A virtual machine management module, configured to determine a destination physical machine based on a code of a service type run by the target virtual machine;

[0113] The target virtual machine on the current physical machine is migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

[0114] The embodiment of the present application also provides a physical machine, including a hardware trusted module, a memory, a processor, and a communication component;

[0115] The memory is used to store one or more computer instructions;

[0116] The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for:

[0117] receiving a migration request, wherein the migration request includes migrating a target virtual machine on the physical machine;

[0118] Determining a destination physical machine based on the service type code run by the target virtual machine;

[0119] The target virtual machine is migrated to a destination physical machine, and authentication parameters used by the target virtual machine to access a hardware trusted module on the physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the physical machine.

[0120] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the aforementioned virtual machine migration method.

[0121] In an embodiment of the present application, by maintaining the coupling relationship between the security parameters required by the target virtual machine and the hardware trusted module on the physical machine where the target virtual machine is located before and after migration, or by remote authentication between the physical machines where the target virtual machine is located before and after migration, the target virtual machine can remotely call the hardware trusted module on the source physical machine where it was located before migration, or by deploying a hardware trusted cluster and cluster control devices in the cloud service system, the trusted hardware in the cloud service system is centrally managed and resources are allocated to ensure the credibility and availability of the security parameters required by the target virtual machine when the target virtual machine is migrated, thereby maintaining the credibility of the virtual environment in the cloud service system when the virtual machine is migrated. BRIEF DESCRIPTION OF THE DRAWINGS

[0122] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0123] Figure 1 A schematic diagram of the structure of a virtual machine migration system provided in one embodiment of the present application;

[0124] Figure 2 A flowchart of a virtual machine migration method provided in one embodiment of the present application;

[0125] Figure 3 A schematic diagram of the structure of a virtual machine migration device provided in one embodiment of the present application;

[0126] Figure 4 A schematic diagram of the structure of a physical machine provided in one embodiment of the present application;

[0127] Figure 5 A flowchart of another virtual machine migration method provided in one embodiment of the present application;

[0128] Figure 6A schematic diagram of the structure of another virtual machine migration device provided in one embodiment of the present application;

[0129] Figure 7 A schematic diagram of the structure of another physical machine provided in one embodiment of the present application;

[0130] Figure 8 A schematic diagram of the structure of a virtual machine migration system provided in another embodiment of the present application;

[0131] Fig. 9 A flowchart of a virtual machine migration method provided in another embodiment of the present application;

[0132] Fig.10 A schematic diagram of the structure of a virtual machine migration device provided in another embodiment of the present application;

[0133] Fig.11 A schematic diagram of the structure of a physical machine provided in another embodiment of the present application;

[0134] Fig.12 A flowchart of another virtual machine migration method provided in another embodiment of the present application;

[0135] Fig.13 A schematic diagram of the structure of another virtual machine migration device provided in another embodiment of the present application;

[0136] Fig.14 A schematic diagram of the structure of another physical machine provided in another embodiment of the present application;

[0137] Fig.15 A structural diagram of a virtual machine migration system provided in yet another embodiment of the present application;

[0138] Fig.16 A flowchart of a virtual machine migration method provided in another embodiment of the present application;

[0139] Fig.17 A schematic diagram of the structure of a virtual machine migration device provided in another embodiment of the present application;

[0140] Fig.18 A schematic diagram of the structure of a cluster control device provided in another embodiment of the present application;

[0141] Fig.19 A flowchart of another virtual machine migration method provided in yet another embodiment of the present application;

[0142] Fig. 20 A schematic diagram of the structure of another virtual machine migration device provided in yet another embodiment of the present application;

[0143] Fig.21A schematic diagram of the structure of a physical machine provided in yet another embodiment of the present application;

[0144] Fig. 22 A flowchart of another virtual machine migration method provided in another embodiment of the present application;

[0145] Fig.23 A schematic diagram of the structure of another virtual machine migration device provided in another embodiment of the present application;

[0146] Fig.24 A schematic diagram of the structure of another physical machine provided in yet another embodiment of the present application;

[0147] Fig.25 A flowchart of another virtual machine migration method provided in another embodiment of the present application;

[0148] Fig.26 A schematic diagram of the structure of another virtual machine migration device provided in another embodiment of the present application;

[0149] Fig. 27 A schematic diagram of the structure of another physical machine provided for yet another embodiment of the present application. DETAILED DESCRIPTION

[0150] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0151] At present, due to the variability of user needs, virtual machine migration is often required in cloud service systems. However, when a virtual machine needs to be migrated, the credibility of the virtual environment will be destroyed, bringing security risks. In view of the problems existing in the prior art, in some embodiments of the present application: by maintaining the coupling relationship between the security parameters required by the target virtual machine and the hardware trusted module on the physical machine where the target virtual machine is located before and after migration, or by remote authentication between the physical machines where the target virtual machine is located before and after migration, the target virtual machine can remotely call the hardware trusted module on the source physical machine where it is located before migration, or by deploying hardware trusted clusters and cluster control devices in the cloud service system, the trusted hardware in the cloud service system is centrally managed and resources are allocated, so as to ensure the credibility and availability of the security parameters required by the target virtual machine when the target virtual machine is migrated, and then, the credibility of the virtual environment in the cloud service system can be maintained when the virtual machine is migrated.

[0152] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0153] Figure 1 A schematic diagram of the structure of a virtual machine migration system provided in one embodiment of the present application. Figure 1 As shown, the system includes: a source physical machine 10 and a destination physical machine 11.

[0154] In order to facilitate the description of the virtual machine migration process, in this embodiment, the physical machines where the virtual machine is located before and after the migration are distinguished by name, that is, the source physical machine and the destination physical machine. However, it should be understood that the source physical machine and the destination physical machine can be any physical machine in the cloud service system, and the target virtual machine mentioned later can also be any virtual machine in the cloud service system. Accordingly, the physical machine where the target virtual machine is located before the migration is called the source physical machine, and the physical machine where the target virtual machine is located after the migration is called the destination physical machine. This will not be repeated in the following text.

[0155] In this embodiment, a hardware trusted module 12 can be configured on both the source physical machine 10 and the destination physical machine 11. The hardware trusted module 12 includes but is not limited to a TPM (Trusted Platform Module) or a TCM (Trusted Cryptography Module). The hardware trusted module 12 can be mounted on the motherboard of the source physical machine or the destination physical machine in the form of a chip. Of course, this embodiment does not limit the hardware connection method between the hardware trusted module and the source physical machine or the destination physical machine.

[0156] In this embodiment, both the source physical machine 10 and the destination physical machine 11 can run virtual management applications to manage the virtual environment in the cloud service system. The virtual management application can serve as a medium for interaction between the virtual environment and the physical environment in the cloud service system.

[0157] In this embodiment, multiple virtual machines 13 can be run on both the source physical machine 10 and the destination physical machine 11, and the source physical machine 10 and the destination physical machine 11 can be configured with virtual trusted modules 14 for the multiple virtual machines 13 running thereon. In practical applications, the configuration of the virtual trusted module can be implemented by running the aforementioned virtual management application. The trusted support capability that the virtual trusted module 14 can provide to the virtual machine 13 can be consistent with the trusted support capability that the hardware trusted module 12 can provide to the physical machine.

[0158] The following will take the target virtual machine as an example to explain the virtual machine migration solution in detail. It should be understood that the target virtual machine can be any virtual machine that needs to be migrated in the cloud service system.

[0159] Based on this, in this embodiment, when migrating the target virtual machine on the source physical machine to the destination physical machine, the virtual trusted module configured for the target virtual machine on the source physical machine can be migrated to the destination physical machine.

[0160] On the source physical machine side, the target virtual machine on the source physical machine can be migrated to the destination physical machine. In actual applications, the target virtual machine can be migrated by running the aforementioned virtual management application in the source physical machine to perform snapshot and transfer processing of the target virtual machine.

[0161] On the destination physical machine side, the target virtual machine migrated from the source physical machine can be deployed on the destination physical machine, and a virtual trusted module can be configured for the target virtual machine on the destination physical machine. Based on current virtualization technology, different solutions can be used to configure the virtual trusted module for different operating systems, which will not be described in detail here.

[0162] The migration process of the target virtual machine and the migration process of the virtual trusted module corresponding to the target virtual machine may be independent of each other. The present embodiment does not limit the sequence of the two processes, and the two processes may be executed synchronously or asynchronously.

[0163] In this embodiment, the security parameters of the virtual trusted module configured for the target virtual machine on the source physical machine are migrated to the destination physical machine, wherein the security parameters include but are not limited to the parameters required for trusted support such as measurement values ​​and keys.

[0164] On the source physical machine side, the security parameters required by the target virtual machine can be obtained based on the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine.

[0165] Among them, there is a coupling relationship between the virtual trusted module and the hardware trusted module, which means that the virtual trusted module can call the trusted support capability of the hardware trusted module. Based on the coupling relationship between the two, when a trusted support requirement occurs in the target virtual machine, the target virtual machine can initiate a call to its virtual trusted module, and the virtual trusted module can call the trusted support capability of the hardware trusted module based on this coupling relationship, so that the hardware trusted module can be used as a trusted root to extend the trusted state to the virtual trusted module, and then the trustworthiness of the virtual trusted module's trusted support for the target virtual machine can be guaranteed, so as to achieve trusted support for the target virtual machine.

[0166] For example, the virtual trusted module may call the hardware trusted module through the aforementioned management virtual application to encrypt, protect or verify the security parameters under the virtual trusted module.

[0167] In actual applications, according to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, the hardware trusted module on the source physical machine can be called to decrypt the encrypted security parameters to obtain the security parameters.

[0168] Due to the different encryption rules of the hardware trusted modules on the source physical machine and the destination physical machine, directly migrating the encrypted security parameters on the source physical machine to the destination physical machine may cause the security parameters to be unable to be decrypted and thus unusable. In the above practical application, by decrypting the encrypted security parameters into plain text, the availability of the migrated security parameters on the destination physical machine can be guaranteed.

[0169] After obtaining the security parameters required by the virtual machine, the security parameters can also be sent to the destination physical machine.

[0170] In some practical applications, a snapshot of the security parameters is taken and sent to the destination physical machine through the network. During the network transmission process, the security parameters are in a plain text state. Therefore, in order to ensure the security of the security parameters, a trusted network can be used for transmission.

[0171] On the destination physical machine side, security parameters corresponding to the target virtual machine transmitted from the source physical machine can be received, and the security parameters can be configured into the virtual trusted module.

[0172] In some practical applications, a virtual storage space can be configured for the virtual trusted module on the destination physical machine, and security parameters can be stored in the virtual storage space. The virtual storage space can be mapped to the physical storage space on the destination physical machine. That is, the security parameters required by the target virtual machine can be stored in the storage space provided by the destination physical machine, independently of the storage space of the hardware trusted module. This is particularly suitable for scenarios where the destination physical machine simultaneously provides trusted support for multiple virtual machines. Since the storage space of the hardware trusted module of the destination physical machine is limited, by utilizing the storage space provided by the destination physical machine itself and extending the trusted state of the hardware trusted module to the virtual storage space of the virtual trusted module, the hardware trusted module of the destination physical machine can provide trusted support for multiple virtual machines running on the destination physical machine.

[0173] As mentioned above, the trusted support capabilities provided by the virtual trusted module and the hardware trusted module can be consistent. Therefore, on the destination physical machine side, consistent with the hardware trusted module, the virtual storage space of the virtual trusted module can be divided into vPCR (v-Platform Configuration Registers) and ordinary registers. Accordingly, the security parameters transmitted from the source physical machine can be stored in the corresponding position of the virtual storage space according to the parameter type. For example, the measurement value can be stored in the vPCR.

[0174] On the target physical machine side, a coupling relationship between the virtual trusted module and the hardware trusted module on the target physical machine can also be created to provide trusted support for the target virtual machine using the hardware trusted module based on security parameters.

[0175] In some practical applications, creating a coupling relationship may specifically include adding the target virtual machine and its virtual trusted module to the trusted support list corresponding to the hardware trusted module of the destination physical machine. The trusted support list may be maintained by the application program for managing virtualization on the destination physical machine. Based on the trusted support list, the application program for managing virtualization may perform access control on various access requests for the hardware trusted module. Of course, in this embodiment, creating a coupling relationship is not limited to the trusted support list.

[0176] Among them, using the hardware trusted module to provide trusted support for the target virtual machine means using the key management and configuration management features of the hardware trusted module to complete the integrity authentication of the target virtual machine, prevent unauthorized software modification, user identity authentication, digital signature, and fully encrypt the virtual hard disk and rewritable functions based on the security parameters required by the target virtual machine. I will not elaborate on this.

[0177] In addition, on the target physical machine side, based on the coupling relationship between the virtual trusted module and the hardware trusted module on the target physical machine, the hardware trusted module on the target physical machine can be called to encrypt the security parameters stored in the virtual storage space, thereby ensuring the credibility of the security parameters required by the target virtual machine.

[0178] In this embodiment, on the source physical machine side, after the virtual trusted module corresponding to the target virtual machine is migrated out, at least one of the following operations may be performed to release the coupling relationship between the virtual trusted module corresponding to the target virtual machine and the hardware trusted module of the source physical machine:

[0179] Delete the virtual trusted module corresponding to the target virtual machine;

[0180] Delete the target virtual machine from the trusted support list corresponding to the hardware trusted module; or

[0181] The hardware trust module of the control source physical machine stops trust support for the target virtual machine.

[0182] Of course, this embodiment is not limited to this.

[0183] In this embodiment, when the virtual machine is migrated, the security parameters required by the virtual machine are also migrated to the destination physical machine, so that after the virtual machine is migrated to the destination physical machine, the hardware trusted module of the destination physical machine can be used to provide trusted support for the virtual machine based on the security parameters required by the virtual machine. Therefore, in this embodiment, the trustworthiness of the virtual environment in the cloud service system can be maintained after the virtual machine is migrated.

[0184] Figure 2 A flowchart of a virtual machine migration method provided in one embodiment of the present application. Figure 2 As shown, the method can be applied to the source physical machine side in the aforementioned virtual machine migration system, and the method includes:

[0185] 200. Migrate a target virtual machine on a source physical machine to a destination physical machine, wherein the source physical machine is configured with a virtual trusted module corresponding to the target virtual machine;

[0186] 201. According to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, obtain security parameters required by the target virtual machine;

[0187] 202. Send the security parameters to the destination physical machine, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

[0188] In an optional embodiment, step 201 includes:

[0189] According to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, the hardware trusted module on the source physical machine is called to decrypt the encrypted security parameters to obtain the security parameters, wherein the encrypted security parameters are configured in the virtual trusted module corresponding to the target virtual machine.

[0190] In an optional embodiment, step 202 includes:

[0191] Take a snapshot of security parameters;

[0192] Send the snapshot to the destination physical machine through the trusted network.

[0193] In an optional embodiment, the method further includes at least one of the following operations:

[0194] Delete the virtual trusted module corresponding to the target virtual machine;

[0195] Delete the target virtual machine from the trusted support list corresponding to the hardware trusted module; or

[0196] Control the hardware trusted module to stop trusted support for the target VM.

[0197] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the source physical machine side can be referred to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0198] Figure 3 This is a schematic diagram of the structure of a virtual machine migration device provided by an embodiment of the present application. Figure 3 As shown, the device comprises:

[0199] A virtual machine management module 30, used to migrate a target virtual machine on a source physical machine to a destination physical machine, wherein the source physical machine is configured with a virtual trusted module corresponding to the target virtual machine;

[0200] The control module 31 is used to obtain the security parameters required by the target virtual machine according to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine;

[0201] The communication module 32 is used to send the security parameters to the destination physical machine, so that the destination physical machine can provide trusted support for the target virtual machine through the hardware trusted module thereon based on the security parameters.

[0202] In an optional embodiment, the control module 31 is specifically used for:

[0203] According to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, the hardware trusted module on the source physical machine is called to decrypt the encrypted security parameters to obtain the security parameters, wherein the encrypted security parameters are configured in the virtual trusted module corresponding to the target virtual machine.

[0204] In an optional embodiment, the communication module 32 is specifically used for:

[0205] Take a snapshot of security parameters;

[0206] Send the snapshot to the destination physical machine through the trusted network.

[0207] In an optional embodiment, the virtual machine management module 30 may also be used to perform at least one of the following operations:

[0208] Delete the virtual trusted module corresponding to the target virtual machine;

[0209] Delete the target virtual machine from the trusted support list corresponding to the hardware trusted module; or

[0210] Control the hardware trusted module to stop trusted support for the target VM.

[0211] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0212] The above describes the internal functions and structure of the virtual machine migration device. Figure 4 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a hardware trusted module 40 , a memory 41 , a processor 42 , and a communication component 43 .

[0213] The processor 42 is coupled to the hardware trusted module 40, the memory 41 and the communication component 43, and is used to execute the computer program in the memory to:

[0214] Migrating a target virtual machine on a physical machine to a destination physical machine, where a virtual trusted module corresponding to the target virtual machine is configured;

[0215] According to the coupling relationship between the virtual trusted module and the hardware trusted module 40 on the physical machine, the security parameters required by the target virtual machine are obtained;

[0216] The security parameters are sent to the destination physical machine through the communication component 43, so that the destination physical machine can provide trusted support for the target virtual machine through the hardware trusted module thereon based on the security parameters.

[0217] In an optional embodiment, the processor 42 is specifically configured to:

[0218] According to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, the hardware trusted module on the source physical machine is called to decrypt the encrypted security parameters to obtain the security parameters, wherein the encrypted security parameters are configured in the virtual trusted module corresponding to the target virtual machine.

[0219] In an optional embodiment, the processor 42 is specifically configured to:

[0220] Take a snapshot of security parameters;

[0221] Send the snapshot to the destination physical machine through the trusted network.

[0222] In an optional embodiment, the processor 42 may also be configured to perform at least one of the following operations:

[0223] Delete the virtual trusted module corresponding to the target virtual machine;

[0224] Delete the target virtual machine from the trusted support list corresponding to the hardware trusted module; or

[0225] Control the hardware trusted module to stop trusted support for the target VM.

[0226] Further, if Figure 4 As shown, the physical machine also includes: a display 44, a power supply component 45, an audio component 46 and other components. Figure 4 Only some components are shown schematically, which does not mean that the physical machine only includes Figure 4 Components shown.

[0227] It is worth noting that the technical details in the above-mentioned embodiments regarding the physical machine can refer to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0228] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0229] Figure 5 A flowchart of a virtual machine migration method provided in one embodiment of the present application. Figure 6 As shown, the method can be applied to the destination physical machine side of the aforementioned virtual machine migration system, and the method includes:

[0230] 500. Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine;

[0231] 501. Receive security parameters corresponding to the target virtual machine transmitted from the source physical machine, and configure the security parameters into the virtual trusted module;

[0232] 502. Create a coupling relationship between the virtual trusted module and the hardware trusted module on the target physical machine, so as to provide trusted support for the target virtual machine by using the hardware trusted module based on security parameters.

[0233] In an optional embodiment, step 501 includes:

[0234] Configure a virtual storage space for the virtual trusted module on the destination physical machine, and map the virtual storage space to the physical storage space on the destination physical machine;

[0235] The security parameters are stored in the virtual storage space.

[0236] In an optional embodiment, the method further comprises:

[0237] Based on the coupling relationship between the virtual trusted module and the hardware trusted module on the destination physical machine, the hardware trusted module on the destination physical machine is called to encrypt the security parameters stored in the virtual storage space.

[0238] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the destination physical machine side can be referred to the aforementioned description of the technical solution for the destination physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0239] Figure 6 This is a schematic diagram of the structure of a virtual machine migration device provided by an embodiment of the present application. Figure 6 As shown, the device comprises:

[0240] A virtual machine management module 60, configured to deploy a target virtual machine migrated from a source physical machine on a destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine;

[0241] The communication module 61 is used to receive the security parameters corresponding to the target virtual machine transmitted by the source physical machine, and configure the security parameters into the virtual trusted module;

[0242] The control module 62 is used to establish a coupling relationship between the virtual trusted module and the hardware trusted module on the target physical machine, so as to provide trusted support to the target virtual machine by using the hardware trusted module based on security parameters.

[0243] In an optional embodiment, the communication module 61 is specifically used for:

[0244] Configure a virtual storage space for the virtual trusted module on the destination physical machine, and map the virtual storage space to the physical storage space on the destination physical machine;

[0245] The security parameters are stored in the virtual storage space.

[0246] In an optional embodiment, the control module 62 is further configured to:

[0247] Based on the coupling relationship between the virtual trusted module and the hardware trusted module on the destination physical machine, the hardware trusted module on the destination physical machine is called to encrypt the security parameters stored in the virtual storage space.

[0248] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution on the target physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0249] The above describes the internal functions and structure of the virtual machine migration device. Figure 7 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a hardware trusted module 70 , a memory 71 , a processor 72 , and a communication component 73 .

[0250] The processor 72 is coupled to the hardware trusted module 70, the memory 71 and the communication component 73, and is used to execute the computer program in the memory to:

[0251] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine;

[0252] Receive security parameters corresponding to the target virtual machine transmitted from the source physical machine, and configure the security parameters into the virtual trusted module;

[0253] A coupling relationship is created between the virtual trusted module and the hardware trusted module on the target physical machine, so as to provide trusted support for the target virtual machine using the hardware trusted module based on security parameters.

[0254] In an optional embodiment, the processor 72 is specifically configured to:

[0255] Configure a virtual storage space for the virtual trusted module on the destination physical machine, and map the virtual storage space to the physical storage space on the destination physical machine;

[0256] The security parameters are stored in the virtual storage space.

[0257] In an optional embodiment, the processor 72 is further configured to:

[0258] Based on the coupling relationship between the virtual trusted module and the hardware trusted module on the destination physical machine, the hardware trusted module on the destination physical machine is called to encrypt the security parameters stored in the virtual storage space.

[0259] Further, if Figure 7 As shown, the physical machine also includes: a display 74, a power component 75, an audio component 76 and other components. Figure 7 Only some components are shown schematically, which does not mean that the physical machine only includes Figure 7 Components shown.

[0260] It is worth noting that the technical details in the above-mentioned embodiments regarding the physical machine can be referred to the aforementioned description of the technical solution on the target physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0261] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0262] Figure 8 This is a schematic diagram of the structure of a virtual machine migration system provided by another embodiment of the present application. Figure 8 As shown, the system includes a source physical machine 80 and a destination physical machine 81 .

[0263] In this embodiment, a hardware trusted module 82 can be configured on both the source physical machine 80 and the destination physical machine 81. The hardware trusted module includes but is not limited to a TPM (Trusted Platform Module) or a TCM (Trusted Cryptography Module). The hardware trusted module can be mounted on the motherboard of the source physical machine or the destination physical machine in the form of a chip. Of course, this embodiment does not limit the hardware connection method between the hardware trusted module and the source physical machine or the destination physical machine.

[0264] In this embodiment, both the source physical machine 80 and the destination physical machine 81 can run virtual management applications to manage the virtual environment in the cloud service system. The virtual management application can serve as a medium for interaction between the virtual environment and the physical environment in the cloud service system.

[0265] In this embodiment, multiple virtual machines 83 can be run on both the source physical machine 80 and the destination physical machine 81. The security parameters required by each virtual machine can be stored in the hardware trusted module on the physical machine where it is located. The security parameters include but are not limited to the parameters required for trusted support such as measurement values ​​and keys.

[0266] The following will take the target virtual machine as an example to explain the virtual machine migration solution in detail. It should be understood that the target virtual machine can be any virtual machine that needs to be migrated in the cloud service system.

[0267] On the source physical machine side, the target virtual machine on the source physical machine can be migrated to the destination physical machine; and the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine are sent to the destination physical machine. In this embodiment, the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine can be in the form of certificates, keys, or other parameters, and the parameter form of the authentication parameters is not limited in this embodiment.

[0268] In one implementation, a snapshot may be taken of the target virtual machine, wherein the snapshot includes authentication parameters used by the target virtual machine to access a hardware trusted module on the source physical machine; and the snapshot is sent to the destination physical machine.

[0269] In this implementation, the authentication parameters used to connect the target virtual machine to the hardware trusted module on the source physical machine can be used as a virtual machine information during the virtual machine migration process and included in the snapshot of the virtual machine. In this way, when the target virtual machine is deployed on the destination physical machine side, the authentication parameters can be obtained.

[0270] In another implementation, a snapshot of the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine may be taken, and the snapshot may be sent to the destination physical machine.

[0271] In this implementation, a separate snapshot can be taken for the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine, and the snapshot operation can be independent of the snapshot operation on the virtual machine. In this way, when the target physical machine receives the snapshot of the authentication parameters, it can obtain the authentication parameters.

[0272] On the destination physical machine side, the target virtual machine migrated from the source physical machine can be deployed on the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine are obtained. The deployment process of the target virtual machine on the destination physical machine will not be described in detail.

[0273] As mentioned above, based on the authentication parameters used by the source physical machine for the target virtual machine to access the hardware trusted module on the source physical machine, and the different sending methods adopted, the destination physical machine can obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine through different channels.

[0274] On the destination physical machine side, a remote access request can be generated based on the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine, and the remote access request can be sent to the source physical machine side. For example, the certificate used by the target virtual machine to access the hardware trusted module on the source physical machine can be included in the remote access request.

[0275] In actual applications, when a trusted support requirement occurs on the target virtual machine, a service usage request can be initiated to the application for managing virtual machines on the destination physical machine. The application for managing virtual machines can generate a remote access request based on the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine, and send it to the application for managing virtual machines on the source physical machine so that the application for managing virtual machines on the source physical machine can authenticate the remote access request.

[0276] On the source physical machine side, if a remote access request transmitted by the destination physical machine is received, the remote access request may be authenticated based on the authentication parameters included in the remote access request.

[0277] On the source physical machine side, the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine are saved. Based on this, in actual applications, the application program managing virtualization on the source physical machine can determine whether to pass the authentication of the remote access request by judging whether the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine saved on the source physical machine side match the authentication parameters included in the remote access request.

[0278] On the source physical machine side, if it is determined that the remote access request transmitted by the destination physical machine passes the authentication, a remote communication connection may be established with the destination physical machine.

[0279] Among them, establishing a remote communication connection refers to establishing a trusted service channel. Through the remote communication connection, the hardware trusted module on the source physical machine opens the trusted service permissions for the target virtual machine on the destination physical machine. Specifically, based on the security parameters required by the target virtual machine stored in the hardware trusted module on it, the hardware trusted module can provide trusted support for the target virtual machine.

[0280] Providing trusted support for the target virtual machine through the hardware trusted module means using the key management and configuration management features of the hardware trusted module to complete the integrity authentication of the target virtual machine, prevent unauthorized software modification, user identity authentication, digital signature, and fully encrypt the virtual hard disk and rewritable functions based on the security parameters required by the target virtual machine. I will not elaborate on this.

[0281] Based on this, on the destination physical machine side, if the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine can be remotely called to provide trusted support for the destination virtual machine.

[0282] In actual applications, when a trusted support requirement occurs on the target virtual machine, the trusted support requirement of the target virtual machine can be sent to the hardware trusted module on the source physical machine through the virtual management application on the destination physical machine and the virtual management application on the source physical machine based on the above-mentioned remote communication channel, so as to remotely call the hardware trusted module on the source physical machine, and then obtain the trusted support of the hardware trusted module on the source physical machine. Among them, the remote communication connection can be a continuous connection channel, and of course it can also be a connection channel that is turned on on demand, which is not limited in this embodiment.

[0283] In this embodiment, when the target virtual machine is migrated, based on the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine, the target virtual machine can remotely call the hardware trusted module on the source physical machine, thereby realizing trusted support for the migrated target virtual machine through the hardware trusted module on the source physical machine. Therefore, in this embodiment, there is no need to migrate the security parameters required for trusted support of the target virtual machine. The availability of data related to the target virtual machine under the hardware trusted module on the source physical machine can be guaranteed by remote access after the migration of the target virtual machine. In this way, the security risks in the migration process of data such as security parameters required for trusted support of the target virtual machine can be avoided.

[0284] In the above or following embodiments, on the destination physical machine side, the identity information of the destination physical machine may also be configured into the remote access request so that the source physical machine can perform transmission party identity authentication on the remote access request.

[0285] The identity information of the destination physical machine may be information that can uniquely identify the destination physical machine, such as its ID and MAC address, which is not limited in this embodiment.

[0286] On the source physical machine side, when performing the operation of migrating the target virtual machine to the destination physical machine, the identity information of the destination physical machine to which the target virtual machine is migrated can be recorded for subsequent authentication of the transmitter identity of the received remote access request.

[0287] The target virtual machine, the target physical machine, and the authentication parameters corresponding to the target virtual machine can be associated through the identity information of the target physical machine. Based on this, on the source physical machine side, not only the authentication parameters can be authenticated, but also the identity of the transmission party that sends the remote access request can be authenticated, thereby effectively avoiding abnormal calls to the hardware trusted module on the source physical machine, thereby ensuring the credibility of the target virtual machine.

[0288] In the above or following embodiments, on the source physical machine side, when the target virtual machine is run for the first time on the source physical machine, a trusted authentication request for the target virtual machine can be sent to the remote authentication center; if an authentication pass notification is received from the remote authentication center, the authentication parameters used by the hardware trusted module on the source physical machine are configured for the target virtual machine.

[0289] Among them, the remote authentication center is a trusted authentication party independent of the source physical machine and the destination physical machine, on which the basic measurement values ​​corresponding to each virtual machine in the cloud computing platform can be stored. Based on this, when the target virtual machine is run for the first time, the source physical machine where it is located can send a trusted authentication request to the remote authentication center. The trusted authentication request can carry the sequence of measurement values ​​during the startup process of the target virtual machine. The remote authentication center can determine the trusted status of the target virtual machine based on the basic measurement values ​​corresponding to the target virtual machine stored on it. The trusted status includes but is not limited to whether it is trusted, the description of the trusted reason, the time when the trusted authentication occurs, etc. The remote authentication center can return the trusted status to the source physical machine.

[0290] Accordingly, the source physical machine can, based on the trusted status of the target virtual machine returned by the remote authentication center, configure the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine when it is determined that the target virtual machine is trusted, so that the target virtual machine can access the hardware trusted module on the source physical machine based on the authentication parameters.

[0291] In actual application, on the source physical machine side, the authentication parameter can be managed by a virtual business program on the source physical machine. Of course, this embodiment does not limit this.

[0292] Fig. 9 A flowchart of a virtual machine migration method provided by another embodiment of the present application is shown below. Fig. 9 As shown, this method can be applied to Figure 7 On the source physical machine side of the virtual machine migration system, the method includes:

[0293] 900. Migrate the target virtual machine on the source physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine.

[0294] 901. If a remote access request transmitted by a destination physical machine is received, the remote access request is authenticated based on an authentication parameter included in the remote access request;

[0295] 902. If the remote access request passes the authentication, a remote communication connection is established with the destination physical machine, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

[0296] In an optional embodiment, step 900 includes:

[0297] Taking a snapshot of the target virtual machine, wherein the snapshot includes authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0298] Send the snapshot to the destination physical machine.

[0299] In an optional embodiment, the remote access request further includes identity information of the destination physical machine, and the method further includes:

[0300] Performing identity authentication of the transmission party on the remote access request according to the identity information of the destination physical machine included in the remote access request;

[0301] If it is determined that the remote access request passes the identity authentication of the transmission party, an operation of establishing a remote communication connection with the destination physical machine is performed.

[0302] In an optional embodiment, the method further comprises:

[0303] When the target virtual machine is running on the source physical machine for the first time, a trusted authentication request for the target virtual machine is sent to a remote authentication center;

[0304] If a notification of authentication success is received from a remote authentication center, authentication parameters used by a hardware trusted module on the access source physical machine are configured for the target virtual machine.

[0305] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the source physical machine side can be referred to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0306] Fig.10 A schematic diagram of a virtual machine migration device provided in another embodiment of the present application is shown in Figure 10. The device includes:

[0307] The virtual machine management module 100 is used to migrate the target virtual machine on the source physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine;

[0308] The authentication module 101 is used to authenticate the remote access request based on the authentication parameters included in the remote access request if a remote access request transmitted by the destination physical machine is received;

[0309] The communication module 102 is used to establish a remote communication connection with the destination physical machine if the remote access request passes the authentication, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

[0310] In an optional embodiment, the virtual machine management module 100 is specifically used for:

[0311] Taking a snapshot of the target virtual machine, wherein the snapshot includes authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0312] Send the snapshot to the destination physical machine.

[0313] In an optional embodiment, the remote access request further includes identity information of the destination physical machine, and the authentication module 101 is further configured to:

[0314] Performing identity authentication of the transmission party on the remote access request according to the identity information of the destination physical machine included in the remote access request;

[0315] If it is determined that the remote access request passes the identity authentication of the transmission party, an operation of establishing a remote communication connection with the destination physical machine is performed.

[0316] In an optional embodiment, the virtual machine management module 100 is further configured to:

[0317] When the target virtual machine is running on the source physical machine for the first time, a trusted authentication request for the target virtual machine is sent to a remote authentication center;

[0318] If a notification of authentication success is received from a remote authentication center, authentication parameters used by a hardware trusted module on the access source physical machine are configured for the target virtual machine.

[0319] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0320] The above describes the internal functions and structure of the virtual machine migration device. Fig.11 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a hardware trusted module 110 , a memory 111 , a processor 112 , and a communication component 113 .

[0321] The processor 112 is coupled to the hardware trusted module 110, the memory 111 and the communication component 113, and is used to execute the computer program in the memory to:

[0322] Migrate the target virtual machine on the source physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine through the communication component 113, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine;

[0323] If a remote access request transmitted by the destination physical machine is received, the remote access request is authenticated based on the authentication parameters included in the remote access request;

[0324] If the remote access request passes the authentication, a remote communication connection is established with the destination physical machine to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

[0325] In an optional embodiment, when migrating a target virtual machine on a source physical machine to a destination physical machine and sending an authentication parameter used by the target virtual machine to access a hardware trusted module on the source physical machine to the destination physical machine, the processor 112 is configured to:

[0326] Taking a snapshot of the target virtual machine, wherein the snapshot includes authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0327] Send the snapshot to the destination physical machine.

[0328] In an optional embodiment, the remote access request further includes identity information of the destination physical machine, and the processor 112 is further configured to:

[0329] Performing identity authentication of the transmission party on the remote access request according to the identity information of the destination physical machine included in the remote access request;

[0330] If it is determined that the remote access request passes the identity authentication of the transmission party, an operation of establishing a remote communication connection with the destination physical machine is performed.

[0331] In an optional embodiment, the processor 112 is further configured to:

[0332] When the target virtual machine is running on the source physical machine for the first time, a trusted authentication request for the target virtual machine is sent to a remote authentication center;

[0333] If a notification of authentication success is received from a remote authentication center, authentication parameters used by a hardware trusted module on the access source physical machine are configured for the target virtual machine.

[0334] Further, if Fig.11 As shown, the physical machine also includes: a display 114, a power component 115, an audio component 116 and other components. Fig.11 Only some components are shown schematically, which does not mean that the physical machine only includes Fig.11 Components shown.

[0335] It is worth noting that the technical details in the above-mentioned embodiments regarding the physical machine can refer to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0336] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0337] Fig.12 A flowchart of another virtual machine migration method provided by another embodiment of the present application is shown below. Fig.12 As shown, the method can be applied to the destination physical machine side of the aforementioned virtual machine migration system, and the method includes:

[0338] 120. Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0339] 121. Generate a remote access request according to the authentication parameters, and send the remote access request to the source physical machine;

[0340] 122. If the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine is remotely called to provide trusted support for the target virtual machine.

[0341] In an optional embodiment, the method further comprises:

[0342] The identity information of the destination physical machine is configured into the remote access request so that the source physical machine can authenticate the transmission party of the remote access request.

[0343] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the destination physical machine side can be referred to the aforementioned description of the technical solution for the destination physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0344] Fig.13 This is a schematic diagram of the structure of another virtual machine migration device provided by another embodiment of the present application. Fig.13 As shown, the device comprises:

[0345] The virtual machine management module 130 is used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0346] An authentication module 131, configured to generate a remote access request according to authentication parameters;

[0347] The communication module 132 is used to send the remote access request to the source physical machine;

[0348] The control module 133 is configured to remotely call a hardware trusted module on the source physical machine to provide trusted support for the target virtual machine if the remote access request passes the authentication of the source physical machine.

[0349] In an optional embodiment, the authentication module 131 is further configured to:

[0350] The identity information of the destination physical machine is configured into the remote access request so that the source physical machine can authenticate the transmission party of the remote access request.

[0351] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution on the target physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0352] The above describes the internal functions and structure of the virtual machine migration device. Fig.14 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a hardware trusted module 140 , a memory 141 , a processor 142 , and a communication component 143 .

[0353] The processor 142 is coupled to the hardware trusted module 140, the memory 141 and the communication component 143, and is used to execute the computer program in the memory to:

[0354] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine;

[0355] Generate a remote access request according to the authentication parameters, and send the remote access request to the source physical machine;

[0356] If the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine is remotely called to provide trusted support for the target virtual machine.

[0357] In an optional embodiment, the processor 142 is further configured to:

[0358] The identity information of the destination physical machine is configured into the remote access request so that the source physical machine can authenticate the transmission party of the remote access request.

[0359] Further, if Fig.14 As shown, the physical machine also includes: a display 144, a power component 145, an audio component 146 and other components. Fig.14 Only some components are shown schematically, which does not mean that the physical machine only includes Fig.14 Components shown.

[0360] It is worth noting that the technical details in the above-mentioned embodiments regarding the physical machine can be referred to the aforementioned description of the technical solution on the target physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0361] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0362] Fig.15 This is a schematic diagram of the structure of a virtual machine migration system provided by the present application. Fig.15 As shown, the system includes: a source physical machine 150 , a destination physical machine 151 , a trusted hardware cluster 152 , and a cluster control device 155 . The cluster control device 155 can communicate with the source physical machine 150 , the destination physical machine 151 , and the trusted hardware cluster 153 .

[0363] It is worth noting that, in this embodiment, in order to facilitate the description of the migration process of the virtual machine, in the cloud service system, the combination of several participants involved in the migration process of a single virtual machine is referred to as a virtual machine migration system. It should be understood that, in this embodiment, the source physical machine 150 or the destination physical machine 151 can be any physical machine in the cloud service system, and the trusted hardware cluster 152 can also provide trusted support for other physical machines or virtual machines in the cloud service system.

[0364] The trusted hardware cluster 152 may include at least one trusted hardware 153, and the trusted hardware in the trusted hardware cluster 152 includes but is not limited to a TPM (Trusted Platform Module) or a TCM (Trusted Cryptography Module). In addition, an access control program may be run in the cluster control device to perform access control on the trusted hardware cluster.

[0365] The trusted hardware 153 in the trusted hardware cluster 152 can provide trusted support for each physical machine or virtual machine in the cloud service system, and the security parameters required by each physical machine or virtual machine during the trusted support process can be stored in the trusted hardware cluster. The security parameters include but are not limited to the parameters required for trusted support such as measurement values ​​and keys.

[0366] Multiple virtual machines 154 can run on the source physical machine 150 or the destination physical machine 151. The following will take the target virtual machine as an example to explain the virtual machine migration solution in detail. It should be understood that the target virtual machine can be any virtual machine in the cloud service system that needs to be migrated.

[0367] In this embodiment, on the source physical machine side, the target virtual machine on the source physical machine can be migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the trusted hardware cluster are sent to the destination physical machine. In this embodiment, the authentication parameters used by the target virtual machine to access the trusted hardware cluster can be in the form of certificates, keys, or other parameters, and the parameter form of the authentication parameters is not limited in this embodiment.

[0368] In one implementation, a snapshot may be taken of the target virtual machine, wherein the snapshot includes authentication parameters used by the target virtual machine to access the trusted hardware cluster; and the snapshot is sent to the destination physical machine.

[0369] In this implementation, the authentication parameters used to connect the target virtual machine to the trusted hardware cluster can be used as a virtual machine information during the virtual machine migration process and included in the virtual machine snapshot. In this way, when the target virtual machine is deployed on the destination physical machine side, the authentication parameters can be obtained.

[0370] In another implementation, a snapshot of the authentication parameters used by the target virtual machine to access the trusted hardware cluster may be taken, and the snapshot may be sent to the destination physical machine.

[0371] In this implementation, a separate snapshot can be taken for the authentication parameters used by the target virtual machine to access the trusted hardware cluster, and the snapshot operation can be independent of the snapshot operation on the virtual machine. In this way, when the target physical machine receives the snapshot of the authentication parameters, it can obtain the authentication parameters.

[0372] On the destination physical machine side, the target virtual machine migrated from the source physical machine can be deployed on the destination physical machine, and the authentication parameters used by the target virtual machine to access the trusted hardware cluster are obtained. The deployment process of the target virtual machine on the destination physical machine will not be described in detail.

[0373] As described above, based on the authentication parameters used by the source physical machine for the target virtual machine to access the trusted hardware cluster and the different sending methods adopted, the destination physical machine can obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster through different channels.

[0374] On the target physical machine side, a remote access request may be generated according to the authentication parameters and sent to the trusted hardware cluster. For example, the certificate used by the target virtual machine to access the trusted hardware cluster may be included in the remote access request.

[0375] In actual applications, when a trusted support requirement occurs on the target virtual machine, a service usage request can be initiated to the virtual management application on the destination physical machine. The virtual management application can generate a remote access request based on the authentication parameters used by the target virtual machine to access the trusted hardware cluster, and send it to the cluster control device for the access control program running on the cluster control device to authenticate the remote access request.

[0376] On the cluster control device side, a remote access request transmitted from the destination physical machine where the target virtual machine is located after migration can be received, and the remote access request can be authenticated based on the authentication parameters included in the remote access request.

[0377] On the cluster control device side, the authentication parameters used by the target virtual machine to access the trusted hardware cluster can be saved. Based on this, in actual applications, the access control program on the cluster control device can determine whether to pass the authentication of the remote access request by judging whether the authentication parameters used by the target virtual machine to access the trusted hardware cluster saved on the cluster control device side match the authentication parameters included in the remote access request.

[0378] On the cluster control device side, if the remote access request is authenticated, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0379] Among them, connecting the target virtual machine to the target trusted hardware refers to establishing a service channel for the target virtual machine to call the target trusted hardware. Accordingly, if the remote access request transmitted by the destination physical machine passes the authentication, the target trusted hardware in the trusted hardware cluster will open the service permissions of the trusted support for the target virtual machine. Specifically, when the cluster control device receives the remote access request corresponding to the target virtual machine, it can call the target trusted hardware to provide trusted support for the target virtual machine based on the security parameters required by the target virtual machine stored in the target trusted hardware.

[0380] In this embodiment, calling the target trusted hardware to provide trusted support for the target virtual machine means utilizing the key management and configuration management features of the target trusted hardware, based on the security parameters required by the target virtual machine, to complete the integrity authentication of the target virtual machine, prevention of unauthorized software modification, user identity authentication, digital signature, and full encryption of the virtual hard disk and erasable functions. This will not be described in detail here.

[0381] In this embodiment, the cluster control device can pre-configure the virtual machines supported by each trusted hardware according to the service capabilities of each trusted hardware in the trusted hardware cluster to create an association between the preset virtual machines and the trusted hardware. Based on this, the cluster control device can reasonably allocate trusted resources based on resource usage requests to improve the utilization efficiency of trusted resources.

[0382] Among them, based on the preset association relationship between the virtual machine and the trusted hardware, the cluster control device side can determine the target trusted hardware corresponding to the target virtual machine according to the association relationship before and after the target virtual machine is migrated, and can allocate the trusted support requirements caused by the target virtual machine to the target trusted hardware.

[0383] Based on this, on the destination physical machine side, if the remote access request passes the authentication of the trusted hardware cluster, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

[0384] Specifically, when a trusted support requirement occurs on the target virtual machine, a remote access request can be transmitted to the cluster control device through the destination physical machine. The cluster control device can distribute the remote access request to the target trusted hardware corresponding to the target virtual machine and respond to the remote access request through the target trusted hardware.

[0385] In this embodiment, by deploying a trusted hardware cluster and cluster control devices in the cloud service system, centralized management and use of trusted hardware in the cloud service system can be achieved, and resource allocation and access control of trusted resources in the cloud service system can be performed more conveniently. Accordingly, when the target virtual machine in the cloud service system is migrated, there is no need to migrate the security parameters required for trusted support of the target virtual machine. The availability of data related to the target virtual machine in the trusted hardware cluster can be guaranteed through remote access after the migration of the target virtual machine. In this way, the security risks in the migration process of data such as security parameters required for trusted support of the target virtual machine can be avoided.

[0386] In the above or below embodiments, the source physical machine may also send a target virtual machine migration notification to the cluster control device.

[0387] On the cluster control device side, upon receiving a target virtual machine migration notification sent by the source physical machine where the target virtual machine was located before migration, the cluster control device stops responding to the remote access request corresponding to the target virtual machine subsequently sent by the source physical machine.

[0388] In some implementations, the transmission party identity authentication may be performed on the subsequently received remote access request corresponding to the target virtual machine to stop responding to the remote access request corresponding to the target virtual machine sent by the source physical machine. In this regard, on the source physical machine side, the identity information of the target physical machine may be configured into the remote access request. The identity information of the target physical machine may be information that can uniquely identify the identity of the target physical machine, such as the ID and MAC address of the target physical machine, which is not limited in this embodiment.

[0389] Based on this, on the cluster control device side, the transmission party identity authentication of the remote access request can be performed according to the information of the destination physical machine contained in the notification that the target virtual machine has been migrated; if it is determined that the remote access request passes the transmission party identity authentication, the operation of connecting the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster is executed according to the preset association relationship between the virtual machine and the trusted hardware.

[0390] Through the identity information of the target physical machine, the target virtual machine, the target physical machine and the authentication parameters corresponding to the target virtual machine can be associated. Based on this, on the cluster control device side, not only the authentication parameters can be authenticated, but also the identity of the transmission party of the remote access request can be authenticated, so as to effectively avoid abnormal calls to the trusted hardware cluster and thus ensure the credibility of the target virtual machine.

[0391] In the above or following embodiments, on the source physical machine side, when the target virtual machine is run for the first time on the source physical machine, a trusted authentication request for the target virtual machine can be sent to the remote authentication center; if an authentication pass notification is received from the remote authentication center, the authentication parameters used to access the trusted hardware cluster are configured for the target virtual machine.

[0392] Among them, the remote authentication center is a trusted authentication party independent of the source physical machine, the destination physical machine and the trusted hardware cluster. The basic measurement values ​​corresponding to each virtual machine in the cloud computing platform can be stored on it. Based on this, when the target virtual machine is run for the first time, the application that manages the virtual on the source physical machine can send a trusted authentication request to the remote authentication center. The trusted authentication request can carry the sequence of measurement values ​​during the startup process of the target virtual machine. The remote authentication center can determine the trusted status of the target virtual machine based on the basic measurement values ​​corresponding to the target virtual machine stored on it. The trusted status includes but is not limited to whether it is trusted, the description of the trusted reason, the time when the trusted authentication occurs, etc. The remote authentication center can return the trusted status to the application that manages the virtual on the source physical machine.

[0393] Accordingly, the application managing virtualization on the source physical machine can configure the authentication parameters used to access the trusted hardware cluster for the target virtual machine based on the trusted status of the target virtual machine returned by the remote authentication center, if it is determined that the target virtual machine is trustworthy, so that the target virtual machine can access the trusted hardware cluster based on the authentication parameters.

[0394] In actual application, on the source physical machine side, the authentication parameter can be managed by an application program for managing virtualization on the source physical machine. Of course, this embodiment does not limit this.

[0395] Fig.16 A flowchart of a virtual machine migration method provided by another embodiment of the present application is shown below. Fig.16 As shown, this method can be applied to Fig.15 On the cluster control device side in the virtual machine migration system shown, the method includes:

[0396] 160. Receive a remote access request transmitted from the destination physical machine where the target virtual machine is located after migration, where the remote access request includes authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0397] 161. Authenticate the remote access request based on the authentication parameters included in the remote access request;

[0398] 162. If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0399] In an optional embodiment, the method further comprises:

[0400] If a target virtual machine migration notification sent by the source physical machine where the target virtual machine was located before migration is received, stop responding to a remote access request corresponding to the target virtual machine subsequently sent by the source physical machine.

[0401] In an optional embodiment, the target virtual machine migration notification includes information about the destination physical machine, and the method further includes:

[0402] Performing identity authentication of the transmission party for the remote access request based on the information of the destination physical machine included in the notification that the target virtual machine has been migrated;

[0403] If it is determined that the remote access request passes the identity authentication of the transmission party, an operation of connecting the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster is performed according to the preset association relationship between the virtual machine and the trusted hardware.

[0404] In an optional embodiment, the method further comprises:

[0405] According to the service capability of each trusted hardware in the trusted hardware cluster, the virtual machines supported by each trusted hardware are configured to create an association relationship between the preset virtual machines and the trusted hardware.

[0406] In an alternative embodiment, a single trusted hardware may support one or more virtual machines.

[0407] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the trusted hardware cluster side can be referred to the aforementioned description of the technical solution for the trusted hardware cluster side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0408] Fig.17 A structural diagram of a virtual machine migration device provided in another embodiment of the present application. As shown in 17, the device includes:

[0409] The communication module 171 is used to receive a remote access request transmitted from the destination physical machine where the target virtual machine is located after migration, where the remote access request includes authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0410] An authentication module 172, configured to authenticate the remote access request based on authentication parameters included in the remote access request;

[0411] The control module 173 is used to connect the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware if the remote access request passes the authentication, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0412] In an optional embodiment, the control touch 173 is also used to:

[0413] If a target virtual machine migration notification sent by the source physical machine where the target virtual machine was located before migration is received, stop responding to a remote access request corresponding to the target virtual machine subsequently sent by the source physical machine.

[0414] In an optional embodiment, the target virtual machine migration notification includes information about the destination physical machine, and the control module 173 is further configured to:

[0415] Performing identity authentication of the transmission party for the remote access request based on the information of the destination physical machine included in the notification that the target virtual machine has been migrated;

[0416] If it is determined that the remote access request passes the identity authentication of the transmission party, an operation of connecting the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster is performed according to the preset association relationship between the virtual machine and the trusted hardware.

[0417] In an optional embodiment, the control module 173 is further configured to:

[0418] According to the service capability of each trusted hardware in the trusted hardware cluster, the virtual machines supported by each trusted hardware are configured to create an association relationship between the preset virtual machines and the trusted hardware.

[0419] In an alternative embodiment, a single trusted hardware may support one or more virtual machines.

[0420] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution for the trusted hardware cluster side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0421] The above describes the internal functions and structure of the virtual machine migration device. Fig.18 As shown, in practice, the virtual machine migration device may be deployed in a cluster control device, and the cluster control device may include: a memory 181, a processor 182, and a communication component 183;

[0422] The processor 182 is coupled to the memory 181 and the communication component 183, and is used to execute the computer program in the memory 181 to:

[0423] Receiving, through the communication component, a remote access request transmitted from the destination physical machine where the target virtual machine is located after migration, the remote access request including authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0424] authenticating the remote access request based on authentication parameters included in the remote access request;

[0425] If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

[0426] In an optional embodiment, the processor 182 is further configured to:

[0427] If a target virtual machine migration notification sent by the source physical machine where the target virtual machine was located before migration is received, stop responding to a remote access request corresponding to the target virtual machine subsequently sent by the source physical machine.

[0428] In an optional embodiment, the target virtual machine migration notification includes information about the destination physical machine, and the processor 182 is further configured to:

[0429] Performing identity authentication of the transmission party for the remote access request based on the information of the destination physical machine included in the notification that the target virtual machine has been migrated;

[0430] If it is determined that the remote access request passes the identity authentication of the transmission party, an operation of connecting the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster is performed according to the preset association relationship between the virtual machine and the trusted hardware.

[0431] In an optional embodiment, the processor 182 is further configured to:

[0432] According to the service capability of each trusted hardware in the trusted hardware cluster, the virtual machines supported by each trusted hardware are configured to create an association relationship between the preset virtual machines and the trusted hardware.

[0433] In an alternative embodiment, a single trusted hardware may support one or more virtual machines.

[0434] Further, if Fig.18 As shown, the cluster control device also includes: a power supply component 184 and other components. Fig.18 Only some components are shown schematically, which does not mean that the trusted hardware cluster only includes Fig.18 Components shown.

[0435] It is worth noting that the technical details in the above-mentioned embodiments of the cluster control device can be referred to the aforementioned description of the technical solution on the cluster control device side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0436] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0437] Fig.19 A flowchart of another virtual machine migration method provided by another embodiment of the present application is shown below. Fig.19 As shown, this method can be applied to Fig.15 On the source physical machine side of the virtual machine migration system, the method includes:

[0438] 190. Migrate the target virtual machine on the source physical machine to the destination physical machine;

[0439] 191. Send the authentication parameters used by the target virtual machine to access the trusted hardware cluster to the destination physical machine, so that the target virtual machine can remotely access the trusted hardware cluster.

[0440] In an optional embodiment, the method further comprises:

[0441] A target virtual machine migration notification is sent to the cluster control device, so that the cluster control device stops responding to a remote access request corresponding to the target virtual machine that is subsequently sent by the source physical machine.

[0442] In an optional embodiment, the method further comprises:

[0443] The information of the destination physical machine is configured into the notification that the destination virtual machine has been migrated. The information of the destination physical machine is used to perform transmission party identity authentication on subsequent remote access requests corresponding to the destination virtual machine.

[0444] In an optional embodiment, the method further comprises:

[0445] When the target virtual machine is running on the source physical machine for the first time, a trusted authentication request for the target virtual machine is sent to a remote authentication center;

[0446] If a notification of authentication success is received from a remote authentication center, authentication parameters used to access the trusted hardware cluster are configured for the target virtual machine.

[0447] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the source physical machine side can be referred to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0448] Fig. 20 A structural diagram of another virtual machine migration device provided in another embodiment of the present application. As shown in 20, the device includes:

[0449] A virtual machine management module 200 is used to migrate a target virtual machine on a source physical machine to a destination physical machine;

[0450] The communication module 201 is used to send the authentication parameters used by the target virtual machine to access the trusted hardware cluster to the destination physical machine, so that the target virtual machine can remotely access the trusted hardware cluster.

[0451] In an optional embodiment, the communication module 201 is further used for:

[0452] A target virtual machine migration notification is sent to the cluster control device, so that the cluster control device stops responding to a remote access request corresponding to the target virtual machine that is subsequently sent by the source physical machine.

[0453] In an optional embodiment, the communication module 201 is further used for:

[0454] The information of the destination physical machine is configured into the notification that the destination virtual machine has been migrated. The information of the destination physical machine is used to perform transmission party identity authentication on subsequent remote access requests corresponding to the destination virtual machine.

[0455] In an optional embodiment, the communication module 201 is further used for:

[0456] When the target virtual machine is running on the source physical machine for the first time, a trusted authentication request for the target virtual machine is sent to a remote authentication center;

[0457] The virtual machine management module 200 is further used for:

[0458] If a notification of authentication success is received from a remote authentication center, authentication parameters used to access the trusted hardware cluster are configured for the target virtual machine.

[0459] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0460] The above describes the internal functions and structure of the virtual machine migration device. Fig.21 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a memory 210 , a processor 211 , and a communication component 212 .

[0461] The processor 211 is coupled to the memory 210 and the communication component 212, and is used to execute the computer program in the memory 210 to:

[0462] Migrate the target virtual machine on the source physical machine to the destination physical machine;

[0463] The authentication parameters used by the target virtual machine to access the trusted hardware cluster are sent to the destination physical machine through the communication component, so that the target virtual machine can remotely access the trusted hardware cluster.

[0464] In an optional embodiment, the processor 102 is further configured to:

[0465] A target virtual machine migration notification is sent to the cluster control device, so that the cluster control device stops responding to a remote access request corresponding to the target virtual machine that is subsequently sent by the source physical machine.

[0466] In an optional embodiment, the processor 102 is further configured to:

[0467] The information of the destination physical machine is configured into the notification that the destination virtual machine has been migrated. The information of the destination physical machine is used to perform transmission party identity authentication on subsequent remote access requests corresponding to the destination virtual machine.

[0468] In an optional embodiment, the processor 102 is further configured to:

[0469] When the target virtual machine is running on the source physical machine for the first time, a trusted authentication request for the target virtual machine is sent to a remote authentication center;

[0470] If a notification of authentication success is received from a remote authentication center, authentication parameters used to access the trusted hardware cluster are configured for the target virtual machine.

[0471] Further, if Fig.21 As shown, the physical machine also includes: a display 213, a power component 214, an audio component 215 and other components. Fig.21 Only some components are shown schematically, which does not mean that the physical machine only includes Fig.21 Components shown.

[0472] It is worth noting that the technical details in the above-mentioned embodiments regarding the physical machine can refer to the aforementioned description of the technical solution for the source physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0473] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0474] Fig. 22 A flowchart of another virtual machine migration method provided by another embodiment of the present application is shown below. Fig. 22 As shown, this method can be applied to Fig.15 On the destination physical machine side of the virtual machine migration system shown, the method includes:

[0475] 220. Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0476] 221. Generate a remote access request according to the authentication parameters, and send the remote access request to the cluster control device;

[0477] 222. If the remote access request passes the authentication of the cluster control device, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

[0478] In an optional embodiment, the method further comprises:

[0479] The identity information of the destination physical machine is configured into the remote access request so that the cluster control device can perform identity authentication of the transmission party on the remote access request.

[0480] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration method that can be applied to the destination physical machine side can be referred to the aforementioned description of the technical solution for the destination physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0481] Fig.23 A structural diagram of another virtual machine migration device provided by another embodiment of the present application. Fig.23 As shown, the device comprises:

[0482] The virtual machine management module 230 is used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0483] An authentication module 231, configured to generate a remote access request according to authentication parameters, and send the remote access request to the cluster control device;

[0484] The control module 232 is used to remotely call the trusted hardware cluster to provide trusted support for the target virtual machine if the remote access request passes the authentication of the cluster control device.

[0485] In an optional embodiment, the authentication module 121 is further configured to:

[0486] The identity information of the destination physical machine is configured into the remote access request so that the cluster control device can perform identity authentication of the transmission party on the remote access request.

[0487] It is worth noting that the technical details in the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned description of the technical solution on the target physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0488] The above describes the internal functions and structure of the virtual machine migration device. Fig.24 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a memory 240 , a processor 241 , and a communication component 242 .

[0489] The processor 241 is coupled to the memory 240 and the communication component 242, and is used to execute the computer program in the memory 240 to:

[0490] Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster;

[0491] generating a remote access request according to the authentication parameters, and sending the remote access request to the cluster control device through the communication component;

[0492] If the remote access request passes the authentication of the cluster control device, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

[0493] In an optional embodiment, the processor 241 is further configured to:

[0494] The identity information of the destination physical machine is configured into the remote access request so that the cluster control device can perform identity authentication of the transmission party on the remote access request.

[0495] Further, if Fig.24 As shown, the physical machine also includes: a display 243, a power component 244, an audio component 245 and other components. Fig.24 Only some components are shown schematically, which does not mean that the physical machine only includes Fig.24 Components shown.

[0496] It is worth noting that the technical details in the above-mentioned embodiments regarding the physical machine can be referred to the aforementioned description of the technical solution on the target physical machine side in the virtual machine migration system. In order to save space, they are not described in detail here, but this should not cause loss of protection scope of this application.

[0497] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0498] Fig.25 A flowchart of another virtual machine migration method provided by another embodiment of the present application is shown below. Fig.25 As shown, the method can be applied to the current physical machine in the aforementioned virtual machine migration system, and the method includes:

[0499] 250. Receive a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine;

[0500] 251. Determine the destination physical machine based on the service type code running on the target virtual machine;

[0501] 252. Migrate the target virtual machine on the current physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

[0502] Among them, step 252 can refer to Figure 8The relevant descriptions in the corresponding embodiments are not repeated here. In addition, in this embodiment, based on the determination scheme of the target physical machine provided in steps 250-251, Figure 8 Other technical details in the corresponding embodiments are applied to this embodiment and will not be repeated here.

[0503] In this embodiment, when a migration request for a target virtual machine on the current physical machine is received, the service type code running on the target virtual machine can be obtained. The service type code can be used to characterize the type of service running on the target virtual machine. In this embodiment, the form of the service type code is not limited. For example, the service type code can be a string of Arabic numerals, or a combination of letters and numbers.

[0504] Based on this, the type of business running on the target virtual machine can be determined based on the business type code running on the target virtual machine, and then the destination physical machine can be determined. The destination physical machine determined in this way can ensure that the target virtual machine continues to run the original business after the target virtual machine is migrated. In this embodiment, the business type code includes but is not limited to the e-commerce business code or the financial business code.

[0505] If the service type code run by the target virtual machine belongs to the e-commerce service code, the first physical machine corresponding to the e-commerce service code may be determined as the destination physical machine.

[0506] If the service type code run by the target virtual machine belongs to the financial service code, then the second physical machine corresponding to the financial service code may be determined as the destination physical machine.

[0507] In addition, considering that different business types require different trusted services, in this embodiment, the hardware trusted module on the current physical machine can support the business type run by the target virtual machine.

[0508] If the business type code run by the target virtual machine belongs to the e-commerce business code, the hardware trusted module on the current physical machine can adopt the TPM module.

[0509] If the business type code run by the target virtual machine belongs to the financial business code, the hardware trusted module on the current physical machine can adopt the TPCM module.

[0510] Of course, these are merely exemplary and the present embodiment is not limited thereto.

[0511] In this embodiment, the target physical machine is selected based on the business type code running by the target virtual machine, which can ensure that the target virtual machine can run its original business normally after migration. After the target virtual machine is migrated, the hardware trusted module on the current physical machine can continue to be used to provide trusted services for the target virtual machine to ensure the credibility of the target virtual machine.

[0512] Fig.26 A structural diagram of another virtual machine migration device provided by another embodiment of the present application. Fig.26 As shown, the device comprises:

[0513] The communication module 260 is used to receive a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine;

[0514] The virtual machine management module 261 is used to determine the destination physical machine based on the service type code running on the target virtual machine;

[0515] The target virtual machine on the current physical machine is migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

[0516] In an optional embodiment, the business type code includes: an e-commerce business code;

[0517] When determining the destination physical machine, the virtual machine management module 261 is used to: determine a first physical machine corresponding to the e-commerce service code;

[0518] The hardware trusted module includes: TPM module.

[0519] In an optional embodiment, the business type code includes: a financial business code;

[0520] When determining the destination physical machine, the virtual machine management module 261 is used to: determine a second physical machine corresponding to the financial service code;

[0521] The hardware trusted module includes: TPCM module.

[0522] It is worth noting that the technical details of the above-mentioned embodiments of the virtual machine migration device can be referred to the aforementioned Fig.25 The relevant descriptions in the corresponding embodiments are not described in detail here to save space, but this should not cause loss of the protection scope of this application.

[0523] The above describes the internal functions and structure of the virtual machine migration device. Fig. 27 As shown, in practice, the virtual machine migration device may be deployed in a physical machine, and the physical machine may include: a memory 270 , a processor 271 , and a communication component 272 .

[0524] The processor 271 is coupled to the memory 270 and the communication component 272, and is used to execute the computer program in the memory 270 to:

[0525] Receiving a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine;

[0526] Determine the destination physical machine based on the service type code running on the target virtual machine;

[0527] The target virtual machine on the current physical machine is migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

[0528] In an optional embodiment, the business type code includes: an e-commerce business code;

[0529] When determining the destination physical machine, the processor 271 is used to: determine a first physical machine corresponding to the e-commerce service code;

[0530] The hardware trusted module includes: TPM module.

[0531] In an optional embodiment, the business type code includes: a financial business code;

[0532] When determining the destination physical machine, the processor 271 is used to: determine a second physical machine corresponding to the financial service code;

[0533] The hardware trusted module includes: TPCM module.

[0534] Further, if Fig. 27 As shown, the physical machine also includes: a display 273, a power component 274, an audio component 275 and other components. Fig. 27 Only some components are shown schematically, which does not mean that the physical machine only includes Fig. 27 Components shown.

[0535] It is worth noting that the technical details of the above embodiments of the physical machine can be referred to the aforementioned Fig.25 The relevant descriptions in the corresponding embodiments are not described in detail here to save space, but this should not cause loss of the protection scope of this application.

[0536] Accordingly, the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method executed by the aforementioned physical machine.

[0537] in, Figure 4 , 7The memory in , 11, 14, 18, 21, 24 and 27 is used to store computer programs and can be configured to store various other data to support operations on the physical machine. Examples of these data include instructions for any application or method operating on the physical machine, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0538] in, Figure 4 , 7 , 11, 14, 18, 21, 24 and 27, are configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies to facilitate short-range communication.

[0539] in, Figure 4 , 7 , 11, 14, 21, 24 and 27 include a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0540] in, Figure 4 , 7 The power supply components in 11, 14, 18, 21, 24 and 27 provide power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing and distributing power to the device where the power supply component is located.

[0541] in, Figure 4 , 7, 11, 14, 21, 24 and 27, can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0542] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. In addition, in some processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed or executed in parallel in the order in which they appear in this article, and the sequence number of the operation is only used to distinguish between different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0543] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0544] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0545] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0546] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0547] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0548] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0549] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0550] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0551] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A virtual machine migration method, It is characterized in that include: Migrating a target virtual machine on a source physical machine to a destination physical machine, wherein the source physical machine is configured with a virtual trusted module corresponding to the target virtual machine; According to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, calling the hardware trusted module on the source physical machine to decrypt the encrypted security parameters to obtain the security parameters, wherein the encrypted security parameters are configured in the virtual trusted module corresponding to the target virtual machine; The security parameters are sent to the destination physical machine, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

2. The method according to claim 1, It is characterized in that The sending the security parameter to the destination physical machine includes: Taking a snapshot of the security parameters; The snapshot is sent to the destination physical machine through a trusted network.

3. The method according to claim 1, It is characterized in that Also includes at least one of the following operations: Deleting the virtual trusted module corresponding to the target virtual machine; Deleting the target virtual machine from the trusted support list corresponding to the hardware trusted module; or The hardware trusted module is controlled to stop trusted support for the target virtual machine.

4. A virtual machine migration method, It is characterized in that include: Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine; Receiving security parameters corresponding to the target virtual machine transmitted by the source physical machine, and configuring a virtual storage space for the virtual trusted module on the destination physical machine, wherein the virtual storage space is mapped to a physical storage space on the destination physical machine; Storing the security parameters in the virtual storage space; Creating a coupling relationship between the virtual trusted module and a hardware trusted module on the destination physical machine; Based on the coupling relationship, the hardware trusted module on the destination physical machine is called to encrypt the security parameters stored in the virtual storage space, so as to provide trusted support for the target virtual machine using the hardware trusted module based on the security parameters.

5. A virtual machine migration device, It is characterized in that include: A virtual machine management module, used to migrate a target virtual machine on a source physical machine to a destination physical machine, wherein the source physical machine is configured with a virtual trusted module corresponding to the target virtual machine; a control module, configured to call the hardware trusted module on the source physical machine to decrypt the encrypted security parameters according to the coupling relationship between the virtual trusted module and the hardware trusted module on the source physical machine, so as to obtain the security parameters, wherein the encrypted security parameters are configured in the virtual trusted module corresponding to the target virtual machine; The communication component is used to send the security parameters to the destination physical machine, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

6. A virtual machine migration device, It is characterized in that include: A virtual machine management module, used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and configure a virtual trusted module for the target virtual machine on the destination physical machine; A communication component, configured to receive security parameters corresponding to the target virtual machine transmitted by the source physical machine, and configure a virtual storage space for the virtual trusted module on the destination physical machine, wherein the virtual storage space is mapped to a physical storage space on the destination physical machine; Storing the security parameters in the virtual storage space; A control module is used to establish a coupling relationship between the virtual trusted module and the hardware trusted module on the destination physical machine, and based on the coupling relationship, call the hardware trusted module on the destination physical machine to encrypt the security parameters stored in the virtual storage space, so as to use the hardware trusted module to provide trusted support for the target virtual machine based on the security parameters.

7. A physical machine, It is characterized in that Includes hardware trusted modules, memory, processors, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for: Migrating the target virtual machine on the physical machine to a destination physical machine, where the physical machine is configured with a virtual trusted module corresponding to the target virtual machine; According to the coupling relationship between the virtual trusted module and the hardware trusted module on the physical machine, calling the hardware trusted module on the physical machine to decrypt the encrypted security parameters to obtain the security parameters, wherein the encrypted security parameters are configured in the virtual trusted module corresponding to the target virtual machine; The security parameters are sent to the destination physical machine through the communication component, so that the destination physical machine can provide trusted support for the target virtual machine through a hardware trusted module thereon based on the security parameters.

8. A physical machine, It is characterized in that Includes hardware trusted modules, memory, processors, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for: Deploy the target virtual machine migrated from the source physical machine on the physical machine, and configure a virtual trusted module for the target virtual machine on the physical machine; Receiving security parameters corresponding to the target virtual machine transmitted by the source physical machine, and configuring a virtual storage space for the virtual trusted module on the physical machine, wherein the virtual storage space is mapped to a physical storage space on the physical machine; Storing the security parameters in the virtual storage space; A coupling relationship is created between the virtual trusted module and the hardware trusted module. Based on the coupling relationship, the hardware trusted module on the physical machine is called to encrypt the security parameters stored in the virtual storage space, so as to provide trusted support for the target virtual machine using the hardware trusted module based on the security parameters.

9. A virtual machine migration method, It is characterized in that include: Migrate the target virtual machine on the source physical machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine; If a remote access request transmitted by the destination physical machine is received, authenticating the remote access request based on the authentication parameters included in the remote access request; If the remote access request passes the authentication, a remote communication connection is established with the destination physical machine, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

10. The method according to claim 9, It is characterized in that The target virtual machine on the source physical machine is migrated to the destination physical machine; Sending the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine to the destination physical machine includes: Taking a snapshot of the target virtual machine, wherein the snapshot includes authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine; The snapshot is sent to the destination physical machine.

11. The method according to claim 9, It is characterized in that The remote access request also includes the identity information of the destination physical machine, and the method further includes: Performing identity authentication of the transmission party on the remote access request according to the identity information of the destination physical machine included in the remote access request; If it is determined that the remote access request passes the identity authentication of the transmitting party, the operation of establishing a remote communication connection with the destination physical machine is performed.

12. The method according to claim 9, It is characterized in that Also includes: When the target virtual machine is run on the source physical machine for the first time, sending a trusted authentication request for the target virtual machine to a remote authentication center; If a notification of authentication success is received from the remote authentication center, authentication parameters used by the hardware trusted module on the source physical machine are configured for the target virtual machine.

13. A virtual machine migration method, It is characterized in that include: Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine; Generate a remote access request according to the authentication parameter, and send the remote access request to the source physical machine; If the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine is remotely called to provide trusted support for the target virtual machine.

14. The method according to claim 13, It is characterized in that Also includes: The identity information of the destination physical machine is configured into the remote access request, and the identity information of the destination physical machine is used by the source physical machine to perform transmission party identity authentication on the remote access request.

15. A virtual machine migration device, It is characterized in that include: A virtual machine management module, used to migrate a target virtual machine on a source physical machine to a destination physical machine, and send authentication parameters used by the target virtual machine to access a hardware trusted module on the source physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the source physical machine; an authentication module, configured to authenticate the remote access request based on authentication parameters included in the remote access request if a remote access request transmitted by the destination physical machine is received; The communication module is used to establish a remote communication connection with the destination physical machine if the remote access request passes the authentication, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

16. A virtual machine migration device, It is characterized in that include: A virtual machine management module, used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine; An authentication module, configured to generate a remote access request according to the authentication parameters; A communication module, configured to send the remote access request to the source physical machine; The control module is used for remotely invoking a hardware trusted module on the source physical machine to provide trusted support for the target virtual machine if the remote access request passes the authentication of the source physical machine.

17. A physical machine, It is characterized in that Includes hardware trusted modules, memory, processors, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for: Migrating the target virtual machine on the physical machine to the destination physical machine, and sending the authentication parameters used by the target virtual machine to access the hardware trusted module on the physical machine to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the physical machine; If a remote access request transmitted by the destination physical machine is received, authenticating the remote access request based on the authentication parameters included in the remote access request; If the remote access request passes the authentication, a remote communication connection is established with the destination physical machine, so as to provide trusted support for the destination virtual machine through the hardware trusted module on the source physical machine.

18. A physical machine, It is characterized in that Includes hardware trusted modules, memory, processors, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for: Deploy the target virtual machine migrated from the source physical machine on the physical machine, and obtain the authentication parameters used by the target virtual machine to access the hardware trusted module on the source physical machine; Generate a remote access request according to the authentication parameter, and send the remote access request to the source physical machine; If the remote access request passes the authentication of the source physical machine, the hardware trusted module on the source physical machine is remotely called to provide trusted support for the target virtual machine.

19. A virtual machine migration method, It is characterized in that Applicable to cluster control equipment, the method comprises: If the trusted hardware in the trusted hardware cluster provides trusted support for each physical machine or virtual machine in the cloud service system and the cluster control device performs access control on the trusted hardware cluster, a remote access request transmitted from the destination physical machine where the target virtual machine is located after migration is received, and the remote access request includes authentication parameters used by the target virtual machine to access the trusted hardware cluster; authenticating the remote access request based on the authentication parameter included in the remote access request; If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

20. The method according to claim 19, It is characterized in that Also includes: If a target virtual machine migration notification sent by the source physical machine where the target virtual machine was located before migration is received, stop responding to a remote access request corresponding to the target virtual machine subsequently sent by the source physical machine.

21. The method according to claim 20, It is characterized in that The target virtual machine migration notification includes information about the destination physical machine, and the method further includes: Performing identity authentication of the transmission party on the remote access request according to the information of the destination physical machine included in the notification that the target virtual machine has been migrated; If it is determined that the remote access request passes the identity authentication of the transmission party, the operation of connecting the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware is performed.

22. The method according to claim 19, It is characterized in that Also includes: According to the service capability of each trusted hardware in the trusted hardware cluster, the virtual machines supported by each trusted hardware are configured to create an association relationship between the preset virtual machines and the trusted hardware.

23. The method according to claim 22, It is characterized in that A single piece of trusted hardware can support one or more virtual machines.

24. A virtual machine migration method, It is characterized in that include: Migrate the target virtual machine on the source physical machine to the destination physical machine; The authentication parameters used by the target virtual machine to access the trusted hardware cluster are sent to the destination physical machine, so that the target virtual machine can remotely access the trusted hardware cluster.

25. The method according to claim 24, It is characterized in that Also includes: A target virtual machine migration notification is sent to a cluster control device, so that the cluster control device stops responding to a remote access request corresponding to the target virtual machine that is subsequently sent by the source physical machine.

26. The method according to claim 24, It is characterized in that Also includes: The information of the destination physical machine is configured into the notification that the destination virtual machine has been migrated, and the information of the destination physical machine is used to perform transmission party identity authentication on subsequent remote access requests corresponding to the destination virtual machine.

27. The method according to claim 24, It is characterized in that Also includes: When the target virtual machine is run on the source physical machine for the first time, sending a trusted authentication request for the target virtual machine to a remote authentication center; If the authentication success notification returned by the remote authentication center is received, the authentication parameters used for accessing the trusted hardware cluster are configured for the target virtual machine.

28. A virtual machine migration method, It is characterized in that include: Deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster; generating a remote access request according to the authentication parameter, and sending the remote access request to the cluster control device; If the remote access request passes the authentication of the cluster control device, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

29. The method according to claim 28, It is characterized in that Also includes: The identity information of the destination physical machine is configured into the remote access request so that the cluster control device can perform transmission party identity authentication on the remote access request.

30. A virtual machine migration device, It is characterized in that Deployed in cluster control devices, including: A communication module, configured to receive a remote access request transmitted from a destination physical machine where a target virtual machine is located after migration, if trusted hardware in the trusted hardware cluster provides trusted support for each physical machine or virtual machine in the cloud service system and the cluster control device performs access control on the trusted hardware cluster, wherein the remote access request includes authentication parameters used by the target virtual machine to access the trusted hardware cluster; an authentication module, configured to authenticate the remote access request based on the authentication parameters included in the remote access request; The control module is used to connect the target virtual machine to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster if the remote access request passes the authentication, according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

31. A virtual machine migration device, It is characterized in that include: A virtual machine management module, used to migrate the target virtual machine on the source physical machine to the destination physical machine; The communication module is used to send the authentication parameters used by the target virtual machine to access the trusted hardware cluster to the destination physical machine, so that the target virtual machine can remotely access the trusted hardware cluster.

32. A virtual machine migration device, It is characterized in that include: A virtual machine management module, used to deploy the target virtual machine migrated from the source physical machine on the destination physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster; An authentication module, configured to generate a remote access request according to the authentication parameters, and send the remote access request to a cluster control device; The control module is configured to remotely call the trusted hardware cluster to provide trusted support for the target virtual machine if the remote access request passes the authentication of the cluster control device.

33. A virtual machine migration system, It is characterized in that include: Source physical machine, destination physical machine, trusted hardware cluster, cluster control device; The source physical machine is used to migrate the target virtual machine to the destination physical machine, and send the authentication parameters used by the target virtual machine to access the trusted hardware cluster to the destination physical machine; The target physical machine is used to deploy the target virtual machine and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster; generate a remote access request according to the authentication parameters, and send the remote access request to the cluster control device; If the remote access request passes the authentication of the cluster control device, remotely calling the trusted hardware cluster to provide trusted support for the target virtual machine; If the trusted hardware in the trusted hardware cluster provides trusted support for each physical machine or virtual machine in the cloud service system and the cluster control device performs access control on the trusted hardware cluster, the cluster control device is used to receive a remote access request transmitted by the destination physical machine; authenticating the remote access request based on the authentication parameter included in the remote access request; If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

34. A cluster control device, It is characterized in that Includes memory, processor, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: If the trusted hardware in the trusted hardware cluster provides trusted support for each physical machine or virtual machine in the cloud service system and the cluster control device performs access control on the trusted hardware cluster, a remote access request transmitted from the destination physical machine where the target virtual machine is located after migration is received through the communication component, and the remote access request includes authentication parameters used by the target virtual machine to access the trusted hardware cluster; authenticating the remote access request based on the authentication parameter included in the remote access request; If the remote access request passes the authentication, the target virtual machine is connected to the target trusted hardware associated with the target virtual machine in the trusted hardware cluster according to the preset association relationship between the virtual machine and the trusted hardware, so as to provide trusted support for the target virtual machine through the target trusted hardware.

35. A physical machine, It is characterized in that include: memory, processor, and communications components; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: Migrating the target virtual machine on the physical machine to the destination physical machine; The authentication parameters used by the target virtual machine to access the trusted hardware cluster are sent to the destination physical machine through the communication component, so that the target virtual machine can remotely access the trusted hardware cluster.

36. A physical machine, It is characterized in that include: memory, processor, and communications components; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: Deploy the target virtual machine migrated from the source physical machine on the physical machine, and obtain the authentication parameters used by the target virtual machine to access the trusted hardware cluster; generating a remote access request according to the authentication parameter, and sending the remote access request to the cluster management device through the communication component; If the remote access request passes the authentication of the cluster management device, the trusted hardware cluster is remotely called to provide trusted support for the target virtual machine.

37. A virtual machine migration method, It is characterized in that include: Receiving a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine; Determining a destination physical machine based on the service type code run by the target virtual machine; The target virtual machine on the current physical machine is migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

38. The method according to claim 37, Features: The business type code includes: e-commerce business code; The determining of the destination physical machine includes: determining a first physical machine corresponding to the e-commerce service code; The hardware trusted module includes: a TPM module.

39. The method according to claim 38, Features: The business type code includes: financial business code; The determining of the destination physical machine includes: determining a second physical machine corresponding to the financial service code; The hardware trusted module includes: a TPCM module.

40. A virtual machine migration device, It is characterized in that include: A communication module, configured to receive a migration request, wherein the migration request includes migrating a target virtual machine on a current physical machine; A virtual machine management module, configured to determine a destination physical machine based on a code of a service type run by the target virtual machine; The target virtual machine on the current physical machine is migrated to the destination physical machine, and the authentication parameters used by the target virtual machine to access the hardware trusted module on the current physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the current physical machine.

41. A physical machine, It is characterized in that Includes hardware trusted modules, memory, processors, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the hardware trusted module, the memory, and the communication component, and is configured to execute the one or more computer instructions for: receiving a migration request, wherein the migration request includes migrating a target virtual machine on the physical machine; Determining a destination physical machine based on the service type code run by the target virtual machine; The target virtual machine is migrated to a destination physical machine, and authentication parameters used by the target virtual machine to access a hardware trusted module on the physical machine are sent to the destination physical machine, so that the target virtual machine can remotely access the hardware trusted module on the physical machine.

42. A computer readable storage medium storing computer instructions, It is characterized in that When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the virtual machine migration method described in any one of claims 1-4, 9-14, 19-29 or 37-39.