WO2012149795A1 - Method and device for determining connection routing in multilayer network - Google Patents

Method and device for determining connection routing in multilayer network Download PDF

Info

Publication number
WO2012149795A1
WO2012149795A1 PCT/CN2011/080499 CN2011080499W WO2012149795A1 WO 2012149795 A1 WO2012149795 A1 WO 2012149795A1 CN 2011080499 W CN2011080499 W CN 2011080499W WO 2012149795 A1 WO2012149795 A1 WO 2012149795A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
layer
service
route
client
Prior art date
Application number
PCT/CN2011/080499
Other languages
French (fr)
Chinese (zh)
Inventor
王巧灵
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180002190.5A priority Critical patent/CN102388586B/en
Priority to PCT/CN2011/080499 priority patent/WO2012149795A1/en
Publication of WO2012149795A1 publication Critical patent/WO2012149795A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations

Definitions

  • a method and apparatus for determining connection routes in a multi-layer network is a method and apparatus for determining connection routes in a multi-layer network.
  • the present invention relates to network communication technologies, and more particularly to a method and apparatus for determining connection routes in a multi-layer network. Background technique
  • IP Internet Protocol
  • MPLS Multiprotocol Label Switching
  • OTN Optical Transport Network
  • the adjacent layers of the multi-layer network are the relationship between the client layer and the service layer. Since it is difficult to obtain the network resource status of the client layer at the service layer, the multi-layer network usually adopts the top-down from the client layer to the service layer.
  • Network Planning First, a reasonable client layer route is planned for the service according to the current resource state, and then the corresponding service layer route of the service is obtained. The most prone problem with this method is: Planning a better client-level route for the service, but the service layer of the service is routed multiple times (that is, twice or more) through the same node or connection. This problem causes service transmissions to consume additional network bandwidth, resulting in wasted network resources and increased network management costs.
  • Embodiments of the present invention provide a method and apparatus for determining connection routes in a multi-layer network, avoiding service layer routing in a multi-layer network from passing through the same node or connection multiple times.
  • An embodiment of the present invention provides a method for determining a connection route in a multi-layer network, including: obtaining a first client layer route of a service, and obtaining a first service layer route of the service according to the first client layer route;
  • An embodiment of the present invention provides another method for determining a connection route in a multi-layer network, including: obtaining a first client layer route of a service, and obtaining a first service layer route of the service according to the first client layer route;
  • An embodiment of the present invention provides an apparatus for determining a connection route in a multi-layer network, including: a first obtaining module: a first client layer route for obtaining a service, and obtaining the service according to the first client layer route First service layer routing;
  • a determining module configured to determine that the first service layer route passes through the first node multiple times; and is further configured to determine that a service layer route passes through a client layer connection of the first node;
  • a second obtaining module routing a service layer for connecting at least one of the client layers to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service ;
  • a third obtaining module configured to: according to the second client layer routing, remove a route that passes through the first node multiple times, obtain a third client layer route of the service, and obtain the foregoing according to the third client layer route a second service layer route of the service, the second service layer routing passing through the first node once.
  • An embodiment of the present invention provides another apparatus for determining a connection route in a multi-layer network, including: a first obtaining module: a first client layer route for obtaining a service, and obtaining the service according to the first client layer route First service layer routing;
  • a determining module configured to determine that the first service layer route passes through the first node multiple times, and further determines that the first service layer route is connected to the first service layer multiple times, where the first node is the first service layer An endpoint of the connection; further configured to determine that the service layer is routed through the client layer connection of the first node;
  • a second obtaining module routing a service layer for connecting at least one of the client layers to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service ;
  • a third obtaining module configured to: according to the second client layer routing, remove a route that passes through the first node multiple times, obtain a third client layer route of the service, and obtain the foregoing according to the third client layer route a second service layer route of the service, the second service layer routing passing through the first node once.
  • FIG. 1 is a flow chart of a method for determining a connection route in a multi-layer network according to an embodiment of the present invention
  • FIG. 1b is a flow chart of a method for determining a connection route in a multi-layer network according to another embodiment of the present invention
  • FIG. 2a is a schematic diagram of routing of a multi-layer network planning according to Embodiment 1 of the present invention
  • FIG. 2b is a schematic diagram of routing of another multi-layer network planning according to Embodiment 1 of the present invention
  • FIG. 3a is a second embodiment of the present invention
  • FIG. 3b is a schematic diagram of routing of another multi-layer network plan according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic multi-layer provided according to Embodiments 3 and 4 of the present invention
  • Embodiments of the present invention provide a method and apparatus for determining a connection route in a multi-layer network.
  • the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
  • FIG. 1a a process for determining a connection route in a multi-layer network is shown in FIG. 1a, and the method includes the following steps:
  • Step SlOla obtaining a first client layer route of the service, and obtaining a first service layer route of the service according to the first client layer route;
  • Step S102a determining that the first service layer route passes through the first node multiple times
  • Step S103a determining that the service layer route passes through the client layer connection of the first node, and disconnects the service layer route connected by the at least one client layer into two segments at the first node, forming two new client layer connections, and obtaining the second service.
  • Customer layer routing
  • Step S104a based on the second client layer route, removing the route passing through the first node multiple times, obtaining the third client layer route of the service, obtaining the second service layer route of the service according to the third client layer route, and routing the second service layer once.
  • FIG. 1b a process for determining a connection route in a multi-layer network is shown in FIG. 1b, and the method includes the following steps:
  • Step SlOlb obtaining a first client layer route of the service, and obtaining a first service layer route of the service according to the first client layer route;
  • Step S102b determining that the first service layer route passes through the first node multiple times, further determining that the first service layer route is connected to the first service layer multiple times, and the first node is an endpoint connected by the first service layer;
  • Step S103b determining the service The layer routing is connected through the client layer of the first node, and the service layer route connecting at least one client layer is disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service;
  • Step S104b based on the second client layer route, removing the route that passes through the first node multiple times, obtaining the third client layer route of the service, obtaining the second service layer route of the service according to the third client layer route, and routing the second service layer once.
  • the service layer being an OMS (Optical Multiplex Section) layer and the OTU (Optical Channel Transport Unit) layer as an example.
  • OMS Optical Multiplex Section
  • OTU Optical Channel Transport Unit
  • Embodiment 1 The embodiment of the present invention provides a method for determining a connection route in a multi-layer network. As shown in Figure 2a, the nodes in Figure 2a are all 0TN nodes, and the source node of service 200 (shown by the dotted line in Figure 2a) is node A, and the sink node is node C.
  • the OTU layer there is an OTU connection 201 between the node A and the node B, and the OTU connection 201 is carried by the OMS connection 211 of the OMS layer; there is an OTU connection 202 between the node B and the node C in the OTU layer, and the OTU connection 202 passes through the OMS layer.
  • the OMS connections 211, 212, and 213 are loaded. The method specifically includes the following steps:
  • Step S201 Obtain an OTU layer route of the service 200, and obtain an OMS layer route of the service 200 according to the OTU layer route.
  • the service 200 from the node A to the node C can be carried in the direction of the node A to the node B of the OTU connection 201 and the direction of the node B to the node C of the OTU connection 202 at the OTU layer, that is, the OTU layer route of the service 200 is from the source to the sink. [A, B, C].
  • the service 200 sequentially passes through the OMS connection 211, 211, 212, 213 at the OMS layer, and then the OMS layer of the service 200 is routed from source to sink [A, B, A, D, C].
  • Step S202 Determine that the OMS layer route of the service 200 passes through the node A multiple times, and further determines that the OMS layer route of the service 200 is connected to the OMS layer of one end of the node A multiple times.
  • the OTU layer route of service 200 is from source to sink [A, B, C], and the OMS layer route is from source to sink [A, B, A, D, C].
  • the reference node is sequentially determined from all the nodes including the source node A and the previous hop node D of the sink node C; and then based on the sink node C to The direction of the source node A sequentially determines the query node from all the nodes including the sink node C and the previous hop node of the reference node; compares the query node with the reference node, and if the two nodes are the same node, stop comparing . Then, the nodes in the route of the OMS layer are sequentially subjected to the following:
  • the reference node is A, which is compared with the query node (, D, A, B in turn;
  • the reference node is B, which is compared with the query node (, D, A in turn;
  • the reference node is A, which is compared with the query node (, D in turn;
  • the reference node is D, which is compared with the query node C.
  • the reference node A When the reference node A is compared to the query node A, the reference node and the query node are the same node A, and the comparison is stopped.
  • the comparison between the reference node A and the query node B in 1) and the subsequent comparison of 2), 3), and 4) are performed, and it is determined that the same node is node A, and the OMS layer is routed through node A multiple times.
  • the service 200 passes through the OMS connection 211, 211, 212, and 213 in the OMS layer, that is, the service 200 passes through the OMS connection 211 twice at the OMS layer, and the node A is an endpoint of the OMS connection 211, and determines the OMS layer route of the service 200 multiple times.
  • OMS connection 211 OMS connection 211.
  • Step S203 determining that the OMS layer is routed through the OTU connection of the node A, and the OMS layer route connecting at least one of the OTU connections is disconnected into two segments at the node A, forming two new OTU connections, and after the OTU connection is disconnected.
  • the OMS layer routing of the OTU connections 201 and 202 is determined to pass through the node A according to the OMS layer route of each OTU connection (i.e., OTU connection 201, OTU connection 202) of the bearer service 200.
  • node A is the endpoint of the OTU connection 201, and there is no need to disconnect the OTU connection 201 at node A.
  • the node A is not the endpoint of the OTU connection 202, and the OTU connection 202 is disconnected into two segments at the node A to form two new OTU connections, that is, the OTU connection 202 is disconnected, and the node A and the OTU are connected 202.
  • a new OTU connection 203 is formed between the endpoints B, and is carried by the OMS connection 211 of the OMS layer;
  • a new OTU connection 204 is formed between the node A and the endpoint C of the OTU connection 202, and is carried by the OMS connection 212, 213 of the OMS layer.
  • the new OTU connections 203, 204 have the same connection bandwidth as the OTU connection 202 before disconnection.
  • the service 200 new OTU layer route: the service 200 passes the node A to the node B direction of the OTU connection 201, the node B to the node A direction of the OTU connection 203, and the node A to the node C direction of the OTU connection 204. That is, the OTU layer route of service 200 is from source to sink [ ⁇ , ⁇ , ⁇ , C].
  • Step S204 after the OTU connection is disconnected, the service 200 new OTU layer route is removed, the route passing through the node A is removed multiple times, the new OTU layer route of the service 200 is obtained, and the new OMS layer route is obtained according to the new OUT layer route, the new The OMS layer is routed through node A—times.
  • the service 200 Based on the OTU connection disconnected, the service 200 new OTU layer route [A, B, A, C], removes the route [B, A] passing through the node A multiple times, and obtains the new OTU layer route of the service 200 from the source to the sink. [A, C], that is, the OTU layer carries the direction from the node A to the node C of the OTU connection 204.
  • the new OMS layer route [A, D, C] of the service 200 from the source to the sink is obtained, that is, the OMS layer sequentially passes through the OMS connection 212, 213, and the service 200 new OMS layer
  • the route only passes through node A—time.
  • step S205 may be optionally performed after step S204, and merged in the removed OTU layer route of the node A multiple times.
  • the source is the same as the two OTU connections.
  • the OTU layer of the homologous and identical sink is connected to the OTU connections 201 and 203.
  • connection bandwidth of the OTU connections 201 and 203 is greater than or equal to the total bandwidth of the service: Leave an OTU connection with a smaller connection bandwidth and delete another OTU connection with a larger connection bandwidth. If the connection bandwidth of the OTU connections 201 and 203 is the same, then one OTU connection is reserved arbitrarily, and another OTU connection is deleted.
  • connection bandwidth of the OTU connections 201 and 203 is less than the total bandwidth of the service, no merging is performed.
  • the first embodiment described above can be used for network planning.
  • the OMS layer routing does not allow multiple connections to the same connection, but allows multiple passes through the same node.
  • Embodiment 2 An embodiment of the present invention is a method for determining a connection route in a multi-layer network. As shown in Figure 3a, the nodes in Figure 3a are OTN nodes, and the source node of service 300 (shown by the dotted line in Figure 3a) is node A, and the sink node is node F.
  • OTU connection 301 there is an OTU connection 301 between the node A and the node B, and the OTU connection 301 is carried by the OMS connection 311 of the OMS layer; in the OTU layer, there is an OTU connection 302 between the node B and the node C, and the OTU connection 302 passes through the OMS layer.
  • OMS connection 312 is carried;
  • OTU connection 303 exists between node C and node E in the OTU layer, OTU connection 303 is carried by OMS connection 313, 314, 315 of OMS layer; exists between node E and node F in OTU layer OTU connection 304, OTU connection 304 is carried over OMS connection 316 of the OMS layer.
  • the method specifically includes the following steps:
  • Step S301 Obtain an OTU layer route of the service 300, and obtain a route of the OMS layer of the service 300 according to the OTU layer route.
  • the service 300 from the node A to the node F, at the OTU layer, may be in the direction of the node A to the node B of the OTU connection 301, the direction of the node B to the node C of the OTU connection 302, the direction of the node C to the node E of the OTU connection 303, and the OTU connection.
  • the node E of the 304 is carried in the direction of the node F, that is, the OTU layer of the service 300 is routed from the source to the sink [A, B, C, E, F].
  • the service 300 sequentially passes through the OMS connections 311, 312, 313, 314, 315, 316 at the OMS layer, and then the OMS layer of the service 300 is routed from the source to the sink [A, B, C, D, B, E , F].
  • Step S302 determining that the OMS layer route of the service 300 passes through the node B multiple times.
  • the OTU layer route of service 300 is from source to sink [A, B, C, E, F]
  • the OMS layer is routed from source to sink [A, B, C, D, B, E, F].
  • the reference node is sequentially determined from all the nodes including the source node A and the previous hop node E of the sink node F; and then based on the sink node F In the direction of the source node A, the query node is determined in turn from all the nodes including the sink node F and the previous hop node of the reference node; the query node is compared with the reference node, and if the two nodes are the same node, the comparison is stopped. . Then, the nodes in the route of the OMS layer are sequentially subjected to the following:
  • the reference node is A, which in turn is compared with nodes F, E, B, D, C, and B in the OMS layer route;
  • the reference node is B, which is compared with the query nodes F, E, B, D, C in turn;
  • the reference node is C, which is compared with the query nodes F, E, B, and D in turn;
  • the reference node is D, which is compared with the query nodes F, E, B in turn;
  • the reference node is E, which is compared with the query node F.
  • the reference node B When the reference node B is compared to the query node B, the reference node and the query node are the same node B, and the comparison is stopped.
  • the comparison between the reference node B and the query nodes D and C in 2) and the subsequent 3), 4), 5), and 6) are performed, and the same node is determined to be the node B, and the OMS layer is routed through the node B multiple times. .
  • Step S303 determining that the OMS layer is routed through the OTU connection of the Node B, and the OMS layer route connecting at least one of the OTU connections is disconnected into two segments at the Node B, forming two new OTU connections, and after the OTU connection is disconnected.
  • OMS layer routes of the OTU connections i.e., OTU connections 301, 302, 303, 304 of the bearer service 300. It is determined that the OMS layers of the OTU connections 302 and 303 are routed through the Node B.
  • Node B is the endpoint of the OTU connection 302, and there is no need to connect the OTU 302. Node B is disconnected.
  • the Node B is not the endpoint of the OTU connection 303, and the OTU connection 303 is disconnected into two segments at the Node B to form two new OTU connections, that is, the OTU connection 303 is disconnected, and the Node B and the Endpoint C of the OTU connection 303 form a new one.
  • the OTU connection 305 is carried by the OMS connection 312 of the OMS layer; the Node B forms a new OTU connection 306 with the E-layer connection 303, which is carried by the OMS connection 315 of the OMS layer.
  • the new OTU connections 305, 306 have the same connection bandwidth as the OTU connection 303 before disconnection.
  • the service 300 new OTU layer route: the service 300 passes the node A to the node B direction of the OTU connection 301, the node B to the node C direction of the OTU connection 302, the node C to the node B direction of the OTU connection 305, The Node B to Node E direction of the OTU connection 306 and the Node E to Node F direction of the OTU connection 304 are carried, that is, the OTU layer route of the service 300 is from source to sink [A, B, C, ⁇ , ⁇ , F].
  • Step S304 after the OTU connection is disconnected, the service 300 new OTU layer route is removed, the route passing through the node B is removed multiple times, the new OTU layer route of the service 300 is obtained, and the new OMS layer route is obtained according to the new OUT layer route, the new The OMS layer is routed through node B—times.
  • the service 300 new OTU layer route [A, B, C, B, E, F], removes the route [C, B] passing through the node B multiple times, and obtains the new service 300 from the source to the sink.
  • the OTU layer route [A, B, E, F] that is, the node A to the node B direction of the OTU layer 301 through the OTU layer, the node B to the node E direction of the OTU connection 306, and the node E to the node F of the OTU connection 304 Direction bearing.
  • the new OMS layer route [A, B, E, F] of the service 300 from the source to the sink is obtained, that is, the sequence is connected through the connections 311, 315, 316 in the OMS layer.
  • the service 300 new OMS layer route only passes through the node B-time.
  • step S305 may be optionally performed after step S304, and merged in the removed OTU layer route of the node B multiple times.
  • the source is the same as the two OTU connections.
  • the OTU layer of the same-same and identical The connections are OTU connections 302 and 305.
  • connection bandwidth of the OTU connections 302 and 305 is greater than or equal to the total bandwidth of the service, the OTU connection with the smaller connection bandwidth is reserved, and the other OTU connection with the larger connection bandwidth is deleted; if the connection bandwidth of the OTU connections 302 and 305 is the same, Then arbitrarily retain one of the OTU connections and delete another OTU connection;
  • connection bandwidth of only one OTU connection is greater than or equal to the total bandwidth of the service, the OTU connection is reserved, and another OTU connection is deleted;
  • connection bandwidth of the OTU connections 302 and 305 is less than the total bandwidth of the service, no merging is performed.
  • the foregoing Embodiment 2 can be used for network planning, where the OMS layer routing does not allow multiple passes through the same node.
  • a method for determining a connection route in a multi-layer network prevents the service layer route in the multi-layer network from passing through the same node or connection multiple times, optimizes utilization of network resources, and reduces resource costs of the planned network.
  • the third embodiment of the present invention provides an apparatus for determining a connection route in a multi-layer network. As shown in FIG. 4, the method includes:
  • a first obtaining module 401 a first client layer route for obtaining a service, and obtaining a first service layer route of the service according to the first client layer route;
  • the determining module 402 is configured to determine that the first service layer route passes through the first node multiple times; and is further configured to determine that the service layer is routed through the client node connection of the first node;
  • a second obtaining module 403 routing a service layer for connecting at least one client layer to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service;
  • a third obtaining module 404 configured to remove, according to the second client layer, multiple times through the first node Routing, obtaining a third client layer route of the service, obtaining a second service layer route of the service according to the third client layer route, and the second service layer routing passes through the first node once.
  • Embodiment 4 The embodiment of the present invention provides an apparatus for determining a connection route in a multi-layer network. As shown in FIG. 4, the method includes:
  • a first obtaining module 401 a first client layer route for obtaining a service, and obtaining a first service layer route of the service according to the first client layer route;
  • the determining module 402 is configured to determine that the first service layer route passes through the first node multiple times, further determine that the first service layer route is connected to the first service layer multiple times, and the first node is an endpoint of the first service layer connection; Determining that the service layer is routed through the client layer connection of the first node;
  • a second obtaining module 403 routing a service layer for connecting at least one client layer to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service;
  • the third obtaining module 404 is configured to: according to the second client layer routing, remove the route that passes through the first node multiple times, obtain the third client layer route of the service, and obtain the second service layer route of the service according to the third client layer route, The two service layer routes pass through the first node once.
  • the content of the information exchange, the execution process, and the like between the modules in the third embodiment and the fourth embodiment are based on the same concept as the method embodiment of the present invention. For details, refer to the description in the method embodiment of the present invention. Praise.
  • An apparatus for determining a connection route in a multi-layer network prevents the service layer route in the multi-layer network from passing through the same node or connection multiple times, optimizes utilization of network resources, and reduces resource cost of the planned network.
  • a person skilled in the art can understand that all or part of the steps of the foregoing embodiment can be implemented by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When implemented, may include implementation of the methods as described above The flow of the example.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

The present invention relates to the field of network communications, and particularly disclosed is a method for determining a connection routing in a multilayer network, including: obtaining a first client layer routing of a service, and obtaining a first service layer routing of the service according to the first client layer routing; determining that the first service layer routing passes by a first node many times; determining that the service layer routing cuts the service layer routing of at least one client layer connection into two segments at the first node by way of the client layer connection of the first node so as to form two new client layer connections and obtain a second client layer routing of the service; removing a routing that passes by the first node many times to obtain a third client layer routing of the service based on the second client layer routing, and obtaining a second service layer routing of the service according to the third client layer routing, with the second service layer routing passing by the first node once. Also disclosed is a device for determining a connection routing in a multilayer network.

Description

一种确定多层网络中连接路由的方法和装.  A method and apparatus for determining connection routes in a multi-layer network.
技术领域 Technical field
本发明涉及网络通信技术, 尤其涉及一种确定多层网络中连接路由的方 法和装置。 背景技术  The present invention relates to network communication technologies, and more particularly to a method and apparatus for determining connection routes in a multi-layer network. Background technique
随着通信技术的不断发展, IP ( Internet Protocol , 网络协议)、 MPLS ( Multiprotocol Label Switching, 多协议标签交换)、 OTN ( Optical Transport Network, 光传输网络)等各种网络的分层部署日益增多, 多层网络规划成为 实现多层网络的资源配置和业务管理的重要手段。  With the continuous development of communication technologies, hierarchical deployment of various networks such as IP (Internet Protocol), MPLS (Multiprotocol Label Switching), and OTN (Optical Transport Network) is increasing. Multi-layer network planning has become an important means to realize resource allocation and service management of multi-layer networks.
多层网络的相邻各层间是客户层和服务层的关系, 由于在服务层很难获 得客户层的网络资源状态, 所以多层网络通常采用从客户层到服务层的自上 而下的网络规划。 首先根据当前资源状态为业务规划出一条合理的客户层路 由, 继而得到该业务相应的服务层路由。 该方法最容易出现问题是: 为业务 规划了较优的客户层路由, 但该业务的服务层路由多次(即两次或两次以上) 经过同一个节点或者连接。 该问题导致业务传输消耗额外的网络带宽, 造成 网络资源的浪费和网络管理成本的增加。  The adjacent layers of the multi-layer network are the relationship between the client layer and the service layer. Since it is difficult to obtain the network resource status of the client layer at the service layer, the multi-layer network usually adopts the top-down from the client layer to the service layer. Network Planning. First, a reasonable client layer route is planned for the service according to the current resource state, and then the corresponding service layer route of the service is obtained. The most prone problem with this method is: Planning a better client-level route for the service, but the service layer of the service is routed multiple times (that is, twice or more) through the same node or connection. This problem causes service transmissions to consume additional network bandwidth, resulting in wasted network resources and increased network management costs.
目前, 通常的解决方法是, 在为业务计算一条客户层路由后, 如果发现 业务的服务层路由多次经过同一个节点或者连接, 则重新计算客户层路由, 直到该业务的服务层路由不存在上述问题为止。 在实际的多层网络规划中, 该方法通常需要新建连接而增加网络资源。 当网络规模较大时, 业务的服务 层路由多次经过同一节点或者连接的情况越来越多, 为解决该问题而新建的 连接也随之增多, 导致规划的网络资源成本很高。 发明内容 本发明的实施例提供了一种确定多层网络中连接路由的方法和装置, 避 免多层网络中的服务层路由多次经过同一个节点或者连接。 At present, the usual solution is to recalculate the client layer route until the service layer route of the service does not exist after calculating a client layer route for the service, if the service layer route of the service is found to pass through the same node or connection multiple times. The above questions are up. In actual multi-layer network planning, this method usually requires new connections to increase network resources. When the network size is large, the service layer routing of the service passes through the same node multiple times or more times. The number of new connections is also increased to solve the problem, resulting in high planned network resource cost. Summary of the invention Embodiments of the present invention provide a method and apparatus for determining connection routes in a multi-layer network, avoiding service layer routing in a multi-layer network from passing through the same node or connection multiple times.
本发明的实施例采用如下技术方案:  Embodiments of the present invention adopt the following technical solutions:
本发明的实施例提供了一种确定多层网络中连接路由的方法, 包括: 获得业务的第一客户层路由, 根据所述第一客户层路由获得所述业务的 第一服务层路由;  An embodiment of the present invention provides a method for determining a connection route in a multi-layer network, including: obtaining a first client layer route of a service, and obtaining a first service layer route of the service according to the first client layer route;
确定所述第一服务层路由多次经过第一节点;  Determining that the first service layer route passes through the first node multiple times;
确定服务层路由经过所述第一节点的客户层连接, 将至少一个所述客户 层连接的服务层路由在所述第一节点断开为两段, 形成两个新的客户层连接, 获得所述业务的第二客户层路由;  Determining that the service layer is routed through the client layer connection of the first node, and routing at least one service layer that is connected to the client layer is disconnected into two segments at the first node to form two new client layer connections. The second client layer routing of the service;
基于所述第二客户层路由, 去除多次经过所述第一节点的路由, 获得所 述业务的第三客户层路由, 根据所述第三客户层路由获得所述业务的第二服 务层路由, 所述第二服务层路由一次经过所述第一节点。 本发明的实施例提供了另一种确定多层网络中连接路由的方法, 包括: 获得业务的第一客户层路由, 根据所述第一客户层路由获得所述业务的 第一服务层路由;  Determining, by the second client layer route, a route that passes through the first node multiple times, obtaining a third client layer route of the service, and obtaining a second service layer route of the service according to the third client layer route The second service layer routes through the first node once. An embodiment of the present invention provides another method for determining a connection route in a multi-layer network, including: obtaining a first client layer route of a service, and obtaining a first service layer route of the service according to the first client layer route;
确定所述第一服务层路由多次经过第一节点, 进一步确定所述第一服务 层路由多次经过第一服务层连接, 所述第一节点为所述第一服务层连接的一 个端点;  Determining that the first service layer is routed through the first node multiple times, and further determining that the first service layer route is connected to the first service layer multiple times, where the first node is an endpoint connected by the first service layer;
确定服务层路由经过所述第一节点的客户层连接, 将至少一个所述客户 层连接的服务层路由在所述第一节点断开为两段, 形成两个新的客户层连接, 获得所述业务的第二客户层路由;  Determining that the service layer is routed through the client layer connection of the first node, and routing at least one service layer that is connected to the client layer is disconnected into two segments at the first node to form two new client layer connections. The second client layer routing of the service;
基于所述第二客户层路由, 去除多次经过所述第一节点的路由, 获得所 述业务的第三客户层路由, 根据所述第三客户层路由获得所述业务的第二服 务层路由, 所述第二服务层路由一次经过所述第一节点。 本发明的实施例提供了一种确定多层网络中连接路由的装置, 包括: 第一获得模块: 用于获得业务的第一客户层路由, 根据所述第一客户层 路由获得所述业务的第一服务层路由; Determining, by the second client layer route, a route that passes through the first node multiple times, obtaining a third client layer route of the service, and obtaining a second service layer route of the service according to the third client layer route The second service layer routes through the first node once. An embodiment of the present invention provides an apparatus for determining a connection route in a multi-layer network, including: a first obtaining module: a first client layer route for obtaining a service, and obtaining the service according to the first client layer route First service layer routing;
确定模块: 用于确定所述第一服务层路由多次经过第一节点; 还用于确 定服务层路由经过所述第一节点的客户层连接;  a determining module: configured to determine that the first service layer route passes through the first node multiple times; and is further configured to determine that a service layer route passes through a client layer connection of the first node;
第二获得模块: 用于将至少一个所述客户层连接的服务层路由在所述第 一节点断开为两段, 形成两个新的客户层连接, 获得所述业务的第二客户层 路由;  a second obtaining module: routing a service layer for connecting at least one of the client layers to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service ;
第三获得模块: 用于基于所述第二客户层路由, 去除多次经过所述第一 节点的路由, 获得所述业务的第三客户层路由, 根据所述第三客户层路由获 得所述业务的第二服务层路由, 所述第二服务层路由一次经过所述第一节点。 本发明的实施例提供了另一种确定多层网络中连接路由的装置, 包括: 第一获得模块: 用于获得业务的第一客户层路由, 根据所述第一客户层 路由获得所述业务的第一服务层路由;  a third obtaining module, configured to: according to the second client layer routing, remove a route that passes through the first node multiple times, obtain a third client layer route of the service, and obtain the foregoing according to the third client layer route a second service layer route of the service, the second service layer routing passing through the first node once. An embodiment of the present invention provides another apparatus for determining a connection route in a multi-layer network, including: a first obtaining module: a first client layer route for obtaining a service, and obtaining the service according to the first client layer route First service layer routing;
确定模块: 用于确定所述第一服务层路由多次经过第一节点, 进一步确 定所述第一服务层路由多次经过第一服务层连接, 所述第一节点为所述第一 服务层连接的一个端点; 还用于确定服务层路由经过所述第一节点的客户层 连接;  a determining module: configured to determine that the first service layer route passes through the first node multiple times, and further determines that the first service layer route is connected to the first service layer multiple times, where the first node is the first service layer An endpoint of the connection; further configured to determine that the service layer is routed through the client layer connection of the first node;
第二获得模块: 用于将至少一个所述客户层连接的服务层路由在所述第 一节点断开为两段, 形成两个新的客户层连接, 获得所述业务的第二客户层 路由;  a second obtaining module: routing a service layer for connecting at least one of the client layers to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service ;
第三获得模块: 用于基于所述第二客户层路由, 去除多次经过所述第一 节点的路由, 获得所述业务的第三客户层路由, 根据所述第三客户层路由获 得所述业务的第二服务层路由, 所述第二服务层路由一次经过所述第一节点。 本发明实施例提供的一种确定多层网络中连接路由的方法和装置, 避免 多层网络中的服务层路由多次经过同一个节点或者连接, 优化利用网络资源, 降低所规划网络的资源成本。 附图说明 a third obtaining module, configured to: according to the second client layer routing, remove a route that passes through the first node multiple times, obtain a third client layer route of the service, and obtain the foregoing according to the third client layer route a second service layer route of the service, the second service layer routing passing through the first node once. The method and device for determining a connection route in a multi-layer network are provided by the embodiment of the present invention, so that the service layer route in the multi-layer network is prevented from passing through the same node or connection multiple times, and the network resource is optimized to reduce the resource cost of the planned network. . DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例中所需要 使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的 一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提 下, 还可以根据这些附图获得其它的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying creative labor.
图 la为本发明的一实施例提供的确定多层网络中连接路由的方法的流程 图;  FIG. 1 is a flow chart of a method for determining a connection route in a multi-layer network according to an embodiment of the present invention;
图 lb为本发明的另一实施例提供的确定多层网络中连接路由的方法的流 程图;  FIG. 1b is a flow chart of a method for determining a connection route in a multi-layer network according to another embodiment of the present invention;
图 2a为本发明的实施例一提供的一多层网络规划的路由示意图; 图 2b为本发明的实施例一提供的另一多层网络规划的路由示意图; 图 3a为本发明的实施例二提供的一多层网络规划的路由示意图; 图 3b为本发明的实施例二提供的另一多层网络规划的路由示意图; 图 4为本发明的实施例三、 四提供的一种确定多层网络中连接路由的装 置示意图。 具体实施方式  2a is a schematic diagram of routing of a multi-layer network planning according to Embodiment 1 of the present invention; FIG. 2b is a schematic diagram of routing of another multi-layer network planning according to Embodiment 1 of the present invention; FIG. 3a is a second embodiment of the present invention; FIG. 3b is a schematic diagram of routing of another multi-layer network plan according to Embodiment 2 of the present invention; FIG. 4 is a schematic multi-layer provided according to Embodiments 3 and 4 of the present invention; A schematic diagram of a device that connects routes in a network. detailed description
本发明实施例提供了一种确定多层网络中连接路由的方法和装置。 为了 更好的理解本发明的技术方案, 下面结合附图对本发明实施例进行详细描述。  Embodiments of the present invention provide a method and apparatus for determining a connection route in a multi-layer network. In order to better understand the technical solutions of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的 实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳 动前提下所获得的所有其它实施例, 都属于本发明保护的范围。 本发明实施例, 一种确定多层网络中连接路由的方法的流程如图 la所 示, 该方法包括以下步骤: It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. Based on the embodiments of the present invention, those skilled in the art are not creative All other embodiments obtained under the premise of the invention are within the scope of the invention. In the embodiment of the present invention, a process for determining a connection route in a multi-layer network is shown in FIG. 1a, and the method includes the following steps:
步骤 SlOla, 获得业务的第一客户层路由,根据第一客户层路由获得业务 的第一服务层路由;  Step SlOla, obtaining a first client layer route of the service, and obtaining a first service layer route of the service according to the first client layer route;
步骤 S102a, 确定第一服务层路由多次经过第一节点;  Step S102a, determining that the first service layer route passes through the first node multiple times;
步骤 S103a, 确定服务层路由经过第一节点的客户层连接, 将至少一个客 户层连接的服务层路由在第一节点断开为两段, 形成两个新的客户层连接, 获得业务的第二客户层路由;  Step S103a, determining that the service layer route passes through the client layer connection of the first node, and disconnects the service layer route connected by the at least one client layer into two segments at the first node, forming two new client layer connections, and obtaining the second service. Customer layer routing;
步骤 S104a, 基于第二客户层路由, 去除多次经过第一节点的路由, 获得 业务的第三客户层路由, 根据第三客户层路由获得业务的第二服务层路由, 第二服务层路由一次经过第一节点。 本发明另一实施例, 一种确定多层网络中连接路由的方法的流程如图 lb所示, 该方法包括以下步骤:  Step S104a, based on the second client layer route, removing the route passing through the first node multiple times, obtaining the third client layer route of the service, obtaining the second service layer route of the service according to the third client layer route, and routing the second service layer once. After the first node. In another embodiment of the present invention, a process for determining a connection route in a multi-layer network is shown in FIG. 1b, and the method includes the following steps:
步骤 SlOlb, 获得业务的第一客户层路由,根据第一客户层路由获得业务 的第一服务层路由;  Step SlOlb, obtaining a first client layer route of the service, and obtaining a first service layer route of the service according to the first client layer route;
步骤 S102b,确定第一服务层路由多次经过第一节点,进一步确定第一服 务层路由多次经过第一服务层连接, 第一节点为第一服务层连接的一个端点; 步骤 S103b,确定服务层路由经过第一节点的客户层连接,将至少一个客 户层连接的服务层路由在第一节点断开为两段, 形成两个新的客户层连接, 获得业务的第二客户层路由;  Step S102b, determining that the first service layer route passes through the first node multiple times, further determining that the first service layer route is connected to the first service layer multiple times, and the first node is an endpoint connected by the first service layer; Step S103b, determining the service The layer routing is connected through the client layer of the first node, and the service layer route connecting at least one client layer is disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service;
步骤 S104b, 基于第二客户层路由, 去除多次经过第一节点的路由, 获得 业务的第三客户层路由, 根据第三客户层路由获得业务的第二服务层路由, 第二服务层路由一次经过第一节点。 下面针对 OTN多层网络, 以服务层为 OMS ( Optical Multiplex Section , 光复用段)层、 客户层为 OTU ( Optical channel Transport Unit, 光通道传输单 元)层为例, 结合附图对本发明实施例提供的一种确定多层网络中连接路由 的方法和装置进行详细描述。 Step S104b, based on the second client layer route, removing the route that passes through the first node multiple times, obtaining the third client layer route of the service, obtaining the second service layer route of the service according to the third client layer route, and routing the second service layer once. After the first node. The following is an example of the OTN multi-layer network, with the service layer being an OMS (Optical Multiplex Section) layer and the OTU (Optical Channel Transport Unit) layer as an example. A method and apparatus for determining connection routes in a multi-layer network are described in detail.
应当明确, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的 实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳 动前提下所获得的所有其它实施例, 都属于本发明保护的范围。 实施例一, 本发明实施例提供了一种确定多层网络中连接路由的方法。 如图 2a所示, 图 2a中节点均为 0TN节点, 业务 200 (如图 2a中虚线所示) 的源节点为节点 A, 宿节点为节点 C。 OTU层中, 节点 A和节点 B之间存在 OTU连接 201 , OTU连接 201通过 OMS层的 OMS连接 211来承载; OTU 层中节点 B与节点 C之间存在 OTU连接 202, OTU连接 202通过 OMS层的 OMS连接 211、 212、 213来^ ^载。 该方法具体包括以下步骤:  It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. Embodiment 1 The embodiment of the present invention provides a method for determining a connection route in a multi-layer network. As shown in Figure 2a, the nodes in Figure 2a are all 0TN nodes, and the source node of service 200 (shown by the dotted line in Figure 2a) is node A, and the sink node is node C. In the OTU layer, there is an OTU connection 201 between the node A and the node B, and the OTU connection 201 is carried by the OMS connection 211 of the OMS layer; there is an OTU connection 202 between the node B and the node C in the OTU layer, and the OTU connection 202 passes through the OMS layer. The OMS connections 211, 212, and 213 are loaded. The method specifically includes the following steps:
步骤 S201 , 获得业务 200 的 OTU层路由, 根据 OTU层路由获得业务 200的 OMS层路由。  Step S201: Obtain an OTU layer route of the service 200, and obtain an OMS layer route of the service 200 according to the OTU layer route.
从节点 A到节点 C的业务 200, 在 OTU层可以通过 OTU连接 201的节 点 A至节点 B方向和 OTU连接 202的节点 B至节点 C方向 载,即业务 200 的 OTU层路由由源至宿为 [A, B, C]。  The service 200 from the node A to the node C can be carried in the direction of the node A to the node B of the OTU connection 201 and the direction of the node B to the node C of the OTU connection 202 at the OTU layer, that is, the OTU layer route of the service 200 is from the source to the sink. [A, B, C].
相应的, 业务 200在 OMS层顺序经过 OMS连接 211、 211、 212、 213 , 继而得到业务 200的 OMS层路由由源至宿为 [A, B, A, D, C]。  Correspondingly, the service 200 sequentially passes through the OMS connection 211, 211, 212, 213 at the OMS layer, and then the OMS layer of the service 200 is routed from source to sink [A, B, A, D, C].
步骤 S202, 确定业务 200 的 OMS层路由多次经过节点 A, 进一步确定 业务 200 的 OMS层路由多次经过节点 A为其一个端点的 OMS层连接。  Step S202: Determine that the OMS layer route of the service 200 passes through the node A multiple times, and further determines that the OMS layer route of the service 200 is connected to the OMS layer of one end of the node A multiple times.
业务 200 的 OTU层路由由源至宿为 [A, B, C] , OMS层路由由源至宿为 [A, B, A, D, C]。 业务 200的 OMS层路由中, 基于源节点 A至宿节点 C方向, 依次从包 括源节点 A和宿节点 C的前一跳节点 D在内的所有节点中确定基准节点; 然 后基于宿节点 C至源节点 A的方向,依次从包括宿节点 C和基准节点的前一 跳节点在内的所有节点中确定查询节点; 将查询节点与基准节点进行比较, 若两节点为一个相同节点, 则停止比较。 则对 OMS层路由中的节点依次进行 ^口下 t匕交: The OTU layer route of service 200 is from source to sink [A, B, C], and the OMS layer route is from source to sink [A, B, A, D, C]. In the OMS layer routing of the service 200, based on the source node A to the sink node C direction, the reference node is sequentially determined from all the nodes including the source node A and the previous hop node D of the sink node C; and then based on the sink node C to The direction of the source node A sequentially determines the query node from all the nodes including the sink node C and the previous hop node of the reference node; compares the query node with the reference node, and if the two nodes are the same node, stop comparing . Then, the nodes in the route of the OMS layer are sequentially subjected to the following:
1 )基准节点为 A, 依次与查询节点(、 D、 A、 B进行比较;  1) The reference node is A, which is compared with the query node (, D, A, B in turn;
2 )基准节点为 B, 依次与查询节点(、 D、 A进行比较;  2) The reference node is B, which is compared with the query node (, D, A in turn;
3 )基准节点为 A, 依次与查询节点(、 D进行比较;  3) The reference node is A, which is compared with the query node (, D in turn;
4 )基准节点为 D, 与查询节点 C进行比较。  4) The reference node is D, which is compared with the query node C.
当基准节点 A比较至查询节点 A时, 基准节点和查询节点为一个相同节 点 A, 停止比较。 不再进行 1 ) 中的基准节点 A与查询节点 B的比较, 以及 后续 2 )、 3 )、 4 ) 的比较, 确定相同节点为节点 A, OMS层路由多次经过节 点 A。  When the reference node A is compared to the query node A, the reference node and the query node are the same node A, and the comparison is stopped. The comparison between the reference node A and the query node B in 1) and the subsequent comparison of 2), 3), and 4) are performed, and it is determined that the same node is node A, and the OMS layer is routed through node A multiple times.
业务 200在 OMS层顺序经过 OMS连接 211、 211、 212、 213, 即业务 200 在 OMS层经过 OMS连接 211两次, 节点 A为 OMS连接 211的一个端点, 确定业务 200的 OMS层路由多次经过 OMS连接 211。  The service 200 passes through the OMS connection 211, 211, 212, and 213 in the OMS layer, that is, the service 200 passes through the OMS connection 211 twice at the OMS layer, and the node A is an endpoint of the OMS connection 211, and determines the OMS layer route of the service 200 multiple times. OMS connection 211.
步骤 S203, 确定 OMS层路由经过节点 A的 OTU连接, 将这些 OTU连 接中至少一个 OTU连接的 OMS层路由在节点 A断开为两段, 形成两个新的 OTU连接, 获得 OTU连接断开后业务 200新的 OTU层路由。  Step S203, determining that the OMS layer is routed through the OTU connection of the node A, and the OMS layer route connecting at least one of the OTU connections is disconnected into two segments at the node A, forming two new OTU connections, and after the OTU connection is disconnected. Service 200 new OTU layer routing.
根据承载业务 200的各 OTU连接(即 OTU连接 201、 OTU连接 202 ) 的 OMS层路由, 确定 OTU连接 201和 202 的 OMS层路由经过节点 A。  The OMS layer routing of the OTU connections 201 and 202 is determined to pass through the node A according to the OMS layer route of each OTU connection (i.e., OTU connection 201, OTU connection 202) of the bearer service 200.
如图 2b所示, 节点 A为 OTU连接 201的端点, 无需将 OTU连接 201 在节点 A断开。  As shown in Figure 2b, node A is the endpoint of the OTU connection 201, and there is no need to disconnect the OTU connection 201 at node A.
节点 A非 OTU连接 202的端点,将 OTU连接 202在节点 A断开为两段, 形成两个新的 OTU连接, 即断开 OTU连接 202, 节点 A与 OTU连接 202的 端点 B间形成新的 OTU连接 203, 通过 OMS层的 OMS连接 211来承载; 节 点 A与 OTU连接 202的端点 C间形成新的 OTU连接 204, 通过 OMS层的 OMS连接 212、 213来承载。 The node A is not the endpoint of the OTU connection 202, and the OTU connection 202 is disconnected into two segments at the node A to form two new OTU connections, that is, the OTU connection 202 is disconnected, and the node A and the OTU are connected 202. A new OTU connection 203 is formed between the endpoints B, and is carried by the OMS connection 211 of the OMS layer; a new OTU connection 204 is formed between the node A and the endpoint C of the OTU connection 202, and is carried by the OMS connection 212, 213 of the OMS layer.
新的 OTU连接 203、204具有与断开前的 OTU连接 202相同的连接带宽。 获得 OTU连接断开后业务 200新的 OTU层路由: 业务 200通过 OTU连 接 201的节点 A至节点 B方向、 OTU连接 203的节点 B至节点 A方向和 OTU 连接 204的节点 A至节点 C方向承载, 即业务 200 的 OTU层路由由源至宿 为 [Α, Β, Α, C]。  The new OTU connections 203, 204 have the same connection bandwidth as the OTU connection 202 before disconnection. After the OTU connection is disconnected, the service 200 new OTU layer route: the service 200 passes the node A to the node B direction of the OTU connection 201, the node B to the node A direction of the OTU connection 203, and the node A to the node C direction of the OTU connection 204. That is, the OTU layer route of service 200 is from source to sink [Α, Β, Α, C].
步骤 S204, 基于 OTU连接断开后业务 200新的 OTU层路由, 去除多次 经过节点 A的路由, 获得业务 200新的 OTU层路由, 根据新的 OUT层路由 获得新的 OMS层路由, 新的 OMS层路由经过节点 A—次。  Step S204, after the OTU connection is disconnected, the service 200 new OTU layer route is removed, the route passing through the node A is removed multiple times, the new OTU layer route of the service 200 is obtained, and the new OMS layer route is obtained according to the new OUT layer route, the new The OMS layer is routed through node A—times.
基于 OTU连接断开后业务 200新的 OTU层路由 [A, B, A, C] , 去除多次 经过节点 A的路由 [B, A] , 获得业务 200由源至宿的新的 OTU层路由 [A, C], 即在 OTU层通过 OTU连接 204的节点 A至节点 C方向承载。  Based on the OTU connection disconnected, the service 200 new OTU layer route [A, B, A, C], removes the route [B, A] passing through the node A multiple times, and obtains the new OTU layer route of the service 200 from the source to the sink. [A, C], that is, the OTU layer carries the direction from the node A to the node C of the OTU connection 204.
根据新的 OTU层路由 [A, C]获得业务 200由源至宿的新的 OMS层路由 [A, D, C] , 即在 OMS层顺序经过 OMS连接 212、 213, 业务 200新的 OMS层路 由仅经过节点 A—次。  According to the new OTU layer route [A, C], the new OMS layer route [A, D, C] of the service 200 from the source to the sink is obtained, that is, the OMS layer sequentially passes through the OMS connection 212, 213, and the service 200 new OMS layer The route only passes through node A—time.
本实施例中, 为进一步优化利用网络资源, 降低所规划网络的资源成本, 可以在步骤 S204之后, 可选地执行步骤 S205, 在被去除的多次经过节点 A 的 OTU层路由中, 合并同源同宿的两个 OTU连接。  In this embodiment, in order to further optimize the utilization of network resources and reduce the resource cost of the planned network, step S205 may be optionally performed after step S204, and merged in the removed OTU layer route of the node A multiple times. The source is the same as the two OTU connections.
在被去除的多次经过节点 A的 OTU层路由 [Β, Α]中,同源同宿的 OTU层 连接为 OTU连接 201和 203。  In the removed OTU layer route [Β, Α] of the node A, the OTU layer of the homologous and identical sink is connected to the OTU connections 201 and 203.
将 OTU连接 201和 203所承载的业务总带宽与 OTU连接 201的连接带 宽进行比较, 将 OTU连接 201和 203所承载的业务总带宽与 OTU连接 203 的连接带宽进行比较, 根据比较结果进行相应的合并:  Comparing the total service bandwidth carried by the OTU connections 201 and 203 with the connection bandwidth of the OTU connection 201, comparing the total service bandwidth carried by the OTU connections 201 and 203 with the connection bandwidth of the OTU connection 203, and performing corresponding calculation according to the comparison result. Merger:
如果 OTU连接 201、 203的连接带宽都大于或者等于业务总带宽: 则保 留其中连接带宽较小的 OTU连接,删除另一个连接带宽较大的 OTU连接; 如 果 OTU连接 201和 203的连接带宽相同, 则任意保留其中一个 OTU连接, 删除另一个 OTU连接; If the connection bandwidth of the OTU connections 201 and 203 is greater than or equal to the total bandwidth of the service: Leave an OTU connection with a smaller connection bandwidth and delete another OTU connection with a larger connection bandwidth. If the connection bandwidth of the OTU connections 201 and 203 is the same, then one OTU connection is reserved arbitrarily, and another OTU connection is deleted.
如果只有一个 OTU连接的连接带宽大于或者等于业务总带宽, 则保留该 If only one OTU connection has a connection bandwidth greater than or equal to the total service bandwidth, leave the
OTU连接, 删除另一个 OTU连接; OTU connection, delete another OTU connection;
如果 OTU连接 201、 203的连接带宽都小于业务总带宽, 则不进行合并。 上述实施例一可用于网络规划要求 OMS 层路由不允许多次经过同一连 接, 而允许多次经过同一节点的情况。 实施例二, 本发明的实施例一种确定多层网络中连接路由的方法。 如图 3a所示, 图 3a中节点均为 OTN节点, 业务 300 (如图 3a中虚线所示) 的源 节点为节点 A, 宿节点为节点 F。 OTU层中, 节点 A和节点 B之间存在 OTU 连接 301 , OTU连接 301通过 OMS层的 OMS连接 311来承载; OTU层中节 点 B与节点 C之间存在 OTU连接 302, OTU连接 302通过 OMS层的 OMS 连接 312来承载; OTU层中节点 C与节点 E之间存在 OTU连接 303 , OTU 连接 303通过 OMS层的 OMS连接 313、 314、 315来承载; OTU层中节点 E 与节点 F之间存在 OTU连接 304, OTU连接 304通过 OMS层的 OMS连接 316来承载。 该方法具体包括以下步骤:  If the connection bandwidth of the OTU connections 201 and 203 is less than the total bandwidth of the service, no merging is performed. The first embodiment described above can be used for network planning. The OMS layer routing does not allow multiple connections to the same connection, but allows multiple passes through the same node. Embodiment 2 An embodiment of the present invention is a method for determining a connection route in a multi-layer network. As shown in Figure 3a, the nodes in Figure 3a are OTN nodes, and the source node of service 300 (shown by the dotted line in Figure 3a) is node A, and the sink node is node F. In the OTU layer, there is an OTU connection 301 between the node A and the node B, and the OTU connection 301 is carried by the OMS connection 311 of the OMS layer; in the OTU layer, there is an OTU connection 302 between the node B and the node C, and the OTU connection 302 passes through the OMS layer. OMS connection 312 is carried; OTU connection 303 exists between node C and node E in the OTU layer, OTU connection 303 is carried by OMS connection 313, 314, 315 of OMS layer; exists between node E and node F in OTU layer OTU connection 304, OTU connection 304 is carried over OMS connection 316 of the OMS layer. The method specifically includes the following steps:
步骤 S301 ,获得业务 300的 OTU层路由,根据 OTU层路由获得业务 300 的 OMS层的路由。  Step S301: Obtain an OTU layer route of the service 300, and obtain a route of the OMS layer of the service 300 according to the OTU layer route.
从节点 A到节点 F的业务 300, 在 OTU层可以通过 OTU连接 301的节 点 A至节点 B方向、 OTU连接 302的节点 B至节点 C方向、 OTU连接 303 的节点 C至节点 E方向和 OTU连接 304的节点 E至节点 F方向 载, 即业 务 300 的 OTU层路由由源至宿为 [A, B, C, E, F]。  The service 300 from the node A to the node F, at the OTU layer, may be in the direction of the node A to the node B of the OTU connection 301, the direction of the node B to the node C of the OTU connection 302, the direction of the node C to the node E of the OTU connection 303, and the OTU connection. The node E of the 304 is carried in the direction of the node F, that is, the OTU layer of the service 300 is routed from the source to the sink [A, B, C, E, F].
相对应的, 业务 300在 OMS层顺序经过 OMS连接 311、 312、 313、 314、 315、 316, 继而得到业务 300的 OMS层路由由源至宿为 [A, B, C, D, B, E, F]。 步骤 S302, 确定业务 300 的 OMS层路由多次经过节点 B。 Correspondingly, the service 300 sequentially passes through the OMS connections 311, 312, 313, 314, 315, 316 at the OMS layer, and then the OMS layer of the service 300 is routed from the source to the sink [A, B, C, D, B, E , F]. Step S302, determining that the OMS layer route of the service 300 passes through the node B multiple times.
业务 300 的 OTU层路由由源至宿为 [A, B, C, E, F] , OMS层路由由源至 宿为 [A, B, C, D, B, E, F]。  The OTU layer route of service 300 is from source to sink [A, B, C, E, F], and the OMS layer is routed from source to sink [A, B, C, D, B, E, F].
业务 300的 OMS层路由中, 基于源节点 A至宿节点 F方向, 依次从包 括源节点 A和宿节点 F的前一跳节点 E在内的所有节点中确定基准节点; 然 后基于宿节点 F至源节点 A的方向, 依次从包括宿节点 F和基准节点的前一 跳节点在内的所有节点中确定查询节点; 将查询节点与基准节点进行比较, 若两节点为一个相同节点, 则停止比较。 则对 OMS层路由中的节点依次进行 ^口下 t匕交:  In the OMS layer routing of the service 300, based on the source node A to the sink node F direction, the reference node is sequentially determined from all the nodes including the source node A and the previous hop node E of the sink node F; and then based on the sink node F In the direction of the source node A, the query node is determined in turn from all the nodes including the sink node F and the previous hop node of the reference node; the query node is compared with the reference node, and if the two nodes are the same node, the comparison is stopped. . Then, the nodes in the route of the OMS layer are sequentially subjected to the following:
1 )基准节点为 A, 依次与 OMS层路由中的节点 F、 E、 B、 D、 C、 B比 较;  1) The reference node is A, which in turn is compared with nodes F, E, B, D, C, and B in the OMS layer route;
2 )基准节点为 B, 依次与查询节点F、 E、 B、 D、 C进行比较;  2) The reference node is B, which is compared with the query nodes F, E, B, D, C in turn;
3 )基准节点为 C, 依次与查询节点F、 E、 B、 D进行比较;  3) The reference node is C, which is compared with the query nodes F, E, B, and D in turn;
4 )基准节点为 D, 依次与查询节点F、 E、 B进行比较;  4) The reference node is D, which is compared with the query nodes F, E, B in turn;
5 )基准节点为 B, 依次与查询节点?、 E进行比较;  5) The reference node is B, in turn with the query node? And E for comparison;
6 )基准节点为 E, 与查询节点 F进行比较。  6) The reference node is E, which is compared with the query node F.
当基准节点 B比较至查询节点 B时, 基准节点和查询节点为一个相同节 点 B, 停止比较。 不再进行 2 ) 中的基准节点 B与查询节点 D、 C的比较, 以 及后续 3 )、 4 )、 5 )、 6 ) 的比较, 确定相同节点为节点 B, OMS层路由多次 经过节点 B。  When the reference node B is compared to the query node B, the reference node and the query node are the same node B, and the comparison is stopped. The comparison between the reference node B and the query nodes D and C in 2) and the subsequent 3), 4), 5), and 6) are performed, and the same node is determined to be the node B, and the OMS layer is routed through the node B multiple times. .
步骤 S303, 确定 OMS层路由经过节点 B的 OTU连接, 将这些 OTU连 接中至少一个 OTU连接的 OMS层路由在节点 B断开为两段, 形成两个新的 OTU连接, 获得 OTU连接断开后业务 300新的 OTU层路由。  Step S303, determining that the OMS layer is routed through the OTU connection of the Node B, and the OMS layer route connecting at least one of the OTU connections is disconnected into two segments at the Node B, forming two new OTU connections, and after the OTU connection is disconnected. Service 300 new OTU layer routing.
根据承载业务 300的各 OTU连接(即 OTU连接 301、 302、 303、 304 ) 的 OMS层路由, 确定 OTU连接 302和 303 的 OMS层路由经过节点 B。  Based on the OMS layer routes of the OTU connections (i.e., OTU connections 301, 302, 303, 304) of the bearer service 300, it is determined that the OMS layers of the OTU connections 302 and 303 are routed through the Node B.
如图 3b所示, 节点 B为 OTU连接 302的端点, 无需将 OTU连接 302在 节点 B断开。 As shown in Figure 3b, Node B is the endpoint of the OTU connection 302, and there is no need to connect the OTU 302. Node B is disconnected.
节点 B非 OTU连接 303的端点,将 OTU连接 303在节点 B断开为两段, 形成两个新的 OTU连接, 即断开 OTU连接 303, 节点 B与 OTU连接 303的 端点 C间形成新的 OTU连接 305,通过 OMS层的 OMS连接 312来承载; 节 点 B与 OTU连接 303的端点 E间形成新的 OTU连接 306, 通过 OMS层的 OMS连接 315来承载。  The Node B is not the endpoint of the OTU connection 303, and the OTU connection 303 is disconnected into two segments at the Node B to form two new OTU connections, that is, the OTU connection 303 is disconnected, and the Node B and the Endpoint C of the OTU connection 303 form a new one. The OTU connection 305 is carried by the OMS connection 312 of the OMS layer; the Node B forms a new OTU connection 306 with the E-layer connection 303, which is carried by the OMS connection 315 of the OMS layer.
新的 OTU连接 305、 306具有与断开前的 OTU连接 303相同的连接带宽。 获得 OTU连接断开后业务 300新的 OTU层路由: 业务 300通过 OTU连 接 301的节点 A至节点 B方向、 OTU连接 302的节点 B至节点 C方向、 OTU 连接 305的节点 C至节点 B方向、 OTU连接 306的节点 B至节点 E方向和 OTU连接 304的节点 E至节点 F方向承载, 即业务 300 的 OTU层路由由源 至宿为 [A, B, C, Β, Ε, F]。  The new OTU connections 305, 306 have the same connection bandwidth as the OTU connection 303 before disconnection. After the OTU connection is disconnected, the service 300 new OTU layer route: the service 300 passes the node A to the node B direction of the OTU connection 301, the node B to the node C direction of the OTU connection 302, the node C to the node B direction of the OTU connection 305, The Node B to Node E direction of the OTU connection 306 and the Node E to Node F direction of the OTU connection 304 are carried, that is, the OTU layer route of the service 300 is from source to sink [A, B, C, Β, Ε, F].
步骤 S304, 基于 OTU连接断开后业务 300新的 OTU层路由, 去除多次 经过节点 B的路由, 获得业务 300新的 OTU层路由, 根据新的 OUT层路由 获得新的 OMS层路由, 新的 OMS层路由经过节点 B—次。  Step S304, after the OTU connection is disconnected, the service 300 new OTU layer route is removed, the route passing through the node B is removed multiple times, the new OTU layer route of the service 300 is obtained, and the new OMS layer route is obtained according to the new OUT layer route, the new The OMS layer is routed through node B—times.
基于 OTU连接断开后业务 300新的 OTU层路由 [A, B, C, B, E, F] , 去除 多次经过节点 B的路由 [C, B] , 获得业务 300由源至宿的新的 OTU层路由 [A, B, E, F] , 即在 OTU层通过 OTU连接 301的节点 A至节点 B方向、 OTU连 接 306的节点 B至节点 E方向和 OTU连接 304的节点 E至节点 F方向承载。  After the OTU connection is disconnected, the service 300 new OTU layer route [A, B, C, B, E, F], removes the route [C, B] passing through the node B multiple times, and obtains the new service 300 from the source to the sink. The OTU layer route [A, B, E, F], that is, the node A to the node B direction of the OTU layer 301 through the OTU layer, the node B to the node E direction of the OTU connection 306, and the node E to the node F of the OTU connection 304 Direction bearing.
根据新的 OTU层路由 [A, B, E, F]获得业务 300由源至宿的新的 OMS层 路由 [A, B, E, F] , 即在 OMS层顺序经过连接 311、 315、 316, 业务 300新的 OMS层路由仅经过节点 B—次。  According to the new OTU layer route [A, B, E, F], the new OMS layer route [A, B, E, F] of the service 300 from the source to the sink is obtained, that is, the sequence is connected through the connections 311, 315, 316 in the OMS layer. The service 300 new OMS layer route only passes through the node B-time.
本实施例中, 为进一步优化利用网络资源, 降低所规划网络的资源成本, 可以在步骤 S304之后, 可选地执行步骤 S305, 在被去除的多次经过节点 B 的 OTU层路由中, 合并同源同宿的两个 OTU连接。  In this embodiment, in order to further optimize the utilization of network resources and reduce the resource cost of the planned network, step S305 may be optionally performed after step S304, and merged in the removed OTU layer route of the node B multiple times. The source is the same as the two OTU connections.
在被去除的多次经过节点 B的 OTU层路由 [C, B]中,同源同宿的 OTU层 连接为 OTU连接 302和 305。 In the OTU layer route [C, B] that has been removed multiple times through Node B, the OTU layer of the same-same and identical The connections are OTU connections 302 and 305.
将 OTU连接 302和 305所承载的业务总带宽与 OTU连接 302的连接带 宽进行比较, 将 OTU连接 302和 305所承载的业务总带宽与 OTU连接 305 的连接带宽进行比较, 根据比较结果进行相应的合并:  Comparing the total service bandwidth carried by the OTU connections 302 and 305 with the connection bandwidth of the OTU connection 302, comparing the total service bandwidth carried by the OTU connections 302 and 305 with the connection bandwidth of the OTU connection 305, and performing corresponding calculation according to the comparison result. Merger:
如果 OTU连接 302、 305的连接带宽都大于或者等于业务总带宽, 则保 留其中连接带宽较小的 OTU连接, 删除另一个连接带宽较大的 OTU连接; 如果 OTU连接 302和 305的连接带宽相同, 则任意保留其中一个 OTU连接, 删除另一个 OTU连接;  If the connection bandwidth of the OTU connections 302 and 305 is greater than or equal to the total bandwidth of the service, the OTU connection with the smaller connection bandwidth is reserved, and the other OTU connection with the larger connection bandwidth is deleted; if the connection bandwidth of the OTU connections 302 and 305 is the same, Then arbitrarily retain one of the OTU connections and delete another OTU connection;
如果只有一个 OTU连接的连接带宽大于或者等于业务总带宽, 则保留该 OTU连接, 删除另一个 OTU连接;  If the connection bandwidth of only one OTU connection is greater than or equal to the total bandwidth of the service, the OTU connection is reserved, and another OTU connection is deleted;
如果 OTU连接 302、 305的连接带宽都小于业务总带宽, 则不进行合并。 上述实施例二可用于网络规划要求 OMS 层路由不允许多次经过同一节 点的情况。  If the connection bandwidth of the OTU connections 302 and 305 is less than the total bandwidth of the service, no merging is performed. The foregoing Embodiment 2 can be used for network planning, where the OMS layer routing does not allow multiple passes through the same node.
本发明实施例提供的一种确定多层网络中连接路由的方法, 避免多层网 络中的服务层路由多次经过同一节点或者连接, 优化利用网络资源, 降低所 规划网络的资源成本。 实施例三, 本发明实施例提供了一种确定多层网络中连接路由的装置, 如图 4所示, 包括:  A method for determining a connection route in a multi-layer network according to an embodiment of the present invention prevents the service layer route in the multi-layer network from passing through the same node or connection multiple times, optimizes utilization of network resources, and reduces resource costs of the planned network. The third embodiment of the present invention provides an apparatus for determining a connection route in a multi-layer network. As shown in FIG. 4, the method includes:
第一获得模块 401: 用于获得业务的第一客户层路由,根据第一客户层路 由获得业务的第一服务层路由;  a first obtaining module 401: a first client layer route for obtaining a service, and obtaining a first service layer route of the service according to the first client layer route;
确定模块 402: 用于确定第一服务层路由多次经过第一节点; 还用于确定 服务层路由经过第一节点的客户层连接;  The determining module 402 is configured to determine that the first service layer route passes through the first node multiple times; and is further configured to determine that the service layer is routed through the client node connection of the first node;
第二获得模块 403:用于将至少一个客户层连接的服务层路由在第一节点 断开为两段, 形成两个新的客户层连接, 获得业务的第二客户层路由;  a second obtaining module 403: routing a service layer for connecting at least one client layer to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service;
第三获得模块 404: 用于基于第二客户层路由, 去除多次经过第一节点的 路由, 获得业务的第三客户层路由, 根据第三客户层路由获得业务的第二服 务层路由, 第二服务层路由一次经过第一节点。 实施例四, 本发明实施例提供了一种确定多层网络中连接路由的装置, 如图 4所示, 包括: a third obtaining module 404: configured to remove, according to the second client layer, multiple times through the first node Routing, obtaining a third client layer route of the service, obtaining a second service layer route of the service according to the third client layer route, and the second service layer routing passes through the first node once. Embodiment 4 The embodiment of the present invention provides an apparatus for determining a connection route in a multi-layer network. As shown in FIG. 4, the method includes:
第一获得模块 401 : 用于获得业务的第一客户层路由,根据第一客户层路 由获得业务的第一服务层路由;  a first obtaining module 401: a first client layer route for obtaining a service, and obtaining a first service layer route of the service according to the first client layer route;
确定模块 402: 用于确定第一服务层路由多次经过第一节点, 进一步确定 第一服务层路由多次经过第一服务层连接, 第一节点为第一服务层连接的一 个端点; 还用于确定服务层路由经过第一节点的客户层连接;  The determining module 402 is configured to determine that the first service layer route passes through the first node multiple times, further determine that the first service layer route is connected to the first service layer multiple times, and the first node is an endpoint of the first service layer connection; Determining that the service layer is routed through the client layer connection of the first node;
第二获得模块 403:用于将至少一个客户层连接的服务层路由在第一节点 断开为两段, 形成两个新的客户层连接, 获得业务的第二客户层路由;  a second obtaining module 403: routing a service layer for connecting at least one client layer to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service;
第三获得模块 404: 用于基于第二客户层路由, 去除多次经过第一节点的 路由, 获得业务的第三客户层路由, 根据第三客户层路由获得业务的第二服 务层路由, 第二服务层路由一次经过第一节点。 上述实施例三、 四装置内的各模块之间的信息交互、 执行过程等内容, 由于与本发明方法实施例基于同一构思, 具体内容可参见本发明方法实施例 中的叙述, 此处不再赞述。  The third obtaining module 404 is configured to: according to the second client layer routing, remove the route that passes through the first node multiple times, obtain the third client layer route of the service, and obtain the second service layer route of the service according to the third client layer route, The two service layer routes pass through the first node once. The content of the information exchange, the execution process, and the like between the modules in the third embodiment and the fourth embodiment are based on the same concept as the method embodiment of the present invention. For details, refer to the description in the method embodiment of the present invention. Praise.
本发明实施例提供的一种确定多层网络中连接路由的装置, 避免多层网 络中的服务层路由多次经过同一节点或者连接, 优化利用网络资源, 降低所 规划网络的资源成本。 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步 骤, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, ROM )或随机存者 i己忆体 ( Random Access Memory, RAM )等。 An apparatus for determining a connection route in a multi-layer network according to an embodiment of the present invention prevents the service layer route in the multi-layer network from passing through the same node or connection multiple times, optimizes utilization of network resources, and reduces resource cost of the planned network. A person skilled in the art can understand that all or part of the steps of the foregoing embodiment can be implemented by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When implemented, may include implementation of the methods as described above The flow of the example. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保 护范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope of the present invention is All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
1、 一种确定多层网络中连接路由的方法, 其特征在于, 包括:  A method for determining a connection route in a multi-layer network, the method comprising:
获得业务的第一客户层路由, 根据所述第一客户层路由获得所述业务的第 一服务层路由;  Obtaining a first client layer route of the service, and obtaining a first service layer route of the service according to the first client layer route;
确定所述第一服务层路由多次经过第一节点;  Determining that the first service layer route passes through the first node multiple times;
确定服务层路由经过所述第一节点的客户层连接, 将至少一个所述客户层 连接的服务层路由在所述第一节点断开为两段, 形成两个新的客户层连接, 获 得所述业务的第二客户层路由;  Determining that the service layer is routed through the client layer connection of the first node, and routing at least one service layer that is connected to the client layer is disconnected into two segments at the first node to form two new client layer connections. The second client layer routing of the service;
基于所述第二客户层路由, 去除多次经过所述第一节点的路由, 获得所述 业务的第三客户层路由, 根据所述第三客户层路由获得所述业务的第二服务层 路由, 所述第二服务层路由一次经过所述第一节点。  Determining, by the second client layer route, a route that passes through the first node multiple times, obtaining a third client layer route of the service, and obtaining a second service layer route of the service according to the third client layer route The second service layer routes through the first node once.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:  2. The method according to claim 1, wherein the method further comprises:
在被去除的所述多次经过所述第一节点的路由中, 合并同源同宿的两个客 户层连接。  In the plurality of routes that have been removed through the first node, the two client layers of the same-same and the same are connected.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述确定所述第一服务 层路由多次经过第一节点, 具体包括:  The method according to claim 1 or 2, wherein the determining that the first service layer route passes through the first node multiple times comprises:
第一服务层路由中, 基于源节点至宿节点的方向, 依次从包括所述源节点 和所述宿节点的前一跳节点在内的所有节点中确定基准节点;  In the first service layer route, determining a reference node from all nodes including the source node and the previous hop node of the sink node in sequence based on a direction from the source node to the sink node;
基于所述宿节点至所述源节点的方向, 依次从包括所述宿节点和所述基准 节点的前一跳节点在内的所有节点中确定查询节点;  Determining a query node from all nodes including the sink node and a previous hop node of the reference node in sequence based on a direction of the sink node to the source node;
将所述查询节点与所述基准节点进行比较, 若两节点为一个相同节点, 则 停止比较;  Comparing the query node with the reference node, and if the two nodes are the same node, stopping the comparison;
确定所述相同节点为所述第一节点, 所述第一服务层路由多次经过所述第 Determining that the same node is the first node, and the first service layer is routed multiple times through the first
"""" 1节点。 """" 1 node.
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述将至少一个所述客 户层连接的服务层路由在所述第一节点断开为两段, 形成两个新的客户层连接, 具体包括: The method according to claim 1 or 2, wherein the routing of the service layer connecting at least one of the client layers is broken into two segments at the first node to form two new client layers. connection, Specifically include:
如果所述第一节点非所述客户层连接的端点, 则将所述客户层连接的服务 层路由在所述第一节点断开为两段, 形成两个新的客户层连接;  If the first node is not the endpoint connected by the client layer, routing the service layer connected by the client layer to two segments at the first node to form two new client layer connections;
所述新的客户层连接具有与断开前的所述客户层连接相同的连接带宽。 The new client layer connection has the same connection bandwidth as the client layer connection before disconnection.
5、 一种确定多层网络中连接路由的方法, 其特征在于, 包括: 5. A method for determining a connection route in a multi-layer network, the method comprising:
获得业务的第一客户层路由, 根据所述第一客户层路由获得所述业务的第 一服务层路由;  Obtaining a first client layer route of the service, and obtaining a first service layer route of the service according to the first client layer route;
确定所述第一服务层路由多次经过第一节点, 进一步确定所述第一服务层 路由多次经过第一服务层连接, 所述第一节点为所述第一服务层连接的一个端 点;  Determining that the first service layer is routed through the first node multiple times, and further determining that the first service layer route is connected to the first service layer multiple times, where the first node is an endpoint connected by the first service layer;
确定服务层路由经过所述第一节点的客户层连接, 将至少一个所述客户层 连接的服务层路由在所述第一节点断开为两段, 形成两个新的客户层连接, 获 得所述业务的第二客户层路由;  Determining that the service layer is routed through the client layer connection of the first node, and routing at least one service layer that is connected to the client layer is disconnected into two segments at the first node to form two new client layer connections. The second client layer routing of the service;
基于所述第二客户层路由, 去除多次经过所述第一节点的路由, 获得所述 业务的第三客户层路由, 根据所述第三客户层路由获得所述业务的第二服务层 路由, 所述第二服务层路由一次经过所述第一节点。  Determining, by the second client layer route, a route that passes through the first node multiple times, obtaining a third client layer route of the service, and obtaining a second service layer route of the service according to the third client layer route The second service layer routes through the first node once.
6、 根据权利要求 5所述的方法, 其特征在于, 所述方法还包括: 在被去除的所述多次经过所述第一节点的路由中, 合并同源同宿的两个客 户层连接。  The method according to claim 5, wherein the method further comprises: combining two client layer connections of the homologous and homogenous in the route that is removed through the first node.
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述确定所述第一服务 层路由多次经过第一节点, 具体包括:  The method according to claim 5 or 6, wherein the determining that the first service layer route passes through the first node multiple times comprises:
第一服务层路由中, 基于源节点至宿节点的方向, 依次从包括所述源节点 和所述宿节点的前一跳节点在内的所有节点中确定基准节点;  In the first service layer route, determining a reference node from all nodes including the source node and the previous hop node of the sink node in sequence based on a direction from the source node to the sink node;
基于所述宿节点至所述源节点的方向, 依次从包括所述宿节点和所述基准 节点的前一跳节点在内的所有节点中确定查询节点;  Determining a query node from all nodes including the sink node and a previous hop node of the reference node in sequence based on a direction of the sink node to the source node;
将所述查询节点与所述基准节点进行比较, 若两节点为一个相同节点, 则 停止比较; Comparing the query node with the reference node, if two nodes are one same node, Stop comparison;
确定所述相同节点为所述第一节点, 所述第一服务层路由多次经过所述第 Determining that the same node is the first node, and the first service layer is routed multiple times through the first
"""" 1节点。 """" 1 node.
8、 根据权利要求 5或 6所述的方法, 其特征在于, 所述将至少一个所述客 户层连接的服务层路由在所述第一节点断开为两段, 形成两个新的客户层连接, 具体包括:  The method according to claim 5 or 6, wherein the routing of the service layer connecting at least one of the client layers is broken into two segments at the first node to form two new client layers. Connections, including:
如果所述第一节点非所述客户层连接的端点, 则将所述客户层连接的服务 层路由在所述第一节点断开为两段, 形成两个新的客户层连接;  If the first node is not the endpoint connected by the client layer, routing the service layer connected by the client layer to two segments at the first node to form two new client layer connections;
所述新的客户层连接具有与断开前的所述客户层连接相同的连接带宽。 The new client layer connection has the same connection bandwidth as the client layer connection before disconnection.
9、 一种确定多层网络中连接路由的装置, 其特征在于, 包括: 9. An apparatus for determining a connection route in a multi-layer network, the method comprising:
第一获得模块: 用于获得业务的第一客户层路由, 根据所述第一客户层路 由获得所述业务的第一服务层路由;  a first obtaining module: a first client layer route for obtaining a service, and obtaining a first service layer route of the service according to the first client layer route;
确定模块: 用于确定所述第一服务层路由多次经过第一节点; 还用于确定 服务层路由经过所述第一节点的客户层连接;  a determining module: configured to determine that the first service layer route passes through the first node multiple times; and is further configured to determine that the service layer is routed through the client layer connection of the first node;
第二获得模块: 用于将至少一个所述客户层连接的服务层路由在所述第一 节点断开为两段, 形成两个新的客户层连接, 获得所述业务的第二客户层路由; 第三获得模块: 用于基于所述第二客户层路由, 去除多次经过所述第一节 点的路由, 获得所述业务的第三客户层路由, 根据所述第三客户层路由获得所 述业务的第二服务层路由, 所述第二服务层路由一次经过所述第一节点。  a second obtaining module: routing a service layer for connecting at least one of the client layers to be disconnected into two segments at the first node, forming two new client layer connections, and obtaining a second client layer route of the service And a third obtaining module, configured to: according to the second client layer routing, remove a route that passes through the first node multiple times, obtain a third client layer route of the service, and obtain a route according to the third client layer route A second service layer route of the service, where the second service layer routes once through the first node.
10、 一种确定多层网络中连接路由的装置, 其特征在于, 包括:  10. An apparatus for determining a connection route in a multi-layer network, the method comprising:
第一获得模块: 用于获得业务的第一客户层路由, 根据所述第一客户层路 由获得所述业务的第一服务层路由;  a first obtaining module: a first client layer route for obtaining a service, and obtaining a first service layer route of the service according to the first client layer route;
确定模块: 用于确定所述第一服务层路由多次经过第一节点, 进一步确定 所述第一服务层路由多次经过第一服务层连接, 所述第一节点为所述第一服务 层连接的一个端点; 还用于确定服务层路由经过所述第一节点的客户层连接; 第二获得模块: 用于将至少一个所述客户层连接的服务层路由在所述第一 节点断开为两段, 形成两个新的客户层连接, 获得所述业务的第二客户层路由; 第三获得模块: 用于基于所述第二客户层路由, 去除多次经过所述第一节 点的路由, 获得所述业务的第三客户层路由, 根据所述第三客户层路由获得所 述业务的第二服务层路由, 所述第二服务层路由一次经过所述第一节点。 a determining module: configured to determine that the first service layer route passes through the first node multiple times, and further determines that the first service layer route is connected to the first service layer multiple times, where the first node is the first service layer An endpoint of the connection; further configured to determine a client layer connection of the service layer route through the first node; a second obtaining module: routing a service layer for connecting at least one of the client layers to the first The node is disconnected into two segments, forming two new client layer connections, obtaining a second client layer route of the service; and a third obtaining module: configured to remove, according to the second client layer, multiple times a route of a node, obtaining a third client layer route of the service, obtaining a second service layer route of the service according to the third client layer route, where the second service layer route passes through the first node once.
PCT/CN2011/080499 2011-09-30 2011-09-30 Method and device for determining connection routing in multilayer network WO2012149795A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180002190.5A CN102388586B (en) 2011-09-30 2011-09-30 Method and device for determining connection router in multilayer network
PCT/CN2011/080499 WO2012149795A1 (en) 2011-09-30 2011-09-30 Method and device for determining connection routing in multilayer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/080499 WO2012149795A1 (en) 2011-09-30 2011-09-30 Method and device for determining connection routing in multilayer network

Publications (1)

Publication Number Publication Date
WO2012149795A1 true WO2012149795A1 (en) 2012-11-08

Family

ID=45826514

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080499 WO2012149795A1 (en) 2011-09-30 2011-09-30 Method and device for determining connection routing in multilayer network

Country Status (2)

Country Link
CN (1) CN102388586B (en)
WO (1) WO2012149795A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350244A (en) * 2000-10-25 2002-05-22 日本电气株式会社 Minimum cost path searching apparatus and minimum cost path searching method therefor
CN101217335A (en) * 2008-01-17 2008-07-09 北京邮电大学 A circumvention method of simple point reentrance of convertible wavelength intelligent optical network integrated routing
CN102026044A (en) * 2009-09-14 2011-04-20 中兴通讯股份有限公司 Processing method for routing and apparatus thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8929228B2 (en) * 2004-07-01 2015-01-06 Honeywell International Inc. Latency controlled redundant routing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350244A (en) * 2000-10-25 2002-05-22 日本电气株式会社 Minimum cost path searching apparatus and minimum cost path searching method therefor
CN101217335A (en) * 2008-01-17 2008-07-09 北京邮电大学 A circumvention method of simple point reentrance of convertible wavelength intelligent optical network integrated routing
CN102026044A (en) * 2009-09-14 2011-04-20 中兴通讯股份有限公司 Processing method for routing and apparatus thereof

Also Published As

Publication number Publication date
CN102388586A (en) 2012-03-21
CN102388586B (en) 2014-02-26

Similar Documents

Publication Publication Date Title
US10250459B2 (en) Bandwidth on-demand services in multiple layer networks
CN103051565B (en) A kind of architecture system and implementation method of grade software defined network controller
CN100490390C (en) Service failure recovery method
US20180041396A1 (en) System and method for topology discovery in data center networks
US9319131B2 (en) Adding new alternative paths for restoration in WSON network
WO2007134551A1 (en) Mathod and node device of reserving network resources
CN107615721B (en) System and method for transmitting software defined network-logical link aggregation member signaling
KR101343596B1 (en) A Resource Management and Recursive Path Computation for Real-time Automatic Path Setup at Multi-layer Transport Network
US20160277279A1 (en) Link discovery method, system, and device
WO2007062608A1 (en) A method for realizing the separate routes spanning domains
US20100284269A1 (en) Multi-Node State Recovery for a Communication Network
CN113015039B (en) Deployment method and deployment device of end-to-end service of hybrid network
CN101588288A (en) Configuration method, communication equipment and communication system of link attribute information
EP2779530B1 (en) Method, system, and node device for establishing recovery path
WO2012149754A1 (en) Service cross-layer separated path calculation method, device and communication system
WO2019141211A1 (en) Peer-to-peer rerouting method and device
CN110892687B (en) Multistage resource reservation
CN109005473B (en) Method, device and system for cooperatively selecting path
WO2012149795A1 (en) Method and device for determining connection routing in multilayer network
WO2017063166A1 (en) Method and device for establishing label-switched path circumventing disconnected link
US20100284268A1 (en) Node State Recovery for a Communication Network
US9935826B2 (en) Systems and methods for provisioning ethernet services
EP2770669B1 (en) Method and node device for establishing recovery path
WO2010022600A1 (en) Multi-layer network connection establishing method, node device and multi-layer network system
EP2235891B1 (en) Method of aiding the reservation of resources for a packet switching network, and associated management device and aid device

Legal Events

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

Ref document number: 201180002190.5

Country of ref document: CN

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

Ref document number: 11864803

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

Country of ref document: EP

Kind code of ref document: A1