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

A message transmission method and device

A technology of message transmission and message encapsulation, which is applied in the Internet field, can solve the problem of high server consumption and achieve the effect of improving response rate and reducing performance consumption

Active Publication Date: 2022-03-22
杭州迪普信息技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, VXLAN packets are used for data transmission between the virtual machine and the server in the virtual memory system, and virtual tunnel terminals (VXLAN Tunnel End Point, VTEP) are respectively configured on the virtual machine and the server to realize the encapsulation of the VXLAN packets And decapsulation, which causes the server to perform the process of encapsulation and decapsulation of VXLAN packets in addition to processing the packet data after VXLAN packet decapsulation, which consumes a lot of server 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
  • A message transmission method and device
  • A message transmission method and device
  • A message transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] see figure 1 As shown, it is a schematic diagram of an interaction flow of a message transmission method provided in the embodiment of the present application, including the following steps:

[0075] Step 101, the virtual machine sends the scalable virtual local area network VXLAN message to the return switch.

[0076] Step 102, the return flow switch receives the scalable virtual local area network VXLAN message sent by the virtual machine, analyzes the scalable virtual local area network VXLAN message, and obtains the message encapsulation information contained in the scalable virtual local area network VXLAN message and the original message .

[0077] Step 103: Based on the packet encapsulation information, the return switch determines the transmission port between the virtual machine and the server corresponding to the packet encapsulation information, and determines the identifier information corresponding to the packet encapsulation information.

[0078] Step 10...

Embodiment 2

[0151] Based on the same concept, the embodiment of the present application also provides a message transmission device, which is deployed on the return switch, see Figure 4 As shown, it is a schematic diagram of the structure of a message transmission device provided by the embodiment of the present application, including a first receiving module 401, a first parsing module 402, a first encapsulation module 403, and a first sending module 404, specifically:

[0152] The first receiving module 401 is configured to receive the virtual local area network VLAN message sent by the server, and transmit it to the first parsing module 402 and the first encapsulation module 403;

[0153] The first parsing module 402 is configured to parse the header of the virtual local area network VLAN message transmitted by the first receiving module 401, obtain identifier information, and determine packet encapsulation information based on the identifier information, and send the packet The docum...

Embodiment 3

[0178] Based on the same technical idea, an embodiment of the present application also provides an electronic device. refer to Figure 6As shown, it is a schematic structural diagram of an electronic device 600 provided in the embodiment of the present application, including a processor 601 , a memory 602 , and a bus 603 . Among them, the memory 602 is used to store execution instructions, including a memory 6021 and an external memory 6022; the memory 6021 here is also called an internal memory, and is used to temporarily store calculation data in the processor 601 and exchange data with an external memory 6022 such as a hard disk. The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the electronic device 600 is running, the processor 601 communicates with the memory 602 through the bus 603, so that the processor 601 executes the following instructions:

[0179] Receive the virtual local area network VLAN message sent by the server;

...

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 present application provides a message transmission method and device, including: receiving a virtual local area network VLAN message sent by a server; parsing the header of the virtual local area network VLAN message, obtaining identification number information, and determining based on the identification number information Message encapsulation information; based on the message encapsulation information, the virtual local area network VLAN message is encapsulated to obtain an extensible virtual local area network VXLAN message; the extensible virtual local area network VXLAN message is sent to the message encapsulation The virtual machine corresponding to the information. Through this method, the energy consumption of the server can be reduced, and the response rate of the server can be improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a message transmission method and device. Background technique [0002] Virtual Extensible LAN (Virtual Extensible LAN, VXLAN) is an overlay network technology. By encapsulating Layer 2 packets with Layer 3 protocols, the Layer 2 network can be extended within the Layer 3 range to solve the problem of the virtual memory system. Portability limitations. [0003] In the prior art, VXLAN packets are used for data transmission between the virtual machine and the server in the virtual memory system, and virtual tunnel terminals (VXLAN Tunnel End Point, VTEP) are respectively configured on the virtual machine and the server to realize the encapsulation of VXLAN packets And decapsulation, this causes the server to perform the process of encapsulation and decapsulation of the VXLAN message in addition to processing the decapsulated message data of the VXLAN message, which...

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 Patents(China)
IPC IPC(8): H04L12/46H04L49/354
CPCH04L12/4633H04L12/4641H04L49/354H04L2212/00
Inventor 黄正亮
Owner 杭州迪普信息技术有限公司