Method and apparatus for forwarding data of virtual switching device, and computer device
A technology of device data and virtual switching, which is applied in the field of virtual network and can solve the problems of reduced forwarding performance of virtual switching devices
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 It is a flow chart of a virtual switching device data forwarding method provided in Embodiment 1 of the present invention, and the method includes the following steps:
[0038] Step S11: Using the vhost interface to receive the first network data transmitted by the virtual terminal, and transmit the first network data to the network bridge.
[0039] In the embodiment of the present invention, the virtual switching device, that is, a virtual network switching device based on ovs (ovs, open vswitch, open virtual switching standard), utilizes a virtual platform to form a switch component through software. Wherein, the virtual switching device can be set in a server, and a server can have dozens or even hundreds of virtual switching devices, and the number of ports of the virtual switching device can be flexibly set by the device manager, for example, can use The server performs software simulation to generate 200 virtual switching devices, and the ports of each v...
Embodiment 2
[0048] figure 2 It is a flow chart of a virtual switching device data forwarding method provided in Embodiment 2 of the present invention, and the method includes the following steps:
[0049] Step S21: Using the vhost interface to receive the first network data transmitted by the virtual terminal, and transmit the first network data to the network bridge.
[0050] This step is consistent with the above step S11, and will not be repeated here.
[0051] Step S22: Encapsulate the first network data with a preset protocol in the network bridge according to the pre-established encapsulation flow table, generate a forwarding data packet, and transmit it to the dpdk port.
[0052] This step is consistent with the above step S12, and will not be repeated here.
[0053] Step S23: Send the forwarded data packet to the destination terminal through the network card on the dpdk port.
[0054] This step is consistent with the above step S13, and will not be repeated here.
[0055] Ste...
Embodiment 3
[0063] image 3 It is a schematic structural diagram of a virtual switching device data forwarding device provided in Embodiment 3 of the present invention.
[0064] The virtual switching device data forwarding device 300 includes:
[0065] The network data receiving module 310 is configured to receive the first network data transmitted by the virtual terminal through the vhost interface, and transmit the first network data to the network bridge.
[0066] The network data encapsulation module 320 is configured to encapsulate the first network data with a preset protocol according to the pre-established encapsulation flow table in the network bridge, generate a forwarding data packet, and transmit it to the dpdk port.
[0067] The data packet forwarding module 330 is configured to send the forwarded data packet to the destination terminal through the network card on the dpdk port.
[0068] In the embodiment of the present invention, the pre-established encapsulation flow tabl...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com