CN111970210B - Flow control method and device between line card and backplane in centralized switching system - Google Patents

Flow control method and device between line card and backplane in centralized switching system Download PDF

Info

Publication number
CN111970210B
CN111970210B CN202010858535.8A CN202010858535A CN111970210B CN 111970210 B CN111970210 B CN 111970210B CN 202010858535 A CN202010858535 A CN 202010858535A CN 111970210 B CN111970210 B CN 111970210B
Authority
CN
China
Prior art keywords
flow control
control frame
port
line card
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010858535.8A
Other languages
Chinese (zh)
Other versions
CN111970210A (en
Inventor
方沛昱
蒋震
崔兴龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Sheng Ke Science And Technology Co ltd
Original Assignee
Suzhou Sheng Ke Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Sheng Ke Science And Technology Co ltd filed Critical Suzhou Sheng Ke Science And Technology Co ltd
Priority to CN202010858535.8A priority Critical patent/CN111970210B/en
Publication of CN111970210A publication Critical patent/CN111970210A/en
Application granted granted Critical
Publication of CN111970210B publication Critical patent/CN111970210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/254Centralised controller, i.e. arbitration or scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/30Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/50Overload detection or protection within a single switching element
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses a method and a device for flow control between a line card and a backboard in a centralized switching system, wherein the method comprises the steps that the line card receives a flow control frame, adds downlink port information to the flow control frame and then sends the flow control frame to the backboard; the back plate blocks a queue group in the output port corresponding to the information of the downlink port in the flow control frame; the back plate carries out buffer area occupation statistics on the input port, judges whether the buffer area occupation statistics is larger than a preset threshold value or not, and when the buffer area occupation statistics is larger than the preset threshold value, adds the downlink port information of which the buffer area occupation statistics is larger than the preset threshold value into the flow control frame and sends the flow control frame to the line card connected with the input port, and the line card sends the flow control frame according to the downlink port information in the flow control frame. The invention can avoid the problem of head blockage.

Description

Flow control method and device between line card and backplane in centralized switching system
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for flow control between a line card and a backplane in a centralized ethernet switching system.
Background
Flow control is a function of ethernet that prevents packet loss due to overflow of a packet buffer in a switch integrated circuit. When the used buffer capacity of the switch reaches a preset threshold, the port sends a request for stopping sending data to the opposite side of the full duplex link. Ieee802.3x defines a flow control mechanism, namely: the downstream port transmits a flow control frame to the upstream port, and the upstream port receives the flow control frame and responds by stopping transmitting data. The flow control frame is carried in the data frame, the receiver can separate the flow control frame according to the frame format and submit the flow control frame to the flow control module in the MAC control sublayer, the flow control module analyzes the content of the flow control frame, extracts the time parameter carried in the flow control frame, and determines the time for stopping sending data according to the time parameter. Although the flow control mechanism defined by ieee802.3x can prevent packet loss, the flow control frame may cause all packets on the full-duplex link to stop transmitting for a period of time. Priority flow control as defined by ieee802.1qb, which separately transmits flow control frames for different priorities of traffic on the same link, can avoid the above-mentioned problems. When the traffic of a certain priority is congested, only the message is suspended to be sent, and other types of traffic are not influenced.
The flow control mechanism defined by ieee802.3x and ieee802.1qbb has good working performance for a system constructed by a single chip, for example, a forwarding system composed of A, B, C three systems, a A, B, C system is three independent ethernet switches, each ethernet switch has an independent ethernet switch chip, instead of a system constructed by multiple chips, and a packet-loss-free network can be constructed. When one of the systems is complex, that is, one of the systems is a centralized or distributed system, for example, the B system is composed of a backplane, a line card 1 and a line card 2, as shown in fig. 1, where the backplane and the line card are each an independent ethernet switching chip. In the centralized forwarding system, the line card has no capacity of table lookup forwarding, and the message received by the line card at the lower connection port is directly sent to the upper connection port without table lookup, and the original port for receiving the message needs to be identified in the message. The line card selects the lower connection port to send out directly according to the port indicated in the message without looking up the table. In implementation, a VLAN may be additionally inserted into the packet, and the VLAN ID is used to represent port information. The back board chip receives the message sent by the line card, knows the original port according to the VLAN ID, then looks up the table and forwards the message, performs various Ethernet switching operations, finally sends the message to the corresponding line card, and inserts a VLAN ID to represent the final outlet.
However, in the centralized switching system, a normal flow control mechanism still exists between the line card and the backplane, and a serious head blocking problem (HOL) may exist, as shown in fig. 1, Y, Z two ports in the figure are congested, so that a flow control frame may be sent to the P port, and after the backplane responds, the whole Q port may be blocked. Although the congestion problem of Y, Z is solved, other messages with small traffic quantity which need to be sent out from the W, X port through the Q port are blocked, and the problem of head blockage is caused.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method and a device for controlling the flow between a line card and a backboard in a centralized switching system, which can avoid the problem of head blockage.
In order to achieve the purpose, the invention provides the following technical scheme: a flow control method between a line card and a backplane in a centralized switching system comprises the following steps:
s100, the line card receives a flow control frame, adds downlink port information of the received flow control frame into the flow control frame, and further sends the flow control frame containing the downlink port information to a back panel;
s200, the back plate blocks a queue group corresponding to the information of the downlink port in the flow control frame in the output port;
s300, a back plate carries out buffer area occupation statistics on an input port which sends a data packet to a downlink port which receives a flow control frame through an output port, and the buffer area occupation statistics is carried out through the downlink port of a line card connected with the input port;
and S400, the backboard judges whether the buffer area occupation statistics are larger than a preset threshold value or not, adds the downlink port information of which the buffer area occupation statistics are larger than the preset threshold value into the flow control frame and sends the flow control frame to the line card connected with the ingress port when the buffer area occupation statistics are larger than the preset threshold value, and the line card connected with the ingress port sends the flow control frame from the corresponding downlink port according to the downlink port information in the flow control frame.
Preferably, a port information field for indicating port information is set in the flow control frame, and the line card or the backplane adds downlink port information through the port information field.
Preferably, the flow control frame includes a first flow control frame defined based on ieee802.3x, and the port information field is located in a reserved field after the time parameter field in the first flow control frame.
Preferably, the flow control frame comprises a second flow control frame defined based on ieee802.1qbb, and the port information field is set in a reserved field after a seventh time parameter field in the second flow control frame.
Preferably, the length of the port information field is 2 bytes.
The invention also discloses a flow control device between the line card and the backboard in the centralized switching system, which comprises
The first frame processing module is arranged in the line card and used for adding the downstream port information of the received flow control frame into the flow control frame and further sending the flow control frame containing the downstream port information to the backboard;
the blocking module is arranged in the back plate and used for blocking a queue group corresponding to the information of the downlink port in the flow control frame in the outlet port of the back plate;
the counting module is arranged in the backboard and used for counting the occupation of a buffer area of an input port which sends a data packet to a downlink port which receives a flow control frame through an output port, wherein the occupation of the buffer area is counted through the downlink port of a line card connected with the input port;
the judging module is arranged in the backboard and used for judging whether the occupation statistics of the buffer area is greater than a preset threshold value or not;
the second frame processing module is arranged in the backboard and used for adding the information of the downlink port with the buffer area occupation statistics larger than the preset threshold value into the flow control frame and sending the information to the line card connected with the input port when the judging module judges that the buffer area occupation statistics is larger than the preset threshold value;
and the frame forwarding module is arranged in the line card and used for sending the flow control frame from the corresponding downlink port according to the downlink port information in the flow control frame.
Preferably, a port information field for indicating port information is set in the flow control frame, and the line card or the backplane adds downlink port information through the port information field.
Preferably, the flow control frame comprises a first flow control frame defined based on ieee802.3x, and the port information field is located in a reserved field following the time parameter field in the first flow control frame.
Preferably, the flow control frame comprises a second flow control frame defined based on ieee802.1qbb, and the port information field is provided in a reserved field after a seventh time parameter field in the second flow control frame.
Preferably, the length of the port information field is 2 bytes.
The invention has the beneficial effects that:
(1) the line card receives a common flow control frame from the downstream port, does not block the downstream port receiving the flow control frame, but adds corresponding downstream port information to the flow control frame and sends the flow control frame to the backplane, and the backplane blocks a queue group corresponding to the downstream port in the flow control frame, thereby avoiding the generation of a head blocking problem (HOL).
(2) On the backboard, buffer area occupation statistics is carried out based on the lower connection port of the line card, and the fact that which lower connection port of the line card has large-flow input can be accurately known.
Drawings
Fig. 1 is a schematic diagram of connection between a line card and a backplane in a centralized switching system;
FIG. 2 is a schematic flow chart of the method of the present invention;
fig. 3 is a block diagram of the apparatus of the present invention.
Detailed Description
The technical solution of the embodiment of the present invention will be clearly and completely described below with reference to the accompanying drawings of the present invention.
As shown in fig. 2, a method for controlling a flow between a line card and a backplane in a centralized switching system disclosed by the present invention includes:
s100, the line card receives a flow control frame, adds downlink port information of the received flow control frame into the flow control frame, and further sends the flow control frame containing the downlink port information to a back panel;
specifically, in this embodiment, the present invention is described in detail by taking the centralized switching system shown in fig. 1 as an example, where the illustrated centralized switching system includes a backplane (Fabric) and two Line cards (Line cards) (respectively denoted as a first Line Card and a second Line Card) connected to the backplane. Each line card connected to the backplane has an upstream port connected to the backplane and at least one downstream port connected to a downstream device, for example, a first line card has an upstream port M connected to the backplane and four downstream ports A, B, C, D connected to the downstream devices (not shown), where the upstream port M is connected to port N of the backplane; the second line card has an add port P connected to the backplane and four drop ports W, X, Y, Z connected to downstream devices, where the add port P is connected to port Q of the backplane. When any downstream device connected by the first line card through the downstream port on the first line card is congested, or any downstream device connected by the second line card through the downstream port on the second line card is congested, the downstream device sends a common flow control frame to the downstream port connected to the downstream device, and when the downstream device connected by the second line card through the downstream port Z is congested, the downstream device sends a common flow control frame to the upstream port Z.
When the line card receives a flow control frame sent by downstream equipment through a downstream port, the line card further adds downstream port information for receiving the flow control frame into the flow control frame, and does not perform blocking processing on the downstream port, the line card further sends the flow control frame containing the downstream port information into a backplane, if a second line card receives the flow control frame through a downstream port Z, the line card further adds the information of the downstream port Z into the flow control frame, does not perform blocking processing on the downstream port Z, and finally sends the flow control frame containing the downstream port Z information into the backplane.
In order to enable the flow control frame to carry the port information, the invention adds the port information field for marking the port information in the flow control frame by self-defining configuration of the flow control frame, and the line card or the backboard can add the port information to the flow control frame through the port information field. In this embodiment, the flow control frame includes a first flow control frame and a second flow control frame, where the first flow control frame is defined by ieee802.3 x; the second flow control frame is defined by ieee802.1qbb. For the first flow control frame, it may be added in a reserved (Padding) field after the Time parameter field (Pause _ Time), such as the port information field occupies two bytes in the reserved (Padding) field; for the second streaming frame, it may be added in a reserved (Padding) field after the seventh Time parameter (Time7) field, e.g., the port info field occupies two bytes in the reserved (Padding) field. After the port information field is added to the first flow control frame or the second flow control frame, the length of the flow control frame still maintains 64 bytes.
And S200, blocking a queue group corresponding to the downlink port information in the flow control frame in the output port by the back panel.
Specifically, as shown in fig. 1, each port on the backplane, such as ports N and Q, includes a plurality of Queue groups (Queue groups), the number of Queue groups corresponds to the downstream ports of the line cards connected to the ports, such as for port Q of the backplane, the line card (second line card) connected to the port Q has four downstream ports, so that port Q has four Queue groups (respectively denoted as G0/G1/G2/G3), and each Queue Group corresponds to one downstream port, and the packet sent from the downstream port to the upstream port enters into the corresponding Queue Group, such as Queue Group G0 corresponds to downstream port W, and the packet sent from the downstream port W to the upstream port P enters into Queue Group G0, and similarly, the packet sent from the downstream port X to the upstream port P enters into Queue Group G1, and the downstream port Y sends the packet into Queue Group G2 in the upstream port P, the message sent from the downlink port Z to the uplink port P enters a queue group G3.
In order to avoid the generation of the head blocking problem (HOL), after receiving a flow control frame including information of a downstream port, the backplane performs blocking processing on a queue group in an output port connected to a line card sending the flow control frame, and the queue group corresponds to the downstream port information carried in the flow control frame, for example, the backplane receives a flow control frame sent by a second line card, where the flow control frame includes information of a downstream port Z, and the backplane further performs blocking processing on a queue group G3 in an output port Q connected to the second line card, that is, it is said that a data packet addressed to the downstream port Z in the output port Q cannot be normally sent, and a data packet addressed to the downstream port W, X, Y in the output port 35q can be normally sent, thereby avoiding the generation of the head blocking problem (HOL).
S300, the backboard carries out buffer area occupation statistics on an input port, the input port is used for sending a data packet to a downstream port for receiving a flow control frame through an output port, and the buffer area occupation statistics is carried out on the basis of the downstream port of a line card connected with the input port;
specifically, when the queue group G3 in port Q on the backplane is blocked, there may be packets continuously coming in from port N and going out from port Q, and the buffer occupancy statistics for port N on the backplane will continue to increase. Because the statistics of the occupied buffer area of the port N is based on the downstream port of the line card (first line card) connected to the port N, only the statistics of the occupied buffer area corresponding to the downstream port that really has a larger flow entering will be increased at the four downstream ports of the first line card until the statistics is increased to the preset threshold, if the downstream port B, C, D of the first line card sends a data packet to the downstream port Z of the second line card through the backplane, at the port N of the backplane, the statistics of the occupied buffer area corresponding to the downstream port B, C, D is increased to the preset threshold, and the statistics of the occupied buffer area corresponding to the downstream port a is not increased to the preset threshold.
And S400, the backboard judges whether the buffer area occupation statistics are larger than a preset threshold value or not, adds the downlink port information of which the buffer area occupation statistics are larger than the preset threshold value into the flow control frame and sends the flow control frame to the line card connected with the ingress port when the buffer area occupation statistics are larger than the preset threshold value, and the line card connected with the ingress port sends the flow control frame from the corresponding downlink port according to the downlink port information in the flow control frame.
Specifically, the backplane determines the statistics of the occupied buffer areas corresponding to each downlink port on the line card connected to the ingress when performing the statistics of the occupied buffer areas at the ingress port, and sends a flow control frame to the line card when the statistics of the occupied buffer areas corresponding to the downlink ports is greater than a preset threshold, where the flow control frame includes information of the downlink ports whose statistics of the occupied buffer areas are greater than the preset threshold, and the addition of the information of the downlink ports is detailed above in implementation, and is not described here any more. As described above, at port N of the backplane, after the count of the occupied buffer area corresponding to the downstream port B, C, D increases to the preset threshold, the backplane sends three flow control frames to the first line card, where the three flow control frames are: the flow control frame comprises information of a downlink port B, the flow control frame comprises information of a downlink port C and the flow control frame comprises information of a downlink port D.
And the line card connected with the input port sends the flow control frame to corresponding downstream equipment according to the downstream port information in the flow control frame to prevent the data packet from being sent, and if the first line card receives the three flow control frames, the line card sends the flow control frame to the corresponding downstream equipment through the downstream port B, C, D according to the downstream port information carried in the flow control frame.
As shown in fig. 3, the present invention further discloses a flow control device between a line card and a backplane in a centralized switching system, which includes a first frame processing module, a blocking module, a counting module, a determining module, a second frame processing module, and a frame forwarding module, where each line card is provided with the first frame processing module and the frame forwarding module, and the backplane is provided with the blocking module, the counting module, the determining module, and the second frame processing module, and of course, in other embodiments, the flow control device may be set according to actual requirements. The first frame processing module is used for adding the downlink port information of the received flow control frame into the flow control frame and further sending the flow control frame containing the downlink port information to the back panel; the blocking module is used for blocking a queue group corresponding to the information of the downlink port in the flow control frame in the outlet port of the back plate; the counting module is used for counting the occupation of a buffer area of an input port, the input port is used for sending a data packet to a downlink port for receiving a flow control frame through an output port, and the occupation of the buffer area is counted through the downlink port of a line card connected with the input port; the judging module is used for judging whether the occupation statistics of the buffer area is larger than a preset threshold value or not; the second frame processing module is used for adding the information of the lower connection port of which the buffer area occupation statistics is larger than the preset threshold value into the flow control frame and sending the information to the line card connected with the input port when the judging module judges that the buffer area occupation statistics is larger than the preset threshold value; and the frame forwarding module is used for sending the flow control frame from the corresponding downlink port according to the downlink port information in the flow control frame.
Specifically, after a first frame processing module in the line card receives a flow control frame sent by a downstream device through a downstream port, the first frame processing module further adds downstream port information for receiving the flow control frame to the flow control frame, and does not perform blocking processing on the downstream port, the line card further sends the flow control frame containing the downstream port information to a backplane, and if a second line card receives the flow control frame through the downstream port Z, the second line card further adds information of the downstream port Z to the flow control frame, does not perform blocking processing on the downstream port Z, and finally sends the flow control frame containing the downstream port Z information to the backplane. How to add port information in the flow control frame is described in detail above, and is not described in detail herein.
In order to avoid the generation of the head blocking problem (HOL), after receiving a flow control frame containing information of a downstream port, a blocking module in a backplane blocks a queue group in an output port connected to a line card that sends the flow control frame, and the queue group corresponds to the downstream port information carried in the flow control frame, for example, the backplane receives the flow control frame sent by a second line card, where the flow control frame contains information of a downstream port Z, and the backplane further blocks a queue group G3 in an output port Q connected to the second line card through the blocking module, that is, it is said that a data packet addressed to the downstream port Z in the port Q cannot be normally sent, and a data packet addressed to the downstream port W, X, Y in the output port Q can be normally sent, thereby avoiding the generation of the head blocking problem (HOL).
How to perform the buffer occupation statistics by the statistics module is described in detail above, and is not described in detail herein.
When the back plate performs buffer occupation statistics on the input port, the back plate also judges the buffer occupation statistics corresponding to each downlink port on the line card connected with the input port through the judging module, when the buffer occupation statistics corresponding to the downlink ports are larger than a preset threshold value, the back plate sends a flow control frame to the line card through the second frame processing module, the flow control frame contains the information of the downlink ports of which the buffer occupation statistics are larger than the preset threshold value, and during implementation, the detailed addition of the downlink port information is described above and is not repeated one by one again. As described above, at port N of the backplane, after the count of the occupied buffer area corresponding to the downstream port B, C, D increases to the preset threshold, the backplane sends three flow control frames to the first line card, where the three flow control frames are: the flow control frame comprises information of a downlink port B, the flow control frame comprises information of a downlink port C and the flow control frame comprises information of a downlink port D.
And a frame forwarding module in the line card connected with the input port sends the flow control frame to corresponding downstream equipment according to the information of the downstream port in the flow control frame so as to prevent the downstream equipment from sending a data packet, and if the first line card receives the three flow control frames, the flow control frame is sent to the downstream equipment through the corresponding downstream port according to the information of the downstream port carried in the flow control frame.
In the method and the device for flow control between the line card and the backplane in the centralized switching system, the line card receives a common flow control frame from the downlink port, does not block the downlink port receiving the flow control frame, but adds corresponding downlink port information and then sends the information to the backplane, and the backplane blocks a queue group corresponding to the downlink port in the flow control frame, thereby avoiding the generation of a head blocking problem (HOL). Meanwhile, after the line card receives the flow control frame containing the information of the downlink port, the line card only sends the flow control frame from the corresponding downlink port without executing the flow control action, so that the real action (blocking the port or the queue group) of the flow control only occurs on the back panel in the centralized switching system. In addition, on the backboard, buffer area occupation statistics is carried out based on the lower connection port of the line card, and the fact that which lower connection port of the line card has large flow input can be accurately known.
Therefore, the scope of the present invention should not be limited to the disclosure of the embodiments, but includes various alternatives and modifications without departing from the scope of the present invention, which is defined by the claims of the present patent application.

Claims (10)

1. A flow control method between a line card and a backplane in a centralized switching system is characterized by comprising the following steps:
s100, the line card receives a flow control frame, adds downlink port information of the received flow control frame into the flow control frame, and further sends the flow control frame containing the downlink port information to a back panel;
s200, the back plate blocks a queue group corresponding to the information of the downlink port in the flow control frame in the output port;
s300, the backboard carries out buffer area occupation statistics on an input port, the input port is used for sending a data packet to a downstream port for receiving a flow control frame through an output port, and the buffer area occupation statistics is carried out through the downstream port of a line card connected with the input port;
and S400, the backboard judges whether the buffer area occupation statistics is larger than a preset threshold value, adds the downlink port information of which the buffer area occupation statistics is larger than the preset threshold value into the flow control frame and sends the flow control frame to the line card connected with the ingress port when the buffer area occupation statistics is larger than the preset threshold value, and the line card connected with the ingress port sends the flow control frame from the corresponding downlink port according to the downlink port information in the flow control frame.
2. The method according to claim 1, wherein a port information field for indicating port information is provided in the flow control frame, and the line card or the backplane adds downstream port information through the port information field.
3. The method of claim 2, wherein the flow control frame comprises a first flow control frame defined according to ieee802.3x, and wherein the port information field is located in a reserved field following a time parameter field in the first flow control frame.
4. The method of claim 2, wherein the flow control frame comprises a second flow control frame defined according to ieee802.1qbb, and wherein the port information field is provided in a reserved field of the second flow control frame after a seventh time parameter field.
5. The method of claim 2, wherein the port information field is 2 bytes in length.
6. A flow control device between a line card and a backboard in a centralized switching system is characterized in that the device comprises
The first frame processing module is arranged in the line card and used for adding the downlink port information of the received flow control frame into the flow control frame and further sending the flow control frame containing the downlink port information to the back panel;
the blocking module is arranged in the back plate and used for blocking a queue group corresponding to the information of the downlink port in the flow control frame in the outlet port of the back plate;
the statistical module is arranged in the backboard and used for counting the occupation of a buffer area of the input port, the input port is used for sending a data packet to a downstream port for receiving the flow control frame through the output port, and the occupation of the buffer area is counted through the downstream port of a line card connected with the input port;
the judging module is arranged in the backboard and used for judging whether the occupation statistics of the buffer area is greater than a preset threshold value or not;
the second frame processing module is arranged in the backboard and used for adding the information of the downlink port with the buffer area occupation statistics larger than the preset threshold value into the flow control frame and sending the information to the line card connected with the input port when the judging module judges that the buffer area occupation statistics is larger than the preset threshold value;
and the frame forwarding module is arranged in the line card and used for sending the flow control frame from the corresponding downlink port according to the downlink port information in the flow control frame.
7. The apparatus according to claim 6, wherein a port information field for indicating port information is provided in the flow control frame, and the line card or the backplane adds downstream port information through the port information field.
8. The apparatus of claim 7, wherein the flow control frame comprises a first flow control frame defined according to ieee802.3x, and wherein the port information field is located in a reserved field following a time parameter field in the first flow control frame.
9. The apparatus of claim 7, wherein the flow control frame comprises a second flow control frame defined according to IEEE802.1Qbb, and wherein the port information field is provided in a reserved field of the second flow control frame after a seventh time parameter field.
10. The apparatus of claim 7, wherein the port information field is 2 bytes in length.
CN202010858535.8A 2020-08-24 2020-08-24 Flow control method and device between line card and backplane in centralized switching system Active CN111970210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010858535.8A CN111970210B (en) 2020-08-24 2020-08-24 Flow control method and device between line card and backplane in centralized switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010858535.8A CN111970210B (en) 2020-08-24 2020-08-24 Flow control method and device between line card and backplane in centralized switching system

Publications (2)

Publication Number Publication Date
CN111970210A CN111970210A (en) 2020-11-20
CN111970210B true CN111970210B (en) 2022-08-26

Family

ID=73389725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010858535.8A Active CN111970210B (en) 2020-08-24 2020-08-24 Flow control method and device between line card and backplane in centralized switching system

Country Status (1)

Country Link
CN (1) CN111970210B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878144A (en) * 2006-07-14 2006-12-13 华为技术有限公司 Multi-queue flow control method
CN1909508A (en) * 2006-08-23 2007-02-07 华为技术有限公司 Port flow control method
CN101123587A (en) * 2007-09-13 2008-02-13 杭州华三通信技术有限公司 Traffic control method and device for switch service flow
CN102611620A (en) * 2012-02-23 2012-07-25 福建星网锐捷网络有限公司 Congestion control method and message processing device
CN103888365A (en) * 2013-12-12 2014-06-25 电子科技大学 Method for performing flow control on FCoE port by utilizing fiber channel port flow control information
CN105072053A (en) * 2015-08-31 2015-11-18 安徽欧迈特数字技术有限责任公司 Flow control method for Ethernet switch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878144A (en) * 2006-07-14 2006-12-13 华为技术有限公司 Multi-queue flow control method
CN1909508A (en) * 2006-08-23 2007-02-07 华为技术有限公司 Port flow control method
CN101123587A (en) * 2007-09-13 2008-02-13 杭州华三通信技术有限公司 Traffic control method and device for switch service flow
CN102611620A (en) * 2012-02-23 2012-07-25 福建星网锐捷网络有限公司 Congestion control method and message processing device
CN103888365A (en) * 2013-12-12 2014-06-25 电子科技大学 Method for performing flow control on FCoE port by utilizing fiber channel port flow control information
CN105072053A (en) * 2015-08-31 2015-11-18 安徽欧迈特数字技术有限责任公司 Flow control method for Ethernet switch

Also Published As

Publication number Publication date
CN111970210A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
US6026075A (en) Flow control mechanism
EP0719012B1 (en) Traffic management and congestion control for packet-based network
US7274665B2 (en) Packet storm control
CA1279392C (en) Packet switching system arranged for congestion control
US6092108A (en) Dynamic threshold packet filtering of application processor frames
JPH0657016B2 (en) Congestion control type packet switching method and apparatus thereof
CN102726009B (en) Data flow exchange control method and relative device
JPH10145382A (en) Switch control circuit for atm switchboard
EP2442498B1 (en) Method and device for controlling switching network traffic
KR20100005051A (en) An apparatus and a method for realizing flow control based on rate restric for mstp device
KR100987258B1 (en) Apparatus and method for controling data flow in a communication system
EP1322079B1 (en) System and method for providing gaps between data elements at ingress to a network element
US7583606B2 (en) Reducing overhead when using loopback cells for fault detection in bi-directional virtual circuits
CN111431811A (en) Message transmission control method, device and network equipment
CN111970210B (en) Flow control method and device between line card and backplane in centralized switching system
US7218608B1 (en) Random early detection algorithm using an indicator bit to detect congestion in a computer network
CN106330652A (en) Learning method and device of MAC address in virtual local area network of switch
CN113050703B (en) Flow control method and device
US20200382436A1 (en) Packet processing device and network system
CN112511466A (en) Ethernet data transmission system of domain type rapid protection system of power distribution website
JPS63209247A (en) Packet exchanging system
EP1361709B1 (en) Using shadow Mcast/Bcast/Dlf counter and free pointer counter to balance unicast and Mcast/Bcast/Dlf frame ratio
JP2000224180A (en) Data priority transfer method
KR100387247B1 (en) Apparatus And Method For Traffic Flow Control Of Board Using Shared BUS
JP3454230B2 (en) Switch control circuit of ATM exchange

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant