Port flow control method

A port and flow control technology, applied in the field of communication, can solve problems such as untimely flow control, link-level flow control, and flow control of a certain queue, etc., to achieve the effect of ensuring reliability

CN1909508AInactive Publication Date: 2007-02-07HUAWEI TECH CO LTD
0 Cites 12 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2007-02-07
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a port flow control method, which comprises: A, the sender generates the stream control frame with sub frame mark and port stream information, to be sent to the receiver, while said sub frame mark is used to mark sub frame number and the frame type; B, said receiver detects the stream control frame, based on the sub frame mark and the port stream control information, to realize the stream control on each port of said sender. The invention can support different stream controls, to expand the transmission protocols with different frame types, and support different protocol data transmissions.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the communication field, in particular to a port flow control method. Background technique

[0002] Flow control is a congestion avoidance mechanism.

[0003] The Ethernet link-level flow control mechanism is: if the receiving queue of an Ethernet port is congested (the data in the ingress buffer exceeds a certain threshold), and the network port supports PAUSE flow control, the network port will send out a PAUSE frame, the value of the pause-time field in the frame is N (0<N≤65535); the Ethernet port at the opposite end of the link receives the PAUSE frame and the interface supports PAUSE flow control, and will within the sending time) to stop sending data. This avoids packet loss due to congestion at the receiving port. If the congestion of the receiving port has been eliminated (the data in the ingress buffer is lower than a certain threshold) and the pause-time has not ended at this time, the port will send a PAUSE fr...

Examples

Embodiment Construction

[0059] see Figure 4 , the port flow control method of the present invention comprises the following steps:

[0060] A. At the sending end, generate a flow control frame with a subframe identifier and port flow control information, and send it to the receiving end, where the subframe identifier is used to mark the subframe number and frame type;

[0061] B. The receiving end detects the flow control frame, and implements flow control on each port of the sending end according to the subframe identifier of the flow control frame and the indication of port flow control information.

[0062] When performing queue-level flow control, the step A further includes the following steps:

[0063] A1. Extract the port flow control information of each port;

[0064] A2. If the data length of the port flow control information is less than the first predetermined data length, then encapsulate the port flow control information into port flow control information of the first predetermined da...