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

A data forwarding method and device

A forwarding method and data technology, which is applied in the field of communication, can solve problems such as long time delay in the data forwarding process, and achieve the effect of improving forwarding efficiency and saving processing resources

Active Publication Date: 2019-06-21
HONOR DEVICE CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The embodiment of the present invention provides a data forwarding method and device. The method and device provided by the present invention solve the problem of relatively large delay in the data forwarding process of the existing RDMA technology

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 data forwarding method and device
  • A data forwarding method and device
  • A data forwarding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] Such as figure 2 As shown, the embodiment of the present invention provides a data forwarding method, the method specifically includes:

[0064] Step 201, when the electronic device uses the RDMA method to copy data, the electronic device takes out the work queue element (work queue element, WQE) corresponding to the data to be sent from the send queue (Send Queue, SQ);

[0065] Wherein, the WQE corresponds to the original request of the data to be sent; and the original request refers to a request generated for data transmission when the electronic device needs to send data. If in the data forwarding process, the original data to be sent needs to be divided into small data blocks before sending, then the original request is for the original data to be sent, not the data blocks after segmentation.

[0066] Step 202, the electronic device matches the first destination address and first source address corresponding to the WQE with the destination address and source addr...

Embodiment approach

[0079] Among them, the conditions that can trigger the device to encapsulate the data packets to be processed can include various conditions, and the following two optimized implementation methods are provided, specifically including:

[0080] 1. When it is determined that the number of WQEs in the queue to be processed is greater than the preset threshold, the WQEs of the set number in the queue to be processed are encapsulated into a data packet to be processed and sent to the switch;

[0081] 2. Detect the queue to be processed according to a preset period, and encapsulate the detected WQE in the queue to be processed into a data packet to be processed and send it to the switch.

[0082] After the electronic device sends multiple original requests to the controller, if the controller feeds back relevant information, in order to find the data corresponding to the feedback information and forward it, it can be achieved in the following ways:

[0083] In the entire forwarding ...

Embodiment 2

[0085] Such as image 3 As shown, in order to describe the solution provided by the embodiment of the present invention in more detail, the following will further explain the solution provided by the embodiment of the present invention for the specific use environment. When the electronic device uses the remote direct memory access (RDMA) technology to perform data copying , specifically include:

[0086] Step 301, the electronic device that initiates the data copy request presets a filter table, which includes a plurality of filter entries, each entry represents a directory entry that has obtained a forwarding path; wherein each entry includes key information that can be : destination id, source id, destination protection domain (Protection Domain, pd)pd, source pd, data flow identifier and status identifier; the entry structure is shown in Table 1:

[0087] purpose id source id purpose pd source pd

[0088] Table 1

[0089] The parameter meaning of eac...

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 invention discloses a data forwarding method and device. The method comprises: when an electronic device uses a remote direct memory access (RDMA) method to copy data, the electronic device takes out a WQE corresponding to the data to be sent from the sending queue; The corresponding first destination address and first source address are matched with the destination address and source address of each entry in the preset filter table; if the first destination address and first source address match the preset filter table If the destination address and the source address are different, the WQE will be encapsulated into a data packet to be processed and sent to the switch; and the data packet to be processed will be forwarded to the controller through the switch; After the acknowledgment information for the data packet to be processed, the data to be sent is sent to the switch. The method and device disclosed in the invention solve the problem of relatively large time delay in the data forwarding process of the existing RDMA technology.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a data forwarding method and device. Background technique [0002] Open Flow technology separates the control function from the network device, maintains the flow table structure on the network device, and the data packets are forwarded according to the flow table, while the generation, maintenance, and configuration of the flow table are performed by the central controller. manage. The flow table structure of Open Flow flattens the network processing level, so that the processing of network data meets the fine-grained processing requirements. Under this control-forwarding separation architecture, the logical control functions and high-level policies of the network can be flexibly and dynamically managed and configured through the central controller, and can be implemented in the existing network without affecting the normal traffic of the traditional network. ...

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/741H04L12/947H04L45/74
CPCH04L45/74H04L49/25
Inventor 赵秀楚沈伟锋谈江
Owner HONOR DEVICE CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More