Summary of the invention
The embodiment of the invention provides a kind of method, apparatus and system that increase the aggregated links available bandwidth, can solve prior art and the problem that aggregated links available bandwidth that the single fiber fault causes reduces occur because of the member port of aggregation port.
On the one hand, the embodiment of the invention provides a kind of method that increases the aggregated links available bandwidth, be applied to the first network equipment in the aggregated links, described first network equipment is communicated by letter 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 the first aggregation port and described the second aggregation port, and described method comprises:
Whether the receiving terminal that detects the first member port of described the first aggregation port exists fault;
If there is fault in the receiving terminal of described the first member port, the transmitting terminal by described the first member port sends the continuous request message of using of member's single fiber to described the second aggregation port;
Detect the continuous acknowledge message of using of member's single fiber whether described the first aggregation port receives that described the second aggregation port is sent, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message;
If described the first aggregation port receives that member's single fiber that described the second aggregation port sends is continuous and use acknowledge message, the transmitting terminal that then keeps described the first member port is upstate.
On the other hand, the embodiment of the invention provides a kind of method for increasing the aggregated links available bandwidth, be applied to the second network equipment in the aggregated links, described second network equipment is communicated by letter 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 the first aggregation port and described the second aggregation port, and described method comprises:
Receive by described the second aggregation port that member's single fiber of sending from the first member port of described the first aggregation port is continuous uses request message, there is fault in the receiving terminal of described the first member port;
Send the continuous acknowledge message of using of member's single fiber by described the second aggregation port to described the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
Another aspect, the embodiment of the invention provides a kind of first network equipment, described first network equipment is used for communicating by letter 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 the first aggregation port and described the second aggregation port, and described first network equipment comprises:
Whether detecting unit exists fault for detection of the receiving terminal of the first member port of described the first aggregation port;
There is fault in the unit that sends a request message if be used for the receiving terminal that described detecting unit detects described the first member port, and the transmitting terminal by described the first member port sends the continuous request message of using of member's single fiber to described the second aggregation port;
Whether the confirmation of receipt message elements receives the continuous acknowledge message of using of member's single fiber that described the second aggregation port is sent for detection of described the first aggregation port, and described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message;
Performance element detects that member's single fiber that described the first aggregation port receives that described the second aggregation port sends is continuous uses acknowledge message if be used for described confirmation of receipt message elements, and the transmitting terminal that then keeps described the first member port is upstate.
Another aspect, the embodiment of the invention provides a kind of second network equipment, described second network equipment is used for communicating by letter 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 the first aggregation port and described the second aggregation port, and described second network equipment comprises:
Receive the request message unit, be used for receiving by described the second aggregation port that member's single fiber of sending from the first member port of described the first aggregation port is continuous uses request message, there is fault in the receiving terminal of described the first member port;
Send the acknowledge message unit, be used for sending the continuous acknowledge message of using of member's single fiber by described the second aggregation port to described the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
Another aspect, the embodiment of the invention provides a kind of system that increases the aggregated links available bandwidth, comprise first network equipment and second network equipment, described first network equipment is communicated by letter 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 the first aggregation port and described the second aggregation port, comprising:
Described first network equipment comprises:
Whether detecting unit exists fault for detection of the receiving terminal of the first member port of described the first aggregation port;
There is fault in the unit that sends a request message if be used for the receiving terminal that described detecting unit detects described the first member port, and the transmitting terminal by described the first member port sends the continuous request message of using of member's single fiber to described the second aggregation port;
Whether the confirmation of receipt message elements receives the continuous acknowledge message of using of member's single fiber that described the second aggregation port is sent for detection of described the first aggregation port, and described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message;
Performance element detects that member's single fiber that described the first aggregation port receives that described the second aggregation port sends is continuous uses acknowledge message if be used for described confirmation of receipt message elements, and the transmitting terminal that then keeps described the first member port is upstate;
Described second network equipment comprises:
Receive the request message unit, be used for receiving by described the second aggregation port that member's single fiber of sending from the first member port of described the first aggregation port is continuous uses request message, there is fault in the receiving terminal of described the first member port;
Send the acknowledge message unit, be used for sending the continuous acknowledge message of using of member's single fiber by described the second aggregation port to described the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
A kind of method that increases the aggregated links available bandwidth that the embodiment of the invention provides, equipment and system, first network equipment is after the receiving terminal (Rx end) of the first member port that detects the first aggregation port breaks down, the transmitting terminal (Tx end) of the first member port by the first aggregation port sends the continuous request message of using of member's single fiber to the second aggregation port of second network equipment, second network equipment receives that member's single fiber is continuous with behind the request message, by first aggregation port transmission member single fiber continuous the use acknowledge message of the second aggregation port to first network equipment.If first network equipment is received the continuous acknowledge message of using of described member's single fiber, then keep the Tx end of the first member port of the first aggregation port to be upstate, still can continue to utilize the Tx end of this member port to flow to the second network equipment sending data, can improve the available bandwidth of aggregated links under the single fiber failure condition, and the situation of single-pass can not appear, solves in the prior art member port because of aggregation port and first network equipment that the single fiber fault causes occurs to the problem of the available bandwidth minimizing of second network equipment.
Embodiment
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
One embodiment of the present of invention provide a kind of method that increases the aggregated links available bandwidth, be applied to first network equipment, described first network equipment is communicated by letter 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 the first aggregation port and described the second aggregation port.
For ease of understanding, take network shown in Figure 1 as example.Fig. 1 is a kind of networking schematic diagram that increases the aggregated links available bandwidth that the embodiment of the invention provides, first network equipment is the first router, second network equipment is the second router, aggregated links comprises the link between the first router and the second router, two links have been shown among 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, the first member port is port one, and the second member port is 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, and the 3rd member port is that port 3, the four member ports are port 4.Wherein, port one links to each other with port 3, and port 2 links to each other with port 4.Each port is comprised of receiving terminal Rx and transmitting terminal Tx.
For instance, described first network equipment can be router, switch or Broadband Remote Access Server etc., and the following examples describe as an example of router example.
Described aggregated links can be applied in the 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 invention provides a kind of flow chart that increases the method for aggregated links available bandwidth, is applied to the first router, comprising:
101, whether the receiving terminal of the first member port of described the first aggregation port of detection exists fault.
If there is fault in the receiving terminal of 102 described the first member ports, the transmitting terminal by described the first member port sends the continuous request message of using of member's single fiber to described the second aggregation port.
103, detect the continuous acknowledge message of using of member's single fiber whether described the first aggregation port receives that described the second aggregation port is sent, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
If 104 described the first aggregation ports receive that member's single fiber that described the second aggregation port sends is continuous and use acknowledge message, the transmitting terminal that then keeps described the first member port is upstate.
For instance,
The first router was being carried out above-mentioned 101 o'clock, the Rx end that detects port one exist fault, fault type comprise following one or more: the luminous power fault, Operations, Administration and Maintenance (Operation, Administration, and Maintenance, OAM) fault etc.
The first router was being carried out above-mentioned 102 o'clock, had fault because detect the Rx end of port one in step 101, so send the continuous request message of using of member's single fiber by the Tx end of port one to the second aggregation port.
The second router receives that from the second aggregation port described member's single fiber is continuous with behind the request message, send the continuous acknowledge message of using of member's single fiber by the second aggregation port to the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.Particularly, the continuous acknowledge message of using of member's single fiber can be sent by a plurality of member ports in the second aggregation port, perhaps the continuous acknowledge message of using of member's single fiber can be sent by a member port in the second aggregation port.When sending by a member port in the second aggregation port that member's single fiber is continuous uses acknowledge message, other member ports selecting in the second aggregation port in port 3 are such as port 4.
The first router was being carried out above-mentioned 103 o'clock, detected and whether had received the continuous acknowledge message of using of member's single fiber of sending from the second aggregation port from the first aggregation port, and described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
The first router was being carried out above-mentioned 104 o'clock, had received from the first aggregation port that member's single fiber of sending from the second aggregation port is continuous and use acknowledge message because detect, and then keeping the Tx end of port one is upstate.
If port one, port 2, port 3, port 4 all are the GE ports, namely the bandwidth between the first router and the second router is 2G under the normal condition.In the prior art, detect the Rx end fault (being the single fiber fault) of port one when the first router, then direct Tx with port one is set to down state, and causing the first router is 1G to the bandwidth of the second router; And the technical scheme that the embodiment of the invention provides, when there is fault (being the single fiber fault) in the Rx end that detects port one, by send the continuous request message of using of member's single fiber to the second router, and detect the first aggregation port and receive the continuous acknowledge message of using of member's single fiber, keeping the transmitting terminal of port one is upstate, so that when the single fiber fault, still can keep the first router is 2G to the bandwidth of the second router, and the situation of single-pass can not appear, therefore can improve the available bandwidth of aggregated links under the single fiber failure condition, solve in the prior art because of port one and the first router that the single fiber fault causes occurs to the problem of the available bandwidth minimizing of the second router.
For instance, said method can also comprise: carrying out in above-mentioned 104 the step 105 in all right execution graph 3.Certainly, step 105 also can be in the rear execution of step 104.
105, described the first member port of mark works in the continuous state of using of single fiber fault.
For instance, said method can also comprise, if above-mentioned 103 detect the continuous acknowledge message of using of member's single fiber that described the first aggregation port does not receive that described the second aggregation port is sent, the step 106 in all right execution graph 3.
106, the transmitting terminal with described the first member port is set to down state, and with all are labeled as the transmitting terminal that works in the continuous member port with state of single fiber fault and are set to down state in described the first aggregation port.
For ease of understanding step 106, take network shown in Figure 4 as example.Fig. 4 shows the further action that occurs on the basis of situation shown in Figure 1, and namely in Fig. 4, through above-mentioned 101~105 steps, the port one of the first router has been marked as and has worked in that the single fiber fault is continuous use state, and the Rx that detects port 2 holds and has fault.At this moment, the first member port in shown in Figure 3 101 is port 2.
The first router was being carried out above-mentioned 101 o'clock, and there is fault in the Rx end that detects port 2.
The first router was being carried out above-mentioned 102 o'clock, had fault because detect the Rx end of port 2 in step 101, so send the continuous request message of using of member's single fiber by the Tx end of port 2 to the second aggregation port.
The second router receives that from the second aggregation port described member's single fiber is continuous with behind the request message, send the continuous acknowledge message of using of member's single fiber by the second aggregation port to the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
The first router was being carried out above-mentioned 103 o'clock, because the port one on the first aggregation port and the Rx of port 2 hold faults, therefore do not detect the continuous acknowledge message of using of member's single fiber of sending from the second aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message, so the first router execution in step 106.
The first router was being carried out above-mentioned 106 o'clock, and the Tx end of port 2 is set to down state, and will before be marked as the Tx that works in the continuous port one with state of single fiber fault and hold and be set to down state.
Among Fig. 4, the first router all is set to down state with the Tx end of port one and the Tx end of port 2 after the Rx end fault of the Rx end that successively detects port one and port 2, guarantee can not occur the situation of single-pass.
Fig. 5 is the flow chart that the embodiment of the invention provides a kind of method for increasing the aggregated links available bandwidth, is applied to the second router, comprising:
201, receive by described the second aggregation port that member's single fiber of sending from the first member port of described the first aggregation port is continuous uses request message, there is fault in the receiving terminal of described the first member port.
202, send the continuous acknowledge message of using of member's single fiber by described the second aggregation port to described the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.。
For instance, take network shown in Figure 1 as example,
The second router was being carried out above-mentioned 201 o'clock, received the continuous request message of using of member's single fiber of sending from the port one of the first aggregation port by the port 3 of the second aggregation port, and there is fault in the Rx end of port one.
The second router was being carried out above-mentioned 202 o'clock, can send by a plurality of member ports in the second aggregation port the continuous acknowledge message of using of member's single fiber, perhaps can send by a member port in the second aggregation port the continuous acknowledge message of using of member's single fiber.When sending by a member port in the second aggregation port that member's single fiber is continuous uses acknowledge message, other member ports selecting in the second aggregation port in port 3 are such as port 4.
The technical scheme that the embodiment of the invention provides, receive and reply the continuous request message of using of member's single fiber that the first router is sent by the second router, so that the first router when the Rx end fault of port one occurring, 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 communicating by letter 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 the first aggregation port and described the second aggregation port.
For instance, the device type of described first network equipment can comprise router, switch or Broadband Remote Access Server etc.
For instance, described aggregated links can be applied in the 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 comprises:
Whether detecting unit 601 exists fault for detection of the receiving terminal of the first member port of described the first aggregation port.
There is fault in the unit 602 that sends a request message if be used for the receiving terminal that described detecting unit 601 detects described the first member port, and the transmitting terminal by described the first member port sends the continuous request message of using of member's single fiber to described the second aggregation port.
Whether confirmation of receipt message elements 603 receives the continuous acknowledge message of using of member's single fiber that described the second aggregation port is sent for detection of described the first aggregation port, and described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
Performance element 604 detects that member's single fiber that described the first aggregation port receives that described the second aggregation port sends is continuous uses acknowledge message if be used for described confirmation of receipt message elements 603, and the transmitting terminal that then keeps described the first member port is upstate.
For instance, as shown in Figure 7, described first network equipment can also comprise:
Indexing unit 605 is if receive that for described the first aggregation port of described confirmation of receipt message elements 603 detections the continuous acknowledge message, described the first member port of mark used of member's single fiber that described the second aggregation port is sent works in the continuous state of using of single fiber fault.
For instance, described performance element 604 can also be used for:
Member's single fiber that described the first aggregation port do not receive that described the second aggregation port sends is continuous uses acknowledge message if described confirmation of receipt message elements 603 detects, and then the transmitting terminal with described the first member port is set to down state; And with all are labeled as the transmitting terminal that works in the continuous member port with state of single fiber fault and are set to down state in described the first aggregation port.
The contents such as concrete signal processing between above-mentioned each unit, implementation and since with the inventive method embodiment based on same conception, can referring to the narration among the inventive method embodiment, repeat no more herein.
The first network equipment that the embodiment of the invention provides, after the Rx that detects the first member port of the first aggregation port brings out existing fault, Tx end by the first member port sends the continuous request message of using of member's single fiber to the second aggregation port of second network equipment, and detect and whether receive the continuous acknowledge message of using of member's single fiber that second network equipment is sent from the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message, if receive the continuous acknowledge message of using of member's single fiber, then keep the Tx end of the first member port to be upstate, can improve the available bandwidth of aggregated links under the single fiber failure condition, and single-pass can not occur, solve in the prior art member port because of aggregation port and the first router that the single fiber fault causes occurs to the problem of the available bandwidth minimizing 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 communicating by letter 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 the first aggregation port and described the second aggregation port.
For instance, the device type of described second network equipment can comprise router, switch or Broadband Remote Access Server etc.
For instance, described aggregated links can be applied in the 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 comprises:
Receive request message unit 701, be used for receiving by described the second aggregation port that member's single fiber of sending from the first member port of described the first aggregation port is continuous uses request message, there is fault in the receiving terminal of described the first member port.
Send acknowledge message unit 702, be used for sending the continuous acknowledge message of using of member's single fiber by described the second aggregation port to described the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
The contents such as concrete signal processing between above-mentioned each unit, implementation and since with the inventive method embodiment based on same conception, can referring to the narration among the inventive method embodiment, repeat no more herein.
The second network equipment that the embodiment of the invention provides, the continuous request message of using of member's single fiber of sending by receiving and reply first network equipment, so that first network equipment is in the situation of the Rx of the member port that aggregation port occurs end fault, still can continue to utilize the Tx end of this member port to flow to the second network equipment sending data, improved the available bandwidth of aggregated links under the single fiber failure condition, and the situation of single-pass can not appear, solves in the prior art member port because of aggregation port and first network equipment that the single fiber fault causes occurs to the problem of the available bandwidth minimizing of second network equipment.
As shown in Figure 9, one embodiment of the present of invention provide a kind of system that increases the aggregated links available bandwidth, comprise first network equipment and second network equipment, described first network equipment is communicated by letter 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 the first aggregation port and described the second aggregation port.
Described first network equipment comprises:
Whether detecting unit 601 exists fault for detection of the receiving terminal of the first member port of described the first aggregation port.
There is fault in the unit 602 that sends a request message if be used for the receiving terminal that described detecting unit 601 detects described the first member port, and the transmitting terminal by described the first member port sends the continuous request message of using of member's single fiber to described the second aggregation port.
Confirmation of receipt message elements 603 detects the continuous acknowledge message of using of member's single fiber whether described the first aggregation port receives that described the second aggregation port is sent, and described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
Performance element 604 detects that member's single fiber that described the first aggregation port receives that described the second aggregation port sends is continuous uses acknowledge message if be used for described confirmation of receipt message elements 603, and the transmitting terminal that then keeps described the first member port is upstate.
Described second network equipment comprises:
Receive request message unit 701, be used for receiving by described the second aggregation port that member's single fiber of sending from the first member port of described the first aggregation port is continuous uses request message, there is fault in the receiving terminal of described the first member port.
Send acknowledge message unit 702, be used for sending the continuous acknowledge message of using of member's single fiber by described the second aggregation port to described the first aggregation port, described member's single fiber is continuous to be to the continuous response with request message of described member's single fiber with acknowledge message.
For instance, as shown in figure 10, described first network equipment can also comprise:
Indexing unit 605 is if receive that for described the first aggregation port of described confirmation of receipt message elements 603 detections the continuous acknowledge message, described the first member port of mark used of member's single fiber that described the second aggregation port is sent works in the continuous state of using of single fiber fault.
For instance, the performance element 604 of described first network equipment can also be used for:
Member's single fiber that described the first aggregation port do not receive that described the second aggregation port sends is continuous uses acknowledge message if described confirmation of receipt message elements 603 detects, and then the transmitting terminal with described the first member port is set to down state; And with all are labeled as the transmitting terminal that works in the continuous member port with state of single fiber fault and are set to down state in described the first aggregation port.
The contents such as concrete signal processing between each unit of said system, implementation and since with the inventive method embodiment based on same conception, can referring to the narration among the inventive method embodiment, repeat no more herein.
A kind of system that increases the aggregated links available bandwidth that the embodiment of the invention provides, first network equipment is after the Rx of the first member port that detects the first aggregation port brings out existing fault, Tx end by the first member port sends the continuous request message of using of member's single fiber to the second aggregation port of second network equipment, second network equipment receives that member's single fiber is continuous with behind the request message, sends the continuous acknowledge message of using of member's single fiber by the second aggregation port to the first aggregation port.If the first aggregation port of first network equipment is received the continuous acknowledge message of using of described member's single fiber, then keep the Tx end of the first member port to be upstate, still can continue to utilize the Tx end of this member port to flow to the second network equipment sending data, can improve the available bandwidth of aggregated links under the single fiber failure condition, and the situation of single-pass can not appear, solves in the prior art member port because of aggregation port and first network equipment that the single fiber fault causes occurs to the problem of the available bandwidth minimizing of second network equipment.
For instance, Fig. 6 can merge into one or more unit to the unit in embodiment illustrated in fig. 10.
Again for instance, described unit or subelement all can be realized by hardware.One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, for instance, storage medium can comprise: read-only memory, immediately read memory, disk or CD etc.
Above a kind of method, apparatus and system that increase the aggregated links available bandwidth that the embodiment of the invention is provided are described in detail, but the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof, 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 variation that can expect easily or replacement all should be encompassed within protection scope of the present invention, and protection scope of the present invention is as the criterion with claim.