Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for communication based on queue

A communication method and queue technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as reducing node data transmission performance, finding QP context, etc., to avoid pauses, ensure continuity, and improve data transmission performance Effect

Active Publication Date: 2015-03-18
HUAWEI TECH CO LTD +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] From the introduction of the sending and receiving process above, it can be seen that because only some commonly used QP contexts are saved in the cache, it may not be possible to find the QP context in the cache, and once the cache misses, it will cost a lot of money. Cache replacement will reduce the data transmission performance of nodes using QP communication

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
  • Method and device for communication based on queue
  • Method and device for communication based on queue
  • Method and device for communication based on queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] In order to enable those skilled in the art to better understand the solution of the present invention, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and implementation manners.

[0066] The application scenarios of the present invention are firstly explained below.

[0067] The embodiment of the present invention is mainly aimed at the queue communication mechanism. For a Queue Pair, it corresponds to three queues: a sending queue SQ, a receiving queue RQ, and a completion queue CQ. see image 3 , shows a schematic diagram of three queues established in the memory when two nodes communicate using the QP mechanism. Assuming that in the current communication process, node 1 is the data sender and node 2 is the data receiver, the data transmission process can be roughly described as:

[0068] 1. The software layer of node 1 prepares the data to be transmitted in memory.

[0069] Corresp...

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 invention provide a method and a device for communication based on queues. An adapter connected with a sending node comprises an arbiter, a prefetcher, a cache memory, and a sending engine. The method comprises: the prefetcher receiving the identify label of a to-be-processed queue sent by the arbiter, the identify label of the to-be-processed queue being acquired by the arbiter when acquiring the identify label of a present processing queue; and the prefetcher determining whether the cache memory is stored with the context of the to-be-processed queue, if the context is not stored, reading the context of the to-be-processed queue from the internal memory of the sending node, and storing to the cache memory, and when the sending engine sends data of the to-be-processed queue, the context being used. Thus, data transmission performance of nodes using QP communication is obviously improved.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a queue-based communication method and device. Background technique [0002] When the node uses the queue-based communication mechanism QP (Queue Pair) for data transmission, it will first establish three queues for the QP in the memory: the sending queue SQ (Send Queue), the receiving queue RQ (Receive Queue), and the completion queue CQ ( Completion Queue), and then transmit data through the adapter adapter connected to the node. [0003] Combine below figure 1 The shown schematic diagram of the sending scenario of the adapter briefly introduces the data sending process. [0004] First, the arbiter arbiter determines the identity of the currently processed QP, and the send queue process engine judges whether the context of the QP is saved in the cache memory, and if so, reads it directly from the cache; if not, Then the current processing process is suspende...

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
IPC IPC(8): H04L12/861
Inventor 张广飞张柳航常轶松侯锐
Owner HUAWEI TECH 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