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.

Active Publication Date: 2020-03-13
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[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 according to the concept of best effort. Once congestion or equipment failure occurs, packet loss is a common situation.
Since UDP is an unreliable and fast transmission method, carrying RDMA in UDP packets also cannot guarantee the reliable transmission of RDMA

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

Examples

Experimental program
Comparison scheme
Effect test

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...

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

Embodiments of the present invention provide a message transmission method and device. The method includes: receiving a message sent by a first server, and identifying the message; if it is recognized that the message is an Ethernet frame carrying remote direct data access RDMA, the Modify the Ethernet type identifier to the value of RoCEv2; set the priority of the packet to the highest priority. In the embodiment of the present invention, by receiving the message sent by the first server, if the message is an Ethernet frame carrying remote direct data access RDMA, the Ethernet type identifier of the Ethernet frame is modified to the value of RoCEv2, and the The priority of the packet is set to the highest priority level to ensure that each RoCEv2 packet does not lose packets and improve the reliability of RDMA transmission.

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...

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/833H04L12/851H04L47/31
CPCH04L47/24H04L47/31
Inventor 田新雪马书惠
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products