CN110581792B - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN110581792B
CN110581792B CN201910894507.9A CN201910894507A CN110581792B CN 110581792 B CN110581792 B CN 110581792B CN 201910894507 A CN201910894507 A CN 201910894507A CN 110581792 B CN110581792 B CN 110581792B
Authority
CN
China
Prior art keywords
message
information
vlan
module
local area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910894507.9A
Other languages
Chinese (zh)
Other versions
CN110581792A (en
Inventor
黄正亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPtech Information Technology Co Ltd
Original Assignee
Hangzhou DPtech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPtech Information Technology Co Ltd filed Critical Hangzhou DPtech Information Technology Co Ltd
Priority to CN201910894507.9A priority Critical patent/CN110581792B/en
Publication of CN110581792A publication Critical patent/CN110581792A/en
Application granted granted Critical
Publication of CN110581792B publication Critical patent/CN110581792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The application provides a message transmission method and a device, comprising the following steps: receiving a Virtual Local Area Network (VLAN) message sent by a server; analyzing the head of the VLAN message to obtain identification symbol information, and determining message encapsulation information based on the identification symbol information; based on the message encapsulation information, encapsulating the VLAN message to obtain an extensible virtual local area network VXLAN message; and sending the extensible virtual local area network VXLAN message to a virtual machine corresponding to the message encapsulation information. By the method, the energy consumption of the server can be reduced, and the response rate of the server can be improved.

Description

Message transmission method and device
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for transmitting a packet.
Background
A Virtual Extensible local area network (VXLAN), which is an overlay network technology, and implements extension of a two-layer network within a three-layer range by encapsulating a two-layer message using a three-layer protocol, so as to solve the portability limitation of a Virtual memory system.
In the prior art, data transmission is performed between a virtual machine and a server in a virtual memory system through a VXLAN message, and a virtual channel End (VTEP) is configured for the virtual machine and the server, respectively, to implement encapsulation and decapsulation of the VXLAN message, which results in that the server needs to perform processes of encapsulation and decapsulation of the VXLAN message in addition to processing message data after decapsulation of the VXLAN message, and thus consumption of server performance is large.
Disclosure of Invention
In view of the above, an object of the present application is to provide a message transmission method and apparatus, so as to reduce consumption of server performance.
In a first aspect, an embodiment of the present application provides a packet transmission method, which is applied to a reflux switch, and includes:
receiving a Virtual Local Area Network (VLAN) message sent by a server;
analyzing the head of the VLAN message to obtain identification symbol information, and determining message encapsulation information based on the identification symbol information;
based on the message encapsulation information, encapsulating the VLAN message to obtain an extensible virtual local area network VXLAN message;
and sending the extensible virtual local area network VXLAN message to a virtual machine corresponding to the message encapsulation information.
In one possible design, the message encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In one possible design, the determining the message encapsulation information based on the identifier information includes:
according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
In a possible design, the sending the VXLAN message to the virtual machine corresponding to the message encapsulation information includes:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
In a possible design, the encapsulating the VLAN packet based on the packet encapsulation information to obtain an extensible VLAN packet includes:
and deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message.
In a second aspect, an embodiment of the present application further provides another packet transmission method, applied to a reflux switch, including:
receiving an extensible virtual local area network VXLAN message sent by a virtual machine;
analyzing the extensible virtual local area network VXLAN message to obtain message encapsulation information contained in the extensible virtual local area network VXLAN message and an original message;
determining a transmission port between the virtual machine and a server corresponding to the message encapsulation information and determining identifier information corresponding to the message encapsulation information based on the message encapsulation information;
packaging the original message based on the identifier information to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message;
and transmitting the VLAN message to the server through the transmission port.
In one possible design, the message encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In one possible design, the determining a transmission port between the virtual machine and the server based on the packet encapsulation information includes:
and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
In a possible design, the encapsulating the original packet based on the identifier information to obtain a VLAN packet corresponding to the original packet includes:
and when the original message is detected not to contain the VLAN message header, the VLAN header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain the VLAN message corresponding to the original message.
In a third aspect, an embodiment of the present application provides a packet transmission apparatus, which is deployed in a reflux switch, and includes:
the first receiving module is used for receiving the VLAN message sent by the server and transmitting the VLAN message to the first analyzing module;
the first analysis module is used for analyzing the head of the VLAN message transmitted by the first receiving module, acquiring identifier information, determining message packaging information based on the identifier information and transmitting the message packaging information to the first packaging module;
the first encapsulation module is used for encapsulating the virtual local area network VLAN message transmitted by the first receiving module based on the message encapsulation information transmitted by the first analysis module to obtain an extensible virtual local area network VXLAN message and transmitting the extensible virtual local area network VXLAN message to the first sending module;
and the first sending module is used for sending the extensible virtual local area network VXLAN message transmitted by the first packaging module to the virtual machine corresponding to the message packaging information.
In one possible design, the message encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In one possible design, when determining the packet encapsulation information based on the identifier information, the first parsing module is specifically configured to:
according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
In a possible design, when sending the scalable virtual local area network VXLAN packet transmitted by the first encapsulation module to the virtual machine corresponding to the packet encapsulation information, the first sending module is specifically configured to:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
In a possible design, the first encapsulating module, when encapsulating the VLAN packet transmitted by the first receiving module based on the packet encapsulation information transmitted by the first parsing module to obtain the extensible VLAN packet, is specifically configured to:
and deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message.
In a fourth aspect, an embodiment of the present application provides a packet transmission apparatus, which is deployed in a reflux switch, and includes:
the second receiving module is used for receiving the VXLAN message sent by the virtual machine and transmitting the VXLAN message to the second analysis module;
the second analysis module is used for analyzing the extensible virtual local area network VXLAN message transmitted by the second receiving module to obtain message encapsulation information and an original message contained in the extensible virtual local area network VXLAN message, transmitting the message encapsulation information to the determining module, and transmitting the original message to the second encapsulation module;
a determining module, configured to determine, based on the packet encapsulation information transmitted by the second parsing module, a transmission port between the virtual machine and a server corresponding to the packet encapsulation information, determine identifier symbol information corresponding to the packet encapsulation information, and transmit the identifier symbol information to the second encapsulating module;
the second packaging module is used for packaging the original message transmitted by the second analysis module based on the identifier information transmitted by the determination module to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message, and transmitting the VLAN message to the second sending module;
and the second sending module is used for transmitting the VLAN message transmitted by the second packaging module to the server through the transmission port.
In one possible design, the message encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In a possible design, when determining the transmission port between the virtual machine and the server based on the packet encapsulation information transmitted by the second parsing module, the determining module is specifically configured to:
and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
In a possible design, when the second encapsulation module encapsulates, based on the identifier information transmitted by the determination module, the original packet transmitted by the second parsing module to obtain a VLAN packet corresponding to the original packet, the second encapsulation module is specifically configured to:
and when the original message is detected not to contain the VLAN message header, the VLAN header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain the VLAN message corresponding to the original message.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the first aspect, or any of the possible implementations of the first aspect, or the second aspect, or any of the possible implementations of the second aspect.
In a sixth aspect, this embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the first aspect, or any one of the possible implementations of the first aspect, or the second aspect, or any one of the possible implementations of the second aspect.
In the message transmission method provided by this embodiment, after receiving an extensible virtual local area network VXLAN message sent by a virtual machine, a return switch determines identifier information and an original message corresponding to the message encapsulation information based on message encapsulation information in the extensible virtual local area network VXLAN message, and encapsulates the original message according to the identifier information to obtain a virtual local area network VLAN message corresponding to the original message; after receiving the VLAN message sent by the server, the message encapsulation information is determined according to the identification symbol information in the VLAN message, and the VLAN message is encapsulated based on the message encapsulation information to obtain an extensible virtual local area network VXLAN message. The steps of packaging the VLAN message and de-packaging the VXLAN message are completed by arranging the reflux switch between the virtual machine and the reflux switch, and the server only needs to process the VLAN message sent by the reflux switch, so that the performance consumption of the server is reduced, and the response rate of the server is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows an interaction flow diagram of a message transmission method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a message transmission method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating another message transmission method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an architecture of a message transmission apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an architecture of another message transmission apparatus according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of an electronic device 600 provided in an embodiment of the present application;
fig. 7 shows a schematic structural diagram of an electronic device 700 provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, when transmitting an extensible virtual local area network VXLAN message, a virtual channel End Point (VTEP) node is configured in a virtual machine and a server, respectively, to implement encapsulation and decapsulation of the extensible virtual local area network VXLAN message.
The specific execution steps are that the virtual machine sends the data frame to the VTEP node of the virtual machine, the VTEP node adds a VXLAN header to the data frame, the VXLAN header comprises a VXLAN network identifier VNI, an outer layer source IP address and an outer layer destination IP address, then the VXLAN header and the data frame are encapsulated into a VXLAN message and sent to the VTEP node deployed at the server end; and the VTEP node deployed at the server decapsulates the received VXLAN message to obtain a data frame encapsulated therein, processes the data frame, encapsulates the processed data frame, the VXLAN network identifier VNI obtained in the decapsulation process, the outer layer source IP address and the outer layer destination IP address together, and sends the encapsulated data frame, the outer layer source IP address and the outer layer destination IP address to the VTEP node corresponding to the virtual machine.
As can be seen from the above execution steps, the server needs to process the data frame sent by the virtual machine, and also needs to execute the steps of VLAN packet encapsulation and VXLAN packet decapsulation.
Based on the above, the present scheme provides a message transmission method, through setting the backflow switch, the processes of VLAN message encapsulation and VXLAN message decapsulation are completed, and the server only needs to process the VLAN message sent by the backflow switch, thereby reducing the performance consumption of the server.
To facilitate understanding of the embodiment, a detailed description is first given to a message transmission method disclosed in the embodiment of the present application.
Example one
Referring to fig. 1, an interactive flow diagram of a message transmission method provided in the embodiment of the present application is shown, which includes the following steps:
step 101, the virtual machine sends the VXLAN message to a return switch.
And 102, the return switch receives the extensible virtual local area network VXLAN message sent by the virtual machine, and analyzes the extensible virtual local area network VXLAN message to obtain message encapsulation information contained in the extensible virtual local area network VXLAN message and an original message.
Step 103, the return switch determines, based on the message encapsulation information, a transmission port between the virtual machine and the server corresponding to the message encapsulation information, and determines identifier information corresponding to the message encapsulation information.
And 104, the return switch packages the original message based on the identifier information to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message.
And 105, the return switch transmits the VLAN message to the server through the transmission port.
And 106, the server processes the received VLAN message and sends the processed VLAN message to a return switch.
And 107, the return switch receives the VLAN message sent by the server, analyzes the head of the VLAN message, acquires the identifier information, and determines the message encapsulation information based on the identifier information.
And step 108, the return switch packages the VLAN message based on the message packaging information to obtain an extensible virtual local area network VXLAN message.
And step 109, the return switch sends the VXLAN message to the virtual machine.
It should be noted that the communication process between the virtual machine and the server is executed through the return switch, the virtual machine and the return switch communicate based on the extensible virtual local area network VXLAN message, and the return switch and the server communicate based on the virtual local area network VLAN message.
The following is a detailed description of steps 101 to 109.
For step 101:
the header of an extensible virtual local area Network VXLAN message sent by a virtual machine carries a VXLAN Network Identifier (VNI), outer layer source IP address information, and outer layer destination IP address information, where the outer layer destination IP address information is IP address information of a server that the virtual machine needs to communicate with. The server has only one corresponding reflow switch, so the virtual machine can determine the reflow switch to be sent through the outer layer destination IP address.
In actual implementation, communication can be performed only between devices in the same VXLAN network, so that it can be determined whether the virtual machine and the server are in the same VXLAN network according to the VXLAN network identifier VNI, and further determined whether the virtual machine is allowed to send a VXLAN message to a return switch corresponding to the external destination IP address information of the virtual machine.
With respect to step 102:
the return switch can analyze the received extensible virtual local area network VXLAN message to obtain message encapsulation information contained in the extensible virtual local area network VXLAN message and an original message. The message encapsulation information includes a VXLAN network identifier VNI, outer layer source IP address information, and outer layer destination IP address information, and the message type of the original message may be a VLAN message.
For step 103:
in a possible implementation manner, a mapping relationship table may be stored in advance in the return switch, where the mapping relationship table stores mapping relationships between the packet encapsulation information and the transmission ports and between the packet encapsulation information and the identifier information. After the message encapsulation information is obtained by analyzing the reflux switch, the transmission port between the virtual machine and the server and the identifier information corresponding to the message encapsulation information can be determined according to the message encapsulation information. Specifically, the return switch may search, according to the packet encapsulation information obtained by the analysis, a transmission port between the virtual machine and the server and identifier information corresponding to the packet encapsulation information in the mapping relationship table.
For example, the mapping relationship table may be as shown in table 1 below:
TABLE 1
Figure GDA0003418791370000111
The VXLAN network identifier VNI, the outer layer source IP address information, and the outer layer destination IP address information may be regarded as a set of data, and when the VXLAN network identifier VNI, the outer layer source IP address information, and the outer layer destination IP address information are determined, a uniquely determined transmission port and an identifier are corresponding to each other in the mapping relationship table.
For example, if the VXLAN network identifier VNI is "123", the outer-layer source IP address information is "234", and the outer-layer destination IP address information is "345", based on table 1 above, the corresponding transmission port is a, and the identifier is 1.
With respect to step 104:
after determining the transmission port between the virtual machine and the server and the identifier information corresponding to the message encapsulation information, the return switch may encapsulate the original message according to the identifier information.
Specifically, when the original message is encapsulated according to the identifier information, it may be detected whether the VLAN header position in the original message is empty, if the VLAN header position of the original message is empty, a VLAN header is newly encapsulated for the original message, and the identifier information is added to the newly encapsulated VLAN header, so as to obtain a VLAN message 1 of the virtual local area network corresponding to the extensible virtual local area network VXLAN message 1. Illustratively, the identifier information may be added to the 3 rd and 4 th bytes of the newly encapsulated VLAN header, and in another example, the addition position of the identifier information in the VLAN header may be predetermined by the server and the reflow switch.
If the VLAN header position of the original packet is not null, the identifier information may be added to the innermost layer of the original packet, or if the VLAN header position of the original packet is not null, the identifier may be added to a position that is pre-agreed by the server and the return switch.
With respect to step 105:
in one possible application scenario, a switch may be connected to multiple servers, and a server may be connected to a switch, so that the selection of servers may be implemented through different ports on the switch.
Based on step 104, while determining the VLAN packet corresponding to the VXLAN packet, the return switch may also determine a transmission port between the return switch and the server, so that after determining the VLAN packet corresponding to the VXLAN packet, the return switch may send the VLAN packet to the server through the determined transmission port.
For step 106:
because the server has only a single switch connected to it, the server can send the processed VLAN message to the return switch through the port connected to the switch.
It should be noted that the VLAN packet in the step after step 106 is a processed VLAN packet sent by the server to the return switch.
For step 107:
in practical applications, the switch is connected to multiple servers, and therefore, the switch may process VLAN packets sent back by multiple servers at the same time. In order to determine the virtual machine corresponding to the VLAN packet, the VLAN packet sent back by each server may carry identifier information, and then the return switch may search for corresponding packet encapsulation information according to the identifier information, and determine the virtual machine corresponding to the VLAN packet based on the packet encapsulation information.
In specific implementation, after receiving a VLAN message sent by a server, a reflux switch may parse the header of the VLAN message, obtain identifier information, determine message encapsulation information based on the identifier information, and then encapsulate the VLAN message based on the message encapsulation information to obtain an extensible VLAN VXLAN message.
The identification symbol information may be obtained at a position in a header of a VLAN packet of a virtual local area network that is pre-agreed by the reflux switch and the server when obtaining the identification symbol information, for example, the reflux switch and the server are pre-agreed, and when the server sends the VLAN packet, the identification symbol information is added to the 3 rd and 4 th sections of the VLAN header, so that when the reflux switch analyzes the VLAN packet, the identification symbol information may be directly obtained from the 3 rd and 4 th sections of the VLAN header.
In a possible implementation manner, when determining the packet encapsulation information based on the obtained identifier information, the packet encapsulation information corresponding to the identifier information may be searched in a mapping relationship table pre-stored in the return switch according to the packet encapsulation information.
For step 108:
in an example of the present application, when a VLAN packet is encapsulated based on packet encapsulation information, a header of the VLAN packet may be deleted, a new VLAN packet header is encapsulated for the VLAN packet with the header deleted, packet encapsulation information is added to the newly encapsulated header, and then the VLAN packet after the new header is added is encapsulated into an extensible VLAN VXLAN packet.
For step 109:
it should be noted that, in the process of transmitting data to the virtual machine by the server, the meanings represented by the outer layer source IP address information and the outer layer destination IP address information have changed. In the process of transmitting data to the server by the virtual machine, the outer layer source IP address is the IP address of the virtual machine, the outer layer destination IP address is the IP address of the server, and the virtual machine transmits data to the outer layer destination IP address in the process of transmitting data; in the process of transmitting data to the virtual machine, the server transmits data to the outer layer source IP address instead of transmitting data to the outer layer destination IP address.
When the extensible virtual local area network VXLAN message is sent to the virtual machine, the extensible virtual local area network VXLAN message can be sent to the virtual machine corresponding to the outer layer source IP address information.
In the message transmission method provided by this embodiment, after receiving an extensible virtual local area network VXLAN message sent by a virtual machine, a return switch determines identifier information and an original message corresponding to the message encapsulation information based on message encapsulation information in the extensible virtual local area network VXLAN message, and encapsulates the original message according to the identifier information to obtain a virtual local area network VLAN message corresponding to the original message; after receiving the VLAN message sent by the server, the message encapsulation information is determined according to the identification symbol information in the VLAN message, and the VLAN message is encapsulated based on the message encapsulation information to obtain an extensible virtual local area network VXLAN message. The reflux switch is arranged between the virtual machine and the reflux switch, so that the decapsulation of the extensible virtual local area network VXLAN message and the encapsulation of the virtual local area network VLAN message are completed, and the server only needs to process the virtual local area network VLAN message sent by the reflux switch, so that the performance consumption of the server is reduced, and the response rate of the server is improved.
In order to ensure the connection between the server and the virtual machine, when the connection between the server and the virtual machine fails, a worker is prompted to perform maintenance in time, and in another possible implementation manner of the present application, failure Detection may be performed through Bidirectional Forwarding Detection (BFD).
Specifically, the IP address of the server may be used as a destination IP address, the IP address of the virtual machine may be used as a source IP address, then the BFD message is sent to the server through the virtual machine, after the backflow switch receives the BFD message sent by the virtual machine, the server to be sent and a corresponding port of the server in the backflow switch are determined directly according to the destination IP address in the BFD message, and then the BFD message is sent to the server directly through the port.
In the reverse test, the IP address of the server may be used as a source IP address, the IP address of the virtual machine may be used as a destination IP address, a BFD message is sent to the virtual machine through the server, and after receiving the BFD message sent by the server, the return switch determines the virtual machine to be sent directly according to the destination IP address in the BFD message, and then sends the BFD message to the corresponding virtual machine.
In the detection process, if any one party does not receive the BFD message, an alarm is triggered, and the specific process will not be described here.
In a possible application scenario, the message types received by the return switch include a BFD message, a VLAN message, and an VXLAN message, and after receiving any one of the messages, the return switch determines the message type of the message, and then performs different processing based on different message types.
Illustratively, if the type of the received message is a BFD message, forwarding the BFD message according to a destination IP address in the BFD message; if the received message type is a Virtual Local Area Network (VLAN) message, analyzing the VLAN message to obtain identifier information, then determining message encapsulation information based on the identifier information, encapsulating the VLAN message based on the message encapsulation information to obtain an extensible virtual local area network (VXLAN) message, and sending the extensible virtual local area network (VXLAN) message to a virtual machine; if the received message type is an extensible virtual local area network VXLAN message, analyzing the extensible virtual local area network VXLAN message to obtain message encapsulation information and an original message, then determining identification symbol information and a transmission port based on the message encapsulation information, encapsulating the original message based on the identification symbol information to obtain a virtual local area network VLAN message corresponding to the original message, and transmitting the virtual local area network VLAN message based on the transmission port. The specific execution process refers to steps 101 to 109 described above.
The embodiment also provides a message transmission method, which is a flow diagram of the message transmission method provided in the embodiment of the present application, and is shown in fig. 2, where the method is applied in a return switch, and includes the following steps:
step 201, receiving a virtual local area network VLAN message sent by a server.
Step 202, parsing the header of the VLAN packet, obtaining identifier information, and determining packet encapsulation information based on the identifier information.
Wherein the packet encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In a possible implementation manner, the determining packet encapsulation information based on the identifier information includes:
according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
And 203, packaging the VLAN message based on the message packaging information to obtain an extensible virtual local area network VXLAN message.
In a possible implementation manner, the encapsulating the VLAN packet based on the packet encapsulation information to obtain an extensible VLAN VXLAN packet includes:
and deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message.
And step 204, sending the extensible virtual local area network VXLAN message to the virtual machine corresponding to the message encapsulation information.
In a possible implementation manner, the sending the extensible virtual local area network VXLAN message to the virtual machine corresponding to the message encapsulation information includes:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
An embodiment of the present application further provides another packet transmission method, and referring to fig. 3, a flow diagram of the another packet transmission method provided in the embodiment of the present application is shown, where the flow diagram includes the following steps:
step 301, receiving an extensible virtual local area network VXLAN message sent by a virtual machine.
Step 302, analyzing the VXLAN message to obtain the message encapsulation information contained in the VXLAN message and the original message.
In a possible implementation manner, the packet encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
Step 303, determining a transmission port between the virtual machine and the server corresponding to the packet encapsulation information based on the packet encapsulation information, and determining identifier information corresponding to the packet encapsulation information.
In a possible implementation manner, the determining a transmission port between the virtual machine and the server based on the packet encapsulation information includes:
and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
And 304, packaging the original message based on the identifier information to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message.
In a possible implementation manner, the encapsulating the original packet based on the identifier information to obtain a VLAN packet corresponding to the original packet includes:
and when the original message is detected not to contain the VLAN message header, the VLAN header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain the VLAN message corresponding to the original message.
And 305, transmitting the VLAN message to a server through a transmission port.
Example two
Based on the same concept, an embodiment of the present application further provides a packet transmission apparatus, where the apparatus is deployed on a reflux switch, as shown in fig. 4, and is a schematic diagram of an architecture of the packet transmission apparatus provided in the embodiment of the present application, where the apparatus includes a first receiving module 401, a first parsing module 402, a first encapsulating module 403, and a first sending module 404, specifically:
a first receiving module 401, configured to receive a VLAN packet sent by a server, and transmit the VLAN packet to a first parsing module 402 and a first encapsulation module 403;
a first parsing module 402, configured to parse a header of the VLAN packet transmitted by the first receiving module 401, obtain identifier information, determine packet encapsulation information based on the identifier information, and transmit the packet encapsulation information to a first encapsulation module 403;
a first encapsulating module 403, configured to encapsulate, based on the message encapsulation information transmitted by the first parsing module 402, the virtual local area network VLAN message transmitted by the first receiving module 401, to obtain an extensible virtual local area network VXLAN message, and transmit the extensible virtual local area network VXLAN message to the first sending module 404;
a first sending module 404, configured to send the extensible virtual local area network VXLAN message transmitted by the first encapsulating module 403 to the virtual machine corresponding to the message encapsulation information.
In a possible implementation manner, the packet encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In a possible implementation manner, when determining the packet encapsulation information based on the identifier information, the first parsing module 402 is specifically configured to:
according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
In a possible implementation manner, when sending the scalable virtual local area network VXLAN packet transmitted by the first encapsulating module 403 to the virtual machine corresponding to the packet encapsulation information, the first sending module 404 is specifically configured to:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
In a possible implementation manner, the first encapsulating module 403, when encapsulating the VLAN packet transmitted by the first receiving module 401 based on the packet encapsulation information transmitted by the first parsing module 402 to obtain an extensible VLAN packet, is specifically configured to:
and deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message.
The present application further provides another message transmission apparatus, which is deployed on a reflux switch, and as shown in fig. 5, an architecture schematic diagram of another message transmission apparatus provided in this embodiment of the present application includes a second receiving module 501, a second parsing module 502, a determining module 503, a second encapsulating module 504, and a second sending module 505, specifically:
the second receiving module 501 is configured to receive an extensible virtual local area network VXLAN message sent by a virtual machine, and transmit the message to the second parsing module 502;
a second parsing module 502, configured to parse the VXLAN packet transmitted by the second receiving module 501 to obtain packet encapsulation information and an original packet included in the VXLAN packet, transmit the packet encapsulation information to a determining module 503, and transmit the original packet to a second encapsulating module 504;
a determining module 503, configured to determine, based on the packet encapsulation information transmitted by the second parsing module 502, a transmission port between the virtual machine and a server corresponding to the packet encapsulation information, determine identifier symbol information corresponding to the packet encapsulation information, and transmit the identifier symbol information to the second encapsulating module 504;
a second encapsulating module 504, configured to encapsulate the original packet transmitted by the second parsing module 502 based on the identifier information transmitted by the determining module 503, to obtain a virtual local area network VLAN packet corresponding to the original packet, and transmit the virtual local area network VLAN packet to a second sending module 505;
a second sending module 505, configured to transmit the VLAN packet transmitted by the second encapsulating module 504 to the server through the transmission port.
In a possible implementation manner, the packet encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In a possible implementation manner, when determining the transmission port between the virtual machine and the server based on the packet encapsulation information transmitted by the second parsing module 502, the determining module 503 is specifically configured to:
and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
In a possible implementation manner, when the second encapsulating module 504 encapsulates, based on the identifier information transmitted by the determining module 503, the original packet transmitted by the second parsing module 502 to obtain a VLAN packet corresponding to the original packet, the second encapsulating module is specifically configured to:
and when the original message is detected not to contain the VLAN message header, the VLAN header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain the VLAN message corresponding to the original message.
After receiving an extensible virtual local area network VXLAN message sent by a virtual machine, the message transmission device provided in this embodiment determines identifier information and an original message corresponding to the message encapsulation information based on message encapsulation information in the extensible virtual local area network VXLAN message, and encapsulates the original message according to the identifier information to obtain a virtual local area network VLAN message corresponding to the original message; after receiving the VLAN message sent by the server, the message encapsulation information is determined according to the identification symbol information in the VLAN message, and the VLAN message is encapsulated based on the message encapsulation information to obtain an extensible virtual local area network VXLAN message. The reflux switch is arranged between the virtual machine and the reflux switch, so that the decapsulation of the extensible virtual local area network VXLAN message and the encapsulation of the virtual local area network VLAN message are completed, and the server only needs to process the virtual local area network VLAN message sent by the reflux switch, so that the performance consumption of the server is reduced, and the response rate of the server is improved.
EXAMPLE III
Based on the same technical concept, the embodiment of the application also provides the electronic equipment. Referring to fig. 6, a schematic structural diagram of an electronic device 600 provided in the embodiment of the present application includes a processor 601, a memory 602, and a bus 603. The memory 602 is used for storing execution instructions and includes a memory 6021 and an external memory 6022; the memory 6021 is also referred to as an internal memory, and is configured to temporarily store the operation data in the processor 601 and the data exchanged with the external memory 6022 such as a hard disk, the processor 601 exchanges data with the external memory 6022 through the memory 6021, and when the electronic device 600 operates, the processor 601 communicates with the memory 602 through the bus 603, so that the processor 601 executes the following instructions:
receiving a Virtual Local Area Network (VLAN) message sent by a server;
analyzing the head of the VLAN message to obtain identification symbol information, and determining message encapsulation information based on the identification symbol information;
based on the message encapsulation information, encapsulating the VLAN message to obtain an extensible virtual local area network VXLAN message;
and sending the extensible virtual local area network VXLAN message to a virtual machine corresponding to the message encapsulation information.
In one possible design, in the instructions executed by the processor 601, the message encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In one possible design, the determining, by the processor 601 in an instruction executed based on the identifier information, packet encapsulation information includes:
according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
In a possible design, in an instruction executed by the processor 601, the sending the extensible virtual local area network VXLAN packet to the virtual machine corresponding to the packet encapsulation information includes:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
In a possible design, in an instruction executed by the processor 601, the encapsulating the VLAN packet based on the packet encapsulation information to obtain an extensible VLAN packet includes:
and deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message.
Based on the same technical concept, the embodiment of the application also provides the electronic equipment. Referring to fig. 7, a schematic structural diagram of an electronic device 700 provided in the embodiment of the present application includes a processor 701, a memory 702, and a bus 703. The memory 702 is used for storing execution instructions and includes a memory 7021 and an external memory 7022; the memory 7021 is also referred to as an internal memory, and is used to temporarily store operation data in the processor 701 and data exchanged with an external memory 7022 such as a hard disk, the processor 701 exchanges data with the external memory 7022 through the memory 7021, and when the electronic device 700 is operated, the processor 701 and the memory 702 communicate with each other through the bus 703, so that the processor 701 executes the following instructions:
receiving an extensible virtual local area network VXLAN message sent by a virtual machine;
analyzing the extensible virtual local area network VXLAN message to obtain message encapsulation information contained in the extensible virtual local area network VXLAN message and an original message;
determining a transmission port between the virtual machine and a server corresponding to the message encapsulation information and determining identifier information corresponding to the message encapsulation information based on the message encapsulation information;
packaging the original message based on the identifier information to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message;
and transmitting the VLAN message to the server through the transmission port.
In one possible design, in the instructions executed by the processor 701, the message encapsulation information includes:
the VXLAN network identifies the VNI, the outer layer source IP address information, and the outer layer destination IP address information.
In one possible design, in instructions executed by the processor 701, the determining a transmission port between the virtual machine and the server based on the packet encapsulation information includes:
and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
In a possible design, in an instruction executed by the processor 701, the encapsulating the original packet based on the identifier information to obtain a VLAN packet corresponding to the original packet includes:
and when the original message is detected not to contain the VLAN message header, the VLAN header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain the VLAN message corresponding to the original message.
Example four
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the message transmission method described in any of the above embodiments.
Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, and the like, and when a computer program on the storage medium is executed, the steps of the message transmission method can be executed, so that the performance consumption of the server is reduced, and the response rate of the server is improved.
The computer program product for performing the message transmission method provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A message transmission method is applied to a return switch, and comprises the following steps:
receiving a Virtual Local Area Network (VLAN) message sent by a server;
analyzing the head of the VLAN message to obtain identification symbol information, and determining message encapsulation information based on the identification symbol information;
based on the message encapsulation information, encapsulating the VLAN message to obtain an extensible virtual local area network VXLAN message;
sending the extensible virtual local area network VXLAN message to a virtual machine corresponding to the message encapsulation information;
the encapsulating the VLAN message based on the message encapsulating information to obtain an extensible virtual local area network VXLAN message comprises the following steps: deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message;
before receiving the VLAN packet sent by the server, the packet transmission method further includes: using Bidirectional Forwarding Detection (BFD) to detect the connection fault between the server and the virtual machine;
the message encapsulation information includes: the VXLAN network identification VNI, outer layer source IP address information and outer layer destination IP address information are obtained, wherein the outer layer destination IP address information is the IP address information of a server which the virtual machine needs to communicate with;
the determining message encapsulation information based on the identifier information includes: according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
2. The method according to claim 1, wherein the sending the extensible virtual local area network VXLAN packet to the virtual machine corresponding to the packet encapsulation information comprises:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
3. A message transmission method is applied to a return switch, and comprises the following steps:
receiving an extensible virtual local area network VXLAN message sent by a virtual machine;
analyzing the extensible virtual local area network VXLAN message to obtain message encapsulation information contained in the extensible virtual local area network VXLAN message and an original message;
determining a transmission port between the virtual machine and a server corresponding to the message encapsulation information and determining identifier information corresponding to the message encapsulation information based on the message encapsulation information;
packaging the original message based on the identifier information to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message;
transmitting the VLAN message to the server through the transmission port;
the encapsulating the original message based on the identifier information to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message comprises the following steps: when the original message is detected not to contain the VLAN message header, the VLAN message header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message;
before receiving the VXLAN message sent by the virtual machine, the message transmission method further includes: using Bidirectional Forwarding Detection (BFD) to detect the connection fault between the server and the virtual machine;
the message encapsulation information includes: the VXLAN network identification VNI, outer layer source IP address information and outer layer destination IP address information are obtained, wherein the outer layer destination IP address information is the IP address information of a server which the virtual machine needs to communicate with;
determining a transmission port between the virtual machine and the server based on the message encapsulation information includes: and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
4. A message transmission device, which is deployed in a reflux switch, includes:
the first receiving module is used for receiving the VLAN message sent by the server and transmitting the VLAN message to the first analyzing module and the first packaging module;
the first analysis module is used for analyzing the head of the VLAN message transmitted by the first receiving module, acquiring identifier information, determining message packaging information based on the identifier information and transmitting the message packaging information to the first packaging module;
the first encapsulation module is used for encapsulating the virtual local area network VLAN message transmitted by the first receiving module based on the message encapsulation information transmitted by the first analysis module to obtain an extensible virtual local area network VXLAN message and transmitting the extensible virtual local area network VXLAN message to the first sending module;
the first sending module is used for sending the extensible virtual local area network VXLAN message transmitted by the first packaging module to the virtual machine corresponding to the message packaging information;
the first encapsulating module, when encapsulating the VLAN packet transmitted by the first receiving module based on the packet encapsulation information transmitted by the first parsing module to obtain an extensible VLAN packet, is specifically configured to: deleting the head of the VLAN message, adding the message encapsulation information into the new head of the VLAN message, and encapsulating the VLAN message into the extensible virtual local area network VXLAN message;
the first receiving module, before receiving the VLAN packet sent by the server, is further configured to: using Bidirectional Forwarding Detection (BFD) to detect the connection fault between the server and the virtual machine;
the message encapsulation information includes: the VXLAN network identification VNI, outer layer source IP address information and outer layer destination IP address information are obtained, wherein the outer layer destination IP address information is the IP address information of a server which the virtual machine needs to communicate with;
the first parsing module, when determining packet encapsulation information based on the identifier information, is specifically configured to: according to the identifier information, searching message encapsulation information corresponding to the identifier information in a mapping relation table pre-stored in the reflux switch; wherein the mapping relation table stores the mapping relation between the identifier information and the packet encapsulation information.
5. The apparatus according to claim 4, wherein the first sending module, when sending the scalable virtual local area network VXLAN packet transmitted by the first encapsulating module to the virtual machine corresponding to the packet encapsulation information, is specifically configured to:
and sending the VXLAN message to the virtual machine corresponding to the outer layer source IP address information.
6. A message transmission device, which is deployed in a reflux switch, includes:
the second receiving module is used for receiving the VXLAN message sent by the virtual machine and transmitting the VXLAN message to the second analysis module;
the second analysis module is used for analyzing the extensible virtual local area network VXLAN message transmitted by the second receiving module to obtain message encapsulation information and an original message contained in the extensible virtual local area network VXLAN message, transmitting the message encapsulation information to the determining module, and transmitting the original message to the second encapsulation module;
a determining module, configured to determine, based on the packet encapsulation information transmitted by the second parsing module, a transmission port between the virtual machine and a server corresponding to the packet encapsulation information, determine identifier symbol information corresponding to the packet encapsulation information, and transmit the identifier symbol information to the second encapsulating module;
the second packaging module is used for packaging the original message transmitted by the second analysis module based on the identifier information transmitted by the determination module to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message, and transmitting the VLAN message to the second sending module;
the second sending module is used for transmitting the VLAN message transmitted by the second packaging module to the server through the transmission port;
the second encapsulation module, when encapsulating the original packet transmitted by the second parsing module based on the identifier information transmitted by the determining module to obtain the VLAN packet corresponding to the original packet, is specifically configured to: when the original message is detected not to contain the VLAN message header, the VLAN message header is packaged for the original message, and the identification symbol information is added into the VLAN header to obtain a Virtual Local Area Network (VLAN) message corresponding to the original message;
the second receiving module, before receiving the VXLAN message sent by the virtual machine, is further configured to: using Bidirectional Forwarding Detection (BFD) to detect the connection fault between the server and the virtual machine;
the message encapsulation information includes: the VXLAN network identification VNI, outer layer source IP address information and outer layer destination IP address information are obtained, wherein the outer layer destination IP address information is the IP address information of a server which the virtual machine needs to communicate with;
the determining module, when determining the transmission port between the virtual machine and the server based on the packet encapsulation information transmitted by the second parsing module, is specifically configured to: and searching a transmission port corresponding to the message encapsulation information in a mapping relation table pre-stored in the reflux switch based on the message encapsulation information.
7. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the message transmission method according to any one of claims 1 to 2 or the message transmission method according to any one of claims 3.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the message transmission method according to one of claims 1 to 2 or the message transmission method according to one of claims 3.
CN201910894507.9A 2019-09-20 2019-09-20 Message transmission method and device Active CN110581792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910894507.9A CN110581792B (en) 2019-09-20 2019-09-20 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910894507.9A CN110581792B (en) 2019-09-20 2019-09-20 Message transmission method and device

Publications (2)

Publication Number Publication Date
CN110581792A CN110581792A (en) 2019-12-17
CN110581792B true CN110581792B (en) 2022-03-22

Family

ID=68813372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910894507.9A Active CN110581792B (en) 2019-09-20 2019-09-20 Message transmission method and device

Country Status (1)

Country Link
CN (1) CN110581792B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294270B (en) * 2018-12-07 2021-12-03 华为技术有限公司 Method, device, equipment and system for accessing data center
CN111585863B (en) * 2020-06-11 2022-03-01 国家计算机网络与信息安全管理中心 Virtual extensible local area network message processing equipment and data processing method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429870A (en) * 2015-11-30 2016-03-23 北京瑞和云图科技有限公司 VXLAN security gateway device and application method thereof in SDN
CN105939296A (en) * 2016-06-24 2016-09-14 杭州迪普科技有限公司 Method and device for processing message
CN107770031A (en) * 2017-10-26 2018-03-06 郑州云海信息技术有限公司 A kind of expansible VLAN vxlan message processing methods and device
CN108833250A (en) * 2018-06-22 2018-11-16 山东超越数控电子股份有限公司 A kind of retransmission method between VxLAN and VLAN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429870A (en) * 2015-11-30 2016-03-23 北京瑞和云图科技有限公司 VXLAN security gateway device and application method thereof in SDN
CN105939296A (en) * 2016-06-24 2016-09-14 杭州迪普科技有限公司 Method and device for processing message
CN107770031A (en) * 2017-10-26 2018-03-06 郑州云海信息技术有限公司 A kind of expansible VLAN vxlan message processing methods and device
CN108833250A (en) * 2018-06-22 2018-11-16 山东超越数控电子股份有限公司 A kind of retransmission method between VxLAN and VLAN

Also Published As

Publication number Publication date
CN110581792A (en) 2019-12-17

Similar Documents

Publication Publication Date Title
KR102569305B1 (en) Data message detection method, device and system
CN107426077B (en) Method and equipment for realizing intercommunication between physical network and virtual network
CN108259291B (en) VXLAN message processing method, device and system
CN106452925B (en) Method, device and system for detecting fault in NFV system
CN110266713A (en) Intranet and extranet communication means, device, system and proxy server and storage medium
CN109617995B (en) Management system and method for VPC (virtual private network) internal container of tenant cluster and electronic equipment
CN102571492B (en) Method and device for detecting failure of routing equipment
CN106330483B (en) Information acquisition method, client device and server device
CN110581792B (en) Message transmission method and device
CN107948077B (en) Method and device for forwarding data message
WO2017000790A1 (en) Gateway device network connectivity response method and device
CN110691139B (en) Data transmission method, device, equipment and storage medium
KR20220159456A (en) Service processing methods, devices, facilities and storage media
CN110971540B (en) Data information transmission method and device, switch and controller
CN112702254B (en) Message processing method and device and electronic equipment
CN110876155A (en) Simulation system and method for wireless mesh network
CN116781574A (en) In-band network telemetry method, in-band network telemetry device, in-band network telemetry equipment and storage medium
CN111654474B (en) Safety detection method and device
CN114520778A (en) Connectivity detection method, connectivity detection device, electronic equipment and storage medium
CN115242693A (en) Network detection method, device, equipment and storage medium
CN109756454B (en) Data interaction method, device and system
CN110875854B (en) Method and device for detecting connectivity of virtual machine in virtual private network and storage medium
WO2015176450A1 (en) Service delivery method and system
CN105119824B (en) A kind of message forwarding method and device
CN115913824B (en) Virtual server communication method and system crossing VPC

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant