WO2023098520A1 - 一种调节交换网板拥塞的方法、装置及系统 - Google Patents

一种调节交换网板拥塞的方法、装置及系统 Download PDF

Info

Publication number
WO2023098520A1
WO2023098520A1 PCT/CN2022/133531 CN2022133531W WO2023098520A1 WO 2023098520 A1 WO2023098520 A1 WO 2023098520A1 CN 2022133531 W CN2022133531 W CN 2022133531W WO 2023098520 A1 WO2023098520 A1 WO 2023098520A1
Authority
WO
WIPO (PCT)
Prior art keywords
line card
data
transmitted
target line
amount
Prior art date
Application number
PCT/CN2022/133531
Other languages
English (en)
French (fr)
Inventor
林聚承
Original Assignee
锐捷网络股份有限公司
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 锐捷网络股份有限公司 filed Critical 锐捷网络股份有限公司
Publication of WO2023098520A1 publication Critical patent/WO2023098520A1/zh

Links

Images

Classifications

    • 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/12Avoiding congestion; Recovering from congestion

Definitions

  • the invention relates to the technical field of communication processing, in particular to a method, device and system for adjusting congestion of a switching network board.
  • the switching network system is mainly responsible for completing the information exchange of network data packets.
  • the switching fabric system mainly includes a source line card, a target line card, and a switching fabric board, wherein the source line card sends data packets to the target line card through the switching fabric board.
  • the source line card sends data packets to the target line card through the switching fabric board.
  • Embodiments of the present application provide a method, device, and system for adjusting congestion of a switching fabric, so that congestion of the switching fabric can be avoided.
  • an embodiment of the present application provides a method for adjusting congestion of a switching fabric unit, the method comprising:
  • the first signaling response includes at least the first amount of data to be transmitted determined by the target line card based on the priority of the first signaling request;
  • this application sends the data through the source line card.
  • the signaling application containing the amount of data to be transmitted is applied to the target line card, and after the signaling response containing the amount of data to be transmitted is determined according to the priority of the signaling application sent by the target line card according to the source line card, the The amount of data to be transmitted is sent to the target line card, so that the congestion of the SFU can be avoided more accurately.
  • the sending the data to be transmitted to the target line card according to the first amount of data to be transmitted includes:
  • the preset time period, and the first amount of data to be transmitted determine the number of times the second signaling request is sent to the target line card through the SFU and send the second signaling request to the target line card each time.
  • the second amount of data to be transmitted sent by the target line card
  • sending the second signaling request for the number of times to the target line card and sending the The target line card sends the data of the second to-be-transmitted data amount until the data of the first to-be-transmitted data amount in the to-be-transmitted data is sent to the target line card.
  • the present application further determines the number of times the source line card sends the second signaling request to the target line card and the amount of data sent each time through the bandwidth of the target line card, the preset time period, and the first amount of data to be transmitted, so that more accurate Send the data to be transmitted to the target line card.
  • the source line card includes a pre-allocated number of times for sending the second signaling request to the target line card, and the method further includes:
  • the source line card receives the second signaling response sent by the target line card through the SFU, increase the pre-allocation times
  • the data to be transmitted in the source line card is discarded, so as to adjust the congestion of the SFU.
  • This application can reduce the time delay of each data transmission by setting the pre-allocation times of the second signaling request in the source line card, and can also more accurately determine whether the data to be transmitted in the source line card is discarded data, thereby avoiding exchange The network board is congested.
  • Dividing the first amount of data to be transmitted by the second amount of data to be transmitted is determined as the number of times the second signaling request is sent to the target line card.
  • This application further determines the number of times the source line card sends the second signaling request to the target line card and the amount of data sent each time through the specific calculation method between the bandwidth of the target line card, the preset time period, and the first amount of data to be transmitted , so that the data to be transmitted can be sent to the target line card more accurately.
  • the target line card includes a plurality of target ports with different priorities
  • the received data message is parsed to obtain the target line card identifier corresponding to the data message, the The amount of data, and the data to be transmitted contained in the data message include:
  • the source line card can more accurately transmit data to the corresponding target port after parsing the data message, so as to avoid congestion of the switching network board.
  • an embodiment of the present application provides a method for adjusting congestion of a switching fabric unit, which is applied to a target line card, and the method includes:
  • the first signaling request is generated based on the amount of data, and the amount of data is obtained after the source line card parses the received data message of;
  • Generating according to the priority of the first signaling request at least includes sending a first signaling response of a first amount of data to be transmitted to the source line card, and sending the first signaling response to the source line card , so that the source line card sends the data to be transmitted obtained after parsing the data packet to the target line card according to the first amount of data to be transmitted.
  • the method further includes:
  • an embodiment of the present application provides a device for adjusting congestion on a switching fabric board, which is applied to a source line card, and the device includes:
  • An analysis module configured to analyze the received data message to obtain the target line card identifier corresponding to the data message, the data volume of the data message, and the data to be transmitted contained in the data message;
  • a processing module configured to generate a first signaling request based on the amount of data, send the first signaling request to a target line card corresponding to the target line card identifier through a switching fabric unit, and receive the target line card A first signaling response sent; the first signaling response at least includes the first amount of data to be transmitted determined by the target line card based on the priority of the first signaling request;
  • a sending module configured to send the data to be transmitted to the target line card according to the first amount of data to be transmitted.
  • the sending module is specifically used for:
  • the preset time period, and the first amount of data to be transmitted determine the number of times the second signaling request is sent to the target line card through the SFU and send the second signaling request to the target line card each time.
  • the second amount of data to be transmitted sent by the target line card
  • sending the second signaling request for the number of times to the target line card and sending the The target line card sends the data of the second to-be-transmitted data amount until the data of the first to-be-transmitted data amount in the to-be-transmitted data is sent to the target line card.
  • the source line card includes a pre-allocated number of times for sending the second signaling request to the target line card
  • the device further includes:
  • the source line card receives the second signaling response sent by the target line card through the SFU, increase the pre-allocation times
  • the data to be transmitted in the source line card is discarded, so as to adjust the congestion of the SFU.
  • the sending module determines to send the second signaling to the target line card through the SFU based on the bandwidth of the target line card, a preset time period, and the first amount of data to be transmitted
  • the number of requests and the second amount of data to be transmitted each time sent to the target line card are specifically used for:
  • Dividing the first amount of data to be transmitted by the second amount of data to be transmitted is determined as the number of times the second signaling request is sent to the target line card.
  • the target line card includes a plurality of target ports with different priorities
  • the parsing module parses the received data message to obtain the target line card identifier corresponding to the data message, the data
  • the data volume of the message and the data to be transmitted contained in the data message are specifically used for:
  • an embodiment of the present application provides a device for adjusting congestion of a switching fabric unit, which is applied to a target line card, and the device includes:
  • a receiving module configured to receive a first signaling request sent by a source line card through a switching fabric board; the first signaling request is generated based on a data volume, and the data volume is data received by the source line card pair obtained after packet analysis;
  • a generating module configured to generate a first signaling response at least including sending a first amount of data to be transmitted to the source line card according to the priority of the first signaling request, and send the first signaling response to The source line card, so that the source line card sends the data to be transmitted obtained after parsing the data packet to the target line card according to the first amount of data to be transmitted.
  • the generating module after the generating module sends the first signaling response to the source line card, it is further configured to:
  • an embodiment of the present application provides a system for adjusting congestion of a switching fabric unit, where the system includes: a source line card, a target line card, and a switching fabric unit;
  • the source line card is configured to parse the received data message to obtain the target line card identifier corresponding to the data message, the data volume of the data message, and the data to be transmitted contained in the data message data; and generate a first signaling request based on the amount of data, and send the first signaling request to a target line card corresponding to the target line card identifier through the switching fabric board;
  • the target line card is configured to receive the first signaling request sent by the source line card through the switching fabric board, and generating according to the priority of the first signaling request includes at least sending the request to the source line card sending a first signaling response of a first amount of data to be transmitted, and sending the first signaling response to the source line card;
  • the source line card is further configured to receive the first signaling response sent by the target line card; and send the data to be transmitted to the target line card according to the first amount of data to be transmitted.
  • the source line card when the source line card sends the data to be transmitted to the target line card according to the first amount of data to be transmitted, it is specifically used for:
  • the source line card determines, based on the bandwidth of the target line card, a preset time period, and the first amount of data to be transmitted, the number of times and the number of times the second signaling request is sent to the target line card through the SFU.
  • the second amount of data to be transmitted sent to the target line card each time;
  • sending the second signaling request for the number of times to the target line card and sending the The target line card sends the data of the second to-be-transmitted data amount until the data of the first to-be-transmitted data amount in the to-be-transmitted data is sent to the target line card.
  • the source line card includes a pre-allocated number of times for sending the second signaling request to the target line card, and the source line card is also used for:
  • the source line card receives the second signaling response sent by the target line card through the SFU, increase the pre-allocation times
  • the data to be transmitted in the source line card is discarded, so as to adjust the congestion of the SFU.
  • the source line card determines to send the second message to the target line card through the SFU based on the bandwidth of the target line card, a preset time period, and the first amount of data to be transmitted.
  • the number of requests and the second amount of data to be transmitted to the target line card each time it is specifically used for:
  • Dividing the first amount of data to be transmitted by the second amount of data to be transmitted is determined as the number of times the second signaling request is sent to the target line card.
  • the target line card includes a plurality of target ports with different priorities
  • the source line card parses the received data message to obtain the target line card identifier corresponding to the data message, the data
  • the data volume of the message and the data to be transmitted contained in the data message are specifically used for:
  • an embodiment of the present application provides a device for adjusting congestion of a switching fabric unit, including: a processor and a display;
  • the display is used to display a user operation interface
  • the processor is configured to execute any method provided in the first aspect above or the method described in the second aspect.
  • an embodiment of the present application also provides a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the device for adjusting the congestion of the switching network board, the adjustment of the switching network board congestion
  • the congested device can execute any method provided in the first aspect of the present application or the method described in the second aspect.
  • an embodiment of the present application provides a computer program product, including computer programs/instructions, and when the computer programs/instructions are executed by a processor, any method or the second method provided in the first aspect of the application is implemented. method described in the aspect.
  • FIG. 1 is a schematic diagram of an application scenario of a method for adjusting congestion of a switching fabric provided in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for adjusting congestion of a switching fabric provided in an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a source line card sending data to a target line card through a switching fabric board provided by an embodiment of the present application;
  • FIG. 4 is a schematic structural diagram of a target line card including multiple priority target ports provided by an embodiment of the present application
  • FIG. 5 is a schematic flowchart of the interaction between the source line card, the SFU, and the target line card in the system for adjusting the congestion of the SFU provided by the embodiment of the present application;
  • FIG. 6 is a schematic structural diagram of a device for adjusting congestion of a switching fabric provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a device for adjusting congestion of a switching fabric provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a device for adjusting congestion of a switching fabric provided by an embodiment of the present application.
  • Line Card (Line Card, LC) is a device interface between the access line of a switch, router or other network equipment and the access device.
  • the source line card refers to the line card that receives the data message and sends the data to be transmitted contained in the parsed data message.
  • the target line card refers to the line card that receives the data to be transmitted from the source line card.
  • the SFU is used to send data in multiple source line cards to corresponding target line cards.
  • the switching network system is mainly responsible for completing the information exchange of network data packets.
  • the switching fabric system mainly includes a source line card, a target line card, and a switching fabric board, wherein the source line card sends data packets to the target line card through the switching fabric board.
  • the source line card sends data packets to the target line card through the switching fabric board.
  • the amount of data packets sent by the SFU to the target line card is greater than the amount of data that can be sent according to the increased bandwidth convergence ratio, and the SFU will still be congested.
  • it is possible to avoid the congestion of the SFU by monitoring the data delay of each data packet transmitted in the SFU in real time. However, due to the lag of the delay detection, the SFU will still be congested. .
  • this application provides a method for adjusting the congestion of the switching network board.
  • the source line card sends a signaling application containing the amount of data to be transmitted to the target line card, and according to the signal sent by the source line card, the target line card After the signaling response including the amount of data to be transmitted is determined by the priority of the application, the data to be transmitted is sent to the target line card according to the amount of data to be transmitted, so that the congestion of the switching network board can be avoided more accurately.
  • FIG. 1 it is a schematic diagram of an application scenario of a method for adjusting SFU congestion provided by an embodiment of the present application.
  • This application scenario includes line card 1, line card 2, line card 3, line card 4, and SFU. Assuming that line card 1 receives a data packet, line card 1 acts as the source line card and Perform analysis to obtain the target line card ID corresponding to the data message, the data volume of the data message, and the data to be transmitted contained in the data message.
  • line card 1 Generate a first signaling request based on the amount of data, and send the first signaling request to the line card 3 through the SFU, and the line card 3 generates a first signaling request containing at least the first amount of data to be transmitted based on the priority of the first signaling request.
  • the method provided in the embodiment of the present application is not limited to the application scenario shown in FIG. 1 , and can also be used in other possible application scenarios, which is not limited by the embodiment of the present application.
  • the functions that can be realized by each device in the application scenario shown in FIG. 1 will be described together in subsequent method embodiments, and will not be repeated here.
  • the embodiment of the present application provides a method for adjusting the congestion of the switching network board, including the following steps:
  • line card 1 and line card 2 are both source line cards
  • line card 3 is the target line card.
  • Both line card 1 and line card 2 send data to line card 3 through the SFU
  • line card 1 , line card 2 and line card 3 all include panel port 1, panel port 2, ..., panel port n (n is a positive integer), and the bandwidths of line card 1, line card 2 and line card 3 are respectively corresponding to The sum of the bandwidth of panel port 1, panel port 2, ..., panel port n.
  • the bandwidths of panel port 1, panel port 2, ..., and panel port n corresponding to line card 1 are all 10G, so the bandwidth of line card 1 is 10nG.
  • the line card 1 and the line card 2 After the line card 1 and the line card 2 receive the data message, they analyze the data message, and determine that the target line cards are both the line card 3 according to the target line card identifier corresponding to the data message. At the same time, the line card 1 can also obtain, according to the analysis result, that the data volume of the data message is 200G and the data to be transmitted included in the data message. The line card 2 can also obtain, according to the analysis result, that the data volume of the data message is 100G and the data to be transmitted included in the data message.
  • S202 Generate a first signaling request based on the amount of data, send the first signaling request to the target line card corresponding to the target line card identifier through the SFU, and receive the first signaling response sent by the target line card; the first signaling The command response includes at least the first amount of data to be transmitted determined by the target line card based on the priority of the first signaling request.
  • the line card 1, as the source line card may also include a signaling management unit 1, wherein the signaling management unit 1 includes a signaling register 11 corresponding to the target line card 1, and a signaling register 11 corresponding to the target line card 2.
  • the line card 2 also includes a signaling management unit 2, wherein the signaling management unit 2 includes a signaling register 21 corresponding to the target line card 1, a signaling register 22 corresponding to the target line card 2, ..., a target line card n Corresponding signaling register 2n.
  • the line card 3 may also include a scheduling management unit 1, wherein the scheduling management unit 1 includes a signaling application counter 1 corresponding to the source line card 1, a signaling application counter 2 corresponding to the source line card 2, ..., and a source line card 2. Signaling application counter n corresponding to card n.
  • the data volume in the first signaling request sent by line card 1 is 200G
  • the data volume in the first signaling request sent by line card 2 is 100G
  • line card 3 is used as the target line card.
  • the 200G data volume receivable by the line card 3 is allocated to the line card 1 with 100G data volume
  • the 100G data volume is allocated to the line card 2.
  • the first signaling response of line card 1 includes at least 100G of the first data volume to be transmitted
  • the first signaling response of line card 2 includes at least 100G of the first data volume to be transmitted. Therefore, the line card 1 and the line card 2 can respectively continue to send multiple second signaling requests to the line card 3, so as to send the 100G data of the first to-be-transmitted data amount to be transmitted to the line card 3 respectively.
  • the source line card can send a second signaling application to the corresponding target line card, in order to reduce the source line card to the corresponding
  • the delay of sending data by the target line card can be assigned a preset number of times to the signaling register corresponding to each target line card.
  • the source line card includes the number of pre-allocations for sending the second signaling request to the target line card, and if the source line card sends the second signaling request to the target line card through the SFU, then reduce the number of pre-allocations; if the source The line card receives the second signaling response sent by the target line card through the SFU, and then increases the number of pre-allocations; when the number of pre-allocations is less than or equal to zero, discards the data to be transmitted in the source line card, so as to adjust the switching network board. congestion.
  • line card 1 Send the second signaling request to the line card 3 once, the number of times in the signaling register 11 is reduced by one, and the line card 1 receives the second signaling response sent by the line card 3 once, and the number of times in the signaling register 11 is increased by one.
  • Line card 3 receives the second signaling request sent by line card 1 once, and the number of times in signaling application counter 1 is incremented by one, and line card 3 sends a second signaling response to line card 1, and the number of times in signaling application counter 1 is minus one.
  • the number of pre-allocations to the signaling register 11 is 3 times. When the number of pre-allocations is reduced to 0, the second signaling response is still not received. In order to avoid congestion of the switching network board, the data to be transmitted in the line card 1 throw away.
  • the preset time period, and the first amount of data to be transmitted determine the number of times the second signaling request is sent to the target line card through the SFU and the second signaling request sent to the target line card each time.
  • the amount of data to be transmitted, the number of second signaling requests sent to the target line card, and after receiving the second signaling response from the target line card each time containing the second amount of data to be transmitted, sending the second signaling request to the target line card The data of the second data volume to be transmitted, until the data of the first data volume to be transmitted in the data to be transmitted is sent to the target line card.
  • the product obtained by multiplying the bandwidth of the target line card by the preset time period is determined as the second amount of data to be transmitted to the target line card each time; the first amount of data to be transmitted is divided by the second amount of data to be transmitted to determine is the number of times the second signaling request is sent to the target line card.
  • the received data message is analyzed to obtain the target port identifier and data message corresponding to the target line card corresponding to the data message.
  • the amount of data and the data to be transmitted contained in the data message.
  • the line card 3 in FIG. 3 includes a target port 31 and a target port 32, and the priority of the target port 31 is higher than that of the target port 32, and the target port 31 includes a queue 311 and a queue 312,
  • the target port 32 further includes a queue 321 and a queue 322 , and the priority of the queue 311 is higher than that of the queue 312 , and the priority of the queue 321 is higher than that of the queue 322 .
  • Queue 311, queue 312, queue 321, and queue 322 respectively include scheduling management units, wherein each scheduling management unit includes signaling application counter 1 corresponding to source line card 1, signaling application counter 2 corresponding to source line card 2, ... , a signaling application counter n corresponding to the source line card n (n is a positive integer).
  • the source line card can more accurately transmit data to the corresponding target port after parsing the data packet, so as to avoid congestion of the switching network board.
  • FIG. 5 shows a schematic flowchart of the interaction between the source line card, the SFU and the target line card in the system for adjusting the congestion of the SFU provided by the embodiment of the present application, including the following steps:
  • the source line card parses the received data message, obtains the target line card identifier corresponding to the data message, the data amount of the data message, and the data to be transmitted contained in the data message, and generates a first message based on the data amount order request;
  • the source line card sends the first signaling request to the target line card corresponding to the target line card identifier through the SFU;
  • the target line card generates a first signaling response including at least the first amount of data to be transmitted based on the priority of the first signaling request;
  • the target line card sends the first signaling response to the source line card through the SFU;
  • the source line card determines the number of times the second signaling request is sent to the target line card through the SFU and the number of times the second signaling request is sent to the target line card each time. The second amount of data to be transmitted, and the number of pre-allocated times for the second signaling request;
  • the source line card sends a second signaling request to the target line card for a number of times, and sends the second signaling request to the target line card after each receiving a second signaling response from the target line card that includes the second amount of data to be transmitted. 2.
  • Data of the data volume to be transmitted until the data of the first data volume to be transmitted in the data to be transmitted is sent to the target line card;
  • the source line card sends the second signaling request to the target line card through the SFU, then reduce the pre-allocation times; if the source line card receives the second signaling response sent by the target line card through the SFU, increase the pre-allocation times Number of allocations; when the number of pre-allocations is less than or equal to zero, the data to be transmitted in the source line card is discarded.
  • the device 600 includes:
  • the parsing module 601 is configured to parse the received data message to obtain the target line card identification corresponding to the data message, the data volume of the data message, and the data to be transmitted contained in the data message;
  • the processing module 602 is configured to generate a first signaling request based on the amount of data, send the first signaling request to the target line card corresponding to the target line card identifier through the switching fabric board, and receive the first signaling response sent by the target line card ;
  • the first signaling response includes at least the first amount of data to be transmitted determined by the target line card based on the priority of the first signaling request;
  • the sending module 603 is configured to send the data to be transmitted to the target line card according to the first amount of data to be transmitted.
  • the sending module 603 is specifically used for:
  • the source line card includes a pre-allocated number of times for sending the second signaling request to the target line card
  • the device further includes:
  • the source line card sends a second signaling request to the target line card through the switching fabric board, then reduce the number of times of pre-allocation
  • the source line card receives the second signaling response sent by the target line card through the switching fabric board, then increase the pre-allocation times;
  • the data to be transmitted in the source line card is discarded, so as to adjust the congestion of the SFU.
  • the sending module 603 based on the bandwidth of the target line card, the preset time period, and the first amount of data to be transmitted, determine the number of times the second signaling request is sent to the target line card through the SFU and each time the second signaling request is sent to the target line card.
  • the second amount of data to be transmitted sent by the card specifically used for:
  • the product obtained by multiplying the bandwidth of the target line card by the preset time period is determined as the second amount of data to be transmitted sent to the target line card each time;
  • the number of times the second signaling request is sent to the target line card is determined by dividing the first amount of data to be transmitted by the second amount of data to be transmitted.
  • the target line card includes a plurality of target ports with different priorities
  • the parsing module 601 parses the received data message to obtain the target line card identifier corresponding to the data message, the data volume of the data message, and
  • the data to be transmitted contained in the data message is specifically used for:
  • the received data message is analyzed to obtain the target port identifier in the target line card corresponding to the data message, the data volume of the data message, and the data to be transmitted contained in the data message.
  • FIG. 7 another embodiment of the present application provides a device for adjusting congestion on a switching fabric board, which is applied to a target line card.
  • the device 700 includes:
  • the receiving module 701 is configured to receive the first signaling request sent by the source line card through the switching fabric board; the first signaling request is generated based on the amount of data, and the amount of data is obtained after the source line card parses the received data message of;
  • a generating module 702 configured to generate a first signaling response at least including sending a first amount of data to be transmitted to the source line card according to the priority of the first signaling request, and send the first signaling response to the source line card, so that The source line card sends the data to be transmitted obtained after parsing the data packet to the target line card according to the first amount of data to be transmitted.
  • the generating module 702 after the generating module 702 sends the first signaling response to the source line card, it is further configured to:
  • the device for adjusting the congestion of the SFU according to another exemplary embodiment of the present application is introduced.
  • the device for adjusting congestion of a switching fabric unit may at least include at least one processor and at least one memory.
  • the memory stores program codes, and when the program codes are executed by the processor, the processor is made to execute the steps in the method for adjusting switching network board congestion according to various exemplary embodiments of the present application described above in this specification.
  • a processor may perform steps in a method such as adjusting switching fabric congestion.
  • the following describes a device 120 for adjusting congestion on a switching fabric unit according to this embodiment of the present application with reference to FIG. 8 .
  • the device 120 for adjusting congestion of the switching fabric shown in FIG. 8 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
  • the device 120 for adjusting the congestion of the SFU is expressed in the form of a general device for adjusting the congestion of the SFU.
  • Components of the device 120 for adjusting SFU congestion may include, but are not limited to: the above at least one processor 121, the above at least one memory 122, and the bus 123 connecting different system components (including the memory 122 and the processor 121).
  • Bus 123 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.
  • the memory 122 may include readable media in the form of volatile memory, such as random access memory (RAM) 1221 and/or cache memory 1222 , and may further include a read only memory (ROM) 1223 .
  • RAM random access memory
  • ROM read only memory
  • Memory 122 may also include programs/utilities 1225 having a set (at least one) of program modules 1224 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.
  • the device 120 for regulating switching fabric congestion can also communicate with one or more external devices 124 (such as keyboards, pointing devices, etc.), and can also communicate with one or more devices that enable users to interact with the device 120 for regulating switching fabric congestion communicate, and/or communicate with any device (eg, a router, a modem, etc.) that enables the switch fabric congestion regulating device 120 to communicate with one or more other switch fabric congestion regulating devices. Such communication may occur through input/output (I/O) interface 125 .
  • the device 120 for regulating switching fabric congestion can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through a network adapter 126.
  • networks such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet
  • the network adapter 126 communicates with other modules of the device 120 for throttling switch fabric congestion via the bus 123 . It should be understood that although not shown in the figure, other hardware and/or software modules may be used in conjunction with the device 120 for adjusting switching fabric congestion, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
  • a computer-readable storage medium including instructions, such as the memory 122 including instructions, which can be executed by the processor 121 to complete the above method.
  • the computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
  • a computer program product including computer programs/instructions, and when the computer program/instructions are executed by the processor 121, any method of the method for adjusting switching network board congestion as provided in this application is implemented. .
  • various aspects of a method for adjusting switching fabric congestion provided by the present application may also be implemented in the form of a program product, which includes program codes.
  • the program product runs on a computer device, the program The code is used to cause the computer device to execute the steps in the method for adjusting the congestion of the switching fabric unit according to various exemplary embodiments of the present application described above in this specification.
  • a program product may take the form of any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • a readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • the program product for adjusting the congestion of the switching fabric in the embodiment of the present application may adopt a portable compact disk read-only memory (CD-ROM) and include program codes, and may run on the equipment for adjusting the congestion of the switching fabric.
  • CD-ROM portable compact disk read-only memory
  • the program product of the present application is not limited thereto.
  • a readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device, or device.
  • a readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any appropriate medium, including - but not limited to - wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program codes for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as "C" or similar programming language.
  • the program code can be executed completely on the device where the user adjusts the congestion of the switching network board, partly executes on the user's device, executes as an independent software package, partly executes on the device where the user adjusts the congestion of the switching network board, and partly remotely adjusts the switching network Execute on the device with congested board, or completely execute it on the device or server that remotely adjusts the congested switching fabric board.
  • the device that remotely adjusts switch fabric congestion can be connected to the user's server for adjusting switch fabric congestion through any kind of network, including a local area network (LAN) or a wide area network (WAN).
  • the device alternatively, can be connected to an external device that regulates switching fabric congestion (for example, via an Internet connection using an Internet service provider).
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable equipment for adjusting switching fabric congestion to operate in a specific manner, such that the instructions stored in the computer readable memory produce instructions comprising the instruction means product, the instruction device realizes the functions specified in one or more procedures of the flow chart and/or one or more blocks of the block diagram.
  • These computer program instructions may also be loaded into a computer or other programmable switching fabric adjustment device, so that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, thereby
  • the instructions executed on the device provide steps for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Abstract

本申请实施例涉及通信处理技术领域,公开了一种调节交换网板拥塞的方法、装置及系统,包括:对接收到的数据报文进行解析,得到数据报文对应的目标线卡标识、数据报文的数据量、以及数据报文包含的待传输数据;然后基于数据量生成第一信令请求,通过交换网板将第一信令请求发送给目标线卡标识对应的目标线卡,并接收目标线卡发送的第一信令响应;第一信令响应中至少包括目标线卡基于第一信令请求的优先级确定的第一待传输数据量;最后根据第一待传输数据量,向目标线卡发送待传输数据,从而可以避免交换网板出现拥塞的情况。

Description

一种调节交换网板拥塞的方法、装置及系统
相关申请的交叉引用
本申请要求于2021年12月1日递交的名称为“一种调节交换网板拥塞的方法、装置及系统”,申请号为202111450916.3的中国专利申请的优先权,其通过引用被全部并入本申请。
技术领域
本发明涉及通信处理技术领域,尤其涉及一种调节交换网板拥塞的方法、装置及系统。
背景技术
随着网络承载业务的不断发展,运营商和用户对网络的可靠性提出了越来越高的要求。作为重要的网络设备,路由器的高可用性对网络的可靠性起着决定性作用。交换网系统作为路由器的核心部分,主要负责完成网络数据报文的信息交换。
交换网系统主要包括源线卡、目标线卡和交换网板,其中源线卡通过交换网板向目标线卡发送数据报文。现有技术中存在通过调节源线卡与交换网板之间的带宽收敛比避免交换网板发生拥塞的情况,但是这样成本较高并且在进行数据报文传输过程中,若源线卡需要通过交换网板向目标线卡发送数据报文的数据量大于根据调高后的带宽收敛比可以发送的数据量,交换网板依然会出现拥塞的现象。另外还存在通过实时监控交换网板中传输的每条数据报文的数据量的时延避免交换网板发生拥塞的情况,但是由于时延检测具有滞后性,交换网板依然会出现拥塞的现象。
发明内容
本申请实施例提供一种调节交换网板拥塞的方法、装置及系统,从而可以避免交换网板出现拥塞的情况。
第一方面,本申请一实施例提供了一种调节交换网板拥塞的方法,所述方法包括:
对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;
基于所述数据量生成第一信令请求,通过交换网板将所述第一信令请求发送给所述目标线卡标识对应的目标线卡,并接收所述目标线卡发送的第一信令响应;所述第一信令响应中至少包括所述目标线卡基于所述第一信令请求的优先级确定的第一待传输数据量;
根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
相对于现有技术中通过调节源线卡与交换网板之间的带宽收敛比或者实时监控交换网板中传输的每条数据报文的数据量时延来说,本申请通过源线卡发送包含待传输数据的数据量的信令申请给目标线卡,并根据目标线卡按照源线卡发送的信令申请的优先级确定的包含待传输数据量的信令响应后,按照待传输数据量,向目标线卡发送待传输数据,从而可以更准确的避免交换网板出现拥塞现象。
可选的,所述根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据,包括:
基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量;
向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的包含所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
本申请通过目标线卡的带宽、预设时间周期和第一待传输数据量进一步确定源线卡向目标线卡发送第二信令请求的次数以及每次发送的数据量,从而可以更准确的向目标线卡发送待传输数据。
可选的,所述源线卡中包括向所述目标线卡发送所述第二信令请求的预先分配次数,所述方法还包括:
若所述源线卡通过所述交换网板向所述目标线卡发送所述第二信令请求,则减少所述预先分配次数;
若所述源线卡通过所述交换网板接收所述目标线卡发送的所述第二信令响应,则增加所述预先分配次数;
当所述预先分配次数小于或等于零时,丢弃所述源线卡中的所述待传输数据,以便于调节所述交换网板的拥塞。
本申请通过在源线卡中设置第二信令请求的预先分配次数,可以减少每次数据传输的时延,也可以更准确的确定源线卡中待传输数据是否为丢弃数据,进而避免交换网板出现拥塞现象。
可选的,所述基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量,包括:
将所述目标线卡的带宽乘以所述预设时间周期得到的积确定为每次向所述目标线卡发送的第二待传输数据量;
将所述第一待传输数据量除以所述第二待传输数据量确定为向所述目标线卡发送所述第二信令请求的次数。
本申请通过目标线卡的带宽、预设时间周期和第一待传输数据量之间的具体计算方式进一步确定源线卡向目标线卡发送第二信令请求的次数以及每次发送的数据量,从而可以更准确的向目标线卡发送待传输数据。
可选的,所述目标线卡包括多个不同优先级的目标端口,所述对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据,包括:
对接收到的数据报文进行解析,得到所述数据报文对应的所述目标线卡中所述目标端口标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据。
本申请通过对目标线卡设置不同优先级的目标端口,可以使得源线卡对数据报文解析后,更准确的向对应的目标端口传输数据,避免交换网板出现拥塞现象。
第二方面,本申请的一实施例提供了一种调节交换网板拥塞的方法,应用于目标线卡中,所述方法包括:
接收源线卡通过交换网板发送的第一信令请求;所述第一信令请求为基于数据量生成的,所述数据量为所述源线卡对接收到的数据报文解析后得到的;
根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡,以便于所述源线卡根据所述第一待传输数据量向所述目标线卡发送对所述数据报文解析后得到的待传输数据。
可选的,在将所述第一信令响应发送给所述源线卡之后,所述方法还包括:
接收所述源线卡通过所述交换网板发送的第二信令请求;所述第二信令请求的接收次数是基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量确定的;
每接收一次所述第二信令请求,发送包含第二待传输数据量的第二信令响应给所述源线卡,直至接收到所述待传输数据中所述第一待传输数据量的数据;所述第二待传输数据量是基于所述目标线卡的带宽、所述预设时间周期和所述第一待传输数据量确定的。
第三方面,本申请的一实施例提供了一种调节交换网板拥塞的装置,应用于源线卡中,所述装置包括:
解析模块,用于对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;
处理模块,用于基于所述数据量生成第一信令请求,通过交换网板将所 述第一信令请求发送给所述目标线卡标识对应的目标线卡,并接收所述目标线卡发送的第一信令响应;所述第一信令响应中至少包括所述目标线卡基于所述第一信令请求的优先级确定的第一待传输数据量;
发送模块,用于根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
可选的,所述发送模块,具体用于:
基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量;
向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的包含所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
可选的,所述源线卡中包括向所述目标线卡发送所述第二信令请求的预先分配次数,所述装置还包括:
若所述源线卡通过所述交换网板向所述目标线卡发送所述第二信令请求,则减少所述预先分配次数;
若所述源线卡通过所述交换网板接收所述目标线卡发送的所述第二信令响应,则增加所述预先分配次数;
当所述预先分配次数小于或等于零时,丢弃所述源线卡中的所述待传输数据,以便于调节所述交换网板的拥塞。
可选的,所述发送模块中基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量,具体用于:
将所述目标线卡的带宽乘以所述预设时间周期得到的积确定为每次向所述目标线卡发送的第二待传输数据量;
将所述第一待传输数据量除以所述第二待传输数据量确定为向所述目标 线卡发送所述第二信令请求的次数。
可选的,所述目标线卡包括多个不同优先级的目标端口,所述解析模块中对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据,具体用于:
对接收到的数据报文进行解析,得到所述数据报文对应的所述目标线卡中所述目标端口标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据。
第四方面,本申请的一实施例提供了一种调节交换网板拥塞的装置,应用于目标线卡中,所述装置包括:
接收模块,用于接收源线卡通过交换网板发送的第一信令请求;所述第一信令请求为基于数据量生成的,所述数据量为所述源线卡对接收到的数据报文解析后得到的;
生成模块,用于根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡,以便于所述源线卡根据所述第一待传输数据量向所述目标线卡发送对所述数据报文解析后得到的待传输数据。
可选的,所述生成模块在将所述第一信令响应发送给所述源线卡之后,还用于:
接收所述源线卡通过所述交换网板发送的第二信令请求;所述第二信令请求的接收次数是基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量确定的;
每接收一次所述第二信令请求,发送包含第二待传输数据量的第二信令响应给所述源线卡,直至接收到所述待传输数据中所述第一待传输数据量的数据;所述第二待传输数据量是基于所述目标线卡的带宽、所述预设时间周期和所述第一待传输数据量确定的。
第五方面,本申请一实施例提供了一种调节交换网板拥塞的系统,所述系统包括:源线卡、目标线卡和交换网板;
所述源线卡,用于对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;并基于所述数据量生成第一信令请求,通过所述交换网板将所述第一信令请求发送给所述目标线卡标识对应的目标线卡;
所述目标线卡,用于接收所述源线卡通过所述交换网板发送的所述第一信令请求,根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡;
所述源线卡,还用于接收所述目标线卡发送的所述第一信令响应;根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
可选的,所述源线卡在根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据时,具体用于:
所述源线卡基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量;
向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的包含所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
可选的,所述源线卡中包括向所述目标线卡发送所述第二信令请求的预先分配次数,所述源线卡还用于:
若所述源线卡通过所述交换网板向所述目标线卡发送所述第二信令请求,则减少所述预先分配次数;
若所述源线卡通过所述交换网板接收所述目标线卡发送的所述第二信令响应,则增加所述预先分配次数;
当所述预先分配次数小于或等于零时,丢弃所述源线卡中的所述待传输数据,以便于调节所述交换网板的拥塞。
可选的,所述源线卡在基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量时,具体用于:
将所述目标线卡的带宽乘以所述预设时间周期得到的积确定为每次向所述目标线卡发送的第二待传输数据量;
将所述第一待传输数据量除以所述第二待传输数据量确定为向所述目标线卡发送所述第二信令请求的次数。
可选的,所述目标线卡包括多个不同优先级的目标端口,所述源线卡对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据时,具体用于:
对接收到的数据报文进行解析,得到所述数据报文对应的所述目标线卡中所述目标端口标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据。
第六方面,本申请一实施例提供了一种调节交换网板拥塞的设备,包括:处理器和显示器;
所述显示器,用于显示用户操作界面;
所述处理器,被配置为执行如上述第一方面中提供的任一方法或第二方面所述的方法。
第七方面,本申请一实施例还提供了一种计算机可读存储介质,当所述计算机可读存储介质中的指令由调节交换网板拥塞的设备的处理器执行时,使得调节交换网板拥塞的设备能够执行如本申请第一方面中提供的任一方法或第二方面所述的方法。
第八方面,本申请一实施例提供了一种计算机程序产品,包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现如本申请第一方面中提供的任一方法或第二方面所述的方法。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,显而易见地,下面所介绍的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的调节交换网板拥塞的方法的应用场景示意图;
图2为本申请实施例提供的调节交换网板拥塞的方法的流程示意图;
图3为本申请实施例提供的源线卡通过交换网板向目标线卡发送数据的结构示意图;
图4为本申请实施例提供的包含多个优先级目标端口的目标线卡的结构示意图;
图5为本申请实施例提供的调节交换网板拥塞的系统中源线卡、交换网板和目标线卡之间交互的流程示意图;
图6为本申请实施例提供的调节交换网板拥塞的装置的结构示意图;
图7为本申请实施例提供的调节交换网板拥塞的装置的结构示意图;
图8为本申请一实施例提供的调节交换网板拥塞的设备示意图。
具体实施方式
为了使本领域普通人员更好地理解本申请的技术方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应所述理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致 的装置和方法的例子。
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。
(1)线卡(Line Card,LC),是用于交换机、路由器或其他网络设备的访问线路与访问设备间的一种设备接口。
(2)源线卡,是指接收数据报文,并发送解析后的数据报文包含的待传输数据的线卡。
(3)目标线卡,是指接收源线卡发送待传输数据的线卡。
(4)交换网板,是用于将多个源线卡中的数据发送给对应的目标线卡。
在具体实践过程中,随着网络承载业务的不断发展,运营商和用户对网络的可靠性提出了越来越高的要求。作为重要的网络设备,路由器的高可用性对网络的可靠性起着决定性作用。交换网系统作为路由器的核心部分,主要负责完成网络数据报文的信息交换。
交换网系统主要包括源线卡、目标线卡和交换网板,其中源线卡通过交换网板向目标线卡发送数据报文。现有技术中存在通过调节源线卡与交换网板之间的带宽收敛比避免交换网板发生拥塞的情况,但是这样成本较高并且在进行数据报文传输过程中,若源线卡需要通过交换网板向目标线卡发送数据报文的数据量大于根据调高后的带宽收敛比可以发送的数据量,交换网板依然会出现拥塞的现象。另外还存在通过实时监控交换网板中传输的每条数据报文的数据量的时延避免交换网板发生拥塞的情况,但是由于时延检测具有滞后性,交换网板依然会出现拥塞的现象。
为此,本申请提供了一种调节交换网板拥塞的方法,通过源线卡发送包含待传输数据的数据量的信令申请给目标线卡,并根据目标线卡按照源线卡发送的信令申请的优先级确定的包含待传输数据量的信令响应后,按照待传输数据量,向目标线卡发送待传输数据,从而可以更准确的避免交换网板出现拥塞现象。
在介绍完本申请实施例的设计思想之后,下面对本申请实施例的技术方 案能够适用的应用场景做一些简单介绍,需要说明的是,以下介绍的应用场景仅用于说明本申请实施例而非限定。在具体实施时,可以根据实际需要灵活地应用本申请实施例提供的技术方案。
参考图1,其为本申请实施例提供的调节交换网板拥塞的方法的应用场景示意图。该应用场景包括线卡1、线卡2、线卡3、线卡4和交换网板,假设线卡1接收到数据报文,则线卡1作为源线卡,对接收到的数据报文进行解析,得到数据报文对应的目标线卡标识、数据报文的数据量、以及数据报文包含的待传输数据,假设根据目标线卡标识确定目标线卡为线卡3,则线卡1基于数据量生成第一信令请求,通过交换网板将第一信令请求发送给线卡3,线卡3基于第一信令请求的优先级生成至少包含第一待传输数据量的第一信令响应,并将第一信令响应发送给线卡1,使得线卡1根据第一待传输数据量,向线卡3发送待传输数据。
当然,本申请实施例提供的方法并不限用于图1所示的应用场景中,还可以用于其它可能的应用场景,本申请实施例并不进行限制。对于图1所示的应用场景的各个设备所能实现的功能将在后续的方法实施例中一并进行描述,在此先不过多赘述。
为进一步说明本申请实施例提供的技术方案,下面结合附图以及具体实施方式对此进行详细的说明。虽然本申请实施例提供了如下述实施例或附图所示的方法操作步骤,但基于常规或者无需创造性的劳动在所述方法中可以包括更多或者更少的操作步骤。在逻辑上不存在必要因果关系的步骤中,这些步骤的执行顺序不限于本申请实施例提供的执行顺序。
下面结合图1所示的应用场景,对本申请实施例提供的技术方案进行说明。
参考图2,本申请实施例提供一种调节交换网板拥塞的方法,包括以下步骤:
S201,对接收到的数据报文进行解析,得到数据报文对应的目标线卡标识、数据报文的数据量、以及数据报文包含的待传输数据。
如图3所示,假设线卡1、线卡2均为源线卡,线卡3为目标线卡,线卡1、线卡2均通过交换网板向线卡3发送数据,线卡1、线卡2和线卡3中均包括面板口1、面板口2、……、面板口n(n为正整数),线卡1、线卡2和线卡3的带宽分别为各自对应的面板口1、面板口2、……、面板口n的带宽之和。例如,线卡1对应的面板口1、面板口2、……、面板口n的带宽均为10G,则线卡1的带宽为10nG。
当线卡1、线卡2接收到数据报文后,对数据报文进行解析,根据数据报文对应的目标线卡标识确定目标线卡均为线卡3。同时线卡1还可以根据解析结果得到数据报文的数据量是200G以及数据报文包含的待传输数据。线卡2还可以根据解析结果得到数据报文的数据量是100G以及数据报文包含的待传输数据。
S202,基于数据量生成第一信令请求,通过交换网板将第一信令请求发送给目标线卡标识对应的目标线卡,并接收目标线卡发送的第一信令响应;第一信令响应中至少包括目标线卡基于第一信令请求的优先级确定的第一待传输数据量。
示例性的,如图3所示,线卡1作为源线卡,还可以包含信令管理单元1,其中信令管理单元1包括目标线卡1对应的信令寄存器11、目标线卡2对应的信令寄存器12、…、目标线卡n对应的信令寄存器1n。同理,线卡2中还包含信令管理单元2,其中信令管理单元2包括目标线卡1对应的信令寄存器21、目标线卡2对应的信令寄存器22、…、目标线卡n对应的信令寄存器2n。
线卡3作为目标线卡,还可以包含调度管理单元1,其中调度管理单元1包括源线卡1对应的信令申请计数器1、源线卡2对应的信令申请计数器2、…、源线卡n对应的信令申请计数器n。
假设线卡1发送的第一信令请求中的数据量是200G,线卡2发送的第一信令请求中的数据量是100G,线卡3作为目标线卡,在接收到线卡1发送的包含200G数据量的第一信令请求和线卡2发送的包含100G数据量的第一信令请求之后,若确定线卡1的第一信令请求的优先级低于线卡2的第一信令 请求的优先级,则将线卡3可接收的200G数据量分配100G数据量给线卡1,并分配100G数据量给线卡2。也即线卡1的第一信令响应中至少包含100G的第一待传输数据量,线卡2的第一信令响应中至少包含100G的第一待传输数据量。因此线卡1和线卡2可以分别继续向线卡3发送多次第二信令请求,以便于将各自需要传输的100G的第一待传输数据量的数据发送给线卡3。
由于源线卡的信令管理单元中,每个目标线卡对应的信令寄存器中存在次数时,源线卡可以向对应的目标线卡发送第二信令申请,为了减少源线卡向对应的目标线卡发送数据的时延,可以对每个目标线卡对应的信令寄存器进行预设次数的分配。
具体的,源线卡中包括向目标线卡发送第二信令请求的预先分配次数,若源线卡通过交换网板向目标线卡发送第二信令请求,则减少预先分配次数;若源线卡通过交换网板接收目标线卡发送的第二信令响应,则增加预先分配次数;当预先分配次数小于或等于零时,丢弃源线卡中的待传输数据,以便于调节交换网板的拥塞。
按照上述示例继续说明,假设线卡1中的信令管理单元1中目标线卡1为线卡3,线卡3中的调度管理单元1中源线卡1为线卡1,那么线卡1向线卡3发送一次第二信令请求,信令寄存器11中的次数减一,线卡1接收一次线卡3发送的第二信令响应,信令寄存器11中的次数加一。线卡3接收一次线卡1发送的第二信令请求,信令申请计数器1中的次数加一,线卡3向线卡1发送一次第二信令响应,信令申请计数器1中的次数减一。
例如,对信令寄存器11预先分配次数是3次,当预先分配次数减少为0时,依然未接收到第二信令响应,则为了避免交换网板拥塞,将线卡1中的待传输数据丢弃。
S203,根据第一待传输数据量,向目标线卡发送待传输数据。
具体的,基于目标线卡的带宽、预设时间周期和第一待传输数据量,确定通过交换网板向目标线卡发送第二信令请求的次数和每次向目标线卡发送的第二待传输数据量,向目标线卡发送次数的第二信令请求,并在每次接收 到目标线卡发送的包含第二待传输数据量的第二信令响应之后,向目标线卡发送第二待传输数据量的数据,直至将待传输数据中第一待传输数据量的数据向目标线卡发送完成。
例如,将目标线卡的带宽乘以预设时间周期得到的积确定为每次向目标线卡发送的第二待传输数据量;将第一待传输数据量除以第二待传输数据量确定为向目标线卡发送第二信令请求的次数。
示例性的,目标线卡的带宽为400G,预设时间周期为10us,则每次向目标线卡发送的第二待传输数据量为400Gbit/s*10us=4Mbit。若第一待传输数据量为100G,则向目标线卡发送第二信令请求的次数为100G/4Mbit=25000次。
本申请的一实施例中,目标线卡包括多个不同优先级的目标端口时,在对接收到的数据报文进行解析,得到数据报文对应的目标线卡中目标端口标识、数据报文的数据量、以及数据报文包含的待传输数据。
如图4所示,假设图3中的线卡3包括目标端口31和目标端口32,并且目标端口31的优先级高于目标端口32的优先级,目标端口31又包括队列311和队列312,目标端口32又包括队列321和队列322,并且队列311的优先级高于队列312的优先级,队列321的优先级高于队列322的优先级。队列311、队列312、队列321和队列322分别包含调度管理单元,其中每个调度管理单元均包括源线卡1对应的信令申请计数器1、源线卡2对应的信令申请计数器2、…、源线卡n对应的信令申请计数器n(n为正整数)。
假设线卡1向线卡3发送的第一待传输数据量为300G,其中10G对应发送给队列311,290G对应发送给队列312,那么由于队列311的优先级高于队列312的优先级,则优先将发送给队列311的10G数据量发送完成。通过对目标线卡的进一步优先级设置,可以使得源线卡对数据报文解析后,更准确的向对应的目标端口传输数据,避免交换网板出现拥塞现象。
如图5所示,示出了本申请实施例提供的调节交换网板拥塞的系统中源线卡、交换网板和目标线卡之间交互的流程示意图,包括以下步骤:
S501,源线卡对接收到的数据报文进行解析,得到数据报文对应的目标 线卡标识、数据报文的数据量、以及数据报文包含的待传输数据,基于数据量生成第一信令请求;
S502,源线卡通过交换网板将第一信令请求发送给目标线卡标识对应的目标线卡;
S503,目标线卡基于第一信令请求的优先级生成至少包含第一待传输数据量的第一信令响应;
S504,目标线卡通过交换网板将第一信令响应发送给源线卡;
S505,源线卡基于目标线卡的带宽、预设时间周期和第一待传输数据量,确定通过交换网板向目标线卡发送第二信令请求的次数和每次向目标线卡发送的第二待传输数据量,并对第二信令请求进行预先分配次数;
S506,源线卡向目标线卡发送次数的第二信令请求,并在每次接收到目标线卡发送的包含第二待传输数据量的第二信令响应之后,向目标线卡发送第二待传输数据量的数据,直至将待传输数据中第一待传输数据量的数据向目标线卡发送完成;
S507,若源线卡通过交换网板向目标线卡发送第二信令请求,则减少预先分配次数;若源线卡通过交换网板接收目标线卡发送的第二信令响应,则增加预先分配次数;当预先分配次数小于或等于零时,丢弃源线卡中的待传输数据。
基于相同的发明构思,提出了一种调节交换网板拥塞的装置,应用于源线卡中,如图6所示,该装置600包括:
解析模块601,用于对接收到的数据报文进行解析,得到数据报文对应的目标线卡标识、数据报文的数据量、以及数据报文包含的待传输数据;
处理模块602,用于基于数据量生成第一信令请求,通过交换网板将第一信令请求发送给目标线卡标识对应的目标线卡,并接收目标线卡发送的第一信令响应;第一信令响应中至少包括目标线卡基于第一信令请求的优先级确定的第一待传输数据量;
发送模块603,用于根据第一待传输数据量,向目标线卡发送待传输数据。
可选的,发送模块603,具体用于:
基于目标线卡的带宽、预设时间周期和第一待传输数据量,确定通过交换网板向目标线卡发送第二信令请求的次数和每次向目标线卡发送的第二待传输数据量;
向目标线卡发送次数的第二信令请求,并在每次接收到目标线卡发送的包含第二待传输数据量的第二信令响应之后,向目标线卡发送第二待传输数据量的数据,直至将待传输数据中第一待传输数据量的数据向目标线卡发送完成。
可选的,源线卡中包括向目标线卡发送第二信令请求的预先分配次数,装置还包括:
若源线卡通过交换网板向目标线卡发送第二信令请求,则减少预先分配次数;
若源线卡通过交换网板接收目标线卡发送的第二信令响应,则增加预先分配次数;
当预先分配次数小于或等于零时,丢弃源线卡中的待传输数据,以便于调节交换网板的拥塞。
可选的,发送模块603中基于目标线卡的带宽、预设时间周期和第一待传输数据量,确定通过交换网板向目标线卡发送第二信令请求的次数和每次向目标线卡发送的第二待传输数据量,具体用于:
将目标线卡的带宽乘以预设时间周期得到的积确定为每次向目标线卡发送的第二待传输数据量;
将第一待传输数据量除以第二待传输数据量确定为向目标线卡发送第二信令请求的次数。
可选的,目标线卡包括多个不同优先级的目标端口,解析模块601中对接收到的数据报文进行解析,得到数据报文对应的目标线卡标识、数据报文的数据量、以及数据报文包含的待传输数据,具体用于:
对接收到的数据报文进行解析,得到数据报文对应的目标线卡中目标端 口标识、数据报文的数据量、以及数据报文包含的待传输数据。
如图7所示,本申请的另一实施例提供了一种调节交换网板拥塞的装置,应用于目标线卡中,装置700包括:
接收模块701,用于接收源线卡通过交换网板发送的第一信令请求;第一信令请求为基于数据量生成的,数据量为源线卡对接收到的数据报文解析后得到的;
生成模块702,用于根据第一信令请求的优先级生成至少包括向源线卡发送第一待传输数据量的第一信令响应,并将第一信令响应发送给源线卡,以便于源线卡根据第一待传输数据量向目标线卡发送对数据报文解析后得到的待传输数据。
可选的,所述生成模块702在将所述第一信令响应发送给所述源线卡之后,还用于:
接收所述源线卡通过所述交换网板发送的第二信令请求;所述第二信令请求的接收次数是基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量确定的;
每接收一次所述第二信令请求,发送包含第二待传输数据量的第二信令响应给所述源线卡,直至接收到所述待传输数据中所述第一待传输数据量的数据;所述第二待传输数据量是基于所述目标线卡的带宽、所述预设时间周期和所述第一待传输数据量确定的。
在介绍了本申请示例性实施方式的调节交换网板拥塞的方法、装置及系统之后,接下来,介绍根据本申请的另一示例性实施方式的调节交换网板拥塞的设备。
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。
在一些可能的实施方式中,根据本申请的调节交换网板拥塞的设备可以 至少包括至少一个处理器、以及至少一个存储器。其中,存储器存储有程序代码,当程序代码被处理器执行时,使得处理器执行本说明书上述描述的根据本申请各种示例性实施方式的调节交换网板拥塞的方法中的步骤。例如,处理器可以执行如调节交换网板拥塞的方法中的步骤。
下面参照图8来描述根据本申请的这种实施方式的调节交换网板拥塞的设备120。图8显示的调节交换网板拥塞的设备120仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图8所示,调节交换网板拥塞的设备120以通用调节交换网板拥塞的设备的形式表现。调节交换网板拥塞的设备120的组件可以包括但不限于:上述至少一个处理器121、上述至少一个存储器122、连接不同系统组件(包括存储器122和处理器121)的总线123。
总线123表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器、外围总线、处理器或者使用多种总线结构中的任意总线结构的局域总线。
存储器122可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)1221和/或高速缓存存储器1222,还可以进一步包括只读存储器(ROM)1223。
存储器122还可以包括具有一组(至少一个)程序模块1224的程序/实用工具1225,这样的程序模块1224包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
调节交换网板拥塞的设备120也可以与一个或多个外部设备124(例如键盘、指向设备等)通信,还可与一个或者多个使得用户能与调节交换网板拥塞的设备120交互的设备通信,和/或与使得该调节交换网板拥塞的设备120能与一个或多个其它调节交换网板拥塞的设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口125进行。并且,调节交换网板拥塞的设备120还可以通过网络适配器126与一 个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器126通过总线123与用于调节交换网板拥塞的设备120的其它模块通信。应当理解,尽管图中未示出,可以结合调节交换网板拥塞的设备120使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器122,上述指令可由处理器121执行以完成上述方法。可选地,计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供一种计算机程序产品,包括计算机程序/指令,所述计算机程序/指令被处理器121执行时实现如本申请提供的调节交换网板拥塞的方法的任一方法。
在示例性实施例中,本申请提供的一种调节交换网板拥塞的方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在计算机设备上运行时,程序代码用于使计算机设备执行本说明书上述描述的根据本申请各种示例性实施方式的一种调节交换网板拥塞的方法中的步骤。
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
本申请的实施方式的用于调节交换网板拥塞的程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在调节交换网板拥塞的 设备上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户调节交换网板拥塞的设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户调节交换网板拥塞的设备上部分在远程调节交换网板拥塞的设备上执行、或者完全在远程调节交换网板拥塞的设备或服务端上执行。在涉及远程调节交换网板拥塞的设备的情形中,远程调节交换网板拥塞的设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户调节交换网板拥塞的设备,或者,可以连接到外部调节交换网板拥塞的设备(例如利用因特网服务提供商来通过因特网连接)。
应当注意,尽管在上文详细描述中提及了装置的若干单元或子单元,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元的特征和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。
此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所 示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程调节交换网板拥塞的设备的处理器以产生一个机器,使得通过计算机或其他可编程调节交换网板拥塞的设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程调节交换网板拥塞的设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程调节交换网板拥塞的设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (15)

  1. 一种调节交换网板拥塞的方法,其特征在于,应用于源线卡中,所述方法包括:
    对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;
    基于所述数据量生成第一信令请求,通过交换网板将所述第一信令请求发送给所述目标线卡标识对应的目标线卡,并接收所述目标线卡发送的第一信令响应;所述第一信令响应中至少包括所述目标线卡基于所述第一信令请求的优先级确定的第一待传输数据量;
    根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据,包括:
    基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量;
    向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的包含所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
  3. 根据权利要求2所述的方法,其特征在于,所述源线卡中包括向所述目标线卡发送所述第二信令请求的预先分配次数,所述方法还包括:
    若所述源线卡通过所述交换网板向所述目标线卡发送所述第二信令请求,则减少所述预先分配次数;
    若所述源线卡通过所述交换网板接收所述目标线卡发送的所述第二信令响应,则增加所述预先分配次数;
    当所述预先分配次数小于或等于零时,丢弃所述源线卡中的所述待传输 数据,以便于调节所述交换网板的拥塞。
  4. 根据权利要求2所述的方法,其特征在于,所述基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量,包括:
    将所述目标线卡的带宽乘以所述预设时间周期得到的积确定为每次向所述目标线卡发送的第二待传输数据量;
    将所述第一待传输数据量除以所述第二待传输数据量确定为向所述目标线卡发送所述第二信令请求的次数。
  5. 根据权利要求1所述的方法,其特征在于,所述目标线卡包括多个不同优先级的目标端口,所述对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据,包括:
    对接收到的数据报文进行解析,得到所述数据报文对应的所述目标线卡中所述目标端口标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据。
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据,包括:
    所述源线卡中包括向所述目标线卡发送所述第二信令请求的预先分配次数;
    基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量;
    所述源线卡通过所述交换网板向所述目标线卡发送所述第二信令请求,若所述源线卡通过所述交换网板接收所述目标线卡发送的第二信令响应,则增加所述预先分配次数;所述源线卡向所述目标线卡发送所述第二待传输数据量的数据,并减少所述预先分配次数;
    当所述预先分配次数小于等于零时,丢弃所述源线卡中的所述待传输数据,以便于调节所述交换网板的拥塞;当所述预先分配次数大于零时,发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
  7. 一种调节交换网板拥塞的方法,其特征在于,应用于目标线卡中,所述方法包括:
    接收源线卡通过交换网板发送的第一信令请求;所述第一信令请求为基于数据量生成的,所述数据量为所述源线卡对接收到的数据报文解析后得到的;
    根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡,以便于所述源线卡根据所述第一待传输数据量向所述目标线卡发送对所述数据报文解析后得到的待传输数据。
  8. 一种调节交换网板拥塞的装置,其特征在于,应用于源线卡中,所述装置包括:
    解析模块,用于对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;
    处理模块,用于基于所述数据量生成第一信令请求,通过交换网板将所述第一信令请求发送给所述目标线卡标识对应的目标线卡,并接收所述目标线卡发送的第一信令响应;所述第一信令响应中至少包括所述目标线卡基于所述第一信令请求的优先级确定的第一待传输数据量;
    发送模块,用于根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
  9. 根据权利要求8所述的装置,其特征在于,所述发送模块,具体用于:
    基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述 目标线卡发送的第二待传输数据量;
    向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的包含所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
  10. 一种调节交换网板拥塞的装置,其特征在于,应用于目标线卡中,所述装置包括:
    接收模块,用于接收源线卡通过交换网板发送的第一信令请求;所述第一信令请求为基于数据量生成的,所述数据量为所述源线卡对接收到的数据报文解析后得到的;
    生成模块,用于根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡,以便于所述源线卡根据所述第一待传输数据量向所述目标线卡发送对所述数据报文解析后得到的待传输数据。
  11. 一种调节交换网板拥塞的装置,包括处理器和通信接口,其特征在于,所述处理器应用于源线卡中,用于:
    通过所述通信接口接收数据报文并进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;
    基于所述数据量生成第一信令请求,通过交换网板将所述第一信令请求发送给所述目标线卡标识对应的目标线卡,并接收所述目标线卡发送的第一信令响应;所述第一信令响应中至少包括所述目标线卡基于所述第一信令请求的优先级确定的第一待传输数据量;
    根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
  12. 根据权利要求11中所述的装置,其特征在于,所述处理器还用于:基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标 线卡发送的第二待传输数据量;
    向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的包含所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
  13. 一种调节交换网板拥塞的装置,包括处理器和通信接口,其特征在于,所述处理器应用于目标线卡中,用于:
    通过所述通信接口接收源线卡通过交换网板发送的第一信令请求;所述第一信令请求为基于数据量生成的,所述数据量为所述源线卡对接收到的数据报文解析后得到的;
    根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡,以便于所述源线卡根据所述第一待传输数据量向所述目标线卡发送对所述数据报文解析后得到的待传输数据。
  14. 一种调节交换网板拥塞的系统,其特征在于,所述系统包括:源线卡、目标线卡和交换网板;
    所述源线卡,用于对接收到的数据报文进行解析,得到所述数据报文对应的目标线卡标识、所述数据报文的数据量、以及所述数据报文包含的待传输数据;并基于所述数据量生成第一信令请求,通过所述交换网板将所述第一信令请求发送给所述目标线卡标识对应的目标线卡;
    所述目标线卡,用于接收所述源线卡通过所述交换网板发送的所述第一信令请求,根据所述第一信令请求的优先级生成至少包括向所述源线卡发送第一待传输数据量的第一信令响应,并将所述第一信令响应发送给所述源线卡;
    所述源线卡,还用于接收所述目标线卡发送的所述第一信令响应;根据所述第一待传输数据量,向所述目标线卡发送所述待传输数据。
  15. 根据权利要求14中所述的调节交换网板拥塞的系统,其特征在于, 所述源线卡用于基于所述目标线卡的带宽、预设时间周期和所述第一待传输数据量,确定通过所述交换网板向所述目标线卡发送第二信令请求的次数和每次向所述目标线卡发送的第二待传输数据量;
    所述源线卡还用于向所述目标线卡发送所述次数的所述第二信令请求,并在每次接收到所述目标线卡发送的半酣所述第二待传输数据量的第二信令响应之后,向所述目标线卡发送所述第二待传输数据量的数据,直至将所述待传输数据中所述第一待传输数据量的数据向所述目标线卡发送完成。
PCT/CN2022/133531 2021-12-01 2022-11-22 一种调节交换网板拥塞的方法、装置及系统 WO2023098520A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111450916.3A CN114157604A (zh) 2021-12-01 2021-12-01 一种调节交换网板拥塞的方法、装置及系统
CN202111450916.3 2021-12-01

Publications (1)

Publication Number Publication Date
WO2023098520A1 true WO2023098520A1 (zh) 2023-06-08

Family

ID=80455823

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133531 WO2023098520A1 (zh) 2021-12-01 2022-11-22 一种调节交换网板拥塞的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN114157604A (zh)
WO (1) WO2023098520A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157604A (zh) * 2021-12-01 2022-03-08 锐捷网络股份有限公司 一种调节交换网板拥塞的方法、装置及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102999B1 (en) * 1999-11-24 2006-09-05 Juniper Networks, Inc. Switching device
CN102118318A (zh) * 2011-03-28 2011-07-06 华为技术有限公司 流量控制方法及装置
CN104092632A (zh) * 2014-07-14 2014-10-08 杭州华三通信技术有限公司 一种网络设备
CN105027506A (zh) * 2013-03-15 2015-11-04 国际商业机器公司 网络中的可扩展流和拥塞控制
CN106330756A (zh) * 2015-07-03 2017-01-11 华为技术有限公司 一种数据传输方法和设备
CN107579921A (zh) * 2017-09-26 2018-01-12 锐捷网络股份有限公司 流量控制方法及装置
CN114157604A (zh) * 2021-12-01 2022-03-08 锐捷网络股份有限公司 一种调节交换网板拥塞的方法、装置及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480304B2 (en) * 2004-12-29 2009-01-20 Alcatel Lucent Predictive congestion management in a data communications switch using traffic and system statistics
CN102611605B (zh) * 2011-01-20 2015-02-25 华为技术有限公司 一种数据交换网的调度方法、装置和系统
CN109787910B (zh) * 2019-03-01 2021-01-15 烽火通信科技股份有限公司 一种流量管理方法、系统及织状网络处理器

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102999B1 (en) * 1999-11-24 2006-09-05 Juniper Networks, Inc. Switching device
CN102118318A (zh) * 2011-03-28 2011-07-06 华为技术有限公司 流量控制方法及装置
CN105027506A (zh) * 2013-03-15 2015-11-04 国际商业机器公司 网络中的可扩展流和拥塞控制
CN104092632A (zh) * 2014-07-14 2014-10-08 杭州华三通信技术有限公司 一种网络设备
CN106330756A (zh) * 2015-07-03 2017-01-11 华为技术有限公司 一种数据传输方法和设备
CN107579921A (zh) * 2017-09-26 2018-01-12 锐捷网络股份有限公司 流量控制方法及装置
CN114157604A (zh) * 2021-12-01 2022-03-08 锐捷网络股份有限公司 一种调节交换网板拥塞的方法、装置及系统

Also Published As

Publication number Publication date
CN114157604A (zh) 2022-03-08

Similar Documents

Publication Publication Date Title
US10673785B2 (en) Flow and time based reassembly of fragmented packets by IP protocol analyzers
US9686203B2 (en) Flow control credits for priority in lossless ethernet
EP2359565B1 (en) Reassembling streaming data across multiple packetized communication channels
US20230060066A1 (en) Data transmission method and apparatus, computer readable medium, and electronic device
US9253061B2 (en) Tunnel health check mechanism in overlay network
US9712464B2 (en) Multichannel gateway, multiplex transmission line communication system, multiplex transmission line communication method and computer-readable recording medium storing program
US20140198638A1 (en) Low-latency lossless switch fabric for use in a data center
WO2023098520A1 (zh) 一种调节交换网板拥塞的方法、装置及系统
US10530683B2 (en) High-quality adaptive bitrate video through multiple links
US20230118176A1 (en) Data transmission method and apparatus, computer-readable storage medium, electronic device, and computer program product
Tkachova et al. An analysis of SDN-OpenStack integration
WO2018054271A1 (zh) 一种数据传输方法及装置
US20150172209A1 (en) Resource over-subscription
US11271842B2 (en) Enhancing transmission control protocol (TCP) performance and scalability on multicore processor architectures
US20140160931A1 (en) Apparatus and method for managing flow in server virtualization environment, and method for applying qos
CN112968919B (zh) 一种数据处理方法、装置、设备和存储介质
EP4142258A1 (en) Edge computing network, data transmission method and apparatus, device and storage medium
CN113742004B (zh) 一种基于flink框架的数据处理方法和装置
CN115022936A (zh) 一种数据转发方法及相关设备
CN114189890A (zh) 更新网络服务质量模型的方法、装置、设备及存储介质
US11005767B2 (en) Method, device and computer program product for data processing
CN112436983A (zh) 模拟广域网数据传输方法、装置、电子设备及存储介质
CN113765826A (zh) 一种网络监控方法、平台、装置和计算机可读存储介质
CN110928693A (zh) 一种计算设备及资源分配方法
US20220286401A1 (en) Priority-based flow control messaging for port extender

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22900325

Country of ref document: EP

Kind code of ref document: A1