IP Library › Granted Patent US 12,443,431
Granted Patent B2
US 12,443,431 · App. 18/625,580 · Granted Oct 14, 2025

Method and apparatus for creating virtual machines based on an authentication request from a user

Inventors: Tiesheng Liu (Shenzhen, CN); Yanjie Guan (Gui'an, CN)
Assignee: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
G06F9/45558G06F9/5027G06F9/5077G06F2009/45562G06F2009/45595G06F2209/5011
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 12,443,431
App. No.
18/625,580
Granted
Oct 14, 2025
Kind
B2
Abstract

A method for creating a virtual machine includes receiving a virtual machine creation request comprising parameter information of a virtual network interface card occupied by a to-be-created virtual machine; obtaining current resource usage information of the network interface card resource pools of at least one computing node, wherein the at least one computing node is deployed on a cloud platform, each computing node comprises a network interface card resource pool comprising physical network interface cards; determining a target computing node, in the at least one computing node based on the parameter information and the current resource usage information; and invoking the target computing node to create the virtual machine.

Claims (30)

1. A method for configuring a virtual machine and comprising:

receiving a virtual machine configuration request comprising a quantity of virtual network interface cards of a virtual machine to be created and location information of the virtual network interface cards, wherein the location information specifies target physical network interface cards among physical network interface cards to create target virtual network interface cards, wherein the target physical network interface cards comprise a first physical network interface card and a second physical network interface card, wherein the target virtual network interface cards comprise a first virtual network interface card, a second virtual network interface card, and a third virtual network interface card, wherein the first virtual network interface card is based on the first physical network interface card that supports single-root input/output virtualization (SR-IOV) technology, wherein the second virtual network interface card and the third virtual network interface card are based on the second physical network interface card that supports the SR-IOV technology;

obtaining image information for creating the virtual machine;

creating the virtual machine based on the virtual machine configuration request and the image information, wherein the first virtual network interface card, the second virtual network interface card, and the third virtual network interface card are occupied by the virtual machine, wherein the first virtual network interface card, the second virtual network interface card, and the third virtual network interface card are used by an upper-layer service that runs on the virtual machine; and

returning a virtual machine creation result to the user.

2. The method of claim 1 , wherein the virtual machine configuration request further comprises central processing unit (CPU) resource information and memory resource information.

3. The method of claim 1 , wherein the virtual machine configuration request is received via command line interface or graphical user interface.

4. The method of claim 1 , wherein the virtual machine configuration request further comprises parameter information of a virtual network interface card occupied by a to-be-created virtual machine, and wherein the parameter information comprises a bandwidth of the virtual network interface card.

5. The method of claim 4 , wherein the parameter information includes affinity information of the virtual network interface card occupied by the virtual machine.

6. The method of claim 5 , wherein affinity information is used to indicate whether different virtual network interface cards occupied by a same virtual machine come from a same physical network interface card.

7. The method of claim 5 , wherein affinity information is used to indicate whether different virtual network interface cards occupied by a same virtual machine come from a different physical network interface card.

8. The method of claim 1 , further comprising sending valid authentication information to the user before receiving the virtual machine configuration request.

9. The method of claim 1 , further comprising calculating resource usage information of the one or more of the first, second, and third virtual network interface cards.

10. The method of claim 1 , further comprising updating the resource usage information into a cloud platform database.

11. An apparatus for creating a virtual machine comprising:

one or more memories configured to store instructions; and

one or more processors coupled to the one or more memories and configured to execute the instructions to cause the apparatus to:

receive a virtual machine configuration request comprising a quantity of virtual network interface cards of a virtual machine to be created and location information of the virtual network interface cards, wherein the location information specifies target physical network interface cards among the physical network interface cards to create target virtual network interface cards, wherein the target physical network interface cards comprises a first physical network interface card and a second physical network interface card, wherein the target virtual network interface cards comprise a first virtual network interface card, a second virtual network interface card, and a third virtual network interface card, wherein the first virtual network interface card is based on the first physical network interface card that supports single-root input/output virtualization (SR-IOV) technology, wherein the second virtual network interface card and the third virtual network interface card are based on the second physical network interface card that supports the SR-IOV technology;

obtain image information for creating the virtual machine;

create the virtual machine based on the virtual machine configuration request and the image information, wherein the first virtual network interface card, the second virtual network interface card, and the third virtual network interface card are occupied by the virtual machine, wherein the first virtual network interface card, the second virtual network interface card, and the third virtual network interface card are used by an upper-layer service that runs on the virtual machine; and

return a virtual machine creation result to the user.

12. The apparatus of claim 11 , wherein the virtual machine configuration request further comprises central processing unit (CPU) resource information and memory resource information.

13. The apparatus of claim 11 , wherein the virtual machine configuration request is received via command line interface or graphical user interface.

14. The apparatus of claim 11 , wherein the virtual machine configuration request further comprises parameter information of a virtual network interface card occupied by a to-be-created virtual machine, and wherein the parameter information comprises a bandwidth of the virtual network interface card.

15. The apparatus of claim 11 , wherein the one or more processors are further configured to execute the instructions to cause the apparatus to send valid authentication information to the user before receiving the virtual machine configuration request.

16. The apparatus of claim 11 , wherein the parameter information includes affinity information of the virtual network interface card occupied by the virtual machine.

17. The apparatus of claim 16 , wherein affinity information is used to indicate whether different virtual network interface cards occupied by a same virtual machine come from a same physical network interface card.

18. The apparatus of claim 16 , wherein affinity information is used to indicate whether different virtual network interface cards occupied by a same virtual machine come from a different physical network interface card.

19. The apparatus of claim 11 , wherein the one or more processors are further configured to execute the instructions to cause the apparatus to calculate resource usage information of the one or more of the first, second, and third virtual network interface cards.

20. The apparatus of claim 11 , wherein the one or more processors are further configured to execute the instructions to cause the apparatus to update the resource usage information into a cloud platform database.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 18, 2024
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Reel/Frame 067152/0752 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2024
From: LIU, TIESHENG; GUAN, YANJIE
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 067034/0466 →
Priority Claims (1)
CN 201810241274.8 · Mar 22, 2018 · national
Continuity (3)
Continuation 17026767 · Sep 21, 2020
Continuation PCTCN2019078813 · Mar 20, 2019
Related Publication 20240272930A1 · Aug 15, 2024
References Cited (18)
US 8473947B2 · Goggin et al. · 2013 [cited by applicant]
US 9489224B2 · Motoki · 2016 [cited by examiner]
US 11140020B1 · Baniani · 2021 [cited by examiner]
US 20150207678A1 · Li et al. · 2015 [cited by applicant]
US 20150277951A1 · Sundararaman et al. · 2015 [cited by applicant]
US 20150326449A1 · Melander et al. · 2015 [cited by applicant]
US 20160269318A1 · Su et al. · 2016 [cited by applicant]
US 20160306647A1 · Xia · 2016 [cited by applicant]
US 20180121223A1 · Cui et al. · 2018 [cited by applicant]
CN 103778443A · 2014 [cited by applicant]
CN 103810015A · 2014 [cited by applicant]
CN 104168135A · 2014 [cited by applicant]
CN 105224392A · 2016 [cited by applicant]
CN 105656969A · 2016 [cited by applicant]
CN 105718297A · 2016 [cited by applicant]
CN 107346264A · 2017 [cited by applicant]
CN 108614726A · 2018 [cited by applicant]
WO 2017152633A1 · 2017 [cited by applicant]