WO2011022998A1 - 自动保护倒换方法、设备和系统 - Google Patents

自动保护倒换方法、设备和系统 Download PDF

Info

Publication number
WO2011022998A1
WO2011022998A1 PCT/CN2010/072860 CN2010072860W WO2011022998A1 WO 2011022998 A1 WO2011022998 A1 WO 2011022998A1 CN 2010072860 W CN2010072860 W CN 2010072860W WO 2011022998 A1 WO2011022998 A1 WO 2011022998A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission path
bandwidth
service
switched
path
Prior art date
Application number
PCT/CN2010/072860
Other languages
English (en)
French (fr)
Inventor
�龙昊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to EP10811158.4A priority Critical patent/EP2464055B1/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22195286.4A priority patent/EP4125250A1/en
Priority to EP20172670.0A priority patent/EP3739829B1/en
Priority to EP14162838.8A priority patent/EP2819357B1/en
Priority to JP2012525861A priority patent/JP5453535B2/ja
Priority to ES10811158.4T priority patent/ES2477275T3/es
Priority to BR112012004294-7A priority patent/BR112012004294B1/pt
Priority to CA2771818A priority patent/CA2771818C/en
Priority to RU2012107072/08A priority patent/RU2536352C2/ru
Priority to AU2010289226A priority patent/AU2010289226B2/en
Publication of WO2011022998A1 publication Critical patent/WO2011022998A1/zh
Priority to US13/404,793 priority patent/US9042228B2/en
Priority to US14/598,873 priority patent/US9755954B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • 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
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
    • 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/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity
    • 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/125Shortest path evaluation based on throughput or bandwidth
    • 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/302Route determination based on requested QoS
    • H04L45/306Route determination based on the nature of the carried application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/247Multipath using M:N active or standby paths

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to an automatic protection switching method, device, and system.
  • a link is formed by network element nodes to transmit service data packets.
  • PTN Packet Transport Network
  • APS Automatic Protection Swi tching
  • Microwave is a transmission medium between nodes in the link. It is currently widely used in operator networks. Among them, synchronous digital series (Synchronous Digi tal Hierarchy; hereinafter referred to as: SDH) and Ples iochronous Digi tal Hierarchy; hereinafter referred to as: PDH) technology is more commonly used, and the main transmission is E1 business. In recent years, IP services have gradually replaced E1 services to occupy most of the network traffic, and bandwidth requirements have risen sharply. In this case, traditional PDH and SDH microwaves are gradually being replaced by packet microwave technology because they cannot support IP services well.
  • the microwave link has a special attribute called adaptive modulation (Adaptive Modulation; hereinafter referred to as AM). Nodes that transmit data based on microwave can automatically change the modulation mode according to the current environmental changes, which will cause changes in the bandwidth of the microwave link, but can ensure low-error transmission of services.
  • AM adaptive modulation
  • the inventor found that the PTN with microwave link adopts The APS technology has the following shortcomings: the existing APS technology normally transmits protected services on the working path, and transmits unprotected services or non-transmitted services on the protected path. When a failure occurs, all protected services are transferred. All services are switched to the protection path for transmission.
  • microwave links can still carry some services after bandwidth adjustment due to AM characteristics, and service switching will cause packet loss, which will reduce service transmission efficiency and quality; on the other hand, if there are microwave links on the working path and the protection path If the bandwidth on the protection path is also reduced, it is likely that the bandwidth requirements of all the switched services cannot be met. Summary of the invention
  • the embodiments of the present invention provide an automatic protection switching method, device, and system to improve the transmission efficiency and quality of the service transmission based on the automatic protection switching technology.
  • the embodiment of the present invention provides an automatic protection switching method, including:
  • the network edge node monitors that the bandwidth of the first transmission path changes, it determines that part of the services on the first transmission path or the second transmission path are services to be switched according to the bandwidth change;
  • the network edge node switches the service to be switched between the link of the second transmission path and the first transmission path.
  • the embodiment of the present invention also provides another automatic protection switching method, including:
  • the network edge node receives a partial switching message from the network edge node opposite to the network edge node through the first transmission path or the second transmission path;
  • the network edge node determines that part of the service on the first transmission path or the second transmission path is the service to be switched according to the indication information of the service to be switched in the partial switching message or the bandwidth change, and sets the service to be switched Switch between the links of the first transmission path and the second transmission path.
  • the embodiment of the present invention provides an automatic protection switching device, including:
  • the determining module is used to detect changes in the bandwidth of the first transmission path according to the bandwidth
  • the change situation determines that part of the services on the first transmission path or the second transmission path are services to be switched;
  • the switching module is configured to switch the service to be switched between the link of the second transmission path and the first transmission path.
  • the embodiment of the present invention provides another automatic protection switching device, including:
  • a message receiving module configured to receive a partial switching message from a network edge node of the opposite end through the first transmission path or the second transmission path;
  • the service switching module is configured to determine that part of the service on the first transmission path or the second transmission path is the service to be switched according to the indication information of the service to be switched in the partial switching message or the bandwidth change, and to switch the service to be switched The service is switched between the link of the first transmission path and the second transmission path.
  • the embodiment of the present invention provides an automatic protection switching system, including a first network edge node and a second network edge node, and a second transmission path is formed between the first network edge node and the second network edge node through an intermediate node And the first transfer path, where:
  • the first network edge node is configured to, when monitoring that the bandwidth of the first transmission path changes, determine that part of the service on the first transmission path or the second transmission path is the service to be switched according to the bandwidth change;
  • the switching service is switched between the link of the second transmission path and the first transmission path; and a partial switching message is sent to the second network edge node at the opposite end of the first transmission path or the second transmission path, in the partial switching message Including at least the indication information of the service to be switched or the bandwidth change;
  • the second network edge node is configured to receive a partial switching message from the first network edge node through the first transmission path or the second transmission path; determine according to the indication information of the service to be switched or the bandwidth change in the partial switching message Part of the services on the first transmission path or the second transmission path are services to be switched, and the service to be switched is switched between the links of the first transmission path and the second transmission path.
  • the embodiment of the present invention adopts when the bandwidth of the transmission path changes.
  • the technical means of performing protection switching for some services can reasonably use the bandwidth resources of the first transmission path and the second transmission path, reduce the amount of service switching, and thereby reduce the packet loss problem caused by the switching.
  • FIG. 1 is a flowchart of an automatic protection switching method according to Embodiment 1 of the present invention
  • Fig. 2 is a flowchart of an automatic protection switching method according to Embodiment 2 of the present invention
  • Fig. 3 is a flowchart of an automatic protection switching method according to Embodiment 3 of the present invention
  • FIG. 4 is a schematic diagram of an automatic protection switching network architecture based on an embodiment of the present invention; a schematic diagram;
  • FIG. 6 is a schematic diagram of a protection transmission state in the automatic protection switching network architecture based on the embodiment of the present invention.
  • FIG. 7 is a schematic diagram of another protection transmission state in the automatic protection switching network architecture based on the embodiment of the present invention.
  • FIG. 8 is a flowchart of an automatic protection switching method according to Embodiment 4 of the present invention
  • FIG. 9 is a flowchart of an automatic protection switching method according to Embodiment 5 of the present invention
  • FIG. 10 is a flowchart of an automatic protection switching method according to Embodiment 6 of the present invention A flowchart of an automatic protection switching method
  • FIG. 11 is a flowchart of an automatic protection switching method according to Embodiment 7 of the present invention
  • FIG. 12 is a flowchart of another automatic protection switching method according to Embodiment 8 of the present invention
  • Fig. 13 is a schematic structural diagram of an automatic protection switching device provided by Embodiment 9 of the present invention
  • Fig. 14 is a schematic structural diagram of an automatic protection switching device provided by Embodiment 10 of the present invention
  • Fig. 15 is a eleventh embodiment of the present invention A schematic diagram of the structure of an automatic protection switching device provided;
  • FIG. 16 is a schematic structural diagram of another automatic protection switching device according to Embodiment 12 of the present invention picture.
  • FIG. 17 is a schematic structural diagram of another automatic protection switching device according to Embodiment 13 of the present invention.
  • FIG. 18 is a schematic structural diagram of another automatic protection switching device according to Embodiment 14 of the present invention.
  • Figure 19-1 is a scene diagram of an automatic protection switching method provided by an embodiment of the present invention
  • Figure 19-2 is a corresponding relationship diagram of channel allocation policy index and path bandwidth combination
  • Figure 20 is a normal diagram of an embodiment of the present invention Channel allocation scenario diagram in the state
  • FIG. 21 is a protection switching scenario diagram when the path bandwidth is reduced in FIG. 20;
  • FIG. 22 is a diagram of a channel allocation scene according to another embodiment of the present invention.
  • FIG. 23 is a process diagram of automatic protection switching message processing according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all implementations. example. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
  • FIG. 1 is a flowchart of an automatic protection switching method according to Embodiment 1 of the present invention.
  • a network adopting the APS technology it generally includes at least one protection path and one working path.
  • the first transmission path may be a working path
  • the second transmission path may be a protection path.
  • the first transmission path may also be a protection path, and in this case, the second transmission path is a working path.
  • Both ends of the second transmission path and the first transmission path are converged to two network edge nodes, and both network edge nodes are provided with transceiver selection devices to implement protection switching, that is, determine which path to transmit the protected service on ,
  • the method of this embodiment can specifically It is executed by any network edge node and includes the following steps:
  • Step 101 When the network edge node monitors that the bandwidth of the first transmission path changes, it determines that part of the service on the first transmission path or the second transmission path is a service to be switched according to the bandwidth change, and the bandwidth change may specifically be a change.
  • the subsequent bandwidth value or bandwidth change value but it is not limited to this, and can also be used to identify the change trend of the bandwidth, etc.;
  • Step 102 The network edge node switches the service to be switched between the link of the second transmission path and the first transmission path.
  • the bandwidth change of the first transmission path is a protection switching trigger condition that triggers partial switching of services, and the service to be switched needs to be selected from the services on the first transmission path or the second transmission path according to the bandwidth change.
  • the selection is determined, instead of performing protection switching for all services on the first transmission path or the second transmission path in a unified manner. Therefore, the technical solution of this embodiment can realize automatic protection switching of some protected services according to specific conditions, can reasonably distribute load among the links of the first transmission path and the second transmission path, and make full use of the first transmission path and the second transmission path. The transmission resources of the transmission path, thereby improving the transmission quality and efficiency of the protected service.
  • the specific implementation form of the protection switching trigger condition is not limited to monitoring the bandwidth change of the link. It can also be receiving a notification of a bandwidth change, or receiving a trigger condition sent by other network elements or nodes due to changes in transmission conditions or transmission needs. Wait. There may also be multiple ways to determine the service to be switched. For example, if the protection switching trigger condition is a change in the bandwidth value, the service to be switched may be determined according to the current first transmission path bandwidth value, or the current first transmission path bandwidth may be considered at the same time.
  • the service to be switched can be determined according to the instructions carried therein, or alternatively, When a certain protection switching trigger condition is generated, the service to be switched is determined according to the type or identifier of the protection switching trigger condition and a locally pre-stored strategy.
  • the network may be further transferred to the first transmission path or the second transmission path.
  • the network edge node at the opposite end of the edge node sends a partial switching message,
  • the partial switching message includes at least the indication information or bandwidth change of the service to be switched, and is used to instruct the network edge node of the opposite end to determine the service to be switched according to the partial switching message, and transmit the service to be switched on the second transmission path and the first transmission path. Switch between the links of the path.
  • the partial switching message is preferably sent through the protection path, and can be carried by the existing APS message.
  • the network edge node will send APS messages to the protection path to ensure the bidirectionality of automatic protection switching.
  • the APS message may be used to carry the partial switching message, and the APS message may be extended to carry the switching. Instruction information to realize the bidirectionality of partial switching.
  • the partial switching message is used to notify the network edge node on the other side to perform the corresponding partial automatic protection switching, according to the indication information of the service to be switched, such as service ID or service ID list, service category, service priority and other information that can identify the service , Determine the service that meets the instruction information as the service to be switched for switching.
  • the indication information is a service identifier
  • the service with the corresponding service identifier is the service that complies with the indication information.
  • the instruction information is a business category
  • the business that belongs to the same category is the business that meets the instruction information.
  • the service mentioned here refers to the traffic carried on the transmission path, which can be customer service.
  • MPLS multi-protocol label switching
  • PW pseudowire
  • LSP inner nested label switching path
  • VLAN Virtual Local Area Network
  • the present invention uses "service" to refer to these traffic types.
  • FIG. 2 is a flowchart of an automatic protection switching method according to Embodiment 2 of the present invention.
  • This embodiment may be based on the above-mentioned Embodiment 1. Specifically, it is a situation where partial automatic protection switching is triggered according to a bandwidth change, and in which, the first The transmission path may be a working path, and the second transmission path may be a protection path.
  • the method includes the following steps: Step 201: The network edge node monitors the bandwidth of the link in the first transmission path.
  • Step 202 When the network edge node monitors the bandwidth change of the link in the first transmission path, it determines that part of the service on the first transmission path or the second transmission path is the service to be switched according to the bandwidth change, and at the same time, the network edge node also The indication information of the service to be switched can be determined by the bandwidth change situation of the first transmission path;
  • Step 203 The network edge node switches the service to be switched between the second transmission path and the link of the first transmission path, and may further send a partial switching message to the network edge node at the opposite end of the second transmission path, and the partial switching message is at least Including the indication information of the service to be switched or the bandwidth change situation.
  • the network edge node can switch part of the services that comply with the protection switching strategy according to the bandwidth change of the first transmission path.
  • the service may be switched from the first transmission path to the second transmission path for transmission; when the bandwidth of the first transmission path increases, the service may be switched from the second transmission path to the first transmission path.
  • the network edge node will also send indication information that can identify the service to be switched to the first transmission path or the second transmission path, and send it to the network edge node at the opposite end of the network edge node, thereby triggering the network edge at the opposite end
  • the node performs corresponding service switching according to the instruction information, and completes the two-way service protection switching.
  • the technical solution of this embodiment only switches part of the protected services according to the bandwidth when the link bandwidth changes, avoiding the switching of all protected services, and can also transmit part of the protected services on the first transmission path, which reduces the amount of switched services. This reduces the packet loss caused by the handover, and on the other hand, does not cause too many protected services to be transmitted on the second transmission path, which affects the original transmission efficiency of the second transmission path.
  • the operation of determining the service to be switched and its indication information in step 202 may be determined by querying the pre-stored protection switching strategy according to the bandwidth change.
  • the protection switching strategy may be pre-stored in each network edge node, where the changed bandwidth value or bandwidth change value and the service to be switched and its indication signal are stored.
  • the corresponding relationship between the information for example, the corresponding relationship between the storage bandwidth value and the corresponding priority value, and the priority value is used to distinguish services.
  • the protection switching policy may also store switching rules, for example, services with service priority greater than or higher than the priority value are switched to the first transmission path, and services with service priority lower than the priority value are switched to the second transmission path.
  • the specific content of the protection switching strategy is not limited to this.
  • the indication information of the service to be switched may also be the switching ratio, and the switching rule is that when the bandwidth value reaches a certain value, switch to the second transmission path or the first transmission path for a certain amount. Proportion of protected business.
  • the content of the protection switching strategy can be set according to specific needs.
  • the protection switching strategy can be pre-arranged and then stored in each network edge node, or the protection switching trigger condition in the form of notification can be used to provide the protection switching strategy for the network edge node on one side, and then the protection switching strategy can be carried in the partial switching message and sent To the network edge node at the opposite end.
  • it is not limited to monitoring the bandwidth of the first transmission path link to trigger the automatic protection switching of some services, but it can also be monitoring the bandwidth of the link in the second transmission path; when the bandwidth of the first transmission path link is monitored When changing, query and determine the corresponding service to be switched and the indication information of the service to be switched in the protection switching strategy according to the bandwidth change.
  • the bandwidth of the links in the first transmission path and the second transmission path can also be monitored at the same time to determine the service to be switched.
  • the network edge node monitoring the bandwidth of the link in the first transmission path actually means monitoring the bandwidth change caused by the adaptive modulation of the microwave link in the first transmission path due to environmental changes.
  • the network edge node when a network edge node interacts with adjacent nodes in the form of microwaves, when a phenomenon such as environmental changes occurs, the network edge node will change the modulation mode and bandwidth due to the AM characteristic, and the network edge node can learn the change of the local bandwidth.
  • the bandwidth decreases it does not mean that the link is faulty, and part of the service can still be transmitted. Therefore, the network edge node can use the technical solution of this embodiment to switch part of the protected service to the second transmission path, so that the second transmission The path and the first transmission path share the network load, making full use of the bandwidth resources of the network.
  • Fig. 3 is a flowchart of an automatic protection switching method according to Embodiment 3 of the present invention.
  • the APS method of this embodiment can be implemented based on the link structure shown in FIG. 4.
  • APS can include several modes, 1: 1, 1: n and m: n mode.
  • 1: 1 is one protection path and one working path, and among them, the working path can be called the first transmission path, the protection path can be called the second transmission path, and l: n is one second transmission path and n first transmissions Path, m: n means m second transmission paths and n first transmission paths, where m and n are both natural numbers.
  • FIG. 1 1 is one protection path and one working path, and among them, the working path can be called the first transmission path, the protection path can be called the second transmission path, and l: n is one second transmission path and n first transmissions Path, m: n means m second transmission paths and n first transmission paths, where m and n are both natural numbers.
  • the links between multiple intermediate nodes form two paths, one is set as the first transmission path 410, and the other is set as the second transmission path 420.
  • the nodes converging at both ends of the first transmission path 410 and the second transmission path 420 are network edge nodes.
  • Each node is a packet switching node, and the transmission medium or transmission mode between the nodes may be different.
  • the first network edge node 401 and the first intermediate node 402 and the fourth intermediate node 406, the first intermediate node 402 and The second intermediate nodes 403 are all microwave links.
  • the remaining second network edge node 405, third intermediate node 404, fifth intermediate node 407, and sixth intermediate node 408 use other media as transmission links. It is assumed that three data packets of protected services are transmitted between the first network edge node 401 and the second network edge node 405, which are the first service 430, the second service 440, and the third service 450, as shown in FIG. 5.
  • the first transmission path 410 and the second transmission path 420 are LSPs, and the service mentioned here may be a pseudo wire or a client signal before pseudo wire encapsulation.
  • the service is in the form of pseudowires, you need to configure the corresponding pseudowire priority for each pseudowire at the network edge node as the service priority; if the service is in the form of client signals, you need to configure each service at the network edge node The corresponding business priority.
  • the MPLS network it is recommended to adopt the pseudo-wire method, and perform the switching according to the pseudo-wire during the switching.
  • This embodiment may be based on the second embodiment, and is specifically executed by the first network edge node 401 in FIG. 4, and includes the following steps:
  • Step 301 The first network edge node 401 monitors the bandwidth of the link in the first transmission path 410. Specifically, the first network edge node 401 monitors whether the bandwidth of the microwave link between the first network edge node 401 and the first intermediate node 402 changes due to the modulation mode change. For the microwave link between other nodes in the first transmission path 10 due to the modulation mode When the change causes a bandwidth change, other nodes may send a notification message to the first network edge node 401 to notify the bandwidth change;
  • Step 302 When the first network edge node 401 detects that the bandwidth of the link of the first transmission path 410 decreases, for example, the bandwidth value is reduced from the original bandwidth of 1GB to 0.6GB, then the protection switching strategy is performed according to the current bandwidth value after the decrease. Query the priority value stored corresponding to the bandwidth value, and determine the service whose service priority is lower than the priority value as the switch from the first transmission path 410 to the second transmission path 420 according to the switching rule stored in the protection switching strategy.
  • the service to be switched and determining that the priority value is the indication information of the service to be switched, where the switching rule is pre-stored in the protection switching policy, and the switching rule includes at least instructing the network edge node to lower the priority of the service than the priority value
  • the service of is determined to be the service to be switched from the first transmission path to the second transmission path, and the priority value is determined to be the indication information of the service to be switched.
  • the protection switching strategy may be pre-stored in the network edge node, and may correspond to the difference or range of the bandwidth reduction, or set the priority value corresponding to the value or value range after the bandwidth reduction. For example, when it is reduced to 0.6 GB, the corresponding priority value is set to 4.
  • the service priority is also set for each service allocation and can be carried in the service data packet.
  • the network edge node queries the priority value corresponding to the bandwidth value in the protection switching strategy according to the bandwidth change, the network edge The node inquires and identifies the service priority corresponding to each service locally, so as to compare with the priority value obtained by the query.
  • the service priority of the first service 430 is set to 7
  • the service priority of the second service 440 is set to 3
  • the service priority of the third service 450 is set to 5. Then, it is determined that the service priority of the second service 440 is lower than 4, which is the service to be switched, and the priority value 4 is the indication information of the service to be switched.
  • Step 303 The first network edge node 401 switches the service to be switched, that is, the second service 440 from the first transmission path 410 to the second transmission path 420 for transmission, and transmits it to the second network edge node 405 at the opposite end of the second transmission path 420 Send a partial switching message, the partial switching message at least Including the indication information of the service to be switched, that is, the priority value of 4.
  • the network transmission state after switching is shown in Figure 6.
  • the first network edge node 401 does not need to send a protected service from the second transmission path 420, it generally sends a No Request (No Reque st; hereinafter referred to as: NR) message to the second transmission path 420.
  • NR No Request
  • Step 304 After receiving the partial switching message transmitted from the second transmission path 420, the second network edge node 405 parses and obtains the indication information of the service to be switched, and sets the service priority lower than the priority value 4 according to the protection switching strategy The service is also switched accordingly, that is, the second service 440 is switched from the first transmission path 410 to the second transmission path 420 to complete the two-way protection switching.
  • the protection switching strategy may also include switching rules, and the switching rules include at least indicating the second network
  • the edge node 405 switches the service whose service priority is lower than the specified priority value from the first transmission path 410 to the second transmission path 420.
  • the second network edge node 405 may prestore the same protection switching strategy as the first network edge node 401, or receive the protection switching strategy sent by the first network edge node 401 together with the partial switching message.
  • the automatic protection switching of the service part performed in this embodiment is not limited to one execution. After the automatic protection switching of the service part is performed, if any network edge node detects that the bandwidth drops again, For example, if the bandwidth drops from 0.6GB to 0.3GB, then you can continue to query to determine the corresponding priority value. For example, when the bandwidth is 0.3GB, the corresponding priority value is 6, and the service priority is set to the third service of 5. 350 also switches to the second transmission path 420, as shown in FIG. 7.
  • FIG. 8 is a flowchart of an automatic protection switching method according to the fourth embodiment of the present invention.
  • the difference between this embodiment and the third embodiment is that the third embodiment is that when the link bandwidth of the first transmission path decreases, the first transmission path
  • this embodiment specifically refers to the case of switching services from the second transmission path to the first transmission path when the link bandwidth of the first transmission path increases.
  • the specific steps are as follows:
  • Step 801 The first network edge node 401 monitors the bandwidth of the link in the first transmission path 410;
  • the first network edge node 401 determines, according to the switching rule stored in the protection switching policy, the service whose service priority is equal to or higher than the priority value as the service to be switched from the second transmission path 20 to the first transmission path 410, and determines the priority
  • the level value is the indication information of the service to be switched. For example, when the bandwidth increases from 0.3 GB to 0.6 GB, and the priority value is determined to be 4, the second service 440 with a service priority of 5 may be determined as the service to be switched, and the priority value 4 may be determined as the service to be switched Business instructions;
  • Step 803 The first network edge node 401 switches the service to be switched from the second transmission path 420 to the link of the first transmission path 410, and sends a partial switching message to the second network edge node 405 opposite to the second transmission path 420.
  • the partial switching message includes at least indication information of the service to be switched;
  • Step 804 The second network edge node 405 receives the partial switching message sent by the first network edge node 401 from the second transmission path 420, parses the partial switching message to obtain the priority value 4, and transfers the first transmission path according to the protection switching strategy
  • the second service 44G whose service priority is lower than the priority value transmitted in the link 410 is switched to the link of the second transmission path 420 for transmission.
  • the protection switching strategy may also include a switching rule.
  • the switching rule at least includes instructing the second network edge node 405 to switch the service whose priority is lower than the specified priority value from the first transmission path 410 to the second transmission path 420.
  • only one second service 440 is switched for simplicity of description.
  • multiple services can be switched, that is, the priority of all services is lower than the priority obtained from the analysis of partial switching messages.
  • the level-valued services are all switched at the edge node 405 of the second network.
  • the network edge node when the network edge node monitors that the bandwidth of the first transmission path changes due to the AM of the microwave link, it can control which path the service is transmitted on according to the service priority, which not only makes reasonable use of the bandwidth Resources, and reduce the handover packet loss caused by completely switching the protected service, which can improve the transmission efficiency and quality of the network.
  • FIG. 9 is a flowchart of an automatic protection switching method according to Embodiment 5 of the present invention.
  • the difference between this embodiment and Embodiment 3 and Embodiment 4 is that in Embodiment 3 and Embodiment 4, when determining the priority value of the switching Considering only the link bandwidth of the first transmission path, this embodiment combines the bandwidths of the first transmission path and the second transmission path to determine the priority value of the service to be switched.
  • This embodiment uses the network architecture shown in FIG. 4 Take an example to illustrate:
  • Step 901 The first network edge node 401 monitors the bandwidth of the first transmission path 410 and the second transmission path 420. Specifically, it may directly monitor the first network edge node 401 and the first intermediate node. The bandwidth of the microwave link between point 402 and the fourth intermediate node 406;
  • Step 902 When the first network edge node 401 detects that the bandwidth of at least one of the first transmission path 410 and the second transmission path 420 changes or changes simultaneously, according to the current first transmission path 410 and the second transmission path 420
  • the bandwidth change situation is inquired about the priority value corresponding to the bandwidth value in the protection switching strategy. At least the changed bandwidth value or the corresponding relationship between the bandwidth change value and the priority value is stored in the protection switching strategy, and the switching rules are stored.
  • It includes at least instructing the first network edge node 401 to perform protection switching of part of the service according to the priority value, that is, determining the service whose service priority is equal to or higher than the priority value as the switch from the second transmission path 420 to the first transmission path 410
  • the service whose priority is lower than the priority value is determined as the service to be switched from the first transmission path 410 to the second transmission path 420, and the priority value is determined as the indication information of the service to be switched.
  • the first network edge node 401 executes the protection switching of some services according to the priority value according to the switching rule in the protection switching policy, that is, the service with the service priority equal to or higher than the priority value is determined as the service from the second transmission path 420 to the second transmission path 420.
  • the protection switching strategy may be pre-stored in the network edge node, and may be a priority value set according to the corresponding values of the bandwidth of the first transmission path and the bandwidth of the second transmission path. For example, when the bandwidth of the first transmission path is 0.6 GB and the bandwidth of the second transmission path is also 0.6 GB, the priority value is determined to be 4 by querying the protection switching strategy. Alternatively, the priority value may also be determined according to the rising value and the falling value of the bandwidth of the first transmission path. When the priority value is determined to be 4, for the situation shown in FIG.
  • the second service 440 with the service priority of 4 may be determined as the service to be switched, and the priority value 4 may be determined as the indication information of the service to be switched; Specifically, it may be separately identified in the first transmission path 410 and the second transmission path 420, and when a service with a service priority lower than the priority value is identified in the first transmission path 410, it is determined as the service to be switched to the first transmission path.
  • the second transmission path 420 is switched, when the service priority is identified in the second transmission path 420 When the service is equal to or higher than the priority value, it is determined that the service to be switched is switched to the first transmission path 410.
  • the number of services to be switched here can be one or more.
  • Step 903 The first network edge node 401 switches the service to be switched between the second transmission path 420 and the link of the first transmission path 10 according to the indication information of the service to be switched, and sends it to the second transmission path 420 opposite to the second transmission path.
  • the network edge node 405 sends a partial switching message, where the partial switching message at least includes indication information of the service to be switched;
  • Step 904 The second network edge node 405 receives the partial switching message sent by the first network edge node 401 from the second transmission path 420, parses the partial switching message to obtain the priority value 4, and adopts the switching rule in the protection switching strategy, The protection switching of some services is performed according to the priority value, that is, the service whose priority of the service transmitted in the link of the first transmission path 410 is lower than the priority value is determined as the service to be switched and is switched to the link of the second transmission path 420. And the service whose priority is equal to or higher than the priority value transmitted in the link of the second transmission path 420 is determined as the service to be switched and is switched to the link of the first transmission path 410 for transmission.
  • the priority value that is, the service whose priority of the service transmitted in the link of the first transmission path 410 is lower than the priority value is determined as the service to be switched and is switched to the link of the second transmission path 420.
  • the switching rule may be the same as or different from the switching rule in the first network edge node 401. For example, it may be that the protection switching of some services is performed according to the priority value, that is, the priority of the service transmitted in the link of the first transmission path 410 is low.
  • the service whose priority value is determined to be the service to be switched is switched to the link of the second transmission path 420 for transmission, and the service priority of the service transmitted in the link of the second transmission path 420 is determined to be equal to or higher than the priority value.
  • the service to be switched is switched to the link of the first transmission path 410 for transmission.
  • the second network edge node 405 can perform the similar steps in the above step 902, first identify the services in the first transmission path 410 and the second transmission path 420 according to the priority value, and determine the eligible services as pending according to the identification results. To switch services, switch between the first transmission path 410 and the second transmission path 420. Therefore, it is ensured that the service with the lower service priority is transmitted on the second transmission path 420, and the service with the higher service priority is transmitted on the first transmission path 410.
  • the network edge node when the network edge node detects that the bandwidth of the first transmission path changes due to the AM of the microwave link, it can control which service is located according to the priority of the service. Transmission on the path not only makes reasonable use of bandwidth resources, but also reduces switching packet loss caused by completely switching protected services, which can improve the transmission efficiency and quality of the network.
  • the switching protection strategy is not limited to distinguishing the services to be switched by being greater than or less than the priority value. It can also directly identify the services to be switched by the service ID or the service ID list or the service group ID or the message priority value. For example, it may be directly determined that services with a certain priority value or values are services that should be transmitted on the second transmission path, and protection switching is performed if it is recognized that these services were originally transmitted on the first transmission path.
  • multiple pseudowires can be formed into a pseudowire group, and a group identifier can be assigned.
  • a label switching path may carry multiple pseudowire groups, and one or more pseudowire groups that need to be switched during switching
  • the pseudowire group identifier is carried in the MPLS APS message to notify the opposite end that the services in the pseudowire group/groups need to be switched to the second transmission path.
  • FIG. 10 is a flowchart of an automatic protection switching method according to Embodiment 6 of the present invention.
  • the foregoing embodiment may adopt the APS message of the path layer to carry the partial switching message, thereby triggering the partial protection switching.
  • the APS message at the channel layer is used to trigger the protection switching. Since usually one channel transmits one or more services, when the APS message of the channel layer is used to trigger the protection switching, the APS message does not need to carry the identifier or priority of the service to be switched, but for each channel The transmitted service to be switched sends an APS message.
  • a multi-protocol label switching/pseudo wire Multi-Propocol Label Swi tching/Pseudo Wires; hereinafter referred to as MPLS/PW) network is taken as an example for description.
  • the method includes the following steps:
  • Step 1001. The network edge node monitors the bandwidth of the first transmission path and/or the second transmission path. Specifically, it may directly monitor the bandwidth of the microwave link of the network edge node.
  • Step 1002 when the network edge node monitors that the bandwidth of at least one of the first transmission path and/or the second transmission path changes or changes at the same time, query the protection switching strategy to determine the corresponding service to be switched according to the bandwidth change, The protection switching strategy at least stores the changed bandwidth value or the corresponding relationship between the bandwidth change value and the service to be switched;
  • Step 1003 The network edge node transfers the service to be switched from the working pseudowire on the first transmission path Switch to the protected pseudowire for transmission on the second transmission path, and send a PW APS message on the corresponding protected pseudowire, that is, a partial switch message, which carries identification information indicating that the service transmitted on the channel is switched to being carried on the protected pseudowire Transfer on.
  • the identifier of the channel through which the PW APS message is transmitted is the indication information of the service to be switched.
  • Step 1004 The network edge node at the opposite end of the network edge node receives the partial switching message through the first transmission path or the second transmission path.
  • Step 1005 The network edge node at the opposite end uses the identifier of the channel that transmits the partial switching message as the indication information of the service to be switched, and determines that the service transmitted by the channel is the service to be switched according to the identifier of the channel;
  • Step 1006 The network edge node at the opposite end switches the service to be switched between the link of the first transmission path and the second transmission path.
  • the network edge node at the opposite end uses the identifier of the channel that transmits the PW ASP message as the indication information of the service to be switched, and determines that the service transmitted by the pseudowire of the channel is switched to the first 2.
  • the protection pseudo line of the transmission path In this embodiment, the first transmission path may be a working path, and the second transmission path may be a protection path.
  • the so-called channel may refer to the PW.
  • the channel may also be the inner LSP.
  • the channel may be the VLAN and the service instance identifier (Service Instance Ident if ier; hereinafter referred to as : I—SID) and so on.
  • FIG. 11 is a flowchart of an automatic protection switching method according to Embodiment 7 of the present invention.
  • the partial switching messages transmitted in the foregoing embodiment all carry indication information of the service to be switched.
  • the partial switching message carries The protection switching trigger conditions for triggering partial protection switching, the specific steps include:
  • Step 1101 The network edge node monitors the bandwidth of the link in the first transmission path and/or the second transmission path;
  • Step 1102 When the network edge node monitors the first transmission path and/or the second transmission path When the bandwidth changes, the protection switching strategy is queried to determine the corresponding service to be switched according to the bandwidth change, and the protection switching strategy at least stores the changed bandwidth value or the corresponding relationship between the bandwidth change value and the service to be switched;
  • Step 1103 The network edge node switches the service to be switched between the second transmission path and the link of the first transmission path, specifically switching the path used by the network edge node to send the service to the opposite network edge node;
  • Step 1104 The network edge node sends a partial switching message to the network edge node at the opposite end of the first transmission path or the second transmission path, where the partial switching message includes at least a bandwidth change that can trigger partial protection switching, that is, the first protection path and/ Or the changed bandwidth value or bandwidth change value of the second protection path, which is used to instruct the network edge node of the opposite end to determine the service to be switched according to the bandwidth change of the first protection path and/or the second protection path, and to switch the service Switching between the link of the second transmission path and the first transmission path;
  • the partial switching message includes at least a bandwidth change that can trigger partial protection switching, that is, the first protection path and/ Or the changed bandwidth value or bandwidth change value of the second protection path, which is used to instruct the network edge node of the opposite end to determine the service to be switched according to the bandwidth change of the first protection path and/or the second protection path, and to switch the service Switching between the link of the second transmission path and the first transmission path;
  • Step 1105 The network edge node at the opposite end receives the partial switching message through the first transmission path or the second transmission path.
  • Step 1106 The network edge node at the opposite end queries the local protection switching strategy according to the bandwidth change in the partial switching message to determine that the corresponding service is the service to be switched, and the bandwidth change includes at least the bandwidth change value and/or the changed bandwidth value ,
  • the protection switching strategy at least stores the change value of the bandwidth and/or the corresponding relationship between the changed bandwidth value and the service to be switched;
  • Step 1107 The network edge node at the opposite end switches the service to be switched between the link of the first transmission path and the second transmission path.
  • the first transmission path may be a working path
  • the second transmission path may be a protection path
  • the network edge node triggers the opposite network edge node to perform partial switching with a partial switching message, and the network edge node at the opposite end triggers the partial switching according to the bandwidth change of the first transmission path and/or the second transmission path and the local protection switching strategy.
  • the protection switching strategy in the two network edge nodes can be The same may be different, and the determined services to be switched may be the same or different.
  • adjusting the distribution of services on the first transmission path and the second transmission path refers to assigning different services to the first transmission path or the second transmission path for transmission through a pre-configured distribution algorithm.
  • multiple pseudo wires can be allocated to the working LSP and protection LSP for transmission; in an Ethernet network, multiple customer VLANs can be allocated to different carrier VLAN tunnels or carrier backbone transmission-traffic Engineering (Provider Backbone Br idge-Traffic Engineer ing; hereinafter referred to as: PBB-TE) tunnel.
  • PBB-TE carrier backbone transmission-traffic Engineering
  • the network edge node when the network edge node monitors that the bandwidth of the first transmission path and/or the second transmission path changes, it may also be based on the bandwidth change of the first transmission path and/or the second transmission path. Determine that part of the services on the first transmission path and/or the second transmission path are services to be discarded, and discard the services to be discarded.
  • the discarding situation mainly occurs when the bandwidth value drops.
  • the bandwidth required for the transmission service exceeds the sum of the bandwidth of the first transmission path and the bandwidth of the second transmission path, it may be determined that part of the low-priority services are services to be discarded.
  • the network edge node can also send an APS message to notify the network edge node of the opposite end to switch.
  • the APS message carries the bandwidth information of the current first transmission path and/or the second transmission path, so that the network edge node of the opposite end can automatically change according to the bandwidth change. Determine the business to be discarded.
  • the network edge node can also carry the identification information of these services to be discarded (such as PW label, VLAN label, service priority, etc.) in an APS message or other messages to notify the network edge node of the opposite end to ensure that both ends discard The business is consistent.
  • FIG. 12 is a flowchart of another automatic protection switching method according to Embodiment 8 of the present invention.
  • This embodiment may be executed by a network edge node.
  • the first transmission path may be a working path
  • the second transmission path It may be a protection path, and the method includes the following steps:
  • Step 1201 The network edge node receives the partial switching message from the network edge node opposite to the network edge node through the first transmission path or the second transmission path, which can be specifically transmitted from the first transmission path.
  • the transmission path is received, and it may also be received from the second transmission path.
  • the APS message transmitted in the second transmission path is used to carry the partial switching message;
  • Step 1202 the network edge node determines that part of the service on the first transmission path or the second transmission path is the service to be switched according to the indication information of the service to be switched in the partial switching message or the bandwidth change, and places the service to be switched on the first transmission path Switch between the link with the second transmission path.
  • the technical solution of this embodiment can realize the protection switching of part of the service, avoid the switching of all the services, so that part of the service can be transmitted on the first transmission path, which not only reduces the amount of handover, and thus reduces the packet loss caused by the handover.
  • This phenomenon on the other hand, will not cause too many protected services to be transmitted on the second transmission path and affect the original transmission efficiency of the second transmission path.
  • the network edge node completes the corresponding switching operation when receiving part of the switching message, which can realize the two-way switching of the service.
  • the network edge node can act as the sender of the partial switching message or the receiver of the partial switching message to cooperate with the partial switching trigger node to complete the two-way service switching.
  • the indication information of the service to be switched may have various forms, such as service identification, service category, or the proportion of the service that needs to be switched, and the service is randomly selected for switching according to the ratio.
  • this embodiment may be implemented based on the network architecture shown in FIG. 4, and specifically may be executed by the second network edge node 405.
  • the second network edge node 405 receives the partial switching message sent by the first network edge node 401 from the second transmission path 420;
  • the second network edge node 405 parses and obtains the priority value from the partial switching message as the indication information of the service to be switched, for example, the priority value 4;
  • the second network edge node 405 determines, according to the protection switching strategy and the switching rules, the service whose priority is lower than the priority value transmitted in the link of the first transmission path 410 as the service to be switched, and switches to the second transmission path 420 And/or determine the service whose priority is equal to or higher than the priority value in the link of the second transmission path 420 as the service to be switched, and switch to the link of the first transmission path 410 to perform Transmit.
  • the second network edge node 405 As the receiver of the partial switching message, it can determine whether there are services on the first transmission path 410 and the second transmission path 420 that need to be switched according to the instruction information.
  • the protection switching strategy stores at least the service priority of the service to be switched, and the switching rule at least includes determining the service whose priority is lower than the priority value transmitted in the link of the first transmission path 410 as the service to be switched, and switching to the first transmission path 410
  • the link of the second transmission path 420 is transmitted, and/or the service whose priority of the service transmitted in the link of the second transmission path 420 is equal to or higher than the priority value is determined as the service to be switched, and the service is switched to the first transmission path 410 Link for transmission.
  • the protection switching strategy is not limited to determining the service to be switched based on the priority value.
  • the current modulation level and bandwidth level information can also be used as the switching identifier to determine the service to be switched, as long as it can be determined based on the bandwidth. It is sufficient to distinguish the instruction information of the business.
  • the technical solution of the embodiment of the present invention is not limited to being applied to the PTN network shown in FIG. 4, and can also be applied to other packet networks using APS technology, and is not limited to the 1:1 switching mode, and can also be 1:n With the switching mode of m:n, it is sufficient to switch part of the services between the first transmission path and the second transmission path according to the bandwidth change.
  • the service switching is specifically performed when the service priority is lower than the priority value.
  • the switching rule of the protection switching strategy is not limited to this, and the service priority may be higher than or equal to the set value. The business with a given priority value is switched.
  • the switching trigger condition is not limited to the first transmission path.
  • the status of the transmission path is generated, and the switching trigger condition can also be obtained according to the status of the second transmission path, or the priority value in the protection switching strategy can be determined by considering the status of the bandwidth of the first transmission path and the second transmission path, etc. information.
  • step 1202 may specifically include the following steps:
  • the network edge node uses the identifier of the channel that transmits the partial switching message as the indication information of the service to be switched, and determines that the service transmitted by the channel is the service to be switched according to the identifier of the channel; The network edge node switches the service to be switched between the link of the first transmission path and the second transmission path.
  • step 1202 may specifically include the following steps:
  • the network edge node queries the local protection switching strategy according to the bandwidth change in the partial switching message to determine that the corresponding service is the service to be switched.
  • the protection switching trigger condition is preferably the first protection path and /Or the bandwidth value of the second protection path, the bandwidth change situation includes at least the bandwidth change value and/or the changed bandwidth value, and the protection switching strategy at least stores the bandwidth change value and/or the changed bandwidth value and the service to be switched
  • the network edge node switches the service to be switched between the link of the first transmission path and the second transmission path.
  • the first transmission path may be determined according to the bandwidth change included in the partial switching message.
  • the services to be discarded are discarded.
  • the service to be discarded can be determined according to the bandwidth value monitored by the network edge node of the opposite end.
  • the services to be discarded determined by the two network edge nodes may all be low-priority services, and may be the same or different.
  • FIG. 13 is a schematic structural diagram of an automatic protection switching device according to Embodiment 9 of the present invention, which includes: a determining module 10 and a switching module 20.
  • the determining module 10 is configured to determine that part of the services on the first transmission path or the second transmission path are services to be switched according to the change in the bandwidth of the first transmission path when the bandwidth of the first transmission path is monitored; The switching service is switched between the link of the second transmission path and the first transmission path.
  • the automatic protection switching device of this embodiment may be an independent network element device or integrated in a packet network Among the edge nodes of the network, the automatic protection switching method provided in the embodiment of the present invention can be implemented, and it can be determined from the protected services that part of the services are switched in the second transmission path and the first transmission path, so as to realize reasonable load distribution and improve reporting. The quality and efficiency of text transmission.
  • the automatic protection switching device may further include: a message sending module 30.
  • the message sending module 30 may be connected to the determining module 10, and is configured to send a partial switching message to the network edge node at the opposite end of the first transmission path or the second transmission path, and the partial switching message includes at least the indication information of the service to be switched or the bandwidth change situation,
  • the network edge node used to instruct the opposite end to determine the service to be switched according to the partial switching message, and switch the service to be switched between the link of the second transmission path and the first transmission path.
  • the network edge node on the other side of the first transmission path or the second transmission path can be notified to perform corresponding protection switching, so as to realize the two-way automatic protection switching of the service.
  • the determining module 10 includes: a bandwidth monitoring unit 11 and a switching determining unit 12.
  • the bandwidth monitoring unit 11 is used to monitor the bandwidth of the first transmission path;
  • the switching determination unit 12 is used to determine whether the bandwidth of the first transmission path or the second transmission path is on the first transmission path or the second transmission path when the bandwidth of the first transmission path is monitored.
  • Part of the service is a service to be switched, and the indication information of the service to be switched is determined according to the bandwidth change of the first transmission path.
  • This embodiment can implement the automatic protection switching method provided in the embodiment of the present invention, and determine the protected service that needs to be switched according to the bandwidth change.
  • This embodiment is particularly suitable for monitoring the bandwidth change caused by the adaptive modulation of the microwave link due to environmental factors. At this time, although the bandwidth is reduced, some bandwidth resources are still available.
  • the switching determination unit 12 includes: a first priority query subunit 121 and a first service determination subunit 122.
  • the first priority query subunit 121 is configured to, when it is detected that the bandwidth of the link in the first transmission path has decreased, query the decreased bandwidth value or the priority corresponding to the bandwidth decreased value in the protection switching strategy according to the bandwidth decrease.
  • the switching strategy stores at least the reduced bandwidth value or the corresponding relationship between the bandwidth reduction value and the priority value; the first service determining subunit 122 is configured to lower the service priority below the priority value according to the switching rule stored in the protection switching strategy
  • the service is determined to be the service to be switched from the first transmission path to the second transmission path, the priority value is determined to be the indication information of the service to be switched, and the switching rule includes at least determining the service priority lower than the priority value as The service to be switched is switched from the first transmission path to the second transmission path, and the priority value is determined as the indication information of the service to be switched.
  • the service priority can be used to distinguish services.
  • the bandwidth of the first transmission path drops, part of the protected services below the priority value are switched to the second transmission path for transmission, so as to share the load reasonably. It also guarantees the reliability of service transmission.
  • the switching determination unit 12 includes: a second priority query subunit 123 and a second service Determine the subunit 124.
  • the second priority query subunit 123 is used to query the increased bandwidth value or the priority corresponding to the increased bandwidth value in the protection switching strategy according to the increase in bandwidth when the bandwidth of the link in the first transmission path is monitored.
  • the protection switching policy stores at least the increased bandwidth value or the corresponding relationship between the increased bandwidth value and the priority value; the second service determining subunit 124 is configured to set the service priority equal to or The service higher than the priority value is determined as the service to be switched from the second transmission path to the first transmission path, the priority value is determined to be the indication information of the service to be switched, and the switching rule includes at least setting the service priority equal to or higher than The service of the priority value is determined to be the service to be switched from the second transmission path to the first transmission path, and the priority value is determined to be the indication information of the service to be switched.
  • the switching determination unit may include a first priority query subunit, a first service determination subunit, a second priority query subunit, and a second service determination subunit at the same time. . Realize the two-way switching of the protected service between the first transmission path and the second transmission path according to the bandwidth change.
  • the automatic protection switching device may further include a first discarding module, configured to determine, according to the bandwidth change of the first transmission path, that part of the services on the first transmission path are services to be discarded, and to discard the services to be discarded. The business is discarded.
  • FIG. 16 is a schematic structural diagram of another automatic protection switching device according to Embodiment 12 of the present invention, which includes: a message receiving module 40 and a service switching module 50.
  • the message receiving module 40 is configured to receive a partial switching message from the network edge node of the opposite end through the first transmission path or the second transmission path;
  • the service switching module 50 is configured to change the bandwidth according to the indication information of the service to be switched in the partial switching message The situation determines that part of the service on the first transmission path or the second transmission path is the service to be switched, and the service to be switched is switched between the link of the first transmission path and the second transmission path.
  • the automatic protection switching device of this embodiment can be an independent network element device or integrated in a network edge node of a packet network, and can execute the automatic protection switching method provided in the embodiment of the present invention, and can determine from the protected services that part of the services are in the first Switching between the second transmission path and the first transmission path realizes reasonable load distribution and improves message transmission quality and efficiency.
  • the service switching module 50 may specifically include: a first information analysis unit 51 and a first service switching unit 52.
  • the first information analysis unit 51 is configured to parse and obtain the priority value from the partial switching message as the indication information of the service to be switched;
  • the first service switching unit 52 is configured to transfer the first transmission path according to the protection switching policy and the switching rule therein.
  • the service whose priority is lower than the priority value transmitted in the link is determined as the service to be switched, and the link of the second transmission path is switched for transmission, and/or the service transmitted in the link of the second transmission path is prioritized
  • the service whose level is equal to or higher than the priority value is determined to be the service to be switched, and is switched to the link of the first transmission path for transmission
  • the protection switching strategy at least stores the service priority of the service to be switched
  • the switching rule includes at least the first transmission
  • the service whose priority of the service transmitted in the link of the path is lower than the priority value is determined as the service to be switched, and the service is switched to the link of the second transmission path for transmission, and/or the service transmitted in the link of the second transmission path Businesses with a priority equal to or higher than the priority value Set as the service to be switched, and switch to the link of the first transmission path for transmission.
  • services can be distinguished according to service priority, and protected services with higher priority are preferentially switched to protected services for transmission, so as to rationally share the load and ensure the reliability of service transmission.
  • FIG. 17 is a schematic structural diagram of another automatic protection switching device according to Embodiment 13 of the present invention.
  • the service switching module 50 includes: a second information analysis unit 53 and a second service Switching unit 54.
  • the second information analysis unit 53 is configured to use the identifier of the channel transmitting the partial switching message as the indication information of the service to be switched, and determine that the service transmitted by the channel is the service to be switched according to the identifier of the channel;
  • the second service switching unit 54 is configured to The service to be switched is switched between the link of the first transmission path and the second transmission path.
  • This embodiment can implement the technical solution of the sixth embodiment of the present invention, and the working process is detailed in the description of the foregoing embodiment.
  • Embodiment 18 is a schematic structural diagram of another automatic protection switching device provided by Embodiment 14 of the present invention.
  • the service switching module 50 includes: a third information analysis unit 55 and a third service Switching unit 56.
  • the third information analysis unit 55 is configured to query the local protection switching strategy according to the bandwidth change in the partial switching message to determine that the corresponding service is the service to be switched, and the bandwidth change includes at least the bandwidth change value and/or the changed value.
  • the protection switching strategy at least stores the corresponding relationship between the bandwidth change and the service to be switched, specifically the corresponding relationship between the bandwidth change value and/or the changed bandwidth value and the service to be switched; the third service switching unit 56 is configured to The service to be switched is switched between the link of the first transmission path and the second transmission path.
  • This embodiment can implement the technical solution of the seventh embodiment of the present invention, and the working process is detailed in the description of the foregoing embodiment.
  • the automatic protection switching device may also include a second discarding mode
  • the block is used to determine that part of the service on the first transmission path is the service to be discarded according to the bandwidth change situation included in the partial switching message, and discard the service to be discarded.
  • the structure of the automatic protection switching system provided by the fifteenth embodiment of the present invention can be seen in FIGS. 4-7.
  • the system includes a first network edge node 401 and a second network edge node 405, and the first network edge node 401 and the second network edge node 405 A second transmission path 420 and a first transmission path 410 are formed between the network edge nodes 405 through intermediate nodes.
  • the first network edge node 401 is configured to determine that part of the services on the first transmission path 410 or the second transmission path 420 are services to be switched according to the bandwidth change when monitoring that the bandwidth of the first transmission path 410 changes;
  • the service to be switched is switched between the link between the second transmission path 420 and the first transmission path 410; and a partial switching message is sent to the second network edge node 405 at the opposite end of the first transmission path 410 or the second transmission path 420, and the partial switching is performed
  • the message includes at least the indication information of the service to be switched or the bandwidth change;
  • the second network edge node 405 is configured to receive a partial switching message from the first network edge node 401 through the first transmission path 410 or the second transmission path 420; according to part
  • the indication information or bandwidth change of the service to be switched in the switching message determines that part of the service on the first transmission path 410 or the second transmission path 420 is the service to be switched, and the service to be switched is placed on the first transmission path 410 and the
  • the automatic switching protection system provided in this embodiment may include the two kinds of automatic switching protection devices provided in the embodiments of the present invention, and can specifically implement the automatic switching protection method provided in the embodiments of the present invention, which can be used in the first transmission path and the second transmission path. Some services are switched between transmission paths, the load is reasonably shared, and the quality and efficiency of message transmission are improved.
  • the technical solution of the embodiment of the present invention is particularly suitable for the case where the first network edge node is connected to the intermediate node through the microwave link, when the first network edge node monitors the bandwidth change caused by the adaptive modulation of the microwave link due to environmental changes , Generate the protection switching trigger condition.
  • the bandwidth change caused by the adaptive modulation of the microwave link due to environmental changes does not mean that the signal is degraded and the service cannot be transmitted when the bandwidth is reduced. Some of the bandwidth can still be used, so Applying the technical solutions of the embodiments of the present invention in a microwave packet network can make full use of available bandwidth resources and improve message transmission quality and efficiency.
  • the sixteenth embodiment does not mean that only one embodiment may be included, but may include multiple embodiments.
  • the sixteenth embodiment does not mean that only one embodiment may be included, but may include multiple embodiments.
  • Figure 19-1 is a scene diagram of an automatic protection switching method according to Embodiment 16 of the present invention.
  • a protection group includes at least a first transmission path and a second transmission path. The two ends of the first transmission path and the second transmission path converge to two protection switching nodes, usually network edge nodes. Both network edge nodes are provided with transceiver selection devices to implement protection switching, that is, to determine that the protected service will be protected. On which path to transmit, the method in this embodiment can be specifically executed by any network edge node. In this embodiment, "network edge node” and “opposite network edge node” are used to distinguish two different edge nodes.
  • the network edge node and “the opposite network edge node” also refer to the first two edge nodes respectively.
  • two transmission paths are configured between the two edge nodes 1601 and 1605: the two transmission paths VP0 and VPL are a pair of protection groups, and protection switching strategies are configured on nodes 1601 and 1605, so Node 1601 and node 1605 are protection switching nodes.
  • Four service channels vcl, vc2, vc3, and vc4 with different priorities are carried on these two transmission paths, and the committed information rates CIR of the four service channels are 100 Mbps, 50 Mbps, 150 Mbps, and 50 Mbps, respectively.
  • VP0 and VP1 pass through one or more adaptive bandwidth links, such as microwave links.
  • these 12 bandwidth combinations are numbered as 12 path bandwidth states, as shown in the table in Figure 19-2.
  • cl ⁇ cl2 is the path bandwidth status index. It is worth noting that the same path bandwidth state index table needs to be configured on two protection switching nodes, namely node 1601 and node 1605.
  • cl ⁇ cl2 can also be considered as the channel allocation strategy index, so the path bandwidth state index and the channel allocation strategy index represent the same index, just for ease of understanding , Give different names in different applications. Under normal conditions, transmission is generally based on the maximum bandwidth, and both VP0 and VP1 have a capacity of 200Mpbs.
  • the transmission path is a label switching path LSP, and the channel is a pseudowire PW or nested inner LSP; in an Ethernet, the transmission path can be a VLAN connection or a PBB-TE link, and the channel can be expressed as Inner VLAN; In an 0TN network, the transmission path can be a high-order 0DU cross path, and the channel can be a low-order 0DU; in an SDH network, the transmission path can be a VC4 cross, and the channel can be a low-order VC, Such as VC12.
  • Figure 20 describes the configuration of the channel allocation strategy and the channel allocation in the normal state.
  • the channel allocation strategy table is configured on the two protection switching nodes 1601 and 1605, and describes the correspondence between channels and paths in different path bandwidth states. Among them, 0 and 1 are the transmission path numbers, corresponding to VPQ and VP1, respectively, and D indicates that the corresponding service should be discarded. Usually, the reason for discarding is that the bandwidth is insufficient to carry the service.
  • the following two examples explain the channel allocation strategy table. Taking the path bandwidth state cl as an example, in the path bandwidth state, the channel vcl and the channel vc2 are allocated to be carried on the VP0, and the channel vc3 and the channel vc4 are allocated to be carried on the VP1.
  • vcl and vc4 should be carried on VP1 by 7
  • cl ⁇ cl2 respectively correspond to different channel allocation strategies
  • cl ⁇ cl2 can also be referred to as a channel allocation strategy index.
  • the channel allocation strategy index table here may also be referred to as a service allocation index table.
  • cl-cl2 may also be referred to as a service allocation strategy index.
  • the bandwidth to VPO and VP1 are both 200Mbps, so channels are allocated according to the strategy corresponding to the bandwidth state cl.
  • Figure 21 ⁇ Figure 23 describe the protection switching when the bandwidth is reduced compared to Figure 20, including the following steps:
  • Step 1901 When the protection switching node detects that the bandwidth of at least one transmission path in the protection group has changed, the protection switching node determines the changed path bandwidth combination, and the changed path bandwidth combination includes each transmission in the protection group after the bandwidth change. Path bandwidth; the protection switching node saves the corresponding relationship between the bandwidth combination of the path and the channel allocation strategy on the path.
  • each bandwidth combination of paths can correspond to a channel allocation strategy index.
  • the protection switching node may store a path bandwidth state index table, and the path bandwidth state index table includes the corresponding relationship between the bandwidth combination of the path and the channel allocation strategy index.
  • the protection switching node in this embodiment also saves the correspondence between the bandwidth combination of the path and the channel allocation strategy on the path. Since the bandwidth combination of the path corresponds to the channel allocation strategy index, the protection switching node saves the bandwidth status index table, A channel allocation strategy index table may also be saved, and the channel allocation strategy index table includes the corresponding relationship between the channel allocation index and the channel allocation on the path.
  • the protection switching node can find the corresponding channel allocation strategy index by querying the path bandwidth status index table, and then query the channel allocation strategy index table to find the path corresponding to the channel allocation strategy index. Channel allocation strategy.
  • determining the changed path bandwidth combination includes:
  • the protection switching node monitors the bandwidth of each transmission path, and when the protection switching node detects a change in the bandwidth of at least one transmission path, the detected bandwidth of each transmission path after the change is used as the determined bandwidth of each transmission path. or:
  • the protection switching node monitors the bandwidth of each transmission path, and at the same time receives the bandwidth of each transmission path monitored by the opposite protection switching node, and compares each transmission path monitored by the network edge node The bandwidth of is compared with the bandwidth of each transmission path received from the edge node of the opposite network, and the smaller value is taken as the determined bandwidth of the corresponding transmission path, and the changed path bandwidth combination is determined accordingly.
  • Step 1902 The protection switching node queries the correspondence between the saved path bandwidth combination and the channel allocation strategy on the path according to the changed path bandwidth combination, and determines the channel allocation strategy in the changed path bandwidth state.
  • Step 1903 The protection switching node adjusts the current channel allocation strategy to the channel allocation strategy in the changed path bandwidth state through channel switching between paths in the protection group or direct discarding.
  • FIG. 21 describes an implementation manner of protection switching when the bandwidth is reduced relative to that in FIG. 20:
  • the current bandwidths of VP0 and VP1 are both 200Mbps, and the channel allocation strategy index is cl.
  • channel vcl and channel vc2 are allocated to bear on VP0
  • channel vc3 and channel vc4 are allocated to bear On VP1.
  • the changed bandwidth of the network edge node 1601 is that the bandwidth of VP0 is reduced to 100Mbps, and the bandwidth of VP1 is reduced to 150Mbps.
  • VP0 bandwidth is 100Mbps and VP1 bandwidth is 150Mbps
  • VP1 bandwidth is 150Mbps
  • c8 as the channel allocation strategy index to query the channel allocation strategy table to obtain the changed channel allocation
  • the strategy is: vcl and vc4 are carried on VP1, vc2 ⁇ is carried on VP0, and vc3 should be discarded.
  • the changed channel allocation strategy is different from the current channel allocation strategy, and the protection switching action is initiated: switch vcl from VP0 to VP1 to carry the load, and discard all vc3 traffic.
  • Figure 21 describes a one-way switching mechanism, which does not require automatic protection switching coordination between two protection switching nodes.
  • adaptive bandwidth links such as microwave links
  • the two protection switching nodes will obtain different path bandwidth states, which may cause the channel allocation policy of the two protection switching nodes. Slightly different.
  • the foregoing processing is not a problem; but for the two-way switching strategy, since the channel allocation strategies on both sides are required to be completely consistent, two protection switching nodes are required to coordinate.
  • FIG. 22 and FIG. 23 describe another implementation manner of protection switching when the bandwidth is reduced relative to that of FIG. 20:
  • the protection switching node 1601 obtains the current west-to-east transmission bandwidth: VP0 is 100Mbps, VP1 is 10(Mbps.
  • the node 1601 queries the path bandwidth state index according to this bandwidth state as c9, and then performs services according to the channel allocation strategy corresponding to c9 For handover, the specific handover situation is ignored here.
  • An APS message is sent to the protection switching node 1605, and the request signal of the APS message carries the bandwidth state index value c9.
  • the protection switching node 1605 obtains the current transmission bandwidth from east to west as: VPO: 50Mbps, VP1 is 150Mbps.
  • the node 1605 queries the path bandwidth status index as cl l according to this bandwidth status, and then performs service switching according to the channel allocation strategy corresponding to cl l, switches vcl from VP0 to VP1 to be carried, and discards all vc3 traffic. And send an APS message to the protection switching node 1601, and the request signal in the APS message carries the bandwidth state index value c11.
  • the protection switching node 1605 After the protection switching node 1605 receives the APS message sent by the protection switching node 1601, it queries the bandwidth state table based on the bandwidth state index value c9 carried therein, and learns that the path bandwidth status from west to east is: VP0 is 100 Mbps, and VP1 is 100 Mbps. Combined with the end of the transmission bandwidth obtained from east to west as: VPO: 50Mbps, VP1 is 150Mbps o take the minimum bandwidth of each path to obtain a new two-way bandwidth of state: VPO: 50Mbps, VP1 is 100Mbps.
  • Query the bandwidth status table and obtain the new path bandwidth status index as cl 2 then query the channel allocation table to obtain the channel allocation strategy corresponding to cl2: vc2 is carried on VP0, vc4 is carried on VP1, and vcl and vc3 are discarded.
  • the protection switching node adjusts the channel according to this strategy: discard vcl and vc3 traffic. And in the APS message sent to the protection switching node, the bridge signal value is updated to cl 2.
  • the protection switching node 1601 takes a similar operation to that of the protection switching node 1605, which will not be repeated here.
  • FIG. 21 depicts the protection switching situation when the bandwidth is reduced compared to FIG. 20, which may also include The following steps:
  • Step 2401 Monitor the bandwidth of the first transmission path and/or the second transmission path, and when determining the bandwidth relative to the initial first transmission path and/or the second transmission path, the finally monitored first transmission path and/or final When the bandwidth of the monitored second transmission path changes, the network edge node determines the bandwidth of the finally monitored first transmission path and/or the finally monitored second transmission path as the final path bandwidth combination; the network edge The corresponding relationship between the bandwidth combination of the path and the channel allocation strategy on the path is stored on the node.
  • the bandwidth of the first transmission path and/or the second transmission path that is finally monitored changes relative to the initial bandwidth of the first transmission path and/or the second transmission path, specifically It may be that the bandwidth of the finally monitored first transmission path is compared with the initial bandwidth of the first transmission path, and the bandwidth of the finally monitored second transmission path is compared with the initial bandwidth of the second transmission path, as long as the two compare One of the results shows that the two values compared are different, that is, the bandwidth of the first transmission path that is finally monitored is different from the bandwidth of the initial first transmission path, or the bandwidth of the second transmission path that is finally monitored is different from the initial second transmission path. If the bandwidth of the transmission path is different, or both are different, the bandwidth relative to the initial first transmission path and/or the second transmission path can be determined, the first transmission path finally monitored and/or the second transmission finally monitored The bandwidth of the path changes.
  • each bandwidth combination of the path may correspond to a channel allocation strategy index.
  • a path bandwidth state index table may be stored on the network edge node, and the path bandwidth state index table includes the corresponding relationship between the bandwidth combination of the path and the channel allocation strategy index.
  • the network edge node in this embodiment also saves the correspondence between the bandwidth combination of the path stored on the network edge node and the channel allocation strategy on the path. Since the bandwidth combination of the path corresponds to the channel allocation strategy index, the network edge node saves There is a bandwidth state index table, and a channel allocation strategy index table can also be saved, and the channel allocation strategy index table includes the corresponding relationship between the channel allocation index and the channel allocation on the path.
  • the network node can find the corresponding channel allocation strategy by querying the path bandwidth status index table. Then, by querying the channel allocation strategy index table, the channel allocation strategy on the path corresponding to the channel allocation strategy index is inquired.
  • the network edge node monitors the bandwidth of the first transmission path and/or the second transmission path, and when determining the bandwidth relative to the initial first transmission path and/or the second transmission path, the finally monitored first transmission
  • the network edge node determines the bandwidth of the finally monitored first transmission path and/or the finally monitored second transmission path as the final path bandwidth combination , include:
  • the network edge node monitors the bandwidths of the first transmission path and the second transmission path, determines the monitored bandwidth of the first transmission path as the finally monitored bandwidth of the first transmission path, and transfers the monitored second transmission path
  • the bandwidth of the path is determined as the bandwidth of the finally monitored second transmission path; the initial bandwidth of the first transmission path is compared with the finally monitored bandwidth of the first transmission path, and the initial bandwidth of the second transmission path is compared with the final bandwidth of the second transmission path.
  • the network edge node determines the bandwidth of the finally monitored first transmission path and/or the finally monitored second transmission path as the final path bandwidth combination.
  • the network edge node monitors the bandwidths of the first transmission path and the second transmission path, and simultaneously receives the bandwidths of the first transmission path and the second transmission path monitored by the peer network edge node, and compares the first transmission path monitored by the network edge node.
  • the bandwidth of the transmission path is compared with the bandwidth of the first transmission path received from the peer network edge node, and the smaller value is taken as the finally monitored bandwidth of the first transmission path; the second transmission path monitored by the network edge node Compare the bandwidth of the second transmission path with the bandwidth of the second transmission path received from the peer network edge node, and take the smaller value as the bandwidth of the second transmission path that is finally monitored; compare the initial bandwidth of the first transmission path with the bandwidth of the final monitoring Compare the bandwidth of the first transmission path and compare the bandwidth of the initial second transmission path with the finally monitored bandwidth of the second transmission path.
  • the bandwidth of the transmission path is determined as the final path bandwidth combination.
  • the network edge node monitors the bandwidths of the first transmission path and the second transmission path, determines the monitored bandwidth of the first transmission path as the bandwidth of the first transmission path monitored in the middle, and transfers the monitored second transmission path to the bandwidth of the first transmission path.
  • the bandwidth of the path is determined as the bandwidth of the second transmission path monitored in the middle; the bandwidth of the initial first transmission path is compared with the bandwidth of the first transmission path monitored in the middle, and the bandwidth of the initial second transmission path is compared with the bandwidth of the intermediate Comparison of the bandwidth of the monitored second transmission path, when determining the bandwidth relative to the initial first transmission path and/or the second transmission path, the first transmission path detected in the middle and/or the second transmission path detected in the middle
  • the network edge node determines the bandwidth of the first transmission path and/or the second transmission path monitored in the middle as the intermediate path bandwidth combination; the network edge node queries the saved bandwidth according to the intermediate path bandwidth combination
  • the corresponding relationship between the bandwidth combination of the path and the channel allocation strategy on the path determine the channel allocation strategy on the path corresponding to the intermediate path bandwidth combination; determine whether the channel allocation strategy corresponding to the intermediate path bandwidth combination is the same as the initial channel allocation strategy, if The channel allocation strategy corresponding to the intermediate path bandwidth combination is different from the initial channel allocation strategy, and the
  • the bandwidth of the transmission path The bandwidth of the first transmission path monitored by the network edge node is compared with the bandwidth of the first transmission path received from the opposite network edge node, and the smaller value is taken as the first transmission that is finally monitored Path bandwidth; compare the bandwidth of the second transmission path monitored by the network edge node with the bandwidth of the second transmission path received from the opposite network edge node, and take the smaller value as the final monitored second transmission path Bandwidth; compare the bandwidth of the first transmission path monitored in the middle with the bandwidth of the first transmission path finally monitored, and compare the bandwidth of the second transmission path monitored in the middle with the bandwidth of the second transmission path finally monitored , When determining relative to the first transmission path detected in the middle and/ Or the bandwidth of the second transmission path, when the bandwidth of the finally monitored first transmission path and/or the finally monitored second transmission path changes, the network edge node will finally monitor the first transmission path and/or the final monitoring The bandwidth of the second transmission path is determined as the final path bandwidth combination.
  • Step 2402 the network edge node queries the correspondence between the saved path bandwidth combination and the channel allocation strategy on the path according to the final path bandwidth combination, and determines the channel allocation strategy on the path corresponding to the final path bandwidth combination.
  • Step 2403 If the channel allocation strategy corresponding to the final path bandwidth combination is different from the initial channel allocation strategy, perform channel switching according to the channel allocation strategy corresponding to the final path bandwidth combination.
  • the initial channel allocation strategy may be the correspondence between the saved path bandwidth combination and the channel allocation strategy on the path, and the channel allocation strategy corresponding to the initial path bandwidth combination.
  • the bandwidth combination of the initial path may be a combination of the bandwidth of the initial first transmission path and the bandwidth of the initial second transmission path.
  • the initial bandwidths of VP0 and VP1 are both 200 Mbps, and the channel allocation strategy index is cl.
  • the channel vcl The channel vc2 is allocated to bear on VP0, and the channel vc3 and channel vc4 are allocated to bear on VP1.
  • the final bandwidth obtained by the network edge node is that the bandwidth of VP0 is reduced to 100Mbps, and the bandwidth of VP1 is reduced to 150Mbps.
  • VP0 bandwidth is 100Mbps and VP1 bandwidth is 150Mbps
  • query the path bandwidth status table and get the channel allocation strategy index as c8; use c8 as the index to query the channel allocation strategy index table, and get the final channel allocation strategy as: vcl and vc4 are carried on VP1, vc2 7 is carried on VP0, and vc3 should be discarded.
  • the final channel allocation strategy is different from the initial channel allocation strategy, and the protection switching action is initiated: switch vcl from VP0 to VP1 to carry the load, and discard all vc 3 traffic.
  • the above network edge nodes may also be referred to as protection switching nodes.
  • the concepts of the protection switching node and the network edge node in the embodiments and claims in this application are equivalent and can be interchanged.
  • this embodiment only describes the case where only two transmission paths are included in the protection group. However, there are also cases where the protection group contains more than two transmission paths. In this case, it is only necessary to configure the relationship between services and channels in various bandwidth combinations in the channel allocation strategy table. The protection switching method still works application.
  • the foregoing program can be stored in a computer readable storage medium.
  • the program is executed, the program is executed.
  • the foregoing storage medium includes: various media capable of storing program codes, such as ROM, RAM, magnetic disks, or optical disks.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本发明实施例提供自动保护倒换方法、设备和系统。一种方法包括:当监测到第一传送路径的带宽变化时,根据带宽变化情况确定部分业务为待倒换业务;将待倒换业务在第二传送路径和第一传送路径的链路间进行切换。另一种方法包括:通过第一传送路径或第二传送路径接收来自对端的网络边缘节点的部分倒换消息;根据部分倒换消息中待倒换业务的指示信息或带宽变化情况确定待倒换业务,并将待倒换业务在第一传送路径和第二传送路径的链路间进行切换。本发明实施例采用将部分业务进行保护倒换的技术手段,能够合理利用各传送路径的带宽资源,减少业务的切换量。在各传送路径中合理分担负载,提高业务的传送效率和质量。

Description

自动保护倒换方法、 设备和系统
本申请要求于 2009 年 8 月 25 日提交中国专利局、 申请号为 CN 200910091787.6、发明名称为 "自动保护倒换方法、设备和系统" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术, 尤其涉及一种自动保护倒换方法、 设备 和系统。
背景技术
通信系统的分组传送网(Packet Transport Network; 以下简称: PTN ) 中, 依靠网元节点形成链路来传送业务的数据包。 为避免部分节点或链路 出现故障而影响业务的传送, 现有 PTN中提出了自动保护倒换(Automat ic Protect ion Swi tching; 以下简称: APS )技术, 即将故障链路上的业务切 换到预先设定的备用链路上进行传送, 从而不影响业务的传送。
微波是链路中节点间的一种传送介质, 目前在运营商网络中有很广泛 的应用, 其中同步数字系列 ( Synchronous Digi tal Hierarchy; 以下简称: SDH )和准同步数字系列 ( Ples iochronous Digi tal Hierarchy; 以下简称: PDH )技术更为常用, 主要传递的是 E1业务。 近年来, IP业务逐渐取代 E1 业务占用网络中大部分流量, 带宽需求急剧上升。 在这种情况下, 传统的 PDH和 SDH微波由于无法很好地支持 IP业务而逐渐被分组微波技术所替代。 微波链路有一个比较特殊的属性,称为自适应调制(Adapt ive Modulat ion; 以下简称: AM )。 基于微波传送数据的节点可以根据目前环境的变化自动变 化调制模式, 这会导致微波链路带宽的改变, 但是可以保证业务的低误码 传送。
在进行本发明的研究过程中, 发明人发现在有微波链路的 PTN中采用 APS技术存在下述缺陷:现有的 APS技术,在正常情况下是在工作路径上传 送受保护业务, 在保护路径上传送不受保护业务或不传送业务, 当出现故 障时, 将所有受保护的业务全部切换到保护路径上传送。 但是一方面微波 链路因 AM特性进行带宽调整后仍然能够承载部分业务, 而业务切换会引起 丢包, 使得业务传送效率和质量下降; 另一方面如果工作路径和保护路径 上都有微波链路, 如果保护路径上的带宽也降低, 很可能无法满足全部倒 换过来的业务带宽需求。 发明内容
本发明实施例提供自动保护倒换方法、 设备和系统, 以提高基于自动 保护倒换技术传送业务的传送效率和质量。
本发明实施例提供了一种自动保护倒换方法, 包括:
当网络边缘节点监测到第一传送路径的带宽发生变化时, 根据带宽变 化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒换业 务;
所述网络边缘节点将所述待倒换业务在第二传送路径和第一传送路径 的链路间进行切换。
本发明实施例还提供了另一种自动保护倒换方法, 包括:
网络边缘节点通过第一传送路径或第二传送路径接收来自所述网络边 缘节点对端的网络边缘节点的部分倒换消息;
所述网络边缘节点根据所述部分倒换消息中待倒换业务的指示信息或 带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒 换业务, 并将所述待倒换业务在第一传送路径和第二传送路径的链路间进 行切换。
本发明实施例提供了一种自动保护倒换设备, 包括:
确定模块, 用于当监测到第一传送路径的带宽发生变化时, 根据带宽 变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒换业 务;
倒换模块, 用于将所述待倒换业务在第二传送路径和第一传送路径的 链路间进行切换。
本发明实施例提供了另一种自动保护倒换设备, 包括:
消息接收模块, 用于通过第一传送路径或第二传送路径接收来自对端 的网络边缘节点的部分倒换消息;
业务倒换模块, 用于根据所述部分倒换消息中待倒换业务的指示信息 或带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为待 倒换业务, 并将所述待倒换业务在第一传送路径和第二传送路径的链路间 进行切换。
本发明实施例提供了一种自动保护倒换系统 , 包括第一网络边缘节点 和第二网络边缘节点, 所述第一网络边缘节点和第二网络边缘节点之间通 过中间节点形成有第二传送路径和第一传送路径, 其中:
第一网络边缘节点, 用于当监测到第一传送路径的带宽发生变化时, 根据带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为 待倒换业务; 将所述待倒换业务在第二传送路径和第一传送路径的链路间 进行切换; 并向所述第一传送路径或第二传送路径对端的第二网络边缘节 点发送部分倒换消息, 所述部分倒换消息中至少包括所述待倒换业务的指 示信息或所述带宽变化情况;
第二网络边缘节点, 用于通过第一传送路径或第二传送路径接收来自 所述第一网络边缘节点的部分倒换消息; 根据所述部分倒换消息中待倒换 业务的指示信息或带宽变化情况确定所述第一传送路径或第二传送路径上 的部分业务为待倒换业务, 并将所述待倒换业务在第一传送路径和第二传 送路径的链路间进行切换。
由以上技术方案可知, 本发明实施例采用当传送路径的带宽变化时, 将部分业务进行保护倒换的技术手段, 能够合理利用第一传送路径和第二 传送路径的带宽资源, 減少业务的切换量, 进而减少切换所导致的丢包问 题。 在第一传送路径和第二传送路径中合理分担负载, 提高业务的传送效 率和质量。 附图说明
图 1为本发明实施例一提供的一种自动保护倒换方法的流程图; 图 2为本发明实施例二提供的一种自动保护倒换方法的流程图; 图 3为本发明实施例三提供的一种自动保护倒换方法的流程图; 图 4为本发明实施例所基于的自动保护倒换网络架构示意图; 态示意图;
图 6为本发明实施例所基于的自动保护倒换网络架构中的一种保护传 送状态示意图;
图 7为本发明实施例所基于的自动保护倒换网络架构中的另一种保护 传送状态示意图;
图 8为本发明实施例四提供的一种自动保护倒换方法的流程图; 图 9为本发明实施例五提供的一种自动保护倒换方法的流程图; 图 10为本发明实施例六提供的一种自动保护倒换方法的流程图; 图 11为本发明实施例七提供的一种自动保护倒换方法的流程图; 图 12为本发明实施例八提供的另一种自动保护倒换方法的流程图; 图 13为本发明实施例九提供的一种自动保护倒换设备的结构示意图; 图 14为本发明实施例十提供的一种自动保护倒换设备的结构示意图; 图 15 为本发明实施例十一提供的一种自动保护倒换设备的结构示意 图;
图 16为本发明实施例十二提供的另一种自动保护倒换设备的结构示意 图;
图 17为本发明实施例十三提供的另一种自动保护倒换设备的结构示意 图;
图 18为本发明实施例十四提供的另一种自动保护倒换设备的结构示意 图;
图 19 - 1为本发明一个实施例提供的一种自动保护倒换方法的场景图; 图 19 - 2为通道分配策略索引和路径带宽组合的对应关系图; 图 20为本发明一个实施例的正常状态下的通道分配场景图; 图 21为图 20中路径带宽降低时的保护倒换场景图;
图 22为本发明另一个实施例的通道分配场景图;
图 23为本发明一个实施例的自动保护倒换消息处理过程图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
实施例一
图 1 为本发明实施例一提供的一种自动保护倒换方法的流程图, 在采 用 APS 技术的网络中, 一般至少包括一条保护路径和一条工作路径。 下边 包括本实施例的所有实施例中, 第一传送路径可以是工作路径, 第二传送 路径可以是保护路径。 相应地, 第一传送路径也可以是保护路径, 此时第 二传送路径是工作路径。 第二传送路径和第一传送路径的两端汇聚至两个 网络边缘节点, 这两个网络边缘节点上均设置有收发选择装置来实现保护 倒换, 即确定将受保护业务在哪条路径上传送, 本实施例的方法具体可以 由任一网络边缘节点来执行, 包括如下步骤:
步骤 101、 当网络边缘节点监测到第一传送路径的带宽发生变化时,根 据带宽变化情况确定第一传送路径或第二传送路径上的部分业务为待倒换 业务, 该带宽变化情况具体可以为变化后的带宽值或带宽变化值, 但也并 不限于此, 也可以为识别带宽的变化趋势等;
步驟 102、网络边缘节点将待倒换业务在第二传送路径和第一传送路径 的链路间进行切换。
采用本实施例的技术方案, 第一传送路径的带宽变化是触发业务进行 部分倒换的保护倒换触发条件, 待倒换的业务需要根据带宽变化情况从第 一传送路径或第二传送路径上的业务中进行选择确定, 而非将第一传送路 径或第二传送路径上的全部业务统一进行保护倒换。 因此, 本实施例的技 术方案可以根据具体情况实现部分受保护业务的自动保护倒换, 能够在第 一传送路径和第二传送路径的链路中合理分配负载, 充分利用第一传送路 径和第二传送路径的传输资源, 从而提高受保护业务的传输质量和效率。
保护倒换触发条件的具体实现形式并不限于为监测链路的带宽变化, 也可以为接收到带宽变化的通知, 或者接收到其他网元或节点因传输条件 或传输需要发生变化而发送的触发条件等。 确定待倒换业务的方式也可以 有多种, 例如, 保护倒换触发条件为带宽值变化, 则可以根据当前的第一 传送路径带宽值来确定待倒换业务, 或者同时考虑当前的第一传送路径带 宽值和第二传送路径带宽值来确定待倒换业务, 或者当保护倒换触发条件 为其他网元发送的通知消息时, 则可以才艮据其中携带的指示来确定待倒换 业务, 再或者, 可以在产生某个保护倒换触发条件时, 根据保护倒换触发 条件的类型或标识以及本地预存的策略来确定待倒换业务。
在本实施例的基础上, 还可以在网络边缘节点将待倒换业务在第二传 送路径和第一传送路径的链路间进行切换之后, 进一步向第一传送路径或 第二传送路径上该网络边缘节点对端的网絡边缘节点发送部分倒换消息, 该部分倒换消息中至少包括该待倒换业务的指示信息或带宽变化情况, 用 于指示对端的网络边缘节点根据部分倒换消息确定待倒换业务, 并将待倒 换业务在第二传送路径和第一传送路径的链路间进行切换。 该部分倒换消 息优选的是通过保护路径发送, 则可以利用现有的 APS 消息来承载。 在目 前的 APS技术中, 网络边缘节点会向保护路径发送 APS消息来保证自动保 护倒换的双向性, 本实施例中, 具体可以通过 APS 消息来承载部分倒换消 息, 可以在 APS消息中扩展携带倒换指示信息来实现部分倒换的双向性。
部分倒换消息是用于通知另一侧的网络边缘节点进行相应的部分自动 保护倒换, 根据待倒换业务的指示信息, 例如业务标识或业务标识列表、 业务类别、 业务优先级等能够标识业务的信息, 将符合指示信息的业务确 定为待倒换业务进行切换。 当指示信息为业务标识时, 具有相应业务标识 的业务即为符合指示信息的业务。 当指示信息为业务类别时, 属于相同类 别的业务即为符合指示信息的业务。 上述技术方案可以实现业务的双向自 动保护倒换。
这里所说的业务是指承载在传送路径上的流量, 可以是客户业务, 在 多协议标签交换(Mul t i-Protocol Label Swi tching; 以下简称: MPLS ) 网络中, 可以是伪线(Pseudowire; 以下简称: PW )流量, 也可以是内层 嵌套的标签交换路径 ( Label Swi tching Path; 以下简称: LSP )流量, 在 以太网中, 还可以是内层虚拟局域网 (Vir tual Local Area Network; 以 下简称: VLAN )流量。 为描述简单, 本发明以 "业务" 来代指这些流量类 型。
实施例二
图 2 为本发明实施例二提供的一种自动保护倒换方法的流程图, 本实 施例可以以上述实施例一为基础, 具体为根据带宽变化触发部分自动保护 倒换的情况, 且其中, 第一传送路径可以为工作路径, 第二传送路径可以 为保护路径, 该方法包括如下步骤: 步骤 201、 网络边缘节点监测第一传送路径中链路的带宽;
步骤 202、 当网络边缘节点监测到第一传送路径中链路的带宽变化时, 根据带宽变化情况确定第一传送路径或第二传送路径上的部分业务为待倒 换业务, 同时, 网络边缘节点还可以才 居第一传送路径的带宽变化情况确 定待倒换业务的指示信息;
步驟 203、网络边缘节点将待倒换业务在第二传送路径和第一传送路径 的链路间进行切换, 进一步还可以向第二传送路径对端的网络边缘节点发 送部分倒换消息, 部分倒换消息中至少包括待倒换业务的指示信息或带宽 变化情况。
采用本实施例的技术方案 , 网络边缘节点可以根据第一传送路径的带 宽变化将符合保护倒换策略的部分业务进行倒换。 当带宽下降时, 可以是 将业务从第一传送路径切换至第二传送路径进行传送; 当第一传送路径的 带宽上升时, 可以是将业务从第二传送路径切换至第一传送路径。 在倒换 业务的同时, 该网络边缘节点还将能够标识待倒换业务的指示信息向第一 传送路径或第二传送路径发送, 发送给该网络边缘节点对端的网络边缘节 点, 从而触发对端的网络边缘节点根据指示信息进行相应的业务倒换, 完 成双向的业务保护倒换。
本实施例的技术方案在链路带宽变化时仅根据带宽倒换部分受保护业 务, 避免了全部受保护业务的倒换, 第一传送路径上还可以传送部分受保 护业务, 既减少了切换的业务量从而减少了切换时引起的丢包现象, 另一 方面也不会使过多受保护业务在第二传送路径上传送而影响第二传送路径 的原有传送效率。
上述步骤 202 中确定待倒换业务及其指示信息的操作可以是根据带宽 变化情况在预存储的保护倒换策略中进行查询确定的。
本实施例中, 保护倒换策略可以是预先存储在各个网络边缘节点之中 的, 其中存储有变化后的带宽值或带宽的变化值与待倒换业务及其指示信 息的对应关系, 例如存储带宽值和对应的优先级值的对应关系, 以优先级 值区分业务。 保护倒换策略中还可以存储倒换规则, 例如业务优先级大于 或高于优先级值的业务向第一传送路径倒换, 业务优先级低于优先级值的 业务向第二传送路径倒换。
保护倒换策略的具体内容并不限于此, 例如, 待倒换业务的指示信息 还可以为倒换比例, 而倒换规则为当带宽值达到某一数值时, 向第二传送 路径或第一传送路径切换一定比例的受保护业务。 保护倒换策略的内容可 以根据具体的需要来设定。 保护倒换策略可以预先约定好再存储到各个网 络边缘节点中, 也可以通过通知形式的保护倒换触发条件为一侧的网络边 缘节点提供保护倒换策略, 而后将保护倒换策略携带在部分倒换消息中发 送给对端的网络边缘节点。
具体应用中, 并不限于监测第一传送路径链路的带宽来触发部分业务 的自动保护倒换, 也可以为监测第二传送路径中链路的带宽; 当监测到第 一传送路径链路的带宽变化时, 根据带宽变化情况在保护倒换策略中查询 确定对应的待倒换业务及待倒换业务的指示信息。
或者也可以同时监测第一传送路径和第二传送路径中链路的带宽来确 定待倒换业务。
该技术方案尤其适用于包括微波链路的情况。 网络边缘节点监测第一 传送路径中链路的带宽实际上即监测第一传送路径中的微波链路因环境变 化而自适应调制所导致的带宽变化。 具体的, 以微波形式与相邻节点交互 的网络边缘节点, 当出现环境变化等现象时, 网络边缘节点会由于 AM特性 而改变调制模式进而改变带宽, 则网络边缘节点可以获知本地带宽的变化。 此时若带宽下降并不意味着链路出现了故障, 仍然可以传送部分业务, 所 以网络边缘节点可以将采用本实施例的技术方案将部分受保护业务倒换至 第二传送路径, 令第二传送路径和第一传送路径分担网络负载, 充分利用 了网络的带宽资源。 实施例三
图 3为本发明实施例三提供的一种自动保护倒换方法的流程图。 本实 施例的 APS方法可以基于图 4所示的链路结构来实施。 APS可以包括几种模 式, 1: 1、 1: n和 m: n模式。 1: 1即一条保护路径和一条工作路径, 且其中, 工作路径可称为第一传送路径,保护路径可称为第二传送路径, l: n即一条 第二传送路径和 n条第一传送路径, m: n即 m条第二传送路径和 n条第一传 送路径, 其中, m和 n均为自然数。 以 1: 1模式为例进行说明, 图 4为本发 明实施例所基于的自动保护倒换网络架构示意图。 如图 4所示, 多个中间 节点之间的链路形成两条路径, 一条设定为第一传送路径 410, 一条设定为 第二传送路径 420。第一传送路径 410和第二传送路径 420两端汇聚的节点 为网络边缘节点。 各个节点均为分组交换节点, 节点之间的传送介质或称 传送方式可以不同, 例如, 第一网络边缘节点 401与第一中间节点 402和 第四中间节点 406之间, 第一中间节点 402和第二中间节点 403之间均为 微波链路。 其余的第二网络边缘节点 405、 第三中间节点 404、 第五中间节 点 407和第六中间节点 408之间采用其他介质作为传送链路。 在第一网络 边缘节点 401和第二网络边缘节点 405之间假设传输三个受保护业务的数 据包, 分别为第一业务 430、 第二业务 440和第三业务 450, 如图 5所示。 具体地, 以 MPLS网络为例, 第一传送路径 410和第二传送路径 420为 LSP, 这里所说的业务可以是伪线, 也可以是进行伪线封装之前的客户信号。 如 果业务是伪线的形式, 则需要在网络边缘节点给每个伪线配置相应的伪线 优先级作为业务优先级; 如果业务是客户信号的形式, 则需要在网络边缘 节点给每个业务配置相应的业务优先级。 对于 MPLS网络, 推荐采用伪线的 方式, 倒换时按照伪线进行倒换。
本实施例可以以实施例二为基础的, 具体由图 4 中的第一网络边缘节 点 401来执行, 包括如下步骤:
步骤 301、第一网络边缘节点 401监测第一传送路径 410中链路的带宽, 具体可以是第一网络边缘节点 401监测与第一中间节点 402之间的微波链 路是否由于调制模式改变而导致带宽变化, 对于第一传送路径 10 中其他 节点之间的微波链路由于调制模式改变而导致带宽变化, 可以由其他节点 向第一网络边缘节点 401发送通知消息来通知带宽的变化;
步骤 302、当第一网络边缘节点 401监测到第一传送路径 410链路的带 宽下降时, 例如, 带宽值由原带宽 1GB降低至 0. 6GB, 则根据下降后的当前 带宽值在保护倒换策略中查询与该带宽值对应存储的优先级值, 并根据保 护倒换策略中存储的倒换规则将业务优先级低于优先级值的业务确定为从 第一传送路径 410向第二传送路径 420切换的待倒换业务, 并确定该优先 级值为待倒换业务的指示信息, 其中, 倒换规则是预先存储在保护倒换策 略中的, 该倒换规则至少包括指示网络边缘节点将业务优先级低于优先级 值的业务确定为从第一传送路径向第二传送路径切换的待倒换业务, 且确 定优先级值为待倒换业务的指示信息。
具体的, 保护倒换策略可以是预先存储在网络边缘节点之中的, 可以 对应带宽降低的差值或差值范围, 也可以是对应带宽降低后的数值或数值 范围来设定优先级值。 例如, 当降低至 0. 6GB时查询到对应的优先级值设 定为 4。业务优先级也是为每个业务分配设定的,可以携带在业务的数据包 中, 或者, 在网络边缘节点根据带宽变化情况在保护倒换策略中查询带宽 值所对应的优先级值之后, 网络边缘节点在本地查询识别各业务对应的业 务优先级, 以便与查询到的优先级值进行比较。 例如, 第一业务 430 的业 务优先级设定为 7, 第二业务 440的业务优先级设定为 3, 第三业务 450的 业务优先级设定为 5。 则确定第二业务 440的业务优先级低于 4 , 为待倒换 业务, 优先级值 4即为待倒换业务的指示信息。
步骤 303、第一网络边缘节点 401将待倒换业务, 即第二业务 440从第 一传送路径 410切换至第二传送路径 420进行传送,且向第二传送路径 420 对端的第二网络边缘节点 405发送部分倒换消息, 该部分倒换消息中至少 包括待倒换业务的指示信息, 即优先级值 4。 倒换后的网络传送状态如图 6 所示。 当第一网络边缘节点 401无须从第二传送路径 420发送受保护业务 时, 一般向第二传送路径 420发送无请求( No Reque s t ; 以下简称: NR ) 消息, 当需要进行保护倒换时, 则产生上述部分倒换消息。
步骤 304、第二网络边缘节点 405接收到从第二传送路径 420传送的部 分倒换消息之后, 从中解析获取待倒换业务的指示信息, 并根据保护倒换 策略将业务优先级低于优先级值 4 的业务也进行相应的倒换, 即将第二业 务 440从第一传送路径 410切换至第二传送路径 420 ,完成双向的保护倒换, 该保护倒换策略也可以包括倒换规则, 倒换规则至少包括指示第二网络边 缘节点 405将业务优先级低于指定优先级值的业务从第一传送路径 410切 换至第二传送路径 420。
第二网络边缘节点 405中可以预存有与第一网络边缘节点 401相同的 保护倒换策略, 或者接收第一网络边缘节点 401 与部分倒换消息一并发送 的保护倒换策略。
采用本实施例的技术方案, 当由于微波链路的 AM而导致第一传送路径 的带宽下降时, 并不是发生信号劣化(S igna l Degrade; 以下简称: SD ), 可以仅将优先级较低的业务切换至第二传送路径传送, 使得第一传送路径 的带宽降低尽量不影响高优先级业务的传送。 通过将一部分业务进行倒换 可以避免由于带宽下降而导致第一传送路径传送质量下降的问题, 还能够 充分利用第一传送路径的剩余带宽, 避免过多受保护业务切换至第二传送 路径, 而影响第二传送路径上原有的不受保护业务的传送效率和质量。 同 时, 业务切换量的减少, 能够减少切换导致的丢包损失。 将受保护业务合 理分配到第一传送路径和第二传送路径上, 可以分担负载, 为业务提供最 大的保护。
本实施例所执行的业务部分自动保护倒换并不限于执行一次, 在进行 了业务部分自动保护倒换之后, 若任一网絡边缘节点又监测到带宽下降时, 例如, 带宽从 0. 6GB下降至 0. 3GB, 则可以继续查询确定对应的优先级值, 例如带宽为 0. 3GB时对应的优先级值为 6 ,则将业务优先级为 5的第三业务 350也切换至第二传送路径 420, 如图 7所示。
实施例四
图 8 为本发明实施例四提供的一种自动保护倒换方法的流程图, 本实 施例与实施例三的区别在于, 实施例三为第一传送路径链路带宽下降时, 从第一传送路径向第二传送路径倒换业务的情况, 本实施例具体为第一传 送路径链路带宽上升时, 从第二传送路径向第一传送路径倒换业务的情况 , 具体步骤如下:
步骤 801、第一网络边缘节点 401监测第一传送路径 410中链路的带宽; 步骤 802、当第一网络边缘节点 401监测到第一传送路径 410中链路的 带宽上升时, 根据带宽上升情况在保护倒换策略中查询上升后的带宽值或 带宽上升值所对应的优先级值, 保护倒换策略中至少存储有上升后的带宽 值或带宽上升值与优先级值的对应关系, 且存储有倒换规则, 倒换规则至 少包括将业务优先级等于或高于优先级值的业务确定为从第二传送路径 420向第一传送路径 410切换的待倒换业务,确定优先级值为待倒换业务的 指示信息。 第一网络边缘节点 401根据保护倒换策略中存储的倒换规则将 业务优先级等于或高于优先级值的业务确定为从第二传送路径 20 向第一 传送路径 410切换的待倒换业务, 确定优先级值为待倒换业务的指示信息。 例如, 当带宽从 0. 3GB上升至 0. 6GB时, 确定优先级值为 4 , 则可以将业务 优先级为 5的第二业务 440确定为待倒换业务, 将优先级值 4确定为待倒 换业务的指示信息;
值得说明的是,在本实施例中,为描述简单只切换了一个第二业务 440, 在实际网络中, 可以切换多个业务, 即将所有业务优先级低于才艮据变化后 的带宽值在保护倒换策略中对应的优先级值的业务在第一网络边缘节点 401都会进行切换。 步骤 803、第一网络边缘节点 401将待倒换业务从第二传送路径 420切 换至第一传送路径 410的链路, 且向第二传送路径 420对端的第二网络边 缘节点 405发送部分倒换消息, 该部分倒换消息中至少包括待倒换业务的 指示信息;
步骤 804、第二网络边缘节点 405从第二传送路径 420接收第一网络边 缘节点 401发送的部分倒换消息, 从部分倒换消息中解析获取优先级值 4 , 并根据保护倒换策略将第一传送路径 410的链路中传送的业务优先级低于 优先级值的第二业务 44G切换至第二传送路径 420的链路进行传送。 该保 护倒换策略也可以包括倒换规则, 倒换规则至少包括指示第二网络边缘节 点 405将第一传送路径 410传送的业务优先级低于指定优先级值的业务切 换至第二传送路径 420。
值得说明的是,在本实施例中,为描述简单只切换了一个第二业务 440, 在实际网络中, 可以切换多个业务, 即将所有业务优先级低于从部分倒换 消息中解析获取的优先级值的业务在第二网络边缘节点 405都会进行切换。
采用本实施例的技术方案, 当网络边缘节点监测到由于微波链路的 AM 而导致第一传送路径的带宽变化时, 可以根据业务优先级控制业务在哪条 路径上传送, 既合理利用了带宽资源, 又减少了完全倒换受保护业务而导 致的切换丢包, 能够提高网络的传送效率和质量。
实施例五
图 9 为本发明实施例五提供的一种自动保护倒换方法的流程图, 本实 施例与实施例三和实施例四的区别在于, 实施例三和实施例四在确定倒换 的优先级值时仅考虑了第一传送路径链路带宽的情况, 本实施例则结合第 一传送路径和第二传送路径的带宽来确定待倒换业务的优先级值, 本实施 例以图 4所示的网络架构为例进行说明:
步骤 901、第一网络边缘节点 401监测第一传送路径 410和第二传送路 径 420的带宽, 具体可以是直接监测第一网络边缘节点 401与第一中间节 点 402和第四中间节点 406之间的微波链路的带宽;
步骤 902、当第一网络边缘节点 401监测到第一传送路径 410和第二传 送路径 420其中至少一个的带宽发生变化或同时发生变化时, 根据当前的 第一传送路径 410和第二传送路径 420带宽变化情况在保护倒换策略中查 询带宽值所对应的优先级值, 保护倒换策略中至少存储有变化后的带宽值 或带宽变化值与优先级值的对应关系, 且存储有倒换规则, 倒换规则至少 包括指示第一网络边缘节点 401根据优先级值来执行部分业务的保护倒换, 即将业务优先级等于或高于优先级值的业务确定为从第二传送路径 420 向 第一传送路径 410切换的待倒换业务, 将业务优先级低于优先级值的业务 确定为从第一传送路径 410向第二传送路径 420切换的待倒换业务, 且确 定优先级值为待倒换业务的指示信息。 第一网络边缘节点 401 根据保护倒 换策略中的倒换规则, 根据优先级值来执行部分业务的保护倒换, 即将业 务优先级等于或高于优先级值的业务确定为从第二传送路径 420 向第一传 送路径 410切换的待倒换业务, 将业务优先级低于优先级值的业务确定为 从第一传送路径 410向第二传送路径 420切换的待倒换业务, 且确定优先 级值为待倒换业务的指示信息;
具体的, 保护倒换策略可以是预先存储在网络边缘节点之中的, 可以 是根据对应的第一传送路径带宽和第二传送路径带宽的数值来设定优先级 值。例如, 当第一传送路径带宽为 0. 6GB,第二传送路径带宽也为 0. 6GB时, 通过查询保护倒换策略, 确定优先级值为 4。 或者, 优先级值的确定还可以 根据第一传送路径的带宽的上升值和下降值来确定。 当确定优先级值为 4 时, 对于图 5所示的情况, 则可以将业务优先级为 4的第二业务 440确定 为待倒换业务, 将优先级值 4 确定为待倒换业务的指示信息; 具体可以是 在第一传送路径 410和第二传送路径 420 中分别进行识别, 当在第一传送 路径 410 中识别到业务优先级低于优先级值的业务时将其确定为待倒换业 务向第二传送路径 420切换, 当在第二传送路径 420中识别到业务优先级 等于或高于优先级值的业务时将其确定为待倒换业务向第一传送路径 410 切换。 这里待倒换业务数量可以是一个或多个。
步骤 903、第一网络边缘节点 401根据待倒换业务的指示信息将待倒换 业务在第二传送路径 420和第一传送路径 10的链路之间切换, 且向第二 传送路径 420对端的第二网络边缘节点 405发送部分倒换消息, 该部分倒 换消息中至少包括待倒换业务的指示信息;
步骤 904、第二网络边缘节点 405从第二传送路径 420接收第一网络边 缘节点 401发送的部分倒换消息, 从部分倒换消息中解析获取优先级值 4 , 并采用保护倒换策略中的倒换规则, 根据优先级值来执行部分业务的保护 倒换, 即将第一传送路径 410 的链路中传送的业务优先级低于优先级值的 业务确定为待倒换业务切换至第二传送路径 420 的链路进行传送, 并且将 第二传送路径 420 的链路中传送的业务优先级等于或高于优先级值的业务 确定为待倒换业务切换至第一传送路径 410 的链路中进行传送。 该倒换规 则与第一网络边缘节点 401 中的倒换规则可以相同或不同, 例如可以为根 据优先级值来执行部分业务的保护倒换, 即将第一传送路径 410 的链路中 传送的业务优先级低于优先级值的业务确定为待倒换业务切换至第二传送 路径 420的链路进行传送, 并且将第二传送路径 420的链路中传送的业务 优先级等于或高于优先级值的业务确定为待倒换业务切换至第一传送路径 410的链路中进行传送。
第二网络边缘节点 405可以执行上述步骤 902 中类似的步骤, 先根据 优先级值对第一传送路径 410和第二传送路径 420中的业务进行识别, 根 据识别结果将符合条件的业务确定为待倒换业务, 在第一传送路径 410和 第二传送路径 420之间进行切换。 从而保证业务优先级较低的业务在第二 传送路径 420传送, 业务优先级较高的业务在第一传送路径 410传送。
采用本实施例的技术方案, 当网络边缘节点监测到由于微波链路的 AM 而导致第一传送路径的带宽变化时, 可以根据业务优先级控制业务在哪条 路径上传送, 既合理利用了带宽资源, 又减少了完全倒换受保护业务而导 致的切换丢包, 能够提高网络的传送效率和质量。
具体应用中, 倒换保护策略并不限于以大于或小于优先级值来区分待 倒换业务, 还可以直接以业务的标识或业务的标识列表或业务组标识或报 文优先级值来标识待倒换业务, 例如, 可以直接确定具备某个或某些优先 级值的业务为应该在第二传送路径传送的业务, 若识别到这些业务原本在 第一传送路径上传送则进行保护倒换。 具体地, 在 MPLS网络中, 可以将多 个伪线形成一个伪线组, 并分配一个组标识, 一条标签交换路径上可能承 载了多个伪线组, 倒换时将需要倒换的一个或多个伪线组标识携带在 MPLS APS消息中,通知对端这个 /些伪线组中的业务需要倒换到第二传送路径上。
实施例六
图 10为本发明实施例六提供的一种自动保护倒换方法的流程图, 前述 实施例可以为采用路径层的 APS 消息来承载部分倒换消息, 进而触发部分 保护倒换。 本实施例是采用通道层的 APS 消息来触发保护倒换。 由于通常 一个通道传输设定的一个或多个业务, 因此当采用通道层的 APS 消息来触 发保护倒换时, 不需要在 APS 消息中携带待倒换业务的标识或优先级, 而 是针对每个通道传输的待倒换业务发送一条 APS 消息。 本实施例以多协议 标签交换 /伪线 ( Mul t i-Propocol Label Swi tching/Pseudo Wires ; 以下 简称: MPLS/PW ) 网络为例进行说明, 该方法包括如下步骤:
步骤 1001、 网络边缘节点监测第一传送路径和 /或第二传送路径的带 宽, 具体可以是直接监测网络边缘节点的微波链路的带宽;
步驟 1002、当网络边缘节点监测到第一传送路径和 /或第二传送路径其 中至少一个的带宽发生变化或同时发生变化时, 根据带宽变化情况在保护 倒换策略中查询确定对应的待倒换业务, 该保护倒换策略中至少存储有变 化后的带宽值或带宽变化值与待倒换业务的对应关系;
步骤 1003、 网络边缘节点将待倒换业务从第一传送路径上的工作伪线 倒换到第二传送路径上的保护伪线上传输, 并可以在对应的保护伪线上发 送 PW APS消息, 即部分倒换消息, 其中携带标识信息指示该通道传输的业 务倒换为承载在保护伪线上进行传输。 传输该 PW APS消息的通道的标识即 为待倒换业务的指示信息。
步骤 1004、 网络边缘节点对端的网络边缘节点通过第一传送路径或第 二传送路径接收部分倒换消息;
步骤 1005、 对端的网络边缘节点将传输部分倒换消息的通道的标识作 为待倒换业务的指示信息, 根据通道的标识确定通道传输的业务为待倒换 业务;
步骤 1006、 对端的网络边缘节点将待倒换业务在第一传送路径和第二 传送路径的链路间进行切换。
本实施例中, 当对端的网络边缘节点接收到对应的 PW APS消息后, 将 传输该 PW ASP消息的通道的标识作为待倒换业务的指示信息, 确定该通道 工作伪线传输的业务倒换到第二传送路径的保护伪线上。 本实施例中, 第 一传送路径可以为工作路径, 第二传送路径可以为保护路径。
在本实施例中, 所谓通道可以是指 PW, 对于 MPLS标签堆栈, 通道也可 以是内层 LSP , 对于以太网网络, 该通道可以是 VLAN 和业务实例标识 ( Service Ins tance Ident if ier; 以下简称: I—SID )等。
实施例七
图 11为本发明实施例七提供的一种自动保护倒换方法的流程图, 前述 实施例中所传输的部分倒换消息均携带待倒换业务的指示信息, 本实施例 中, 部分倒换消息中携带能够触发部分保护倒换的保护倒换触发条件, 具 体步骤包括:
步骤 1101、网络边缘节点监测第一传送路径和 /或第二传送路径中链路 的带宽;
步骤 1102、当网络边缘节点监测到第一传送路径和 /或第二传送路径的 带宽变化时, 根据带宽变化情况在保护倒换策略中查询确定对应的待倒换 业务, 保护倒换策略中至少存储有变化后的带宽值或带宽变化值与待倒换 业务的对应关系;
步骤 1103、 网络边缘节点将待倒换业务在第二传送路径和第一传送路 径的链路间进行切换, 具体是倒换该网络边缘节点向对端的网络边缘节点 发送业务所使用的路径;
步骤 1104、 网络边缘节点向第一传送路径或第二传送路径对端的网络 边缘节点发送部分倒换消息, 该部分倒换消息中至少包括能够触发部分保 护倒换的带宽变化情况, 即第一保护路径和 /或第二保护路径的变化后的带 宽值或带宽变化值, 用于指示对端的网络边缘节点根据第一保护路径和 /或 第二保护路径的带宽变化情况确定待倒换业务, 并将待倒换业务在第二传 送路径和第一传送路径的链路间进行切换;
步骤 1105、 对端的网络边缘节点通过第一传送路径或第二传送路径接 收部分倒换消息;
步骤 1106、 对端的网络边缘节点根据部分倒换消息中带宽变化情况在 本地的保护倒换策略中查询确定对应的业务为待倒换业务, 带宽变化情况 至少包括带宽的变化值和 /或变化后的带宽值, 保护倒换策略至少存储有带 宽的变化值和 /或变化后的带宽值与待倒换业务的对应关系;
步骤 1107、 对端的网络边缘节点将待倒换业务在第一传送路径和第二 传送路径的链路间进行切换。
本实施例中, 第一传送路径可以为工作路径, 第二传送路径可以为保 护路径。
本实施例中, 网络边缘节点以部分倒换消息触发对端网络边缘节点进 行部分倒换, 对端的网络边缘节点根据第一传送路径和 /或第二传送路径的 带宽变化情况以及本地的保护倒换策略, 自行确定待倒换业务。 具体是确 定自身发送的业务所使用的路径。 两个网絡边缘节点中的保护倒换策略可 以相同也可以不同, 所确定的待倒换业务可能相同也可能不同。
在本实施例中, 调整业务在第一传送路径和第二传送路径上的分配是 指通过预先配置的分配算法将不同的业务分配到第一传送路径或第二传送 路径上传输。在 MPLS网络中,可以是将多个伪线分配到工作 LSP和保护 LSP 上传输;在以太网网络中,可以是将多个客户 VLAN分配到不同的运营商 VLAN 隧道或运营商骨干传输-流量工程 ( Provider Backbone Br idge-Traff ic Engineer ing; 以下简称: PBB-TE )隧道中。 进行业务调整可以最大限度地 保证业务的正常传输。
在上述各实施例的 出上, 当网络边缘节点监测到第一传送路径和 /或 第二传送路径的带宽发生变化时, 还可以根据第一传送路径和 /或第二传送 路径的带宽变化情况确定第一传送路径和 /或第二传送路径上的部分业务 为待丢弃业务, 并将待丢弃业务丢弃。 进行丢弃的情况主要出现在带宽值 下降的情况下。 优选地, 当传输业务所需带宽超过第一传送路径带宽和第 二传送路径带宽的总和时, 可以确定部分低优先级业务为待丢弃业务。 网 络边缘节点还可以发送 APS消息通知对端的网络边缘节点进行倒换,在 APS 消息中携带有当前第一传送路径和 /或第二传送路径的带宽信息, 以便对端 的网络边缘节点根据带宽变化情况自行确定待丢弃的业务。 当然网络边缘 节点也可以将这些待丢弃业务的标识信息(如 PW标签、 VLAN标签、 业务优 先级等信息)承载在 APS 消息或其它消息中通知到对端的网络边缘节点, 以保证两端丢弃的业务一致。
实施例八
图 12为本发明实施例八提供的另一种自动保护倒换方法的流程图, 本 实施例可以由网络边缘节点来执行, 本实施例中, 第一传送路径可以为工 作路径, 第二传送路径可以为保护路径, 该方法包括如下步骤:
步骤 1201、 网络边缘节点通过第一传送路径或第二传送路径接收来自 该网络边缘节点对端的网络边缘节点的部分倒换消息, 具体可以从第一传 送路径接收, 也可以从第二传送路径接收, 优选的是以第二传送路径中所 传输的 APS消息来承载部分倒换消息;
步骤 1202、 网络边缘节点根据部分倒换消息中待倒换业务的指示信息 或带宽变化情况确定第一传送路径或第二传送路径上的部分业务为待倒换 业务, 并将待倒换业务在第一传送路径和第二传送路径的链路间进行切换。
本实施例的技术方案可以实现部分业务的保护倒换, 避免了全部业务 的倒换, 使得第一传送路径上还可以传送部分业务, 既减少了切换的业务 量, 从而减少了切换时引起的丢包现象, 另一方面也不会使过多受保护业 务在第二传送路径上传送而影响第二传送路径的原有传送效率。 网络边缘 节点在接收到部分倒换消息时完成相应的倒换操作, 可以实现业务的双向 倒换。
网络边缘节点既可以作为部分倒换消息的发送者, 也可以作为部分倒 换消息的接收者来配合部分倒换触发节点完成双向业务倒换。
待倒换业务的指示信息可以有多种形式, 例如业务标识、 业务类别, 或需要进行倒换的业务比例, 根据比例随机选择业务进行倒换。
具体的, 本实施例可以基于图 4 所示的网络架构来实现, 且具体可以 由第二网络边缘节点 405来执行,
第二网络边缘节点 405从第二传送路径 420接收第一网络边缘节点 401 发送的部分倒换消息;
第二网络边缘节点 405从部分倒换消息中解析获取优先级值作为待倒 换业务的指示信息, 例如为优先级值 4;
第二网络边缘节点 405根据保护倒换策略及其中的倒换规则将第一传 送路径 410 的链路中传送的业务优先级低于优先级值的业务确定为待倒换 业务,切换至第二传送路径 420的链路进行传送,和 /或将第二传送路径 420 的链路中传送的业务优先级等于或高于优先级值的业务确定为待倒换业 务, 切换至第一传送路径 410 的链路进行传送。 即第二网络边缘节点 405 作为部分倒换消息的接收者可以依据指示信息分别判断第一传送路径 410 和第二传送路径 420上是否有业务需要进行倒换。 该保护倒换策略至少存 储有待倒换业务的业务优先级, 且倒换规则至少包括将第一传送路径 410 的链路中传送的业务优先级低于优先级值的业务确定为待倒换业务, 切换 至第二传送路径 420的链路进行传送, 和 /或将第二传送路径 420的链路中 传送的业务优先级等于或高于优先级值的业务确定为待倒换业务, 切换至 第一传送路径 410的链路进行传送。
在本发明上述实施例中, 在保护倒换策略中并不限于根据优先级值来 确定待倒换业务, 还可以将当前调制等级和带宽等级信息作为倒换标识来 确定待倒换业务, 只要是能够根据带宽区别业务的指示信息即可。 本发明 实施例的技术方案并不限于应用于图 4 中所示的 PTN网络, 还可以适用于 其他应用 APS技术的分组网络, 且并不限于 1: 1的倒换模式, 还可以为 l: n 和 m: n 的倒换模式, 根据带宽变化情况在第一传送路径和第二传送路径之 间倒换部分业务即可。
在上述各实施例中, 具体是在业务优先级低于优先级值时进行业务倒 换, 但是具体应用中, 保护倒换策略的倒换规则并不限于此, 还可以将业 务优先级高于或等于设定优先级值的业务进行倒换。
在具体应用中, 不仅仅第一传送路径会采用微波链路而发生自适应调 制, 第二传送路径中也可能会使用微波链路而发生自适应调制, 所以倒换 触发条件并不限于根据第一传送路径的状态而产生, 还可以根据第二传送 路径的状态获得倒换触发条件, 或者可以结合考虑第一传送路径和第二传 送路径的带宽等状态来确定保护倒换策略中的优先级值等指示信息。
在本发明实施例提供的另一种自动保护倒换方法中, 步骤 1202具体可 以包括下述步骤:
网络边缘节点将传输部分倒换消息的通道的标识作为待倒换业务的指 示信息, 根据通道的标识确定通道传输的业务为待倒换业务; 网络边缘节点将待倒换业务在第一传送路径和第二传送路径的链路间 进行切换。
具体操作可参见实施例六的描述。
在本发明实施例提供的另一种自动保护倒换方法中, 步骤 1202具体可 以包括下述步骤:
网络边缘节点根据部分倒换消息中带宽变化情况在本地的保护倒换策 略中查询确定对应的业务为待倒换业务, 保护倒换触发条件优选的是为对 端的网络边缘节点所监测到的第一保护路径和 /或第二保护路径的带宽值, 带宽变化情况至少包括带宽的变化值和 /或变化后的带宽值, 保护倒换策略 至少存储有带宽的变化值和 /或变化后的带宽值与待倒换业务的对应关系; 网络边缘节点将待倒换业务在第一传送路径和第二传送路径的链路间 进行切换。
具体操作可参见实施例七的描述。
在上述各实施例的基础上, 网络边缘节点通过第一传送路径或第二传 送路径接收来自对端的网络边缘节点的部分倒换消息之后, 还可以根据部 分倒换消息中包括的带宽变化情况确定第一传送路径和 /或第二传送路径 上的部分业务为待丢弃业务, 并将待丢弃业务丢弃。 优选地, 可以根据对 端的网络边缘节点监测到的带宽值确定待丢弃的业务。 两个网络边缘节点 所确定的待丢弃业务均可以为低优先级的业务, 可以相同, 也可以不同。
实施例九
图 13为本发明实施例九提供的一种自动保护倒换设备的结构示意图, 包括: 确定模块 10和倒换模块 20。 其中, 确定模块 10用于当监测到第一 传送路径的带宽发生变化时, 根据带宽变化情况确定第一传送路径或第二 传送路径上的部分业务为待倒换业务; 倒换模块 20用于将待倒换业务在第 二传送路径和第一传送路径的链路间进行切换。
本实施例的自动保护倒换设备可以为独立网元设备或集成在分组网络 的网络边缘节点之中, 可以执行本发明实施例提供的自动保护倒换方法, 可以从受保护业务中确定部分业务在第二传送路径和第一传送路径中进行 倒换, 实现合理分配负载, 提高报文的传输质量和效率。
进一步的, 该自动保护倒换设备还可以包括: 消息发送模块 30。 消息 发送模块 30可以与确定模块 10相连, 用于向第一传送路径或第二传送路 径对端的网络边缘节点发送部分倒换消息, 部分倒换消息中至少包括待倒 换业务的指示信息或带宽变化情况, 用于指示对端的网络边缘节点根据部 分倒换消息确定待倒换业务, 并将待倒换业务在第二传送路径和第一传送 路径的链路间进行切换。 通过发送部分倒换消息可以通知第一传送路径或 第二传送路径另一侧的网络边缘节点进行相应的保护倒换, 实现业务的双 向自动保护倒换。
实施例十
图 14为本发明实施例十提供的一种自动保护倒换设备的结构示意图, 本实施例可以实施例九为基础, 确定模块 10包括: 带宽监测单元 11和倒 换确定单元 12。 其中, 带宽监测单元 11用于监测第一传送路径的带宽; 倒 换确定单元 12用于当监测到第一传送路径的带宽发生变化时, 根据带宽变 化情况确定第一传送路径或第二传送路径上的部分业务为待倒换业务, 且 根据第一传送路径的带宽变化情况确定待倒换业务的指示信息。
本实施例可以执行本发明实施例所提供的自动保护倒换方法, 根据带 宽变化情况来确定需要倒换的受保护业务。 本实施例尤其适用于监测微波 链路因环境因素而自适应调制所导致的带宽变化, 此时虽然带宽下降, 但 仍有一部分带宽资源可以利用。
在上述技术方案的基础上, 该倒换确定单元 12包括: 第一优先级查询 子单元 121和第一业务确定子单元 122。 其中, 第一优先级查询子单元 121 用于当监测到第一传送路径中链路的带宽下降时, 根据带宽下降情况在保 护倒换策略中查询下降后的带宽值或带宽下降值对应的优先级值, 保护倒 换策略中至少存储有下降后的带宽值或带宽下降值与优先级值的对应关 系; 第一业务确定子单元 122用于根据保护倒换策略中存储的倒换规则将 业务优先级低于优先级值的业务确定为从第一传送路径向第二传送路径切 换的待倒换业务, 确定优先级值为待倒换业务的指示信息, 且倒换规则至 少包括将业务优先级低于优先级值的业务确定为从第一传送路径向第二传 送路径切换的待倒换业务, 且确定优先级值为待倒换业务的指示信息。
采用上述技术方案, 可以利用业务优先级来区分业务, 在第一传送路 径的带宽下降时, 将部分低于优先级值的受保护业务倒换至第二传送路径 进行传输, 从而既合理分担负载, 又保证业务传输的可靠性。
实施例十一
图 15 为本发明实施例十一提供的一种自动保护倒换设备的结构示意 图, 本实施例与实施例十的区别在于, 倒换确定单元 12包括: 第二优先级 查询子单元 123和第二业务确定子单元 124。其中, 第二优先级查询子单元 123用于当监测到第一传送路径中链路的带宽上升时,根据带宽上升情况在 保护倒换策略中查询上升后的带宽值或带宽上升值对应的优先级值, 保护 倒换策略中至少存储有上升后的带宽值或带宽上升值与优先级值的对应关 系; 第二业务确定子单元 124用于根据保护倒换策略中存储的倒换规则将 业务优先级等于或高于优先级值的业务确定为从第二传送路径向第一传送 路径切换的待倒换业务, 确定优先级值为待倒换业务的指示信息, 且倒换 规则至少包括将业务优先级等于或高于优先级值的业务确定为从第二传送 路径向第一传送路径切换的待倒换业务, 确定优先级值为待倒换业务的指 示信息。
本实施例具体为带宽上升时进行的部分保护倒换情况, 倒换确定单元 可以同时包括第一优先级查询子单元、 第一业务确定子单元、 第二优先级 查询子单元和第二业务确定子单元。 实现受保护业务根据带宽变化在第一 传送路径和第二传送路径之间的双向切换。 在上述实施例的基础上, 自动保护倒换设备还可以包括一第一丢弃模 块, 用于根据第一传送路径的带宽变化情况确定第一传送路径上的部分业 务为待丢弃业务, 并将待丢弃业务丢弃。
实施例十二
图 16为本发明实施例十二提供的另一种自动保护倒换设备的结构示意 图, 包括: 消息接收模块 40和业 ^到换模块 50。 其中, 消息接收模块 40 用于通过第一传送路径或第二传送路径接收来自对端的网络边缘节点的部 分倒换消息; 业务倒换模块 50用于根据部分倒换消息中待倒换业务的指示 信息或带宽变化情况确定第一传送路径或第二传送路径上的部分业务为待 倒换业务, 并将待倒换业务在第一传送路径和第二传送路径的链路间进行 切换。
本实施例的自动保护倒换设备可以为独立网元设备或集成在分组网络 的网络边缘节点之中, 可以执行本发明实施例提供的自动保护倒换方法, 可以从受保护业务中确定部分业务在第二传送路径和第一传送路径中进行 倒换, 实现合理分配负载, 提高报文的传输质量和效率。
在上述技术方案的基础上, 业务倒换模块 50可以具体包括: 第一信息 解析单元 51和第一业务倒换单元 52。 其中, 第一信息解析单元 51用于从 部分倒换消息中解析获取优先级值作为待倒换业务的指示信息; 第一业务 倒换单元 52用于根据保护倒换策略及其中的倒换规则将第一传送路径的链 路中传送的业务优先级低于优先级值的业务确定为待倒换业务, 切换至第 二传送路径的链路进行传送, 和 /或将第二传送路径的链路中传送的业务优 先级等于或高于优先级值的业务确定为待倒换业务, 切换至第一传送路径 的链路进行传送, 保护倒换策略至少存储有待倒换业务的业务优先级, 且 倒换规则至少包括将第一传送路径的链路中传送的业务优先级低于优先级 值的业务确定为待倒换业务, 切换至第二传送路径的链路进行传送, 和 /或 将第二传送路径的链路中传送的业务优先级等于或高于优先级值的业务确 定为待倒换业务, 切换至第一传送路径的链路进行传送。
采用上述技术方案, 可以根据业务优先级来区分业务, 优先将优先级 别高的受保护业务倒换至保护业务进行传输, 从而既合理分担负载, 又保 证业务传输的可靠性。
实施例十三
图 17为本发明实施例十三提供的另一种自动保护倒换设备的结构示意 图, 本实施例与实施例十二的区别在于, 业务倒换模块 50包括: 第二信息 解析单元 53和第二业务倒换单元 54。 其中, 第二信息解析单元 53用于将 传输部分倒换消息的通道的标识作为待倒换业务的指示信息, 根据通道的 标识确定通道传输的业务为待倒换业务; 第二业务倒换单元 54用于将待倒 换业务在第一传送路径和第二传送路径的链路间进行切换。
本实施例可以执行本发明实施例六的技术方案, 其工作过程详见前述 实施例的描迷。
实施例十四
图 18为本发明实施例十四提供的另一种自动保护倒换设备的结构示意 图, 本实施例与实施例十二的区别在于, 业务倒换模块 50包括: 第三信息 解析单元 55和第三业务倒换单元 56。 其中, 第三信息解析单元 55用于根 据部分倒换消息中带宽变化情况在本地的保护倒换策略中查询确定对应的 业务为待倒换业务, 带宽变化情况至少包括带宽的变化值和 /或变化后的带 宽值, 保护倒换策略至少存储有带宽变化情况与待倒换业务的对应关系, 具体为带宽的变化值和 /或变化后的带宽值与待倒换业务的对应关系; 第三 业务倒换单元 56用于将待倒换业务在第一传送路径和第二传送路径的链路 间进行切换。
本实施例可以执行本发明实施例七的技术方案 , 其工作过程详见前述 实施例的描述。
在上述实施例的基础上, 自动保护倒换设备还可以包括一第二丢弃模 块, 用于才艮据部分倒换消息中包括的带宽变化情况确定第一传送路径上的 部分业务为待丢弃业务, 并将待丢弃业务丢弃。
实施例十五
本发明实施例十五提供的自动保护倒换系统, 其结构可参见图 4 ~ 7所 示, 该系统包括第一网络边缘节点 401和第二网络边缘节点 405 , 第一网络 边缘节点 401和第二网络边缘节点 405之间通过中间节点形成有第二传送 路径 420和第一传送路径 410。 其中, 第一网络边缘节点 401用于当监测到 第一传送路径 410 的带宽发生变化时, 根据带宽变化情况确定第一传送路 径 410或第二传送路径 420上的部分业务为待倒换业务; 将待倒换业务在 第二传送路径 420和第一传送路径 410的链路间进行切换; 并向第一传送 路径 410或第二传送路径 420对端的第二网络边缘节点 405发送部分倒换 消息, 部分倒换消息中至少包括待倒换业务的指示信息或带宽变化情况; 第二网络边缘节点 405用于通过第一传送路径 410或第二传送路径 420接 收来自第一网络边缘节点 401 的部分倒换消息; 根据部分倒换消息中待倒 换业务的指示信息或带宽变化情况确定第一传送路径 410或第二传送路径 420上的部分业务为待倒换业务,并将待倒换业务在第一传送路径 410和第 二传送路径 420的链路间进行切换。
本实施例所提供的自动倒换保护系统可以包括本发明实施例所提供的 两种自动倒换保护设备, 且具体可以执行本发明实施例提供的自动倒换保 护方法, 能够在第一传送路径和第二传送路径之间倒换部分业务, 合理分 担负载, 提高报文的传输质量和效率。
本发明实施例的技术方案, 尤其适用于第一网络边缘节点通过微波链 路与中间节点连接的情况, 当第一网络边缘节点监测微波链路因环境变化 而自适应调制所导致的带宽变化时, 产生该保护倒换触发条件。
微波链路因环境变化而自适应调制所导致的带宽变化, 在带宽下降时 并不意味着信号劣化而不能传输业务, 有一部分带宽仍然可以利用, 所以 在微波分组网络中应用本发明实施例的技术方案, 可以充分利用可用的带 宽资源, 提高报文的传输质量和效率。
实施例十六
其中, 实施例十六不代表只可以包括一个实施例, 而是可以包括多个 实施例。
其中, 实施例十六不代表只可以包括一个实施例, 而是可以包括多个 实施例。
图 19-1为本发明实施例十六提供的一种自动保护倒换方法的场景图。 在采用 APS技术的网络中, 一般一个保护组至少包括第一传送路径和第二 传送路径。 第一传送路径和第二传送路径的两端汇聚至两个保护倒换节点, 通常是网络边缘节点, 这两个网络边缘节点上均设置有收发选择装置来实 现保护倒换, 即确定将受保护业务在哪条路径上传送, 本实施例的方法具 体可以由任一网络边缘节点来执行, 本实施例中用 "网络边缘节点"和 "对 端的网络边缘节点" 来区分两个不同的边缘节点, 同样, "所述网络边缘节 点" 和 "所述对端的网络边缘节点" 也是分别指代前面两个边缘节点。 在 本实施例中, 两个边缘节点 1601和 1605之间配置了两条传送路径: VP0和 VPL 这两条传送路径为一对保护组, 在节点 1601和节点 1605上配置有保 护倒换策略, 因此节点 1601和节点 1605是保护倒换节点。 四个不同优先 级的业务通道 vcl、 vc2、 vc3和 vc4承载在这两条传送路径上, 这四个业 务通道的承诺信息速率 CIR分别为 100Mbps、 50Mbps , 150Mbps和 50Mbps。 VP0和 VP1经过一条或多条自适应带宽链路, 如微波链路。 本实施例中, 节 点 1602和节点 1603之间、 节点 1606和节点 1607之间为 :波链路。 由于 经过的这几条微波链路的带宽会随着环境变化而发生变化, 导致该链路分 配给 VP0和 VP1的带宽也会发生变化, 不过通常这种带宽变化不是随意的, 而是经过事先配置好的。在本实施例中, VP0可能的带宽值有 4个, 分别为 200Mbps , 150Mbps , 100Mbps和 50Mbps , VP1可能的带宽值有 3个, 分别为 200Mbps . 150Mbps和 100Mbps。 这样在保护倒换节点(即边缘节点)看来 VP0和 VP1有 4* 3=12种带宽组合, 本实施例中将这 12种带宽组合编号为 12种路径带宽状态,如图 19-2中表项所描述,其中的 cl ~ cl2即为路径带 宽状态索引。 值得指出的是, 相同的路径带宽状态索引表需要配置在两个 保护倒换节点即节点 1601和节点 1605上。 在后续描述中, 由于要根据路 径带宽状态索引确定通道分配策略, cl ~ cl2也可以被认为是通道分配策略 索引, 所以路径带宽状态索引和通道分配策略索引是表示同一个索引, 只 是为了便于理解, 在不同的应用场合给的不同的名字。 在正常状态下, 一 般会根据最大带宽情况传输, 及 VP0和 VP1均有 200Mpbs容量。 这里, 在 MPLS网络中, 传送路径为标签交换路径 LSP, 通道为伪线 PW或嵌套的内层 LSP; 在以太网中, 传送路径可以为 VLAN连接或 PBB-TE链接, 通道则可以 表示为内层 VLAN; 在 0TN网络中 , 传送路径可以为高阶 0DU交叉路径, 而 通道则可以为低阶 0DU; 在 SDH网络中, 传送路径则可以为 VC4交叉, 而通 道则可以为低阶 VC, 如 VC12。
图 20描述了通道分配策略的配置以及在正常状态下的通道分配情况。 通道分配策略表配置在两个保护倒换节点 1601和 1605上, 其中描述了不 同的路径带宽状态下的通道与路径之间的对应关系。 其中 0和 1为传送路 径编号, 分别对应 VPQ和 VP1, D表示对应业务应该被丢弃, 通常造成丢弃 的原因是带宽不足以承载该业务。 下面以两个例子解释一下通道分配策略 表。 以路径带宽状态 cl为例, 在该路径带宽状态情况下, 通道 vcl和通道 vc2被分配承载在 VP0上,通道 vc3和通道 vc4被分配承载在 VP1上。再以 路径状态 cll为例, vcl和 vc4应该被 7|载在 VP1上, vc2则应该被 载在 VP0上, 而 vc3则会被丢弃。 由于这里 cl ~ cl2分别对应了不同的通道分配 策略, 因此也可以将 cl ~ cl2称为通道分配策略索引。 由于通道通常对应 业务, 这里通道分配策略索引表也可以称作业务分配索引表, 相应地, 将 cl - cl2也可以称为业务分配策略索引。本图例中, 由于保护倒换节点监测 到 VPO和 VP1的带宽均为 200Mbps , 因此按照带宽状态 cl对应的策略分配 通道。
图 21 ~图 23描述了相对于图 20带宽降低时的保护倒换情况, 包括如 下步骤:
步骤 1901、 当保护倒换节点监测到保护组内至少一条传送路径的带宽 发生变化时, 保护倒换节点确定变化后的路径带宽组合, 所述变化后的路 径带宽组合包括带宽变化后保护组内各个传送路径带宽; 所述保护倒换节 点上保存有路径的带宽组合与路径上的通道分配策略的对应关系。
在本实施例中, 路径的带宽组合有多种, 路径的每种带宽组合可以对 应于一个通道分配策略索引。 所述保护倒换节点上可以保存一个路径带宽 状态索引表, 该路径带宽状态索引表中包括路径的带宽组合和通道分配策 略索引的对应关系。 本实施例中的保护倒换节点还保存有路径的带宽组合 与路径上的通道分配策略的对应关系 , 由于路径的带宽组合跟通道分配策 略索引对应, 保护倒换节点上除了保存有带宽状态索引表, 还可以保存一 个通道分配策略索引表, 该通道分配策略索引表包括通道分配索引和路径 上的通道分配的对应关系。 保护倒换节点在确定一个带宽组合后, 可以通 过查询路径带宽状态索引表查到对应的通道分配策略索引 , 然后通过查询 通道分配策略索引表, 查询到对应于所述通道分配策略索引的路径上的通 道分配策略。
在本步骤中, 保护倒换节点监测到保护组内至少一条传送路径的带宽 发生变化时, 确定变化后的路径带宽组合包括:
保护倒换节点监测各个传送路径的带宽, 当保护倒换节点监测到至少 一条传送路径的带宽发生变化时, 将监测到的变化后的各个传送路径的带 宽作为所确定的各个传送路径的带宽。 或者:
保护倒换节点监测各个传送路径的带宽, 并同时接收对端保护倒换节 点监测到的各个传送路径的带宽, 将网络边缘节点监测到的每个传送路径 的带宽和从对端网络边缘节点接收到的每个传送路径的带宽比较, 取较小 的值作为所确定的对应传送路径的带宽, 并据此确定变化后的路径带宽组 合。
步骤 1902、 保护倒换节点根据改变后的路径带宽组合, 查询所保存的 路径的带宽组合与路径上的通道分配策略的对应关系, 确定改变后的路径 带宽状态下的通道分配策略。
步骤 1903、 保护倒换节点通过通道在保护组内路径之间的切换或者直 接丢弃, 将当前的通道分配策略调整为改变后的路径带宽状态下的通道分 配策略。
具体地, 图 21描述了相对于图 20带宽降低时的保护倒换的一种实施 方式:
带宽改变前, 当前的 VP0和 VP1的带宽均为 200Mbps ,通道分配策略索 引为 cl ,在该路径带宽状态情况下,通道 vcl和通道 vc2被分配承载在 VP0 上, 通道 vc3和通道 vc4被分配承载在 VP1上。 网络边缘节点 1601获得改 变后的带宽情况为 VP0带宽降低为 100Mbps , VP1带宽降低为 150Mbps。 根 据当前的路径带宽状态: VP0带宽为 100Mbps和 VP1带宽为 150Mbps, 查询 路径带宽状态表,获得路径带宽状态索引为 c8 ; 利用 c8作为通道分配策略 索引查询通道分配策略表,获得改变后的通道分配策略为: vcl和 vc4承载 在 VP1上, vc2 ^载在 VP0上, vc3则应该被丢弃。 改变后的通道分配策略 与当前的通道分配策略不同, 则启动保护倒换动作: 将 vcl从 VP0切换到 VP1上承载, 将 vc3所有流量丢弃。
图 21描述的是一种单向倒换机制, 不需要两个保护倒换节点之间进行 自动保护倒换协调。 在实际中, 自适应带宽链路, 如微波链路, 由于两个 方向采用频率不一致, 外界环境对两个方向造成的影响也不同, 这样就可 能会产生两个方向带宽不一致的情况, 这种情况下两个保护倒换节点会获 得不同的路径带宽状态, 这样可能会造成两个保护倒换节点的通道分配策 略不同。 对于单向倒换策略, 上述处理没有问题; 但是对于双向倒换策略, 由于要求两边的通道分配策略完全一致, 需要两个保护倒换节点进行协调。 具体地, 图 22和图 23描述了相对于图 20带宽降低时的保护倒换的另一种 实施方式:
保护倒换节点 1601获得当前的从西到东的发送带宽: VP0为 100Mbps , VP1为 10(Mbps。节点 1601根据这一带宽状态查询路径带宽状态索引为 c9 , 则根据 c9对应的通道分配策略进行业务切换, 这里忽略具体切换情况。 并 发送 APS消息到保护倒换节点 1605 , APS消息的请求信号中携带带宽状态 索引值 c9。
保护倒换节点 1605获得当前的从东向西的发送带宽为: VPO: 50Mbps , VP1为 150Mbps。节点 1605根据这一带宽状态查询路径带宽状态索引为 cl l, 则根据 cl l对应的通道分配策略进行业务切换, 将 vcl从 VP0切换到 VP1 上承载, 将 vc3所有流量丢弃。 并发送 APS消息到保护倒换节点 1601 , APS 消息中请求信号携带带宽状态索引值 c 11。
保护倒换节点 1605接收到保护倒换节点 1601发送来的 APS消息后, 基于其中携带的带宽状态索引值 c9, 查询带宽状态表, 获知从西向东的路 径带宽状况为: VP0为 100Mbps, VP1为 100Mbps。 结合本端获得的从东向 西的发送带宽为: VPO: 50Mbps , VP1为 150Mbps o取每个路径带宽的最小值, 获得新的双向带宽状态为: VPO: 50Mbps , VP1为 100Mbps。查询带宽状态表, 获得新的路径带宽状态索引为 cl 2, 则查询通道分配表,获得 cl2对应的通 道分配策略为: vc2承载在 VP0上, vc4承载在 VP1上, vcl和 vc3丟弃。 保护倒换节点则根据这一策略进行通道调整: 丢弃 vcl和 vc3流量。 并在 发送给保护倒换节点的 APS消息中, 将桥接信号值更新为 cl 2。
保护倒换节点 1601采取与保护倒换节点 1605类似的操作, 这里不再 赘述。
图 21描述了相对于图 20当带宽降低时的保护倒换情况, 还可以包括 如下步骤:
步骤 2401、监测第一传送路径和 /或第二传送路径的带宽, 当确定相对 于初始的第一传送路径和 /或第二传送路径的带宽, 最终监测到的第一传送 路径和 /或最终监测到的第二传送路径的带宽发生变化时, 网络边缘节点将 最终监测到的第一传送路径和 /或最终监测到的第二传送路径的带宽确定 为最终的路径带宽组合; 所述网络边缘节点上保存有路径的带宽组合与路 径上的通道分配策略的对应关系。
在本实施例中, 确定相对于初始的第一传送路径和 /或第二传送路径的 带宽, 最终监测到的第一传送路径和 /或最终监测到的第二传送路径的带宽 发生变化, 具体可以是, 将最终监测到的第一传送路径的带宽与初始的第 一传送路径带宽比较, 以及将最终监测到的第二传送路径的带宽与初始的 第二传送路径带宽比较, 只要两个比较结果中有一个显示所比较的两个值 不同, 即最终监测到的第一传送路径的带宽与初始的第一传送路径带宽不 同, 或者最终监测到的第二传送路径的带宽与初始的第二传送路径带宽不 同, 或者两者都不同, 则可以确定相对于初始的第一传送路径和 /或第二传 送路径的带宽, 最终监测到的第一传送路径和 /或最终监测到的第二传送路 径的带宽发生变化。
在本实施例中, 路径的带宽组合有多种, 路径的每种带宽组合可以对 应于一个通道分配策略索引。 所述网络边缘节点上可以保存一个路径带宽 状态索引表, 该路径带宽状态索引表中包括路径的带宽组合和通道分配策 略索引的对应关系。 本实施例中的网络边缘节点还保存有网络边缘节点上 保存有路径的带宽组合与路径上的通道分配策略的对应关系, 由于路径的 带宽组合跟通道分配策略索引对应, 网络边缘节点上除了保存有带宽状态 索引表, 还可以保存一个通道分配策略索引表, 该通道分配策略索引表包 括通道分配索引和路径上的通道分配的对应关系。 网络节点在确定一个带 宽组合后, 可以通过查询路径带宽状态索引表查到对应的通道分配策略索 引, 然后通过查询通道分配策略索引表, 查询到对应于所述通道分配策略 索引的路径上的通道分配策略。
在本步骤中, 网络边缘节点监测第一传送路径和 /或第二传送路径的带 宽, 当确定相对于初始的第一传送路径和 /或第二传送路径的带宽, 最终监 测到的第一传送路径和 /或最终监测到的第二传送路径的带宽发生变化时 , 网络边缘节点将最终监测到的第一传送路径和 /或最终监测到的第二传送 路径的带宽确定为最终的路径带宽组合, 包括:
24011、 网络边缘节点监测第一传送路径和第二传送路径的带宽, 将所 监测到的第一传送路径的带宽确定为最终监测到的第一传送路径的带宽, 将所监测到的第二传送路径的带宽确定为最终监测到的第二传送路径的带 宽; 将初始的第一传送路径的带宽与最终监测到的第一传送路径的带宽比 较 , 以及将初始的第二传送路径的带宽与最终监测到的第二传送路径的带 宽比较, 当确定相对于初始的第一传送路径和 /或第二传送路径的带宽, 最 终监测到的第一传送路径和 /或最终监测到的第二传送路径的带宽发生变 化时, 网络边缘节点将最终监测到的第一传送路径和 /或最终监测到的第二 传送路径的带宽确定为最终的路径带宽组合。
或者:
24012、 网络边缘节点监测第一传送路径和第二传送路径的带宽, 并同 时接收对端网络边缘节点监测到的第一传送路径和第二传送路径的带宽, 将网络边缘节点监测到的第一传送路径的带宽和从对端网络边缘节点接收 到的第一传送路径的带宽比较, 取较小的值作为最终监测到的第一传送路 径的带宽; 将网络边缘节点监测到的第二传送路径的带宽和从对端网络边 缘节点接收到的第二传送路径的带宽比较, 取较小的值作为最终监测到的 第二传送路径的带宽; 将初始的第一传送路径的带宽与最终监测到的第一 传送路径的带宽比较, 以及将初始的第二传送路径的带宽与最终监测到的 第二传送路径的带宽比较, 当确定相对于初始的第一传送路径和 /或第二传 送路径的带宽, 最终监测到的第一传送路径和 /或最终监测到的第二传送路 径的带宽发生变化时, 网络边缘节点将最终监测到的第一传送路径和 /或最 终监测到的第二传送路径的带宽确定为最终的路径带宽组合。
或者:
24013、 网络边缘节点监测第一传送路径和第二传送路径的带宽, 将所 监测到的第一传送路径的带宽确定为中间监测到的第一传送路径的带宽, 将所监测到的第二传送路径的带宽确定为中间监测到的第二传送路径的带 宽; 将初始的第一传送路径的带宽与中间监测到的第一传送路径的带宽比 较, 以及将初始的第二传送路径的带宽与中间监测到的第二传送路径的带 宽比较, 当确定相对于初始的第一传送路径和 /或第二传送路径的带宽, 中 间监测到的第一传送路径和 /或中间监测到的第二传送路径的带宽发生变 化时, 网络边缘节点将中间监测到的第一传送路径和 /或中间监测到的第二 传送路径的带宽确定为中间路径带宽组合; 网络边缘节点根据中间路径带 宽组合, 查询所保存的路径的带宽组合与路径上的通道分配策略的对应关 系, 确定中间路径带宽组合对应的路径上的通道分配策略; 判断中间路径 带宽组合对应的通道分配策略与初始的通道分配策略是否相同, 如果中间 路径带宽组合对应的通道分配策略与初始的通道分配策略不同, 则根据中 间路径带宽组合对应的通道分配策略进行通道倒换; 网络边缘节点接收对 端网络边缘节点监测到的第一传送路径和第二传送路径的带宽, 将网络边 缘节点监测到的第一传送路径的带宽和从对端网络边缘节点接收到的第一 传送路径的带宽比较, 取较小的值作为最终监测到的第一传送路径的带宽; 将网络边缘节点监测到的第二传送路径的带宽和从对端网络边缘节点接收 到的第二传送路径的带宽比较, 取较小的值作为最终监测到的第二传送路 径的带宽; 将中间监测到的第一传送路径的带宽与最终监测到的第一传送 路径的带宽比较, 以及将中间监测到的第二传送路径的带宽与最终监测到 的第二传送路径的带宽比较, 当确定相对于中间监测到的第一传送路径和 / 或第二传送路径的带宽, 最终监测到的第一传送路径和 /或最终监测到的第 二传送路径的带宽发生变化时, 网络边缘节点将最终监测到的第一传送路 径和 /或最终监测到的第二传送路径的带宽确定为最终的路径带宽组合。
步骤 2402、 网络边缘节点根据最终的路径带宽组合, 查询所保存的路 径的带宽组合与路径上的通道分配策略的对应关系, 确定最终的路径带宽 组合对应的路径上的通道分配策略。
步骤 2403、 如果最终的路径带宽组合对应的通道分配策略与初始的通 道分配策略不同, 则根据最终的路径带宽组合对应的通道分配策略进行通 道倒换。
本实施例中, 初始的通道分配策略可以是在所保存的路径的带宽组合 与路径上的通道分配策略的对应关系 , 与初始的路径的带宽组合对应的通 道分配策略。 其中初始的路径的带宽组合可以是初始的第一传送路径的带 宽和初始的第二传送路径的带宽的组合。
具体地, 针对于确定最终的路径带宽组合所用的 19031 步骤的方法, 带宽改变前,初始的 VP0和 VP1的带宽均为 200Mbps ,通道分配策略索引为 cl, 在该路径带宽状态情况下, 通道 vcl和通道 vc2被分配承载在 VP0上, 通道 vc3和通道 vc4被分配承载在 VP1上。 以图 21为例, 网络边缘节点获 得最终的带宽情况为 VP0带宽降低为 100Mbps , VP1带宽降低为 150Mbps。 根据初始的路径带宽状态: VP0带宽为 100Mbps和 VP1带宽为 150Mbps , 查 询路径带宽状态表,获得通道分配策略索引为 c8 ; 利用 c8作为索引查询通 道分配策略索引表,获得最终的通道分配策略为: vcl和 vc4承载在 VP1上, vc2 7 载在 VP0上, vc3则应该被丢弃。 最终的通道分配策略与初始的通道 分配策略不同, 则启动保护倒换动作: 将 vcl从 VP0切换到 VP1上承载, 将 vc 3所有流量丢弃。
以上的网络边缘节点也可以称为保护倒换节点。 本申请中实施例和权利要求中的保护倒换节点和网络边缘节点的概念 等价, 可以互换。
需要说明的是, 为描述简单, 本实施例描述的仅仅是保护组中仅包含 两条传送路径的情况。 但也存在保护组中包含两条以上传送路径的情况, 在这种情况下, 只需要在通道分配策略表中配置好在各种带宽组合情况下 业务和通道的关系, 本保护倒换方法仍然可以应用。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前迷实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求
1、 一种自动保护倒换方法, 其特征在于, 包括:
当网络边缘节点监测到第一传送路径的带宽发生变化时, 根据带宽变 化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒换业 务;
所述网络边缘节点将所述待倒换业务在第二传送路径和第一传送路径 的链路间进行切换。
2、 根据权利要求 1所述的自动保护倒换方法,其特征在于,根据带宽 变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒换业 务包括:
根据变化后的带宽值或带宽变化值确定所述第一传送路径或第二传送 路径上的部分业务为待倒换业务。
3、 根据权利要求 1所述的自动保护倒换方法,其特征在于,所述网络 边缘节点监测第一传送路径的带宽包括:
所述网络边缘节点监测第一传送路径中的微波链路因环境变化而自适 应调制所导致的带宽变化。
4、 根据权利要求 1所述的自动保护倒换方法,其特征在于,所述网络 边缘节点将所述待倒换业务在第二传送路径和第一传送路径的链路间进行 切换之后, 还包括:
所述网络边缘节点向所述第一传送路径或第二传送路径上所述网络边 缘节点对端的网络边缘节点发送部分倒换消息, 所述部分倒换消息中至少 包括所述待倒换业务的指示信息或所述带宽变化情况, 用于指示所述对端 的网络边缘节点根据所述部分倒换消息确定待倒换业务, 并将所述待倒换 业务在第二传送路径和第一传送路径的链路间进行切换。
5、 根据权利要求 4所述的自动保护倒换方法,其特征在于,根据带宽 变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒换业 务时, 还包括: 根据所述第一传送路径的带宽变化情况确定所述待倒换业 务的指示信息。
6、 根据权利要求 5所述的自动保护倒换方法,其特征在于, 当所述网 络边缘节点监测到第一传送路径的带宽发生变化时, 根据带宽变化情况确 定所述第一传送路径上的部分业务为待倒换业务, 且确定所述待倒换业务 的指示信息包括:
当所述网络边缘节点监测到所述第一传送路径中链路的带宽下降时, 根据带宽下降情况在保护倒换策略中查询下降后的带宽值或带宽下降值对 应的优先级值, 所述保护倒换策略中至少存储有下 P争后的带宽值或带宽下 P争值与优先级值的对应关系, 且存储有倒换规则, 所述倒换规则至少包括 将业务优先级低于所述优先级值的业务确定为从所述第一传送路径向所述 第二传送路径切换的待倒换业务, 且确定所述优先级值为所述待倒换业务 的指示信息, 所述网络边缘节点根据所述保护倒换策略中存储的所述倒换 规则将业务优先级低于所述优先级值的业务确定为从所述第一传送路径向 所述第二传送路径切换的待倒换业务, 确定所述优先级值为所述待倒换业 务的指示信息。
7、 根据权利要求 5或 6所述的自动保护倒换方法, 其特征在于, 当 所述网络边缘节点监测到第一传送路径的带宽发生变化时, 根据带宽变化 情况确定所述第一传送路径上的部分业务为待倒换业务, 且确定所述待倒 换业务的指示信息包括:
当所述网络边缘节点监测到所述第一传送路径中链路的带宽上升时, 根据带宽上升情况在保护倒换策略中查询上升后的带宽值或带宽上升值对 应的优先级值, 所述保护倒换策略中至少存储有上升后的带宽值或带宽上 升值与优先级值的对应关系, 且存储有倒换规则, 所述倒换规则至少包括 将业务优先级等于或高于所述优先级值的业务确定为从所述第二传送路径 向所述第一传送路径切换的待倒换业务, 确定所述优先级值为所述待倒换 业务的指示信息, 所述网络边缘节点才艮据所述保护倒换策略中存储的所述 倒换规则将业务优先级等于或高于所述优先级值的业务确定为从所述第二 传送路径向所述第一传送路径切换的待倒换业务, 确定所述优先级值为所 述待倒换业务的指示信息。
8、 根据权利要求 4所述的自动保护倒换方法,其特征在于,所述网络 边缘节点向所述第一传送路径或第二传送路径上所述网络边缘节点对端的 网络边缘节点发送部分倒换消息包括:
所述网络边缘节点通过传输所述待倒换业务的通道向所述第一传送路 径或第二传送路径上所述网络边缘节点对端的网络边缘节点发送部分倒换 消息, 所述待倒换业务的指示信息为传输所述部分倒换消息的通道的标识。
9、 根据权利要求 1所述的自动保护倒换方法,其特征在于, 当网络边 缘节点监测到第一传送路径的带宽发生变化时, 还包括:
所述网络边缘节点根据所述第一传送路径的带宽变化情况确定所述第 一传送路径上的部分业务为待丢弃业务, 并将所述待丢弃业务丢弃。
10、 一种自动保护倒换方法, 其特征在于, 包括:
网络边缘节点通过第一传送路径或第二传送路径接收来自所述网络边 缘节点对端的网络边缘节点的部分倒换消息;
所述网络边缘节点根据所述部分倒换消息中待倒换业务的指示信息或 带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒 换业务, 并将所述待倒换业务在第一传送路径和第二传送路径的链路间进 行切换。
11、 根据权利要求 10所述的自动保护倒换方法, 其特征在于, 所述 网络边缘节点根据所述部分倒换消息中待倒换业务的指示信息确定所述第 一传送路径或第二传送路径上的部分业务为待倒换业务, 并将所述待倒换 业务在第一传送路径和第二传送路径的链路间进行切换包括: 所述网络边缘节点从所述部分倒换消息中解析获取优先级值作为所述 待倒换业务的指示信息;
所述网络边缘节点根据保护倒换策略及其中的倒换规则将第一传送路 径的链路中传送的业务优先级低于所述优先级值的业务确定为待倒换业 务, 切换至第二传送路径的链路进行传送, 和 /或将第二传送路径的链路中 传送的业务优先级等于或高于所述优先级值的业务确定为待倒换业务, 切 换至第一传送路径的链路进行传送, 所述保护倒换策略至少存储有待倒换 业务的业务优先级, 且所述倒换规则至少包括将第一传送路径的链路中传 送的业务优先级低于所述优先级值的业务确定为待倒换业务, 切换至第二 传送路径的链路进行传送, 和 /或将第二传送路径的链路中传送的业务优先 级等于或高于所述优先级值的业务确定为待倒换业务, 切换至第一传送路 径的链路进行传送。
12、 根据权利要求 10所述的自动保护倒换方法, 其特征在于, 所述 网络边缘节点根据所述部分倒换消息中待倒换业务的指示信息确定所述第 一传送路径或第二传送路径上的部分业务为待倒换业务, 并将所述待倒换 业务在第一传送路径和第二传送路径的链路间进行切换包括:
所述网络边缘节点将传输所述部分倒换消息的通道的标识作为待倒换 业务的指示信息, 根据通道的标识确定所述通道传输的业务为待倒换业务; 所述网络边缘节点将所述待倒换业务在第一传送路径和第二传送路径 的链路间进行切换。
1 3、 根据权利要求 10所述的自动保护倒换方法, 其特征在于, 所述 网络边缘节点根据所述部分倒换消息中带宽变化情况确定所述第一传送路 径或第二传送路径上的部分业务为待倒换业务, 并将所述待倒换业务在第 一传送路径和第二传送路径的链路间进行切换包括:
所述网络边缘节点根据所述部分倒换消息中带宽变化情况在本地的保 护倒换策略中查询确定对应的业务为待倒换业务, 所述带宽变化情况至少 包括带宽的变化值和 /或变化后的带宽值, 所述保护倒换策略至少存储有带 宽变化情况与待倒换业务的对应关系;
所述网络边缘节点将所述待倒换业务在第一传送路径和第二传送路径 的链路间进行切换。
14、 根据权利要求 10所述的自动保护倒换方法, 其特征在于, 网络 边缘节点通过第一传送路径或第二传送路径接收来自所述网络边缘节点对 端的网络边缘节点的部分倒换消息之后, 还包括:
所述网络边缘节点根据所述部分倒换消息中包括的带宽变化情况确定 所述第一传送路径上的部分业务为待丢弃业务, 并将所述待丢弃业务丢弃。
15、 一种自动保护倒换设备, 其特征在于, 包括:
确定模块, 用于当监测到第一传送路径的带宽发生变化时, 根据带宽 变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒换业 务;
倒换模块, 用于将所述待倒换业务在第二传送路径和第一传送路径的 链路间进行切换。
16、 根据权利要求 15所述的自动保护倒换设备, 其特征在于, 还包 括:
消息发送模块, 用于向所述第一传送路径或第二传送路径对端的网络 边缘节点发送部分倒换消息, 所述部分倒换消息中至少包括所述待倒换业 务的指示信息或所述带宽变化情况, 用于指示所述对端的网络边缘节点根 据所述部分倒换消息确定待倒换业务, 并将所述待倒换业务在第二传送路 径和第一传送路径的链路间进行切换。
17、 根据权利要求 16所述的自动保护倒换设备, 其特征在于, 所述 确定模块包括:
带宽监测单元, 用于监测第一传送路径的带宽; 倒换确定单元, 用于当监测到第一传送路径的带宽发生变化时, 根据 带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为待倒 换业务, 且根据所述第一传送路径的带宽变化情况确定所述待倒换业务的 指示信息。
18、 根据权利要求 17所述的自动保护倒换设备, 其特征在于, 所述 倒换确定单元包括:
第一优先级查询子单元, 用于当监测到所述第一传送路径中链路的带 宽下降时, 根据带宽下降情况在保护倒换策略中查询下降后的带宽值或带 宽下降值对应的优先级值, 所述保护倒换策略中至少存储有下降后的带宽 值或带宽下降值与优先级值的对应关系;
第一业务确定子单元, 用于根据所述保护倒换策略中存储的倒换规则 将业务优先级低于所迷优先级值的业务确定为从所述第一传送路径向所述 第二传送路径切换的待倒换业务, 确定所述优先级值为所述待倒换业务的 指示信息, 且所述倒换规则至少包括将业务优先级低于所述优先级值的业 务确定为从所述第一传送路径向所述第二传送路径切换的待倒换业务, 且 确定所述优先级值为所述待倒换业务的指示信息。
19、 根据权利要求 17 所述的自动保护倒换设备, 其特征在于, 所述 倒换确定单元包括:
第二优先级查询子单元, 用于当监测到所述第一传送路径中链路的带 宽上升时, 根据带宽上升情况在保护倒换策略中查询上升后的带宽值或带 宽上升值对应的优先级值, 所述保护倒换策略中至少存储有上升后的带宽 值或带宽上升值与优先级值的对应关系;
第二业务确定子单元, 用于根据所述保护倒换策略中存储的倒换规则 将业务优先级等于或高于所述优先级值的业务确定为从所述第二传送路径 向所述第一传送路径切换的待倒换业务, 确定所述优先级值为所述待倒换 业务的指示信息, 且所述倒换规则至少包括将业务优先级等于或高于所述 优先级值的业务确定为从所述第二传送路径向所述第一传送路径切换的待 倒换业务, 确定所述优先级值为所述待倒换业务的指示信息。
20、 根据权利要求 15 所述的自动保护倒换设备, 其特征在于, 还包 括:
第一丢弃模块, 用于根据所述第一传送路径的带宽变化情况确定所述 第一传送路径上的部分业务为待丢弃业务, 并将所述待丢弃业务丢弃。
21、 一种自动保护倒换设备, 其特征在于, 包括:
消息接收模块, 用于通过第一传送路径或第二传送路径接收来自对端 的网络边缘节点的部分倒换消息;
业务倒换模块, 用于根据所述部分倒换消息中待倒换业务的指示信息 或带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为待 倒换业务, 并将所述待倒换业务在第一传送路径和第二传送路径的链路间 进行切换。
22、 根据权利要求 21 所述的自动保护倒换设备, 其特征在于, 所述 业^到换模块包括:
第一信息解析单元, 用于从所述部分倒换消息中解析获取优先级值作 为所述待倒换业务的指示信息;
第一业务倒换单元, 用于根据保护倒换策略及其中的倒换规则将第一 传送路径的链路中传送的业务优先级低于所述优先级值的业务确定为待倒 换业务, 切换至第二传送路径的链路进行传送, 和 /或将第二传送路径的链 路中传送的业务优先级等于或高于所述优先级值的业务确定为待倒换业 务, 切换至第一传送路径的链路进行传送, 所述保护倒换策略至少存储有 待倒换业务的业务优先级, 且所述倒换规则至少包括将第一传送路径的链 路中传送的业务优先级低于所述优先级值的业务确定为待倒换业务, 切换 至第二传送路径的链路进行传送, 和 /或将第二传送路径的链路中传送的业 务优先级等于或高于所述优先级值的业务确定为待倒换业务, 切换至第一 传送路径的链路进行传送。
23、 根据权利要求 21 所述的自动保护倒换设备, 其特征在于, 所述 业 ^到换模块包括:
第二信息解析单元, 用于将传输所述部分倒换消息的通道的标识作为 待倒换业务的指示信息, 根据通道的标识确定所述通道传输的业务为待倒 换业务;
第二业务倒换单元, 用于将所述待倒换业务在第一传送路径和第二传 送路径的链路间进行切换。
24、 根据权利要求 21 所述的自动保护倒换设备, 其特征在于, 所述 业 ^到换模块包括:
第三信息解析单元, 用于根据所述部分倒换消息中带宽变化情况在本 地的保护倒换策略中查询确定对应的业务为待倒换业务, 所述带宽变化情 况至少包括带宽的变化值和 /或变化后的带宽值, 所述保护倒换策略至少存 储有带宽变化情况与待倒换业务的对应关系;
第三业务倒换单元, 用于将所述待倒换业务在第一传送路径和第二传 送路径的链路间进行切换。
25、 根据权利要求 21 所述的自动保护倒换设备, 其特征在于, 还包 括:
第二丢弃模块, 用于根据所述部分倒换消息中包括的带宽变化情况确 定所述第一传送路径上的部分业务为待丢弃业务, 并将所述待丢弃业务丢 弃。
26、 一种自动保护倒换系统, 包括第一网络边缘节点和第二网络边缘 节点, 所述第一网络边缘节点和第二网络边缘节点之间通过中间节点形成 有第二传送路径和第一传送路径, 其特征在于:
第一网络边缘节点, 用于当监测到第一传送路径的带宽发生变化时, 根据带宽变化情况确定所述第一传送路径或第二传送路径上的部分业务为 待倒换业务; 将所述待倒换业务在第二传送路径和第一传送路径的链路间 进行切换; 并向所述第一传送路径或第二传送路径对端的第二网络边缘节 点发送部分倒换消息, 所述部分倒换消息中至少包括所述待倒换业务的指 示信息或所述带宽变化情况;
第二网络边缘节点, 用于通过第一传送路径或第二传送路径接收来自 所述第一网络边缘节点的部分倒换消息; 根据所述部分倒换消息中待倒换 业务的指示信息或带宽变化情况确定所述第一传送路径或第二传送路径上 的部分业务为待倒换业务, 并将所述待倒换业务在第一传送路径和第二传 送路径的链路间进行切换。
27、 一种倒换保护方法, 其特征在于, 包括: 网络边缘节点监测第一传送路径和 /或第二传送路径的带宽, 当确定相 对于初始的第一传送路径和 /或第二传送路径的带宽, 最终监测到的第一传 送路径和 /或最终监测到的第二传送路径的带宽发生变化时, 网络边缘节点 将最终监测到的第一传送路径和 /或最终监测到的第二传送路径的带宽确 定为最终的路径带宽组合; 所述网络边缘节点上保存有路径的带宽组合与 路径上的通道分配策略的对应关系;
网络边缘节点根据最终的路径带宽组合, 查询所保存的路径的带宽组 合与路径上的通道分配策略的对应关系 , 确定最终的路径带宽组合对应的 路径上的通道分配策略;
如果最终的路径带宽组合对应的通道分配策略与初始的通道分配策略 不同 , 则根据最终的路径带宽组合对应的通道分配策略进行通道倒换。
28、 如权利要求 27所述的方法, 其特征在于, 网络边缘节点监测第一 传送路径和 /或第二传送路径的带宽, 当确定相对于初始的第一传送路径和 /或第二传送路径的带宽, 最终监测到的第一传送路径和 /或最终监测到的 第二传送路径的带宽发生变化时, 网络边缘节点将最终监测到的第一传送 路径和 /或最终监测到的第二传送路径的带宽确定为最终的路径带宽组合, 包括:
网络边缘节点监测第一传送路径和第二传送路径的带宽, 将所监测到 的第一传送路径的带宽确定为最终监测到的第一传送路径的带宽, 将所监 测到的第二传送路径的带宽确定为最终监测到的第二传送路径的带宽; 将 初始的第一传送路径的带宽与最终监测到的第一传送路径的带宽比较, 以 及将初始的第二传送路径的带宽与最终监测到的第二传送路径的带宽比 较, 当确定相对于初始的第一传送路径和 /或第二传送路径的带宽, 最终监 测到的第一传送路径和 /或最终监测到的第二传送路径的带宽发生变化时, 网络边缘节点将最终监测到的第一传送路径和 /或最终监测到的第二传送 路径的带宽确定为最终的路径带宽组合;
或者:
网络边缘节点监测第一传送路径和第二传送路径的带宽, 并同时接收 对端网络边缘节点监测到的第一传送路径和第二传送路径的带宽, 将网络 边缘节点监测到的第一传送路径的带宽和从对端网絡边缘节点接收到的第 一传送路径的带宽比较, 取较 ']、的值作为最终监测到的第一传送路径的带 宽; 将网络边缘节点监测到的第二传送路径的带宽和从对端网络边缘节点 接收到的第二传送路径的带宽比较, 取较小的值作为最终监测到的第二传 送路径的带宽; 将初始的第一传送路径的带宽与最终监测到的第一传送路 径的带宽比较, 以及将初始的第二传送路径的带宽与最终监测到的第二传 送路径的带宽比较, 当确定相对于初始的第一传送路径和 /或第二传送路径 的带宽, 最终监测到的第一传送路径和 /或最终监测到的第二传送路径的带 宽发生变化时, 网络边缘节点将最终监测到的第一传送路径和 /或最终监测 到的第二传送路径的带宽确定为最终的路径带宽组合;
或者:
网络边缘节点监测第一传送路径和第二传送路径的带宽, 将所监测到 的第一传送路径的带宽确定为中间监测到的第一传送路径的带宽, 将所监 测到的第二传送路径的带宽确定为中间监测到的第二传送路径的带宽; 将 初始的第一传送路径的带宽与中间监测到的第一传送路径的带宽比较, 以 及将初始的第二传送路径的带宽与中间监测到的第二传送路径的带宽比 较, 当确定相对于初始的第一传送路径和 /或第二传送路径的带宽, 中间监 测到的第一传送路径和 /或中间监测到的第二传送路径的带宽发生变化时, 网络边缘节点将中间监测到的第一传送路径和 /或中间监测到的第二传送 路径的带宽确定为中间路径带宽组合; 网络边缘节点根据中间路径带宽组 合, 查询所保存的路径的带宽组合与路径上的通道分配策略的对应关系, 确定中间路径带宽组合对应的路径上的通道分配策略; 判断中间路径带宽 组合对应的通道分配策略与初始的通道分配策略是否相同 , 如果中间路径 带宽组合对应的通道分配策略与初始的通道分配策略不同, 则根据中间路 径带宽组合对应的通道分配策略进行通道倒换; 网络边缘节点接收对端网 络边缘节点监测到的第一传送路径和第二传送路径的带宽, 将网络边缘节 点监测到的第一传送路径的带宽和从对端网络边缘节点接收到的第一传送 路径的带宽比较, 取较小的值作为最终监测到的第一传送路径的带宽; 将 网络边缘节点监测到的第二传送路径的带宽和从对端网络边缘节点接收到 的第二传送路径的带宽比较, 取较小的值作为最终监测到的第二传送路径 的带宽; 将中间监测到的第一传送路径的带宽与最终监测到的第一传送路 径的带宽比较, 以及将中间监测到的第二传送路径的带宽与最终监测到的 第二传送路径的带宽比较, 当确定相对于中间监测到的第一传送路径和 /或 第二传送路径的带宽, 最终监测到的第一传送路径和 /或最终监测到的第二 传送路径的带宽发生变化时, 网络边缘节点将最终监测到的第一传送路径 和 /或最终监测到的第二传送路径的带宽确定为最终的路径带宽组合。
29、 一种倒换保护方法, 其特征在于, 保护组中包括第一保护倒换 节点和第二保护倒换节点, 以及所述第一保护倒换节点和所述第二保护 倒换节点之间的至少两条传送路径, 所述第一保护倒换节点和所述第二 保护倒换节点上配置有路径的带宽组合与通道分配策略的对应关系, 所 述路径的带宽组合由所述至少两条传送路径中各条传送路径的带宽组 成;
所述倒换方法包括:
第一保护倒换节点监测保护组内的各个传送路径的带宽状态, 确定 其中至少一条传送路径的带宽发生变化;
第一保护倒换节点根据带宽变化后的传送路径的带宽获得最终的路 径带宽组合, 所述最终的路径带宽组合由至少一条传送路径的带宽变化 后, 所述至少两条传送路径中各条传送路径的带宽组成;
第一保护倒换节点根据最终的路径带宽组合, 查询所保存的路径的 带宽组合与通道分配策略的对应关系, 确定最终的路径带宽组合对应的 路径上的通道分配策略;
第一保护倒换节点通过通道在传送路径之间的倒换或丢弃将初始的 通道分配策略更新为所述最终的路径带宽组合对应的路径上的通道分配 策略。
30、 根据权利要求 29所述的自动保护倒换方法, 其特征在于: 所述 第一保护倒换节点监测保护组内的各个传送路径的带宽状态, 确定至少 其中一条传送路径的带宽发生变化, 第二保护倒换节点将本节点获得的 路径带宽状态发送给第一保护倒换节点;
第一保护倒换节点接收到所述第二保护倒换节点发送过来的路径带 宽状态, 并结合自身荻得的路径带宽状态, 计算出一个最终的路径带宽 状态。
31、 一种倒换保护方法, 其特征在于, 保护组中包括第一保护倒换 节点和第二保护倒换节点, 至少包括两条传送路径, 保护倒换节点上配置 有路径的带宽组合与通道分配策略的对应关系 , 其倒换方法包括: 第一保护倒换节点监测保护组内的各个传送路径的带宽状态, 确定至 少其中一条传送路径的带宽发生变化;
第一保护倒换节点根据变化后的路径带宽组合, 查询所保存的路径的带宽 组合与通道分配策略的对应关系, 确定最终的路径带宽组合对应的路径上 的通道分配策略;
第一保护倒换节点通过通道在传送路径之间的倒换或直接丢弃将当前的通 道分配策略更新为上述最终的路径带宽组合对应的路径上的通道分配策 略。
32、 根据权利要求 31 所述的自动保护倒换方法, 所述第一保护倒换 节点监测保护组内的各个传送路径的带宽状态, 确定至少其中一条传送路 径的带宽发生变化, 其特征在于:
第二保护倒换节点将本节点获得的路径带宽状态发送给第一保护倒换节 点;
第一保护倒换节点接收到所述第二保护倒换节点发送过来的路径带宽状 态, 并结合自身获得的路径带宽状态, 计算出一个最终的路径带宽状态。
33、 根据权利要求 31 所述的自动保护倒换方法, 所述第二保护倒换 节点将本节点获得的路径带宽状态发送给第一保护倒换节点, 其特征在于: 所述路径带宽状态路径带宽状态通过路径带宽状态索引表示, 所述路径带 宽状态索引由路径带宽状态表维护, 所述路径带宽状态表维护了不同的路 径带宽状态索引值对应不同的保护组内各路径带宽状态的组合。
PCT/CN2010/072860 2009-08-25 2010-05-17 自动保护倒换方法、设备和系统 WO2011022998A1 (zh)

Priority Applications (12)

Application Number Priority Date Filing Date Title
ES10811158.4T ES2477275T3 (es) 2009-08-25 2010-05-17 Método, equipo y sistema de conmutación automática de protección
EP22195286.4A EP4125250A1 (en) 2009-08-25 2010-05-17 Automatic protection switching method, device and system
EP20172670.0A EP3739829B1 (en) 2009-08-25 2010-05-17 Automatic protection switching method
EP14162838.8A EP2819357B1 (en) 2009-08-25 2010-05-17 Automatic protection switching method, equipment and system
JP2012525861A JP5453535B2 (ja) 2009-08-25 2010-05-17 自動保護切替方法およびデバイス
EP10811158.4A EP2464055B1 (en) 2009-08-25 2010-05-17 Automatic protection switching method, equipment and system
BR112012004294-7A BR112012004294B1 (pt) 2009-08-25 2010-05-17 Método, dispositivo e sistema de comutação de proteção automática
AU2010289226A AU2010289226B2 (en) 2009-08-25 2010-05-17 Automatic protection switching method, device and system
RU2012107072/08A RU2536352C2 (ru) 2009-08-25 2010-05-17 Способ, устройство и система автоматического защитного переключения
CA2771818A CA2771818C (en) 2009-08-25 2010-05-17 Automatic protection switching method, device and system
US13/404,793 US9042228B2 (en) 2009-08-25 2012-02-24 Automatic protection switching method, device and system
US14/598,873 US9755954B2 (en) 2009-08-25 2015-01-16 Automatic protection switching method, device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910091787.6 2009-08-25
CN2009100917876A CN101645797B (zh) 2009-08-25 2009-08-25 自动保护倒换方法、设备和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/404,793 Continuation US9042228B2 (en) 2009-08-25 2012-02-24 Automatic protection switching method, device and system

Publications (1)

Publication Number Publication Date
WO2011022998A1 true WO2011022998A1 (zh) 2011-03-03

Family

ID=41657522

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072860 WO2011022998A1 (zh) 2009-08-25 2010-05-17 自动保护倒换方法、设备和系统

Country Status (10)

Country Link
US (2) US9042228B2 (zh)
EP (4) EP4125250A1 (zh)
JP (1) JP5453535B2 (zh)
CN (1) CN101645797B (zh)
AU (1) AU2010289226B2 (zh)
BR (1) BR112012004294B1 (zh)
CA (1) CA2771818C (zh)
ES (2) ES2477275T3 (zh)
RU (1) RU2536352C2 (zh)
WO (1) WO2011022998A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014116817A (ja) * 2012-12-11 2014-06-26 Hitachi Ltd エッジ通信装置および中継通信装置
US9042228B2 (en) 2009-08-25 2015-05-26 Huawei Technologies Co., Ltd. Automatic protection switching method, device and system
US20150180766A1 (en) * 2011-11-16 2015-06-25 Telefonaktiebolaget L M Ericsson (Publ) Technique for Network Routing
US9451500B2 (en) 2011-11-16 2016-09-20 Telefonaktiebolaget Lm Ericsson (Publ) Conditional routing technique

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102907136B (zh) * 2010-05-21 2015-08-19 日本电气株式会社 无线通信网络系统
US8452302B2 (en) 2010-11-04 2013-05-28 At&T Intellectual Property I, L.P. Dynamic bandwidth and access management
CN102143052B (zh) * 2010-11-08 2013-10-09 华为技术有限公司 一种无损带宽调整方法、设备及系统
CN102377677B (zh) * 2011-11-21 2014-04-02 盛科网络(苏州)有限公司 Mpls网络中保护路径的快速切换方法及系统
CN103209139B (zh) * 2012-01-17 2017-11-17 深圳市捷宇通信技术有限公司 网络资源受限的ptn容量分配方法
WO2013119802A1 (en) * 2012-02-11 2013-08-15 Social Communications Company Routing virtual area based communications
EP2618523B1 (en) * 2012-04-28 2019-03-06 Huawei Technologies Co., Ltd. Method, network device and system for ethernet ring protection switching
US9374301B2 (en) * 2012-05-18 2016-06-21 Brocade Communications Systems, Inc. Network feedback in software-defined networks
CN103684811A (zh) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 一种复合链路的业务保护方法及系统
US9191272B2 (en) * 2012-09-07 2015-11-17 Electronics And Telecommunications Research Institute Protection switching method and apparatus
JP2015536582A (ja) * 2012-10-31 2015-12-21 日本電気株式会社 ネットワーク通信システムおよびその仮想化方法
US9444712B2 (en) 2012-11-21 2016-09-13 Cisco Technology, Inc. Bandwidth on-demand services in multiple layer networks
US9392526B2 (en) * 2013-05-28 2016-07-12 Cisco Technology, Inc. Protection against fading in a network ring
US9379993B1 (en) * 2013-08-14 2016-06-28 Amazon Technologies, Inc. Network control protocol
US9450774B2 (en) * 2014-05-06 2016-09-20 Cisco Technology, Inc. Fast protection switchover in a transport network
CN105337862B (zh) * 2014-06-30 2019-02-01 华为技术有限公司 路径切换的方法和网络设备
US9622145B2 (en) 2014-12-05 2017-04-11 At&T Intellectual Property I, L.P. Wireless network architecture for providing media content
CN106487548B (zh) * 2015-08-26 2020-09-15 南京中兴新软件有限责任公司 一种处理potn虚接口的方法及装置
CN106533879B (zh) * 2015-09-10 2020-04-28 中兴通讯股份有限公司 一种ptn设备中dcn不规则域互通的方法及装置
CN105245388B (zh) * 2015-10-28 2018-11-09 武汉众合德信技术有限公司 一种小型化接入ptn设备及其配置方法、系统
EP3432619B1 (en) 2016-04-05 2020-12-09 Huawei Technologies Co., Ltd. Mobile collaborative communication method and device
US9877245B2 (en) 2016-05-16 2018-01-23 Kodacloud Inc. Determining a threshold value for determining whether to steer a particular node from associating with one node to another node in a wireless environment
US10560369B2 (en) * 2016-06-23 2020-02-11 Wipro Limited Methods and systems for detecting and transferring defect information during manufacturing processes
EP3836492B1 (en) * 2016-09-30 2023-11-08 Huawei Technologies Co., Ltd. Pseudo wire load sharing method and device
US10743332B2 (en) * 2016-11-18 2020-08-11 Qualcomm Incorporated Techniques and apparatuses for complementary transmission relating to an interrupted traffic flow in new radio
CN106656311A (zh) * 2016-12-15 2017-05-10 国网山东省电力公司长岛县供电公司 数据链路备份装置及方法
CN107360023A (zh) * 2017-06-30 2017-11-17 杭州清本科技有限公司 通信恢复方法及计算机存储介质
CN107171863A (zh) * 2017-06-30 2017-09-15 杭州清本科技有限公司 通信恢复装置
CN108429675B (zh) * 2018-03-30 2021-10-12 新华三技术有限公司 Vrrp联动切换方法、装置及电子设备
US11715042B1 (en) 2018-04-20 2023-08-01 Meta Platforms Technologies, Llc Interpretability of deep reinforcement learning models in assistant systems
US11886473B2 (en) 2018-04-20 2024-01-30 Meta Platforms, Inc. Intent identification for agent matching by assistant systems
US10782986B2 (en) 2018-04-20 2020-09-22 Facebook, Inc. Assisting users with personalized and contextual communication content
US11307880B2 (en) 2018-04-20 2022-04-19 Meta Platforms, Inc. Assisting users with personalized and contextual communication content
US11676220B2 (en) 2018-04-20 2023-06-13 Meta Platforms, Inc. Processing multimodal user input for assistant systems
CN109547287B (zh) * 2018-11-23 2020-12-01 盛科网络(苏州)有限公司 带宽测试方法及装置、存储介质
CN110611613B (zh) * 2019-09-27 2021-12-21 上海天玑数据技术有限公司 一种基于网络设备的多路径路由方法及装置
CN113055266A (zh) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 一种业务的传输方法及装置、存储介质、电子装置
CN111901435B (zh) * 2020-07-31 2021-09-17 南京航空航天大学 一种负载感知的云边协同服务部署方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881890A (zh) * 2005-06-17 2006-12-20 华为技术有限公司 数据业务保护倒换触发方法及装置
CN101291276A (zh) * 2008-06-18 2008-10-22 中国电信股份有限公司 一种基于业务的隧道保护方法和系统
CN101340381A (zh) * 2008-08-04 2009-01-07 中兴通讯股份有限公司 聚合链路管理方法和装置
CN101447929A (zh) * 2008-12-26 2009-06-03 华为技术有限公司 一种流量选路方法、路由器和通信系统
CN101645797A (zh) * 2009-08-25 2010-02-10 华为技术有限公司 自动保护倒换方法、设备和系统

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5329520A (en) * 1992-07-17 1994-07-12 Alcatel Network Systems, Inc. High-speed facility protection in a digital telecommunications system
JPH07212358A (ja) * 1994-01-10 1995-08-11 Fujitsu Ltd 方路迂回システム
JP2933021B2 (ja) * 1996-08-20 1999-08-09 日本電気株式会社 通信網障害回復方式
KR100340725B1 (ko) 1999-12-29 2002-06-20 서평원 광가입자 전송시스템의 신호경로 설정관리 및자동보호절체 방법
US6965775B2 (en) * 2002-05-15 2005-11-15 Nokia Corporation Service-oriented protection scheme for a radio access network
RU2284662C2 (ru) * 2002-06-14 2006-09-27 Хювэй Текнолоджиз Ко., Лтд. Способ и устройство виртуальной защиты оптоволоконного тракта
US20040114536A1 (en) * 2002-10-16 2004-06-17 O'rourke Aidan Method for communicating information on fast and slow paths
EP1411745B1 (en) 2002-10-16 2007-08-08 Alcatel Lucent Packet switching for packet data transmission systems in a multi-channel radio arrangement
US8296407B2 (en) * 2003-03-31 2012-10-23 Alcatel Lucent Calculation, representation, and maintenance of sharing information in mesh networks
US7340169B2 (en) * 2003-11-13 2008-03-04 Intel Corporation Dynamic route discovery for optical switched networks using peer routing
RU2327293C2 (ru) * 2003-12-24 2008-06-20 Зте Корпорейшн Способ и система для осуществления разделяющей защиты сегментов субмультиплексирования в полностью оптической сети
AU2003296204A1 (en) 2003-12-24 2005-07-14 Zte Corporation A method and system for implementing sub-multiplex segment sharing protect in all-optical network
JP2006287549A (ja) * 2005-03-31 2006-10-19 Japan Radio Co Ltd 帯域制御方法およびそれを利用したmplsルータ
US7715312B2 (en) * 2005-04-25 2010-05-11 Verizon Services Corp. Methods and systems for maintaining quality of service (QOS) levels for data transmissions
JP2007221564A (ja) * 2006-02-17 2007-08-30 Nec Corp 通信装置、通信システムおよび方法
DE602006006971D1 (de) 2006-03-20 2009-07-09 Alcatel Lucent Verfahren zum nahtlosen Umschalten von Funkverbindungen über Ethernet und ein System zum Durchführen des Verfahrens
US8014400B2 (en) * 2007-08-10 2011-09-06 Sharp Laboratories Of America, Inc. Method for allocating data packet transmission among multiple links of a network, and network device and computer program product implementing the method
WO2009090723A1 (ja) 2008-01-15 2009-07-23 Fujitsu Limited パケット伝送装置およびその制御回路
JP5092920B2 (ja) * 2008-06-18 2012-12-05 日本電気株式会社 無線通信システム、無線通信装置及びそれらに用いる無線通信方法
CN102138286B (zh) * 2008-08-29 2015-04-08 爱立信电话股份有限公司 一种包括在多个无线电信道上传送数据的无线电链路传输方法及其设备
US8586604B2 (en) 2010-08-20 2013-11-19 Boehringer Ingelheim International Gmbh Inhibitors of the microsomal prostaglandin E2 synthase-1

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881890A (zh) * 2005-06-17 2006-12-20 华为技术有限公司 数据业务保护倒换触发方法及装置
CN101291276A (zh) * 2008-06-18 2008-10-22 中国电信股份有限公司 一种基于业务的隧道保护方法和系统
CN101340381A (zh) * 2008-08-04 2009-01-07 中兴通讯股份有限公司 聚合链路管理方法和装置
CN101447929A (zh) * 2008-12-26 2009-06-03 华为技术有限公司 一种流量选路方法、路由器和通信系统
CN101645797A (zh) * 2009-08-25 2010-02-10 华为技术有限公司 自动保护倒换方法、设备和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2464055A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042228B2 (en) 2009-08-25 2015-05-26 Huawei Technologies Co., Ltd. Automatic protection switching method, device and system
US9755954B2 (en) 2009-08-25 2017-09-05 Huawei Technologies Co., Ltd. Automatic protection switching method, device and system
US20150180766A1 (en) * 2011-11-16 2015-06-25 Telefonaktiebolaget L M Ericsson (Publ) Technique for Network Routing
US9451500B2 (en) 2011-11-16 2016-09-20 Telefonaktiebolaget Lm Ericsson (Publ) Conditional routing technique
US9634925B2 (en) * 2011-11-16 2017-04-25 Telefonaktiebolaget Lm Ericsson (Publ) Technique for network routing
JP2014116817A (ja) * 2012-12-11 2014-06-26 Hitachi Ltd エッジ通信装置および中継通信装置

Also Published As

Publication number Publication date
EP3739829A1 (en) 2020-11-18
EP2464055A1 (en) 2012-06-13
ES2809522T3 (es) 2021-03-04
US20120163224A1 (en) 2012-06-28
JP5453535B2 (ja) 2014-03-26
EP2464055B1 (en) 2014-04-23
EP3739829B1 (en) 2022-09-14
CN101645797A (zh) 2010-02-10
CA2771818C (en) 2015-12-01
US9755954B2 (en) 2017-09-05
EP2819357A2 (en) 2014-12-31
EP2464055A4 (en) 2012-06-27
ES2477275T3 (es) 2014-07-16
RU2012107072A (ru) 2013-10-10
EP2819357A3 (en) 2015-02-25
CN101645797B (zh) 2011-04-13
AU2010289226A1 (en) 2012-03-22
JP2013503518A (ja) 2013-01-31
RU2536352C2 (ru) 2014-12-20
US20150131432A1 (en) 2015-05-14
AU2010289226B2 (en) 2014-02-20
US9042228B2 (en) 2015-05-26
CA2771818A1 (en) 2011-03-03
EP4125250A1 (en) 2023-02-01
BR112012004294A2 (pt) 2016-03-08
EP2819357B1 (en) 2020-05-13
BR112012004294B1 (pt) 2021-08-10

Similar Documents

Publication Publication Date Title
WO2011022998A1 (zh) 自动保护倒换方法、设备和系统
US9485181B2 (en) Dynamic bandwidth adjustment in packet transport network
US9571383B2 (en) Rerouting technique
US20020105949A1 (en) Band control device
JP5372615B2 (ja) パケット転送システム、網管理装置、及び、エッジノード
RU2509447C2 (ru) Способ уведомления информации пропускной способности, способ обработки услуги, сетевой узел и система связи
WO2012163173A1 (zh) 以太网环保护倒换方法、节点及系统
JP2011501587A (ja) ノード間の複数のパスを有するネットワーク及びそのようなネットワークに対するノード
WO2012065466A1 (zh) 一种包交换网络中聚合链路带宽的分配方法及装置
KR101640017B1 (ko) 패킷 전송 장비 및 그것의 트래픽 관리 방법
US9787607B2 (en) End-to-end provisioning of Ethernet Virtual Circuits
WO2012068911A1 (zh) 一种保护带宽资源的预留方法及系统
WO2008119277A1 (fr) Procédé et dispositif pour mettre en oeuvre mpls-te sur une interface vlan
CN102546199B (zh) 一种聚合链路的保护方法及包交换节点
WO2018040916A1 (zh) 一种转发报文的方法及装置
Srikitja et al. On providing survivable QoS services in the next generation Internet
WO2016082516A1 (zh) 一种链路捆绑方法及系统
CN100394736C (zh) 利用逻辑媒体通道提高多媒体通信可靠性的方法
Gamage et al. QoS Guaranteed and Reliable Network Architecture for Real-Time Applications over the Connection Oriented Internet

Legal Events

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

Ref document number: 10811158

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2771818

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2012525861

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2010289226

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: 510/KOLNP/2012

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2010811158

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2010289226

Country of ref document: AU

Date of ref document: 20100517

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2012107072

Country of ref document: RU

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012004294

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112012004294

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20120227