IP Library Granted Patent US 10,897,431
Granted Patent B2
US 10,897,431 · App. 16/230,348 · Granted Jan 19, 2021

Cloud resource processing method and physical node

Inventor: Ni Zhang (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L47/829G06F9/45558G06F9/5077H04L41/00H04L47/822G06F2009/4557
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,897,431
App. No.
16/230,348
Granted
Jan 19, 2021
Kind
B2
Abstract

The present disclosure relate to a cloud resource processing method includes: determining a cloud resource; obtaining a dependent cloud resource of the cloud resource and a resource information group of the cloud resource, where the resource information group includes resource information of the dependent cloud resource; generating a resource topology template; and cloning or migrating the cloud resource based on the resource topology template. According to the cloud resource processing method and the physical node in the embodiments of the present disclosure, clone or migration processing of a plurality of cloud resources can be automatically completed, so as to improve replication efficiency.

Claims (60)

1. A cloud resource processing method, comprising:

determining a cloud resource, the cloud resource comprising a network resource;

obtaining a dependent cloud resource of the cloud resource and a resource information group of the cloud resource, wherein the dependent cloud resource of the network resource comprises a subnet resource of the network resource, and wherein the resource information group comprises resource information of the dependent cloud resource and information about the subnet resource;

generating a resource topology template, wherein the resource topology template comprises the resource information group of the cloud resource and a dependency relationship between the cloud resource and the dependent cloud resource;

cloning or migrating the cloud resource based on the resource topology template;

determining, based on the information about the subnet resource, at least one router associated with the subnet resource;

obtaining extranet information of each of the at least one router; and

based on the extranet information of each router, determining a target router from the at least one router and obtaining information about the target router, wherein an extranet associated with the target router and a floating IP address of a port of a virtual machine resource are in a same network, the dependent cloud resource of the network resource comprises the target router, and the resource information group of the network resource comprises the information about the target router.

2. The method according to claim 1 , wherein the resource information group comprises resource information of the cloud resource;

the cloud resource comprises a virtual machine resource;

a dependent cloud resource of the virtual machine resource comprises at least one of a hardware specifications resource, a volume resource, or a network resource; and

a resource information group of the virtual machine resource comprises at least one of attribute information of the virtual machine resource, information about the hardware specifications resource, information about the volume resource, or information about the network resource.

3. The method according to claim 1 , wherein the method further comprises:

determining, based on the information about the subnet resource, at least one router associated with the subnet resource, wherein the dependent cloud resource of the network resource comprises the at least one router; and

obtaining information about each of the at least one router, wherein the resource information group of the network resource comprises the information about each router.

4. The method according to claim 1 , wherein the resource information group comprises resource information of the cloud resource;

the cloud resource comprises a volume resource; and

a resource information group of the volume resource comprises a size of the volume resource.

5. The method according to claim 1 , wherein the cloud resource is located in a source cloud; and

the cloning or migrating the cloud resource based on the resource topology template comprises:

sending the resource topology template to a destination cloud, to clone or migrate clone or migrate, in the destination cloud, the cloud resource in the source cloud based on the resource topology template.

6. A physical node, comprising a memory and a processor, wherein the memory is configured to store an instruction, and the processor is configured to execute the instruction stored in the memory, so that the processor performs:

determining a cloud resource, the cloud resource comprising a network resource;

obtaining a dependent cloud resource of the cloud resource and a resource information group of the cloud resource, wherein the dependent cloud resource of the network resource comprises a subnet resource of the network resource, and wherein the resource information group comprises resource information of the dependent cloud resource and information about the subnet resource;

generating a resource topology template, wherein the resource topology template comprises the resource information group of the cloud resource and a dependency relationship between the cloud resource and the dependent cloud resource;

cloning or migrating the cloud resource based on the resource topology template;

determining, based on the information about the subnet resource, at least one router associated with the subnet resource;

obtaining extranet information of each of the at least one router; and

based on the extranet information of each router, determining a target router from the at least one router and obtaining information about the target router, wherein an extranet associated with the target router and a floating IP address of a port of a virtual machine resource are in a same network, the dependent cloud resource of the network resource comprises the target router, and the resource information group of the network resource comprises the information about the target router.

7. The physical node according to claim 6 , wherein the resource information group comprises resource information of the cloud resource;

the cloud resource comprises a virtual machine resource;

a dependent cloud resource of the virtual machine resource comprises at least one of a hardware specifications resource, a volume resource, or a network resource; and

a resource information group of the virtual machine resource comprises at least one of attribute information of the virtual machine resource, information about the hardware specifications resource, information about the volume resource, or information about the network resource.

8. The physical node according to claim 6 , wherein the processor further performs:

determining, based on the information about the subnet resource, at least one router associated with the subnet resource, wherein the dependent cloud resource of the network resource comprises the at least one router; and

obtaining information about each of the at least one router, wherein the resource information group of the network resource comprises the information about each router.

9. The physical node according to claim 6 , wherein the resource information group comprises resource information of the cloud resource;

the cloud resource comprises a volume resource; and

a resource information group of the volume resource comprises a size of the volume resource.

10. The physical node according to claim 6 , wherein the cloud resource is located in a source cloud; and

the cloning or migrating the cloud resource based on the resource topology template comprises:

sending the resource topology template to a destination cloud, to clone or migrate clone or migrate, in the destination cloud, the cloud resource in the source cloud based on the resource topology template.

11. A non-transitory computer readable storage medium having computer usable program code which, when executed by a computing device, causes the computing device to perform:

determining a cloud resource, the cloud resource comprising a network resource;

obtaining a dependent cloud resource of the cloud resource and a resource information group of the cloud resource, wherein the dependent cloud resource of the network resource comprises a subnet resource of the network resource, and wherein the resource information group comprises resource information of the dependent cloud resource and information about the subnet resource;

generating a resource topology template, wherein the resource topology template comprises the resource information group of the cloud resource and a dependency relationship between the cloud resource and the dependent cloud resource;

cloning or migrating the cloud resource based on the resource topology template;

determining, based on the information about the subnet resource, at least one router associated with the subnet resource;

obtaining extranet information of each of the at least one router; and

based on the extranet information of each router, determining a target router from the at least one router and obtaining information about the target router, wherein an extranet associated with the target router and a floating IP address of a port of a virtual machine resource are in a same network, the dependent cloud resource of the network resource comprises the target router, and the resource information group of the network resource comprises the information about the target router.

12. The non-transitory computer readable storage medium according to claim 11 , wherein the resource information group comprises resource information of the cloud resource;

the cloud resource comprises a virtual machine resource;

a dependent cloud resource of the virtual machine resource comprises at least one of a hardware specifications resource, a volume resource, or a network resource; and

a resource information group of the virtual machine resource comprises at least one of attribute information of the virtual machine resource, information about the hardware specifications resource, information about the volume resource, or information about the network resource.

13. The non-transitory computer readable storage medium according to claim 11 , wherein the method further comprises:

determining, based on the information about the subnet resource, at least one router associated with the subnet resource, wherein the dependent cloud resource of the network resource comprises the at least one router; and

obtaining information about each of the at least one router, wherein the resource information group of the network resource comprises the information about each router.

14. The non-transitory computer readable storage medium according to claim 11 , wherein the resource information group comprises resource information of the cloud resource;

the cloud resource comprises a volume resource; and

a resource information group of the volume resource comprises a size of the volume resource.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Reel/Frame 059267/0088 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 21, 2018
From: ZHANG, NI
To: HUAWEI TECHNOLOGIES CO., LTD
Reel/Frame 047845/0534 →
Priority Claims (1)
CN 2016 1 0519312 · Jul 1, 2016 · national
Continuity (2)
Continuation PCTCN2017090516 · Jun 28, 2017
Related Publication 20190124018A1 · Apr 25, 2019