Nothing Special   »   [go: up one dir, main page]

CN110138636A - Dynamic linear guard method and device - Google Patents

Dynamic linear guard method and device Download PDF

Info

Publication number
CN110138636A
CN110138636A CN201910362545.XA CN201910362545A CN110138636A CN 110138636 A CN110138636 A CN 110138636A CN 201910362545 A CN201910362545 A CN 201910362545A CN 110138636 A CN110138636 A CN 110138636A
Authority
CN
China
Prior art keywords
link
intermediate state
overhead
reserve
connectivity
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.)
Granted
Application number
CN201910362545.XA
Other languages
Chinese (zh)
Other versions
CN110138636B (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.)
Zhejiang Billion State Communications Technology Co Ltd
Original Assignee
Zhejiang Billion State Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Billion State Communications Technology Co Ltd filed Critical Zhejiang Billion State Communications Technology Co Ltd
Priority to CN201910362545.XA priority Critical patent/CN110138636B/en
Publication of CN110138636A publication Critical patent/CN110138636A/en
Application granted granted Critical
Publication of CN110138636B publication Critical patent/CN110138636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention discloses a kind of method and device of dynamic linear protection; wherein method includes the following steps: to carry out detection of connectivity to the standby usage link two PE nodes; an intermediate state link is calculated between two PE nodes based on Routing Protocol; the intermediate state link is different from standby usage link; then the link overhead for calculating standby usage link and intermediate state link, carries out dynamic service switching according to the testing result of link overhead and detection of connectivity between standby usage link and intermediate state link.Using the present invention, connectivity and intermediate state link is detected by increasing backup path, then be equipped with APS message, network stabilization can be improved, reduce the time of dynamic service switching.

Description

Dynamic linear guard method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of dynamic linear guard method and devices.
Background technique
As the vision of the arrival in 5G epoch, the rapid development of " internet+", all things on earth interconnection is realized step by step, city Field has urgent demand to the large capacity of network, high bandwidth, high quality, high reliability etc., self-healing property and self-healing to network There are increasingly higher demands in time, especially for departments such as finance, national defence, must reach carrier class to network failure switching Level proposes (in 50ms) to be clearly required.
In order to meet the needs of network rapid development, major operator is laid with PTN, IP RAN, OTN equipment, business energetically Dynamic is slowly transitioned by static state, giving network stabilization and network failure switching time, more stringent requirements are proposed.Some departments, Such as finance, defense sector etc., due to the static traffic that the reliability of dynamic service is not high and uses always.
In the prior art, although dynamic service can reach the self-healing of business by routing convergence, its self-healing time It is extremely difficult to the requirement of carrier class, it is many to be primarily limited to utilization rate of CPU the etc. when convergence rate, agreement operation of agreement itself Factor causes the network self-healing time unpredictable, and network stabilization is poor.
Traditional LDP FRR protected mode are as follows: if primary path failure, is directly switched to backup path, if standby With path and failure, then need through routing convergence come for service path pathfinding, business switching time just be cannot be guaranteed.
Summary of the invention
The embodiment of the present invention provides a kind of dynamic linear guard method and device, passes through and increases backup path and detect connectivity And intermediate state link, then it is equipped with APS message, network stabilization can be improved, reduce the time of dynamic service switching.
First aspect of the embodiment of the present invention provides a kind of dynamic linear guard method, it may include:
Detection of connectivity is carried out between the standby usage link two PE nodes;
An intermediate state link is calculated between two PE nodes based on Routing Protocol, intermediate state link is different from standby usage chain Road;
Calculate the link overhead of standby usage link and intermediate state link;
It is moved between standby usage link and intermediate state link according to the testing result of link overhead and detection of connectivity State service switching.
Further, the above method further include:
Detection of connectivity is carried out to standby usage link based on APS protection mechanism;
Current service condition is determined according to APS value.
Further, the above method further include:
When the service condition of standby usage link is reserve link failure state, that is, SF-P state, by intermediate state link switching For reserve link;
A new intermediate state link is calculated between two PE nodes.
Further, the above method further include:
When the service condition of standby usage link is that standby usage is alerted without detection of connectivity and work is in master state, that is, NR- When W state, compare the size of the link overhead of reserve link and intermediate state link;
When the link overhead of intermediate state link is less than the link overhead of reserve link, intermediate state link is determined as new standby With link, and using former reserve link as intermediate state link.
Further, the above method further include:
When new reserve link is there are when connectivity alarm, former reserve link is switched to, from newly calculating new intermediate state link.
Further, the above method further include:
When the link overhead of intermediate state link is greater than the link overhead of reserve link, two are calculated based on default calculating cycle New link overhead between PE node;
Compare the link overhead of intermediate state link and the size of new link overhead;
When new link overhead is greater than the link overhead of squirrel intermediate state link, the corresponding link of new link overhead is determined For new intermediate state link.
Further, the above method further include:
When the service condition of standby usage link is that standby usage is alerted without detection of connectivity and work is in stand-by state, that is, WTR Or when NR-P state, compare the size of the link overhead of active link and reserve link;
If the link overhead of active link is greater than the link overhead of reserve link, reserve link is upgraded into active link, And former active link is switched to reserve link, and APS value is revised as NR-W.
Further, the above method further include:
If the link overhead of active link is less than the link overhead of reserve link, by business after Wait to Restore Time It is switched to primary, while APS value is revised as NR-W.
Further, the above method further include:
When active link is since SD is alerted or SF alarm or is received APS value that opposite end is sent and is SD or receives pair When to hold the APS value that sends be SF, service switching is to spare, and intermediate state link upgrades to new active link;
If new active link has detection of connectivity alarm, switchback original active link, and finds an intermediate state again Link.
Second aspect of the embodiment of the present invention provides a kind of dynamic linear protective device, it may include:
Detection of connectivity module, for carrying out detection of connectivity to the standby usage link two PE nodes;
Intermediate line link computing module, for calculating an intermediate state link between two PE nodes based on Routing Protocol, in Between state link be different from standby usage link;
Link overhead computing module, for calculating the link overhead of standby usage link and intermediate state link;
Service switching module, for the testing result according to link overhead and detection of connectivity in standby usage link and centre Dynamic service switching is carried out between state link.
Further, above-mentioned detection of connectivity module is also used to, and is connected to based on APS protection mechanism to standby usage link Property detection;
State determining module, for determining current service condition according to APS value.
Further, above-mentioned apparatus further include:
First link switching module is reserve link failure state, that is, SF-P shape for the service condition when standby usage link It is reserve link by intermediate state link switching when state;
Intermediate line link computing module is also used to calculate a new intermediate state link between two PE nodes.
Further, above-mentioned apparatus further include:
Link overhead comparison module is that standby usage is alerted without detection of connectivity for the service condition when standby usage link And work compares the size of the link overhead of reserve link and intermediate state link in master state, that is, NR-W state;
Second link switching module, when for being less than the link overhead of reserve link when the link overhead of intermediate state link, Intermediate state link is determined as new reserve link, and using former reserve link as intermediate state link.
Further, above-mentioned apparatus further include:
Third link switching module, for switching to former reserve link when new reserve link is there are when connectivity alarm, from Newly calculate new intermediate state link.
Further, above-mentioned apparatus further include:
New link calculation module, when for being greater than the link overhead of reserve link when the link overhead of intermediate state link, base The new link overhead between default calculating cycle calculates two PE nodes;
Link overhead comparison module is also used to compare the link overhead of intermediate state link and the size of new link overhead;
4th link switching module, when for being less than the link overhead of intermediate state link when new link overhead, by new link The corresponding link of expense is determined as new intermediate state link.
Further, above-mentioned apparatus further include:
Link overhead comparison module is also used to when the service condition of standby usage link be that standby usage is accused without detection of connectivity Alert and work compares the size of the link overhead of active link and reserve link in stand-by state, that is, WTR NR-P state;
5th link switching module will be standby if being greater than the link overhead of reserve link for the link overhead of active link Upgrade to active link with link, and former active link is switched to reserve link, and APS value is revised as NR-W.
Further, above-mentioned apparatus further include:
Service switching module is waiting if the link overhead for being also used to active link is less than the link overhead of reserve link Service switching is later primary by the time to be restored, while APS value is revised as NR-W.
Further, above-mentioned apparatus further include:
Service switching module is also used to when active link is since SD is alerted or SF is alerted or receives what opposite end was sent APS value is SD or receives APS value that opposite end is sent when being SF, and service switching is to spare, and intermediate state link upgrades to newly Active link;
Service switching module, if being also used to new active link has a detection of connectivity alarm, switchback original active link, and Again an intermediate state link is found.
In embodiments of the present invention, connectivity and intermediate state link are detected by increasing backup path, then is equipped with aps report Text improves network stabilization, reduces the time of dynamic service switching.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow diagram of dynamic linear guard method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of topological diagram provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of another topological diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of dynamic linear protective device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Below in conjunction with attached drawing 1- attached drawing 3, it is situated between in detail to dynamic linear guard method provided in an embodiment of the present invention It continues.
Referring to Figure 1, for the embodiment of the invention provides a kind of flow diagrams of dynamic linear guard method.Such as Fig. 1 It is shown, the embodiment of the present invention the method may include following steps S101- step S104.
S101 carries out detection of connectivity to the standby usage link two PE nodes.
It is understood that above-mentioned apparatus can enable BFD (Bidirectional Forwarding Detection) CC message in agreement or OAM (Operation Administration and Maintenance) agreement carries out connectivity Detection, i.e., link has detection of connectivity in standby usage.
Specifically, APS function can be enabled on above-mentioned PE node, standby usage link is connected based on APS protection mechanism General character detection.Wherein, state machine, that is, ASP value of the defeated APS message of spare road link, ASP field can reflect the company between link The general character.Above-mentioned detection of connectivity may include detection connected state and detect whether that there are connectivity alarms.Optionally, above-mentioned Device can determine that current service condition, the service condition can indicate the transmission path that current business uses according to APS value, Or the path is alerted with the presence or absence of connectivity.
S102 calculates an intermediate state link based on Routing Protocol between two PE nodes.
Specifically, above-mentioned apparatus can calculate an intermediate state link based on Routing Protocol between two PE nodes, certainly An intermediate state link can also be calculated using other means, it is to be understood that above-mentioned intermediate state link can with when it is different In other any links of above-mentioned standby usage link.For example, topological diagram shown in Fig. 2, if the business of U1-1 is landed from U3-2, Then each link can be assumed are as follows: primary U1-1<->U2-1<->U3-1<->U3-2, spare U1-1<->U2-2<->U3-3 <->U3-4<->U3-2, intermediate state link U1-1<->U2-2<->U2-3<->U3-3<->U3-4<->U3-2.
S103 calculates the link overhead of standby usage link and intermediate state link.
Specifically, above-mentioned apparatus can calculate standby usage link and intermediate state link before carrying out dynamic service switching Link overhead.It is understood that above-mentioned apparatus needs to be determined according to specific link connected state and current operating path Whether need to calculate above-mentioned link overhead, and needs to calculate the link overhead of which link.For example, the business of standby usage link State is that standby usage is alerted without detection of connectivity and worked in master state, that is, NR-W state, and above-mentioned apparatus can calculate this When reserve link and intermediate state link link overhead, further, can more above-mentioned two link overhead size.
S104, according to the testing result of link overhead and detection of connectivity between standby usage link and intermediate state link into Mobile state service switching.
Specifically, above-mentioned apparatus can according to the testing result of link overhead and detection of connectivity standby usage link and in Between dynamic service switching is carried out between state link.
Optionally, when the service condition of standby usage link be reserve link failure state, that is, SF-P state when, can will in Between state link switching be reserve link a new intermediate state link further can be calculated between above-mentioned two PE node.
Optionally, when the service condition of standby usage link is above-mentioned NR-W state, and the link overhead of intermediate state link is small When the link overhead of reserve link, intermediate state link can be determined as new reserve link by above-mentioned apparatus, and by former spare chain Road is as intermediate state link.Further, new reserve link above-mentioned at that time is there are when connectivity alarm, above-mentioned apparatus can will in Between state link switching to former reserve link, and from newly calculating new intermediate state link.There is no connect for new reserve link above-mentioned at that time It then can be reserve link with the link when general character alerts, former reserve link is intermediate state link.
Optionally, when the service condition of standby usage link be NR-W state, and the link overhead of intermediate state link be greater than it is standby When with the link overhead of link, above-mentioned apparatus can recalculate new link overhead between two PE nodes based on default calculating cycle, Further, the link overhead of intermediate state link and the size of new link overhead can be compared, when new link overhead is less than centre When the link overhead of state link, the corresponding link of new link overhead can be determined as to new intermediate state link.When new link overhead Greater than intermediate state link link overhead when, then continue periodically to find new link, and so on, then reserve link is eventually It is switched in addition to primary path on the optimal path of residual paths.
Optionally, when the service condition of above-mentioned standby usage link is that standby usage is alerted without detection of connectivity and work is standby When with state, that is, WTR NR-P state, the size of the link overhead of active link and reserve link can be compared.If primary chain The link overhead on road is greater than the link overhead of reserve link, and reserve link can upgrade to active link, and by former primary chain Road is switched to reserve link, and above-mentioned APS value is revised as NR-W.If the link overhead of active link is less than the link of reserve link Service switching is then primary after Wait to Restore Time, while above-mentioned APS value is revised as NR-W by expense.
Optionally, when active link due to SD alert or SF alarm or receive APS value that opposite end is sent be SD or Person receives APS value that opposite end is sent when being SF, can be by service switching to spare, and intermediate state link is upgraded to new master Use link.If new active link has detection of connectivity alarm, switchback original active link, and finds an intermediate state again Link.It can be repeated above operation after finding new intermediate state link, until finding new active link.
It is understood that in embodiments of the present invention, above-mentioned path can flexibly change, and there are active and standby exchange can Can property, the message (such as LO, FS, MS) that artificial control command is switched involved in used APS message not utilizes.
It should be noted that the principle that above-mentioned link overhead size compares may is that i.e. the matched business in inoperative path not It is compared between the path walked, whose expense is small, whom is switched to, and connectivity testing message is also cut through, if connection Property detection no alarm then switch successfully, if there is alert then switchback and again search intermediate state link;Operating path is only standby Used time just carries out the comparison with primary expense, to carry out active and standby exchange, prevent due to service switching rear path expense variation and The risk of caused continuous frequent switching.
In embodiments of the present invention, connectivity and intermediate state link are detected by increasing backup path, then is equipped with aps report Text improves network stabilization, reduces the time of dynamic service switching.
In a kind of specific implementation of the embodiment of the present invention, it can be said by topological structure as shown in Figures 2 and 3 The realization process of the leading guard method of dynamic shown in the bright embodiment of the present invention.
If the business of U1-1 is landed from U3-2, it is equipped with dynamic protection business of the present invention, each link assumes are as follows: main It is intermediate with U1-1<->U2-1<->U3-1<->U3-2, spare U1-1<->U2-2<->U3-3<->U3-4<->U3-2 State link U1-1<->U2-2<->U2-3<->U3-3<->U3-4<->U3-2, and standby usage is accused without detection of connectivity Alert, vocational work is in NR-W state.
When U2-1<->U3-1 link breaks down (as shown in Figure 3), by detection of connectivity, U1-1 and U3-2 are examined Active link failure is measured, the APS value that business is switched to reserve link, and respectively issues simultaneously at this time is SF, this is tradition Linear protection switching, switching time reaches carrier class requirement.After switching, intermediate state link upgrades to active link, new master With link by if still there is detection of connectivity alarm, continuing after new intermediate state link generates after detection of connectivity Switch over operation, if alerted without detection of connectivity, it is new it is primary upgrade successfully, new intermediate state link continues to seek It looks for.Here, it is assumed that new primary first time just upgrade successfully, then each path at this time are as follows: primary U1-1<->U2-2<- >U2-3<->U3-3<->U3-4<->U3-2, spare U1-1<->U2-2<->U3-3<->U3-4<->U3-2, intermediate state Link U1-1<->U2-2<->U2-3<->U3-3<->U3-1<->U3-2.
Further, after intermediate state link upgrades into active link success, active link no alarm is that is, active and standby at this time With equal no alarm, APS value is converted to WTR state, and in this case, the overhead size for carrying out standby usage link compares, if standby It is less than the expense of active link with the expense of link, then reserve link upgrades to active link, and former active link is reduced to spare chain Road, while APS value is revised as NR-W.Then each link at this time are as follows: primary U1-1<->U2-2<->U3-3<->U3-4<-> U3-2, spare U1-1<->U2-2<->U2-3<->U3-3<->U3-4<->U3-2, intermediate state link U1-1<->U2-2 <—>U2-3<—>U3-3<—>U3-1<—>U3-2。
Further, compare reserve link and centre in this case in NR-W state after above-mentioned service path conversion The expense of state link, if the expense of intermediate state link is less than reserve link, intermediate state link upgrades to reserve link, new standby With link by the way that after detection of connectivity, if detection of connectivity has alarm, switchback original reserve link, intermediate state link is sought again Path is looked for, if detection of connectivity no alarm, new backup path is upgraded successfully, and former backup path is reduced to intermediate state path.Such as The expense in fruit intermediate state path is greater than the expense of backup path, then periodically generates new intermediate state path and former intermediate state path Compare expense, and the path of small expense is upgraded to formal intermediate state path.Here, it is assumed that the expense in intermediate state path is big In the expense of backup path, all paths are constant.
Further, after U2-1<->U3-1 link-recovery (as shown in Figure 2), intermediate state link is until detecting U1-1 The expense of<->U2-1<->U3-1<->U3-2 is less than the expense of former intermediate state link, then by U1-1<->U2-1<->U3-1 <->U3-2 upgrades to formal intermediate state link.The intermediate state link make expense with reserve link compared with when, if its expense is small In the expense of reserve link, then U1-1<->U2-1<->U3-1<->U3-2 upgrades to reserve link, if its connectivity is examined No alarm is surveyed, then is upgraded successfully, former backup path is reduced to intermediate state link.It is general the case where each link at this time are as follows: primary U1-1 <->U2-2<->U3-3<->U3-4<->U3-2, spare U1-1<->U2-1<->U3-1<->U3-2, intermediate state path U1-1<—>U2-2<—>U2-3<—>U3-3<—>U3-4<—>U3-2。
Further, on primary, the expense of standby usage compares active link, when primary expense is greater than spare expense When, not as switching condition, increase because may cause former reserve link expense after switching, even more than former active link conduct The expense in inoperative path, then the problem of constantly switching standby usage path will be caused.
Aforesaid operations are once normally to switch and switchback process, in more complex alarm, process and the feelings Condition is similar, then is not contrary to further and states.As long as having the link that can lead between local PE node and far-end PE node of the invention, Vocational work path can switch to the path, and switching time is carrier class.
It should be noted that in embodiments of the present invention, reserve link is ready, and detection of connectivity is usually (unless only having one between two PE nodes up to link) of no alarm, active-standby switch, can as traditional LSP protection at this time Reach carrier class switching time.
In embodiments of the present invention, in work in active link, reserve link can gradually be switched by intermediate state link To remaining optimal path.
In embodiments of the present invention, in work in reserve link, by the comparison of standby usage expense, under certain condition Main/slave link can be achieved to exchange, in conjunction with path switching of the above-mentioned work in active link, operating path can be made to be maintained at opposite Preferably on path.
In embodiments of the present invention, by APS message, two PE nodes know it is mutual switch and alarm status, pass through It switches and alarm status, local alarm and switch status, each link overhead size comparison result the opposite end that APS message obtains Deng, it can be achieved that a set of complete and careful state machine so that dynamic service achieve the effect that it is reliable and stable.
In embodiments of the present invention, all generations of intermediate state link, the upgrading of reserve link and intermediate state link, master The operations such as reserve link switching, it is very strong not need real-time, then will not generate burst pressure to CPU during this period and cause The problem for causing switching time not up to standard is switched similar to traditional routing convergence.
In embodiments of the present invention, it is switched to the operation such as small link of expense in standby usage exchange operation, active link, by It is received in PE node to be double, then it will not packet loss in principle.
The above only illustrates basic principle of the invention by a typical example network topology, not uses In limiting the scope of protection of the present invention.All within the spirits and principles of the present invention, any modification, replacement, improvement for being made etc., It should all be included in the protection scope of the present invention.
Below in conjunction with attached drawing 4, describe in detail to dynamic linear protective device provided in an embodiment of the present invention.It needs Illustrate, device shown in Fig. 4, the method for executing Fig. 1-embodiment illustrated in fig. 3 of the present invention, for ease of description, only Part related to the embodiment of the present invention is shown, it is disclosed by specific technical details, it is shown in Fig. 3 to please refer to Fig. 1-of the present invention Embodiment.
Fig. 4 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of dynamic linear protective device.Such as Fig. 4 Shown, the dynamic linear protective device 10 of the embodiment of the present invention may include: detection of connectivity module 101, intermediate line link Computing module 102, link overhead computing module 103, service switching module 104, state determining module 105, the first link switching Module 106, link overhead comparison module 107, the second link switching module 108, third link switching module 109, new link meter Calculate module 120, the 4th link switching module 121, the 5th link switching module 122.
Detection of connectivity module 101, for carrying out detection of connectivity to the standby usage link two PE nodes.
Intermediate line link computing module 102, for calculating an intermediate state between above-mentioned two PE node based on Routing Protocol Link, the intermediate state link are different from above-mentioned standby usage link.
Link overhead computing module 103, for calculating the link overhead of standby usage link and intermediate state link.
Service switching module 104, for according to the testing result of link overhead and detection of connectivity in standby usage link and Dynamic service switching is carried out between intermediate state link.
Optionally, above-mentioned detection of connectivity module 101 is also used to, and is connected based on APS protection mechanism to standby usage link The general character detects
State determining module 105, for determining current service condition according to APS value.
Optionally, the first link switching module 106 is reserve link failure shape for the service condition when standby usage link It is reserve link by intermediate state link switching when state, that is, SF-P state.
Intermediate line link computing module 102 is also used to calculate a new intermediate state link between two PE nodes.
Optionally, link overhead comparison module 107 is standby usage without connection for the service condition when standby usage link Property detection alarm and work in master state, that is, NR-W state, compare the big of the link overhead of reserve link and intermediate state link It is small.
Second link switching module 108 is less than the link overhead of reserve link for the link overhead when intermediate state link When, intermediate state link is determined as new reserve link, and using former reserve link as intermediate state link.
Optionally, third link switching module 109, for switching to original when new reserve link is there are when connectivity alarm Reserve link, from newly calculating new intermediate state link.
Optionally, new link calculation module 120 is greater than the link of reserve link for the link overhead when intermediate state link When expense, based on new link overhead between the above-mentioned two PE node of default calculating cycle calculating.
Link overhead comparison module 107 is also used to compare the link overhead of intermediate state link and the size of new link overhead.
4th link switching module 121, when for being less than the link overhead of intermediate state link when new link overhead, by new chain Expense corresponding link in road is determined as new intermediate state link.
Optionally, link overhead comparison module 107 is also used to when the service condition of standby usage link be standby usage without even General character detection is alerted and is worked in stand-by state, that is, WTR NR-P state, compares the link of active link and reserve link The size of expense;
5th link switching module 122 will if being greater than the link overhead of reserve link for the link overhead of active link Reserve link upgrades to active link, and former active link is switched to reserve link, while APS value is revised as NR-W.
Optionally, service switching module 104, if the link that the link overhead for being also used to active link is less than reserve link is opened Service switching is then primary after Wait to Restore Time, while APS value is revised as NR-W by pin.
Optionally, service switching module 104 is also used to when active link due to SD alarm or SF alarm or receives pair Holding the APS value that sends is SD or when to receive APS value that opposite end is sent be SF, and service switching is to spare, and intermediate state chain Road upgrades to new active link.
Service switching module 104, if being also used to new active link has detection of connectivity alarm, the former primary chain of switchback Road, and an intermediate state link is found again.
It should be noted that can join will be upper for guard method described in dynamic linear protective device in the embodiment of the present invention The specific descriptions in embodiment of the method are stated, details are not described herein again.
In embodiments of the present invention, connectivity and intermediate state link are detected by increasing backup path, then is equipped with aps report Text improves network stabilization, reduces the time of dynamic service switching.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of dynamic linear guard method characterized by comprising
Detection of connectivity is carried out between the standby usage link two PE nodes;
An intermediate state link is calculated between the two PE node based on Routing Protocol, the intermediate state link is different from described Standby usage link;
Calculate the link overhead of the standby usage link and the intermediate state link;
According to the testing result of the link overhead and the detection of connectivity in the standby usage link and the intermediate state chain Dynamic service switching is carried out between road.
2. the method according to claim 1, wherein the method also includes:
Detection of connectivity is carried out to the standby usage link based on APS protection mechanism;
Current service condition is determined according to APS value.
3. the method according to claim 1, wherein the method also includes:
When the service condition of the standby usage link is reserve link failure state, that is, SF-P state, by the intermediate state link It is switched to reserve link;
A new intermediate state link is calculated between the two PE node.
4. the method according to claim 1, wherein the method also includes:
When the service condition of the standby usage link is that standby usage is alerted without detection of connectivity and work is in master state, that is, NR- When W state, the size of the link overhead of the reserve link and the intermediate state link;
It is when the link overhead of the intermediate state link is less than the link overhead of the reserve link, the intermediate state link is true It is set to new reserve link, and using former reserve link as intermediate state link.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
When the new reserve link is there are when connectivity alarm, former reserve link is switched to, from newly calculating new intermediate state link.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
When the link overhead of the intermediate state link is greater than the link overhead of the reserve link, based on default calculating cycle Calculate new link overhead between the two PE node;
Compare the link overhead of the intermediate state link and the size of the new link overhead;
When the new link overhead is less than the link overhead of the intermediate state link, by the corresponding link of the new link overhead It is determined as new intermediate state link.
7. the method according to claim 1, wherein the method also includes:
When the service condition of the standby usage link is that standby usage is alerted without detection of connectivity and work is in stand-by state, that is, WTR Or when NR-P state, the size of the link overhead of the active link and the reserve link;
If the link overhead of the active link is greater than the link overhead of the reserve link, based on reserve link upgrading With link, and former active link is switched to reserve link, while the APS value is revised as NR-W.
8. the method according to the description of claim 7 is characterized in that the method also includes:
It, will after Wait to Restore Time if the link overhead of the active link is less than the link overhead of the reserve link Service switching is primary, while the APS value is revised as NR-W.
9. the method according to claim 1, wherein the method also includes:
When the active link is since SD is alerted or SF alarm or is received APS value that opposite end is sent and is SD or receives pair When to hold the APS value that sends be SF, service switching is to spare, and the intermediate state link upgrades to new active link;
If new active link has detection of connectivity alarm, switchback original active link, and finds an intermediate state link again.
10. a kind of dynamic linear protective device characterized by comprising
Detection of connectivity module, for carrying out detection of connectivity to the standby usage link two PE nodes;
Intermediate line link computing module, for calculating an intermediate state link, institute between the two PE node based on Routing Protocol Intermediate state link is stated different from the standby usage link;
Link overhead computing module, for calculating the link overhead of the standby usage link and the intermediate state link;
Service switching module, for according to the testing result of the link overhead and the detection of connectivity in the standby usage chain Dynamic service switching is carried out between road and the intermediate state link.
CN201910362545.XA 2019-04-30 2019-04-30 Dynamic linear protection method and device Active CN110138636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910362545.XA CN110138636B (en) 2019-04-30 2019-04-30 Dynamic linear protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910362545.XA CN110138636B (en) 2019-04-30 2019-04-30 Dynamic linear protection method and device

Publications (2)

Publication Number Publication Date
CN110138636A true CN110138636A (en) 2019-08-16
CN110138636B CN110138636B (en) 2021-03-23

Family

ID=67575968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910362545.XA Active CN110138636B (en) 2019-04-30 2019-04-30 Dynamic linear protection method and device

Country Status (1)

Country Link
CN (1) CN110138636B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532518A (en) * 2020-11-26 2021-03-19 新华三技术有限公司 Path selection method and device of segment routing strategy

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072241A (en) * 2006-05-11 2007-11-14 华为技术有限公司 Method and device for improving shortest path bridge reliability
CN101605102A (en) * 2009-07-16 2009-12-16 杭州华三通信技术有限公司 Load sharing method during a kind of IRF piles up and device
EP2147543A1 (en) * 2007-05-10 2010-01-27 Nortel Networks Limited Facilitating automatic protection switching for provider backbone network
CN101860888A (en) * 2009-04-08 2010-10-13 中国移动通信集团公司 Method, system and equipment for transmitting data by wireless link
CN102281200A (en) * 2011-08-24 2011-12-14 华为技术有限公司 Method for selecting current backup route and router
CN103475655A (en) * 2013-09-06 2013-12-25 瑞斯康达科技发展股份有限公司 Method for achieving IPSecVPN main link and backup link dynamic switching
CN103780365A (en) * 2014-01-26 2014-05-07 中国神华能源股份有限公司 Method and system for dynamically transmitting multilink redundant data
CN104836729A (en) * 2015-05-19 2015-08-12 瑞斯康达科技发展股份有限公司 Linear protection switching method, PE (provider edge) equipment and linear protection switching system
CN106209619A (en) * 2016-08-31 2016-12-07 上海地面通信息网络有限公司 A kind of real-time automatic switching control equipment being applied to route interruption and method
CN107959958A (en) * 2016-10-17 2018-04-24 上海掌门科技有限公司 Determine destination path, realize the method and apparatus of wireless access point connection
CN108768788A (en) * 2018-06-26 2018-11-06 新华三技术有限公司合肥分公司 Path failure detection method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072241A (en) * 2006-05-11 2007-11-14 华为技术有限公司 Method and device for improving shortest path bridge reliability
EP2147543A1 (en) * 2007-05-10 2010-01-27 Nortel Networks Limited Facilitating automatic protection switching for provider backbone network
CN101860888A (en) * 2009-04-08 2010-10-13 中国移动通信集团公司 Method, system and equipment for transmitting data by wireless link
CN101605102A (en) * 2009-07-16 2009-12-16 杭州华三通信技术有限公司 Load sharing method during a kind of IRF piles up and device
CN102281200A (en) * 2011-08-24 2011-12-14 华为技术有限公司 Method for selecting current backup route and router
CN103475655A (en) * 2013-09-06 2013-12-25 瑞斯康达科技发展股份有限公司 Method for achieving IPSecVPN main link and backup link dynamic switching
CN103780365A (en) * 2014-01-26 2014-05-07 中国神华能源股份有限公司 Method and system for dynamically transmitting multilink redundant data
CN104836729A (en) * 2015-05-19 2015-08-12 瑞斯康达科技发展股份有限公司 Linear protection switching method, PE (provider edge) equipment and linear protection switching system
CN106209619A (en) * 2016-08-31 2016-12-07 上海地面通信息网络有限公司 A kind of real-time automatic switching control equipment being applied to route interruption and method
CN107959958A (en) * 2016-10-17 2018-04-24 上海掌门科技有限公司 Determine destination path, realize the method and apparatus of wireless access point connection
CN108768788A (en) * 2018-06-26 2018-11-06 新华三技术有限公司合肥分公司 Path failure detection method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532518A (en) * 2020-11-26 2021-03-19 新华三技术有限公司 Path selection method and device of segment routing strategy
CN112532518B (en) * 2020-11-26 2022-07-12 新华三技术有限公司 Path selection method and device of segment routing strategy

Also Published As

Publication number Publication date
CN110138636B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN100417094C (en) Network failure recovery method with redundancy port
CN102137017B (en) Working method and device used for virtual network unit
CN101702663B (en) Method and device for updating ring network topology information
CN101702658B (en) Implement method of ring network protection and system thereof
EP2632081B1 (en) Path switch-back method and apparatus in transport network
CN102857379B (en) The protection control method of ethernet ring network inter-node connectivity, device and primary nodal point
CN103607293B (en) A kind of flow rate protecting method and equipment
CN102546222A (en) Backup system and fault detection and processing method
CN101789879B (en) Dynamic maintenance method and device for related link circuits
CN109787839A (en) A kind of message forwarding method and device
CN101741673A (en) Address refreshing method of Ethernet ring
CN109462533B (en) Link switching method, link redundancy backup network and computer readable storage medium
CN103227736A (en) Ethernet performance detection method, Ethernet performance detection system and ONT (Optical Network Terminal)
KR20150124369A (en) Relay system and switch apparatus
US8681604B2 (en) Address refresh method and system
WO2010121459A1 (en) Method and system for implementing protection and recovery in automatically switching optical network
WO2016165061A1 (en) Service protecting method and device
CN103441940A (en) Method and device for switching network device from stand-by state to main state and network device
CN110138636A (en) Dynamic linear guard method and device
CN111092822A (en) Method for balancing pw linear protection forwarding load of vpls
US10164823B2 (en) Protection method and system for multi-domain network, and node
WO2014101125A1 (en) Aggregation group link negotiation method, device and system
CN105765909A (en) Link switching method and device
CN101136838A (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN102724128B (en) A kind of based on the message forwarding method in the dual-homing networking of MPLS L3VPN and equipment

Legal Events

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