Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message forwarding method and device

A forwarding method and message technology, applied in the field of communication, can solve problems such as limitations of message forwarding, and achieve the effect of expanding deployment and application scenarios

Active Publication Date: 2020-09-22
ZTE CORP
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The embodiment of the present invention provides a message forwarding method and device to at least solve the problem of limitations in the related art when a local virtual machine forwards a message

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
  • Message forwarding method and device
  • Message forwarding method and device
  • Message forwarding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] In this embodiment, a message forwarding method is provided, figure 1 is a flow chart of a message forwarding method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0035] In step S102, the SR-IOV network card forwards the received Ethernet message to a corresponding port at Layer 2.

[0036] Specifically, the value range of the VLAN is a positive integer between 1-4094 (including 1 and 4094).

[0037] Optionally, the SR-IOV network card performs two-layer forwarding of the received Ethernet message to the corresponding port, including: the SR-IOV network card is configured with a virtual local area network VLAN; after receiving the Ethernet message carrying the VLAN Afterwards, the SR-IOV network card determines the message type of the Ethernet message according to the configured VLAN TAG parameter in the virtual function VF; The message is forwarded to the corresponding port through Layer 2...

Embodiment 2

[0086] In this embodiment, a packet forwarding device is also provided, which is used to implement the above embodiments and preferred implementation modes, and those that have been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0087] Image 6 is a structural block diagram of a message forwarding device according to an embodiment of the present invention, such as Image 6 As shown, the device includes:

[0088] The forwarding module 62 is configured to perform Layer 2 forwarding of the received Ethernet message to a corresponding port.

[0089] It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can...

Embodiment 3

[0091] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

[0092] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

[0093] S1, the SR-IOV network card forwards the received Ethernet packets to the corresponding port at Layer 2.

[0094] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.

[0095] An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is...

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 provides a message forwarding method. Specifically, the method comprises the following steps that an SR-IOV network card performs two-layer forwarding on a received Ethernet message to acorresponding port. By adoption of the message forwarding method and device provided by the invention, the problem of limitation of message forwarding between local virtual machines in related technologies is solved, thereby effectively expanding the deployment and application scenarios of the SR-IOV network card.

Description

technical field [0001] The present invention relates to the communication field, in particular to a message forwarding method and device. Background technique [0002] With the continuous development and wide application of virtualization technology, changes in I / O performance of virtualization technology have become more and more prominent. SR-IOV (Single Root I / O Virtualization) is increasingly appearing in network function virtualization solutions. SR-IOV technology is a hardware-based virtualization solution that can significantly improve performance and scalability. The SR-IOV standard allows efficient sharing of PCIe (Peripheral Component InterconnectExpress, fast peripheral component interconnection) devices between virtual machines, and it is implemented in hardware to obtain I / O performance comparable to that of using physical network cards . [0003] SR-IOV technology is used to implement I / O device sharing in a virtualized environment. It inherits Intel VT-d te...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/46
CPCH04L12/4641H04L12/4675H04L12/46
Inventor 刘小飞席媛媛
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products