WO2013013642A1 - Method for processing inter-loop service and crossing node - Google Patents

Method for processing inter-loop service and crossing node Download PDF

Info

Publication number
WO2013013642A1
WO2013013642A1 PCT/CN2012/079299 CN2012079299W WO2013013642A1 WO 2013013642 A1 WO2013013642 A1 WO 2013013642A1 CN 2012079299 W CN2012079299 W CN 2012079299W WO 2013013642 A1 WO2013013642 A1 WO 2013013642A1
Authority
WO
WIPO (PCT)
Prior art keywords
ring
node
destination
label
network
Prior art date
Application number
PCT/CN2012/079299
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 华为技术有限公司
Publication of WO2013013642A1 publication Critical patent/WO2013013642A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Definitions

  • the present invention relates to the field of communications, and in particular to a method and an intersecting node for processing a cross-ring service in the field of communications. Background technique
  • MPLS Multi-Protocol Label Switching
  • FRR Fast Reroute
  • APS Automatic Protection Switching
  • the traditional transport network widely uses the ring structure. Therefore, with the widespread application of MPLS technology in the transmission field, especially the packet transport network (Packet Transport Network, called "PTN") technology based on MPLS function is widely used in mobile backhaul.
  • the bearer network has strong requirements for MPLS to support ring network functions. And the networking mode in which the access ring, the aggregation ring, and the core ring layer are embedded is also being applied more and more, and accordingly, a clean and efficient intersecting ring processing technology is required.
  • the service granularity intersecting ring technology mainly implements the cross-ring by binding the service to the new ring channel according to the cross-ring service in the lower ring node of the destination ring channel.
  • the control plane needs to configure the binding relationship between the ring service label of the cross-ring service and the ring channel of the destination ring to the forwarding plane. Therefore, for each cross-ring service, the intersecting nodes need to be configured with different cross-ring forwarding policies. As the number of services is large, the system overhead is large. Summary of the invention
  • the embodiments of the present invention provide a method for processing a cross-ring service and an intersecting node, which can prevent different cross-ring forwarding policies from being configured for each service, thereby reducing the overhead of processing the cross-ring service and improving the efficiency of processing the cross-ring service. .
  • an embodiment of the present invention provides a method for processing a cross-ring service, where the method includes: a first ring node of a source ring network and a destination ring network receiving a cross-ring report transmitted in a first direction in the source ring network
  • the cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used to make the cross-ring packet in the source ring network, along the first direction to the first Intersect node transmission;
  • the first intersecting node determines a first destination ring channel label according to the first destination ring node indication label, where the first destination ring channel label is used to make the cross-ring packet in the destination ring network, along the
  • the second intersecting node transmits the source ring channel label of the cross-ring packet to the first destination ring channel label; the first intersecting node is in the destination ring network, along the first The second direction sends the cross-loop packet including the first destination ring channel label to the lower
  • an embodiment of the present invention provides an intersecting node, where the intersecting node includes: a receiving unit, configured to receive, in a source ring network, a cross-ring packet that is transmitted in a first direction, where the cross-ring packet includes a source ring.
  • the first destination ring node indication label determines a first destination ring channel label, where the first destination ring channel label is used to enable the cross-ring message to be transmitted to the lower ring node in the second direction in the destination ring network; a unit, configured to replace the source ring channel label of the cross-ring packet with the first destination ring channel label; the first sending unit, configured to, in the destination ring network, the second ring direction to the lower ring node Sending the cross-loop message including the first destination ring channel label.
  • the method for processing a cross-ring service and the intersecting node in the embodiment of the present invention by adding a destination ring node indication label to the cross-ring packet, is used to indicate the lower link of the cross-ring packet in the destination ring network. Therefore, the processing of the service layer and the forwarding plane of the intersecting node can be shielded from the service level, so that different cross-ring forwarding policies can be configured for each service, thereby reducing the overhead of processing the cross-ring service and improving the processing cross. The efficiency of the ring business.
  • FIG. 1 is a schematic flowchart of a method for processing a cross-ring service according to an embodiment of the present invention.
  • 2 is a schematic block diagram of a network structure in accordance with an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for processing a cross-ring service according to another embodiment of the present invention.
  • 4 is a schematic block diagram of a network structure in accordance with another embodiment of the present invention.
  • Figure 5 is a schematic block diagram of an intersecting node in accordance with an embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of an intersecting node in accordance with another embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of a cross-loop network system in accordance with an embodiment of the present invention.
  • FIG. 8 is a schematic block diagram of a cross-ring network system according to another embodiment of the present invention. detailed description
  • GSM Global System of Mobile communication
  • CDMA code division multiple access
  • WCDMA Wideband Code Division Multiple Access
  • General Packet Radio Service General Packet Radio Service
  • LTE Long Term Evolution
  • Fludency Division Duplex LTE frequency division duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • the embodiment of the present invention is mainly described by taking the cross-ring service in the intersecting ring scenario of the MPLS network as an example, but the embodiment of the present invention is not limited thereto, and the embodiment of the present invention may also be applied to other ring networks. Intersecting ring scenes.
  • FIG. 1 shows a schematic flow chart of a method for processing a cross-ring service according to an embodiment of the present invention. As shown in Figure 1, the method includes:
  • the first intersecting node of the source ring network and the destination ring network receives the cross-ring packet transmitted in the first direction in the source ring network, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label.
  • the source ring channel label is configured to transmit the cross-ring packet to the first intersecting node in the first ring direction in the source ring network, where the first destination ring node indicator is used to indicate the cross
  • the ring message is a lower ring node in the destination ring network;
  • the first intersecting node determines, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring 4 in the destination ring network, along the second Directional transmission to the ring node;
  • the first intersecting node replaces the source ring channel label of the cross-ring packet with the first-purpose ring channel label.
  • the first intersecting node sends the cross-loop packet including the first destination ring channel label to the lower link in the second direction in the destination ring network.
  • the first intersecting node shared by the source ring network and the destination ring network may determine the first destination ring according to the first destination ring node indication label included in the cross-ring packet after receiving the cross-ring packet in the source ring network.
  • the channel label is replaced with the source ring channel label included in the cross-ring packet and forwarded to the first destination ring channel label, so that the cross-ring packet can be cross-loop processed based on the first destination ring node indication label.
  • the method for processing the cross-ring service in the embodiment of the present invention is to add the destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so as to be able to intersect. Both the control plane and the forwarding plane of the node are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
  • the embodiment of the present invention can implement the end-to-end encapsulation of the cross-ring service by using the destination ring node indication label to indicate the cross-ring packet in the destination ring network, that is, only the lower ring node and the ingress ring node.
  • the business will be processed.
  • the configuration of the method is small, and the cross-ring processing of the intersecting nodes is independent of the service, that is, the addition, deletion, or modification of the service does not affect the configuration of the intersecting nodes. Therefore, the intersection point is switched according to the ring node indication label, which not only has a fast switching speed but also a small system overhead.
  • the method for processing the cross-ring service further includes: the first intersecting node to at least one node in the source ring network Or each node separately sends the first destination ring node indication label.
  • the first destination ring node indication label of the lower ring node indicating the cross-ring packet in the destination ring network needs to be configured to at least one node in the source ring network, for example, a cross-ring service.
  • the upper ring node, or all nodes assigned to the source ring network so that when the cross-ring service rings from a fixed node or rings from any node of the source ring network, the ring of the source ring network
  • the node can add the first destination ring node indication label to the cross-ring message.
  • the first intersecting node determines the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label.
  • the first destination node indicates that the first destination ring node indicates a corresponding entry of the label and the first destination ring channel label, so that the first intersecting node can determine the corresponding entry according to the corresponding relationship.
  • the first destination ring channel label is a corresponding entry of the label and the first destination ring channel label.
  • the source ring network includes six nodes, namely, node A, node B, node C, node D, node E1, and node F.
  • the destination ring network includes six nodes, which are node D, node E2, and node respectively.
  • the source ring network and the destination ring network respectively include six nodes, but the embodiment of the present invention is not limited thereto.
  • the source ring network and the destination ring network may include more or fewer nodes. .
  • the intersecting node F or the intersecting node D can allocate the destination ring node indication label according to the lower ring node of the destination ring network, and configure all other resources to the source ring network. node.
  • the intersecting node F or the intersecting node D allocates the destination ring node indication label Labd_G, indicating that if a message arrives at the intersecting node F or D with the label, the message is considered to be forwarded to the node G of the destination ring network.
  • Labd_G the destination ring node indication label
  • the intersecting node F or the intersecting node D can also allocate the destination ring node indication label LabeU, indicating that the lower ring node of the cross-ring message in the destination ring network is node I.
  • the destination ring node indication tag may also be assigned by other network side devices, for example by the gateway according to the relevant protocol.
  • the destination ring nodes that are assigned by the different intersecting nodes to the same lower ring node indicate the same label
  • the same or different intersecting nodes indicate different labels for the destination ring nodes allocated by the different lower ring nodes.
  • the intersecting node F or the intersecting node D is the same for the indication label Labd_G assigned to the lower ring node G, but the intersecting node F or the intersecting node D is different for the indication labels Labd_G and LabeU assigned to the lower ring nodes G and I.
  • the cross-ring service is looped from the node A of the source ring network, and the node I of the destination ring network is taken as an example.
  • Node A receives the cross-ring packet, so that the cross-ring packet enters the source ring network.
  • the cross-ring text can be added with a ring service label for indicating the service in turn. a tunnel label, a first destination ring node indication label (Lable_G), and a source ring channel label.
  • the first destination ring node indication label Lable_G is used to indicate that the cross-ring packet in the destination ring network is a node G.
  • the source ring channel label is configured to transmit the cross-ring message to the first intersecting node F in the first direction in the source ring network.
  • the node A forwards the cross-ring message to the first intersecting node F through the cross-ring ring channel according to the source ring channel label.
  • the first intersecting node F receives the cross-ring packet sent in the first direction in the source ring network, and can determine the first destination ring channel label according to the first destination ring node indication label Lable_G, the first destination ring channel label And transmitting the cross-ring packet to the lower ring node G in the second direction in the destination ring network. Then, after the first ring node label of the cross-ring packet is replaced with the first destination ring channel label, the first intersecting node F sends the label to the lower ring node along the second direction in the destination ring network.
  • the cross-loop message of the first destination ring channel label According to the ring channel label of the first destination, the cross-loop text can smoothly reach the lower ring node G of the destination ring network from the first intersecting node F in the destination ring network.
  • the first intersecting node F replaces the source ring channel label of the cross-ring packet with the first destination ring channel label, and specifically: the first intersecting node F first strips the source ring channel label, and then The first destination ring channel label is encapsulated in the cross-ring packet, so that the cross-ring packet can reach the lower ring node G smoothly.
  • the transmission direction of the cross-ring packet on the ring can be configured, that is, the transmission direction of the cross-ring packet after the cross-ring can be the same as the original transmission direction, or vice versa. That is, the first direction is the same as or opposite to the second direction. Preferably, the first direction is the same as the second direction.
  • the first intersecting node when determining that the lower ring node is unreachable, may, according to the source ring channel label, the source ring network and the destination ring network in the source ring network in the source ring network.
  • the second intersecting node sends the cross-ring message.
  • the cross-ring service is looped from the node A and the node G is looped. Then, after the first intersecting node F receives the cross-ring packet, the lower ring node G is determined.
  • the first intersecting node F may send the cross-loop message to the second intersecting node D along the first direction in the source ring network according to the source ring channel label.
  • the second intersecting node D may determine the first destination ring channel label according to the first destination ring node indication label Lable_G included in the cross-ring packet, the first destination ring The channel label is configured to send the cross-ring packet to the lower ring node G in the second direction in the destination ring network. Subsequently, the second intersecting node D is in the source loop of the cross-ring message After the track label is replaced with the first target ring channel label, the cross-loop message including the first destination ring channel label is sent to the lower ring node in the second direction in the destination ring network. Since the cross-loop message includes the first destination ring channel label, the cross-loop text can smoothly reach the lower ring node G of the destination ring network from the second intersecting node D in the destination ring network.
  • the method for processing the cross-ring service in the embodiment of the present invention is to add the destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so as to be able to intersect. Both the control plane and the forwarding plane of the node are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
  • the method for processing the cross-ring service when the destination ring network includes a first destination ring network and a second destination ring network, the first destination ring network intersects the source ring network, and the second destination ring network and the first destination ring The network intersects, the second destination ring network does not intersect the source ring network, and the first destination ring node indication label is allocated by the source ring network and the first intersecting node or the second intersecting node of the first destination ring network.
  • the method for processing the cross-ring service when the first destination ring node indicates that the lower ring node is the lower ring node in the second destination ring network, as shown in FIG. 3, the method for processing the cross-ring service according to the embodiment of the present invention Can include:
  • the first intersecting node of the source ring network and the destination ring network receives the cross-ring packet transmitted in the first direction in the source ring network, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label.
  • the source ring channel label is configured to transmit the cross-ring packet to the first intersecting node in the first ring direction in the source ring network, where the first destination ring node indicator label is used to indicate the cross-ring packet.
  • a lower ring node in the second destination ring network
  • the first intersecting node determines, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring 4 in the destination ring network, along the second Directional transmission to the ring node;
  • the first intersecting node replaces the source ring channel label of the cross-ring packet with the first-purpose ring channel label
  • the first intersecting node determines, according to the first destination ring node indication label, and the corresponding relationship between the first destination ring node indication label and the second destination ring node indication label, the second destination ring node indication label, the first
  • the second destination ring node indication label is allocated by the first destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network, and the second destination ring node indication label is used to indicate that the cross-ring message is a lower ring node in the second destination ring network; S250.
  • the first intersecting node replaces the first destination ring node indication label with the second destination ring node indication label.
  • the first intersecting node sends, in the first destination ring network, the cross-ring packet including the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction
  • the first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so that the third intersecting node or the fourth intersecting node is configured according to the
  • the second destination ring node indicates that the label determines the second destination ring channel label, and replaces the first destination ring channel label with the second destination ring channel label, so that the cross-loop report including the second destination ring channel label
  • the text can be transmitted to the lower ring node in the third direction in the second destination ring network.
  • S220 and S230 may be executed after S240 and S250, or S220 and S240 may be simultaneously executed, and S230 and S250 may be simultaneously executed.
  • the destination ring network includes a first destination ring network and a second destination ring network, and the cross-ring service is connected from the node A of the source ring network, through the intersecting node F, and the intersecting node G.
  • the node L lower ring of the second destination ring network is taken as an example for description.
  • the intersecting node F receives the cross-ring packet transmitted by the node A, and the cross-loop packet includes a source ring channel label and a first destination ring node indication label, where the first destination ring node indication label is used to indicate that the lower ring node is The node L of the second destination ring network.
  • the intersecting node F needs to determine the first destination ring channel label according to the first destination ring node indication label, and replace the source ring channel label of the cross-ring packet with the first destination ring channel label.
  • the first destination ring node indication label is replaced with the second destination ring node indication label allocated by the intersecting node G or the intersecting node I, and the first destination ring channel label and the second destination link are sent to the lower ring node L.
  • the second destination ring node indication label is used to indicate the lower ring node of the cross-ring packet in the second destination ring network.
  • the intersecting node F or the intersecting node D needs to configure corresponding target ring node indication labels for the lower ring nodes of the first and second destination ring networks, and inform each node of the source ring network,
  • the intersecting node G or the intersecting node I needs to be for the second purpose ring network
  • the lower ring node configures the corresponding destination ring node indication label and informs the intersecting nodes F and D, wherein, for the same lower ring node, the indication label of the intersecting node F or the intersecting node D can be configured with the intersecting node G or the intersecting node I.
  • the indicator labels are different, and of course they can be the same.
  • the intersecting nodes of the preceding ring network need to configure corresponding indication labels for the lower ring nodes of the subsequent ring network, and inform the intersecting nodes with the previous ring network.
  • the configured indicator label needs to tell all the nodes of the source ring network, so that when the cross-ring service is looped, the corresponding node can add corresponding indication labels to the cross-ring packets.
  • the intersecting node G receives the cross-ring packet transmitted by the intersecting node F, according to the second destination ring node indication label included in the cross-ring packet, the cross-ring packet needs to be learned from the second destination ring network.
  • Node L is down.
  • the intersection node G can determine the second destination ring channel label according to the second destination ring node indication label and the correspondence between the second destination ring node indication label and the second destination ring channel label, and the second destination The ring channel label is configured to send the cross-ring message to the lower ring node L in the third direction in the second destination ring network.
  • the intersecting node G further needs to replace the first destination ring channel label of the cross-ring packet with the second destination ring channel label, and send the second destination ring network label to the lower ring node L along the third direction in the second destination ring network.
  • the cross-loop message including the second destination ring channel label.
  • the two directions of the first direction, the second direction, and the third direction may be the same or different. Since the cross-loop message includes the second destination ring channel label, the cross-ring packet can be smoothly looped from the node L in the second destination ring network.
  • the destination ring network may be considered to include the first and second destination ring networks, wherein the second destination ring network includes the third and fourth destination ring networks, etc., thereby
  • similar processing can be performed by referring to the method in the embodiment of the present invention.
  • the destination ring network may include one or more ring networks.
  • the ring network includes two ring networks, and one of the indicator label configuration schemes is taken as an example for description.
  • embodiments of the invention are not limited thereto. According to different indication label configuration schemes, messages can be spanned across multiple rings by replacing or nesting node indication labels.
  • the destination ring network when the destination ring network includes N ring networks sequentially connected to the source ring network, the N ring networks are sequentially referred to as a first ring network, a second ring network, an Nth ring network, where N is greater than or equal to,
  • the destination ring node indication label indicating the final lower ring node may be allocated by the source ring network and the intersecting node of the first destination ring network, or by other network side devices.
  • the first destination ring node indication tag can be configured at least to all nodes of the source ring network, the intersecting nodes of the first ring network and the second ring network, and other intersecting nodes.
  • the intersecting node of the i-th ring network can determine the destination ring channel label used for the cross-ring message to be transmitted in the (i+1)th ring network according to the destination ring node indication label, so that the cross-ring 4 can be transmitted to The intersection node of the i+1th ring network and the i+2 ring network, and thus the cross-ring 4 can finally reach the lower ring node smoothly.
  • FIG. 2 is only taken as an example of two ring networks.
  • FIG. 4 is only described by taking three ring networks as an example, but the embodiment of the present invention is not limited thereto.
  • the processing in the scenario including the two ring networks shown in FIG. 2 and the processing in the scenario including the three ring networks shown in FIG. 4 may be referred to.
  • the method for processing the cross-ring service in the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, thereby being able to be at the intersecting node.
  • Both the control plane and the forwarding plane are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
  • FIGS. 1 through 4 The method for processing a cross-ring service according to an embodiment of the present invention is described in detail above with reference to FIGS. 1 through 4.
  • FIGS. 5 through 8 An intersecting node and a cross-ring network system according to an embodiment of the present invention will be described in detail with reference to FIGS. 5 through 8.
  • FIG. 5 shows a schematic block diagram of an intersecting node according to an embodiment of the present invention.
  • the intersecting node 500 includes:
  • the receiving unit 510 is configured to receive, in the source ring network, the cross-ring packet that is transmitted in the first direction, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used to enable The cross-ring packet is transmitted to the intersecting node in the first direction, and the first destination ring node indication label is used to indicate the lower ring node of the cross-ring packet in the destination ring network.
  • the first determining unit 520 is configured to determine, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring 4 in the destination ring network, along the second Directional transmission to the ring node;
  • the first replacement unit 530 is configured to replace the source ring channel label of the cross-ring packet with the first destination ring channel label;
  • the first sending unit 540 is configured to send the cross-loop message including the first destination ring channel label to the lower ring node in the second direction in the destination ring network.
  • the intersecting node of the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so that the control plane and the forwarding node of the intersecting node can be
  • the planes are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
  • the intersecting node 500 further includes:
  • a second sending unit 550 configured to: according to the source ring channel label, in the source ring network, along the first direction to the source ring network and another of the destination ring network, when determining that the lower ring node is unreachable
  • the intersecting node sends the cross-ring message.
  • the intersecting node 500 further includes:
  • the third sending unit 560 is configured to separately send the first destination ring node indication label to at least one node or each node in the source ring network.
  • the first determining unit 520 is further configured to determine the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label.
  • the intersecting node 500 further includes:
  • the second determining unit 570 is configured to determine the second destination ring node indication label according to the first destination ring node indication label, and the corresponding relationship between the first destination ring node indication label and the second destination ring node indication label, where And the second destination ring node indication label is allocated by the first destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network, where the first destination ring network intersects the source ring network, The second destination ring network intersects the first destination ring network, and the second destination ring network does not intersect the source ring network;
  • a second replacement unit 580 configured to replace the first destination ring node indication label with the second destination ring node indication label
  • the first sending unit 540 is further configured to send, in the first destination ring network, the cross-ring including the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction.
  • a message, the first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so as to facilitate the third intersecting node or the fourth intersecting node Determining, by the node, the second destination ring channel label according to the second destination ring node indication label, and replacing the first destination ring channel label with the second destination ring channel label, thereby including the second destination
  • the cross-loop message of the ring channel label can be transmitted to the lower ring node in the third direction in the second destination ring network.
  • the destination ring network includes a first destination ring network and a second destination ring network, the first destination ring network intersecting the source ring network, and the second destination ring network intersects the first destination ring network, the first The second destination ring network does not intersect the source ring network, and the first destination ring node indication label is allocated by the source ring network and the first intersecting node or the second intersecting node of the first destination ring network, and the first When the destination ring node indicates that the lower ring node is the lower ring node in the second destination ring network, the second determining unit 570 is configured to indicate the label according to the first destination ring node, and the first destination.
  • the second replacement unit 580 is configured to replace the first destination ring node indication label with the second destination ring node indication label.
  • the first sending unit 540 is configured to be in the second direction in the first destination ring network.
  • the ring network transmits to the lower ring node along the second direction.
  • the first direction is the same as or different from the second direction.
  • the intersecting node of the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so that the control plane and the forwarding node of the intersecting node can be
  • the planes are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
  • FIG. 7 shows a schematic block diagram of a cross-loop network system in accordance with an embodiment of the present invention.
  • the cross-ring network system 700 includes:
  • the source ring network includes M nodes, where M is greater than or equal to 3 and M is a natural number;
  • the destination ring network includes N nodes, where N is greater than or equal to 3 and N is a natural number,
  • the M nodes and the N nodes include two intersecting nodes shared by the source ring network and the destination ring network, and each of the intersecting nodes includes:
  • a receiving unit configured to receive, in the source ring network, a cross-ring packet that is transmitted in the first direction, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used to enable the The cross-ring packet is transmitted to the intersecting node in the first direction, and the first destination ring node indication label is used to indicate the lower ring node of the cross-ring packet in the destination ring network.
  • a determining unit configured to determine, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-loop message in the destination ring network, in a second direction Ring node transmission;
  • a first replacement unit configured to replace the source ring channel label of the cross-ring packet with the first destination ring channel label
  • the first sending unit is configured to send the cross-loop message including the first destination ring channel label to the lower ring node in the second direction in the destination ring network.
  • each of the intersecting nodes further includes:
  • a second sending unit configured to, according to the source ring channel label, in the source ring network, another intersection of the source ring network and the destination ring network in the first ring direction when determining that the lower ring node is unreachable
  • the node sends the cross-ring packet.
  • each of the intersecting nodes further includes:
  • a third sending unit configured to separately send the first destination ring node indication label to at least one node or each node in the source ring network.
  • the first determining unit is further configured to determine the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label.
  • the destination ring network 720 includes a first destination ring network 721 and a second destination ring network 722.
  • the first destination ring network 721 intersects the source ring network 710.
  • the second destination ring The network 722 intersects the first destination ring network 721, the second destination ring network 722 does not intersect the source ring network 710, and the first destination ring node indicates that the label is from the source ring network and the first destination ring network.
  • the first intersecting node or the second intersecting node is allocated, and the lower target node indicated by the first destination ring node indicating label is a lower ring node in the second destination ring network, where each of the intersecting nodes further includes : a second determining unit, configured to determine, according to the first destination ring node indication label, a correspondence between the first destination ring node indication label and the second destination ring node indication label, the second destination ring node indication label, the first The second destination ring node indication label is allocated by the first destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network;
  • a second replacement unit configured to replace the first destination ring node indication label with the second destination ring node indication label
  • the first sending unit is further configured to: send, in the first destination ring network, the cross-ring report including the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction
  • the first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so as to facilitate the third intersecting node or the fourth intersecting node. Determining, according to the second destination ring node indication label, a second destination ring channel label, and replacing the first destination ring channel label with the second destination ring channel label, so that the cross-loop including the second destination ring channel label The message can be transmitted to the lower ring node in the third direction in the second destination ring network.
  • the cross-ring message received by the receiving unit of the intersecting node includes the same target ring node indicating that the same lower ring node is the same; the determining unit determined by the different intersecting node is used for The destination ring channel label sent by the ring message to the same lower ring node is different.
  • each of the intersecting nodes shared by the source ring network and the first destination ring network may correspond to the intersecting node 500 according to the embodiment of the present invention, and is not described herein again.
  • the receiving unit 510 in the embodiment shown in FIG. 5 may be a receiver
  • the first transmitting unit 540 may be a transmitter
  • the receiving unit 510 and the first transmitting unit 540 may be transceivers.
  • the first determining unit 520 and the first replacing unit 530 may be processors.
  • the second transmitting unit 550 and the third transmitting unit 560 in the embodiment shown in FIG. 6 may be transmitters.
  • the second determining unit 570 and the second replacing unit 580 may be processors.
  • the cross-ring network system of the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring>3 ⁇ 4 text is in the lower ring node in the destination ring network, thereby enabling control at the intersecting node.
  • Both the plane and the forwarding plane are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), A variety of media that can store program code, such as a disk or an optical disk.

Abstract

Disclosed are a method for processing an inter-loop service and a crossing node. The method includes: a first crossing node of a source loop network and a destination loop network receiving an inter-loop message transmitted in a first direction in the source loop network, wherein the inter-loop message includes a source loop channel label and a first destination loop node indication label; determining a first destination loop channel label according to the first destination loop node indication label; replacing the source loop channel label of the inter-loop message with the first destination loop channel label; and in the destination loop network, sending to a leaving loop node the inter-loop message including the first destination loop channel label in a second direction. The crossing node includes: a receiving unit, a first determination unit, a first replacing unit and a first sending unit. The method and crossing node of the embodiments of the present invention can avoid respectively configuring different inter-loop forwarding policies for each service, so that the overhead of processing the inter-loop service can be reduced, and the efficiency of processing the inter-loop service can be improved.

Description

处理跨环业务的方法和相交节点  Method and intersecting node for processing cross-ring services
本申请要求于 2011 年 7 月 27 日提交中国专利局、 申请号为 CN 201110211827.3 , 发明名称为 "处理跨环业务的方法和相交节点" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. CN 201110211827.3, filed on July 27, 2011, entitled "Method and Intersection Node for Handling Cross-Ring Business", the entire contents of which are incorporated by reference. In this application.
技术领域 Technical field
本发明涉及通信领域, 特别涉及通信领域中处理跨环业务的方法和相交 节点。 背景技术  The present invention relates to the field of communications, and in particular to a method and an intersecting node for processing a cross-ring service in the field of communications. Background technique
多协议标签交换(Multi-Protocol Label Switching, 筒称为 "MPLS" )是 一种用于快速数据包交换和路由的技术, MPLS能够实现分组业务的快速转 发。 传统上的基于 MPLS 的网络采用快速重路由 (Fast ReRoute, 筒称为 "FRR" )和自动保护倒换 ( Automatic Protection Switching, 筒称为 "APS" ) 等技术对网络进行保护。然而,这些技术配置工作量大, 网络资源开销也大。  Multi-Protocol Label Switching ("MPLS") is a technology for fast packet switching and routing. MPLS enables fast packet forwarding. Traditionally, MPLS-based networks use technologies such as Fast Reroute ("FRR") and Automatic Protection Switching ("APS") to protect the network. However, these technical configurations have a large workload and a large network resource overhead.
传统传送网广泛使用环形结构, 因此, 随着 MPLS技术在传输领域的广 泛应用, 尤其是基于 MPLS 功能实现的分组传送网 (Packet Transport Network, 筒称为 "PTN" )技术广泛应用于移动回传承载网,运营商对 MPLS 支持环网功能具有强烈的需求。 并且随着接入环、 汇聚环和核心环层层相嵌 的组网方式也被越来越多地应用, 随之也要求筒洁高效的相交环处理技术。  The traditional transport network widely uses the ring structure. Therefore, with the widespread application of MPLS technology in the transmission field, especially the packet transport network (Packet Transport Network, called "PTN") technology based on MPLS function is widely used in mobile backhaul. The bearer network has strong requirements for MPLS to support ring network functions. And the networking mode in which the access ring, the aggregation ring, and the core ring layer are embedded is also being applied more and more, and accordingly, a clean and efficient intersecting ring processing technology is required.
目前, 业务粒度相交环技术主要是通过相交节点根据跨环业务在目的环 通道的下环节点来将业务绑入新的环通道,从而实现跨环。具体实现的时候, 需要控制平面将跨环业务的环业务标签和目的环的环通道的绑定关系配置 到转发平面。 因此, 对于每个跨环业务, 相交节点需要分别配置不同的跨环 转发策略, 由于业务的数量庞大, 因此导致***开销较大。 发明内容  At present, the service granularity intersecting ring technology mainly implements the cross-ring by binding the service to the new ring channel according to the cross-ring service in the lower ring node of the destination ring channel. In the specific implementation, the control plane needs to configure the binding relationship between the ring service label of the cross-ring service and the ring channel of the destination ring to the forwarding plane. Therefore, for each cross-ring service, the intersecting nodes need to be configured with different cross-ring forwarding policies. As the number of services is large, the system overhead is large. Summary of the invention
本发明实施例提供了一种处理跨环业务的方法和相交节点, 能够避免对 于每个业务分别配置不同的跨环转发策略,从而能够降低处理跨环业务的开 销, 提高处理跨环业务的效率。 一方面, 本发明实施例提供了一种处理跨环业务的方法, 该方法包括: 源环形网络和目的环形网络的第一相交节点在该源环形网络中接收沿第一 方向传输的跨环报文, 该跨环报文包括源环通道标签和第一目的环节点指示 标签, 该源环通道标签用于使该跨环报文在该源环形网络中, 沿该第一方向 向该第一相交节点传输; 该第一相交节点根据该第一目的环节点指示标签确 定第一目的环通道标签, 该第一目的环通道标签用于使该跨环报文在该目的 环形网络中, 沿第二方向向下环节点传输; 该第一相交节点将该跨环报文的 该源环通道标签替换为该第一目的环通道标签; 该第一相交节点在该目的环 形网络中, 沿该第二方向向该下环节点发送包括该第一目的环通道标签的该 跨环报文。 The embodiments of the present invention provide a method for processing a cross-ring service and an intersecting node, which can prevent different cross-ring forwarding policies from being configured for each service, thereby reducing the overhead of processing the cross-ring service and improving the efficiency of processing the cross-ring service. . In one aspect, an embodiment of the present invention provides a method for processing a cross-ring service, where the method includes: a first ring node of a source ring network and a destination ring network receiving a cross-ring report transmitted in a first direction in the source ring network The cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used to make the cross-ring packet in the source ring network, along the first direction to the first Intersect node transmission; the first intersecting node determines a first destination ring channel label according to the first destination ring node indication label, where the first destination ring channel label is used to make the cross-ring packet in the destination ring network, along the The second intersecting node transmits the source ring channel label of the cross-ring packet to the first destination ring channel label; the first intersecting node is in the destination ring network, along the first The second direction sends the cross-loop packet including the first destination ring channel label to the lower ring node.
另一方面, 本发明实施例提供了一种相交节点, 该相交节点包括: 接收 单元, 用于在源环形网络中接收沿第一方向传输的跨环报文, 该跨环报文包 括源环通道标签和第一目的环节点指示标签, 该源环通道标签用于使该跨环 报文在该源环形网络中, 沿该第一方向向该相交节点传输; 第一确定单元, 用于根据该第一目的环节点指示标签确定第一目的环通道标签,该第一目的 环通道标签用于使该跨环报文在目的环形网络中, 沿第二方向向下环节点传 输; 第一替换单元, 用于将该跨环报文的该源环通道标签替换为该第一目的 环通道标签; 第一发送单元, 用于在该目的环形网络中, 沿该第二方向向该 下环节点发送包括该第一目的环通道标签的该跨环报文。  On the other hand, an embodiment of the present invention provides an intersecting node, where the intersecting node includes: a receiving unit, configured to receive, in a source ring network, a cross-ring packet that is transmitted in a first direction, where the cross-ring packet includes a source ring. a channel label and a first destination ring node indication label, where the source ring channel label is used to transmit the cross-ring packet in the source ring network to the intersecting node in the first direction; The first destination ring node indication label determines a first destination ring channel label, where the first destination ring channel label is used to enable the cross-ring message to be transmitted to the lower ring node in the second direction in the destination ring network; a unit, configured to replace the source ring channel label of the cross-ring packet with the first destination ring channel label; the first sending unit, configured to, in the destination ring network, the second ring direction to the lower ring node Sending the cross-loop message including the first destination ring channel label.
基于上述技术方案, 本发明实施例的处理跨环业务的方法和相交节点, 通过在跨环报文上添加目的环节点指示标签, 用于指示该跨环报文在目的环 形网络中的下环节点,从而能够在相交节点的控制平面和转发平面都屏蔽掉 业务层次的处理, 因而能够避免对于每个业务分别配置不同的跨环转发策 略, 从而能够降低处理跨环业务的开销, 提高处理跨环业务的效率。 附图说明  Based on the foregoing technical solution, the method for processing a cross-ring service and the intersecting node in the embodiment of the present invention, by adding a destination ring node indication label to the cross-ring packet, is used to indicate the lower link of the cross-ring packet in the destination ring network. Therefore, the processing of the service layer and the forwarding plane of the intersecting node can be shielded from the service level, so that different cross-ring forwarding policies can be configured for each service, thereby reducing the overhead of processing the cross-ring service and improving the processing cross. The efficiency of the ring business. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是根据本发明实施例的处理跨环业务的方法的示意性流程图。 图 2是根据本发明实施例的网络结构的示意性框图。 FIG. 1 is a schematic flowchart of a method for processing a cross-ring service according to an embodiment of the present invention. 2 is a schematic block diagram of a network structure in accordance with an embodiment of the present invention.
图 3是根据本发明另一实施例的处理跨环业务的方法的示意性流程图。 图 4是根据本发明另一实施例的网络结构的示意性框图。  FIG. 3 is a schematic flowchart of a method for processing a cross-ring service according to another embodiment of the present invention. 4 is a schematic block diagram of a network structure in accordance with another embodiment of the present invention.
图 5是根据本发明实施例的相交节点的示意性框图。  Figure 5 is a schematic block diagram of an intersecting node in accordance with an embodiment of the present invention.
图 6是根据本发明另一实施例的相交节点的示意性框图。  6 is a schematic block diagram of an intersecting node in accordance with another embodiment of the present invention.
图 7是根据本发明实施例的跨环网络***的示意性框图。  7 is a schematic block diagram of a cross-loop network system in accordance with an embodiment of the present invention.
图 8是根据本发明另一实施例的跨环网络***的示意性框图。 具体实施方式  FIG. 8 is a schematic block diagram of a cross-ring network system according to another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
应理解, 本发明的技术方案可以应用于各种通信***, 例如: 全球移动 通讯(Global System of Mobile communication, 筒称为 "GSM" )***、 码分 多址(Code Division Multiple Access, 筒称为 "CDMA" ) ***、 宽带码分多 址(Wideband Code Division Multiple Access , 筒称为 "WCDMA" )***、 通 用分组无线业务(General Packet Radio Service, 筒称为 "GPRS" )、 长期演 进(Long Term Evolution, 筒称为 "LTE" ) ***、 LTE频分双工(Frequency Division Duplex ,筒称为 "FDD" )***、 LTE时分双工( Time Division Duplex , 筒称为 "TDD,,)、 通用移动通信*** ( Universal Mobile Telecommunication System, 筒称为 "UMTS" )等。  It should be understood that the technical solution of the present invention can be applied to various communication systems, for example: Global System of Mobile communication ("GSM") system, code division multiple access (Code Division Multiple Access) "CDMA") system, Wideband Code Division Multiple Access ("WCDMA") system, General Packet Radio Service ("General Packet Radio Service"), Long Term Evolution (Long Term) Evolution, the tube is called "LTE" system, LTE frequency division duplex ("Fludency Division Duplex") system, LTE time division duplex (Time Division Duplex, tube called "TDD,"), universal mobile Communication system (Universal Mobile Telecommunication System, called "UMTS").
还应理解, 本发明实施例主要以在 MPLS网络的相交环场景中, 处理跨 环业务为例进行说明, 但本发明实施例并不限于此, 本发明实施例还可以应 用于其它环网的相交环场景。  It should be understood that the embodiment of the present invention is mainly described by taking the cross-ring service in the intersecting ring scenario of the MPLS network as an example, but the embodiment of the present invention is not limited thereto, and the embodiment of the present invention may also be applied to other ring networks. Intersecting ring scenes.
图 1示出了根据本发明实施例的处理跨环业务的方法的示意性流程图。 如图 1所示, 该方法包括:  FIG. 1 shows a schematic flow chart of a method for processing a cross-ring service according to an embodiment of the present invention. As shown in Figure 1, the method includes:
S110, 源环形网络和目的环形网络的第一相交节点在该源环形网络中接 收沿第一方向传输的跨环报文, 该跨环报文包括源环通道标签和第一目的环 节点指示标签, 该源环通道标签用于使该跨环报文在该源环形网络中, 沿该 第一方向向该第一相交节点传输, 该第一目的环节点指示标签用于指示该跨 环报文在该目的环形网络中的下环节点; S110, the first intersecting node of the source ring network and the destination ring network receives the cross-ring packet transmitted in the first direction in the source ring network, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label. The source ring channel label is configured to transmit the cross-ring packet to the first intersecting node in the first ring direction in the source ring network, where the first destination ring node indicator is used to indicate the cross The ring message is a lower ring node in the destination ring network;
S120,该第一相交节点根据该第一目的环节点指示标签确定第一目的环 通道标签, 该第一目的环通道标签用于使该跨环 4艮文在该目的环形网络中, 沿第二方向向下环节点传输;  S120, the first intersecting node determines, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring 4 in the destination ring network, along the second Directional transmission to the ring node;
S130,该第一相交节点将该跨环报文的该源环通道标签替换为该第一目 的环通道标签;  S130. The first intersecting node replaces the source ring channel label of the cross-ring packet with the first-purpose ring channel label.
S140, 该第一相交节点在该目的环形网络中, 沿该第二方向向该下环节 点发送包括该第一目的环通道标签的该跨环报文。  S140, the first intersecting node sends the cross-loop packet including the first destination ring channel label to the lower link in the second direction in the destination ring network.
源环形网络和目的环形网络所共有的第一相交节点,在源环形网络中接 收到跨环报文后, 可以根据该跨环报文包括的第一目的环节点指示标签, 确 定第一目的环通道标签, 以及将该跨环报文包括的源环通道标签替换为该第 一目的环通道标签并转发,从而使得该跨环报文可以基于该第一目的环节点 指示标签进行跨环处理。  The first intersecting node shared by the source ring network and the destination ring network may determine the first destination ring according to the first destination ring node indication label included in the cross-ring packet after receiving the cross-ring packet in the source ring network. The channel label is replaced with the source ring channel label included in the cross-ring packet and forwarded to the first destination ring channel label, so that the cross-ring packet can be cross-loop processed based on the first destination ring node indication label.
因此, 本发明实施例的处理跨环业务的方法, 通过在跨环报文上添加目 的环节点指示标签, 用于指示该跨环报文在目的环形网络中的下环节点, 从 而能够在相交节点的控制平面和转发平面都屏蔽掉业务层次的处理, 因而能 够避免对于每个业务分别配置不同的跨环转发策略,从而能够降低处理跨环 业务的开销, 提高处理跨环业务的效率。  Therefore, the method for processing the cross-ring service in the embodiment of the present invention is to add the destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so as to be able to intersect. Both the control plane and the forwarding plane of the node are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
并且, 本发明实施例通过使用目的环节点指示标签用于指示跨环报文在 目的环形网络中的下环节点, 能够实现跨环业务的端到端封装, 即只有在下 环节点和入环节点才会对业务进行处理。 并且该方法的配置量小, 相交节点 的跨环处理与业务无关, 即业务的添加、 删除或修改等都不会影响到相交节 点的配置。 因此, 相交点根据环节点指示标签进行倒换, 不仅倒换速度快, ***开销也小。  In addition, the embodiment of the present invention can implement the end-to-end encapsulation of the cross-ring service by using the destination ring node indication label to indicate the cross-ring packet in the destination ring network, that is, only the lower ring node and the ingress ring node. The business will be processed. Moreover, the configuration of the method is small, and the cross-ring processing of the intersecting nodes is independent of the service, that is, the addition, deletion, or modification of the service does not affect the configuration of the intersecting nodes. Therefore, the intersection point is switched according to the ring node indication label, which not only has a fast switching speed but also a small system overhead.
可选地, 在本发明实施例中, 在该第一相交节点接收该跨环报文之前, 处理跨环业务的该方法还包括: 该第一相交节点向该源环形网络中的至少一 个节点或每个节点分别发送该第一目的环节点指示标签。  Optionally, in the embodiment of the present invention, before the first intersecting node receives the cross-ring packet, the method for processing the cross-ring service further includes: the first intersecting node to at least one node in the source ring network Or each node separately sends the first destination ring node indication label.
即在本发明实施例中, 用于指示跨环报文在目的环形网络中的下环节点 的第一目的环节点指示标签, 需要配置给源环形网络中的至少一个节点, 例 如跨环业务的上环节点, 或配置给源环形网络的所有节点, 从而当跨环业务 从固定的节点上环, 或从源环形网络的任意节点上环时, 源环形网络的上环 节点能够给跨环报文添加该第一目的环节点指示标签。 That is, in the embodiment of the present invention, the first destination ring node indication label of the lower ring node indicating the cross-ring packet in the destination ring network needs to be configured to at least one node in the source ring network, for example, a cross-ring service. The upper ring node, or all nodes assigned to the source ring network, so that when the cross-ring service rings from a fixed node or rings from any node of the source ring network, the ring of the source ring network The node can add the first destination ring node indication label to the cross-ring message.
可选地, 在 S120中, 该第一相交节点根据该第一目的环节点指示标签 与该第一目的环通道标签的对应关系, 确定该第一目的环通道标签。 例如, 在第一相交节点中保持有该第一目的环节点指示标签与该第一目的环通道 标签的对应表项, 从而第一相交节点根据该对应关系, 通过查找该对应表项 可以确定该第一目的环通道标签。  Optionally, in S120, the first intersecting node determines the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label. For example, the first destination node indicates that the first destination ring node indicates a corresponding entry of the label and the first destination ring channel label, so that the first intersecting node can determine the corresponding entry according to the corresponding relationship. The first destination ring channel label.
下面将结合图 2所示的网络结构,对本发明实施例的处理跨环业务的方 法进行详细描述。  The method for processing the cross-ring service according to the embodiment of the present invention will be described in detail below with reference to the network structure shown in FIG.
如图 2所示, 源环形网络包括六个节点, 即节点 A、 节点 B、 节点 C、 节点 D、 节点 E1和节点 F, 目的环形网络包括六个节点, 分别为节点 D、 节点 E2、 节点 F、 节点 G、 节点 H和节点 I, 其中节点 D和节点 F为该源环 形网络和该目的环形网络所共有,即节点 D和节点 F是该源环形网络和该目 的环形网络的相交节点。 应理解, 本发明实施例以源环形网络和目的环形网 络分别包括六个节点为例, 但本发明实施例并不限于此, 例如源环形网络和 目的环形网络可以包括更多或更少的节点。  As shown in FIG. 2, the source ring network includes six nodes, namely, node A, node B, node C, node D, node E1, and node F. The destination ring network includes six nodes, which are node D, node E2, and node respectively. F, node G, node H and node I, wherein node D and node F are common to the source ring network and the destination ring network, that is, node D and node F are intersection nodes of the source ring network and the destination ring network. It should be understood that, in the embodiment of the present invention, the source ring network and the destination ring network respectively include six nodes, but the embodiment of the present invention is not limited thereto. For example, the source ring network and the destination ring network may include more or fewer nodes. .
假设节点 G和节点 I是目的环形网络的两个下环节点,相交节点 F或相 交节点 D可以根据目的环形网络的下环节点, 分配目的环节点指示标签, 并 配置给源环形网络的所有其它节点。例如,相交节点 F或相交节点 D分配目 的环节点指示标签 Labd_G, 表示如果有报文带着该标签到达相交节点 F或 D, 则此报文会被认为需要被转发到目的环形网络的节点 G下环。 类似地, 相交节点 F或相交节点 D还可以分配目的环节点指示标签 LabeU, 表示跨 环报文在目的环形网络中的下环节点为节点 I。 应理解, 目的环节点指示标 签也可以由其它网络侧设备分配, 例如由网关根据相关协议进行分配。  It is assumed that the node G and the node I are two lower ring nodes of the destination ring network, and the intersecting node F or the intersecting node D can allocate the destination ring node indication label according to the lower ring node of the destination ring network, and configure all other resources to the source ring network. node. For example, the intersecting node F or the intersecting node D allocates the destination ring node indication label Labd_G, indicating that if a message arrives at the intersecting node F or D with the label, the message is considered to be forwarded to the node G of the destination ring network. Lower ring. Similarly, the intersecting node F or the intersecting node D can also allocate the destination ring node indication label LabeU, indicating that the lower ring node of the cross-ring message in the destination ring network is node I. It should be understood that the destination ring node indication tag may also be assigned by other network side devices, for example by the gateway according to the relevant protocol.
在本发明实施例中, 不同的相交节点针对相同的下环节点所分配的目的 环节点指示标签相同,相同的或不同的相交节点针对不同的下环节点所分配 的目的环节点指示标签不同。例如,相交节点 F或相交节点 D针对下环节点 G分配的指示标签 Labd_G相同,但相交节点 F或相交节点 D针对下环节点 G和 I分配的指示标签 Labd_G和 LabeU不同。  In the embodiment of the present invention, the destination ring nodes that are assigned by the different intersecting nodes to the same lower ring node indicate the same label, and the same or different intersecting nodes indicate different labels for the destination ring nodes allocated by the different lower ring nodes. For example, the intersecting node F or the intersecting node D is the same for the indication label Labd_G assigned to the lower ring node G, but the intersecting node F or the intersecting node D is different for the indication labels Labd_G and LabeU assigned to the lower ring nodes G and I.
如图 2所示, 以跨环业务从源环形网络的节点 A上环, 并从目的环形网 络的节点 I下环为例进行说明。 节点 A接收到跨环报文, 从而该跨环报文进 入源环形网络。 该跨环 文可以依次被添加上用于指示业务的环业务标签 ( Tunnel标签)、 第一目的环节点指示标签( Lable_G )和源环通道标签, 该 第一目的环节点指示标签 Lable_G用于指示该跨环报文在目的环形网络中的 下环节点为节点 G, 该源环通道标签用于使该跨环报文在源环形网络中沿第 一方向向第一相交节点 F传输。节点 A根据该源环通道标签,通过跨环环通 道将该跨环报文转发到第一相交节点 F。 As shown in FIG. 2, the cross-ring service is looped from the node A of the source ring network, and the node I of the destination ring network is taken as an example. Node A receives the cross-ring packet, so that the cross-ring packet enters the source ring network. The cross-ring text can be added with a ring service label for indicating the service in turn. a tunnel label, a first destination ring node indication label (Lable_G), and a source ring channel label. The first destination ring node indication label Lable_G is used to indicate that the cross-ring packet in the destination ring network is a node G. The source ring channel label is configured to transmit the cross-ring message to the first intersecting node F in the first direction in the source ring network. The node A forwards the cross-ring message to the first intersecting node F through the cross-ring ring channel according to the source ring channel label.
第一相交节点 F在源环形网络中接收沿第一方向发送的该跨环报文,并 可以根据该第一目的环节点指示标签 Lable_G确定第一目的环通道标签, 该 第一目的环通道标签用于使该跨环报文在该目的环形网络中沿第二方向向 该下环节点 G传输。随后,第一相交节点 F在将该跨环报文的该源环通道标 签替换为该第一目的环通道标签之后, 在该目的环形网络中沿该第二方向, 向该下环节点发送包括该第一目的环通道标签的该跨环报文。根据该第一目 的环通道标签,该跨环艮文可以在目的环形网络中从第一相交节点 F顺利到 达目的环形网络的下环节点 G。  The first intersecting node F receives the cross-ring packet sent in the first direction in the source ring network, and can determine the first destination ring channel label according to the first destination ring node indication label Lable_G, the first destination ring channel label And transmitting the cross-ring packet to the lower ring node G in the second direction in the destination ring network. Then, after the first ring node label of the cross-ring packet is replaced with the first destination ring channel label, the first intersecting node F sends the label to the lower ring node along the second direction in the destination ring network. The cross-loop message of the first destination ring channel label. According to the ring channel label of the first destination, the cross-loop text can smoothly reach the lower ring node G of the destination ring network from the first intersecting node F in the destination ring network.
其中,第一相交节点 F将该跨环报文的该源环通道标签替换为该第一目 的环通道标签, 具体可以是: 第一相交节点 F首先剥离该源环通道标签, 然 后再将该跨环报文封装上第一目的环通道标签,从而使得该跨环报文能够顺 利到达下环节点 G。  The first intersecting node F replaces the source ring channel label of the cross-ring packet with the first destination ring channel label, and specifically: the first intersecting node F first strips the source ring channel label, and then The first destination ring channel label is encapsulated in the cross-ring packet, so that the cross-ring packet can reach the lower ring node G smoothly.
在本发明实施例中, 跨环报文在环上的传输方向可以配置, 即跨环报文 跨环后的传输方向可以与原传输方向相同, 也可以相反。 即可选地, 该第一 方向与该第二方向相同或相反。 优选地, 该第一方向与该第二方向相同。  In the embodiment of the present invention, the transmission direction of the cross-ring packet on the ring can be configured, that is, the transmission direction of the cross-ring packet after the cross-ring can be the same as the original transmission direction, or vice versa. That is, the first direction is the same as or opposite to the second direction. Preferably, the first direction is the same as the second direction.
在本发明实施例中, 在确定该下环节点不可达时, 第一相交节点可以根 据该源环通道标签,在该源环形网络中沿该第一方向向该源环形网络和该目 的环形网络的第二相交节点发送该跨环报文。  In the embodiment of the present invention, when determining that the lower ring node is unreachable, the first intersecting node may, according to the source ring channel label, the source ring network and the destination ring network in the source ring network in the source ring network. The second intersecting node sends the cross-ring message.
例如, 如果节点 F和节点 G之间出现故障, 跨环业务从节点 A上环并 从节点 G下环,那么当第一相交节点 F接收到跨环报文后,在确定该下环节 点 G不可达时,第一相交节点 F可以根据该源环通道标签,在该源环形网络 中沿该第一方向向第二相交节点 D发送该跨环报文。  For example, if there is a fault between the node F and the node G, the cross-ring service is looped from the node A and the node G is looped. Then, after the first intersecting node F receives the cross-ring packet, the lower ring node G is determined. When the data is unreachable, the first intersecting node F may send the cross-loop message to the second intersecting node D along the first direction in the source ring network according to the source ring channel label.
第二相交节点 D接收到沿第一方向发送的该跨环报文后,可以根据该跨 环报文包括的第一目的环节点指示标签 Lable_G确定第一目的环通道标签, 该第一目的环通道标签用于将该跨环报文在该目的环形网络中沿第二方向 向该下环节点 G发送。 随后, 第二相交节点 D在将该跨环报文的该源环通 道标签替换为该第一目的环通道标签之后,在该目的环形网络中沿该第二方 向, 向该下环节点发送包括该第一目的环通道标签的该跨环报文。 由于该跨 环 4艮文包括该第一目的环通道标签, 因此该跨环艮文可以在目的环形网络 中, 从第二相交节点 D顺利到达目的环形网络的下环节点 G。 After receiving the cross-ring packet sent in the first direction, the second intersecting node D may determine the first destination ring channel label according to the first destination ring node indication label Lable_G included in the cross-ring packet, the first destination ring The channel label is configured to send the cross-ring packet to the lower ring node G in the second direction in the destination ring network. Subsequently, the second intersecting node D is in the source loop of the cross-ring message After the track label is replaced with the first target ring channel label, the cross-loop message including the first destination ring channel label is sent to the lower ring node in the second direction in the destination ring network. Since the cross-loop message includes the first destination ring channel label, the cross-loop text can smoothly reach the lower ring node G of the destination ring network from the second intersecting node D in the destination ring network.
因此, 本发明实施例的处理跨环业务的方法, 通过在跨环报文上添加目 的环节点指示标签, 用于指示该跨环报文在目的环形网络中的下环节点, 从 而能够在相交节点的控制平面和转发平面都屏蔽掉业务层次的处理, 因而能 够避免对于每个业务分别配置不同的跨环转发策略,从而能够降低处理跨环 业务的开销, 提高处理跨环业务的效率。  Therefore, the method for processing the cross-ring service in the embodiment of the present invention is to add the destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so as to be able to intersect. Both the control plane and the forwarding plane of the node are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
在本发明实施例中, 当该目的环形网络包括第一目的环形网络和第二目 的环形网络, 该第一目的环形网络与该源环形网络相交, 该第二目的环形网 络与该第一目的环形网络相交, 该第二目的环形网络与该源环形网络不相 交, 并且该第一目的环节点指示标签由该源环形网络和该第一目的环形网络 的该第一相交节点或第二相交节点分配, 并且该第一目的环节点指示标签用 于指示的该下环节点为该第二目的环形网络中的下环节点时, 如图 3所示, 根据本发明实施例的处理跨环业务的方法可以包括:  In the embodiment of the present invention, when the destination ring network includes a first destination ring network and a second destination ring network, the first destination ring network intersects the source ring network, and the second destination ring network and the first destination ring The network intersects, the second destination ring network does not intersect the source ring network, and the first destination ring node indication label is allocated by the source ring network and the first intersecting node or the second intersecting node of the first destination ring network And when the first destination ring node indicates that the lower ring node is the lower ring node in the second destination ring network, as shown in FIG. 3, the method for processing the cross-ring service according to the embodiment of the present invention Can include:
S210, 源环形网络和目的环形网络的第一相交节点在该源环形网络中接 收沿第一方向传输的跨环报文, 该跨环报文包括源环通道标签和第一目的环 节点指示标签, 该源环通道标签用于使该跨环报文在该源环形网络中, 沿该 第一方向向该第一相交节点传输, 该第一目的环节点指示标签用于指示该跨 环报文在该第二目的环形网络中的下环节点;  S210, the first intersecting node of the source ring network and the destination ring network receives the cross-ring packet transmitted in the first direction in the source ring network, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label. The source ring channel label is configured to transmit the cross-ring packet to the first intersecting node in the first ring direction in the source ring network, where the first destination ring node indicator label is used to indicate the cross-ring packet. a lower ring node in the second destination ring network;
S220,该第一相交节点根据该第一目的环节点指示标签确定第一目的环 通道标签, 该第一目的环通道标签用于使该跨环 4艮文在该目的环形网络中, 沿第二方向向下环节点传输;  S220, the first intersecting node determines, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring 4 in the destination ring network, along the second Directional transmission to the ring node;
S230,该第一相交节点将该跨环报文的该源环通道标签替换为该第一目 的环通道标签;  S230, the first intersecting node replaces the source ring channel label of the cross-ring packet with the first-purpose ring channel label;
S240, 该第一相交节点根据该第一目的环节点指示标签, 以及该第一目 的环节点指示标签与第二目的环节点指示标签的对应关系,确定该第二目的 环节点指示标签,该第二目的环节点指示标签由该第一目的环形网络和该第 二目的环形网络的第三相交节点或第四相交节点分配, 并且该第二目的环节 点指示标签用于指示该跨环报文在该第二目的环形网络中的下环节点; S250,该第一相交节点将该第一目的环节点指示标签替换为该第二目的 环节点指示标签; S240, the first intersecting node determines, according to the first destination ring node indication label, and the corresponding relationship between the first destination ring node indication label and the second destination ring node indication label, the second destination ring node indication label, the first The second destination ring node indication label is allocated by the first destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network, and the second destination ring node indication label is used to indicate that the cross-ring message is a lower ring node in the second destination ring network; S250. The first intersecting node replaces the first destination ring node indication label with the second destination ring node indication label.
S260, 该第一相交节点在该第一目的环形网络中, 沿该第二方向向该下 环节点发送包括该第一目的环通道标签和该第二目的环节点指示标签的该 跨环报文, 该第一目的环通道标签用于使该跨环报文在该第一目的环形网络 中沿该第二方向向该下环节点传输, 以便于该第三相交节点或该第四相交节 点根据该第二目的环节点指示标签确定第二目的环通道标签, 并将该第一目 的环通道标签替换为该第二目的环通道标签,从而使得包括该第二目的环通 道标签的该跨环报文能够在该第二目的环形网络中沿第三方向向该下环节 点传输。  S260, the first intersecting node sends, in the first destination ring network, the cross-ring packet including the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction The first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so that the third intersecting node or the fourth intersecting node is configured according to the The second destination ring node indicates that the label determines the second destination ring channel label, and replaces the first destination ring channel label with the second destination ring channel label, so that the cross-loop report including the second destination ring channel label The text can be transmitted to the lower ring node in the third direction in the second destination ring network.
应理解, 上述各过程的序号的大小并不意味着执行顺序的先后, 各过程 的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施过程 构成任何限定。 例如, S220和 S230可以在 S240和 S250之后执行, 也可以 同时执行 S220和 S240, 以及同时执行 S230和 S250。  It should be understood that the size of the sequence numbers of the above processes does not imply a sequence of executions, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention. For example, S220 and S230 may be executed after S240 and S250, or S220 and S240 may be simultaneously executed, and S230 and S250 may be simultaneously executed.
如图 4所示, 以目的环形网络包括第一目的环形网络和第二目的环形网 络为例, 并以跨环业务从源环形网络的节点 A上环, 经过相交节点 F、 相交 节点 G,从第二目的环形网络的节点 L下环为例进行说明。相交节点 F接收 到节点 A传输的跨环报文,该跨环报文包括源环通道标签和第一目的环节点 指示标签, 该第一目的环节点指示标签用于指示的该下环节点为第二目的环 形网络的节点 L。 之后, 相交节点 F不仅需要根据该第一目的环节点指示标 签确定第一目的环通道标签, 并将该跨环报文的源环通道标签替换为第一目 的环通道标签, 还需要根据该第一目的环节点指示标签, 以及该第一目的环 节点指示标签与第二目的环节点指示标签的对应关系,确定该第二目的环节 点指示标签,并将该由相交节点 F或相交节点 D分配的第一目的环节点指示 标签替换为相交节点 G或相交节点 I分配的该第二目的环节点指示标签,并 向该下环节点 L发送包括该第一目的环通道标签和该第二目的环节点指示 标签的该跨环报文, 该第二目的环节点指示标签用于指示该跨环报文在该第 二目的环形网络中的下环节点。  As shown in FIG. 4, the destination ring network includes a first destination ring network and a second destination ring network, and the cross-ring service is connected from the node A of the source ring network, through the intersecting node F, and the intersecting node G. The node L lower ring of the second destination ring network is taken as an example for description. The intersecting node F receives the cross-ring packet transmitted by the node A, and the cross-loop packet includes a source ring channel label and a first destination ring node indication label, where the first destination ring node indication label is used to indicate that the lower ring node is The node L of the second destination ring network. Then, the intersecting node F needs to determine the first destination ring channel label according to the first destination ring node indication label, and replace the source ring channel label of the cross-ring packet with the first destination ring channel label. a destination ring node indication label, and a correspondence between the first destination ring node indication label and the second destination ring node indication label, determining the second destination ring node indication label, and allocating the intersecting node F or the intersecting node D The first destination ring node indication label is replaced with the second destination ring node indication label allocated by the intersecting node G or the intersecting node I, and the first destination ring channel label and the second destination link are sent to the lower ring node L. The second destination ring node indication label is used to indicate the lower ring node of the cross-ring packet in the second destination ring network.
应理解,在跨环业务上环之前,相交节点 F或相交节点 D需要对于第一 和第二目的环形网络的下环节点配置相应的目的环节点指示标签, 并告知源 环形网络的各节点,相交节点 G或相交节点 I需要对于第二目的环形网络的 下环节点配置相应的目的环节点指示标签, 并告知相交节点 F和 D, 其中, 对于相同的下环节点,相交节点 F或相交节点 D配置的指示标签可以与相交 节点 G或相交节点 I配置的指示标签不同, 当然也可以相同。 即沿跨环业务 的流向,在前的环形网络的相交节点需要为在后的环形网络的下环节点配置 相应的指示标签, 并告知与之前的环形网络的相交节点。 但是对于源环形网 络的相交节点而言, 配置的指示标签还需要告诉源环形网络的所有节点, 以 便于跨环业务上环时, 相应的节点能够给跨环报文添加相应的指示标签。 It should be understood that before the ring-over service is ringed, the intersecting node F or the intersecting node D needs to configure corresponding target ring node indication labels for the lower ring nodes of the first and second destination ring networks, and inform each node of the source ring network, The intersecting node G or the intersecting node I needs to be for the second purpose ring network The lower ring node configures the corresponding destination ring node indication label and informs the intersecting nodes F and D, wherein, for the same lower ring node, the indication label of the intersecting node F or the intersecting node D can be configured with the intersecting node G or the intersecting node I. The indicator labels are different, and of course they can be the same. That is, along the flow of the cross-ring service, the intersecting nodes of the preceding ring network need to configure corresponding indication labels for the lower ring nodes of the subsequent ring network, and inform the intersecting nodes with the previous ring network. However, for the intersecting nodes of the source ring network, the configured indicator label needs to tell all the nodes of the source ring network, so that when the cross-ring service is looped, the corresponding node can add corresponding indication labels to the cross-ring packets.
应理解,相交节点 G接收到相交节点 F传输的跨环报文后,根据该跨环 报文包括的第二目的环节点指示标签, 可以获知该跨环报文需要从第二目的 环形网络的节点 L下环。 该相交节点 G可以才艮据该第二目的环节点指示标 签, 以及该第二目的环节点指示标签与第二目的环通道标签的对应关系, 确 定该第二目的环通道标签,该第二目的环通道标签用于将该跨环报文在该第 二目的环形网络中沿第三方向向该下环节点 L发送。 相交节点 G还需要将 该跨环报文的第一目的环通道标签替换为该第二目的环通道标签, 并在该第 二目的环形网络中沿该第三方向,向该下环节点 L发送包括该第二目的环通 道标签的该跨环报文。 其中, 第一方向、 第二方向和第三方向中的任意两个 方向可以相同, 也可以不相同。 由于该跨环 4艮文包括第二目的环通道标签, 因而该跨环报文在第二目的环形网络中能够顺利地从节点 L下环。  It should be understood that, after the intersecting node G receives the cross-ring packet transmitted by the intersecting node F, according to the second destination ring node indication label included in the cross-ring packet, the cross-ring packet needs to be learned from the second destination ring network. Node L is down. The intersection node G can determine the second destination ring channel label according to the second destination ring node indication label and the correspondence between the second destination ring node indication label and the second destination ring channel label, and the second destination The ring channel label is configured to send the cross-ring message to the lower ring node L in the third direction in the second destination ring network. The intersecting node G further needs to replace the first destination ring channel label of the cross-ring packet with the second destination ring channel label, and send the second destination ring network label to the lower ring node L along the third direction in the second destination ring network. The cross-loop message including the second destination ring channel label. The two directions of the first direction, the second direction, and the third direction may be the same or different. Since the cross-loop message includes the second destination ring channel label, the cross-ring packet can be smoothly looped from the node L in the second destination ring network.
应理解, 对于目的环形网络包括更多的环形网络的情况, 可以认为目的 环形网络包括第一和第二目的环形网络, 其中第二目的环形网络包括第三和 第四目的环形网络等, 由此对于该第二目的环形网络而言, 可以参考本发明 实施例中的方法进行类似地处理。  It should be understood that, for the case where the destination ring network includes more ring networks, the destination ring network may be considered to include the first and second destination ring networks, wherein the second destination ring network includes the third and fourth destination ring networks, etc., thereby For the second destination ring network, similar processing can be performed by referring to the method in the embodiment of the present invention.
应理解, 在本发明实施例中, 目的环形网络可以包括一个或多个环形网 络, 本发明实施例仅以目的环形网络包括两个环形网络, 并且以其中一种指 示标签配置方案为例进行说明, 但本发明实施例并不限于此。 根据不同的指 示标签配置方案,可以通过替换或者嵌套节点指示标签的方式让报文跨多个 环。  It should be understood that, in the embodiment of the present invention, the destination ring network may include one or more ring networks. In the embodiment of the present invention, only the ring network includes two ring networks, and one of the indicator label configuration schemes is taken as an example for description. However, embodiments of the invention are not limited thereto. According to different indication label configuration schemes, messages can be spanned across multiple rings by replacing or nesting node indication labels.
例如, 当目的环形网络包括依次与源环形网络相连的 N个环形网络,该 N各环形网络依次称为第一环形网络、第二环形网络…第 N环形网络, 其中 N大于或等于 时, 用于指示最终的下环节点的目的环节点指示标签可以由 源环形网络和第一目的环形网络的相交节点分配, 或者由其它网络侧设备分 配, 该第一目的环节点指示标签可以至少配置给源环形网络所有节点、 第一 环形网络和第二环形网络的相交节点、 以及其它的相交节点。 因此, 第 i环 形网络的相交节点可以根据该目的环节点指示标签,确定用于跨环报文在第 i+1环形网络内传输的目的环通道标签,从而该跨环 4艮文可以传输到该第 i+1 环形网络与第 i+2环形网络的相交节点, 因而该跨环 4艮文可以最终顺利到达 下环节点。 For example, when the destination ring network includes N ring networks sequentially connected to the source ring network, the N ring networks are sequentially referred to as a first ring network, a second ring network, an Nth ring network, where N is greater than or equal to, The destination ring node indication label indicating the final lower ring node may be allocated by the source ring network and the intersecting node of the first destination ring network, or by other network side devices. The first destination ring node indication tag can be configured at least to all nodes of the source ring network, the intersecting nodes of the first ring network and the second ring network, and other intersecting nodes. Therefore, the intersecting node of the i-th ring network can determine the destination ring channel label used for the cross-ring message to be transmitted in the (i+1)th ring network according to the destination ring node indication label, so that the cross-ring 4 can be transmitted to The intersection node of the i+1th ring network and the i+2 ring network, and thus the cross-ring 4 can finally reach the lower ring node smoothly.
应理解, 图 2仅以两个环形网络为例进行说明, 图 4仅以三个环形网络 为例进行说明, 但是本发明实施例并不限于此。 对于更多的环形网络中的跨 环业务的处理, 可以参照包括图 2所示的两个环形网络的场景下的处理, 以 及包括图 4所示的三个环形网络的场景下的处理进行, 为了筒洁, 在此不再 赘述。  It should be understood that FIG. 2 is only taken as an example of two ring networks. FIG. 4 is only described by taking three ring networks as an example, but the embodiment of the present invention is not limited thereto. For the processing of the cross-ring service in the ring network, the processing in the scenario including the two ring networks shown in FIG. 2 and the processing in the scenario including the three ring networks shown in FIG. 4 may be referred to. For the sake of cleanliness, we will not repeat them here.
本发明实施例的处理跨环业务的方法,通过在跨环报文上添加目的环节 点指示标签, 用于指示该跨环报文在目的环形网络中的下环节点, 从而能够 在相交节点的控制平面和转发平面都屏蔽掉业务层次的处理, 因而能够避免 对于每个业务分别配置不同的跨环转发策略,从而能够降低处理跨环业务的 开销, 提高处理跨环业务的效率。  The method for processing the cross-ring service in the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, thereby being able to be at the intersecting node. Both the control plane and the forwarding plane are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
上文中结合图 1至图 4, 详细描述了根据本发明实施例的处理跨环业务 的方法, 下面将结合图 5至图 8, 详细描述根据本发明实施例的相交节点和 跨环网络***。  The method for processing a cross-ring service according to an embodiment of the present invention is described in detail above with reference to FIGS. 1 through 4. Hereinafter, an intersecting node and a cross-ring network system according to an embodiment of the present invention will be described in detail with reference to FIGS. 5 through 8.
图 5示出了根据本发明实施例的相交节点的示意性框图, 如图 5所示, 该相交节点 500包括:  FIG. 5 shows a schematic block diagram of an intersecting node according to an embodiment of the present invention. As shown in FIG. 5, the intersecting node 500 includes:
接收单元 510, 用于在源环形网络中接收沿第一方向传输的跨环报文, 该跨环报文包括源环通道标签和第一目的环节点指示标签, 该源环通道标签 用于使该跨环报文在该源环形网络中, 沿该第一方向向该相交节点传输, 该 第一目的环节点指示标签用于指示该跨环报文在该目的环形网络中的下环 节点  The receiving unit 510 is configured to receive, in the source ring network, the cross-ring packet that is transmitted in the first direction, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used to enable The cross-ring packet is transmitted to the intersecting node in the first direction, and the first destination ring node indication label is used to indicate the lower ring node of the cross-ring packet in the destination ring network.
第一确定单元 520, 用于根据该第一目的环节点指示标签确定第一目的 环通道标签, 该第一目的环通道标签用于使该跨环 4艮文在目的环形网络中, 沿第二方向向下环节点传输;  The first determining unit 520 is configured to determine, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring 4 in the destination ring network, along the second Directional transmission to the ring node;
第一替换单元 530, 用于将该跨环报文的该源环通道标签替换为该第一 目的环通道标签; 第一发送单元 540, 用于在该目的环形网络中, 沿该第二方向向该下环 节点发送包括该第一目的环通道标签的该跨环报文。 The first replacement unit 530 is configured to replace the source ring channel label of the cross-ring packet with the first destination ring channel label; The first sending unit 540 is configured to send the cross-loop message including the first destination ring channel label to the lower ring node in the second direction in the destination ring network.
本发明实施例的相交节点, 通过在跨环报文上添加目的环节点指示标 签, 用于指示该跨环报文在目的环形网络中的下环节点, 从而能够在相交节 点的控制平面和转发平面都屏蔽掉业务层次的处理, 因而能够避免对于每个 业务分别配置不同的跨环转发策略, 从而能够降低处理跨环业务的开销, 提 高处理跨环业务的效率。  The intersecting node of the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so that the control plane and the forwarding node of the intersecting node can be The planes are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
可选地, 如图 6所示, 该相交节点 500还包括:  Optionally, as shown in FIG. 6, the intersecting node 500 further includes:
第二发送单元 550, 用于在确定该下环节点不可达时, 根据该源环通道 标签, 在该源环形网络中, 沿该第一方向向该源环形网络和该目的环形网络 的另一相交节点发送该跨环报文。  a second sending unit 550, configured to: according to the source ring channel label, in the source ring network, along the first direction to the source ring network and another of the destination ring network, when determining that the lower ring node is unreachable The intersecting node sends the cross-ring message.
可选地, 如图 6所示, 该相交节点 500还包括:  Optionally, as shown in FIG. 6, the intersecting node 500 further includes:
第三发送单元 560, 用于向该源环形网络中的至少一个节点或每个节点 分别发送该第一目的环节点指示标签。  The third sending unit 560 is configured to separately send the first destination ring node indication label to at least one node or each node in the source ring network.
可选地, 该第一确定单元 520还用于根据该第一目的环节点指示标签与 该第一目的环通道标签的对应关系, 确定该第一目的环通道标签。  Optionally, the first determining unit 520 is further configured to determine the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label.
可选地, 如图 6所示, 该相交节点 500还包括:  Optionally, as shown in FIG. 6, the intersecting node 500 further includes:
第二确定单元 570, 用于根据该第一目的环节点指示标签, 以及该第一 目的环节点指示标签与第二目的环节点指示标签的对应关系,确定该第二目 的环节点指示标签, 该第二目的环节点指示标签由该目的环形网络包括的第 一目的环形网络和第二目的环形网络的第三相交节点或第四相交节点分配, 该第一目的环形网络与该源环形网络相交, 该第二目的环形网络与该第一目 的环形网络相交, 该第二目的环形网络与该源环形网络不相交;  The second determining unit 570 is configured to determine the second destination ring node indication label according to the first destination ring node indication label, and the corresponding relationship between the first destination ring node indication label and the second destination ring node indication label, where And the second destination ring node indication label is allocated by the first destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network, where the first destination ring network intersects the source ring network, The second destination ring network intersects the first destination ring network, and the second destination ring network does not intersect the source ring network;
第二替换单元 580, 用于将该第一目的环节点指示标签替换为该第二目 的环节点指示标签;  a second replacement unit 580, configured to replace the first destination ring node indication label with the second destination ring node indication label;
该第一发送单元 540还用于在该第一目的环形网络中, 沿该第二方向向 该下环节点发送包括该第一目的环通道标签和该第二目的环节点指示标签 的该跨环报文,该第一目的环通道标签用于使该跨环报文在该第一目的环形 网络中沿该第二方向向该下环节点传输, 以便于该第三相交节点或该第四相 交节点根据该第二目的环节点指示标签确定第二目的环通道标签, 并将该第 一目的环通道标签替换为该第二目的环通道标签,从而使得包括该第二目的 环通道标签的该跨环报文能够在该第二目的环形网络中沿第三方向向该下 环节点传输。 The first sending unit 540 is further configured to send, in the first destination ring network, the cross-ring including the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction. a message, the first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so as to facilitate the third intersecting node or the fourth intersecting node Determining, by the node, the second destination ring channel label according to the second destination ring node indication label, and replacing the first destination ring channel label with the second destination ring channel label, thereby including the second destination The cross-loop message of the ring channel label can be transmitted to the lower ring node in the third direction in the second destination ring network.
例如, 在该目的环形网络包括第一目的环形网络和第二目的环形网络, 该第一目的环形网络与该源环形网络相交, 该第二目的环形网络与该第一目 的环形网络相交, 该第二目的环形网络与该源环形网络不相交, 并且该第一 目的环节点指示标签由该源环形网络和该第一目的环形网络的该第一相交 节点或第二相交节点分配, 并且该第一目的环节点指示标签用于指示的该下 环节点为该第二目的环形网络中的下环节点时, 该第二确定单元 570用于根 据该第一目的环节点指示标签, 以及该第一目的环节点指示标签与第二目的 环节点指示标签的对应关系, 确定该第二目的环节点指示标签, 该第二目的 环节点指示标签由该第一目的环形网络和该第二目的环形网络的第三相交 节点或第四相交节点分配, 并且用于指示该第二目的环形网络中的该下环节 点; 该第二替换单元 580用于将该第一目的环节点指示标签替换为该第二目 的环节点指示标签; 该第一发送单元 540用于在该第一目的环形网络中, 沿 该第二方向向该下环节点发送包括该第一目的环通道标签和该第二目的环 节点指示标签的该跨环报文, 该第一目的环通道标签用于使该跨环报文在该 第一目的环形网络中沿该第二方向向该下环节点传输。  For example, the destination ring network includes a first destination ring network and a second destination ring network, the first destination ring network intersecting the source ring network, and the second destination ring network intersects the first destination ring network, the first The second destination ring network does not intersect the source ring network, and the first destination ring node indication label is allocated by the source ring network and the first intersecting node or the second intersecting node of the first destination ring network, and the first When the destination ring node indicates that the lower ring node is the lower ring node in the second destination ring network, the second determining unit 570 is configured to indicate the label according to the first destination ring node, and the first destination. Determining, by the ring node, a correspondence between the label and the second destination ring node indication label, determining the second destination ring node indication label, where the second destination ring node indication label is configured by the first destination ring network and the second destination ring network Assigning a three-phase intersection node or a fourth intersection node, and indicating the lower ring node in the second destination ring network The second replacement unit 580 is configured to replace the first destination ring node indication label with the second destination ring node indication label. The first sending unit 540 is configured to be in the second direction in the first destination ring network. Transmitting the cross-ring packet including the first destination ring channel label and the second destination ring node indication label to the lower ring node, where the first destination ring channel label is used to make the cross-loop message in the first purpose The ring network transmits to the lower ring node along the second direction.
可选地, 该第一方向与该第二方向相同或不同。  Optionally, the first direction is the same as or different from the second direction.
根据本发明实施例的相交节点 500 中的各个单元的上述和其它操作和 / 或功能分别为了实现图 1至图 4中的各个方法的相应流程, 为了筒洁, 在此 不再赘述。  The above and other operations and/or functions of the respective units in the intersecting node 500 according to the embodiment of the present invention are respectively omitted for the purpose of implementing the respective processes of the respective methods in FIGS. 1 to 4.
本发明实施例的相交节点, 通过在跨环报文上添加目的环节点指示标 签, 用于指示该跨环报文在目的环形网络中的下环节点, 从而能够在相交节 点的控制平面和转发平面都屏蔽掉业务层次的处理, 因而能够避免对于每个 业务分别配置不同的跨环转发策略, 从而能够降低处理跨环业务的开销, 提 高处理跨环业务的效率。  The intersecting node of the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring packet is in the lower ring node in the destination ring network, so that the control plane and the forwarding node of the intersecting node can be The planes are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
图 7示出了根据本发明实施例的跨环网络***的示意性框图。如图 7所 示, 该跨环网络*** 700包括:  FIG. 7 shows a schematic block diagram of a cross-loop network system in accordance with an embodiment of the present invention. As shown in Figure 7, the cross-ring network system 700 includes:
源环形网络 710, 该源环形网络包括 M个节点, 其中 M大于或等于 3 且 M为自然数;  a source ring network 710, the source ring network includes M nodes, where M is greater than or equal to 3 and M is a natural number;
目的环形网络 720, 该目的环形网络包括 N个节点, 其中 N大于或等于 3且 N为自然数, a destination ring network 720, the destination ring network includes N nodes, where N is greater than or equal to 3 and N is a natural number,
其中, 该 M个节点和该 N个节点中包括该源环形网络和该目的环形网 络共有的两个相交节点, 每个该相交节点包括:  The M nodes and the N nodes include two intersecting nodes shared by the source ring network and the destination ring network, and each of the intersecting nodes includes:
接收单元, 用于在源环形网络中接收沿第一方向传输的跨环报文, 该跨 环报文包括源环通道标签和第一目的环节点指示标签, 该源环通道标签用于 使该跨环报文在该源环形网络中, 沿该第一方向向该相交节点传输, 该第一 目的环节点指示标签用于指示该跨环报文在该目的环形网络中的下环节点; 第一确定单元, 用于根据该第一目的环节点指示标签确定第一目的环通 道标签, 该第一目的环通道标签用于使该跨环报文在目的环形网络中, 沿第 二方向向下环节点传输;  a receiving unit, configured to receive, in the source ring network, a cross-ring packet that is transmitted in the first direction, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used to enable the The cross-ring packet is transmitted to the intersecting node in the first direction, and the first destination ring node indication label is used to indicate the lower ring node of the cross-ring packet in the destination ring network. a determining unit, configured to determine, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-loop message in the destination ring network, in a second direction Ring node transmission;
第一替换单元, 用于将该跨环报文的该源环通道标签替换为该第一目的 环通道标签;  a first replacement unit, configured to replace the source ring channel label of the cross-ring packet with the first destination ring channel label;
第一发送单元, 用于在该目的环形网络中, 沿该第二方向向该下环节点 发送包括该第一目的环通道标签的该跨环报文。  The first sending unit is configured to send the cross-loop message including the first destination ring channel label to the lower ring node in the second direction in the destination ring network.
在本发明实施例中, 可选地, 每个该相交节点还包括:  In this embodiment of the present invention, optionally, each of the intersecting nodes further includes:
第二发送单元,用于在确定该下环节点不可达时,根据该源环通道标签, 在该源环形网络中, 沿该第一方向向该源环形网络和该目的环形网络的另一 相交节点发送该跨环报文。  a second sending unit, configured to, according to the source ring channel label, in the source ring network, another intersection of the source ring network and the destination ring network in the first ring direction when determining that the lower ring node is unreachable The node sends the cross-ring packet.
在本发明实施例中, 可选地, 每个该相交节点还包括:  In this embodiment of the present invention, optionally, each of the intersecting nodes further includes:
第三发送单元, 用于向该源环形网络中的至少一个节点或每个节点分别 发送该第一目的环节点指示标签。  And a third sending unit, configured to separately send the first destination ring node indication label to at least one node or each node in the source ring network.
在本发明实施例中, 可选地, 该第一确定单元还用于根据该第一目的环 节点指示标签与该第一目的环通道标签的对应关系,确定该第一目的环通道 标签。  In the embodiment of the present invention, the first determining unit is further configured to determine the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label.
可选地, 如图 8所示, 该目的环形网络 720包括第一目的环形网络 721 和第二目的环形网络 722, 该第一目的环形网络 721与该源环形网络 710相 交, 该第二目的环形网络 722与该第一目的环形网络 721相交, 该第二目的 环形网络 722与该源环形网络 710不相交, 该第一目的环节点指示标签由该 源环形网络和该第一目的环形网络的该第一相交节点或第二相交节点分配, 并且该第一目的环节点指示标签用于指示的该下环节点为该第二目的环形 网络中的下环节点, 其中, 每个该相交节点还包括: 第二确定单元, 用于根据该第一目的环节点指示标签, 以及该第一目的 环节点指示标签与第二目的环节点指示标签的对应关系,确定该第二目的环 节点指示标签,该第二目的环节点指示标签由该第一目的环形网络和该第二 目的环形网络的第三相交节点或第四相交节点分配; Optionally, as shown in FIG. 8, the destination ring network 720 includes a first destination ring network 721 and a second destination ring network 722. The first destination ring network 721 intersects the source ring network 710. The second destination ring The network 722 intersects the first destination ring network 721, the second destination ring network 722 does not intersect the source ring network 710, and the first destination ring node indicates that the label is from the source ring network and the first destination ring network. The first intersecting node or the second intersecting node is allocated, and the lower target node indicated by the first destination ring node indicating label is a lower ring node in the second destination ring network, where each of the intersecting nodes further includes : a second determining unit, configured to determine, according to the first destination ring node indication label, a correspondence between the first destination ring node indication label and the second destination ring node indication label, the second destination ring node indication label, the first The second destination ring node indication label is allocated by the first destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network;
第二替换单元, 用于将该第一目的环节点指示标签替换为该第二目的环 节点指示标签;  a second replacement unit, configured to replace the first destination ring node indication label with the second destination ring node indication label;
该第一发送单元还用于在该第一目的环形网络中, 沿该第二方向向该下 环节点发送包括该第一目的环通道标签和该第二目的环节点指示标签的该 跨环报文, 该第一目的环通道标签用于使该跨环报文在该第一目的环形网络 中沿该第二方向向该下环节点传输, 以便于该第三相交节点或该第四相交节 点根据该第二目的环节点指示标签确定第二目的环通道标签, 并将该第一目 的环通道标签替换为该第二目的环通道标签,从而使得包括该第二目的环通 道标签的该跨环报文能够在该第二目的环形网络中沿第三方向向该下环节 点传输。  The first sending unit is further configured to: send, in the first destination ring network, the cross-ring report including the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction The first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so as to facilitate the third intersecting node or the fourth intersecting node. Determining, according to the second destination ring node indication label, a second destination ring channel label, and replacing the first destination ring channel label with the second destination ring channel label, so that the cross-loop including the second destination ring channel label The message can be transmitted to the lower ring node in the third direction in the second destination ring network.
在本发明实施例中,每个该相交节点的该接收单元接收的该跨环报文包 括的指示相同下环节点的目的环节点指示标签相同; 不同相交节点的确定单 元确定的用于将跨环报文向相同下环节点发送的目的环通道标签不同。  In the embodiment of the present invention, the cross-ring message received by the receiving unit of the intersecting node includes the same target ring node indicating that the same lower ring node is the same; the determining unit determined by the different intersecting node is used for The destination ring channel label sent by the ring message to the same lower ring node is different.
应理解, 该源环形网络和该第一目的环形网络共有的每个相交节点可相 应于根据本发明实施例的相交节点 500, 为了筒洁, 在此不再赘述。  It should be understood that each of the intersecting nodes shared by the source ring network and the first destination ring network may correspond to the intersecting node 500 according to the embodiment of the present invention, and is not described herein again.
举例来说, 图 5所示实施例中的接收单元 510可以是接收器, 第一发送 单元 540可以是发送器, 或者, 接收单元 510和第一发送单元 540可以是收 发器。 第一确定单元 520和第一替换单元 530可以是处理器。 同理, 图 6所 示实施例中的第二发送单元 550、 第三发送单元 560可以是发送器。 第二确 定单元 570和第二替换单元 580可以是处理器。  For example, the receiving unit 510 in the embodiment shown in FIG. 5 may be a receiver, the first transmitting unit 540 may be a transmitter, or the receiving unit 510 and the first transmitting unit 540 may be transceivers. The first determining unit 520 and the first replacing unit 530 may be processors. Similarly, the second transmitting unit 550 and the third transmitting unit 560 in the embodiment shown in FIG. 6 may be transmitters. The second determining unit 570 and the second replacing unit 580 may be processors.
本发明实施例的跨环网络***,通过在跨环报文上添加目的环节点指示 标签, 用于指示该跨环>¾文在目的环形网络中的下环节点, 从而能够在相交 节点的控制平面和转发平面都屏蔽掉业务层次的处理, 因而能够避免对于每 个业务分别配置不同的跨环转发策略, 从而能够降低处理跨环业务的开销, 提高处理跨环业务的效率。  The cross-ring network system of the embodiment of the present invention adds a destination ring node indication label to the cross-ring packet, and is used to indicate that the cross-ring>3⁄4 text is in the lower ring node in the destination ring network, thereby enabling control at the intersecting node. Both the plane and the forwarding plane are shielded from the service level. Therefore, different cross-ring forwarding policies can be configured for each service. This reduces the overhead of processing cross-ring services and improves the efficiency of processing cross-ring services.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。 Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. Now, in order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been generally described in terms of functions in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上述 描述的***、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and the cleaning of the description, the specific working processes of the system, the device and the unit described above can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 ***, 或一些特征可以忽略, 或不执行。 另夕卜, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection. The components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件 功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory )、 随机存取存 4渚器 ( RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。 The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), A variety of media that can store program code, such as a disk or an optical disk.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
1、 一种处理跨环业务的方法, 其特征在于, 包括: A method for processing a cross-ring service, comprising:
源环形网络和目的环形网络的第一相交节点在所述源环形网络中接收 沿第一方向传输的跨环报文, 所述跨环报文包括源环通道标签和第一目的环 节点指示标签, 所述源环通道标签用于使所述跨环报文在所述源环形网络 中, 沿所述第一方向向所述第一相交节点传输;  The first intersecting node of the source ring network and the destination ring network receives the cross-ring packet transmitted in the first direction in the source ring network, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label. The source ring channel label is configured to transmit the cross-ring packet to the first intersecting node in the first direction in the source ring network;
所述第一相交节点根据所述第一目的环节点指示标签确定第一目的环 通道标签, 所述第一目的环通道标签用于使所述跨环报文在所述目的环形网 络中, 沿第二方向向下环节点传输; 一目的环通道标签;  Determining, by the first intersecting node, the first destination ring channel label according to the first destination ring node indication label, where the first destination ring channel label is used to enable the cross-ring packet in the destination ring network The second direction is transmitted to the lower ring node; a destination ring channel label;
所述第一相交节点在所述目的环形网络中, 沿所述第二方向向所述下环 节点发送包括所述第一目的环通道标签的所述跨环报文。  The first intersecting node sends the cross-loop packet including the first destination ring channel label to the lower ring node in the second direction in the destination ring network.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 在确定所述下环节点不可达时, 所述第一相交节点根据所述源环通道标 签, 在所述源环形网络中, 沿所述第一方向向所述源环形网络和所述目的环 形网络的第二相交节点发送所述跨环报文。  The method according to claim 1, wherein the method further comprises: when determining that the lower ring node is unreachable, the first intersecting node is in the source according to the source ring channel label In the ring network, the cross-ring message is sent to the source ring network and the second intersecting node of the destination ring network in the first direction.
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 所述第一相交节点向所述源环形网络中的至少一个节点或每个节点分 别发送所述第一目的环节点指示标签。  The method according to claim 1, wherein the method further comprises: the first intersecting node separately transmitting the first target link to at least one node or each node in the source ring network Point indicator label.
4、 根据权利要求 1所述的方法, 其特征在于, 所述第一相交节点根据 所述第一目的环节点指示标签确定第一目的环通道标签, 包括:  The method according to claim 1, wherein the first intersecting node determines the first destination ring channel label according to the first destination ring node indication label, including:
所述第一相交节点根据所述第一目的环节点指示标签与所述第一目的 环通道标签的对应关系, 确定所述第一目的环通道标签。  The first intersecting node determines the first destination ring channel label according to the correspondence between the first destination ring node indication label and the first destination ring channel label.
5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 在所述目 的环形网络包括第一目的环形网络和第二目的环形网络, 所述第一目的环形 网络与所述源环形网络相交, 所述第二目的环形网络与所述第一目的环形网 络相交, 所述第二目的环形网络与所述源环形网络不相交, 并且所述第一目 的环节点指示标签由所述源环形网络和所述第一目的环形网络的所述第一 相交节点或第二相交节点分配时, 所述方法还包括:  The method according to any one of claims 1 to 4, wherein the destination ring network comprises a first destination ring network and a second destination ring network, the first destination ring network and the The source ring network intersects, the second destination ring network intersects with the first destination ring network, the second destination ring network does not intersect the source ring network, and the first destination ring node indicates that the label is When the source ring network and the first intersecting node or the second intersecting node of the first destination ring network are allocated, the method further includes:
所述第一相交节点根据所述第一目的环节点指示标签, 以及所述第一目 的环节点指示标签与第二目的环节点指示标签的对应关系,确定所述第二目 的环节点指示标签, 所述第二目的环节点指示标签由所述第一目的环形网络 和所述第二目的环形网络的第三相交节点或第四相交节点分配; The first intersecting node indicates a label according to the first destination ring node, and the first destination The ring node indication label and the second destination ring node indication label corresponding to the label, the second destination ring node indication label is determined, the second destination ring node indication label is configured by the first destination ring network and the second Assigning a third intersecting node or a fourth intersecting node of the destination ring network;
所述第一相交节点将所述第一目的环节点指示标签替换为所述第二目 的环节点指示标签;  The first intersecting node replaces the first destination ring node indication label with the second destination ring node indication label;
所述第一相交节点在所述目的环形网络中, 沿所述第二方向向所述下环 节点发送包括所述第一目的环通道标签的所述跨环报文, 包括:  The first intersecting node sends the cross-ring packet including the first destination ring channel label to the lower ring node in the second direction in the destination ring network, including:
所述第一相交节点在所述第一目的环形网络中, 沿所述第二方向向所述 下环节点发送包括所述第一目的环通道标签和所述第二目的环节点指示标 签的所述跨环报文, 所述第一目的环通道标签用于使所述跨环报文在所述第 一目的环形网络中沿所述第二方向向所述下环节点传输, 以便于所述第三相 交节点或所述第四相交节点根据所述第二目的环节点指示标签确定第二目 的环通道标签, 并将所述第一目的环通道标签替换为所述第二目的环通道标 签,从而使得包括所述第二目的环通道标签的所述跨环报文能够在所述第二 目的环形网络中沿第三方向向所述下环节点传输。  Transmitting, by the first intersecting node, the first destination ring channel label and the second destination ring node indication label to the lower ring node in the second direction in the first destination ring network The first destination ring channel label is configured to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so as to facilitate the Determining, by the third intersecting node or the fourth intersecting node, the second destination ring channel label according to the second destination ring node indication label, and replacing the first destination ring channel label with the second destination ring channel label, The cross-ring message including the second destination ring channel label can be transmitted to the lower ring node in the third direction in the second destination ring network.
6、 一种相交节点, 其特征在于, 包括:  6. An intersecting node, characterized by comprising:
接收单元, 用于在源环形网络中接收沿第一方向传输的跨环报文, 所述 跨环报文包括源环通道标签和第一目的环节点指示标签, 所述源环通道标签 用于使所述跨环报文在所述源环形网络中, 沿所述第一方向向所述相交节点 传输;  a receiving unit, configured to receive, in the source ring network, the cross-ring packet that is transmitted in the first direction, where the cross-ring packet includes a source ring channel label and a first destination ring node indication label, where the source ring channel label is used And causing the cross-ring packet to be transmitted to the intersecting node in the first direction in the source ring network;
第一确定单元, 用于根据所述第一目的环节点指示标签确定第一目的环 通道标签, 所述第一目的环通道标签用于使所述跨环报文在目的环形网络 中, 沿第二方向向下环节点传输; 一目的环通道标签;  a first determining unit, configured to determine, according to the first destination ring node indication label, a first destination ring channel label, where the first destination ring channel label is used to make the cross-ring packet in a destination ring network, along a Two-way transmission to the lower ring node; a destination ring channel label;
第一发送单元, 用于在所述目的环形网络中, 沿所述第二方向向所述下 环节点发送包括所述第一目的环通道标签的所述跨环报文。  The first sending unit is configured to send, in the destination ring network, the cross-loop message including the first destination ring channel label to the lower ring node in the second direction.
7、 根据权利要求 6所述的相交节点, 其特征在于, 所述相交节点还包 括:  7. The intersecting node according to claim 6, wherein the intersecting node further comprises:
第二发送单元, 用于在确定所述下环节点不可达时, 根据所述源环通道 标签, 在所述源环形网络中, 沿所述第一方向向所述源环形网络和所述目的 环形网络的另一相交节点发送所述跨环报文。 a second sending unit, configured to, according to the source ring channel label, in the source ring network, along the first direction to the source ring network and the destination, when determining that the lower ring node is unreachable Another intersecting node of the ring network sends the cross-ring message.
8、 根据权利要求 6所述的相交节点, 其特征在于, 所述相交节点还包 括:  8. The intersecting node according to claim 6, wherein the intersecting node further comprises:
第三发送单元, 用于向所述源环形网络中的至少一个节点或每个节点分 别发送所述第一目的环节点指示标签。  And a third sending unit, configured to separately send the first destination ring node indication label to at least one node or each node in the source ring network.
9、 根据权利要求 6所述的相交节点, 其特征在于, 所述第一确定单元 还用于根据所述第一目的环节点指示标签与所述第一目的环通道标签的对 应关系, 确定所述第一目的环通道标签。  The intersection node according to claim 6, wherein the first determining unit is further configured to determine, according to the correspondence between the label of the first destination ring node and the label of the first destination ring channel, The first purpose ring channel label.
10、 根据权利要求 6至 9中任一项所述的相交节点, 其特征在于, 所述 相交节点还包括:  The intersection node according to any one of claims 6 to 9, wherein the intersection node further comprises:
第二确定单元, 用于根据所述第一目的环节点指示标签, 以及所述第一 目的环节点指示标签与第二目的环节点指示标签的对应关系,确定所述第二 目的环节点指示标签, 所述第二目的环节点指示标签由所述目的环形网络包 括的第一目的环形网络和第二目的环形网络的第三相交节点或第四相交节 点分配, 所述第一目的环形网络与所述源环形网络相交, 所述第二目的环形 网络与所述第一目的环形网络相交,所述第二目的环形网络与所述源环形网 络不相交;  a second determining unit, configured to determine, according to the first destination ring node indication label, a correspondence between the first destination ring node indication label and the second destination ring node indication label, the second destination ring node indication label And the second destination ring node indication label is allocated by the first destination ring network included in the destination ring network and the third intersecting node or the fourth intersecting node of the second destination ring network, where the first destination ring network and the The source ring network intersects, the second destination ring network intersects the first destination ring network, and the second destination ring network does not intersect the source ring network;
第二替换单元, 用于将所述第一目的环节点指示标签替换为所述第二目 的环节点指示标签;  a second replacement unit, configured to replace the first destination ring node indication label with the second destination ring node indication label;
所述第一发送单元还用于在所述第一目的环形网络中, 沿所述第二方向 向所述下环节点发送包括所述第一目的环通道标签和所述第二目的环节点 指示标签的所述跨环报文,所述第一目的环通道标签用于使所述跨环报文在 所述第一目的环形网络中沿所述第二方向向所述下环节点传输, 以便于所述 第三相交节点或所述第四相交节点根据所述第二目的环节点指示标签确定 第二目的环通道标签, 并将所述第一目的环通道标签替换为所述第二目的环 通道标签,从而使得包括所述第二目的环通道标签的所述跨环报文能够在所 述第二目的环形网络中沿第三方向向所述下环节点传输。  The first sending unit is further configured to send, in the first destination ring network, the first destination ring channel label and the second destination ring node indication to the lower ring node in the second direction. The cross-loop packet of the label, where the first destination ring channel label is used to transmit the cross-loop message to the lower ring node in the second direction in the first destination ring network, so that Determining, by the third intersecting node or the fourth intersecting node, a second destination ring channel label according to the second destination ring node indication label, and replacing the first destination ring channel label with the second destination ring a channel label, such that the cross-loop message including the second destination ring channel label can be transmitted to the lower ring node in a third direction in the second destination ring network.
PCT/CN2012/079299 2011-07-27 2012-07-27 Method for processing inter-loop service and crossing node WO2013013642A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110211827.3 2011-07-27
CN201110211827.3A CN102355400B (en) 2011-07-27 2011-07-27 Method for processing transannular service and intersected node

Publications (1)

Publication Number Publication Date
WO2013013642A1 true WO2013013642A1 (en) 2013-01-31

Family

ID=45578897

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079299 WO2013013642A1 (en) 2011-07-27 2012-07-27 Method for processing inter-loop service and crossing node

Country Status (2)

Country Link
CN (1) CN102355400B (en)
WO (1) WO2013013642A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013157987A (en) * 2012-01-31 2013-08-15 Huawei Technologies Co Ltd Method, apparatus and system for interconnected ring protection
CN108111415A (en) * 2017-12-12 2018-06-01 北京格林伟迪科技股份有限公司 A kind of label distribution method and device of more equipment rooms

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355400B (en) * 2011-07-27 2014-02-19 华为技术有限公司 Method for processing transannular service and intersected node
CN102624550B (en) * 2012-03-02 2014-09-17 华为技术有限公司 Method and device for determining transmission channel passed by label switched path (LSP) in ring networks
CN103825816A (en) * 2012-11-16 2014-05-28 ***通信集团公司 Service transmission protection method and device based on polycyclic-structure network intersecting rings
CN103490921B (en) * 2013-09-09 2017-06-20 华为技术有限公司 Network protection method, device, lower link point and system
CN108023800A (en) * 2016-11-03 2018-05-11 ***通信集团广东有限公司 A kind of guard method of LTE bearer networks and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671122A (en) * 2004-03-19 2005-09-21 港湾网络有限公司 Method for implementing message forwarding along RPR ring and RPR network
CN102104523A (en) * 2009-12-16 2011-06-22 中兴通讯股份有限公司 Data stream transmission method based on PBB-TE sectional tunnel, and node
CN102355400A (en) * 2011-07-27 2012-02-15 华为技术有限公司 Method for processing transannular service and intersected node

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7697552B2 (en) * 2006-11-06 2010-04-13 Corrigent Systems Ltd. MAC address scalability in interconnected rings
US20100287405A1 (en) * 2009-05-08 2010-11-11 Tellabs Operations, Inc. Method and apparatus for internetworking networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671122A (en) * 2004-03-19 2005-09-21 港湾网络有限公司 Method for implementing message forwarding along RPR ring and RPR network
CN102104523A (en) * 2009-12-16 2011-06-22 中兴通讯股份有限公司 Data stream transmission method based on PBB-TE sectional tunnel, and node
CN102355400A (en) * 2011-07-27 2012-02-15 华为技术有限公司 Method for processing transannular service and intersected node

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013157987A (en) * 2012-01-31 2013-08-15 Huawei Technologies Co Ltd Method, apparatus and system for interconnected ring protection
US9210037B2 (en) 2012-01-31 2015-12-08 Huawei Technologies Co., Ltd. Method, apparatus and system for interconnected ring protection
CN108111415A (en) * 2017-12-12 2018-06-01 北京格林伟迪科技股份有限公司 A kind of label distribution method and device of more equipment rooms
CN108111415B (en) * 2017-12-12 2020-08-25 北京格林伟迪科技股份有限公司 Label distribution method and device among multiple devices

Also Published As

Publication number Publication date
CN102355400B (en) 2014-02-19
CN102355400A (en) 2012-02-15

Similar Documents

Publication Publication Date Title
JP7303833B2 (en) Information transmission method and device
EP3208977B1 (en) Data forwarding method, device and system in software-defined networking
US9154407B2 (en) Maintained message delivery during routing domain migration
US9665530B2 (en) Method and system for implementing elastic network interface and interconnection
US10849008B2 (en) Processing method and device for radio bearer for transmitting data stream
US9787593B2 (en) Performing path-oriented systems management
WO2013013642A1 (en) Method for processing inter-loop service and crossing node
US20170373966A1 (en) Packet Transmission Method, Node, Path Management Server and Storage Medium
WO2013113218A1 (en) Intersecting ring protection method, device and system
EP3713160B1 (en) Packet transmission method and apparatus
CN114128228A (en) MTNC-ID transmission through SRv6 headers to realize 5G transmission
US20140082161A1 (en) Method and device for transferring bootstrap message
JP5913733B2 (en) Pseudowire extended group messaging in packet-switched networks
JP5913732B2 (en) Pseudowire groups in packet switched networks
US20130308617A1 (en) Continuous Virtual Private Local Area Network (LAN) Service (VPLS) Over Wireline and Wireless Networks
WO2021057530A1 (en) Method, apparatus and system for determining mapping relationship between routing prefix and segment identification
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
CN114710975B (en) Method, base station, network element and device for multi-domain transmission and multi-transmission network context identification
WO2018054197A1 (en) Method and apparatus for path selecting
CN115242699A (en) Message transmission method, slice generation method, device and system
CN113132220B (en) Method and device for processing routing information
WO2021115162A1 (en) Link protection method, device, ingress node, and storage medium
WO2022242661A1 (en) Communication processing method and related device
WO2022116615A1 (en) Message transmission method, method for acquiring correspondence, and apparatus and system
JP5913734B2 (en) Pseudowire extended group action in packet-switched networks

Legal Events

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

Ref document number: 12817756

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: 12817756

Country of ref document: EP

Kind code of ref document: A1