Data Packet Processing Method, Host, and System
Abstract
A data packet processing method includes: a cloud management platform sending virtual private cloud (VPC) network information of a computing instance running on a host to a network processing device; a virtual switch receiving a data packet from the computing instance using a virtual port of the computing instance, where the data packet carries a network address of the computing instance and a virtual local area network (VLAN) identifier of the virtual port sending the data packet; the virtual switch sending the data packet according to the VLAN identifier and routing the data packet to the network processing device; the network processing device determining the VPC network information according to the network address; and the network processing device performing network function processing on the data packet. Therefore, a VPC network feature of a computing instance can be adjusted according to a requirement.
Claims
exact text as granted — not AI-modified1 . A cloud computing system, comprising:
a host; a plurality of computing instances configured to run on the host; a cloud management platform configured to send virtual private cloud (VPC) network information of the plurality of computing instances; and a network processing device configured to:
receive the VPC network information from the cloud management platform;
receive a data packet from a computing instance of the plurality of computing instances;
perform network function processing on the data packet based on first VPC network information of the computing instance to obtain a first processed data packet; and
send the first processed data packet.
2 . The cloud computing system of claim 1 , further comprising a peripheral component interconnect (PCI)/PCI Express (PCIe) bus configured to connect the network processing device to the host.
3 . The cloud computing system of claim 2 , wherein the network processing device is further configured to create, according to the VPC network information, a virtual network element that provides a network processing function for the computing instance.
4 . The cloud computing system of claim 1 , wherein the cloud management platform is configured to send the VPC network information based on a correspondence between a management network Internet Protocol (IP) address of the host and a management network IP address of the network processing device.
5 . The cloud computing system of claim 1 , wherein virtual local area network (VLAN) identifiers are configured for virtual ports of the plurality of computing instances, and wherein the VLAN identifiers of the virtual ports are different from each other.
6 . The cloud computing system of claim 5 , wherein the host further comprises a virtual switch configured to:
receive the data packet from the computing instance; and send the data packet to the network processing device based on a VLAN identifier carried in the data packet.
7 . The cloud computing system of claim 1 , wherein the network processing device is further configured to receive online information from the cloud management platform, and wherein the online information comprises a service network Internet Protocol (IP) address of another network processing device and a network address of another computing instance running on another host coupled to the other network processing device.
8 . The cloud computing system of claim 1 , further comprising:
a destination host of the data packet configured to run a destination computing instance of the data packet; and a destination network processing device of the destination host configured to:
receive the data packet;
perform network function processing on the data packet according to second VPC network information of the destination computing instance to obtain a second processed data packet; and
send the second processed data packet to the destination computing instance.
9 . The cloud computing system of claim 1 , wherein the cloud management platform is further configured to send an instance creation request to the host, and wherein the instance creation request carries resource configuration information and a network address of the computing instance.
10 . The cloud computing system of claim 9 , wherein the host is further configured to:
create the computing instance and a virtual port of the computing instance according to the resource configuration information and the network address of the computing instance; and return, to the cloud management platform, an indication message indicating that the computing instance is successfully created, wherein the indication message carries a management network Internet Protocol (IP) address of the host and the network address of the computing instance.
11 . A data packet processing method applied to a cloud computing system comprising a cloud management platform and a host, wherein the data packet processing method comprises:
receiving, by a network processing device connected to the host, virtual private cloud (VPC) network information of computing instances running on the host from the cloud management platform; receiving, by the network processing device, a data packet from a computing instance running on the host; performing, by the network processing device, network function processing on the data packet based on first VPC network information of the computing instance to obtain a first processed data packet; and sending, by the network processing device, the first processed data packet.
12 . The data packet processing method of claim 11 , wherein the network processing device is connected to the host using a peripheral component interconnect (PCI) bus.
13 . The data packet processing method of claim 11 , wherein virtual local area network (VLAN) identifiers are configured for virtual ports of the computing instances, and wherein the VLAN identifiers of the virtual ports are different from each other.
14 . The data packet processing method of claim 13 , further comprising:
receiving, by a virtual switch of the host, the data packet from the computing instance; and sending, by the virtual switch, the data packet to the network processing device based on a VLAN identifier carried in the data packet.
15 . The data packet processing method of claim 11 , further comprising receiving, by the network processing device, online information from the cloud management platform, wherein the online information comprises a service network Internet Protocol (IP) address of another network processing device and a network address of another computing instance running on another host coupled to the other network processing device.
16 . The method of claim 11 , further comprising:
receiving, by the host, an instance creation request from the cloud management platform, wherein the instance creation request carries resource configuration information and a network address of the computing instance; creating, by the host, the computing instance and a virtual port of the computing instance according to the resource configuration information and the network address of the computing instance; and returning, by the host to the cloud management platform, an indication message indicating that the computing instance is successfully created.
17 . The data packet processing method of claim 16 , wherein the indication message carries a management network Internet Protocol (IP) address of the host and the network address of the computing instance, and wherein a virtual local area network (VLAN) identifier of the virtual port of the computing instance is different from VLAN identifiers of any existing virtual ports on the host.
18 . The data packet processing method of claim 11 , further comprising creating, by the network processing device according to the VPC network information, a virtual network element that provides a network processing function for the computing instance.
19 . A host, comprising:
a plurality of computing instances; a first processor; a first memory coupled to the first processor; and a network processing device coupled to the first processor and the first memory, wherein the network processing device comprises a second processor and a second memory coupled to the second processor, wherein the second memory is configured to store instructions, and wherein the second processor is configured to execute the instructions to cause the second processor to:
receive virtual private cloud (VPC) network information of the plurality of computing instances from a cloud management platform;
receive a data packet from a computing instance running on the host;
perform network function processing on the data packet based on first VPC network information of the computing instance; and
send the data packet.
20 . The host of claim 19 , wherein the first processor is configured to:
execute a first instruction in the first memory to implement a function of the computing instance running on the host; and execute a second instruction in the first memory to implement a function of a virtual switch running on the host.Join the waitlist — get patent alerts
Track US2022123960A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.