Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and system increasing available bandwidth of aggregation link, can solve the problem that available bandwidth of aggregation link that prior art causes because the member port of aggregation port occurs single fiber fault reduces.
On the one hand, the embodiment of the present invention provides a kind of method increasing available bandwidth of aggregation link, be applied to the first network equipment in aggregated links, described first network equipment is communicated by aggregated links with second network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port, and described method comprises:
Whether the receiving terminal detecting the first member port of described first aggregation port exists fault;
If the receiving terminal of described first member port exists fault, send the continuous request message of member's single fiber by the transmitting terminal of described first member port to described second aggregation port;
Detect described first aggregation port and whether receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, it is continue response with request message to described member's single fiber that described member's single fiber continues by acknowledge message;
If described first aggregation port receives the continuous acknowledge message of member's single fiber that described second aggregation port is sent, then the transmitting terminal of described first member port is kept to be upstate.
On the other hand, the embodiment of the present invention provides a kind of method for increasing available bandwidth of aggregation link, be applied to the second network equipment in aggregated links, described second network equipment is communicated by aggregated links with first network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port, and described method comprises:
Being received the continuous request message of member's single fiber sent from the first member port of described first aggregation port by described second aggregation port, there is fault in the receiving terminal of described first member port;
Send the continuous acknowledge message of member's single fiber by described second aggregation port to described first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
Another aspect, the embodiment of the present invention provides a kind of first network equipment, described first network equipment is used for being communicated by aggregated links with second network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, described aggregated links comprises the link between described first aggregation port and described second aggregation port, and described first network equipment comprises:
Detecting unit, whether the receiving terminal for the first member port detecting described first aggregation port exists fault;
Send a request message unit, if detect that the receiving terminal of described first member port exists fault for described detecting unit, sends the continuous request message of member's single fiber by the transmitting terminal of described first member port to described second aggregation port;
Whether confirmation of receipt message elements, receive for detecting described first aggregation port the continuous acknowledge message of member's single fiber that described second aggregation port sends, and it is continue response with request message to described member's single fiber that described member's single fiber continues by acknowledge message;
Performance element, if detect described first aggregation port for described confirmation of receipt message elements to receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, then keeps the transmitting terminal of described first member port to be upstate.
Another aspect, the embodiment of the present invention provides a kind of second network equipment, described second network equipment is used for being communicated by aggregated links with first network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, described aggregated links comprises the link between described first aggregation port and described second aggregation port, and described second network equipment comprises:
Receive request message unit, for being received the continuous request message of member's single fiber sent from the first member port of described first aggregation port by described second aggregation port, there is fault in the receiving terminal of described first member port;
Send acknowledge message unit, for sending the continuous acknowledge message of member's single fiber by described second aggregation port to described first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
Another aspect, the embodiment of the present invention provides a kind of system increasing available bandwidth of aggregation link, comprise first network equipment and second network equipment, described first network equipment is communicated by aggregated links with described second network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port, comprising:
Described first network equipment comprises:
Detecting unit, whether the receiving terminal for the first member port detecting described first aggregation port exists fault;
Send a request message unit, if detect that the receiving terminal of described first member port exists fault for described detecting unit, sends the continuous request message of member's single fiber by the transmitting terminal of described first member port to described second aggregation port;
Whether confirmation of receipt message elements, receive for detecting described first aggregation port the continuous acknowledge message of member's single fiber that described second aggregation port sends, and it is continue response with request message to described member's single fiber that described member's single fiber continues by acknowledge message;
Performance element, if detect described first aggregation port for described confirmation of receipt message elements to receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, then keeps the transmitting terminal of described first member port to be upstate;
Described second network equipment comprises:
Receive request message unit, for being received the continuous request message of member's single fiber sent from the first member port of described first aggregation port by described second aggregation port, there is fault in the receiving terminal of described first member port;
Send acknowledge message unit, for sending the continuous acknowledge message of member's single fiber by described second aggregation port to described first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
A kind of method increasing available bandwidth of aggregation link that the embodiment of the present invention provides, equipment and system, first network equipment is after the receiving terminal (Rx end) of the first member port the first aggregation port being detected breaks down, the continuous request message of member's single fiber is sent to the second aggregation port of second network equipment by the transmitting terminal (Tx end) of the first member port of the first aggregation port, after second network equipment receives the continuous request message of member's single fiber, by the first aggregation port transmission member single fiber continuous acknowledge message of the second aggregation port to first network equipment.If first network equipment receives the continuous acknowledge message of described member's single fiber, the Tx end then keeping the first member port of the first aggregation port is upstate, still can continue to utilize the Tx end of this member port to second network equipment sending data stream, the available bandwidth of aggregated links under single fiber failure condition can be improved, and there will not be the situation of single-pass, solve the problem that the first network equipment that causes because the member port of aggregation port occurs single fiber fault in prior art reduces to the available bandwidth of second network equipment.
Embodiment
Below by drawings and Examples, the technical scheme of the embodiment of the present invention is described in further detail.
One embodiment of the present of invention provide a kind of method increasing available bandwidth of aggregation link, be applied to first network equipment, described first network equipment is communicated by aggregated links with second network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port.
For ease of understanding, for the network shown in Fig. 1.Fig. 1 is a kind of networking schematic diagram increasing available bandwidth of aggregation link that the embodiment of the present invention provides, first network equipment and the first router, second network equipment and the second router, aggregated links comprises the link between the first router and the second router, two links have been shown in Fig. 1, and the first router comprises the first aggregation port, and the first aggregation port comprises the first member port and the second member port, first member port and port one, the second member port and port 2; The second router comprises the second aggregation port, and the second aggregation port comprises the 3rd member port and the 4th member port, the 3rd member port and port the 3, four member port and port 4.Wherein, port one is connected with port 3, and port 2 is connected with port 4.Each port is made up of receiving terminal Rx and transmitting terminal Tx.
For example, described first network equipment, can be router, switch or Broadband Remote Access Server etc., the following examples be described for router.
Described aggregated links can be applied in multiple link aggregation protocols, comprise Link Aggregation Control Protocol (Link Aggregation Control Protocol, LACP), trunking (TRUNK) or Multi-link Point to Point Protocol (Multi-Link Point-to-Point Protocol, MLPPP) etc.
Fig. 2 is that the embodiment of the present invention provides a kind of flow chart increasing the method for available bandwidth of aggregation link, is applied to the first router, comprises:
Whether the receiving terminal 101, detecting the first member port of described first aggregation port exists fault.
If the receiving terminal of 102 described first member ports exists fault, send the continuous request message of member's single fiber by the transmitting terminal of described first member port to described second aggregation port.
103, detect described first aggregation port and whether receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, it is continue response with request message to described member's single fiber that described member's single fiber continues by acknowledge message.
If 104 described first aggregation ports receive the continuous acknowledge message of member's single fiber that described second aggregation port is sent, then the transmitting terminal of described first member port is kept to be upstate.
For example,
The first router perform above-mentioned 101 time, detect port one Rx end there is fault, fault type comprise following one or more: luminous power fault, Operations, Administration and Maintenance (Operation, Administration, and Maintenance, OAM) fault etc.
The first router, when performing above-mentioned 102, because detect that the Rx end of port one exists fault in a step 101, sends the continuous request message of member's single fiber by the Tx end of port one to the second aggregation port.
After the second router receives the continuous request message of described member's single fiber from the second aggregation port, send the continuous acknowledge message of member's single fiber by the second aggregation port to the first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.Particularly, the continuous acknowledge message of member's single fiber can be sent by the multiple member ports in the second aggregation port, or the continuous acknowledge message of member's single fiber can be sent by the member port of in the second aggregation port.When being sent by a member port in the second aggregation port that member's single fiber is continuous uses acknowledge message, select other member ports in the second aggregation port except in port 3, as port 4.
The first router, when performing above-mentioned 103, detects whether have received from the first aggregation port the continuous acknowledge message of member's single fiber sent from the second aggregation port, and it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
The first router, when performing above-mentioned 104, have received because detect from the first aggregation port the continuous acknowledge message of member's single fiber sent from the second aggregation port, then the Tx end keeping port one is upstate.
If port one, port 2, port 3, port 4 is all GE port, and the bandwidth namely under normal condition between the first router and the second router is 2G.In prior art, when the first router detects that the Rx of port one holds fault (i.e. single fiber fault), then the direct Tx by port one is set to down state, causes the first router to be 1G to the bandwidth of the second router, and the technical scheme that the embodiment of the present invention provides, when detecting that the Rx end of port one exists fault (i.e. single fiber fault), by sending the continuous request message of member's single fiber to the second router, and detect the first aggregation port and receive the continuous acknowledge message of member's single fiber, the transmitting terminal keeping port one is upstate, make when single fiber fault, the first router still can be kept to be 2G to the bandwidth of the second router, and there will not be the situation of single-pass, therefore the available bandwidth of aggregated links under single fiber failure condition can be improved, solve in prior art the problem that the first router that causes because port one occurs single fiber fault reduces to the available bandwidth of the second router.
For example, said method can also comprise: while execution above-mentioned 104, can also perform the step 105 in Fig. 3.Certainly, step 105 also can perform after step 104.
105, mark described first member port and work in the continuous state of single fiber fault.
For example, said method can also comprise, if above-mentioned 103 detect described first aggregation port and do not receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, can also perform the step 106 in Fig. 3.
106, the transmitting terminal of described first member port is set to down state, and all being labeled as in described first aggregation port is worked in single fiber fault and continue and be set to down state with the transmitting terminal of the member port of state.
For ease of understanding step 106, for the network shown in Fig. 4.Fig. 4 shows the further action occurred on the basis of situation shown in Fig. 1, and namely in the diagram, through above-mentioned 101 ~ 105 steps, the port one of the first router has been marked as and has worked in the continuous state of single fiber fault, detects that the Rx end of port 2 exists fault.Now, the first member port shown in Fig. 3 in 101 and port 2.
The first router, when performing above-mentioned 101, detects that the Rx end of port 2 exists fault.
The first router, when performing above-mentioned 102, because detect that the Rx end of port 2 exists fault in a step 101, sends the continuous request message of member's single fiber by the Tx end of port 2 to the second aggregation port.
After the second router receives the continuous request message of described member's single fiber from the second aggregation port, send the continuous acknowledge message of member's single fiber by the second aggregation port to the first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
The first router is when performing above-mentioned 103, because the Rx of the port one on the first aggregation port and port 2 holds faults, so there is no the continuous acknowledge message of member's single fiber sent from the second aggregation port be detected, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message, and therefore the first router performs step 106.
The Tx of port 2 end, when performing above-mentioned 106, is set to down state by the first router, and works in single fiber fault and continue to hold being marked as before with the Tx of the port one of state and be set to down state.
In Fig. 4, the Tx end of the Tx of port one end and port 2, after the Rx of the Rx end and port 2 that successively detect port one holds fault, is all set to down state, ensures the situation that there will not be single-pass by the first router.
Fig. 5 is the flow chart that the embodiment of the present invention provides a kind of method for increasing available bandwidth of aggregation link, is applied to the second router, comprises:
201, being received the continuous request message of member's single fiber sent from the first member port of described first aggregation port by described second aggregation port, there is fault in the receiving terminal of described first member port.
202, send the continuous acknowledge message of member's single fiber by described second aggregation port to described first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.。
For example, for the network shown in Fig. 1,
The second router, when performing above-mentioned 201, receives the continuous request message of member's single fiber sent from the port one of the first aggregation port by the port 3 of the second aggregation port, the Rx end of port one exists fault.
The second router, when performing above-mentioned 202, can send the continuous acknowledge message of member's single fiber by the multiple member ports in the second aggregation port, or can send the continuous acknowledge message of member's single fiber by the member port of in the second aggregation port.When being sent by a member port in the second aggregation port that member's single fiber is continuous uses acknowledge message, select other member ports in the second aggregation port except in port 3, as port 4.
The technical scheme that the embodiment of the present invention provides, received by the second router and reply the continuous request message of member's single fiber that the first router sends, making the first router when occurring that the Rx of port one holds fault, still can continue to utilize the Tx end of port one to send data flow to the second router.
Please refer to Fig. 6, one embodiment of the present of invention provide a kind of first network equipment, described first network equipment is used for being communicated by aggregated links with second network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port.
For example, the device type of described first network equipment, can comprise router, switch or Broadband Remote Access Server etc.
For example, described aggregated links can be applied in multiple link aggregation protocols, comprise Link Aggregation Control Protocol (Link Aggregation Control Protocol, LACP), trunking (TRUNK) or Multi-link Point to Point Protocol (Multi-Link Point-to-Point Protocol, MLPPP) etc.
Described first network equipment, comprising:
Detecting unit 601, whether the receiving terminal for the first member port detecting described first aggregation port exists fault.
Send a request message unit 602, if detect that the receiving terminal of described first member port exists fault for described detecting unit 601, sends the continuous request message of member's single fiber by the transmitting terminal of described first member port to described second aggregation port.
Whether confirmation of receipt message elements 603, receive for detecting described first aggregation port the continuous acknowledge message of member's single fiber that described second aggregation port sends, and it is continue response with request message to described member's single fiber that described member's single fiber continues by acknowledge message.
Performance element 604, if detect described first aggregation port for described confirmation of receipt message elements 603 to receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, then keeps the transmitting terminal of described first member port to be upstate.
For example, as shown in Figure 7, described first network equipment, can also comprise:
Indexing unit 605, if detect described first aggregation port for described confirmation of receipt message elements 603 to receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, marks described first member port and works in the continuous state of single fiber fault.
For example, described performance element 604, can also be used for:
If described confirmation of receipt message elements 603 detects described first aggregation port and do not receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, then the transmitting terminal of described first member port is set to down state; And all being labeled as in described first aggregation port is worked in single fiber fault and continue and be set to down state with the transmitting terminal of the member port of state.
The content such as signal transacting, implementation concrete between above-mentioned each unit, due to the inventive method embodiment based on same conception, can see in the inventive method embodiment describe, repeat no more herein.
The first network equipment that the embodiment of the present invention provides, after detecting that the Rx end of the first member port of the first aggregation port breaks down, the second aggregation port to second network equipment is held to send the continuous request message of member's single fiber by the Tx of the first member port, and detect and whether receive from the first aggregation port the continuous acknowledge message of member's single fiber that second network equipment sends, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message, if receive the continuous acknowledge message of member's single fiber, the Tx end then keeping the first member port is upstate, the available bandwidth of aggregated links under single fiber failure condition can be improved, and there will not be single-pass, solve the problem that the first router that causes because the member port of aggregation port occurs single fiber fault in prior art reduces to the available bandwidth of the second router.
Please refer to Fig. 8, one embodiment of the present of invention provide a kind of second network equipment, described second network equipment is used for being communicated by aggregated links with first network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port.
For example, the device type of described second network equipment, can comprise router, switch or Broadband Remote Access Server etc.
For example, described aggregated links can be applied in multiple link aggregation protocols, comprise Link Aggregation Control Protocol (Link Aggregation Control Protocol, LACP), trunking (TRUNK) or Multi-link Point to Point Protocol (Multi-Link Point-to-Point Protocol, MLPPP) etc.
Described second network equipment, comprising:
Receive request message unit 701, for being received the continuous request message of member's single fiber sent from the first member port of described first aggregation port by described second aggregation port, there is fault in the receiving terminal of described first member port.
Send acknowledge message unit 702, for sending the continuous acknowledge message of member's single fiber by described second aggregation port to described first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
The content such as signal transacting, implementation concrete between above-mentioned each unit, due to the inventive method embodiment based on same conception, can see in the inventive method embodiment describe, repeat no more herein.
The second network equipment that the embodiment of the present invention provides, by receiving and replying the continuous request message of member's single fiber that first network equipment sends, make first network equipment when the Rx of the member port occurring aggregation port holds fault, still can continue to utilize the Tx end of this member port to second network equipment sending data stream, improve the available bandwidth of aggregated links under single fiber failure condition, and there will not be the situation of single-pass, solve the problem that the first network equipment that causes because the member port of aggregation port occurs single fiber fault in prior art reduces to the available bandwidth of second network equipment.
As shown in Figure 9, one embodiment of the present of invention provide a kind of system increasing available bandwidth of aggregation link, comprise first network equipment and second network equipment, described first network equipment is communicated by aggregated links with described second network equipment, described first network equipment comprises the first aggregation port, described second network equipment comprises the second aggregation port, and described aggregated links comprises the link between described first aggregation port and described second aggregation port.
Described first network equipment comprises:
Detecting unit 601, whether the receiving terminal for the first member port detecting described first aggregation port exists fault.
Send a request message unit 602, if detect that the receiving terminal of described first member port exists fault for described detecting unit 601, sends the continuous request message of member's single fiber by the transmitting terminal of described first member port to described second aggregation port.
Confirmation of receipt message elements 603, detects described first aggregation port and whether receives the continuous acknowledge message of member's single fiber that described second aggregation port sends, and it is continue response with request message to described member's single fiber that described member's single fiber continues by acknowledge message.
Performance element 604, if detect described first aggregation port for described confirmation of receipt message elements 603 to receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, then keeps the transmitting terminal of described first member port to be upstate.
Described second network equipment comprises:
Receive request message unit 701, for being received the continuous request message of member's single fiber sent from the first member port of described first aggregation port by described second aggregation port, there is fault in the receiving terminal of described first member port.
Send acknowledge message unit 702, for sending the continuous acknowledge message of member's single fiber by described second aggregation port to described first aggregation port, it is continue to described member's single fiber the response using request message that described member's single fiber continues by acknowledge message.
For example, as shown in Figure 10, described first network equipment can also comprise:
Indexing unit 605, if detect described first aggregation port for described confirmation of receipt message elements 603 to receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, marks described first member port and works in the continuous state of single fiber fault.
For example, the performance element 604 of described first network equipment, can also be used for:
If described confirmation of receipt message elements 603 detects described first aggregation port and do not receive the continuous acknowledge message of member's single fiber that described second aggregation port sends, then the transmitting terminal of described first member port is set to down state; And all being labeled as in described first aggregation port is worked in single fiber fault and continue and be set to down state with the transmitting terminal of the member port of state.
The content such as signal transacting, implementation concrete between each unit of said system, due to the inventive method embodiment based on same conception, can see in the inventive method embodiment describe, repeat no more herein.
A kind of system increasing available bandwidth of aggregation link that the embodiment of the present invention provides, first network equipment is after the Rx end of the first member port the first aggregation port being detected breaks down, the second aggregation port to second network equipment is held to send the continuous request message of member's single fiber by the Tx of the first member port, after second network equipment receives the continuous request message of member's single fiber, send the continuous acknowledge message of member's single fiber by the second aggregation port to the first aggregation port.If the first aggregation port of first network equipment receives the continuous acknowledge message of described member's single fiber, the Tx end then keeping the first member port is upstate, still can continue to utilize the Tx end of this member port to second network equipment sending data stream, the available bandwidth of aggregated links under single fiber failure condition can be improved, and there will not be the situation of single-pass, solve the problem that the first network equipment that causes because the member port of aggregation port occurs single fiber fault in prior art reduces to the available bandwidth of second network equipment.
For example, Fig. 6 can merge into one or more unit to the unit in embodiment illustrated in fig. 10.
Again for example, described unit or subelement all realize by hardware.One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, for example, storage medium can comprise: read-only memory, read memory, disk or CD etc. immediately.
Above a kind of method, apparatus and system increasing available bandwidth of aggregation link that the embodiment of the present invention provides are described in detail, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention, protection scope of the present invention is as the criterion with claim.