Virtual container storage interface controller
US-12175078-B2 · Dec 24, 2024 · US
US2016239337A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2016239337-A1 |
| Application number | US-201615139724-A |
| Country | US |
| Kind code | A1 |
| Filing date | Apr 27, 2016 |
| Priority date | Oct 29, 2013 |
| Publication date | Aug 18, 2016 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A method and computing device for selecting a protocol stack for performing protocol processing on data is presented. The computing device is configured with a hypervisor for managing a first virtual machine. According to the method, when a socket creation instruction sent by the first virtual machine is received, a protocol stack instance is selected from the protocol stack instances provided by the computing device. Then, a socket is created in the selected protocol stack instance according to the socket creation instruction; and a creation result is transmitted to the first virtual machine. Therefore, in a virtualized environment, multiple virtual machines disposed in a same computing device can share a network protocol processing capability, and protocol stacks of the virtual machines achieve load balance.
Opening claim text (preview).
What is claimed is: 1 . A method, performed by a computing device hosting a first virtual machine, the computing device configured with a hypervisor for managing the first virtual machine, the method comprising: receiving a socket creation instruction sent by the first virtual machine; selecting a protocol stack instance from a plurality of protocol stack instances provided by the computing device; creating a socket in the selected protocol stack instance according to the socket creation instruction; sending a correspondence between the created socket and an identifier of the protocol stack instance to the first virtual machine; and performing, according to the correspondence, data processing based on the created socket in the selected protocol stack instance for the first virtual machine. 2 . The method according to claim 1 , wherein the computing device further hosts a second virtual machine, and wherein the selected protocol stack instance is provided a protocol processing function for data of the second virtual machine. 3 . The method according to claim 1 , wherein selecting the protocol stack instance from the plurality of protocol stack instances provided by the computing device comprises selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to a load balance principle. 4 . The method according to claim 1 , wherein selecting the protocol stack instance from the plurality of protocol stack instances provided by the computing device comprises: determining an application process corresponding to the socket to be created according to the socket creation instruction; determining a service feature of the application process according to historical information about socket creation of the application process; and selecting a protocol stack instance from the plurality of protocol stack instance provided by the computing device according to the service feature of the application process. 5 . The method according to claim 1 , wherein selecting the protocol stack instance from the plurality of protocol stack instances provided by the computing device comprises selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to a prestored correspondence between a virtual machine identifier and a protocol stack instance identifier. 6 . The method according to claim 1 , wherein selecting the protocol stack instance from the plurality of protocol stack instances provided by the computing device comprises selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to attribute information of the socket to be created according to the socket creation instruction. 7 . The method according to claim 1 , wherein after sending the correspondence between the created socket and the identifier of the protocol stack instance to the first virtual machine, the method further comprises: receiving a control instruction, transmitted by the first virtual machine, for performing a control operation on the socket; determining, according to the correspondence between the socket and the identifier of the protocol stack instance, the protocol stack instance corresponding to the socket in the control instruction; performing the control operation on the socket in the protocol stack instance according to the control instruction; and transmitting an operation result of the control operation performed on the socket to the first virtual machine. 8 . The method according to claim 2 , further comprising: receiving a first data transmission instruction for transmitting data to the second virtual machine based on the socket; and transmitting, using the protocol stack instance, the data to be transmitted to the second virtual machine based on the socket to a protocol stack offload apparatus in the second virtual machine, wherein the protocol stack offload apparatus in the second virtual machine is configured to perform data transmission between the protocol stack instance and the second virtual machine and further configured to transmit the data to an application process in the second virtual machine. 9 . A computing device for hosting a first virtual machine and a second virtual machine, the computing device comprising: a non-transitory computer readable storage medium having stored thereon computer-executable instructions for the first virtual machine and a hypervisor for managing the first virtual machine; a processor configured to execute the instructions to perform steps including: sending, from the first virtual machine, a socket creation instruction to the hypervisor; receiving the socket creation instruction sent by the first virtual machine; selecting a protocol stack instance from a plurality of protocol stack instances provided by the computing device; creating a socket in the selected protocol stack instance according to the socket creation instruction; sending a correspondence between the created socket and an identifier of the protocol stack instance to the first virtual machine; and performing, according to the correspondence, data processing based on the created socket in the selected protocol stack instance for the first virtual machine. 10 . The computing device according to claim 9 , wherein the computing device further hosts a second virtual machine, and wherein the selected protocol stack instance is provided a protocol processing function for data of the second virtual machine. 11 . The computing device according to the claim 9 , wherein selecting the protocol stack instance comprises selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to a load balance principle. 12 . The computing device according to the claim 9 , wherein selecting the protocol stack instance comprises determining an application process corresponding to the socket to be created according to the socket creation instruction; determining a service feature of the application process according to historical information about socket creation of the application process; and selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to the service feature of the application process. 13 . The computing device according to the claim 9 , wherein selecting the protocol stack instance comprises selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to a prestored correspondence between a virtual machine identifier and a protocol stack instance identifier. 14 . The computing device according to the claim 9 , wherein selecting the protocol stack instance comprises selecting a protocol stack instance from the plurality of protocol stack instances provided by the computing device according to attribute information of the socket to be created according to the socket creation instruction. 15 . The computing device according to the claim 9 , wherein the processor is further configured to execute the instructions to perform steps including determining that a virtual device used for data transmission is not a virtual network interface card (virtual NIC) of the first virtual machine. 16 . The computing device according to the claim 15 , wherein determining that the virtual device used for data transmission is not a virtual NIC of the first virtual machine comprises: determining an application process corresp
Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers · CPC title
Protocol engines · CPC title
Hypervisor-specific management and integration aspects · CPC title
Buffers; Shared memory; Pipes · CPC title
Creating, deleting, cloning virtual machine instances · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.