摘要 |
<p>The present invention discloses a data transmission method, which includes the following steps: the current length of a queue corresponding to an output port is obtained; when the current length of the queue meets a back pressure condition, according to the current length of the queue and a preset correspondences between the length of the queue and a back pressure priority, the back pressure priority corresponding to the current length of the queue is determined and back pressure information is generated, and the back pressure information indicates forbidding all line cards to the send data, which is with a priority lower than or equaling to the back pressure priority, to the output port; the back pressure information is sent to the line cards. In the present invention, according to the current length of the queue and the preset correspondences between the length of the queue and the back pressure priority, the back pressure information is generated and all the line cards are forbidden to send data, which is with the priority lower than or equaling to the back pressure priority, to the output port, the caches of a switching network occupied by a large number of data with low priorities are reduced, so that the caches reserved for higher priorities are relevantly increased, and the high throughput of the high priorities in the switching network is increased.</p> |