Message transmission method and device
A technology for message and message forwarding, applied in the field of communication, can solve the problems of unreliability, inability to guarantee reliable RDMA transmission, and no anti-packet loss mechanism, and achieve the effect of improving transmission reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2020-03-13
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The embodiments of the present invention relate to the field of communication technologies, and in particular, to a message transmission method and device. Background technique
[0002] Remote Direct Memory Access (RDMA) was created to solve the delay of server-side data processing in network transmission.
[0003] In the prior art, RDMA is carried in Ethernet frames or User Datagram Protocol (UDP) messages. Since RDMA is carried on a reliable IB network, the IB network is reliable and will not lose packets. Therefore, the upper layer protocol of RDMA does not have an anti-packet loss mechanism. The traditional Ethernet is designed based on the concept of best effort. Once congestion or equipment failure occurs, packet loss is common. Since UDP is an unreliable and fast transmission method, carrying RDMA in UDP packets also cannot guarantee the reliable transmission of RDMA. Contents of the invention
[0004] Embodiments of the present invention p...
Examples
Embodiment Construction
[0020] figure 1 It is a flowchart of a message transmission method provided by an embodiment of the present invention. The embodiment of the present invention aims at the low transmission reliability of RDMA, and provides a message transmission method. The specific steps of the method are as follows:
[0021] Step S101. Receive a message sent by the first server, and identify the message.
[0022] In order to ensure that the RDMA carried on UDP, that is, RoCEv2 (that is, enhanced RoCE), does not lose packets, this paper proposes a RoCEv2 method that uses UDP and Ethernet frames for traffic mapping to solve the problem of no packet loss.
[0023] The basic idea of this method is to map the UDP packets carrying RoCEv2 into Ethernet frames, and then use the DCB non-packet loss mechanism to ensure that the UDP packets are not lost in such Ethernet frames.
[0024] Such as figure 2 As shown, S1 represents the first server, S2 represents the second server, and there are multip...