Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for transmitting data based on Virtio port

A technology for transmitting data and ports, applied in the field of virtualization, which can solve problems such as occupying large memory resources, low transmission performance, and data transmission impact

Active Publication Date: 2020-10-30
XIAMEN WANGSU CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Each Virtio port needs to occupy a certain amount of memory resources. When many Virtio ports are created, a large amount of memory resources will be occupied, which will have a great impact on data transmission, resulting in low transmission performance.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for transmitting data based on Virtio port
  • Method and system for transmitting data based on Virtio port
  • Method and system for transmitting data based on Virtio port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0059] The embodiment of the present invention provides a method for transmitting data based on a Virtio port. The execution subject of the method may be a server supporting virtualization. By running a virtualization program, virtual devices such as Vrouter and Vswitch can be virtualized on the server to build a virtual network. The above-mentioned Vrouter and Vswitch can adopt the DPDK framework, wherein, one end of the Vswitch is connected to an external physical network card, and one end can transmit data content with multiple Vrouters through the Virtio port. The Vrouter can manage multiple virtual network cards, and each virtual network card has Network services can be provided externally. The above-mentioned data content may ha...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a system for transmitting data based on a Virtio port, and belongs to the technical field of virtualization. The method comprises the following steps: when a Vswitch receives a first data content sent by a physical network card, the Vswitch determines a first Vswitch logic port for sending the first data content, and adds a port identifier of the first Vswitchlogic port to the first data content; the Vswitch sends the first data content to a Vrouter through the first Vswitch logic port and a Virtio port shared between the Vswitch and the Vrouter, and the Vswitch sends the second data content to the Vrouter through the second Vswitch logic port and the Virtio port shared between the Vswitch and the Vrouter; the Vrouter receives the first data content through a first Vrouter logic port uniquely corresponding to the port identifier of the first Vswitch logic port, and sends the first data content to a first virtual network card corresponding to the first Vrouter logic port. According to the method disclosed in the invention, data transmission performance can be improved.

Description

technical field [0001] The invention relates to the technical field of virtualization, in particular to a method and system for transmitting data based on a Virtio port. Background technique [0002] The virtualized network includes components such as Vrouter (virtual router) and Vswitch (virtual switch). Virtio technology is a paravirtualized device abstract interface specification. Virtio ports are usually used to transmit data between Vrouter and Vswitch. Among them, the Virtio port on the Vswitch side can be called Virtio_host port, and the Virtio port on the Vrouter side The port may be referred to as a Virtio_user port. [0003] Vswitch can be connected to multiple Vrouters, and each Vrouter can create a Virtio_user port for the virtual network card of the tenant network it manages. If a tenant network is configured with multiple virtual network cards, the Vrouter needs to be created for each virtual network card of the tenant network. A Virtio_user port, correspondi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/741H04L12/935H04L12/937G06F9/455H04L45/74H04L45/586H04L49/111
CPCH04L49/30H04L49/253H04L45/74G06F9/45504H04L45/586H04L49/70H04L49/3009H04L2101/622
Inventor 程杜勇曹志文
Owner XIAMEN WANGSU CO LTD