CN101340435B - Method and apparatus for control peer-to-peer protocol link of multiple link - Google Patents

Method and apparatus for control peer-to-peer protocol link of multiple link Download PDF

Info

Publication number
CN101340435B
CN101340435B CN2008101181827A CN200810118182A CN101340435B CN 101340435 B CN101340435 B CN 101340435B CN 2008101181827 A CN2008101181827 A CN 2008101181827A CN 200810118182 A CN200810118182 A CN 200810118182A CN 101340435 B CN101340435 B CN 101340435B
Authority
CN
China
Prior art keywords
link
physical link
interface
physical
effective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101181827A
Other languages
Chinese (zh)
Other versions
CN101340435A (en
Inventor
孙延峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008101181827A priority Critical patent/CN101340435B/en
Publication of CN101340435A publication Critical patent/CN101340435A/en
Application granted granted Critical
Publication of CN101340435B publication Critical patent/CN101340435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and a device for controlling a multilink point-to-point protocol link, the specific method comprises: when the times of alternative changes of a physical link which is bundled on an MP link between an effective state and an ineffective state within the stipulated time are less than the set trust times, the physical link can be judged as the trusted physical link; when the state of an interface of the trusted physical link is changed to be effective from the ineffective state, the trusted physical link is reckoned in the number of the effective interfaces of the physical link of the MP link; or when the state of the interface of the trusted physical link is changed to be ineffective from the effective state, the trusted physical link is eliminated from the effective interfaces of the physical link of the MP link. The embodiment of the invention can carry out the control of the quality of the physical link which is bundled by the MP link, thereby avoiding the impacts on the MP link caused by the unstable physical link.

Description

A kind of method and device of controlling the ppp multilink protocol link
Technical field
The present invention relates to communication technical field, relate in particular to the method and apparatus of adjusting the MP operating state based on the bandwidth of MP (ppp multilink protocol, Multilink PPP).
Background technology
The MP agreement is the expansion of point-to-point protocol (PPP, Point to Point), the wide link of multi-ribbon (for example many E1 cables) can be bundled by the MP technology, and the virtual link bandwidth that the binding back is produced equals the bandwidth summation of each bar separated links.Therefore, use the MP technology can improve the transmission bandwidth of link, make Network Transmission more efficient.
In actual applications, in order to guarantee the stability of transmission system, generally set up two MP links between transmission node, wherein MP link is as the reserve link of another MP link, specifically as shown in Figure 1.Among Fig. 1, equipment R1 is connected with equipment R2 by network, and two MP links between R1 and the R2 backup each other, and just as if link 1 invalid (being that state becomes down by up), then link 2 enters operating state (being that state becomes up by down) immediately, and vice versa; Link 1 is formed by the binding of n bar physical link among the figure, and link 2 is formed by the binding of m bar physical link.
The inventor finds that there are the following problems at least in the prior art in realizing process of the present invention:
(1) in mutually redundant two MP links, prior art with the condition of flow from the MP link switchover of current use to standby MP link is: all physical link state on the MP link of current use all become down, i.e. band width in physical vanishing.This makes if operator promises to undertake that then prior art can't guarantee to provide certain bandwidth for the high priority message flow for the high priority message flow provides certain bandwidth in real process;
(2) in the physical link of the MP of current use binding, if the state of a physical link becomes up by down, then this physical link will be used in the MP link, if this physical link is second-rate, promptly up, down state frequently appear in this physical link in a period of time, will make system be busy with additions and deletions physical link interface (increase this physical interface when physical link state becomes up, leave out this physical interface when physical link state becomes down), increase the weight of system burden; Also can make simultaneously the bandwidth instability of MP link, cause flow in the MP link, constantly to be switched.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of controlling the ppp multilink protocol link, can control the quality of the physical link of MP multilink bundling, with the influence of avoiding unstable physical link that the MP link is caused.
A kind of method of controlling the ppp multilink protocol link comprises:
When the physical link that is bundled on the MP link, the number of times of alternate judges then that less than the trust number of times of setting described physical link is the trusted physical link between inherent at the appointed time effective status and the disarmed state;
Become when effective by invalid at the Interface status of this trusted physical link, this trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of this trusted physical link by effectively becoming when invalid, this trusted physical link is removed from effective physics LI(link interface) of described MP link.
A kind of device of controlling the ppp multilink protocol link comprises:
Judging unit is used to judge the physical link that is bundled on the MP link, and whether the number of times of alternate is less than the trust number of times of setting between inherent at the appointed time effective status and the disarmed state; If, judge that then described physical link is the trusted physical link less than the trust number of times of setting;
Control unit is used for the judged result according to described judging unit, is become when effective by invalid at the Interface status of described trusted physical link, described trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of described trusted physical link by effectively becoming when invalid, described trusted physical link is removed from effective physics LI(link interface) of described MP link.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, by the physical link that is bundled on the MP link is carried out the trusted judgement, make effective physical link of MP link be stable physical link, thereby realized control to the MP link-quality, avoid unstable physical link to the influence that the MP link causes, guaranteed the stability of transmission system.
Description of drawings
Fig. 1 is the schematic diagram of prior art;
The method flow schematic diagram that Fig. 2 provides for the embodiment of the invention;
The process chart of the embodiment one that Fig. 3 provides for the embodiment of the invention;
The flow chart of the processing of the embodiment two that Fig. 4 provides for the embodiment of the invention;
The apparatus structure schematic diagram that Fig. 5 provides for the embodiment of the invention.
Embodiment
In the embodiment of the invention, in the networking that the MP link backs up mutually, a kind of method of controlling the ppp multilink protocol link is provided, specifically can comprise: when the physical link that is bundled on the MP link, the number of times of alternate judges then that less than the trust number of times of setting described physical link is the trusted physical link between inherent at the appointed time effective status and the disarmed state; Become when effective by invalid at the Interface status of this trusted physical link, this trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of this trusted physical link by effectively becoming when invalid, this trusted physical link is removed from effective physics LI(link interface) of described MP link.And ought describedly be bundled in physical link on the MP link, the number of times of alternate surpasses or equals the trust number of times of described setting between effective status and disarmed state in the described stipulated time, judge that then this physical link is the distrust physical link, and the use of this distrust physical link is controlled.
Wherein, described MP link comprises: the MP link of current use and standby MP link.
And, according to above-mentioned quality control to physical link, can obtain the MP link of current use and the physical link quantity that is in effective status of standby MP link correspondence, and the MP link of selecting to use described standby MP link or continuing to use described current use according to this quantity, thereby be implemented in the reasonable switching of carrying out flow between the MP link of current use and the standby MP link.
For ease of understanding, be described in detail below in conjunction with the specific implementation of accompanying drawing to the embodiment of the invention to the embodiment of the invention.
Fig. 2 is the method flow diagram of the control ppp multilink protocol link that provides of the embodiment of the invention, and as shown in Figure 2, the method flow of the embodiment of the invention can comprise as follows:
21: judge that the physical link that is bundled on current MP link that uses and the standby MP link is trusted or distrust physical link, and according to the trusted mode use of trusted physical link is controlled, or the use of distrusting physical link is controlled according to the distrust mode according to judged result; Concrete, can comprise:
If the number of times of alternate judges then that less than the trust number of times of setting described physical link is the trusted link between inherent at the appointed time effective status of described physical link and the disarmed state; Become when effective by invalid at the Interface status of this trusted physical link, this trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of this trusted physical link by effectively becoming when invalid, this trusted physical link is removed from effective physics LI(link interface) of described MP link; Concrete processing procedure can comprise:
(1) interface as if a trusted physical link on the MP link that is bundled in described current use becomes effective status by disarmed state, then can use this trusted physical link delivery flow rate, and this trusted physical link interface is counted on the MP link of described current use and be in the physical link interface of effective status, be effective physics number of ports amount of MP link under this trusted physical link interface of corresponding increase, for example add 1 can for the quantitative value in the physical link interface that is in effective status on the MP link of described current use during specific implementation; In like manner, if the interface of a trusted physical link on the MP link of described current use becomes disarmed state by effective status, then this trusted physical link interface can be removed from affiliated MP link is in the physical link interface of effective status, be subtracted 1 for example can for the physical link number of ports value that is in effective status on the MP link of described current use;
When (2) becoming effective status by disarmed state as if the interface that is bundled in a trusted physical link on the described standby MP link, then this trusted physical link interface is counted on the described standby MP link and be in the physical link interface of effective status, be effective physics number of ports amount of MP link under this trusted physical link interface of corresponding increase, add 1 for example for the physical link number of ports value that is in effective status on the described standby MP link; In like manner, when if the interface of a trusted physical link on the described standby MP link becomes disarmed state by effective status, then this trusted physical link interface can be removed from affiliated MP link, subtracted 1 for example can for the physical link number of ports value that is in effective status on the described standby MP link;
If be bundled in the trust number of times that the number of times of alternate between the MP link of current use and inherent at the appointed time effective status of physical link on the standby MP link and the disarmed state surpasses or equals to set, judge that then described physical link is for distrusting physical link; And the use of this distrust physical link controlled, concrete processing procedure can comprise:
(3) on the MP link that is bundled in described current use distrusts the interface of physical link to become effective status by disarmed state, then if this distrust physical link does not become disarmed state from effective status in the detection time of subsequently setting in the length, can think that then this distrust physical link is stable, should distrust physical link as the trusted physical link, and use this physical link delivery flow rate, be in the physical link interface number of effective status on the MP link under simultaneously this physical link interface being counted, concrete, add 1 can for the quantitative value of the physical link interface that is in effective status on the MP link of described current use; If this distrust physical link the detection time of setting in the length between effective status and disarmed state alternate, and change the inhibition number of times that surpasses or equal to set, then think this distrust physical link instability, so should distrust that the physical link interface setting was a holddown; If this distrust physical link the detection time of setting in the length between effective status and disarmed state alternate, but change frequency is less than the inhibition number of times of described setting, the detection time of then wait for setting again is after the length, again check this distrust physical link in the detection time of this setting length between effective status and disarmed state the number of times of alternate, and then carry out above-mentioned respective handling;
(4) if of being bundled on the described standby MP link distrusts the interface of physical link to become effective status by disarmed state, then if this distrust physical link does not become disarmed state from effective status in the detection time of setting in the length, think that then this distrust physical link is stable, count this distrust physical link in the physical link interface number that is in effective status on the described standby MP link as the trusted physical link, concrete, add 1 can for the quantitative value that is in the physical link interface of effective status on the described standby MP link; If this distrust physical link the detection time of setting in the length between effective status and disarmed state alternate, and the inhibition number of times that surpasses or equal to set, then think this distrust physical link instability, should distrust that the physical link interface setting was a holddown; If this distrust physical link the detection time of setting in the length between effective status and disarmed state alternate, but change frequency is less than the inhibition number of times of described setting, the length of wait for setting again detection time then, and check again this distrust physical link in the detection time of this setting length between effective status and disarmed state the number of times of alternate; And then handle accordingly;
Further, after distrust physical link interface was set to described holddown, the state variation of this distrust physical link interface no longer counted the MP link under this distrust physical link; After the time that this distrust physical link interface is in holddown reaches the inhibition time span of regulation, finish the holddown of this distrust physical link interface, and carry out above-mentioned respective handling according to the state variation of this distrust physical link interface;
22: according to the quantity of effective physics LI(link interface) of the MP link of the current use of described control and standby MP link, the MP link of selecting to use standby MP link or continuing to use current use;
For example, during practical application, when the interface of at least one physical link in being bundled in described standby MP link became effective status by disarmed state, whether the quantity of judging the physical link interface that is in effective status on the standby MP link was greater than the unlatching quantity of setting; When the quantity of effective physics LI(link interface) of described standby MP link more than or equal to the unlatching quantity of setting, then described standby MP link is set to opening; When less than the unlatching quantity of setting, then keep the closed condition (being stand-by state) of described standby MP link;
When selecting to use standby MP link or continuing the MP link of the current use of use:
If the quantity of effective physics LI(link interface) of the MP link of current use more than or equal to the quantity of regulation, then continues to use the MP link of described current use;
If the quantity of effective physics LI(link interface) of the MP link of current use is less than the quantity of described regulation, and if standby MP link is in opening, then with flow from the MP link switchover of described current use to described standby MP link; If described standby MP link is in closed condition, then continue to use the MP link of described current use;
For example, during concrete the application, when the interface that is bundled at least one physical link on the MP link of described current use became disarmed state by effective status, whether the quantity of judging the physical link interface that is in effective status on the MP link of described current use was less than the quantity of regulation; If less than the quantity of regulation, then check the state of standby MP link, if the state of described standby MP link is an opening, then can with flow from the MP link switchover of described current use to described standby MP link; If effectively the quantity of physical link interface is more than or equal to the quantity of regulation on the MP link of described current use, then the MP link transmission flow of described current use is used in continuation, needn't carry out flow and switch.
From foregoing description as can be seen, the embodiment of the invention is by controlling the MP link of current use and the quality of the physical link on the standby MP link, physical link is divided into trusted and distrusts physical link, to distrusting that physical link can suppress, only use trusted physical link delivery flow rate, thereby can avoid since the flow that causes of physical link instability on physical link by frequent switching, the influence of promptly having avoided unstable physical link that the MP link is caused; Can obtain the quantity information of effective physics LI(link interface) on the MP link simultaneously by above-mentioned control to the MP link-quality, can obtain the bandwidth information of MP link during practical application according to this quantity information, and in the bandwidth of the MP of current use link during less than predetermined bandwidth, and when the bandwidth of standby MP link is greater than or equal to the bandwidth of setting, select to use standby MP link to replace the MP link of current use to come delivery flow rate, thereby guarantee that the bandwidth of the MP link of use can satisfy the demand of delivery flow rate.
Below in conjunction with specific embodiment, the embodiment of the invention is described in detail.
Embodiment one
Among the embodiment one, Fig. 3 is bundled at least one physical link interface on the MP link when disarmed state becomes effective status in the embodiment of the invention, quality to the MP link is controlled, and select to use the wherein specific implementation schematic flow sheet of a MP link according to effective physics LI(link interface) quantity of the MP link of current use and standby MP link correspondence, below in conjunction with Fig. 3 the specific implementation of the embodiment of the invention is described in detail:
301: in the networking that the MP link backs up mutually, at least one the physical link interface that is bundled on the MP link 1 becomes effective status (being that Interface status becomes up from down) from disarmed state;
302: judge whether this interface is the trusted link from the physical link that disarmed state becomes effective status; For example, judge whether it is that the process of trusted link can comprise: if the trust number of times that the number of times of alternate surpasses or equals to set between the inherent at the appointed time effective status of interface of this physical link and the disarmed state judges that then this physical link is for distrusting link; If the number of times of alternate judges then that less than the trust number of times of setting this physical link is the trusted link between inherent at the appointed time effective status of this physical link interface and the disarmed state; If the trusted link then carries out 305,, then carry out 303 if distrust link;
303: again check the Interface status of this physical link after the length detection time of wait for setting, and carries out 304;
304: if the Interface status of this physical link remains effective status, and do not change, then carry out 305 in this section period internal state; If the Interface status of this physical link changes in this section period internal state, then carry out 306;
305: this physical link interface is counted in the physical link interface that is in effective status on the MP link 1, for example, add 1 can for the effective physics LI(link interface) quantitative value on the MP link 1; Carry out 308;
306: judge whether the number of times that this physical link interface changes in this section period internal state has reached the inhibition number of times of setting; If reached the inhibition number of times, then carry out 307; If do not reach the inhibition number of times, then carry out 303;
307: with this physical link interface setting is holddown, and when this physical link interface was in holddown, the state variation of this physical link interface no longer counted affiliated MP link; After treating that this physical link interface is in the inhibition time span that holddown reaches regulation, finish the holddown of this physical link interface, carry out 303, promptly check the state of this physical link interface again, and according to checking that the result carries out respective handling;
308:, then carry out 310 if MP link 1 is the MP link of current use; If MP link 1 is standby MP link, then carry out 309;
309: judge that the physical link number of ports value that is in effective status on the MP link 1 whether more than or equal to the quantity n that stipulates, if more than or equal to n, then carries out 311; If less than n, then carry out 312;
310: continue the current active and standby state of using of maintenance, withdraw from this and select the MP link procedure;
311: more than or equal to n, illustrate that the quality of MP link 1 has satisfied service condition, MP link 1 is set to opening; If the quantity of effective physics LI(link interface) of the MP link of current use this moment is lower than the quantity of regulation, then flow can be switched to MP link 1;
312: less than n, illustrate that the quality of MP link 1 does not also reach switching condition, continue to keep the closed condition of MP link 1.
From foregoing description as can be seen, after being bundled at least one physical link interface on the MP link and becoming effective status from disarmed state, the embodiment of the invention is carried out trusted to it and is judged, with the interface setting of trusted link is valid interface, and to distrusting link to suppress, thereby guaranteed the quality of each the bar physical link on the MP link; And can reach service condition in the quality level of standby MP link the time, standby MP link is made as opening, and in the quantity of effective physics LI(link interface) of the MP of current use link during (or the MP link bandwidth of current use less than prescribed bandwidth time) less than specified quantity, with flow from the MP link switchover of current use to standby MP link.Because in the practical application, when the data volume of Network Transmission is very big, need the very big link of transmission bandwidth, if the bandwidth of the MP link of current use is less than the bandwidth of setting, and the bandwidth of standby MP link is greater than predetermined bandwidth, then can flow be switched to the bigger standby MP link of bandwidth, thereby guarantee the transmit level of network by the embodiment of the invention.Therefore according to the embodiment of the invention, the physical link quality of MP multilink bundling can be assessed and detect, after the MP link bandwidth raises or is reduced to certain level, switch motion can be automatically performed the MP link.
Embodiment two
With respect to the embodiment that at least one physical link interface on the MP link among the embodiment one is handled when disarmed state becomes effective status, second embodiment is the embodiment that at least one the physical link interface on the MP link is handled when effective status becomes disarmed state.
Fig. 4 is bundled at least one physical link interface on the MP link of current use when effective status becomes disarmed state in the embodiment of the invention, the MP link of current use or the specific implementation schematic flow sheet of standby MP link are controlled and selected to use to the quality of MP link, the specific implementation of the embodiment of the invention be described in detail below in conjunction with Fig. 4:
Need to prove, before carrying out following flow process, also need to carry out control to physical link, as 301~307 (but of describing among the embodiment 1 different be that Interface status becomes up from down), then from determining that at least one physical link interface becomes disarmed state from effective status:
At least one physical link interface on the 41:MP link 1 becomes disarmed state (being that Interface status becomes up from down) from effective status; For example, on the MP link 1 K valid interface arranged originally, it is invalid that have a valid interface to become this moment;
42: will be somebody's turn to do the physical link interface that becomes disarmed state from effective status and from the valid interface of MP link 1, remove; Concrete, the valid interface quantitative value of MP link 1 can be subtracted 1, the valid interface quantity on the promptly present MP link 1 is K-1;
43: whether the valid interface quantity on judgement MP link this moment 1 just judges whether K-1<n less than the numerical value n that sets, if less than n, then carries out 44; If more than or equal to n, then carry out 45;
44:K-1<n, MP link 1 bandwidth that current use then is described has dropped to undesirable level (promptly satisfying switching condition), if standby MP link 2 is in opening and then needs to enable standby MP link 2, so MP link 1 is set to closed condition, flow is switched to MP link 2 from MP link 1; If standby MP link 2 is in the MP link 1 that closed condition then continues to use current use;
45:K-1 is greater than n, and therefore the bandwidth level of MP link 1 that current use is described continues the MP link of MP link 1 as current use also in the scope of meeting the requirements.
From foregoing description as can be seen, after being bundled at least one physical link interface on the MP link and becoming disarmed state from effective status, the embodiment of the invention can judge whether standby MP link is made as opening according to the effective physics LI(link interface) quantity of this moment on the standby MP link, for example when the quality of standby MP link has satisfied the condition of setting, just reserve link is made as opening, and reduced to when undesirable in the bandwidth of the MP of current use link, just flow is switched on the standby MP link that is in opening, thereby guaranteed the quality of MP link.In actual applications, because the data volume of Network Transmission needs the very big link of transmission bandwidth when very big, and the bandwidth of the MP link of current use is during less than the bandwidth of standby MP link, just can flow be switched to the bigger standby MP link of bandwidth, thereby guarantee the transmit level of network by the embodiment of the invention; Therefore according to the embodiment of the invention, the physical link quality of MP multilink bundling can be assessed and detect, after the MP link bandwidth raises or is reduced to certain level, switch motion can be automatically performed the MP link.
The embodiment of the invention also provides a kind of device of controlling the ppp multilink protocol link, and the specific implementation structural representation can comprise as shown in Figure 5:
Judging unit 51 is used to judge the physical link that is bundled on the MP link, and whether the number of times of alternate is less than the trust number of times of setting between inherent at the appointed time effective status and the disarmed state; If, judge that then described physical link is the trusted physical link less than the trust number of times of setting; If surpass or equal the trust number of times of described setting, judge that then this physical link is for distrusting physical link.Wherein, the MP link comprises: the MP link of current use and standby MP link.
Control unit 52 is used for the judged result according to described judging unit 51, is become when effective by invalid at the Interface status of described trusted physical link, described trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of described trusted physical link by effectively becoming when invalid, described trusted physical link is removed from effective physics LI(link interface) of described MP link; For example during specific implementation, interface as if a trusted physical link on the MP link that is bundled in current use becomes effective status by disarmed state, then can use this trusted physical link delivery flow rate, and add 1 for the effective physics LI(link interface) quantitative value on the MP link of described current use;
Described control unit 52, also be used for judged result according to described judging unit 51, use to described distrust physical link is controlled, specifically comprise: when the Interface status that is bundled in a distrust physical link on the described MP link is become effectively by invalid, judge whether this distrust physical link has alternate in the detection time of setting in the length between effective status and disarmed state, if there is not alternate, then count this physical link interface in effective physics LI(link interface) number of described MP link as the trusted physical link;
If this distrust physical link in the detection time of described setting length between effective status and disarmed state alternate, and the inhibition number of times that the alternate number of times surpasses or equals to set should distrust then that the physical link interface setting was a holddown;
If this distrust physical link in the detection time of described setting length between effective status and disarmed state alternate, but change frequency is less than the inhibition number of times of described setting, then wait for length detection time of described setting again, and check again this distrust physical link in the detection time of described setting between effective status and disarmed state the number of times of alternate, and carry out above-mentioned respective handling once more according to this change frequency.
Switch element 53 is set, is used for the control result according to described control unit 52, the quantity of effective physics LI(link interface) of the standby MP link that comprises when described MP link is during more than or equal to the unlatching quantity set, and described standby MP link is set to opening; When less than the unlatching quantity set, described standby MP link is set to closed condition.
Switch unit 54, be used for the result that is provided with that switch element 53 is set according to described, and the corresponding effectively quantity of physics LI(link interface) that obtains of the MP link of the current use that comprises of 52 pairs of described MP links of described control unit and described standby MP controlling links, the MP link of selecting to use standby MP link or continuing to use current use; Specifically be used for: if the quantity of effective physics LI(link interface) of MP link of judging current use during more than or equal to the quantity of regulation, then continues to use the MP link of current use; If the quantity of effective physics LI(link interface) of MP link of judging current use is during less than the quantity of described regulation, then if standby MP link is in opening, then with flow from the MP link switchover of current use to standby MP link; If standby MP link is in closed condition, then continue to use the MP link of current use.For example in the practical application, can reduce to when undesirable, just flow switched on the standby MP link that is in opening, thereby guarantee the quality of MP link in the quality level of the MP of current use link.
In the practical application, each unit of the device of above-mentioned control ppp multilink protocol link can all be arranged in the equipment, also can separately be arranged in a plurality of equipment.
By said apparatus, can carry out trusted at the physical link on the MP link and judge, be valid interface with the interface setting of trusted link, and to distrusting that link suppresses, thereby guaranteed the quality of each the bar physical link on the MP link; And can reach the condition of switching the MP link in the quality level of standby MP link the time, flow is switched on the standby MP link.Because in the practical application, when the data volume of Network Transmission is very big, need the very big link of transmission bandwidth, if the bandwidth of the MP link of current use is less than the bandwidth of standby MP link, then can flow be switched to the bigger standby MP link of bandwidth, thereby guarantee the transmit level of network by said apparatus.Therefore use said apparatus, can assess and detect the physical link quality of MP multilink bundling, after the MP link bandwidth raises or is reduced to certain level, can automatically perform switch motion the MP link.
In sum, compare in various embodiments of the present invention and the prior art, because the embodiment of the invention can control each the physical link quality on the MP link, the influence of having avoided unstable physical link that the MP link is caused, thereby can guarantee the quality of MP link; Simultaneously can assess and detect the quality of MP link, after the bandwidth of MP link raises or is reduced to certain level, can carry out the reasonable switching of flow automatically, thereby even the bandwidth of having avoided standby MP link bandwidth in the prior art to be far longer than the MP link of current use also can't be used the situation of standby MP link.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (9)

1. a method of controlling ppp multilink protocol MP link is characterized in that, comprising:
When the physical link that is bundled on the MP link, the number of times of alternate judges then that less than the trust number of times of setting described physical link is the trusted physical link between inherent at the appointed time effective status and the disarmed state;
Become when effective by invalid at the Interface status of this trusted physical link, this trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of this trusted physical link by effectively becoming when invalid, this trusted physical link is removed from effective physics LI(link interface) of described MP link:
When the described physical link that is bundled on the MP link, the number of times of alternate surpasses or equals the trust number of times of described setting between effective status and disarmed state in the described stipulated time, judge that then this physical link is the distrust physical link, and the use of this distrust physical link is controlled.
2. method according to claim 1 is characterized in that, described use to this distrust physical link is controlled, and comprising:
When the state that is bundled in a distrust physical link interface on the described MP link is become effectively by invalid, if this distrust physical link does not have alternate in the detection time of setting in the length between effective status and disarmed state, then count this physical link interface in effective physics LI(link interface) number of described MP link as the trusted physical link;
If this distrusts physical link in the detection time of described setting length between effective status and disarmed state alternate above or the inhibition number of times that equals to set, should distrust then that the physical link interface setting was a holddown;
If this distrust physical link in the detection time of described setting length between effective status and disarmed state alternate, but change frequency is less than the inhibition number of times of described setting, then wait for length detection time of described setting again, and check again this distrust physical link in the detection time of described setting length between effective status and disarmed state the number of times of alternate, and carry out respective handling once more according to this change frequency.
3. method according to claim 2 is characterized in that, after described distrust physical link interface was set to described holddown, the state variation of described distrust physical link interface no longer counted the MP link under this distrust physical link; After the time that described distrust physical link interface is in holddown reaches the inhibition time span of regulation, finish the holddown of described distrust physical link interface, and carry out respective handling according to the state variation of described distrust physical link interface.
4. method according to claim 1 and 2 is characterized in that, described MP link comprises: the MP link of current use and standby MP link;
Concrete, described method also comprises: when the quantity of effective physics LI(link interface) of described standby MP link more than or equal to the unlatching quantity of setting, then described standby MP link is set to opening; When the unlatching quantity less than setting, then described standby MP link is set to closed condition.
5. method according to claim 4 is characterized in that, described method also comprises:
According to the quantity of effective physics LI(link interface) of the MP link of described current use and standby MP link, the MP link of selecting to use standby MP link or continuing to use current use specifically comprises:
If the quantity of effective physics LI(link interface) of the MP link of current use during more than or equal to the quantity of regulation, then continues to use the MP link of described current use;
If the quantity of effective physics LI(link interface) of the MP link of current use is during less than the quantity of described regulation, then if standby MP link is in opening, then with flow from the MP link switchover of described current use to described standby MP link; If described standby MP link is in closed condition, then continue to use the MP link of described current use.
6. a device of controlling ppp multilink protocol MP link is characterized in that, comprising:
Judging unit is used to judge the physical link that is bundled on the MP link, and whether the number of times of alternate is less than the trust number of times of setting between inherent at the appointed time effective status and the disarmed state; If, judge that then described physical link is the trusted physical link less than the trust number of times of setting;
Control unit is used for the judged result according to described judging unit, is become when effective by invalid at the Interface status of described trusted physical link, described trusted physical link is counted in effective physics LI(link interface) number of described MP link; Or at the Interface status of described trusted physical link by effectively becoming when invalid, described trusted physical link is removed from effective physics LI(link interface) of described MP link;
Described judging unit also is used to judge the physical link on the described MP of the being bundled in link, whether the number of times of alternate surpasses or equals the trust number of times of described setting between effective status and disarmed state in the described stipulated time, if surpass or equal the trust number of times of described setting, judge that then this physical link is for distrusting physical link.
7. device according to claim 6 is characterized in that, described control unit also is used for the judged result according to described judging unit, and the use of described distrust physical link is controlled, and specifically is used for:
When the state that is bundled in a distrust physical link interface on the described MP link is become effectively by invalid, judge whether this distrust physical link has alternate in the detection time of setting in the length between effective status and disarmed state, if there is not alternate, then count this physical link interface in effective physics LI(link interface) number of described MP link as the trusted physical link;
If this distrust physical link in the detection time of described setting length between effective status and disarmed state alternate, and the inhibition number of times that the alternate number of times surpasses or equals to set should distrust then that the physical link interface setting was a holddown;
If this distrust physical link in the detection time of described setting length between effective status and disarmed state alternate, but change frequency is less than the inhibition number of times of described setting, then wait for length detection time of described setting again, and check again this distrust physical link in the detection time of described setting length between effective status and disarmed state the number of times of alternate, and carry out respective handling once more according to this change frequency.
8. device according to claim 7 is characterized in that, described device also comprises:
Switch element is set, is used for the control result according to described control unit, the quantity of effective physics LI(link interface) of the standby MP link that comprises when described MP link is during more than or equal to the unlatching quantity set, and described standby MP link is set to opening; When less than the unlatching quantity set, described standby MP link is set to closed condition.
9. device according to claim 8 is characterized in that, described device also comprises:
Switch unit, be used for the MP link of the current use that described MP link comprised according to described control unit and the corresponding effectively quantity of physics LI(link interface) that described standby MP controlling links obtains, and the described result that is provided with that switch element is set, the MP link of selecting to use standby MP link or continuing to use current use; Specifically be used for:
If the quantity of effective physics LI(link interface) of MP link of judging described current use during more than or equal to the quantity of regulation, then continues to use the MP link of described current use;
If the quantity of effective physics LI(link interface) of MP link of judging described current use is during less than the quantity of described regulation, then if described standby MP link is in opening, then with flow from the MP link switchover of described current use to described standby MP link; If described standby MP link is in closed condition, then continue to use the MP link of described current use.
CN2008101181827A 2008-08-13 2008-08-13 Method and apparatus for control peer-to-peer protocol link of multiple link Active CN101340435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101181827A CN101340435B (en) 2008-08-13 2008-08-13 Method and apparatus for control peer-to-peer protocol link of multiple link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101181827A CN101340435B (en) 2008-08-13 2008-08-13 Method and apparatus for control peer-to-peer protocol link of multiple link

Publications (2)

Publication Number Publication Date
CN101340435A CN101340435A (en) 2009-01-07
CN101340435B true CN101340435B (en) 2011-11-09

Family

ID=40214389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101181827A Active CN101340435B (en) 2008-08-13 2008-08-13 Method and apparatus for control peer-to-peer protocol link of multiple link

Country Status (1)

Country Link
CN (1) CN101340435B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795186B (en) * 2010-03-04 2013-01-23 华为技术有限公司 Linkage disconnecting method, system and equipment
CN101938780A (en) * 2010-09-19 2011-01-05 中兴通讯股份有限公司 Method and system for reducing packet loss ratio of multilink point-to-point protocol suite
CN103684720B (en) * 2014-01-06 2017-12-19 迈普通信技术股份有限公司 A kind of system of selection of active and standby service unit and device
CN105933939B (en) * 2016-04-13 2019-11-12 新华三技术有限公司 A kind of link maintenance method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5918019A (en) * 1996-07-29 1999-06-29 Cisco Technology, Inc. Virtual dial-up protocol for network communication
EP1067746A2 (en) * 1999-06-22 2001-01-10 Lucent Technologies Inc. Quality of service (QoS) enhancement to multilink point-to-point protocol (PPP)
CN1523790A (en) * 2003-02-21 2004-08-25 华为技术有限公司 Link binding method of intelligent optical network
CN1905513A (en) * 2005-07-27 2007-01-31 中兴通讯股份有限公司 Method for sequential recombination of PPP multi-link protocol message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5918019A (en) * 1996-07-29 1999-06-29 Cisco Technology, Inc. Virtual dial-up protocol for network communication
EP1067746A2 (en) * 1999-06-22 2001-01-10 Lucent Technologies Inc. Quality of service (QoS) enhancement to multilink point-to-point protocol (PPP)
CN1523790A (en) * 2003-02-21 2004-08-25 华为技术有限公司 Link binding method of intelligent optical network
CN1905513A (en) * 2005-07-27 2007-01-31 中兴通讯股份有限公司 Method for sequential recombination of PPP multi-link protocol message

Also Published As

Publication number Publication date
CN101340435A (en) 2009-01-07

Similar Documents

Publication Publication Date Title
CN101640644B (en) Method and equipment for flow equilibrium based on flexible link group
JP4083169B2 (en) Communication apparatus, control method, and program
JP4825580B2 (en) Method and apparatus for reducing power consumption of network connection device
CN101227313B (en) Business path regulation method and communication system as well as route computing unit
CN101512968B (en) Faults propagation and protection for connection oriented data paths in packet networks
EP2458768A1 (en) Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof
CN101895472B (en) Traffic flow load sharing method and processing method and corresponding device and system
US20040213395A1 (en) Apparatus and a method for optimizing network resources employed in data communication
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN101340435B (en) Method and apparatus for control peer-to-peer protocol link of multiple link
CN103229462B (en) A kind of optimal route selection method, relevant device and communication system
CN103051546B (en) Delay scheduling-based network traffic conflict prevention method and delay scheduling-based network traffic conflict prevention system
CN109088822B (en) Data flow forwarding method, device, system, computer equipment and storage medium
CN112491700A (en) Network path adjusting method, system, device, electronic equipment and storage medium
RU2584799C2 (en) Switching device and method of controlling transmission and reception of frames
CN102143000B (en) Method for controlling data recovery, node, control device and disaster-recovery system
US8902738B2 (en) Dynamically adjusting active members in multichassis link bundle
CN104618157A (en) Network management method, device and system
US9071538B2 (en) Method for dynamically adjusting switching loop and network equipment
CN116319565A (en) Load balancing system, method, equipment and storage medium based on online computing
JP2013005210A (en) Packet transmission system, packet transmission device, and uninterruptible switching method
CN110138636B (en) Dynamic linear protection method and device
JP5389591B2 (en) Network control apparatus and method
CN107340973B (en) Method and system for accessing asynchronous logic unit
CN106789618B (en) Standby system and its method based on virtual router backup protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant