WO2013029248A1 - Protection resource allocation method, device and system - Google Patents

Protection resource allocation method, device and system Download PDF

Info

Publication number
WO2013029248A1
WO2013029248A1 PCT/CN2011/079162 CN2011079162W WO2013029248A1 WO 2013029248 A1 WO2013029248 A1 WO 2013029248A1 CN 2011079162 W CN2011079162 W CN 2011079162W WO 2013029248 A1 WO2013029248 A1 WO 2013029248A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
service
link
protection
preset
Prior art date
Application number
PCT/CN2011/079162
Other languages
French (fr)
Chinese (zh)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001821.1A priority Critical patent/CN103098416B/en
Priority to PCT/CN2011/079162 priority patent/WO2013029248A1/en
Publication of WO2013029248A1 publication Critical patent/WO2013029248A1/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/22Alternate routing

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for protecting resource allocation. Background technique
  • the transport network provides a connection for transferring data from one node to another.
  • the network may be faulty. For example, the fiber link is broken, the node is powered down, etc.
  • the connection in the network will fail, causing the data transmission to be interrupted.
  • the common protection mechanism has 1+1 protection.
  • 1+1 protection configure working connections and protection connections, data is transmitted simultaneously on both connections.
  • the destination node selects a good signal connection between the two to receive data. After the working connection fails, the data is received from the protected connection.
  • a 1+1 protected connection is dedicated, meaning that only one working connection can be protected. Therefore, the 1+1 protection has a fast recovery speed, but it takes up a lot of resources.
  • shared protection can be adopted. In the shared protection mode, different protection paths can share protection resources, thus improving network resource utilization.
  • the protection resources of each protection path are fixed. Since the protection resources can be shared by multiple protection paths, even if the protection resources are occupied by a protection path, even if the protection resources are available, other protection paths sharing the protection resources lose their protection. Summary of the invention
  • the embodiments of the present invention provide a method, an apparatus, and a system for protecting resource allocation, which can fully utilize protection resources.
  • An embodiment of the present invention provides a protection resource allocation method between a first node and a second node.
  • the first link, the protection path of the first service, and the protection path of the second service all pass through the first link, and includes:
  • the first node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
  • the first node receives the protection switching request of the first service, and occupies the preset protection resource of the first service on the first link;
  • the first node re-allocates the second service on the first link
  • the protection resource is saved, and the preset protection resource of the redistributed second service on the first link is saved.
  • the embodiment of the present invention provides a protection resource allocation node, where the protection resource allocation node is a first node, and the first node and the second node include a first link, a protection path of the first service, and a second service.
  • the protection path passes through the first link, and the first node includes:
  • a saving unit configured to save a preset protection resource of the first service on the first link, and a preset protection resource of the second service on the first link;
  • the protection switching unit is configured to receive a protection switching request of the first service, and occupy a preset protection resource of the first service on the first link;
  • a protection resource allocation unit configured to re-allocate the second service in the first chain if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part
  • the preset protection resource on the road saves the preset protection resource of the redistributed second service on the first link.
  • An embodiment of the present invention provides a protection resource allocation system, including a first node and a second node, where the first node and the second node include a first link, a protection path of the first service, and a protection path of the second service. Both pass the first link, including:
  • the first node is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link receives the protection switching request of the first service, and occupies the first service.
  • Pre-protected resources on the first link if the second service is preset protection resources on the first link And sharing a pre-protected resource with the first service on the first link, re-allocating the preset protection resource of the second service on the first link, and saving the re-allocated second service on the first link Presetting the protection resource, and notifying the second node of the preset protection resource of the second service re-allocated by the first node on the first link;
  • the second node is configured to save the preset protection resource of the first service on the first link, the preset protection resource of the second service on the first link, and the second service that is re-allocated by the first node is first.
  • the preset protection resource on the link saves the preset protection resource of the second service stored on the first link.
  • the first node saves the preset protection resource of the first service on the first link
  • the second service is preset protection resource on the first link
  • the first node receives the protection of the first service.
  • the switching request occupies the preset protection resource of the first service on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link exist
  • the shared part the first node re-allocates the preset protection resource of the second service on the first link, and saves the preset protection resource of the redistributed second service on the first link.
  • the first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the protection resources on the first link to prevent
  • the protection switching failure caused by the resource conflict fails to provide effective protection for the shared protection service.
  • the preset protection resources of the protection path can be updated in time. When the switchover needs to be performed, the preset protection resources of the protection path can be quickly used as the shared protection.
  • the service provides protection switching and saves protection switching time.
  • FIG. 1 is a schematic flowchart of a method for allocating a protection resource according to an embodiment of the present invention
  • 2 is a schematic diagram of a network in an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a protection resource allocation node according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a protection resource allocation system according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a method for allocating a protection resource according to an embodiment of the present invention.
  • a first link, a protection path of a first service, and a second service are included between a first node and a second node.
  • the protection path passes through the first link.
  • the first node saves the preset protection resource of the first service on the first link, and the second service presets the protection resource on the first link.
  • the preset protection resource of the first service on the first link may be the first node of the protection path of the first service and may be notified to the first node, and may be allocated and saved by the first node, or may be assigned by the network management and notified.
  • a node can also be assigned and notified by other nodes.
  • the preset protection resource of the second service on the first link may be the first node of the protection path of the second service and may be notified to the first node, and may be allocated and saved by the first node, or may be assigned by the network management and notified.
  • a node can also be assigned and notified by other nodes.
  • the first node receives the protection switching request, and occupies the preset protection resource of the first service on the first link.
  • the first node receives the protection switching request of the first service from the second node; or the first node receives the protection switching request of the first service from another neighboring node on the protection path of the first service, or
  • the first node receives a protection switching request from the network management.
  • the method may further include:
  • the second node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
  • the first node re-allocates the preset protection resource of the second service on the first link, and after the preset protection resource of the second service re-allocated by the first node is saved, the first node further includes:
  • the first node notifies the second node of the preset protection resource of the second service re-allocated by the first node on the first link, so that the second node saves the second service re-allocated by the first node on the first link. Preset protection resources.
  • the method may further include:
  • the first node stores the protection resource pool of the first service on the first link, and the protection resource pool of the second service on the first link;
  • the first node re-allocates the preset protection resources of the second service on the first link, and specifically includes:
  • the first node re-allocates the preset protection resources of the second service on the first link according to the protection resource pool of the second service on the first link.
  • the method may further include:
  • the first node receives the protection switching request of the first service from the second node; or the first node receives the protection switching request of the first service from another neighboring node on the protection path of the first service.
  • the method may further include:
  • the method further includes:
  • the first node is configured as a master node, and the second node is configured as a slave node.
  • the preset protection resource of the second service that is re-allocated on the first link includes: saving the second service that is re-allocated by the first node. Pre-protected resources on the first link.
  • the method may further include: Receiving, by the second node, the second node from the second node, the preset protection resource of the second service on the first link, if the node number of the first node is larger than the second node,
  • the preset protection resource of the second service on the first link includes: storing preset protection resources of the second service re-allocated by the first node on the first link, if the node number of the first node is smaller than the second node And saving the preset protection resource of the second service on the first link, where the re-allocated second service is configured to: save the preset protection resource of the second service re-allocated by the second node on the first link; or
  • the preset protection resource of the second service on the first link includes: storing preset protection resources of the second service re-allocated by the first node on the first link, if the node number of the first node is larger than the second node And saving the preset protection resource of the second service on the first link, where the re-allocated second service is configured to: save the preset protection resource of the second service re-allocated by the second node on the first link.
  • the method may further include: the protection resource is a time slot protection resource or a bandwidth protection resource.
  • the method may further include:
  • the method of the first link being the second side link of the first node further includes:
  • the first node stores the first service preset protection resource on the first side of the first node, and the preset protection resource on the first link of the first service is the first service preset protection on the second side of the first node.
  • the resource, the first node receives the protection switching request of the first service, and occupies the preset protection resource of the first service on the first link, and specifically includes:
  • the first service is configured to carry the first service on the first side of the first node, and the first service is configured to carry the first service on the second side of the first node, and the cross-connection is configured to occupy the first service. Pre-protected resources on the first link.
  • the first node is an end node of the first service, and the first service presets the protection resource as the path terminal resource of the first service on the first side of the first node.
  • the first node saves the preset protection resource of the first service on the first link
  • the second service is preset protection resource on the first link
  • the first node receives the protection of the first service.
  • the switching request occupies the preset protection resource of the first service on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link exist
  • the shared part the first node re-allocates the preset protection resource of the second service on the first link, and saves the preset protection resource of the redistributed second service on the first link.
  • the first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the protection resources on the first link to prevent
  • the protection switching failure caused by the resource conflict fails to provide effective protection for the shared protection service.
  • the preset protection resources of the protection path can be updated in time. When the switchover needs to be performed, the preset protection resources of the protection path can be quickly used as the shared protection.
  • the service provides protection switching and saves protection switching time.
  • each node In a circuit network, each node generally uses circuit crossover to connect circuits in different links.
  • an optical transport network (OTN) network uses optical channel data units.
  • ODU Optical channel data unit
  • Synchronous Digital Hierarchy virtual container (VC) circuit cross-connection in SDH network.
  • OTN optical transport network
  • VC Synchronous Digital Hierarchy
  • 0DUs of various rate levels are defined, which are marked as ODUj, where j has different values and represents different rate levels.
  • ODUj the rate of ODU0 is about 1 Gbps
  • the rate of 0DU1 is about 2.5 Gbps
  • the rate of 0DU2 is about 10 Gbps
  • the rate of 0DU3 is about 40 Gbps
  • the rate of 0DU4 is about 100 Gbps.
  • a plurality of low rate levels of ODUj (hereinafter referred to as low order ODUs) can be transmitted in a high rate level ODUk (hereinafter referred to as high order ODU) (j ⁇ k).
  • one ODUk is divided into a plurality of time slots, each of which is 1.25 Gbps, and a plurality of ODUjs are multiplexed to 0DUk by occupying one or more time slots of the ODUk.
  • the minimum unit in the protection resource pool is one time slot.
  • a part of the time slot is divided into a protection resource pool, which can be shared by the protection paths of different 0DU services.
  • the protection resource is a time slot resource, where In other embodiments, the protection resource may be an ODU resource, a VC resource, a bandwidth resource, or other resources.
  • 2 is a schematic diagram of a network in an embodiment of the present invention.
  • FIG. 2 it includes seven nodes A, B, C, D, E, F, and G, and eight links of AB, BC, AD, CE, DE, DF, EG, and FG.
  • the nodes implement the intersection of low-order ODUs.
  • Connections, links include two types of links: 0DU2 link and 0DU3 link.
  • the total link rate of the 0DU2 link is 10 Gbps, divided into 8 1.25 Gbps time slots, the time slot number is l#—8#; the total link rate of the ODU3 link is 40 Gbps, divided into 32 1.25 Gbps times.
  • the slot number is 1#-32#.
  • service 1 and service 2 For the purpose of the device, there are two services in this embodiment: service 1 and service 2, service 1 is from interface 1 to interface 5, service type is 0DU1, two time slots are required, and service 2 is from interface 16 to interface 19, service The type is ODU0, which takes up 1 slot.
  • service 1 and service 2 can be planned.
  • the planning result may include: a node, a link, and a time slot resource in the link of the service path of the service 1; a node, a link, a protection resource pool in the link, and a service 1 in the protection path of the service 1 Pre-protected resources in the pool; nodes, links, and time-slot resources in the link of the service path of service 2; nodes, links, protection resource pools in the link, and service 1 of the protection path of service 2 Pre-protected resources in the protection resource pool.
  • the time slot resources in the protection resource pool can be shared by the protection paths of multiple services.
  • the planning algorithm can be implemented by the constraint shortest path first (CSPF) algorithm.
  • the CSPF algorithm can calculate the path that satisfies the set constraint, for example, calculate the working path and protection path of the AC, and satisfy the constraint condition that the signal type is 0DU1, the working path and the protection path are separated; the working path and the protection path of the FH are similarly calculated. And the constraint condition that the signal type is ODU0, the working path and the protection path are separated. Since the working path and the protection path of the two services are separated, their protection paths can share the time slot resources in the overlapping part.
  • the preset protection resources can be allocated to the protection path of the service 1 on the interface 8/interface 9 2#/3# Time slot, for industry
  • the protection path allocation of the service 2 is preset to protect the resource 2# time slot.
  • the planning result of this embodiment is as follows when interface 8/interface 9 has 4#/5#:
  • Interface 1 Service 1 working path: Interface 1 - Interface 2 _ (1 #slot, 2#slot) - Interface 3 _ Interface 4 _ (5#slot, 6#slot) - Interface 20 - Interface 5.
  • Protection path of service 1 Interface 1 - Interface 6 - (Preset protection resources: 2# time slot, 5# time slot; Protection resource pool: 2# time slot, 5# time slot) - Interface 7 - Interface 8 - ( Preset protection resources: 2#slot, 3#slot; protection resource pool: 2#slot, 3#slot, 4#slot, 5#slot) - interface 9 - interface 10 (preset protection resources : 4#slot, 5#slot) - Interface 11 - Interface 5.
  • Working path of service 2 Interface 16 - Interface 17 - (1# time slot) - Interface 18 - Interface 19.
  • Protection path of service 2 Interface 16 - Interface 14 - (Preset protection resource: 2# time slot; Protection resource pool: 2# time slot) - Interface 12 - Interface 8 - (Preset protection resource: 2# time slot; Protection resource pool: 2#slot, 3#slot, 4#slot, 5#slot) - interface 9 - interface 1 3 - (preset protection resource: 4# time slot) - interface 15 - interface 19.
  • the cross-connection On the node where the working path of service 1 passes, configure the cross-connection, occupy the time slot resources of each link indicated by the planning result, that is, the working path of service 1 obtained according to the plan, and configure the intersection of 0DU1 in the 4, B, and C nodes. Connect, occupy the 1# time slot and 2# time slot of the AB link, the 5# time slot and the 6# time slot of the BC link; configure the cross connection on the node where the working path of the service 2 passes, occupy the planning result indication The time slot resources of each link, that is, the working path of the service 2 obtained according to the plan, in? The H node configures the cross-connection of ODU0 to occupy the 1# time slot of the F-H link.
  • the protection path information is pre-stored, but the cross-connection is not configured, that is, the time slot resource is not occupied, and the saved information may include the protection path number, the preset protection resource, and the protection resource pool.
  • the protection path information is pre-stored, but the cross-connection is not configured, that is, the time slot resource is not occupied, and the saved information may include the protection path. Information such as path number, preset protection resources, and protection resource pool.
  • the protection path information is saved at nodes A, D, E, and C.
  • the non-end node save the protection path number, signal type, whether the end node, the preset protection resource of the line side 1 link, the protection resource pool of the line side 1 link link, and the preset of the line side 2 link link. Protection resource pool for protection resources and line side 2 link links.
  • the protection path number, the signal type, the end node, the path terminal resource, the preset protection resource of the line side 2 link link, and the protection resource pool of the line side 2 link link are saved.
  • the protection path information is saved at the nodes F, D, E, and H.
  • the non-end node save the protection path number, signal type, whether the end node, the preset protection resource of the line side 1 link, the protection resource pool of the line side 1 link link, and the preset of the line side 2 link link. Protection resource pool for protection resources and line side 2 link links.
  • the protection path number, the signal type, the end node, the path terminal resource, the preset protection resource of the line side 2 link link, and the protection resource pool of the line side 2 link link are saved.
  • the information stored in the nodes A, C, D, E, F, and H is as shown in Table 1 to Table 6.
  • the node D is taken as an example.
  • the node D stores the protection path information of the service 1 and the service 2, and the service 1
  • the protection path number is 1, the signal type is 0DU1, and is not the end node of service 1.
  • the line side 1/path terminal saves the resources of the line side 1 link, specifically the interface number is 7, and the preset protection resource is 2#. And 5#, the protection resource pool is 2# and 5#, and the line side 2 stores the resources of the line side 2 link, specifically, the interface number is 8, the preset protection resources are 2# and 3#, and the protection resource pool is 2#, 3#, 4# and 5#, of course, the protection of the protection resources on both sides can be set according to requirements.
  • resources on the line side 2 link can be saved on the line side 1/path terminal, and saved on the line side 2
  • the resources of the line side 1 link For service 2, the protection path number is 2, the signal type is ODU0, not the end node of service 2, and the line side 1/path terminal saves the resources of the line side 1 link, specifically the interface number is 12, preset protection resources 2#, the protection resource pool is 2#, and the line side 2 stores the resources of the line side 2 link, specifically, the interface number is 8, the preset protection resource is 2#, and the protection resource pool is 2#, 3#, 4# and 5#.
  • the protection path number is 1, the signal type is 0DU1, which is the end node of the service 1.
  • the line side 1/path terminal stores the resources of the line side 1 link, specifically The interface number is 1, the preset protection resources are 1# and 2#, the protection resource pool is 1# and 2#, and the line side 2 stores the resources of the line side 2 link, specifically the interface number is 6, preset protection The resources are 2# and 5#, and the protection resource pools are 2# and 5#.
  • the path terminal resource saved by the line side 1/path terminal is the resource of the service 1 terminal. Table 1: Node A Protection Configuration Information
  • the working path of the service 2 is faulty.
  • the automatic protection switching protocol is used, and the protection path of the service 2 occupies the preset protection resources, establishes an ODU0 cross connection, and receives the protection path from the protection path. And send data, of course, it is also possible to switch the service from the working path to the protection path for other reasons, such as the needs of network planning.
  • the detailed protection switching process can be as follows:
  • Endpoint F of service 2 detects that the working path of service 2 is faulty, and the data transmission of service 2 is interrupted.
  • Endpoint F of service 2 triggers the protection switching action.
  • the service number (2) is specified in the message, requesting activation (occupying preset protection resources) , establish a cross) protection path 2.
  • the node D receives the APS message from the interface 12, learns that the protection path 2 is to be activated, checks the table 3 saved by the local node, and learns the protection resource of the protection path 2. Since the node D is not the end node of the service 2, the line side is The preset protection resources in 1 and the preset protection resources in line side 2 are respectively configured to carry the ODU0 signal, and the two ODU0 signals are cross-connected, that is, the preset of the service 2 in the link DE is occupied. The resource is protected, and the APS message is forwarded to another interface (interface 8). The service number is specified in the message, and the protection path 2 is requested to be activated.
  • the protection resource is the time slot resource of the link, that is, the resource number in the preset protection resource and the protection resource pool is the resource number of the time slot
  • the cross connection is configured to configure the protection resources of the two line sides into The 0DU bears the service, obtains the 0DU protection resource, and cross connects the two 0DUs.
  • the cross connection is configured to cross-connect the protection resources of the two line sides. .
  • configuring the cross-connection is a cross-connection configuring the VC protection resource.
  • the node D checks that the protection path 2 needs to occupy the 2# time slot in the interface 8, and the 2# time slot is also the preset protection resource of the protection path 1, therefore, the node D protects the path from the interface 8.
  • the protection resource pool of 1 reselects two time slots (3#, 4#) as the preset protection resources of protection path 1, reconfigures table 3, and sends a time slot assignment message to interface 8, specifying the service number in the message (1) ), preset protection resources (3#, 4#);
  • the node E receives the APS message from the interface 9, learns that the protection path 2 is to be activated, checks the table 4 saved by the local node, and learns the protection resource of the protection path 2. Since the node E is not the end node of the service 2, the line side is The preset protection resources in the 1st and the preset protection resources in the line side 2 are respectively configured to carry the ODU0 signal, and the two ODU0 signals are cross-connected, that is, the preset protection resources of the service 2 in the link DE are occupied, An interface (interface 13) forwards the APS message, and the specified service number in the message requests to activate the protection path 2;
  • the node E receives the time slot assignment message of the protection path 1 from the interface 9, and uses the preset protection resource specified in the message as the protection path 1 in the preset protection resource of the interface 9 and is configured in the table 4.
  • the node H receives the APS message from the interface 15, and learns that the protection path 2 is to be activated, and the table 6 saved by the local node is checked, and the protection resource of the protection path 2 is known. Since the node E is the end node of the service 2, the line side is The preset protection resource is configured to carry the ODU0 signal and send the protection path to the interface.
  • the 0DUQ signal of 19 receives the 0DUQ signal from the protection path and transmits it to the interface 19; 8.
  • the node H returns an APS message to the interface 15.
  • the service number (2) is specified in the message, and the protection path 2 is requested to be activated.
  • the node E receives the APS message from the interface 1 3, and since the protection path 2 has been activated, the APS message is forwarded to the other interface (interface 9);
  • Node D receives the APS message from interface 8, and since the protection path 2 has been activated, the APS message is forwarded to the other interface (interface 1 2);
  • the node F receives the APS message from the interface 14, and looks up the table 5, configures the preset protection resource in the protection resource 2 to carry the ODU0 signal, and sends the ODU0 signal from the interface 16 to the protection path, and receives the 0DUQ from the protection path.
  • the signal is transmitted to the interface 16, and at this point, the service 2 data transmission is resumed.
  • the node D re-allocates the preset protection resource of the service 1 on the link FH, and then notifies the node E, and saves the preset of the service 1 re-allocated service 1 in the link FH at the node D and the node E.
  • Protecting resources in other embodiments, it is also possible that node E redistributes the preset protection resources of service 1 on link FH, and then notifies node D that node A and node E keep node E reassigned service 1 on link FH.
  • the preset protection resources may also be re-allocated by the node D and the node E.
  • the preset protection resources of the service 1 in the link FH need to provide a method for the node D and the node to finally save the preset protection resources. Consistent.
  • the two end nodes F and H of the working path of the service 2 may detect the fault at the same time, and trigger the protection switching.
  • the node D and the node E may simultaneously allocate the preset protection resources of the service 1 in the link FH, and The terminal sends a slot allocation message.
  • the preset protection resources reassigned by node D and node E may be different. For example, node D allocates #3/#4 time slots, and node E allocates #4/#5 time slots, and the two ends are inconsistent.
  • This embodiment provides two methods to ensure that the service 1 that is finally saved by the node D and the node E is consistent in the preset protection of the link F-H.
  • Manner 1 The nodes at both ends of the link are respectively configured as a master node and a slave node, and the master node is responsible for reallocating the preset protection resources and notifying the slave nodes.
  • node D is configured as a master node
  • node E is configured as a slave node.
  • node D is responsible for Assign, and use the time slot assignment message to inform the node £.
  • Manner 2 The slot number assignment message carries the node number, and the configuration with the node number is valid.
  • the node D receives the time slot assignment message sent by the node E, and then applies the message in the application message. Time slot allocation scheme.
  • the re-allocated preset protection resource between the node D and the node E is transmitted by using a time slot allocation message
  • the time slot allocation message may be implemented by using the overhead of the 0DU link, and may also utilize the out-of-band control between the nodes.
  • the channel is implemented.
  • the 0DU link can carry 0DU frames, which define overhead and payload.
  • the time slot allocation message is transmitted by using the 0DU overhead.
  • the time slot allocation message (the message content including the protection path number and the slot number of the preset protection resource) may be encapsulated by the HDLC and sent to the opposite end by using the GCC1 overhead of the 0DU.
  • the time slot assignment message is implemented by an outband control channel, such as an Ethernet link
  • the time slot assignment message may be encapsulated into an I P packet and sent to the peer end through an Ethernet link.
  • the preset protection resources of the protection path can be updated in time.
  • the protection protection switch can be used to protect the shared protection service and save the protection switching time.
  • a protection resource allocation node is provided in the embodiment of the present invention, where the protection resource allocation node is a first node, and the first node and the second node include a first link, and the first service Both the protection path and the protection path of the second service pass through the first link, and the first node includes:
  • the saving unit 301 is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
  • the protection switching unit 302 is configured to receive a protection switching request of the first service, and occupy a preset protection resource of the first service on the first link;
  • the protection resource allocation unit 303 is configured to re-allocate the second service in the first part if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part
  • the preset protection resource on the link saves the preset protection resource of the redistributed second service on the first link.
  • the second node saves the preset protection resource of the first service on the first link, and the second service is a preset protection resource on the first link, where the first node further includes:
  • a notification unit configured to notify the second node of the preset protection resource of the second service re-allocated by the first node on the first link, so that the second node saves the second service redistributed by the first node on the first link Preset protection resources on.
  • the saving unit 301 is further configured to save the protection resource pool of the first service on the first link, and the protection resource pool of the second service on the first link;
  • the protection resource allocation unit 303 is specifically configured to reallocate the preset protection resource of the second service on the first link according to the protection resource pool of the second service on the first link.
  • the method further includes:
  • the protection switching unit 302 specifically includes: a protection switching request for receiving the first service from the second node; or
  • the protection switching unit 302 specifically includes: a protection switching request for receiving a first service from another neighboring node on the protection path of the first service.
  • the method further includes:
  • a configuration unit configured to configure the first node as a master node
  • the protection resource allocation unit 303 is specifically configured to save the preset protection resource of the second service re-allocated by the first node on the first link.
  • the method further includes:
  • the protection resource allocation unit 303 is specifically configured to receive, by the second node, the second node, to re-allocate the preset protection resource of the second service on the first link, and if the node number of the first node is larger than the second node, save the first Pre-protected resources of the second service re-allocated by the node on the first link. If the node number of the first node is smaller than the second node, the second service re-allocated by the second node is saved on the first link. Preset protection resources; or,
  • the protection resource allocation unit 303 is specifically configured to receive, by the second node from the second node, a preset protection resource that is re-allocated the second service on the first link, if the node number of the first node is smaller than the second node. If the point is small, the preset protection resource of the second service re-allocated by the first node on the first link is saved. If the node number of the first node is larger than the second node, the second service re-allocated by the second node is saved. Pre-protected resources on the first link.
  • the method further includes:
  • the first link is a second side link of the first node, and includes:
  • the saving unit is further configured to save the first service on the first side of the first node, and the preset protection resource on the first link is the first service, and the first service is preset on the second side of the first node.
  • Protect resources
  • the protection switching unit is configured to configure the first service to carry the first service on the first side of the first node, and to configure the first service to carry the first service on the second side of the first node.
  • the connection occupies the preset protection resource of the first service on the first link.
  • the first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the first link.
  • the protection resources on the network prevent the failure of protection switching caused by resource conflicts and provide effective protection for the shared protection service.
  • a protection resource allocation system includes a first node 401 and a second node 402.
  • the first node and the second node include a first link, a protection path of the first service, and a second service.
  • the protection path passes through the first link, including:
  • the first node 401 is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link receives the protection switching request of the first service, occupying the first The preset protection resource of the service on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part, redistribution The preset protection resource on the first link of the second service, the preset protection resource of the second service re-allocated on the first link, and the second service redistributed by the first node on the first link Notifying the second node by the preset protection resource;
  • the second node 402 is configured to save the preset protection resource of the first service on the first link, the second industry
  • the preset protection resource on the first link receives the preset protection resource of the second service re-allocated by the first node on the first link, and saves and stores the redistributed second service on the first link. Preset protection resources.
  • the first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the first link.
  • the protection resources on the network prevent the failure of protection switching caused by resource conflicts and provide effective protection for the shared protection service.
  • the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product.
  • the computer software product is stored in a storage medium and includes a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform the methods described in various embodiments of the present invention.

Landscapes

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

Abstract

Disclosed is a protection resource allocation method. A first node and a second node have a first link therebetween; both a protection path of a first service and a protection path of a second service pass through the first link. The method comprises: a first node saving preset protection resources of a first service on a first link and preset protection resources of a second service on the first link; the first node receiving a protection switching request of the first service and occupying the preset protection resources of the first service on the first link; and if the preset protection resources of the second service on the first link and the preset protection resources of the first service on the first link share a common part, the first node reallocating the preset resources of the second service on the first link, and saving the reallocated preset protection resources of the second service on the first link. The first node timely allocates the present resources of the protection path according to the real-time usage of the protection resources in the first link, thereby making full use of the protection resources on the first link.

Description

一种保护资源分配方法、 装置和系统 技术领域  Method, device and system for protecting resource allocation
本发明涉及通信技术领域, 尤其涉及一种保护资源分配方法、 装置和系 统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for protecting resource allocation. Background technique
传送网络提供连接, 用于将数据从一个节点传送到另一个节点。 网络可 能发生故障, 例如光纤链路被挖断、 节点掉电等原因引起的故障, 网络出现 故障之后, 网络中的连接会失效, 引起数据传输中断。 为了在网络故障之后 尽快恢复连接, 减少数据传输的中断时间, 需要为网络中的连接提供保护 /恢 复机制。  The transport network provides a connection for transferring data from one node to another. The network may be faulty. For example, the fiber link is broken, the node is powered down, etc. After the network fails, the connection in the network will fail, causing the data transmission to be interrupted. In order to restore the connection as soon as possible after a network failure and reduce the interruption of data transmission, it is necessary to provide a protection/recovery mechanism for the connections in the network.
常见的保护机制有 1+1保护。 1+1保护, 配置工作连接和保护连接, 数据 同时在两条连接传送。 正常情况下, 目的节点从两者之间选一条信号好的连 接接收数据。 工作连接故障之后, 再从保护连接接收数据。 1+1保护的保护连 接是专用的, 即只能为一条工作连接提供保护。 因此, 1+1保护的恢复速度快, 但是占用的资源多。 为了提高资源利用率, 可以采用共享保护。 共享保护的 方式, 不同的保护路径可以共享保护资源, 因此提高了网络的资源利用率。  The common protection mechanism has 1+1 protection. 1+1 protection, configure working connections and protection connections, data is transmitted simultaneously on both connections. Under normal circumstances, the destination node selects a good signal connection between the two to receive data. After the working connection fails, the data is received from the protected connection. A 1+1 protected connection is dedicated, meaning that only one working connection can be protected. Therefore, the 1+1 protection has a fast recovery speed, but it takes up a lot of resources. In order to improve resource utilization, shared protection can be adopted. In the shared protection mode, different protection paths can share protection resources, thus improving network resource utilization.
现有共享保护技术中, 每条保护路径的保护资源是固定的。 由于保护资 源可以给多条保护路径共享, 因此在保护资源被某保护路径占用之后, 就算 有空闲的保护资源可用, 其他共享该保护资源的保护路径也失去了保护能力。 发明内容  In the existing shared protection technology, the protection resources of each protection path are fixed. Since the protection resources can be shared by multiple protection paths, even if the protection resources are occupied by a protection path, even if the protection resources are available, other protection paths sharing the protection resources lose their protection. Summary of the invention
本发明实施例提供了一种保护资源分配方法、 装置和系统, 可以充分使 用保护资源。  The embodiments of the present invention provide a method, an apparatus, and a system for protecting resource allocation, which can fully utilize protection resources.
本发明实施例提供了一种保护资源分配方法, 第一节点和第二节点之间 包括第一链路, 第一业务的保护路径和第二业务的保护路径均经过第一链路, 包括: An embodiment of the present invention provides a protection resource allocation method between a first node and a second node. The first link, the protection path of the first service, and the protection path of the second service all pass through the first link, and includes:
第一节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一 链路上的预置保护资源;  The first node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
第一节点收到第一业务的保护倒换请求, 占用第一业务在第一链路上的 预置保护资源;  The first node receives the protection switching request of the first service, and occupies the preset protection resource of the first service on the first link;
如果第二业务在第一链路上的预置保护资源和第一业务在第一链路上的 预置保护资源存在共享部分, 第一节点重新分配第二业务在第一链路上的预 置保护资源, 保存重新分配的第二业务在第一链路上的预置保护资源。  If the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part, the first node re-allocates the second service on the first link The protection resource is saved, and the preset protection resource of the redistributed second service on the first link is saved.
本发明实施例提供了一种保护资源分配节点, 所述保护资源分配节点为 第一节点, 第一节点和第二节点之间包括第一链路, 第一业务的保护路径和 第二业务的保护路径均经过第一链路, 第一节点包括:  The embodiment of the present invention provides a protection resource allocation node, where the protection resource allocation node is a first node, and the first node and the second node include a first link, a protection path of the first service, and a second service. The protection path passes through the first link, and the first node includes:
保存单元, 用于保存第一业务在第一链路上的预置保护资源, 第二业务 在第一链路上的预置保护资源;  a saving unit, configured to save a preset protection resource of the first service on the first link, and a preset protection resource of the second service on the first link;
保护倒换单元, 用于收到第一业务的保护倒换请求, 占用第一业务在第 一链路上的预置保护资源;  The protection switching unit is configured to receive a protection switching request of the first service, and occupy a preset protection resource of the first service on the first link;
保护资源分配单元, 用于如果第二业务在第一链路上的预置保护资源和 第一业务在第一链路上的预置保护资源存在共享部分, 重新分配第二业务在 第一链路上的预置保护资源, 保存重新分配的第二业务在第一链路上的预置 保护资源。  a protection resource allocation unit, configured to re-allocate the second service in the first chain if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part The preset protection resource on the road saves the preset protection resource of the redistributed second service on the first link.
本发明实施例提供了一种保护资源分配系统, 包括第一节点和第二节点, 第一节点和第二节点之间包括第一链路, 第一业务的保护路径和第二业务的 保护路径均经过第一链路, 包括:  An embodiment of the present invention provides a protection resource allocation system, including a first node and a second node, where the first node and the second node include a first link, a protection path of the first service, and a protection path of the second service. Both pass the first link, including:
第一节点用于保存第一业务在第一链路上的预置保护资源, 第二业务在 第一链路上的预置保护资源, 收到第一业务的保护倒换请求, 占用第一业务 在第一链路上的预置保护资源, 如果第二业务在第一链路上的预置保护资源 和第一业务在第一链路上的预置保护资源存在共享部分, 重新分配第二业务 在第一链路上的预置保护资源, 保存重新分配的第二业务在第一链路上的预 置保护资源, 将第一节点重新分配的第二业务在第一链路上的预置保护资源 通知第二节点; The first node is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link receives the protection switching request of the first service, and occupies the first service. Pre-protected resources on the first link, if the second service is preset protection resources on the first link And sharing a pre-protected resource with the first service on the first link, re-allocating the preset protection resource of the second service on the first link, and saving the re-allocated second service on the first link Presetting the protection resource, and notifying the second node of the preset protection resource of the second service re-allocated by the first node on the first link;
第二节点用于保存第一业务在第一链路上的预置保护资源, 第二业务在 第一链路上的预置保护资源, 收到第一节点重新分配的第二业务在第一链路 上的预置保护资源, 保存保存重新分配的第二业务在第一链路上的预置保护 资源。  The second node is configured to save the preset protection resource of the first service on the first link, the preset protection resource of the second service on the first link, and the second service that is re-allocated by the first node is first. The preset protection resource on the link saves the preset protection resource of the second service stored on the first link.
本发明实施例中, 第一节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一链路上的预置保护资源, 第一节点收到第一业务的保护倒换 请求, 占用第一业务在第一链路上的预置保护资源, 如果第二业务在第一链 路上的预置保护资源和第一业务在第一链路上的预置保护资源存在共享部 分, 第一节点重新分配第二业务在第一链路上的预置保护资源, 保存重新分 配的第二业务在第一链路上的预置保护资源。 第一节点可以根据第一链路中 保护资源的实时使用情况, 当共享资源被占用的情况下, 及时重新分配保护 路径的预置保护资源, 可以充分使用第一链路上的保护资源, 防止资源冲突 导致的保护倒换失败, 为共享保护业务提供有效的保护, 另外, 保护路径的 预置保护资源可以得到及时更新, 当需要倒换时, 可以快速的使用保护路径 的预置保护资源为共享保护业务提供保护倒换, 节省保护倒换的时间。 附图说明  In the embodiment of the present invention, the first node saves the preset protection resource of the first service on the first link, the second service is preset protection resource on the first link, and the first node receives the protection of the first service. The switching request occupies the preset protection resource of the first service on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link exist The shared part, the first node re-allocates the preset protection resource of the second service on the first link, and saves the preset protection resource of the redistributed second service on the first link. The first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the protection resources on the first link to prevent The protection switching failure caused by the resource conflict fails to provide effective protection for the shared protection service. In addition, the preset protection resources of the protection path can be updated in time. When the switchover needs to be performed, the preset protection resources of the protection path can be quickly used as the shared protection. The service provides protection switching and saves protection switching time. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description For some embodiments of the present invention, other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1为本发明实施例中一种保护资源分配方法的流程示意图; 图 2为本发明实施例中网络示意图; FIG. 1 is a schematic flowchart of a method for allocating a protection resource according to an embodiment of the present invention; 2 is a schematic diagram of a network in an embodiment of the present invention;
图 3为本发明实施例中一种保护资源分配节点的结构示意图;  3 is a schematic structural diagram of a protection resource allocation node according to an embodiment of the present invention;
图 4为本发明实施例中一种保护资源分配系统的示意图。 具体实施方式  FIG. 4 is a schematic diagram of a protection resource allocation system according to an embodiment of the present invention. detailed description
下面结合附图对本发明的具体实施方式进行说明。  Specific embodiments of the present invention will be described below with reference to the accompanying drawings.
图 1 为本发明实施例中的一种保护资源分配方法的流程示意图, 本实施 例中, 第一节点和第二节点之间包括第一链路, 第一业务的保护路径和第二 业务的保护路径均经过第一链路。  FIG. 1 is a schematic flowchart of a method for allocating a protection resource according to an embodiment of the present invention. In this embodiment, a first link, a protection path of a first service, and a second service are included between a first node and a second node. The protection path passes through the first link.
5101 , 第一节点保存第一业务在第一链路上的预置保护资源, 第二业务 在第一链路上的预置保护资源。  5101. The first node saves the preset protection resource of the first service on the first link, and the second service presets the protection resource on the first link.
第一业务在第一链路上的预置保护资源可以是第一业务的保护路径的首 节点分配并通知第一节点, 可以是第一节点自行分配并保存, 也可以是网管 分配并通知第一节点, 当然, 也可以由其它节点分配并通知第一节点。  The preset protection resource of the first service on the first link may be the first node of the protection path of the first service and may be notified to the first node, and may be allocated and saved by the first node, or may be assigned by the network management and notified. A node, of course, can also be assigned and notified by other nodes.
第二业务在第一链路上的预置保护资源可以是第二业务的保护路径的首 节点分配并通知第一节点, 可以是第一节点自行分配并保存, 也可以是网管 分配并通知第一节点, 当然, 也可以由其它节点分配并通知第一节点。  The preset protection resource of the second service on the first link may be the first node of the protection path of the second service and may be notified to the first node, and may be allocated and saved by the first node, or may be assigned by the network management and notified. A node, of course, can also be assigned and notified by other nodes.
5102 , 第一节点收到保护倒换请求, 占用第一业务在第一链路上的预置 保护资源。  S102: The first node receives the protection switching request, and occupies the preset protection resource of the first service on the first link.
第一节点收到来自第二节点的第一业务的保护倒换请求; 或者, 第一节点收到来自第一业务的保护路径上另一个相邻节点的第一业务的 保护倒换请求, 或者  The first node receives the protection switching request of the first service from the second node; or the first node receives the protection switching request of the first service from another neighboring node on the protection path of the first service, or
第一节点收到来自网管的保护倒换请求。  The first node receives a protection switching request from the network management.
5103 , 如果第二业务在第一链路上的预置保护资源和第一业务在第一链 路上的预置保护资源存在共享部分, 重新分配第二业务在第一链路上的预置 保护资源, 保存重新分配的第二业务在第一链路上的预置保护资源。 本发明实施例中, 还可以包括: 5103. If the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part, re-allocating the preset of the second service on the first link The resource is protected, and the preset protection resource of the redistributed second service on the first link is saved. In the embodiment of the present invention, the method may further include:
第二节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一 链路上的预置保护资源;  The second node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
所述第一节点重新分配第二业务在第一链路上的预置保护资源, 保存第 一节点重新分配的第二业务在第一链路上的预置保护资源之后还包括:  The first node re-allocates the preset protection resource of the second service on the first link, and after the preset protection resource of the second service re-allocated by the first node is saved, the first node further includes:
第一节点将第一节点重新分配的第二业务在第一链路上的预置保护资源 通知第二节点, 使得第二节点保存第一节点重新分配的第二业务在第一链路 上的预置保护资源。  The first node notifies the second node of the preset protection resource of the second service re-allocated by the first node on the first link, so that the second node saves the second service re-allocated by the first node on the first link. Preset protection resources.
本发明实施例中, 还可以包括:  In the embodiment of the present invention, the method may further include:
第一节点保存有第一业务在第一链路上的保护资源池, 第二业务在第一 链路上的保护资源池;  The first node stores the protection resource pool of the first service on the first link, and the protection resource pool of the second service on the first link;
所述第一节点重新分配第二业务在第一链路上的预置保护资源, 具体包 括:  The first node re-allocates the preset protection resources of the second service on the first link, and specifically includes:
第一节点根据第二业务在第一链路上的保护资源池重新分配第二业务在 第一链路上的预置保护资源。  The first node re-allocates the preset protection resources of the second service on the first link according to the protection resource pool of the second service on the first link.
本发明实施例中, 还可以包括:  In the embodiment of the present invention, the method may further include:
所述第一节点收到第一业务的保护倒换请求, 具体包括:  Receiving, by the first node, a protection switching request of the first service, specifically:
第一节点收到来自第二节点的第一业务的保护倒换请求; 或者, 第一节点收到来自第一业务的保护路径上另一个相邻节点的第一业务的 保护倒换请求。  The first node receives the protection switching request of the first service from the second node; or the first node receives the protection switching request of the first service from another neighboring node on the protection path of the first service.
本发明实施例中, 还可以包括:  In the embodiment of the present invention, the method may further include:
所述第一节点收到第一业务的保护倒换请求之前还包括:  Before the first node receives the protection switching request of the first service, the method further includes:
配置第一节点为主节点, 配置第二节点为从节点, 所述保存重新分配的 第二业务在第一链路上的预置保护资源具体包括: 保存第一节点重新分配的 第二业务在第一链路上的预置保护资源。  The first node is configured as a master node, and the second node is configured as a slave node. The preset protection resource of the second service that is re-allocated on the first link includes: saving the second service that is re-allocated by the first node. Pre-protected resources on the first link.
本发明实施例中, 还可以包括: 第一节点收到来自第二节点的第二节点重新分配第二业务在第一链路上 的预置保护资源, 如果第一节点的节点编号比第二节点大, 所述保存重新分 配的第二业务在第一链路上的预置保护资源具体包括: 保存第一节点重新分 配的第二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第 二节点小, 所述保存重新分配的第二业务在第一链路上的预置保护资源具体 包括: 保存第二节点重新分配的第二业务在第一链路上的预置保护资源; 或 者, In the embodiment of the present invention, the method may further include: Receiving, by the second node, the second node from the second node, the preset protection resource of the second service on the first link, if the node number of the first node is larger than the second node, The preset protection resource of the second service on the first link includes: storing preset protection resources of the second service re-allocated by the first node on the first link, if the node number of the first node is smaller than the second node And saving the preset protection resource of the second service on the first link, where the re-allocated second service is configured to: save the preset protection resource of the second service re-allocated by the second node on the first link; or
第一节点收到来自第二节点的第二节点重新分配第二业务在第一链路上 的预置保护资源, 如果第一节点的节点编号比第二节点小, 所述保存重新分 配的第二业务在第一链路上的预置保护资源具体包括: 保存第一节点重新分 配的第二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第 二节点大, 所述保存重新分配的第二业务在第一链路上的预置保护资源具体 包括: 保存第二节点重新分配的第二业务在第一链路上的预置保护资源。  Receiving, by the second node, the second node from the second node, the preset protection resource of the second service on the first link, if the node number of the first node is smaller than the second node, saving the redistributed The preset protection resource of the second service on the first link includes: storing preset protection resources of the second service re-allocated by the first node on the first link, if the node number of the first node is larger than the second node And saving the preset protection resource of the second service on the first link, where the re-allocated second service is configured to: save the preset protection resource of the second service re-allocated by the second node on the first link.
本发明实施例中, 还可以包括: 所述保护资源为时隙保护资源或者带宽 保护资源。  In this embodiment of the present invention, the method may further include: the protection resource is a time slot protection resource or a bandwidth protection resource.
本发明实施例中, 还可以包括:  In the embodiment of the present invention, the method may further include:
第一链路为第一节点的第二侧链路所述方法还包括:  The method of the first link being the second side link of the first node further includes:
第一节点保存有第一业务在第一节点的第一侧预置保护资源, 第一业务 在第一链路上的预置保护资源为第一业务在第一节点的第二侧预置保护资 源, 所述第一节点收到第一业务的保护倒换请求, 占用第一业务在第一链路 上的预置保护资源, 具体包括:  The first node stores the first service preset protection resource on the first side of the first node, and the preset protection resource on the first link of the first service is the first service preset protection on the second side of the first node. The resource, the first node receives the protection switching request of the first service, and occupies the preset protection resource of the first service on the first link, and specifically includes:
配置第一业务在第一节点的第一侧预置保护资源承载第一业务, 配置第 一业务在第一节点的第二侧预置保护资源承载第一业务, 配置交叉连接, 占 用第一业务在第一链路上的预置保护资源。  The first service is configured to carry the first service on the first side of the first node, and the first service is configured to carry the first service on the second side of the first node, and the cross-connection is configured to occupy the first service. Pre-protected resources on the first link.
第一节点为第一业务的端节点, 所述第一业务在第一节点的第一侧预置 保护资源为第一业务的路径终端资源。 本发明实施例中, 第一节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一链路上的预置保护资源, 第一节点收到第一业务的保护倒换 请求, 占用第一业务在第一链路上的预置保护资源, 如果第二业务在第一链 路上的预置保护资源和第一业务在第一链路上的预置保护资源存在共享部 分, 第一节点重新分配第二业务在第一链路上的预置保护资源, 保存重新分 配的第二业务在第一链路上的预置保护资源。 第一节点可以根据第一链路中 保护资源的实时使用情况, 当共享资源被占用的情况下, 及时重新分配保护 路径的预置保护资源, 可以充分使用第一链路上的保护资源, 防止资源冲突 导致的保护倒换失败, 为共享保护业务提供有效的保护, 另外, 保护路径的 预置保护资源可以得到及时更新, 当需要倒换时, 可以快速的使用保护路径 的预置保护资源为共享保护业务提供保护倒换, 节省保护倒换的时间。 The first node is an end node of the first service, and the first service presets the protection resource as the path terminal resource of the first service on the first side of the first node. In the embodiment of the present invention, the first node saves the preset protection resource of the first service on the first link, the second service is preset protection resource on the first link, and the first node receives the protection of the first service. The switching request occupies the preset protection resource of the first service on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link exist The shared part, the first node re-allocates the preset protection resource of the second service on the first link, and saves the preset protection resource of the redistributed second service on the first link. The first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the protection resources on the first link to prevent The protection switching failure caused by the resource conflict fails to provide effective protection for the shared protection service. In addition, the preset protection resources of the protection path can be updated in time. When the switchover needs to be performed, the preset protection resources of the protection path can be quickly used as the shared protection. The service provides protection switching and saves protection switching time.
本发明实施例可以应用于电路网络中, 在电路网络中, 各节点一般采用 电路交叉来连接不同链路中的电路, 例如, 光传送网 (Optical Transport Network, OTN ) 网络中采用光通道数据单元 ( Optical channel Data Unit, ODU) 电路交叉连接, 同步数字体系 ( Synchronous Digital Hierarchy, SDH 网络中采用虚容器(virtual container, VC ) 电路交叉连接, 下面以 OTN网 络中的 0DU业务为例进行说明, SDH网络中采用的 VC业务类似。  The embodiments of the present invention can be applied to a circuit network. In a circuit network, each node generally uses circuit crossover to connect circuits in different links. For example, an optical transport network (OTN) network uses optical channel data units. (Optical channel data unit, ODU) Circuit cross-connection, Synchronous Digital Hierarchy (virtual container (VC) circuit cross-connection in SDH network. The following takes the 0DU service in the OTN network as an example. SDH The VC service used in the network is similar.
在 0TN网络中, 定义了多种速率级别的 0DU, 标记为 ODUj, 其中 j的取值不 同, 表示不同的速率级别。 例如, ODU0的速率大概是 lGbps, 0DU1的速率大概 是 2.5Gbps, 0DU2的速率大概是 lOGbps, 0DU3的速率大概是 40Gbps , 0DU4的速 率大概是 100Gbps。 多个低速率级别的 ODUj (以下称作低阶 ODU) 可以放在一 个高速率级别的 ODUk (以下称作高阶 ODU) ( j<k) 中传送。 此时, 一个 ODUk划 分为多个时隙, 每个时隙大 4既为1.25Gbps, 多个 ODUj通过占用 ODUk的一个或 多个时隙来复用到 0DUk。 以下说明低阶 ODU的资源池共享保护方法, 保护资源 池中的最小单位是一个时隙。 链路中划分一部分时隙作为保护资源池, 可以 给不同 0DU业务的保护路径共享。 本发明实施例中, 保护资源为时隙资源, 在 其它实施例中, 保护资源可以是 ODU资源, VC资源、 带宽资源或者其它资源。 图 2是本发明实施例中的网络示意图。 In the 0TN network, 0DUs of various rate levels are defined, which are marked as ODUj, where j has different values and represents different rate levels. For example, the rate of ODU0 is about 1 Gbps, the rate of 0DU1 is about 2.5 Gbps, the rate of 0DU2 is about 10 Gbps, the rate of 0DU3 is about 40 Gbps, and the rate of 0DU4 is about 100 Gbps. A plurality of low rate levels of ODUj (hereinafter referred to as low order ODUs) can be transmitted in a high rate level ODUk (hereinafter referred to as high order ODU) (j<k). At this time, one ODUk is divided into a plurality of time slots, each of which is 1.25 Gbps, and a plurality of ODUjs are multiplexed to 0DUk by occupying one or more time slots of the ODUk. The following describes the resource pool sharing protection method of the low-order ODU. The minimum unit in the protection resource pool is one time slot. A part of the time slot is divided into a protection resource pool, which can be shared by the protection paths of different 0DU services. In the embodiment of the present invention, the protection resource is a time slot resource, where In other embodiments, the protection resource may be an ODU resource, a VC resource, a bandwidth resource, or other resources. 2 is a schematic diagram of a network in an embodiment of the present invention.
如图 2所示, 包括 A、 B、 C、 D、 E、 F、 G七个节点, AB、 BC、 AD、 CE、 DE、 DF、 EG、 FG八条链路, 节点实现低阶 ODU的交叉连接, 链路包括两种链 路类型: 0DU2链路和 0DU3链路。 0DU2链路地链路总速率为 lOGbps, 划分为 8个 1.25 Gbps的时隙,时隙编号为 l#—8#;ODU3链路地链路总速率为 40Gbps, 划分为 32个 1.25 Gbps的时隙, 时隙编号为 1#一32#。  As shown in Figure 2, it includes seven nodes A, B, C, D, E, F, and G, and eight links of AB, BC, AD, CE, DE, DF, EG, and FG. The nodes implement the intersection of low-order ODUs. Connections, links include two types of links: 0DU2 link and 0DU3 link. The total link rate of the 0DU2 link is 10 Gbps, divided into 8 1.25 Gbps time slots, the time slot number is l#—8#; the total link rate of the ODU3 link is 40 Gbps, divided into 32 1.25 Gbps times. The slot number is 1#-32#.
下面以图 2 的网络为例, 说明一种保护资源分配方法, 实际的网络可能 更为复杂, 但保护资源分配的原理相同。  The following uses the network in Figure 2 as an example to illustrate a method for protecting resource allocation. The actual network may be more complicated, but the principle of protecting resource allocation is the same.
为筒单起见, 本实施例中共两条业务: 业务 1和业务 2, 业务 1从接口 1 到接口 5,业务类型为 0DU1,需要占用两个时隙,业务 2从接口 16到接口 19, 业务类型为 ODU0, 需要占用 1个时隙。 业务 1和业务 2的工作路径和保护路 径可以规划得出。  For the purpose of the device, there are two services in this embodiment: service 1 and service 2, service 1 is from interface 1 to interface 5, service type is 0DU1, two time slots are required, and service 2 is from interface 16 to interface 19, service The type is ODU0, which takes up 1 slot. The working paths and protection paths of Business 1 and Business 2 can be planned.
规划结果可以包括: 业务 1的工作路径经过的节点、 链路以及链路中的时 隙资源; 业务 1的保护路径经过的节点、 链路、 链路中的保护资源池以及业务 1在保护资源池中的预置保护资源; 业务 2的工作路径经过的节点、 链路以及 链路中的时隙资源; 业务 2的保护路径经过的节点、 链路、 链路中的保护资源 池以及业务 1在保护资源池中的预置保护资源。 其中保护资源池中的时隙资源 可以给多条业务的保护路径共享。  The planning result may include: a node, a link, and a time slot resource in the link of the service path of the service 1; a node, a link, a protection resource pool in the link, and a service 1 in the protection path of the service 1 Pre-protected resources in the pool; nodes, links, and time-slot resources in the link of the service path of service 2; nodes, links, protection resource pools in the link, and service 1 of the protection path of service 2 Pre-protected resources in the protection resource pool. The time slot resources in the protection resource pool can be shared by the protection paths of multiple services.
规划算法可以用约束最短路径优先 ( constraint shortest path first, CSPF)算法实现。 CSPF算法可以计算满足设定约束的路径,例如计算得到 A-C 的工作路径、 保护路径, 并且满足信号类型为 0DU1、 工作路径和保护路径分 离的约束条件; 类似计算得到 F-H的工作路径、 保护路径, 并且满足信号类 型为 ODU0、 工作路径和保护路径分离的约束条件。 由于两条业务的工作路径 和保护路径分离, 他们的保护路径在重合的部分可以共享时隙资源, 因此可 以在接口 8/接口 9为业务 1的保护路径分配预置保护资源 2#/3#时隙, 为业 务 2的保护路径分配预置保护资源 2#时隙。假设接口 8/接口 9还有 4#/5#时 本实施例的规划结果为: The planning algorithm can be implemented by the constraint shortest path first (CSPF) algorithm. The CSPF algorithm can calculate the path that satisfies the set constraint, for example, calculate the working path and protection path of the AC, and satisfy the constraint condition that the signal type is 0DU1, the working path and the protection path are separated; the working path and the protection path of the FH are similarly calculated. And the constraint condition that the signal type is ODU0, the working path and the protection path are separated. Since the working path and the protection path of the two services are separated, their protection paths can share the time slot resources in the overlapping part. Therefore, the preset protection resources can be allocated to the protection path of the service 1 on the interface 8/interface 9 2#/3# Time slot, for industry The protection path allocation of the service 2 is preset to protect the resource 2# time slot. Assume that the planning result of this embodiment is as follows when interface 8/interface 9 has 4#/5#:
业务 1的工作路径: 接口 1 -接口 2 _ ( 1 #时隙, 2#时隙) -接口 3 _接 口 4 _ ( 5#时隙, 6#时隙) -接口 20 -接口 5。  Service 1 working path: Interface 1 - Interface 2 _ (1 #slot, 2#slot) - Interface 3 _ Interface 4 _ (5#slot, 6#slot) - Interface 20 - Interface 5.
业务 1的保护路径: 接口 1 -接口 6 - (预置保护资源: 2#时隙, 5#时隙; 保护资源池: 2#时隙, 5#时隙) -接口 7 -接口 8 - (预置保护资源: 2#时隙, 3#时隙; 保护资源池: 2#时隙, 3#时隙, 4#时隙, 5#时隙) -接口 9 -接口 10 (预置保护资源: 4#时隙, 5#时隙) -接口 11 -接口 5。  Protection path of service 1: Interface 1 - Interface 6 - (Preset protection resources: 2# time slot, 5# time slot; Protection resource pool: 2# time slot, 5# time slot) - Interface 7 - Interface 8 - ( Preset protection resources: 2#slot, 3#slot; protection resource pool: 2#slot, 3#slot, 4#slot, 5#slot) - interface 9 - interface 10 (preset protection resources : 4#slot, 5#slot) - Interface 11 - Interface 5.
业务 2的工作路径: 接口 16 -接口 17 - ( 1#时隙) -接口 18 -接口 19。 业务 2的保护路径: 接口 16 -接口 14 - (预置保护资源: 2#时隙; 保护 资源池: 2#时隙) -接口 12 -接口 8 - (预置保护资源: 2#时隙; 保护资源 池: 2#时隙, 3#时隙, 4#时隙, 5#时隙) -接口 9 -接口 1 3 - (预置保护资 源: 4#时隙) -接口 15 -接口 19。  Working path of service 2: Interface 16 - Interface 17 - (1# time slot) - Interface 18 - Interface 19. Protection path of service 2: Interface 16 - Interface 14 - (Preset protection resource: 2# time slot; Protection resource pool: 2# time slot) - Interface 12 - Interface 8 - (Preset protection resource: 2# time slot; Protection resource pool: 2#slot, 3#slot, 4#slot, 5#slot) - interface 9 - interface 1 3 - (preset protection resource: 4# time slot) - interface 15 - interface 19.
规划出业务 1和业务 2后, 需要根据规划结果配置各业务的工作路径, 以 及保护路径, 具体包括:  After the service 1 and service 2 are planned, you need to configure the working path of each service and the protection path according to the planning result, including:
在业务 1的工作路径经过的节点上, 配置交叉连接, 占用规划结果指示的 各链路的时隙资源, 即按照规划得到的业务 1的工作路径, 在4、 B、 C节点配 置 0DU1的交叉连接, 占用 A-B链路的 1#时隙和 2#时隙, B-C链路的 5#时隙和 6# 时隙; 在业务 2的工作路径经过的节点上, 配置交叉连接, 占用规划结果指示 的各链路的时隙资源, 即按照规划得到的业务 2的工作路径, 在?、 H节点配置 ODU0的交叉连接, 占用 F-H链路的 1#时隙。  On the node where the working path of service 1 passes, configure the cross-connection, occupy the time slot resources of each link indicated by the planning result, that is, the working path of service 1 obtained according to the plan, and configure the intersection of 0DU1 in the 4, B, and C nodes. Connect, occupy the 1# time slot and 2# time slot of the AB link, the 5# time slot and the 6# time slot of the BC link; configure the cross connection on the node where the working path of the service 2 passes, occupy the planning result indication The time slot resources of each link, that is, the working path of the service 2 obtained according to the plan, in? The H node configures the cross-connection of ODU0 to occupy the 1# time slot of the F-H link.
在业务 1的保护路径经过的节点上, 预保存保护路径信息, 但不配置交叉 连接, 即不占用时隙资源, 保存的信息可以包括保护路径编号、 预置保护资 源、 保护资源池等信息; 在业务 2的保护路径经过的节点上, 预保存保护路径 信息, 但不配置交叉连接, 即不占用时隙资源, 保存的信息可以包括保护路 径编号、 预置保护资源、 保护资源池等信息。 On the node where the protection path of the service 1 passes, the protection path information is pre-stored, but the cross-connection is not configured, that is, the time slot resource is not occupied, and the saved information may include the protection path number, the preset protection resource, and the protection resource pool. On the node where the protection path of the service 2 passes, the protection path information is pre-stored, but the cross-connection is not configured, that is, the time slot resource is not occupied, and the saved information may include the protection path. Information such as path number, preset protection resources, and protection resource pool.
针对业务 1的保护路径, 在节点 A、 D、 E、 C保存保护路径信息。 对于非端 节点, 保存保护路径编号、 信号类型、 是否端节点、 线路侧 1链路的预置保护 资源、 线路侧 1链路链路的保护资源池、 线路侧 2链路链路的预置保护资源、 线路侧 2链路链路的保护资源池。对于端节点,保存保护路径编号、信号类型、 是否端节点、 路径终端资源、 线路侧 2链路链路的预置保护资源、 线路侧 2链 路链路的保护资源池。  For the protection path of service 1, the protection path information is saved at nodes A, D, E, and C. For the non-end node, save the protection path number, signal type, whether the end node, the preset protection resource of the line side 1 link, the protection resource pool of the line side 1 link link, and the preset of the line side 2 link link. Protection resource pool for protection resources and line side 2 link links. For the end node, the protection path number, the signal type, the end node, the path terminal resource, the preset protection resource of the line side 2 link link, and the protection resource pool of the line side 2 link link are saved.
针对业务 2的保护路径, 在节点 F、 D、 E、 H保存保护路径信息。 对于非端 节点, 保存保护路径编号、 信号类型、 是否端节点、 线路侧 1链路的预置保护 资源、 线路侧 1链路链路的保护资源池、 线路侧 2链路链路的预置保护资源、 线路侧 2链路链路的保护资源池。对于端节点,保存保护路径编号、信号类型、 是否端节点、 路径终端资源、 线路侧 2链路链路的预置保护资源、 线路侧 2链 路链路的保护资源池。 在节点 A、 C、 D、 E、 F、 H保存的信息如表 1-表 6所示, 以节点 D为例进行说明, 节点 D保存有业务 1和业务 2的保护路径信息, 对于业 务 1, 保护路径编号为 1, 信号类型为 0DU1, 不是业务 1的端节点, 线路侧 1/路 径终端保存的是线路侧 1链路的资源, 具体为接口编号为 7, 预置保护资源为 2#和5#, 保护资源池为 2#和5#, 线路侧 2保存的是线路侧 2链路的资源, 具体 为接口编号为 8, 预置保护资源为 2#和3#, 保护资源池为 2#、 3#、 4#和5#, 当 然, 这两侧的保护资源的保存可以根据需求设置, 例如可以在线路侧 1/路径 终端保存线路侧 2链路的资源, 在线路侧 2保存的是线路侧 1链路的资源。 对于 业务 2, 保护路径编号为 2, 信号类型为 ODU0, 不是业务 2的端节点, 线路侧 1/ 路径终端保存的是线路侧 1链路的资源, 具体为接口编号为 12, 预置保护资源 为 2#, 保护资源池为 2#, 线路侧 2保存的是线路侧 2链路的资源, 具体为接口 编号为 8, 预置保护资源为 2#, 保护资源池为 2#、 3#、 4#和5#。  For the protection path of the service 2, the protection path information is saved at the nodes F, D, E, and H. For the non-end node, save the protection path number, signal type, whether the end node, the preset protection resource of the line side 1 link, the protection resource pool of the line side 1 link link, and the preset of the line side 2 link link. Protection resource pool for protection resources and line side 2 link links. For the end node, the protection path number, the signal type, the end node, the path terminal resource, the preset protection resource of the line side 2 link link, and the protection resource pool of the line side 2 link link are saved. The information stored in the nodes A, C, D, E, F, and H is as shown in Table 1 to Table 6. The node D is taken as an example. The node D stores the protection path information of the service 1 and the service 2, and the service 1 The protection path number is 1, the signal type is 0DU1, and is not the end node of service 1. The line side 1/path terminal saves the resources of the line side 1 link, specifically the interface number is 7, and the preset protection resource is 2#. And 5#, the protection resource pool is 2# and 5#, and the line side 2 stores the resources of the line side 2 link, specifically, the interface number is 8, the preset protection resources are 2# and 3#, and the protection resource pool is 2#, 3#, 4# and 5#, of course, the protection of the protection resources on both sides can be set according to requirements. For example, resources on the line side 2 link can be saved on the line side 1/path terminal, and saved on the line side 2 The resources of the line side 1 link. For service 2, the protection path number is 2, the signal type is ODU0, not the end node of service 2, and the line side 1/path terminal saves the resources of the line side 1 link, specifically the interface number is 12, preset protection resources 2#, the protection resource pool is 2#, and the line side 2 stores the resources of the line side 2 link, specifically, the interface number is 8, the preset protection resource is 2#, and the protection resource pool is 2#, 3#, 4# and 5#.
对于端节点,以节点 A为例进行说明,保护路径编号为 1,信号类型为 0DU1, 是业务 1的端节点, 线路侧 1/路径终端保存的是线路侧 1链路的资源, 具体为 接口编号为 1, 预置保护资源为 1#和2#, 保护资源池为 1#和2#, 线路侧 2保存 的是线路侧 2链路的资源, 具体为接口编号为 6, 预置保护资源为 2#和5#, 保 护资源池为 2#和5#。 线路侧 1/路径终端保存的路径终端资源, 是业务 1终端的 资源。 表 1: 节点 A保护配置信息
Figure imgf000013_0001
For the end node, the node A is taken as an example. The protection path number is 1, the signal type is 0DU1, which is the end node of the service 1. The line side 1/path terminal stores the resources of the line side 1 link, specifically The interface number is 1, the preset protection resources are 1# and 2#, the protection resource pool is 1# and 2#, and the line side 2 stores the resources of the line side 2 link, specifically the interface number is 6, preset protection The resources are 2# and 5#, and the protection resource pools are 2# and 5#. The path terminal resource saved by the line side 1/path terminal is the resource of the service 1 terminal. Table 1: Node A Protection Configuration Information
Figure imgf000013_0001
表 2: 节点 C保护配置信息
Figure imgf000013_0002
Table 2: Node C Protection Configuration Information
Figure imgf000013_0002
表 3: 节点 D保护配置信息
Figure imgf000013_0003
Table 3: Node D Protection Configuration Information
Figure imgf000013_0003
表 4: 节点 E保护配置信息
Figure imgf000013_0004
2 ODUO 否 9 2 2, 3, 4, 5 13 4 4 表 5: 节点 F保护配置信息
Table 4: Node E Protection Configuration Information
Figure imgf000013_0004
2 ODUO No 9 2 2, 3, 4, 5 13 4 4 Table 5: Node F Protection Configuration Information
Figure imgf000014_0001
Figure imgf000014_0001
表 6: 节点 H保护配置信息 Table 6: Node H Protection Configuration Information
Figure imgf000014_0002
正常状态下, 业务 1和业务 2的数据利用其各自的工作路径传送。
Figure imgf000014_0002
Under normal conditions, the data of Service 1 and Service 2 are transmitted using their respective working paths.
本实施中, 业务 2的工作路径发生故障, 例如 F-H之间的链路发生中断, 则利用自动保护倒换协议, 业务 2的保护路径占用预置保护资源, 建立 ODU0交 叉连接, 并从保护路径收、 发数据, 当然, 也可能因为其他原因而将业务从 工作路径倒换到保护路径, 例如网络规划的需求等。 详细保护倒换过程可以 如下:  In this implementation, the working path of the service 2 is faulty. For example, if the link between the FHs is interrupted, the automatic protection switching protocol is used, and the protection path of the service 2 occupies the preset protection resources, establishes an ODU0 cross connection, and receives the protection path from the protection path. And send data, of course, it is also possible to switch the service from the working path to the protection path for other reasons, such as the needs of network planning. The detailed protection switching process can be as follows:
1、 业务 2的端点 F检测到业务 2的工作路径故障, 业务 2的数据传输中断。 1. Endpoint F of service 2 detects that the working path of service 2 is faulty, and the data transmission of service 2 is interrupted.
2、 业务 2的端点 F触发保护倒换动作, 查本节点保存的表 5 , 向线路侧 2链 路中的接口发送 APS消息, 消息中指定业务编号(2 ), 请求激活(占用预置保 护资源, 建立交叉)保护路径 2。 2. Endpoint F of service 2 triggers the protection switching action. Check the table 5 saved by the local node, and send an APS message to the interface in the line side 2 link. The service number (2) is specified in the message, requesting activation (occupying preset protection resources) , establish a cross) protection path 2.
3、 节点 D从接口 12接收到 APS消息, 获知要激活保护路径 2 , 查本节点保 存的表 3 , 得知保护路径 2的保护资源, 由于节点 D不是业务 2的端节点, 因此 将线路侧 1中的预置保护资源、 线路侧 2中的预置保护资源分别配置为承载 ODU0信号, 并将上述两个 ODU0信号交叉连接, 即占用业务 2在链路 D-E的预置 保护资源, 向另外一个接口 (接口 8 )转发 APS消息, 消息中指定业务编号, 请求激活保护路径 2。 3. The node D receives the APS message from the interface 12, learns that the protection path 2 is to be activated, checks the table 3 saved by the local node, and learns the protection resource of the protection path 2. Since the node D is not the end node of the service 2, the line side is The preset protection resources in 1 and the preset protection resources in line side 2 are respectively configured to carry the ODU0 signal, and the two ODU0 signals are cross-connected, that is, the preset of the service 2 in the link DE is occupied. The resource is protected, and the APS message is forwarded to another interface (interface 8). The service number is specified in the message, and the protection path 2 is requested to be activated.
本实施例中, 保护资源是链路的时隙资源, 即预置保护资源和保护资源 池中的资源编号是时隙的资源编号, 则配置交叉连接是将两个线路侧的保护 资源配置成 0DU承载业务, 得到 0DU保护资源, 并将两个 0DU交叉连接。  In this embodiment, the protection resource is the time slot resource of the link, that is, the resource number in the preset protection resource and the protection resource pool is the resource number of the time slot, and the cross connection is configured to configure the protection resources of the two line sides into The 0DU bears the service, obtains the 0DU protection resource, and cross connects the two 0DUs.
在其它实施例中, 如果保护资源是链路的 0DU 资源, 即预置保护资源和 保护资源池中的资源编号是 0DU 的资源编号, 则配置交叉连接是将两个线路 侧的保护资源交叉连接。 在其它实施例中, 如果保护资源是 VC资源, 则配置 交叉连接是配置 VC保护资源的交叉连接。  In other embodiments, if the protection resource is the 0DU resource of the link, that is, the resource number of the preset protection resource and the protection resource pool is 0DU, the cross connection is configured to cross-connect the protection resources of the two line sides. . In other embodiments, if the protection resource is a VC resource, configuring the cross-connection is a cross-connection configuring the VC protection resource.
4、 节点 D查表 3得知, 保护路径 2需要占用接口 8中的 2#时隙, 而 2#时隙同 时也是保护路径 1的预置保护资源, 因此, 节点 D从接口 8中保护路径 1的保护 资源池重新选择两个时隙 ( 3#, 4# )作为保护路径 1的预置保护资源, 重配置 表 3 , 并向接口 8发送时隙分配消息, 消息中指定业务编号 (1 )、 预置保护资 源 ( 3#, 4# );  4. The node D checks that the protection path 2 needs to occupy the 2# time slot in the interface 8, and the 2# time slot is also the preset protection resource of the protection path 1, therefore, the node D protects the path from the interface 8. The protection resource pool of 1 reselects two time slots (3#, 4#) as the preset protection resources of protection path 1, reconfigures table 3, and sends a time slot assignment message to interface 8, specifying the service number in the message (1) ), preset protection resources (3#, 4#);
5、 节点 E从接口 9接收到 APS消息, 获知要激活保护路径 2 , 查本节点保 存的表 4 , 得知保护路径 2的保护资源, 由于节点 E不是业务 2的端节点, 因此 将线路侧 1中的预置保护资源、 线路侧 2中的预置保护资源分别配置为承载 ODU0信号, 并将上述两个 ODU0信号交叉连接, 即占用业务 2在链路 D-E的预置 保护资源, 向另外一个接口 (接口 13 )转发 APS消息, 消息中指定业务编号请 求激活保护路径 2 ;  5. The node E receives the APS message from the interface 9, learns that the protection path 2 is to be activated, checks the table 4 saved by the local node, and learns the protection resource of the protection path 2. Since the node E is not the end node of the service 2, the line side is The preset protection resources in the 1st and the preset protection resources in the line side 2 are respectively configured to carry the ODU0 signal, and the two ODU0 signals are cross-connected, that is, the preset protection resources of the service 2 in the link DE are occupied, An interface (interface 13) forwards the APS message, and the specified service number in the message requests to activate the protection path 2;
6、 节点 E从接口 9收到保护路径 1的时隙分配消息, 将消息中指定的预置 保护资源作为保护路径 1在接口 9的预置保护资源, 配置在表 4.  6. The node E receives the time slot assignment message of the protection path 1 from the interface 9, and uses the preset protection resource specified in the message as the protection path 1 in the preset protection resource of the interface 9 and is configured in the table 4.
7、 节点 H从接口 15接收到 APS消息, 获知要激活保护路径 2 , 查本节点保 存的表 6 , 得知保护路径 2的保护资源, 由于节点 E是业务 2的端节点, 因此将 线路侧中的预置保护资源配置为承载 ODU0信号, 并向保护路径发送来自接口 7. The node H receives the APS message from the interface 15, and learns that the protection path 2 is to be activated, and the table 6 saved by the local node is checked, and the protection resource of the protection path 2 is known. Since the node E is the end node of the service 2, the line side is The preset protection resource is configured to carry the ODU0 signal and send the protection path to the interface.
19的 0DUQ信号, 从保护路径接收 0DUQ信号并传送给接口 19; 8、 节点 H向接口 1 5返回 APS消息, 消息中指定业务编号 (2 ), 请求激活 保护路径 2 ; The 0DUQ signal of 19 receives the 0DUQ signal from the protection path and transmits it to the interface 19; 8. The node H returns an APS message to the interface 15. The service number (2) is specified in the message, and the protection path 2 is requested to be activated.
9、 节点 E从接口 1 3收到 APS消息, 由于保护路径 2已经被激活, 因此向另 一个接口 (接口 9 )转发 APS消息;  9. The node E receives the APS message from the interface 1 3, and since the protection path 2 has been activated, the APS message is forwarded to the other interface (interface 9);
1 0、 节点 D从接口 8收到 APS消息, 由于保护路径 2已经被激活, 因此向另 一个接口 (接口 1 2 )转发 APS消息;  1 0. Node D receives the APS message from interface 8, and since the protection path 2 has been activated, the APS message is forwarded to the other interface (interface 1 2);
1 1、 节点 F从接口 14收到 APS消息, 查表 5 , 将保护资源 2中的预置保护资 源配置为承载 ODU0信号, 并向保护路径发送来自接口 16的 ODU0信号, 从保护 路径接收 0DUQ信号并传送给接口 16 , 至此, 业务 2数据传输恢复。  The node F receives the APS message from the interface 14, and looks up the table 5, configures the preset protection resource in the protection resource 2 to carry the ODU0 signal, and sends the ODU0 signal from the interface 16 to the protection path, and receives the 0DUQ from the protection path. The signal is transmitted to the interface 16, and at this point, the service 2 data transmission is resumed.
上述步骤 4和步骤 6中, 节点 D重新分配业务 1在链路 F-H的预置保护资源, 然后通知节点 E , 在节点 D和节点 E保存节点 D重新分配的业务 1在链路 F-H的预 置保护资源, 在其他实施例中, 也可能节点 E重新分配业务 1在链路 F-H的预置 保护资源, 然后通知节点 D , 在节点 D和节点 E保存节点 E重新分配的业务 1在链 路 F-H的预置保护资源, 也可能节点 D和节点 E都进行了重新分配业务 1在链路 F-H的预置保护资源, 此时需要提供一种方法以使得节点 D和节点最终保存的 预置保护资源一致。  In the above steps 4 and 6, the node D re-allocates the preset protection resource of the service 1 on the link FH, and then notifies the node E, and saves the preset of the service 1 re-allocated service 1 in the link FH at the node D and the node E. Protecting resources, in other embodiments, it is also possible that node E redistributes the preset protection resources of service 1 on link FH, and then notifies node D that node A and node E keep node E reassigned service 1 on link FH. The preset protection resources may also be re-allocated by the node D and the node E. The preset protection resources of the service 1 in the link FH need to provide a method for the node D and the node to finally save the preset protection resources. Consistent.
业务 2的工作路径的两个端节点 F、 H可能同时检测到故障, 同时触发保护 倒换, 此时节点 D和节点 E可能同时重新分配业务 1在链路 F-H的预置保护资源, 并向对端发送时隙分配消息。 节点 D和节点 E重新分配的预置保护资源可能不 同, 例如, 节点 D分配 # 3/#4时隙, 节点 E分配 #4/#5时隙, 则两端分配不一致。 本实施例提供两种方法保证节点 D和节点 E最终保存的业务 1在链路 F-H的预置 保护资一致。  The two end nodes F and H of the working path of the service 2 may detect the fault at the same time, and trigger the protection switching. At this time, the node D and the node E may simultaneously allocate the preset protection resources of the service 1 in the link FH, and The terminal sends a slot allocation message. The preset protection resources reassigned by node D and node E may be different. For example, node D allocates #3/#4 time slots, and node E allocates #4/#5 time slots, and the two ends are inconsistent. This embodiment provides two methods to ensure that the service 1 that is finally saved by the node D and the node E is consistent in the preset protection of the link F-H.
方式一、 预先将链路两端节点分别配置为主节点和从节点, 主节点负责 重新分配预置保护资源, 并通知从节点。 例如, 对于节点 D和节点 E之间的链 路, 将节点 D配置为主节点, 节点 E配置为从节点, 当需要为 D-E之间的链路重 新分配预置保护资源时, 由节点 D负责分配, 并利用时隙分配消息通知节点£。 方式二、 在时隙分配消息中携带节点编号, 节点编号大的配置生效。 例 如, 节点 D的节点编号小于节点 E的节点编号, 则在节点 D/节点 E同时向对端发 生时隙分配消息时, 节点 D收到节点 E发送的时隙分配消息之后, 应用消息中 的时隙分配方案。 Manner 1: The nodes at both ends of the link are respectively configured as a master node and a slave node, and the master node is responsible for reallocating the preset protection resources and notifying the slave nodes. For example, for the link between node D and node E, node D is configured as a master node, and node E is configured as a slave node. When it is necessary to re-allocate preset protection resources for the link between DEs, node D is responsible for Assign, and use the time slot assignment message to inform the node £. Manner 2: The slot number assignment message carries the node number, and the configuration with the node number is valid. For example, if the node number of the node D is smaller than the node number of the node E, when the node D/node E simultaneously allocates a message to the opposite end, the node D receives the time slot assignment message sent by the node E, and then applies the message in the application message. Time slot allocation scheme.
本发明实施例中节点 D和节点 E之间的重新分配的预置保护资源依靠时隙 分配消息传送, 时隙分配消息可以利用 0DU链路的开销实现, 也可以利用节点 之间的带外控制通道来实现。 0DU链路可以传送 0DU帧, 0DU帧定义了开销及静 荷。 采用 0DU开销传送时隙分配消息, 例如可以用 0DU的 GCC1开销, 将时隙分 配消息 (消息内容包括保护路径编号、 预置保护资源的时隙编号)利用 HDLC 封装, 发送给对端。 时隙分配消息用带外控制通道, 例如以太网链路实现时, 时隙分配消息可以封装到 I P包, 并通过以太网链路发送到对端。  In the embodiment of the present invention, the re-allocated preset protection resource between the node D and the node E is transmitted by using a time slot allocation message, and the time slot allocation message may be implemented by using the overhead of the 0DU link, and may also utilize the out-of-band control between the nodes. The channel is implemented. The 0DU link can carry 0DU frames, which define overhead and payload. The time slot allocation message is transmitted by using the 0DU overhead. For example, the time slot allocation message (the message content including the protection path number and the slot number of the preset protection resource) may be encapsulated by the HDLC and sent to the opposite end by using the GCC1 overhead of the 0DU. When the time slot assignment message is implemented by an outband control channel, such as an Ethernet link, the time slot assignment message may be encapsulated into an I P packet and sent to the peer end through an Ethernet link.
本发明实施例中, 保护路径的预置保护资源可以得到及时更新, 当需要 倒换时, 可以快速的使用保护路径的预置保护资源为共享保护业务提供保护 倒换, 节省保护倒换的时间。  In the embodiment of the present invention, the preset protection resources of the protection path can be updated in time. When the switchover needs to be performed, the protection protection switch can be used to protect the shared protection service and save the protection switching time.
如图 3 所示, 为本发明实施例提供的一种保护资源分配节点, 所述保护 资源分配节点为第一节点, 第一节点和第二节点之间包括第一链路, 第一业 务的保护路径和第二业务的保护路径均经过第一链路, 其特征在于, 第一节 点包括:  As shown in FIG. 3, a protection resource allocation node is provided in the embodiment of the present invention, where the protection resource allocation node is a first node, and the first node and the second node include a first link, and the first service Both the protection path and the protection path of the second service pass through the first link, and the first node includes:
保存单元 301 , 用于保存第一业务在第一链路上的预置保护资源, 第二业 务在第一链路上的预置保护资源;  The saving unit 301 is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
保护倒换单元 302 , 用于收到第一业务的保护倒换请求, 占用第一业务在 第一链路上的预置保护资源;  The protection switching unit 302 is configured to receive a protection switching request of the first service, and occupy a preset protection resource of the first service on the first link;
保护资源分配单元 303 ,用于如果第二业务在第一链路上的预置保护资源 和第一业务在第一链路上的预置保护资源存在共享部分, 重新分配第二业务 在第一链路上的预置保护资源, 保存重新分配的第二业务在第一链路上的预 置保护资源。 第二节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一 链路上的预置保护资源, 第一节点还包括: The protection resource allocation unit 303 is configured to re-allocate the second service in the first part if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part The preset protection resource on the link saves the preset protection resource of the redistributed second service on the first link. The second node saves the preset protection resource of the first service on the first link, and the second service is a preset protection resource on the first link, where the first node further includes:
通知单元, 用于将第一节点重新分配的第二业务在第一链路上的预置保 护资源通知第二节点, 使得第二节点保存第一节点重新分配的第二业务在第 一链路上的预置保护资源。  a notification unit, configured to notify the second node of the preset protection resource of the second service re-allocated by the first node on the first link, so that the second node saves the second service redistributed by the first node on the first link Preset protection resources on.
保存单元 301 还用于保存第一业务在第一链路上的保护资源池, 第二业 务在第一链路上的保护资源池;  The saving unit 301 is further configured to save the protection resource pool of the first service on the first link, and the protection resource pool of the second service on the first link;
保护资源分配单元 303 具体用于根据第二业务在第一链路上的保护资源 池重新分配第二业务在第一链路上的预置保护资源。  The protection resource allocation unit 303 is specifically configured to reallocate the preset protection resource of the second service on the first link according to the protection resource pool of the second service on the first link.
本发明实施例中, 还包括:  In the embodiment of the present invention, the method further includes:
保护倒换单元 302 具体包括: 用于收到来自第二节点的第一业务的保护 倒换请求; 或者,  The protection switching unit 302 specifically includes: a protection switching request for receiving the first service from the second node; or
保护倒换单元 302 具体包括: 用于收到来自第一业务的保护路径上另一 个相邻节点的第一业务的保护倒换请求。  The protection switching unit 302 specifically includes: a protection switching request for receiving a first service from another neighboring node on the protection path of the first service.
本发明实施例中, 还包括:  In the embodiment of the present invention, the method further includes:
配置单元, 用于配置第一节点为主节点;  a configuration unit, configured to configure the first node as a master node;
保护资源分配单元 303 具体用于保存第一节点重新分配的第二业务在第 一链路上的预置保护资源。  The protection resource allocation unit 303 is specifically configured to save the preset protection resource of the second service re-allocated by the first node on the first link.
本发明实施例中, 还包括:  In the embodiment of the present invention, the method further includes:
保护资源分配单元 303 具体用于接收来自第二节点的第二节点重新分配 第二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节 点大, 则保存第一节点重新分配的第二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节点小, 则保存第二节点重新分配的第二业 务在第一链路上的预置保护资源; 或者,  The protection resource allocation unit 303 is specifically configured to receive, by the second node, the second node, to re-allocate the preset protection resource of the second service on the first link, and if the node number of the first node is larger than the second node, save the first Pre-protected resources of the second service re-allocated by the node on the first link. If the node number of the first node is smaller than the second node, the second service re-allocated by the second node is saved on the first link. Preset protection resources; or,
保护资源分配单元 303 具体用于接收来自第二节点的第二节点重新分配 第二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节 点小, 则保存第一节点重新分配的第二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节点大, 则保存第二节点重新分配的第二业 务在第一链路上的预置保护资源。 The protection resource allocation unit 303 is specifically configured to receive, by the second node from the second node, a preset protection resource that is re-allocated the second service on the first link, if the node number of the first node is smaller than the second node. If the point is small, the preset protection resource of the second service re-allocated by the first node on the first link is saved. If the node number of the first node is larger than the second node, the second service re-allocated by the second node is saved. Pre-protected resources on the first link.
本发明实施例中, 还包括:  In the embodiment of the present invention, the method further includes:
第一链路为第一节点的第二侧链路, 包括:  The first link is a second side link of the first node, and includes:
保存单元还用于保存第一业务在第一节点的第一侧预置保护资源, 第一 业务在第一链路上的预置保护资源为第一业务在第一节点的第二侧预置保护 资源;  The saving unit is further configured to save the first service on the first side of the first node, and the preset protection resource on the first link is the first service, and the first service is preset on the second side of the first node. Protect resources;
保护倒换单元具体用于配置第一业务在第一节点的第一侧预置保护资源 承载第一业务, 配置第一业务在第一节点的第二侧预置保护资源承载第一业 务, 配置交叉连接, 占用第一业务在第一链路上的预置保护资源。  The protection switching unit is configured to configure the first service to carry the first service on the first side of the first node, and to configure the first service to carry the first service on the second side of the first node. The connection occupies the preset protection resource of the first service on the first link.
本发明实施例中, 第一节点可以根据第一链路中保护资源的实时使用情 况, 当共享资源被占用的情况下, 及时重新分配保护路径的预置保护资源, 可以充分使用第一链路上的保护资源, 防止资源冲突导致的保护倒换失败, 为共享保护业务提供有效的保护。  In the embodiment of the present invention, the first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the first link. The protection resources on the network prevent the failure of protection switching caused by resource conflicts and provide effective protection for the shared protection service.
如图 4所示,一种保护资源分配系统,包括第一节点 401和第二节点 402 , 第一节点和第二节点之间包括第一链路, 第一业务的保护路径和第二业务的 保护路径均经过第一链路, 包括:  As shown in FIG. 4, a protection resource allocation system includes a first node 401 and a second node 402. The first node and the second node include a first link, a protection path of the first service, and a second service. The protection path passes through the first link, including:
第一节点 401 用于保存第一业务在第一链路上的预置保护资源, 第二业 务在第一链路上的预置保护资源, 收到第一业务的保护倒换请求, 占用第一 业务在第一链路上的预置保护资源, 如果第二业务在第一链路上的预置保护 资源和第一业务在第一链路上的预置保护资源存在共享部分, 重新分配第二 业务在第一链路上的预置保护资源, 保存重新分配的第二业务在第一链路上 的预置保护资源, 将第一节点重新分配的第二业务在第一链路上的预置保护 资源通知第二节点;  The first node 401 is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link receives the protection switching request of the first service, occupying the first The preset protection resource of the service on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part, redistribution The preset protection resource on the first link of the second service, the preset protection resource of the second service re-allocated on the first link, and the second service redistributed by the first node on the first link Notifying the second node by the preset protection resource;
第二节点 402 用于保存第一业务在第一链路上的预置保护资源, 第二业 务在第一链路上的预置保护资源, 收到第一节点重新分配的第二业务在第一 链路上的预置保护资源, 保存保存重新分配的第二业务在第一链路上的预置 保护资源。 The second node 402 is configured to save the preset protection resource of the first service on the first link, the second industry The preset protection resource on the first link receives the preset protection resource of the second service re-allocated by the first node on the first link, and saves and stores the redistributed second service on the first link. Preset protection resources.
本发明实施例中, 第一节点可以根据第一链路中保护资源的实时使用情 况, 当共享资源被占用的情况下, 及时重新分配保护路径的预置保护资源, 可以充分使用第一链路上的保护资源, 防止资源冲突导致的保护倒换失败, 为共享保护业务提供有效的保护。  In the embodiment of the present invention, the first node may re-allocate the preset protection resources of the protection path in time according to the real-time usage of the protection resources in the first link, and may fully use the first link. The protection resources on the network prevent the failure of protection switching caused by resource conflicts and provide effective protection for the shared protection service.
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发 明实施例可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过 硬件实施。 基于这样的理解, 本发明实施例的技术方案本质上或者说对现有 技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品存 储在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform the methods described in various embodiments of the present invention.
以上揭露的仅为本发明的较佳实施例而已, 当然不能以此来限定本发明 之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的 范围。  The above disclosure is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims

1、 一种保护资源分配方法, 第一节点和第二节点之间包括第一链路, 第一 业务的保护路径和第二业务的保护路径均经过第一链路, 其特征在于, 包括: 第一节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一链 路上的预置保护资源; A protection resource allocation method, the first node and the second node include a first link, and the protection path of the first service and the protection path of the second service pass through the first link, and the method includes: The first node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
第一节点收到第一业务的保护倒换请求, 占用第一业务在第一链路上的预 置保护资源;  The first node receives the protection switching request of the first service, and occupies the pre-protected resource of the first service on the first link;
如果第二业务在第一链路上的预置保护资源和第一业务在第一链路上的预 置保护资源存在共享部分, 第一节点重新分配第二业务在第一链路上的预置保 护资源, 保存重新分配的第二业务在第一链路上的预置保护资源。  If the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part, the first node re-allocates the second service on the first link The protection resource is saved, and the preset protection resource of the redistributed second service on the first link is saved.
2、 根据权利要求 1所述的保护资源分配方法, 其特征在于, 所述方法还包 括:  2. The method for allocating a protection resource according to claim 1, wherein the method further comprises:
第二节点保存第一业务在第一链路上的预置保护资源, 第二业务在第一链 路上的预置保护资源;  The second node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link;
所述第一节点重新分配第二业务在第一链路上的预置保护资源, 保存第一 节点重新分配的第二业务在第一链路上的预置保护资源之后还包括:  The first node re-allocates the preset protection resource of the second service on the first link, and after the preset protection resource of the second service re-allocated by the first node on the first link, the method further includes:
第一节点将第一节点重新分配的第二业务在第一链路上的预置保护资源通 知第二节点, 使得第二节点保存第一节点重新分配的第二业务在第一链路上的 预置保护资源。  The first node notifies the second node of the preset protection resource of the second service re-allocated by the first node on the first link, so that the second node saves the second service re-allocated by the first node on the first link. Preset protection resources.
3、 根据权利要求 1所述的保护资源分配方法, 其特征在于, 所述方法还包 括:  The method for allocating a protection resource according to claim 1, wherein the method further comprises:
第一节点保存有第一业务在第一链路上的保护资源池, 第二业务在第一链 路上的保护资源池;  The first node stores the protection resource pool of the first service on the first link, and the protection resource pool of the second service on the first link;
所述第一节点重新分配第二业务在第一链路上的预置保护资源, 具体包括: 第一节点根据第二业务在第一链路上的保护资源池重新分配第二业务在第 一链路上的预置保护资源。  The first node re-allocating the preset protection resource of the second service on the first link, specifically: the first node re-allocating the second service according to the second service in the protection resource pool on the first link. Preset protection resources on the link.
4、 根据权利要求 1所述的保护资源分配方法, 其特征在于, 所述第一节点 收到第一业务的保护倒换请求, 具体包括:  The protection resource allocation method according to claim 1, wherein the first node receives the protection switching request of the first service, which specifically includes:
第一节点收到来自第二节点的第一业务的保护倒换请求; 或者, 第一节点收到来自第一业务的保护路径上另一个相邻节点的第一业务的保 护倒换请求。 The first node receives a protection switching request of the first service from the second node; or The first node receives a protection switching request for the first service from another neighboring node on the protection path of the first service.
5、 根据权利要求 1所述的保护资源分配方法, 其特征在于, 所述第一节点 收到第一业务的保护倒换请求之前还包括:  The method for allocating a protection resource according to claim 1, wherein before the receiving, by the first node, the protection switching request of the first service, the method further includes:
配置第一节点为主节点, 配置第二节点为从节点, 所述保存重新分配的第 二业务在第一链路上的预置保护资源具体包括: 保存第一节点重新分配的第二 业务在第一链路上的预置保护资源。  The first node is configured as a master node, and the second node is configured as a slave node. The preset protection resource of the second service that is re-allocated on the first link includes: saving the second service that is re-allocated by the first node. Pre-protected resources on the first link.
6、 根据权利要求 2所述的保护资源分配方法, 其特征在于, 所述方法还包 括:  The method for allocating a protection resource according to claim 2, wherein the method further comprises:
第一节点收到来自第二节点的第二节点重新分配第二业务在第一链路上的 预置保护资源, 如果第一节点的节点编号比第二节点大, 所述保存重新分配的 第二业务在第一链路上的预置保护资源具体包括: 保存第一节点重新分配的第 二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节点小, 所述保存重新分配的第二业务在第一链路上的预置保护资源具体包括: 保存第 二节点重新分配的第二业务在第一链路上的预置保护资源; 或者,  Receiving, by the second node, the second node from the second node, the preset protection resource of the second service on the first link, if the node number of the first node is larger than the second node, The preset protection resource of the second service on the first link includes: storing preset protection resources of the second service re-allocated by the first node on the first link, if the node number of the first node is smaller than the second node And saving the preset protection resource of the second service on the first link, where the re-allocated second service is configured to: save the preset protection resource of the second service re-allocated by the second node on the first link; or
第一节点收到来自第二节点的第二节点重新分配第二业务在第一链路上的 预置保护资源, 如果第一节点的节点编号比第二节点小, 所述保存重新分配的 第二业务在第一链路上的预置保护资源具体包括: 保存第一节点重新分配的第 二业务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节点大, 所述保存重新分配的第二业务在第一链路上的预置保护资源具体包括: 保存第 二节点重新分配的第二业务在第一链路上的预置保护资源。  Receiving, by the second node, the second node from the second node, the preset protection resource of the second service on the first link, if the node number of the first node is smaller than the second node, saving the redistributed The preset protection resource of the second service on the first link includes: storing preset protection resources of the second service re-allocated by the first node on the first link, if the node number of the first node is larger than the second node And saving the preset protection resource of the second service on the first link, where the re-allocated second service is configured to: save the preset protection resource of the second service re-allocated by the second node on the first link.
7、 根据权利要求 6所述的保护资源分配方法, 其特征在于, 第一节点收到 来自第二节点的第二节点重新分配第二业务在第一链路上的预置保护资源之前 还包括: 第二节点收到第一业务的保护倒换请求, 占用第一业务在第一链路上 的预置保护资源。  The protection resource allocation method according to claim 6, wherein the first node further includes before receiving, by the second node, the second node from the second node, the second service is pre-allocated on the first link. The second node receives the protection switching request of the first service, and occupies the preset protection resource of the first service on the first link.
8、 根据权利要求 1一 7任一所述的保护资源分配方法, 其特征在于, 包括: 所述保护资源为时隙保护资源或者带宽保护资源。  The protection resource allocation method according to any one of claims 1 to 7, wherein the protection resource is a time slot protection resource or a bandwidth protection resource.
9、 根据权利要求 1所述的保护资源分配方法, 其特征在于, 第一链路为第 一节点的第二侧链路, 所述方法还包括: 第一节点保存有第一业务在第一节点的第一侧预置保护资源, 第一业务在 第一链路上的预置保护资源为第一业务在第一节点的第二侧预置保护资源, 所 述第一节点收到第一业务的保护倒换请求, 占用第一业务在第一链路上的预置 保护资源, 具体包括: The method for allocating a protection resource according to claim 1, wherein the first link is a second side link of the first node, and the method further includes: The first node stores the first service preset protection resource on the first side of the first node, and the preset protection resource on the first link of the first service is the first service preset protection on the second side of the first node. The resource, the first node receives the protection switching request of the first service, and occupies the preset protection resource of the first service on the first link, and specifically includes:
配置第一业务在第一节点的第一侧预置保护资源承载第一业务, 配置第一 业务在第一节点的第二侧预置保护资源承载第一业务, 配置交叉连接, 占用第 一业务在第一链路上的预置保护资源。  The first service is configured to carry the first service on the first side of the first node, and the first service is configured to carry the first service on the second side of the first node, and the cross-connection is configured to occupy the first service. Pre-protected resources on the first link.
10、 根据权利要求 9所述的保护资源分配方法, 其特征在于, 第一节点为 第一业务的端节点, 所述第一业务在第一节点的第一侧预置保护资源为第一业 务的路径终端资源。  The protection resource allocation method according to claim 9, wherein the first node is an end node of the first service, and the first service presets the protection resource as the first service on the first side of the first node. Path terminal resources.
11、 一种保护资源分配节点, 所述保护资源分配节点为第一节点, 第一节 点和第二节点之间包括第一链路, 第一业务的保护路径和第二业务的保护路径 均经过第一链路, 其特征在于, 第一节点包括:  A protection resource allocation node, where the protection resource allocation node is a first node, and the first node and the second node include a first link, and the protection path of the first service and the protection path of the second service are both The first link is characterized in that: the first node includes:
保存单元, 用于保存第一业务在第一链路上的预置保护资源, 第二业务在 第一链路上的预置保护资源;  a saving unit, configured to save a preset protection resource of the first service on the first link, and a preset protection resource of the second service on the first link;
保护倒换单元, 用于收到第一业务的保护倒换请求, 占用第一业务在第一 链路上的预置保护资源;  The protection switching unit is configured to receive a protection switching request of the first service, and occupy a preset protection resource of the first service on the first link;
保护资源分配单元, 用于如果第二业务在第一链路上的预置保护资源和第 一业务在第一链路上的预置保护资源存在共享部分, 重新分配第二业务在第一 链路上的预置保护资源, 保存重新分配的第二业务在第一链路上的预置保护资 源。  a protection resource allocation unit, configured to re-allocate the second service in the first chain if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part The preset protection resource on the road saves the preset protection resource of the redistributed second service on the first link.
12、 根据权利要求 11所述的节点, 其特征在于, 第二节点保存第一业务在 第一链路上的预置保护资源, 第二业务在第一链路上的预置保护资源, 第一节 点还包括:  The node according to claim 11, wherein the second node saves the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link, A node also includes:
通知单元, 用于将第一节点重新分配的第二业务在第一链路上的预置保护 资源通知第二节点, 使得第二节点保存第一节点重新分配的第二业务在第一链 路上的预置保护资源。  a notification unit, configured to notify the second node of the preset protection resource of the second service re-allocated by the first node on the first link, so that the second node saves the second service redistributed by the first node on the first link Preset protection resources on.
13、 根据权利要求 11所述的节点, 其特征在于, 包括:  The node according to claim 11, comprising:
保存单元还用于保存第一业务在第一链路上的保护资源池, 第二业务在第 一链路上的保护资源池; The saving unit is further configured to save the protection resource pool of the first service on the first link, and the second service is in the first a pool of protection resources on a link;
保护资源分配单元具体用于根据第二业务在第一链路上的保护资源池重新 分配第二业务在第一链路上的预置保护资源。  The protection resource allocation unit is specifically configured to re-allocate the preset protection resources of the second service on the first link according to the protection resource pool of the second service on the first link.
14、 根据权利要求 11所述的节点, 其特征在于, 包括:  The node according to claim 11, comprising:
保护倒换单元具体包括: 用于收到来自第二节点的第一业务的保护倒换请 求; 或者,  The protection switching unit specifically includes: a protection switching request for receiving the first service from the second node; or
保护倒换单元具体包括: 用于收到来自第一业务的保护路径上另一个相邻 节点的第一业务的保护倒换请求。  The protection switching unit specifically includes: a protection switching request for receiving a first service from another neighboring node on the protection path of the first service.
15、 根据权利要求 11所述的节点, 其特征在于, 还包括:  The node according to claim 11, further comprising:
配置单元, 用于配置第一节点为主节点;  a configuration unit, configured to configure the first node as a master node;
保护资源分配单元具体用于保存第一节点重新分配的第二业务在第一链路 上的预置保护资源。  The protection resource allocation unit is specifically configured to save the preset protection resource of the second service re-allocated by the first node on the first link.
16、 根据权利要求 11所述的节点, 其特征在于, 包括:  The node according to claim 11, comprising:
保护资源分配单元具体用于接收来自第二节点的第二节点重新分配第二业 务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节点大, 则 保存第一节点重新分配的第二业务在第一链路上的预置保护资源, 如果第一节 点的节点编号比第二节点小, 则保存第二节点重新分配的第二业务在第一链路 上的预置保护资源; 或者,  The protection resource allocation unit is specifically configured to receive, by the second node from the second node, a preset protection resource for reallocating the second service on the first link, and if the node number of the first node is larger than the second node, save the first Pre-protected resources of the second service re-allocated by the node on the first link. If the node number of the first node is smaller than the second node, the second service re-allocated by the second node is saved on the first link. Preset protection resources; or,
保护资源分配单元具体用于接收来自第二节点的第二节点重新分配第二业 务在第一链路上的预置保护资源, 如果第一节点的节点编号比第二节点小, 则 保存第一节点重新分配的第二业务在第一链路上的预置保护资源, 如果第一节 点的节点编号比第二节点大, 则保存第二节点重新分配的第二业务在第一链路 上的预置保护资源。  The protection resource allocation unit is specifically configured to receive, by the second node of the second node, a preset protection resource for reallocating the second service on the first link, and if the node number of the first node is smaller than the second node, save the first Pre-protected resources of the second service re-allocated by the node on the first link. If the node number of the first node is larger than the second node, the second service re-allocated by the second node is saved on the first link. Preset protection resources.
17、 根据权利要求 11所述的节点, 其特征在于, 第一链路为第一节点的第 二侧链路,, 包括:  The node according to claim 11, wherein the first link is a second side link of the first node, and includes:
保存单元还用于保存第一业务在第一节点的第一侧预置保护资源, 第一业 务在第一链路上的预置保护资源为第一业务在第一节点的第二侧预置保护资 源;  The saving unit is further configured to save the first service on the first side of the first node, and the preset protection resource on the first link is the first service, and the first service is preset on the second side of the first node. Protect resources;
保护倒换单元具体用于配置第一业务在第一节点的第一侧预置保护资源承 载第一业务, 配置第一业务在第一节点的第二侧预置保护资源承载第一业务, 配置交叉连接, 占用第一业务在第一链路上的预置保护资源。 The protection switching unit is specifically configured to configure the first service to preset the protection resource on the first side of the first node. The first service is configured, and the first service is configured to carry the first service on the second side of the first node, and the cross-connection is configured to occupy the preset protection resource of the first service on the first link.
18、 一种保护资源分配系统, 包括第一节点和第二节点, 第一节点和第二 节点之间包括第一链路, 第一业务的保护路径和第二业务的保护路径均经过第 一链路, 其特征在于, 包括:  18. A protection resource allocation system, comprising: a first node and a second node, wherein the first node and the second node comprise a first link, and the protection path of the first service and the protection path of the second service pass the first A link, which is characterized by:
第一节点用于保存第一业务在第一链路上的预置保护资源, 第二业务在第 一链路上的预置保护资源, 收到第一业务的保护倒换请求, 占用第一业务在第 一链路上的预置保护资源, 如果第二业务在第一链路上的预置保护资源和第一 业务在第一链路上的预置保护资源存在共享部分, 重新分配第二业务在第一链 路上的预置保护资源, 保存重新分配的第二业务在第一链路上的预置保护资源, 将第一节点重新分配的第二业务在第一链路上的预置保护资源通知第二节点; 第二节点用于保存第一业务在第一链路上的预置保护资源, 第二业务在第 一链路上的预置保护资源, 收到第一节点重新分配的第二业务在第一链路上的 预置保护资源, 保存保存重新分配的第二业务在第一链路上的预置保护资源。  The first node is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link receives the protection switching request of the first service, and occupies the first service. The preset protection resource on the first link, if the preset protection resource of the second service on the first link and the preset protection resource of the first service on the first link have a shared part, reallocating the second The preset protection resource on the first link of the service, the preset protection resource of the second service re-allocated on the first link, and the second service re-allocated by the first node on the first link The second node is configured to save the preset protection resource of the first service on the first link, and the preset protection resource of the second service on the first link is received by the first node. The preset protection resource of the second service on the first link is saved, and the preset protection resource of the second service stored on the first link is saved.
PCT/CN2011/079162 2011-08-31 2011-08-31 Protection resource allocation method, device and system WO2013029248A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001821.1A CN103098416B (en) 2011-08-31 2011-08-31 A kind of protection resource allocation methods, device and system
PCT/CN2011/079162 WO2013029248A1 (en) 2011-08-31 2011-08-31 Protection resource allocation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079162 WO2013029248A1 (en) 2011-08-31 2011-08-31 Protection resource allocation method, device and system

Publications (1)

Publication Number Publication Date
WO2013029248A1 true WO2013029248A1 (en) 2013-03-07

Family

ID=47755206

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079162 WO2013029248A1 (en) 2011-08-31 2011-08-31 Protection resource allocation method, device and system

Country Status (2)

Country Link
CN (1) CN103098416B (en)
WO (1) WO2013029248A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2894754T3 (en) 2016-09-21 2022-02-15 Huawei Tech Co Ltd Node and protection switching method
FI3603293T3 (en) 2017-03-23 2023-04-03 Apple Inc Prioritized messaging and resource selection in vehicle-to-vehicle (v2v) sidelink communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626527A (en) * 2009-08-19 2010-01-13 烽火通信科技股份有限公司 Recoverable shared restoration method for optimizing spare routing by automatic switched optical network (ASON)
CN101969382A (en) * 2010-09-25 2011-02-09 中兴通讯股份有限公司 Method and device for sharing service protection in mesh network
CN102143065A (en) * 2011-02-09 2011-08-03 华为技术有限公司 Fault protection method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626527A (en) * 2009-08-19 2010-01-13 烽火通信科技股份有限公司 Recoverable shared restoration method for optimizing spare routing by automatic switched optical network (ASON)
CN101969382A (en) * 2010-09-25 2011-02-09 中兴通讯股份有限公司 Method and device for sharing service protection in mesh network
CN102143065A (en) * 2011-02-09 2011-08-03 华为技术有限公司 Fault protection method and equipment

Also Published As

Publication number Publication date
CN103098416A (en) 2013-05-08
CN103098416B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
US8854955B2 (en) Mesh restoration and bandwidth allocation systems and methods for shared risk connection groups
US9800522B2 (en) Make-before-break systems and methods decoupling a control plane from a data plane
US9172658B2 (en) Call setup systems and methods using dynamic link tagging and overbooking of links in multi-domain transport networks
EP2451186B1 (en) Method for assigning and processing label in optical network, optical communication device and optical communication system
CN106664214B (en) Fault recovery method and device for virtual network
WO2017124982A1 (en) Protection switching method and node
CN102299852A (en) Control method and device for binding mapping between inter-domain link and intra-domain channel for cross-domain service
US11251863B2 (en) Protection switching method and node
WO2021189994A1 (en) Service flow transmission method and device based on flexe
JP6269088B2 (en) Redundant path providing method and transmission apparatus
WO2016165142A1 (en) Preserving method and device for virtual network
EP1391068A1 (en) Restoration protection in communication networks
CN109787895B (en) Dual-homing protection method, access node, equipment and communication network
US20170331703A1 (en) Network service establishment method, orchestration control center, and network system
EP1768281A1 (en) A method for service connection setup and service resume protection in optical network
CN100373866C (en) Method of network fault recovery crossing over connections in multiple domains
US20160366048A1 (en) Communication system, node and signal path control method in communication system
WO2013029248A1 (en) Protection resource allocation method, device and system
WO2008119277A1 (en) A method and device for implementing mpls te on vlan interface
WO2011017863A1 (en) Protection control method and apparatus for shared ring of optical data unit
JP2013141082A (en) Switching device
US7643407B2 (en) Method and apparatus for determining protection transmission unit allocation
WO2015165033A1 (en) Processing method for supporting resource sharing by services with mixed granularities, and nodes
EP3057269B1 (en) Control channel establishment method, apparatus and system
CN101729347A (en) Method, system and device for protecting circuit loop

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001821.1

Country of ref document: CN

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

Ref document number: 11871474

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11871474

Country of ref document: EP

Kind code of ref document: A1