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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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;
...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


