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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



