WO2014205820A1 - Service path calculating method and device - Google Patents

Service path calculating method and device Download PDF

Info

Publication number
WO2014205820A1
WO2014205820A1 PCT/CN2013/078469 CN2013078469W WO2014205820A1 WO 2014205820 A1 WO2014205820 A1 WO 2014205820A1 CN 2013078469 W CN2013078469 W CN 2013078469W WO 2014205820 A1 WO2014205820 A1 WO 2014205820A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
ring
node
ring network
topology
Prior art date
Application number
PCT/CN2013/078469
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 CN201380000517.4A priority Critical patent/CN105264833B/en
Priority to PCT/CN2013/078469 priority patent/WO2014205820A1/en
Publication of WO2014205820A1 publication Critical patent/WO2014205820A1/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 service path calculation method and apparatus. Background technique
  • IP Internet Protocol
  • the basic principle of obtaining the service path from the base station to the transmission to the core network aggregation node is: Find a reachable path from the service initiator to the service end for the service data flow through the known information.
  • the calculation method of the service path from the base station to the transmission to the core network aggregation node provided in the prior art is mostly valid only for the existing network, and specifically, the calculation information is calculated according to the configuration information and routing information of the network equipment in the current network.
  • the service path from the base station to the transmission to the core network aggregation node but there is no calculation method for the service path of the network in the planning stage. Therefore, how to realize the calculation of the business path of the network in the planning stage has become a key research topic in this field. Summary of the invention
  • Embodiments of the present invention provide a service path calculation method and apparatus, which implements calculation of a service path for a network in a planning stage.
  • the embodiment of the present invention uses the following technical solutions:
  • a first aspect of the present invention provides a service path calculation method, which is applied to a communication network, where the communication network includes a start node and a termination node, and the method includes: Obtaining network topology information of the communication network;
  • a ring network set of the communication network where the ring network set includes a plurality of connected ring networks, where the multiple connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs;
  • the ring network in the plurality of ring networks belongs to a ring network of a highest parent level in a ring network connected to the ring network,
  • the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
  • the obtaining, according to the network topology information, the ring network set of the communication network includes:
  • a ring network subset corresponding to each of the branch nodes Acquiring, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes a ring network including the branch node;
  • the ring network set is obtained by removing the redundant ring network and removing the intersecting ring network.
  • the obtaining, between the starting node and the terminating node, according to the ring network set and the affiliation relationship Business path including:
  • the method further includes:
  • a second aspect of the present invention provides a network topology presentation method, which is applied to a communication network, where the communication network includes a start node and a termination node, and the method includes: acquiring a ring network extension in the communication network
  • the set of the ring network topology includes a topology of a plurality of connected ring networks and a belonging relationship of the plurality of connected ring networks; wherein the plurality of connected ring networks
  • the ring network to which the originating node belongs and the ring network to which the terminating node belongs wherein the ring network in the plurality of ring networks belongs to the highest ring network connected to the ring network a ring network of the parent level, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
  • a topology of the communication network is presented based on a home relationship of the plurality of connected ring networks and a topology of the plurality of connected ring networks.
  • the network element node belongs to the network element node on the topology of the ring network
  • the network element node and all network element nodes on the topology of the ring network are presented in a ring form;
  • the network element node and all network element nodes subordinate to the network element node are presented in a tree form;
  • the preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
  • a third aspect of the present invention provides a service path calculation apparatus, which is applied to a communication network, where the communication network includes a start node and a termination node, and the apparatus includes: a first acquisition unit, configured to acquire the communication network a network topology information, configured to acquire, according to the network topology information obtained by the first acquiring unit, a ring network set of the communication network; wherein, the ring network The set includes a plurality of connected ring networks, where the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs; Determining a affiliation relationship of the plurality of ring networks obtained by the second acquiring unit, where a ring network in the plurality of ring networks belongs to a highest ring network connected to the ring network a ring network of the parent level, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
  • a third obtaining unit configured to acquire, according to the ring network set obtained by the second acquiring unit, the affiliation obtained by the determining unit, a service path between the starting node and the terminating node .
  • the second acquiring unit is specifically configured to:
  • a ring network subset corresponding to each of the branch nodes Acquiring, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes a ring network including the branch node;
  • the ring network set is obtained by removing the redundant ring network and removing the intersecting ring network.
  • the third obtaining unit is specifically configured to:
  • the apparatus further includes:
  • a presentation unit configured to present the communication network according to the ring network collection obtained by the second obtaining unit and the attribution relationship obtained by the determining unit.
  • a network topology presentation apparatus for communication
  • the communication network includes a start node and a termination node
  • the device includes: an acquiring unit, configured to acquire a ring network topology set in the communication network, where the ring network topology set includes multiple a topology of the connected ring network and a affiliation relationship of the plurality of adjacent ring networks; wherein the plurality of adjacent ring networks includes a ring network to which the originating node belongs and Ending the ring network to which the node belongs, the ring network in the plurality of ring networks belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the start node belongs to The ring network or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
  • a rendering unit configured to present a topology of the communication network according to the attribution relationship of the plurality of connected ring networks obtained by the acquiring unit and the topology of the plurality of connected ring networks.
  • the network element node belongs to the network element node on the topology of the ring network
  • the network element node and all network element nodes on the topology of the ring network are presented in a ring form;
  • the network element node and all network element nodes subordinate to the network element node are presented in a tree form;
  • the preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
  • a service path calculation apparatus which is applied to a communication network, where the communication network includes a start node and a termination node, and includes: at least one processor, a memory, a communication interface, and a bus, where the at least one a processor, the memory and the communication interface are connected by the bus and complete communication with each other;
  • the processor is configured to execute executable program code stored in a memory, specifically for performing the following operations:
  • the processor is configured to acquire network topology information of the communication network, and obtain a ring network set of the communication network according to the network topology information, where the ring network set includes multiple connections a ring network, where the plurality of adjacent ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs; determining a belonging relationship of the plurality of ring networks
  • the ring network in the plurality of ring networks belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network or the node to which the start node belongs
  • the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network; and the service between the starting node and the terminating node is obtained according to the ring network set and the belonging relationship path.
  • the processor is further configured to: select, according to the network topology information, a set of branch nodes of the communication network; where the set of branch nodes includes multiple branch nodes, and the branch nodes are chains a node having a number of times greater than or equal to 3; obtaining, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes the a ring network of the branch nodes; according to the ring network subset corresponding to each of the branch nodes, the ring network group is obtained by removing the redundant ring network and removing the intersecting ring network.
  • the processor is further configured to acquire a shortest path between the start node and the termination node according to the ring network set and the attribution relationship.
  • the processor is further configured to present the communication network according to the ring network set and the attribution relationship.
  • a network topology rendering apparatus for communication
  • the communication network includes a start node and a termination node, including: at least one processor, a memory, a communication interface, and a bus, wherein the at least one processor, the memory, and the communication interface are connected by using the bus Complete mutual communication;
  • the processor is configured to execute executable program code stored in a memory, and is specifically configured to perform the following operations:
  • the processor is configured to acquire a ring network topology set in the communication network, where the ring network topology set includes a topology of a plurality of connected ring networks and the plurality of connected rings
  • the affiliation of the type of network wherein the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, and rings in the plurality of ring networks
  • the type network belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network to which the start node belongs or the ring network to which the terminating node belongs is the communication network.
  • a ring network of the highest parent level presenting a topology of the communication network based on a belonging relationship of the plurality of connected ring networks and a topology of the plurality of connected ring networks.
  • the network element node belongs to the network element node on the topology of the ring network
  • the network element node and all network element nodes on the topology of the ring network are presented in a ring form;
  • the network element node and all network element nodes subordinate to the network element node are presented in a tree form;
  • the preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
  • the method and device for calculating a service path firstly acquires a plurality of interfaces of the communication network according to network topology information in the obtained communication network. a ring network set of the ring network, and then determining the obtained ownership relationship of the plurality of ring networks, and finally obtaining the relationship between the start node and the terminating node according to the obtained ring network set and the ownership relationship of the plurality of ring networks
  • the service path thereby obtaining the service path between the sink node and the source node, so that the communication path for the planning phase can be realized only when the network device interconnection relationship can be obtained, or even the site-level interconnection planning information can be obtained. Calculation. DRAWINGS
  • FIG. 1 is a flowchart of a service path calculation method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a network topology presentation method according to another embodiment of the present invention
  • FIG. 3 is a flow chart of a method for calculating a service path according to another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a topology of a communication network according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a composition of a service path calculation apparatus according to another embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another service path computing device according to another embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a network topology rendering apparatus according to another embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing another composition of a service path computing device according to another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another network topology rendering apparatus according to another embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a service path calculation method, which is applied to a communication network, where the communication network includes a start node and a termination node. As shown in FIG. 1, the method may include:
  • the network topology information includes all the planning information, and may include, for example, link information, a site, a device type, and source node attribution information, and may also include a plurality of planning information, such as IP port planning information, routing planning information, and the like.
  • the planning information of different devices may also include a lot, such as a device name, etc., which are not enumerated herein.
  • the embodiment of the present invention only exemplifies the network topology information, and the embodiment of the present invention does not limit the specific content included in the network topology information.
  • the ring network set of the communication network may be obtained according to the obtained network topology information, where the ring network set includes multiple connected ring types.
  • the network, and the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs.
  • the relationship between the start node and the terminating node may be obtained according to the determined attribution relationship and the acquired ring network set of the communication network.
  • the source node in the embodiment of the present invention is a network element node at the end of the communication network
  • the sink node is a sink node in the communication network.
  • the service path between the originating node and the terminating node is unique, that is, the service path from the source node to the sink node is unique, and thus can be directly determined between the starting node and the terminating node.
  • the service path is used to obtain the service path between the source node and the sink node. The method for obtaining the source node to the sink node service path in the application scenario is not described in detail in the embodiment of the present invention.
  • the service path calculation method provided by the embodiment of the present invention firstly obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node.
  • the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
  • An embodiment of the present invention provides a network topology rendering method, which is applied to a communication network.
  • the communication network includes a start node and a termination node. As shown in FIG. 2, the method may include:
  • a ring network topology set in a communication network where the ring network topology set includes a topology of multiple connected ring networks and a belonging relationship of multiple connected ring networks.
  • the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, and the ring network in the plurality of ring networks belongs to the ring network connected to the ring network.
  • the ring network of the highest parent level, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network
  • the sink node is the sink node in the communication network
  • the source node is A network element node at the end of the communication network.
  • the belonging relationship of the plurality of connected ring networks included in the ring network topology set and the topology of the plurality of connected ring networks may be Determining a critical node in the communication network, and treating all the source nodes of the service path through the critical node as one display unit, because the network element node data in the network topology map is relatively large, and the user can only present in batches. At this point, the service path can pass through all the source nodes of the same critical node as a display unit.
  • all the network element nodes and critical nodes that have passed through the service path can be presented from the sink node or the network element node, wherein the critical node has aggregated the service paths of all the source nodes in the display unit.
  • the service path from the critical node to the source node is also the only one path, and starts from the network element node or the critical node, and sequentially displays all the network element nodes and the source node that pass through along the service path.
  • the network element node belongs to the network element node on the topology of the ring network, all the network element nodes on the topology of the network element node and the ring network are presented in a ring form; or When the network element node does not belong to the network element node on the topology of the ring network, all the network element nodes of the network element node and the network element node are presented in a tree form; or when the network element node meets the preset condition, the network element node All network element nodes of the meta-node
  • the preset condition includes: the number of source nodes of the home network element node meets a preset display number threshold, or the number of hops of the service path through all source nodes of the network element node to the network element node and the preset hopping
  • the number threshold, or, the device type of the NE node is the specified device type, and so on.
  • the network element node is a node other than the source node and the sink node in the communication
  • the network topology presentation method acquires a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set
  • the affiliation relationship of the multiple connected ring networks presents the topology of the communication network, so that the service path-based network in the large-scale network scenario in the planning stage is realized on the basis of the service path of the communication network in the planning stage.
  • the presentation of the topology is a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set.
  • Another embodiment of the present invention provides a service path calculation method, which is used in a communication network, where the communication network includes a start node and a termination node. As shown in FIG. 3, the method may include:
  • the network topology information includes all the planning information, and may include, for example, link information, a site, a device type, and source node attribution information, and may also include a plurality of planning information, such as IP port planning information, routing planning information, and the like.
  • the planning information of different devices may also include a lot, such as a device name, etc., which are not enumerated herein.
  • the embodiment of the present invention only exemplifies the network topology information, and the embodiment of the present invention does not limit the specific content included in the network topology information.
  • the ring network set of the communication network may be obtained according to the acquired network topology information, and the ring network set includes multiple connected ring networks.
  • the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs.
  • the specific method for obtaining the ring network set of the communication network may include Next step 302a - step 302c.
  • the branch node set includes multiple branch nodes, and the branch node is a node with a link number greater than or equal to 3. Specifically, after obtaining the network topology information of the communication network, all the branch nodes in the communication network with the number of links greater than or equal to 3 can be selected according to the network topology information, and all the branch nodes form a set of branch nodes. For example, as shown in FIG. 4, a topology diagram of a communication network, where node A, node B, node D, node G, node H, and node I in FIG. 4 are branch nodes of the communication network, such The way nodes form a set of branch nodes of the communication network.
  • one of the plurality of branch nodes included in the set of branch nodes may be used as the first node.
  • the ring network subset corresponding to the road node includes a ring network including branch nodes.
  • the specific process of obtaining the ring network subset corresponding to each branch node may be:
  • the filtering rules may include: a network element type, a link type, a routing domain plan, an interface IP, a link cost, a routing protocol, and the like.
  • the selection rule described in the embodiment of the present invention may be obtained according to the priority in the planning information provided by the customer.
  • the planning information provided by the customer indicates that the filtering is preferentially performed according to the network element type.
  • the screening rule is a network element type, and the embodiment of the present invention is not limited herein, or the specific screening rule may be determined according to the actual application scenario and the network topology information, and the screening rule is determined in the embodiment of the present invention.
  • a simple example is provided, and the selection rule is selected for the deep traversal, and may be determined according to the requirements of the actual application scenario.
  • the embodiment of the present invention is not limited herein.
  • the branch node is taken as the first node, and the deep traversal is performed according to the selection rule, and the ring network subset corresponding to the branch node is obtained according to the traversal process.
  • the branch node may be used as the first node to perform deep traversal according to the determined screening rule, and Obtaining a subset of the ring network corresponding to the branch node according to the traversal process until a subset of the ring network corresponding to each of the plurality of branch nodes included in the set of branch nodes is obtained, wherein the deep traversal is performed
  • the algorithm used in the time may be a deep traversal algorithm, and the related details of the deep traversal algorithm include a link back-off, a state record, and the like.
  • the algorithm is a mature algorithm in the prior art, and the algorithm is specific to the algorithm in the embodiment of the present invention.
  • the branch node is taken as the first node, and the first link of the branch node is used according to the screening rule. Depth traversing until returning to the branch node, and then re-taking the branch node as the first node, and performing deep traversal according to the screening rule from the second link of the branch node until the branch node is returned, repeating the depth traversal The process, until all the links of the branch node are traversed, wherein during the traversal process, the ring network is recorded according to the traversal process, and the ring network subset corresponding to the branch node is obtained according to all traversal processes.
  • a ring network subset corresponding to each of the plurality of branch nodes included in the set of branch nodes can be obtained, wherein the first link is any of all the links of the branch node.
  • One link, the second link is any one of the other links of the node except the first link.
  • the branch nodes included in the branch node set of the communication network are: node A, node B. , node D, node G, node H, node I.
  • node A select one of the links AC to start traversing, ACD, because node D is a branch node, you can select one of the branches to continue traversal according to the filtering rule.
  • the filtering rule is device type, the device of the same type is preferentially selected. To traverse, then depending on the device type, the DG can be preferentially selected to continue traversing.
  • Point G is also a branch node and satisfies the filtering condition.
  • Node G is added to the traversal branch node sequence of node A, and then a link is randomly selected to continue traversing.
  • GKLMN-0-H can be randomly selected, since node H is also As the branch node and satisfying the filtering condition, the node H is also added to the traversal branch node sequence of the node A. If the HG is traversed at this time and found to return to the traversed node G, it is rolled back to the nearest branch.
  • the road node that is, falls back to node H, then traverses the next link HIJBA, returns to node A, records the ring network of ACDGKLMN-0-HIJBA in the current traversal process, and then needs to traverse the branch node corresponding to node A.
  • the record in the sequence is rolled back to the last traversal branch node H to see if there is any traversal link. If not, it is rolled back to the previous tributary node G. It is found that there is no traversal of the link GH, and then the link is randomly selected, and finally obtained.
  • New ring network ACDGHIJBA The added node in the sequence of traversing branch nodes is used when the link is backed up.
  • Another link of the node A is selected to repeat the process of the deep traversal until all the links of the branch node are traversed, and all the ring networks are recorded, and a ring network subset corresponding to the node A is obtained, which includes Two ring networks, the other 'J is ACDGKLMN-0-HIJBA, ACDGHIJBA.
  • the deep traversal of the next node D may be continued to obtain a ring network subset corresponding to the node D, wherein during the traversal of the node D, the traversal node may not be recorded and traversed.
  • the ring network included in the ring network subset corresponding to node D obtained at this time is DEFD, and the ring network included in the ring network subset corresponding to the same node G For GKLMN-0-HG, node H has no corresponding new ring network, and the ring network included in the ring network subset corresponding to node I is IPQRSI.
  • the ring network subset corresponding to different branch nodes may include the same ring network, or may be recorded in the ring network. When it is determined that the newly acquired ring network has been recorded, the recording may not be repeated.
  • the method for obtaining the ring network set in the communication network may be: First, determining the selection rule according to the network topology information.
  • the selection rules include: preferentially selecting a ring network with the largest link bandwidth and preferentially selecting a ring network with the lowest link cost.
  • the selection rule is simply exemplified.
  • the selection rule may be determined according to the network topology information and the actual application scenario. There is no restriction on the selection rules here.
  • the ring network collection is obtained by removing the redundant ring network and removing the intersecting ring network.
  • the redundant ring network can be removed according to the determined selection rule and each branch segment, and the intersecting ring type is removed.
  • the ring network ACDGKLMN-0-HIJBA obtained in step 303b can be covered by two smaller ring networks ACDGHIJBA and GKLMN-0-HG, that is, the link on the ring network ACDGKLMN-0-HIJBA is On the ring network ACDGHIJBA, and GKLMNOHG, and there is no new link, then the ring network ACDGKLMN-0-HIJBA can be removed at that time, then The ring network included in the ring network collection in the obtained network is:
  • step 302b if all the branch nodes corresponding to the branch nodes are finally obtained in step 302b, the ring network subset corresponding to the different branch nodes does not include the same ring network. Then, it is only necessary to judge whether there are intersecting ring networks in all ring networks, and remove the intersecting ring networks according to the selection rules, and finally obtain a ring network set of the communication network.
  • the attribution relationship of the plurality of ring networks in the ring network set can be determined, and the ring network in the plurality of ring networks belongs to the ring network.
  • the ring network of the highest parent level in the ring network, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network.
  • a ring network that is directly or indirectly connected to a sink node through an acyclic network may be defined as a level 0 ring, a ring network that is directly connected to a level 0 ring through an acyclic network, or connected to a level 0 ring.
  • the affiliation relationship of the network, where the connection includes intersecting or tangential, and the ring link that has no link connection relationship with the sink node may be defined as a ring. For example, as shown in the network topology shown in FIG.
  • the radio network controller is a sink node, and the first ring network connected to the RNC can be obtained as BACGHIJB, and the ring network BACGHIJB can be defined as The 0 ring, the remaining three ring networks IPQRSI, GKLMNOHG, DEFD and the ring network BACGHIJB, then these three ring networks can be defined as a level 1 ring.
  • the multiple ring networks in the ring network set may be the same or different based on different home nodes.
  • the service path between the start node and the terminating node may be obtained according to the ring network set and the affiliation relationship of the plurality of ring networks, which may be based on the ring network set and the affiliation relationship of the plurality of ring networks.
  • the method for obtaining the shortest path between the start node and the end node may be: when the service path between the source node and the sink node needs to be acquired, the termination node connected to the source node may be acquired first, The terminating node is located on the ring network, and is directly connected to the source node, or is indirectly connected to the source node through the acyclic network. After obtaining the terminating node connected to the source node, the ring network may be determined according to step 303.
  • a affiliation relationship of the plurality of ring networks in the set obtaining a shortest path between the start node and the terminating node, and further a service path between the source node and the sink node, where the network path information may be determined according to network topology information
  • the condition to get the shortest path is also to get the shortest path directly with the shortest hop count.
  • the basic information of the shortest link may be saved, and the basic information may include link basic information, such as link identifier, type, link end-to-end node information, and the like.
  • the link ring identifier for example, is the affiliation relationship between the ring network and the ring network.
  • the link end and end nodes can store related key information, such as the network element identifier, type, board port, IP, according to the network topology information. Port type, etc.
  • the base station node B 1 (NodeB l ) under the control of the RNC to the RNC
  • it may first traverse up to the node M hop by hop, and the node M is the terminating node, and then calculate The shortest path from M to the upper ring network is MNOH, and the traversal is continued to obtain the node H to the node B, that is, the shortest link of the starting node is HI-JB, thereby acquiring the service from the base station NodeB l to the RNC.
  • the path is NodeB l -MN-0-HIJB-RNC, and the hop-by-hop link flag can be recorded, such as the affiliation relationship between the ring network member and the ring network, and the acyclic network.
  • Other base stations under the control of the RNC such as NodeB2 can also obtain the shortest service path.
  • the NodeB2-QPIJB-RNC for example, the shortest service path to the RNC of the Base Transceiver Station 1 (BTS 1) can be obtained.
  • BTS 1 Base Transceiver Station 1
  • B SC Base Transceiver Station Controller
  • all the source nodes under the control of the sink nodes can be traversed one by one, so that the service paths of all the source nodes to the sink nodes in the network can be determined.
  • the service path calculation method provided by the embodiment of the present invention firstly obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node.
  • the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
  • the method for calculating the service path and the network topology presentation method support the capacity simulation calculation of the entire network in the planning phase and the BOQ export of the entire network device, and specifically, the hop link can be calculated.
  • the number of network elements at the end such as the number of base stations, and according to the capacity bandwidth requirement of the end network element, according to the capacity calculation formula, such as the convergence calculation formula, automatically calculates the network element bandwidth requirement of the link, and automatically calculates according to the interface type.
  • the hardware specification requirements of the outbound network element are calculated, and finally the hardware specification list of the network elements of all nodes in the whole network is calculated, and the whole network BOQ is derived, which provides data support for the cost evaluation before the bidding.
  • the method provided by the embodiment of the present invention can automatically present the influence on the periphery, such as the automatic update calculation and presentation of the entire network capacity after the update. And can also be applied to the dynamic presentation of the entire network rolling planning data and the current network review In the scenario of the analysis, the entry of the existing network data and the new service to the capacity of the end network element, and the automatic analysis of whether the bottleneck node of the current network supports the future business development, the embodiments of the present invention are not listed here.
  • FIG. 5 Another embodiment of the present invention provides a service path calculation apparatus, which is applied to a communication network, where the communication network includes a start node and a termination node.
  • the apparatus includes: a first acquisition unit 41, The second obtaining unit 42, the determining unit 43, and the third obtaining unit 44.
  • the first obtaining unit 41 is configured to acquire network topology information of the communication network.
  • the second obtaining unit 42 is configured to acquire, according to the network topology information obtained by the first acquiring unit 41, a ring network set of the communication network, where the ring network set includes multiple connected a ring network, where the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs.
  • a determining unit 43 configured to determine a affiliation relationship of the plurality of ring networks obtained by the second acquiring unit 42, where a ring network in the plurality of ring networks belongs to the ring network
  • the ring network of the highest parent level in the ring network, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network.
  • a third obtaining unit 44 configured to acquire, according to the ring network set obtained by the second acquiring unit 42 and the attribution relationship obtained by the determining unit 43, between the starting node and the terminating node Business path.
  • the second obtaining unit 42 is specifically configured to: select, according to the network topology information, a set of branch nodes of the communication network; wherein, the branch node set includes A plurality of branch nodes, wherein the branch nodes are nodes having a link number greater than or equal to 3.
  • the third obtaining unit 44 is specifically configured to:
  • the device may further include: a presentation unit 45.
  • the presentation unit 45 is configured to present the communication network according to the ring network set obtained by the second obtaining unit 42 and the attribution relationship obtained by the determining unit 43.
  • the service path computing device provided by the embodiment of the present invention first obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node.
  • the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
  • FIG. 7 Another embodiment of the present invention provides a network topology rendering apparatus, which is applied to a communication network, where the communication network includes a start node and a termination node.
  • the apparatus includes: an acquiring unit 5 1 , presenting Unit 52.
  • the acquiring unit 5 1 is configured to acquire a ring network topology set in the communication network, where the ring network topology set includes a topology of multiple connected ring networks and the multiple connected rings
  • the type network belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network to which the start node belongs or the ring network to which the terminating node belongs is the communication network.
  • a presentation unit 52 configured to present, according to the ownership relationship of the multiple connected ring networks obtained by the obtaining unit 51, and the topology of the multiple connected ring networks, presenting the extension of the communication network Park.
  • the network element node belongs to the network element node on the topology of the ring network, all the network element nodes on the topology of the network element node and the ring network are presented in a ring form; or When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or when When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented.
  • the preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
  • the network topology presenting apparatus acquires a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set
  • the affiliation relationship of the multiple connected ring networks presents the topology of the communication network, so that the service path-based network in the large-scale network scenario in the planning stage is realized on the basis of the service path of the communication network in the planning stage.
  • the presentation of the topology is a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set.
  • the method includes: at least one processor 61, a memory 62, a communication interface 63, and a bus 64.
  • the at least one processor 61, the memory 62, and the communication interface 63 is connected via bus 64 and completes communication with each other, wherein:
  • the bus 64 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (ESA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • ESA Extended Industry Standard Architecture
  • the bus 64 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line table is used in Figure 8. Show, but does not mean that there is only one bus or one type of bus.
  • the memory 62 is for storing executable program code, the program code including computer operating instructions.
  • the memory 62 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 61 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. .
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the communication interface 63 is mainly used to implement communication between devices of the embodiment.
  • the processor 61 is configured to execute executable program code stored in the memory 62, specifically for performing the following operations:
  • the processor 61 is configured to acquire network topology information of the communication network, and acquire, according to the network topology information, a ring network set of the communication network, where the ring network set includes multiple phases.
  • a ring network in which the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs; determining the attribution of the plurality of ring networks a ring network in the plurality of ring networks belongs to a ring network of a highest parent level in a ring network connected to the ring network, and the ring network to which the start node belongs or
  • the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network; according to the ring network set and the affiliation relationship, acquiring between the starting node and the terminating node Business path.
  • the processor 61 is further configured to: select, according to the network topology information, a set of branch nodes of the communication network; where the set of branch nodes includes multiple branch nodes, and the branch The node is a node having a link number greater than or equal to 3; obtaining, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the branch network node corresponding to the ring network subset Include a ring network including the branch node; according to a ring network subset corresponding to each of the branch nodes, by removing redundant ring networks and removing intersecting ring networks, so that the rings are obtained Type network collection.
  • the processor 6 1 is further configured to acquire, according to the ring network set and the affiliation relationship, a shortest path between the start node and the terminating node.
  • the processor 6 1 is further configured to present the communication network according to the ring network set and the attribution relationship.
  • the service path computing device provided by the embodiment of the present invention first obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node.
  • the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
  • FIG. 9 Another embodiment of the present invention provides a network topology rendering apparatus, as shown in FIG. 9, including: at least one processor 71, a memory 72, a communication interface 73, and a bus 74, the at least one processor 71 and the memory 72. And the communication interface 73 is connected through the bus 74 and completes communication with each other, wherein:
  • the bus 74 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EI SA) bus. .
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EI SA Extended Industry Standard Architecture
  • the bus 74 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the memory 72 is for storing executable program code, the program code including computer operating instructions.
  • Memory 72 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the processor 7 1 may be a central processor (Central Proce s sing) Unit, CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU Central Proce s sing
  • ASIC Application Specific Integrated Circuit
  • the communication interface 73 is mainly used to implement communication between devices of the embodiment.
  • the processor 71 is configured to execute executable program code stored in the memory 72, specifically for performing the following operations:
  • the processor 71 is configured to acquire a ring network topology set in the communication network, where the ring network topology set includes a topology of a plurality of connected ring networks and the plurality of connected a locating relationship of the ring network; wherein the plurality of adjacent ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, in the plurality of ring networks
  • the ring network belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network to which the start node belongs or the ring network to which the terminating node belongs is the communication a ring network of the highest parent level in the network; presenting a topology of the communication network according to the attribution relationship of the plurality of connected ring networks and the topology of the plurality of connected ring networks.
  • the network element node belongs to the network element node on the topology of the ring network, all the network element nodes on the topology of the network element node and the ring network are presented in a ring form; or When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or when When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented.
  • the preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
  • the network topology presenting apparatus acquires a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set
  • the attribution relationship of the plurality of connected ring networks presents the topology of the communication network, so that the basis of the service path of the communication network in the planning stage is obtained.
  • the presentation of the network topology based on the service path is realized under the large-scale network scenario in the planning stage.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

The present invention relates to the field of communications. Disclosed in an embodiment of the present invention are a service path calculating method and device, realizing service path calculation for a network in the planning stage, the method comprising: obtaining network topology information of a communication network; obtaining a ring network set of the communication network according to the network topology information, the ring network set comprising multiple contiguous ring networks; determining the subordination relationship between the multiple ring networks; a ring network in the multiple ring networks is subordinate to a ring network having the highest parent level in the ring networks contiguous with the ring network, a ring network where a starting node is located or a ring network where a termination node is located are ring networks having the highest parent level in the communication network; obtaining a service path between the starting node and the termination node according to the ring network set and the subordination relationship. The present invention is used in the process of calculating a service path in the network planning stage.

Description

一种业务路径计算方法及装置 技术领域  Business path calculation method and device
本发明涉及通信领域,尤其涉及一种业务路径计算方法及装置。 背景技术  The present invention relates to the field of communications, and in particular, to a service path calculation method and apparatus. Background technique
随着移动网络数据业务的快速增长和对新业务类型的要求, 移 动承载网络逐步向全互联网协议 ( Internet Protocol , IP ) 承载网络 发展。 由于全 IP 承载网络的传输产品类型的多样化, 在网络规划 的前期阶段, 业务路径都是进行单域路径的规划, 缺少跨域路径的 规划, 即缺少从基站到传输再到核心网汇聚节点的规划, 并且单域 规划若发生变更, 对跨域规划的影响也是无法体现出来的, 这样会 给后续的规划建网、 容量评估等带来很大的困难。  With the rapid growth of mobile network data services and the requirements for new types of services, the mobile bearer network has gradually evolved into an Internet Protocol (IP) bearer network. Due to the diversification of the transmission product types of the all-IP bearer network, in the early stage of network planning, the service path is planned for single-domain paths, and the planning of cross-domain paths is lacking, that is, the lack of base station to transmission to the core network convergence node If the plan is changed and the single-domain plan is changed, the impact on the cross-domain plan cannot be reflected. This will bring great difficulties to the subsequent planning network construction and capacity assessment.
获取从基站到传输再到核心网汇聚节点的业务路径的基本原理 是: 通过已知信息为业务数据流找到一条从业务发起端到业务结束 端的可达路径。 现有技术中提供的从基站到传输再到核心网汇聚节 点的业务路径的计算方法大部分只对现网有效, 具体的是根据现网 中的网络设备的配置信息和路由信息来计算出从基站到传输再到 核心网汇聚节点的业务路径, 但并没有针对处于规划阶段的网络的 业务路径计算方法。 因此, 如何实现针对规划阶段的网络的业务路 径的计算, 已成为本领域的重点研究课题。 发明内容  The basic principle of obtaining the service path from the base station to the transmission to the core network aggregation node is: Find a reachable path from the service initiator to the service end for the service data flow through the known information. The calculation method of the service path from the base station to the transmission to the core network aggregation node provided in the prior art is mostly valid only for the existing network, and specifically, the calculation information is calculated according to the configuration information and routing information of the network equipment in the current network. The service path from the base station to the transmission to the core network aggregation node, but there is no calculation method for the service path of the network in the planning stage. Therefore, how to realize the calculation of the business path of the network in the planning stage has become a key research topic in this field. Summary of the invention
本发明的实施例提供一种业务路径计算方法及装置, 针对规划 阶段的网络实现了业务路径的计算。  Embodiments of the present invention provide a service path calculation method and apparatus, which implements calculation of a service path for a network in a planning stage.
为达到上述目 的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, the embodiment of the present invention uses the following technical solutions:
本发明的第一方面, 提供一种业务路径计算方法, 应用于通信 网络中, 所述通信网络包括起始节点和终止节点, 所述方法包括: 获取所述通信网络的网络拓朴信息; A first aspect of the present invention provides a service path calculation method, which is applied to a communication network, where the communication network includes a start node and a termination node, and the method includes: Obtaining network topology information of the communication network;
根据所述网络拓朴信息, 获取所述通信网络的环型网络集合; 其中, 所述环型网络集合包括多个相接的环型网络, 其中, 所述多 个相接的环型网络包括所述起始节点所属的环型网络和所述终止 节点所属的环型网络;  Obtaining, according to the network topology information, a ring network set of the communication network, where the ring network set includes a plurality of connected ring networks, where the multiple connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs;
确定所述多个环型网络的归属关系; 其中, 所述多个环型网络 中的环型网络归属于与所述环型网络相接的环型网络中最高父级 别的环型网络, 所述起始节点所属的环型网络或者所述终止节点所 属的环型网络为所述通信网络中最高父级别的环型网络;  Determining a affiliation relationship of the plurality of ring networks; wherein the ring network in the plurality of ring networks belongs to a ring network of a highest parent level in a ring network connected to the ring network, The ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
根据所述环型网络集合和所述归属关系, 获取所述起始节点与 所述终止节点之间的业务路径。  Obtaining a service path between the originating node and the terminating node according to the ring network set and the affiliation relationship.
结合第一方面, 在一种可能的实现方式中, 所述根据所述网络 拓朴信息, 获取所述通信网络的环型网络集合, 包括:  With reference to the first aspect, in a possible implementation manner, the obtaining, according to the network topology information, the ring network set of the communication network, includes:
根据所述网络拓朴信息, 选取所述通信网络的支路节点集合; 其中, 所述支路节点集合中包含多个支路节点, 所述支路节点为链 路数大于等于 3 的节点;  Determining, according to the network topology information, a set of branch nodes of the communication network, where the set of branch nodes includes a plurality of branch nodes, and the branch nodes are nodes having a link number greater than or equal to 3;
根据所述网络拓朴信息, 获取每个所述支路节点对应的环型网 络子集; 其中, 所述支路节点对应的环型网络子集包括包含所述支 路节点的环型网络;  Acquiring, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes a ring network including the branch node;
根据每个所述支路节点对应的环型网络子集, 通过去除冗余的 环型网络和去除相交的环型网络, 以使获得所述环型网络集合。  According to the ring network subset corresponding to each of the branch nodes, the ring network set is obtained by removing the redundant ring network and removing the intersecting ring network.
结合第一方面和上述可能的实现方式, 在另一种可能的实现方 式中, 所述根据所述环型网络集合和所述归属关系, 获取所述起始 节点与所述终止节点之间的业务路径, 包括:  With reference to the first aspect and the foregoing possible implementation manner, in another possible implementation manner, the obtaining, between the starting node and the terminating node, according to the ring network set and the affiliation relationship Business path, including:
根据所述环型网络集合和所述归属关系, 获取所述起始节点和 所述终止节点之间的最短路径。  Obtaining a shortest path between the starting node and the terminating node according to the ring network set and the belonging relationship.
结合第一方面和上述可能的实现方式, 在另一种可能的实现方 式中, 还包括:  In combination with the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the method further includes:
根据所述环型网络集合和所述归属关系, 呈现所述通信网络。 本发明的第二方面, 提供一种网络拓朴呈现方法, 应用于通信 网络中, 所述通信网络包括起始节点和终止节点, 所述方法包括: 获取所述通信网络中的环型网络拓朴集合, 所述环型网络拓朴 集合包括多个相接的环型网络的拓朴和所述多个相接的环型网络 的归属关系; 其中, 所述多个相接的环型网络包括所述起始节点所 属的环型网络和所述终止节点所属的环型网络, 所述多个环型网络 中的环型网络归属于与所述环型网络相接的环型网络中最高父级 别的环型网络, 所述起始节点所属的环型网络或者所述终止节点所 属的环型网络为所述通信网络中最高父级别的环型网络; The communication network is presented according to the ring network set and the attribution relationship. A second aspect of the present invention provides a network topology presentation method, which is applied to a communication network, where the communication network includes a start node and a termination node, and the method includes: acquiring a ring network extension in the communication network The set of the ring network topology includes a topology of a plurality of connected ring networks and a belonging relationship of the plurality of connected ring networks; wherein the plurality of connected ring networks The ring network to which the originating node belongs and the ring network to which the terminating node belongs, wherein the ring network in the plurality of ring networks belongs to the highest ring network connected to the ring network a ring network of the parent level, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
根据所述多个相接的环型网络的归属关系和所述多个相接的环 型网络的拓朴, 呈现所述通信网络的拓朴。  A topology of the communication network is presented based on a home relationship of the plurality of connected ring networks and a topology of the plurality of connected ring networks.
结合第二方面, 在一种可能的实现方式中,  In combination with the second aspect, in a possible implementation manner,
当网元节点属于所述环型网络的拓朴上的网元节点时, 将所述 网元节点和所述环型网络的拓朴上的所有网元节点以环形式呈现; 或者  When the network element node belongs to the network element node on the topology of the ring network, the network element node and all network element nodes on the topology of the ring network are presented in a ring form; or
当所述网元节点不属于所述环型网络的拓朴上的网元节点时, 将所述网元节点和所述网元节点下属的所有网元节点以树形式呈 现; 或者  When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or
当所述网元节点满足预设条件时, 将所述网元节点下属的所有 网元节点云化呈现;  When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented;
所述预设条件包括: 归属所述网元节点的源节点数目符合预设 的显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节 点到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节 点的设备类型为指定的设备类型。  The preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
本发明的第三方面, 提供一种业务路径计算装置, 应用于通信 网络中, 所述通信网络包括起始节点和终止节点, 所述装置包括: 第一获取单元, 用于获取所述通信网络的网络拓朴信息; 第二获取单元, 用于根据所述第一获取单元得到的所述网络拓 朴信息, 获取所述通信网络的环型网络集合; 其中, 所述环型网络 集合包括多个相接的环型网络, 其中, 所述多个相接的环型网络包 括所述起始节点所属的环型网络和所述终止节点所属的环型网络; 确定单元, 用于确定所述第二获取单元得到的所述多个环型网 络的归属关系; 其中, 所述多个环型网络中的环型网络归属于与所 述环型网络相接的环型网络中最高父级别的环型网络, 所述起始节 点所属的环型网络或者所述终止节点所属的环型网络为所述通信 网络中最高父级别的环型网络; A third aspect of the present invention provides a service path calculation apparatus, which is applied to a communication network, where the communication network includes a start node and a termination node, and the apparatus includes: a first acquisition unit, configured to acquire the communication network a network topology information, configured to acquire, according to the network topology information obtained by the first acquiring unit, a ring network set of the communication network; wherein, the ring network The set includes a plurality of connected ring networks, where the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs; Determining a affiliation relationship of the plurality of ring networks obtained by the second acquiring unit, where a ring network in the plurality of ring networks belongs to a highest ring network connected to the ring network a ring network of the parent level, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
第三获取单元, 用于根据所述第二获取单元得到的所述环型网 络集合和所述确定单元得到的所述归属关系, 获取所述起始节点与 所述终止节点之间的业务路径。  a third obtaining unit, configured to acquire, according to the ring network set obtained by the second acquiring unit, the affiliation obtained by the determining unit, a service path between the starting node and the terminating node .
结合第三方面, 在一种可能的实现方式中, 所述第二获取单元, 具体用于:  With reference to the third aspect, in a possible implementation manner, the second acquiring unit is specifically configured to:
根据所述网络拓朴信息, 选取所述通信网络的支路节点集合; 其中, 所述支路节点集合中包含多个支路节点, 所述支路节点为链 路数大于等于 3 的节点;  Determining, according to the network topology information, a set of branch nodes of the communication network, where the set of branch nodes includes a plurality of branch nodes, and the branch nodes are nodes having a link number greater than or equal to 3;
根据所述网络拓朴信息, 获取每个所述支路节点对应的环型网 络子集; 其中, 所述支路节点对应的环型网络子集包括包含所述支 路节点的环型网络;  Acquiring, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes a ring network including the branch node;
根据每个所述支路节点对应的环型网络子集, 通过去除冗余的 环型网络和去除相交的环型网络, 以使获得所述环型网络集合。  According to the ring network subset corresponding to each of the branch nodes, the ring network set is obtained by removing the redundant ring network and removing the intersecting ring network.
结合第三方面和上述可能的实现方式, 在另一种可能的实现方 式中, 所述第三获取单元, 具体用于:  With reference to the third aspect and the foregoing possible implementation manner, in another possible implementation manner, the third obtaining unit is specifically configured to:
根据所述环型网络集合和所述归属关系, 获取所述起始节点和 所述终止节点之间的最短路径。  Obtaining a shortest path between the starting node and the terminating node according to the ring network set and the belonging relationship.
结合第三方面和上述可能的实现方式, 在另一种可能的实现方 式中, 所述装置还包括:  In conjunction with the third aspect and the foregoing possible implementation manners, in another possible implementation manner, the apparatus further includes:
呈现单元, 用于根据所述第二获取单元得到的所述环型网络集 合和所述确定单元得到的所述归属关系, 呈现所述通信网络。  a presentation unit, configured to present the communication network according to the ring network collection obtained by the second obtaining unit and the attribution relationship obtained by the determining unit.
本发明的第四方面, 提供一种网络拓朴呈现装置, 应用于通信 网络中, 所述通信网络包括起始节点和终止节点, 所述装置包括: 获取单元, 用于获取所述通信网络中的环型网络拓朴集合, 所 述环型网络拓朴集合包括多个相接的环型网络的拓朴和所述多个 相接的环型网络的归属关系; 其中, 所述多个相接的环型网络包括 所述起始节点所属的环型网络和所述终止节点所属的环型网络, 所 述多个环型网络中的环型网络归属于与所述环型网络相接的环型 网络中最高父级别的环型网络, 所述起始节点所属的环型网络或者 所述终止节点所属的环型网络为所述通信网络中最高父级别的环 型网络; According to a fourth aspect of the present invention, a network topology presentation apparatus is provided for communication In the network, the communication network includes a start node and a termination node, and the device includes: an acquiring unit, configured to acquire a ring network topology set in the communication network, where the ring network topology set includes multiple a topology of the connected ring network and a affiliation relationship of the plurality of adjacent ring networks; wherein the plurality of adjacent ring networks includes a ring network to which the originating node belongs and Ending the ring network to which the node belongs, the ring network in the plurality of ring networks belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the start node belongs to The ring network or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network;
呈现单元, 用于根据所述获取单元得到的所述多个相接的环型 网络的归属关系和所述多个相接的环型网络的拓朴, 呈现所述通信 网络的拓朴。  And a rendering unit, configured to present a topology of the communication network according to the attribution relationship of the plurality of connected ring networks obtained by the acquiring unit and the topology of the plurality of connected ring networks.
结合第四方面, 在另一种可能的实现方式中,  In combination with the fourth aspect, in another possible implementation manner,
当网元节点属于所述环型网络的拓朴上的网元节点时, 将所述 网元节点和所述环型网络的拓朴上的所有网元节点以环形式呈现; 或者  When the network element node belongs to the network element node on the topology of the ring network, the network element node and all network element nodes on the topology of the ring network are presented in a ring form; or
当所述网元节点不属于所述环型网络的拓朴上的网元节点时, 将所述网元节点和所述网元节点下属的所有网元节点以树形式呈 现; 或者  When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or
当所述网元节点满足预设条件时, 将所述网元节点下属的所有 网元节点云化呈现;  When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented;
所述预设条件包括: 归属所述网元节点的源节点数目符合预设 的显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节 点到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节 点的设备类型为指定的设备类型。  The preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
本发明的第五方面, 提供一种业务路径计算装置, 应用于通信 网络中, 所述通信网络包括起始节点和终止节点, 包括: 至少一个 处理器、 存储器、 通信接口和总线, 所述至少一个处理器、 所述存 储器和所述通信接口通过所述总线连接并完成相互间的通信; 所述处理器, 用于执行存储在存储器中的可执行程序代码, 具 体的用于执行以下操作: According to a fifth aspect of the present invention, a service path calculation apparatus is provided, which is applied to a communication network, where the communication network includes a start node and a termination node, and includes: at least one processor, a memory, a communication interface, and a bus, where the at least one a processor, the memory and the communication interface are connected by the bus and complete communication with each other; The processor is configured to execute executable program code stored in a memory, specifically for performing the following operations:
所述处理器, 用于获取所述通信网络的网络拓朴信息; 根据所 述网络拓朴信息, 获取所述通信网络的环型网络集合; 其中, 所述 环型网络集合包括多个相接的环型网络, 其中, 所述多个相接的环 型网络包括所述起始节点所属的环型网络和所述终止节点所属的 环型网络; 确定所述多个环型网络的归属关系; 其中, 所述多个环 型网络中的环型网络归属于与所述环型网络相接的环型网络中最 高父级别的环型网络, 所述起始节点所属的环型网络或者所述终止 节点所属的环型网络为所述通信网络中最高父级别的环型网络; 根 据所述环型网络集合和所述归属关系, 获取所述起始节点与所述终 止节点之间的业务路径。  The processor is configured to acquire network topology information of the communication network, and obtain a ring network set of the communication network according to the network topology information, where the ring network set includes multiple connections a ring network, where the plurality of adjacent ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs; determining a belonging relationship of the plurality of ring networks The ring network in the plurality of ring networks belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network or the node to which the start node belongs The ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network; and the service between the starting node and the terminating node is obtained according to the ring network set and the belonging relationship path.
结合第五方面, 在一种可能的实现方式中,  In combination with the fifth aspect, in a possible implementation manner,
所述处理器, 还用于根据所述网络拓朴信息, 选取所述通信网 络的支路节点集合; 其中, 所述支路节点集合中包含多个支路节点, 所述支路节点为链路数大于等于 3的节点;根据所述网络拓朴信息, 获取每个所述支路节点对应的环型网络子集; 其中, 所述支路节点 对应的环型网络子集包括包含所述支路节点的环型网络; 根据每个 所述支路节点对应的环型网络子集, 通过去除冗余的环型网络和去 除相交的环型网络, 以使获得所述环型网络集合。  The processor is further configured to: select, according to the network topology information, a set of branch nodes of the communication network; where the set of branch nodes includes multiple branch nodes, and the branch nodes are chains a node having a number of times greater than or equal to 3; obtaining, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes the a ring network of the branch nodes; according to the ring network subset corresponding to each of the branch nodes, the ring network group is obtained by removing the redundant ring network and removing the intersecting ring network.
结合第五方面和上述可能的实现方式, 在另一种可能的实现方 式中,  In combination with the fifth aspect and the above possible implementation manners, in another possible implementation manner,
所述处理器, 还用于根据所述环型网络集合和所述归属关系, 获取所述起始节点和所述终止节点之间的最短路径。  The processor is further configured to acquire a shortest path between the start node and the termination node according to the ring network set and the attribution relationship.
结合第五方面和上述可能的实现方式, 在另一种可能的实现方 式中,  In combination with the fifth aspect and the above possible implementation manners, in another possible implementation manner,
所述处理器, 还用于根据所述环型网络集合和所述归属关系, 呈现所述通信网络。  The processor is further configured to present the communication network according to the ring network set and the attribution relationship.
本发明的第六方面, 提供一种网络拓朴呈现装置, 应用于通信 网络中, 所述通信网络包括起始节点和终止节点, 包括: 至少一个 处理器、 存储器、 通信接口和总线, 所述至少一个处理器、 所述存 储器和所述通信接口通过所述总线连接并完成相互间的通信; According to a sixth aspect of the present invention, a network topology rendering apparatus is provided for communication In the network, the communication network includes a start node and a termination node, including: at least one processor, a memory, a communication interface, and a bus, wherein the at least one processor, the memory, and the communication interface are connected by using the bus Complete mutual communication;
所述处理器, 用于执行存储在存储器中的可执行程序代码, 具 体的用于执行以下操作:  The processor is configured to execute executable program code stored in a memory, and is specifically configured to perform the following operations:
所述处理器, 用于获取所述通信网络中的环型网络拓朴集合, 所述环型网络拓朴集合包括多个相接的环型网络的拓朴和所述多 个相接的环型网络的归属关系; 其中, 所述多个相接的环型网络包 括所述起始节点所属的环型网络和所述终止节点所属的环型网络, 所述多个环型网络中的环型网络归属于与所述环型网络相接的环 型网络中最高父级别的环型网络, 所述起始节点所属的环型网络或 者所述终止节点所属的环型网络为所述通信网络中最高父级别的 环型网络; 根据所述多个相接的环型网络的归属关系和所述多个相 接的环型网络的拓朴, 呈现所述通信网络的拓朴。  The processor is configured to acquire a ring network topology set in the communication network, where the ring network topology set includes a topology of a plurality of connected ring networks and the plurality of connected rings The affiliation of the type of network; wherein the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, and rings in the plurality of ring networks The type network belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network to which the start node belongs or the ring network to which the terminating node belongs is the communication network. a ring network of the highest parent level; presenting a topology of the communication network based on a belonging relationship of the plurality of connected ring networks and a topology of the plurality of connected ring networks.
结合第六方面, 在一种可能的实现方式中,  In combination with the sixth aspect, in a possible implementation manner,
当网元节点属于所述环型网络的拓朴上的网元节点时, 将所述 网元节点和所述环型网络的拓朴上的所有网元节点以环形式呈现; 或者  When the network element node belongs to the network element node on the topology of the ring network, the network element node and all network element nodes on the topology of the ring network are presented in a ring form; or
当所述网元节点不属于所述环型网络的拓朴上的网元节点时, 将所述网元节点和所述网元节点下属的所有网元节点以树形式呈 现; 或者  When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or
当所述网元节点满足预设条件时, 将所述网元节点下属的所有 网元节点云化呈现;  When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented;
所述预设条件包括: 归属所述网元节点的源节点数目符合预设 的显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节 点到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节 点的设备类型为指定的设备类型。  The preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
本发明实施例提供的业务路径计算方法及装置, 首先根据获取 到的通信网络中的网络拓朴信息, 获取该通信网络的包含多个相接 的环型网络的环型网络集合, 然后确定获得的多个环型网络的归属 关系, 最后根据获得的环型网络集合和多个环型网络的归属关系, 获取起始节点与终止节点之间的业务路径, 从而得到宿节点与源节 点的业务路径, 使得针对规划阶段的通信网络, 在仅能获取网络设 备互联关系, 甚至仅能获得站点级别的互联规划信息的情况下, 实 现了业务路径的计算。 附图说明 The method and device for calculating a service path according to an embodiment of the present invention firstly acquires a plurality of interfaces of the communication network according to network topology information in the obtained communication network. a ring network set of the ring network, and then determining the obtained ownership relationship of the plurality of ring networks, and finally obtaining the relationship between the start node and the terminating node according to the obtained ring network set and the ownership relationship of the plurality of ring networks The service path, thereby obtaining the service path between the sink node and the source node, so that the communication path for the planning phase can be realized only when the network device interconnection relationship can be obtained, or even the site-level interconnection planning information can be obtained. Calculation. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可 以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为本发明一实施例提供的一种业务路径计算方法流程图; 图 2 为本发明另一实施例提供的一种网络拓朴呈现方法流程 图;  FIG. 1 is a flowchart of a service path calculation method according to an embodiment of the present invention; FIG. 2 is a flowchart of a network topology presentation method according to another embodiment of the present invention;
图 3 为本发明另一实施例提供的一种业务路径计算方法流程 图;  3 is a flow chart of a method for calculating a service path according to another embodiment of the present invention;
图 4为本发明实施例提供的一种通信网络的拓朴示意图; 图 5为本发明另一实施例提供的一种业务路径计算装置组成示 意图;  FIG. 4 is a schematic diagram of a topology of a communication network according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a composition of a service path calculation apparatus according to another embodiment of the present invention;
图 6为本发明另一实施例提供的另一种业务路径计算装置组成 示意图;  FIG. 6 is a schematic diagram of another service path computing device according to another embodiment of the present invention;
图 7为本发明另一实施例提供的一种网络拓朴呈现装置组成示 意图;  FIG. 7 is a schematic diagram of a network topology rendering apparatus according to another embodiment of the present invention; FIG.
图 8为本发明另一实施例提供的又一种业务路径计算装置组成 示意图;  FIG. 8 is a schematic diagram showing another composition of a service path computing device according to another embodiment of the present invention; FIG.
图 9为本发明另一实施例提供的另一种网络拓朴呈现装置组成 示意图。 具体实施方式 FIG. 9 is a schematic structural diagram of another network topology rendering apparatus 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 only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明一实施例提供一种业务路径计算方法, 应用于通信网络 中, 所述通信网络包括起始节点和终止节点, 如图 1 所示, 该方法 可以包括:  An embodiment of the present invention provides a service path calculation method, which is applied to a communication network, where the communication network includes a start node and a termination node. As shown in FIG. 1, the method may include:
101、 获取通信网络中的网络拓朴信息。  101. Obtain network topology information in a communication network.
其中, 网络拓朴信息包含所有的规划信息, 例如可以包括: 链 路信息、 站点、 设备类型、 源节点归属信息等, 还可以包括很多规 划信息, 例如可以是 IP 端口规划信息、 路由规划信息等, 而不同 设备的规划信息也可以包含很多, 如设备名称等等, 本发明实施例 在此不再 列举。  The network topology information includes all the planning information, and may include, for example, link information, a site, a device type, and source node attribution information, and may also include a plurality of planning information, such as IP port planning information, routing planning information, and the like. The planning information of different devices may also include a lot, such as a device name, etc., which are not enumerated herein.
需要说明的是, 本发明实施例只是对网络拓朴信息进行了举例 说明, 本发明实施例在此对网络拓朴信息包含的具体内容不做限 制。  It should be noted that, the embodiment of the present invention only exemplifies the network topology information, and the embodiment of the present invention does not limit the specific content included in the network topology information.
102、 根据网络拓朴信息, 获取通信网络的环型网络集合。  102. Obtain a ring network collection of the communication network according to the network topology information.
其中, 当获取到通信网络的网络拓朴信息之后, 便可以根据获 取到的网络拓朴信息, 获取该通信网络的环型网络集合, 其中, 该 环型网络集合包括多个相接的环型网络, 且该多个相接的环型网络 包括起始节点所属的环型网络和终止节点所属的环型网络。  After obtaining the network topology information of the communication network, the ring network set of the communication network may be obtained according to the obtained network topology information, where the ring network set includes multiple connected ring types. The network, and the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs.
103、 确定多个环型网络的归属关系。  103. Determine a belonging relationship of multiple ring networks.
其中,当根据网络拓朴信息获得通信网络的环型网络集合之后, 确定该环型网络集合中包含的多个环型网络的归属关系, 其中, 多 个环型网络中的环型网络归属于与环型网络相接的环型网络中最 高父级别的环型网络, 起始节点所属的环型网络或者终止节点所属 的环型网络为通信网络中最高父级别的环型网络。 After obtaining the ring network set of the communication network according to the network topology information, determining a affiliation relationship of the plurality of ring networks included in the ring network set, wherein the ring network in the plurality of ring networks belongs to The ring network of the highest parent level in the ring network connected to the ring network, the ring network to which the originating node belongs or the terminating node belongs to The ring network is the highest parent-level ring network in the communication network.
104、 根据环型网络集合和归属关系 , 获取起始节点与终止节点 之间的业务路径。  104. Obtain a service path between the originating node and the terminating node according to the ring network set and the affiliation relationship.
其中, 当确定了环型网络集合中包含的多个环型网络的归属关 系之后, 便可以根据确定的归属关系以及获取到的通信网络的环型 网络集合, 获取起始节点与终止节点之间的业务路径, 而由于起始 节点直接或通过非环型网络间接与宿节点相连, 终止节点直接或通 过非环型网络间接与源节点连接, 因此根据获得的起始节点与终止 节点之间的业务路径, 便可以得到宿节点与源节点之间的业务路 径。  After determining the attribution relationship of the plurality of ring networks included in the ring network set, the relationship between the start node and the terminating node may be obtained according to the determined attribution relationship and the acquired ring network set of the communication network. The service path, and since the initiating node is indirectly connected to the sink node directly or through the acyclic network, the terminating node is directly connected to the source node directly or through the acyclic network, so according to the obtained between the starting node and the terminating node With the service path, the service path between the sink node and the source node can be obtained.
需要说明的是, 本发明实施例中所述的源节点为处于通信网络 末端的网元节点, 宿节点为通信网络中的汇聚节点。  It should be noted that the source node in the embodiment of the present invention is a network element node at the end of the communication network, and the sink node is a sink node in the communication network.
需要说明的是, 在一种应用场景中, 当根据通信网络的网络拓 朴信息获取到的环型网络集合中未包含环型网络, 也就是说在该通 信网络中不存在环型网络, 那么可以理解的是, 起始节点与终止节 点之间的业务路径是唯一的, 也就是说从源节点到宿节点的业务路 径是唯一的, 因此可以直接通过确定起始节点与终止节点之间的业 务路径, 来得到源节点与宿节点之间的业务路径, 本发明实施例在 此不再对这种应用场景中的源节点到宿节点业务路径的获取方法 进行伴细赘述。  It should be noted that, in an application scenario, when a ring network is not included in the ring network set obtained according to the network topology information of the communication network, that is, the ring network does not exist in the communication network, then It can be understood that the service path between the originating node and the terminating node is unique, that is, the service path from the source node to the sink node is unique, and thus can be directly determined between the starting node and the terminating node. The service path is used to obtain the service path between the source node and the sink node. The method for obtaining the source node to the sink node service path in the application scenario is not described in detail in the embodiment of the present invention.
本发明实施例提供的业务路径计算方法, 首先根据获取到的通 信网络中的网络拓朴信息, 获取该通信网络的包含多个相接的环型 网络的环型网络集合, 然后确定获得的多个环型网络的归属关系, 最后根据获得的环型网络集合和多个环型网络的归属关系, 获取起 始节点与终止节点之间的业务路径, 从而得到宿节点与源节点的业 务路径, 使得针对规划阶段的通信网络, 在仅能获取网络设备互联 关系, 甚至仅能获得站点级别的互联规划信息的情况下, 实现了业 务路径的计算。  The service path calculation method provided by the embodiment of the present invention firstly obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node. For the communication network in the planning stage, the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
本发明一实施例提供一种网络拓朴呈现方法, 应用于通信网络 中, 所述通信网络包括起始节点和终止节点, 如图 2所示, 该方法 可以包括: An embodiment of the present invention provides a network topology rendering method, which is applied to a communication network. The communication network includes a start node and a termination node. As shown in FIG. 2, the method may include:
201、 获取通信网络中的环型网络拓朴集合, 环型网络拓朴集合 包括多个相接的环型网络的拓朴和多个相接的环型网络的归属关 系。  201. Acquire a ring network topology set in a communication network, where the ring network topology set includes a topology of multiple connected ring networks and a belonging relationship of multiple connected ring networks.
其中, 多个相接的环型网络包括起始节点所属的环型网络和终 止节点所属的环型网络, 多个环型网络中的环型网络归属于与环型 网络相接的环型网络中最高父级别的环型网络, 起始节点所属的环 型网络或者终止节点所属的环型网络为通信网络中最高父级别的 环型网络, 宿节点为通信网络中的汇聚节点, 源节点为处于通信网 络末端的网元节点。  The plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, and the ring network in the plurality of ring networks belongs to the ring network connected to the ring network. The ring network of the highest parent level, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network, the sink node is the sink node in the communication network, and the source node is A network element node at the end of the communication network.
202、根据多个相接的环型网络的归属关系和多个相接的环型网 络的拓朴, 呈现通信网络的拓朴。  202. Presenting a topology of the communication network according to the belonging relationship of the plurality of connected ring networks and the topology of the plurality of connected ring networks.
其中, 当获取通信网络中的环型网络拓朴集合之后, 可以根据 环型网络拓朴集合中包含的多个相接的环型网络的归属关系和多 个相接的环型网络的拓朴, 确定通信网络中的临界节点, 并可以将 业务路径经过该临界节点的所有源节点看作一个显示单元, 这是由 于网络拓朴图中的网元节点数据比较庞大, 用户只能分批呈现, 此 时就可以将业务路径经过同一个临界节点的所有的源节点作为一 个显示单元。 当用户选择了一个显示单元之后, 就可以从宿节点或 者网元节点开始, 沿业务路径一次呈现经过的所有网元节点和临界 节点, 其中临界节点已汇聚了显示单元中所有源节点的业务路径, 且临界节点到源节点的业务路径也是唯一的一条路径, 并从网元节 点或临界节点开始, 沿业务路径依次呈现经过的所有网元节点和源 节点。 具体的在显示的过程中, 当网元节点属于环型网络的拓朴上 的网元节点时, 将网元节点和环型网络的拓朴上的所有网元节点以 环形式呈现; 或者当网元节点不属于环型网络的拓朴上的网元节点 时, 将网元节点和网元节点下属的所有网元节点以树形式呈现; 或 者当网元节点满足预设条件时, 将网元节点下属的所有网元节点云 化呈现, 该预设条件包括: 归属网元节点的源节点数目符合预设的 显示数目 阈值, 或, 业务路径经过网元节点的所有源节点到网元节 点的跳数和满足预设的跳数阈值, 或, 网元节点的设备类型为指定 的设备类型等。 其中, 所述的网元节点为通信网络中除源节点和宿 节点外的节点。 After obtaining the ring network topology set in the communication network, the belonging relationship of the plurality of connected ring networks included in the ring network topology set and the topology of the plurality of connected ring networks may be Determining a critical node in the communication network, and treating all the source nodes of the service path through the critical node as one display unit, because the network element node data in the network topology map is relatively large, and the user can only present in batches. At this point, the service path can pass through all the source nodes of the same critical node as a display unit. After the user selects a display unit, all the network element nodes and critical nodes that have passed through the service path can be presented from the sink node or the network element node, wherein the critical node has aggregated the service paths of all the source nodes in the display unit. And the service path from the critical node to the source node is also the only one path, and starts from the network element node or the critical node, and sequentially displays all the network element nodes and the source node that pass through along the service path. Specifically, in the process of displaying, when the network element node belongs to the network element node on the topology of the ring network, all the network element nodes on the topology of the network element node and the ring network are presented in a ring form; or When the network element node does not belong to the network element node on the topology of the ring network, all the network element nodes of the network element node and the network element node are presented in a tree form; or when the network element node meets the preset condition, the network element node All network element nodes of the meta-node The preset condition includes: the number of source nodes of the home network element node meets a preset display number threshold, or the number of hops of the service path through all source nodes of the network element node to the network element node and the preset hopping The number threshold, or, the device type of the NE node is the specified device type, and so on. The network element node is a node other than the source node and the sink node in the communication network.
本发明实施例提供的网络拓朴呈现方法, 获取通信网络中的环 型网络拓朴集合, 并根据获取到的环型网络拓朴集合中包含的多个 相接的环型网络的拓朴和多个相接的环型网络的归属关系, 呈现该 通信网络的拓朴, 使得在得到规划阶段的通信网络的业务路径的基 础上, 实现了规划阶段大规模网络场景下, 基于业务路径的网络拓 朴的呈现。  The network topology presentation method provided by the embodiment of the present invention acquires a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set The affiliation relationship of the multiple connected ring networks presents the topology of the communication network, so that the service path-based network in the large-scale network scenario in the planning stage is realized on the basis of the service path of the communication network in the planning stage. The presentation of the topology.
本发明另一实施例提供一种业务路径计算方法, 用于通信网络 中, 所述通信网络包括起始节点和终止节点, 如图 3所示, 该方法 可以包括:  Another embodiment of the present invention provides a service path calculation method, which is used in a communication network, where the communication network includes a start node and a termination node. As shown in FIG. 3, the method may include:
301、 获取通信网络的网络拓朴信息。  301. Obtain network topology information of a communication network.
其中, 网络拓朴信息包含所有的规划信息, 例如可以包括: 链 路信息、 站点、 设备类型、 源节点归属信息等, 还可以包括很多规 划信息, 例如可以是 IP 端口规划信息、 路由规划信息等, 而不同 设备的规划信息也可以包含很多, 如设备名称等等, 本发明实施例 在此不再 列举。  The network topology information includes all the planning information, and may include, for example, link information, a site, a device type, and source node attribution information, and may also include a plurality of planning information, such as IP port planning information, routing planning information, and the like. The planning information of different devices may also include a lot, such as a device name, etc., which are not enumerated herein.
需要说明的是, 本发明实施例只是对网络拓朴信息进行了举例 说明, 本发明实施例在此对网络拓朴信息包含的具体内容不做限 制。  It should be noted that, the embodiment of the present invention only exemplifies the network topology information, and the embodiment of the present invention does not limit the specific content included in the network topology information.
302、 根据网络拓朴信息, 获取通信网络的环型网络集合。 其中, 当获取到通信网络的网络拓朴信息之后, 便可以根据获 取到的网络拓朴信息, 获取该通信网络的环型网络集合, 且环型网 络集合包括多个相接的环型网络, 所述多个相接的环型网络包括起 始节点所属的环型网络和终止节点所属的环型网络。  302. Obtain a ring network collection of the communication network according to the network topology information. After obtaining the network topology information of the communication network, the ring network set of the communication network may be obtained according to the acquired network topology information, and the ring network set includes multiple connected ring networks. The plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs.
具体的, 获取通信网络的环型网络集合的具体方法可以包含以 下步骤 302a-步骤 302c。 Specifically, the specific method for obtaining the ring network set of the communication network may include Next step 302a - step 302c.
302a , 根据网络拓朴信息, 选取通信网络的支路节点集合。 其中, 支路节点集合中包含多个支路节点, 支路节点为链路数 大于等于 3 的节点。 具体的, 当获取到通信网络的网络拓朴信息之 后, 可以根据网络拓朴信息将通信网络中所有链路数大于等于 3的 支路节点筛选出来, 所有的支路节点组成支路节点集合。 例如, 如 图 4所示的一种通信网络的拓朴示意图, 图 4 中的节点 A、 节点 B、 节点 D、 节点 G、 节点 H、 节点 I即为该通信网络的支路节点, 这 样支路节点组成该通信网络的支路节点集合。  302a. Select a branch node set of the communication network according to the network topology information. The branch node set includes multiple branch nodes, and the branch node is a node with a link number greater than or equal to 3. Specifically, after obtaining the network topology information of the communication network, all the branch nodes in the communication network with the number of links greater than or equal to 3 can be selected according to the network topology information, and all the branch nodes form a set of branch nodes. For example, as shown in FIG. 4, a topology diagram of a communication network, where node A, node B, node D, node G, node H, and node I in FIG. 4 are branch nodes of the communication network, such The way nodes form a set of branch nodes of the communication network.
302b , 根据网络拓朴信息, 获取每个支路节点对应的环型网络 子集。  302b. Obtain, according to the network topology information, a ring network subset corresponding to each branch node.
其中, 当根据网络拓朴信息获取到通信网络的支路节点集合之 后, 便可以针对支路节点集合中包含的多个支路节点中的某个支路 节点, 以该支路节点为首节点, 获取该支路节点对应的环型网络子 集, 并对支路节点集合中包含的至少一个支路节点中的每个支路节 点, 均需获取其对应的环型网络子集, 其中, 支路节点对应的环型 网络子集包括包含支路节点的环型网络。  After obtaining the set of branch nodes of the communication network according to the network topology information, one of the plurality of branch nodes included in the set of branch nodes may be used as the first node. Obtaining a subset of the ring network corresponding to the branch node, and obtaining, for each branch node of the at least one branch node included in the set of branch nodes, a corresponding subset of the ring network, where The ring network subset corresponding to the road node includes a ring network including branch nodes.
根据网络拓朴信息, 获取每个支路节点对应的环型网络子集的 具体过程可以是:  According to the network topology information, the specific process of obtaining the ring network subset corresponding to each branch node may be:
首先, 确定筛选规则, 例如, 筛选规则可以包括: 网元类型、 链路类型、 路由域规划、 接口 IP、 链路成本、 路由协议等。  First, the screening rules are determined. For example, the filtering rules may include: a network element type, a link type, a routing domain plan, an interface IP, a link cost, a routing protocol, and the like.
需要说明的是, 本发明实施例中所述的 选规则也可以是根据 客户提供的规划信息中的优先级得到的, 例如客户提供的规划信息 中指示优先根据网元类型进行筛选, 那么此时筛选规则即为网元类 型, 且本发明实施例在此不做限制, 或者具体的筛选规则还可以根 据实际的应用场景和网络拓朴信息共同来确定, 本发明实施例中对 筛选规则的确定只是进行简单的举例说明, 且选取何种 选规则进 行深度遍历, 也可以根据实际应用场景的需求来确定, 对于具体釆 用何种 选规则进行深度遍历本发明实施例在此不作限制。 然后, 针对支路节点集合中的每个支路节点, 以该支路节点为 首节点, 根据 选规则进行深度遍历, 根据遍历过程获取该支路节 点对应的环型网络子集。 其中, 针对支路节点集合中包含的多个支 路节点中的每个支路节点, 当确定了筛选规则之后, 可以根据确定 的筛选规则, 以该支路节点为首节点, 进行深度遍历, 并根据遍历 过程获取该支路节点对应的环型网络子集, 直到得到支路节点集合 中包含的多个支路节点中的每个支路节点对应的环型网络子集为 止, 其中进行深度遍历时釆用的算法可以是深度遍历算法, 深度遍 历算法的相关细节包括链路回退、 状态记录等, 此算法为现有技术 中成熟的算法, 本发明实施例中在此对该算法的具体细节不再详细 赘述。 具体的可以是: 针对支路节点集合中包含的多个支路节点中 的每个支路节点, 首先以该支路节点为首节点, 从该支路节点的第 一链路开始根据筛选规则进行深度遍历, 直到返回该支路节点, 然 后重新以该支路节点为首节点, 并从该支路节点的第二链路开始根 据筛选规则进行深度遍历, 直到返回该支路节点, 重复上述深度遍 历的过程, 直到将该支路节点的所有链路遍历完毕, 其中在遍历的 过程中还需根据遍历过程记录环型网络, 并根据所有的遍历过程得 到该支路节点对应的环型网络子集, 这样便可以得到支路节点集合 中包含的多个支路节点中的每个支路节点对应的环型网络子集, 其 中, 第一链路为该支路节点的所有链路中的任意一条链路, 第二链 路为该节点的所有链路中除第一链路外的其他链路中的任意一条 链路。 It should be noted that the selection rule described in the embodiment of the present invention may be obtained according to the priority in the planning information provided by the customer. For example, the planning information provided by the customer indicates that the filtering is preferentially performed according to the network element type. The screening rule is a network element type, and the embodiment of the present invention is not limited herein, or the specific screening rule may be determined according to the actual application scenario and the network topology information, and the screening rule is determined in the embodiment of the present invention. For example, a simple example is provided, and the selection rule is selected for the deep traversal, and may be determined according to the requirements of the actual application scenario. For the specific selection rule to perform the deep traversal, the embodiment of the present invention is not limited herein. Then, for each branch node in the set of branch nodes, the branch node is taken as the first node, and the deep traversal is performed according to the selection rule, and the ring network subset corresponding to the branch node is obtained according to the traversal process. For each of the plurality of branch nodes included in the set of branch nodes, after the screening rule is determined, the branch node may be used as the first node to perform deep traversal according to the determined screening rule, and Obtaining a subset of the ring network corresponding to the branch node according to the traversal process until a subset of the ring network corresponding to each of the plurality of branch nodes included in the set of branch nodes is obtained, wherein the deep traversal is performed The algorithm used in the time may be a deep traversal algorithm, and the related details of the deep traversal algorithm include a link back-off, a state record, and the like. The algorithm is a mature algorithm in the prior art, and the algorithm is specific to the algorithm in the embodiment of the present invention. Details will not be described in detail. Specifically, it may be: for each of the plurality of branch nodes included in the set of branch nodes, first, the branch node is taken as the first node, and the first link of the branch node is used according to the screening rule. Depth traversing until returning to the branch node, and then re-taking the branch node as the first node, and performing deep traversal according to the screening rule from the second link of the branch node until the branch node is returned, repeating the depth traversal The process, until all the links of the branch node are traversed, wherein during the traversal process, the ring network is recorded according to the traversal process, and the ring network subset corresponding to the branch node is obtained according to all traversal processes. In this way, a ring network subset corresponding to each of the plurality of branch nodes included in the set of branch nodes can be obtained, wherein the first link is any of all the links of the branch node. One link, the second link is any one of the other links of the node except the first link.
例如, 如图 4所示的通信网络的拓朴, 且釆用深度遍历算法进 行深度遍历, 由步骤 302a 可知, 该通信网络的支路节点集合中包 含的支路节点为: 节点 A、 节点 B、 节点 D、 节点 G、 节点 H、 节 点 I。 针对节点 A , 选取其中一条链路 A-C 开始遍历, A-C-D , 由 于节点 D为支路节点, 因此可以根据筛选规则选取其中一条支路继 续遍历, 若筛选规则为设备类型, 即优先选取同一类型的设备进行 遍历, 那么根据设备类型可以优先选取 D-G继续遍历, 此时确定节 点 G也为支路节点且满足筛选条件, 把节点 G加入到节点 A的遍 历支路节点序列中, 然后随机选取一条链路继续遍历, 这里可以随 机选取 G-K-L-M-N-0-H , 由于节点 H 也为支路节点且满足筛选条 件, 则把节点 H也加入到节点 A的遍历支路节点序列中, 若此时遍 历 H-G ,发现又回到已遍历过的节点 G上,则回退至最近支路节点, 即回退至节点 H , 然后遍历下一条链路 H-I-J-B-A , 回到节点 A , 记 录当前遍历过程中为 A-C-D-G-K-L-M-N-0-H-I-J-B-A的环型网络, 然后需要根据节点 A 对应的遍历支路节点序列中的记录回退至最 后一个遍历支路节点 H , 查看是否有未遍历链路, 无则回退至上一 个支路节点 G , 发现有未遍历链路 G-H , 再随机选取链路, 最终获 得新环型网络 A-C-D-G-H-I-J-B-A。 其中遍历支路节点序列中的添 加的节点在链路回退时使用。 然后选取节点 A的另一条链路重复上 述深度遍历的过程, 直到将该支路节点的所有链路遍历完毕, 并记 录所有的环型网络, 得到节点 A对应的环型网络子集, 其中包含两 个 环 型 网 络 , 分 另' J 为 A-C-D-G-K-L-M-N-0-H-I-J-B-A 、 A-C-D-G-H-I-J-B-A。 当节点 A 的所有链路以全部遍历完成之后, 可以继续下一个节点 D的深度遍历,得到节点 D对应的环型网络子 集, 其中在进行节点 D 的遍历过程中, 可以不记录与遍历节点 A 得到的环型网络重复的环型网络, 那么此时得到的节点 D对应的环 型网络子集中包含的环型网络为 D-E-F-D , 同理节点 G对应的环型 网络子集中包含的环型网络为 G-K-L-M-N-0-H-G , 节点 H 无对应 的新的环型网络, 节点 I对应的环型网络子集中包含的环型网络为 I-P-Q-R-S-I。 For example, as shown in the topology of the communication network shown in FIG. 4, and using the deep traversal algorithm for deep traversal, it can be seen from step 302a that the branch nodes included in the branch node set of the communication network are: node A, node B. , node D, node G, node H, node I. For node A, select one of the links AC to start traversing, ACD, because node D is a branch node, you can select one of the branches to continue traversal according to the filtering rule. If the filtering rule is device type, the device of the same type is preferentially selected. To traverse, then depending on the device type, the DG can be preferentially selected to continue traversing. Point G is also a branch node and satisfies the filtering condition. Node G is added to the traversal branch node sequence of node A, and then a link is randomly selected to continue traversing. Here, GKLMN-0-H can be randomly selected, since node H is also As the branch node and satisfying the filtering condition, the node H is also added to the traversal branch node sequence of the node A. If the HG is traversed at this time and found to return to the traversed node G, it is rolled back to the nearest branch. The road node, that is, falls back to node H, then traverses the next link HIJBA, returns to node A, records the ring network of ACDGKLMN-0-HIJBA in the current traversal process, and then needs to traverse the branch node corresponding to node A. The record in the sequence is rolled back to the last traversal branch node H to see if there is any traversal link. If not, it is rolled back to the previous tributary node G. It is found that there is no traversal of the link GH, and then the link is randomly selected, and finally obtained. New ring network ACDGHIJBA. The added node in the sequence of traversing branch nodes is used when the link is backed up. Then, another link of the node A is selected to repeat the process of the deep traversal until all the links of the branch node are traversed, and all the ring networks are recorded, and a ring network subset corresponding to the node A is obtained, which includes Two ring networks, the other 'J is ACDGKLMN-0-HIJBA, ACDGHIJBA. After all the links of the node A are completed in all traversal, the deep traversal of the next node D may be continued to obtain a ring network subset corresponding to the node D, wherein during the traversal of the node D, the traversal node may not be recorded and traversed. A obtained ring network repeating ring network, then the ring network included in the ring network subset corresponding to node D obtained at this time is DEFD, and the ring network included in the ring network subset corresponding to the same node G For GKLMN-0-HG, node H has no corresponding new ring network, and the ring network included in the ring network subset corresponding to node I is IPQRSI.
需要说明的是, 最终获取到的所有的支路节点对应的环型网络 子集中, 不同的支路节点对应的环型网络子集中可以包含相同的环 型网络, 也可以在记录环型网络时当确定最新获得的环型网络已经 记录了, 可以不再重复记录。  It should be noted that, in the ring network subset corresponding to all the branch nodes that are finally obtained, the ring network subset corresponding to different branch nodes may include the same ring network, or may be recorded in the ring network. When it is determined that the newly acquired ring network has been recorded, the recording may not be repeated.
302c , 根据每个支路节点对应的环型网络子集, 通过去除冗余 的环型网络和去除相交的环型网络, 以使获得环型网络集合。 其中, 当获取到支路节点集合中包含的多个支路节点中的每个 支路节点对应的环型网络子集之后, 可以根据得到的支路节点集合 中包含的多个支路节点中的每个支路节点对应的环型网络子集, 通 过去除冗余的环型网络和去除相交的环型网络, 获取通信网络的环 型网络集合。 302c. Obtain a ring network set by removing the redundant ring network and removing the intersecting ring network according to the ring network subset corresponding to each branch node. After obtaining the ring network subset corresponding to each of the plurality of branch nodes included in the set of branch nodes, according to the obtained plurality of branch nodes included in the set of branch nodes A subset of the ring network corresponding to each branch node obtains a ring network set of the communication network by removing the redundant ring network and removing the intersecting ring network.
具体的, 通信网络中的环型网络集合的获取方法可以是: 首先 根据网络拓朴信息确定选取规则。 其中, 选取规则包括: 优先选取 链路带宽最大的环型网络、 优先选取链路成本最小的环型网络。  Specifically, the method for obtaining the ring network set in the communication network may be: First, determining the selection rule according to the network topology information. The selection rules include: preferentially selecting a ring network with the largest link bandwidth and preferentially selecting a ring network with the lowest link cost.
需要说明的是, 在本发明实施例中只是对选取规则进行了简单 的举例说明, 具体在实际的应用过程中, 可以根据网络拓朴信息和 实际的应用场景来确定选取规则, 本发明实施例在此对选取规则不 做限制。  It should be noted that, in the embodiment of the present invention, only the selection rule is simply exemplified. In the actual application process, the selection rule may be determined according to the network topology information and the actual application scenario. There is no restriction on the selection rules here.
然后, 根据选取规则和每个支路节点对应的环型网络子集, 通 过去除冗余的环型网络和去除相交的环型网络, 以使获得环型网络 集合。 具体的, 当根据网络拓朴信息确定了选取规则之后, 便可以 根据确定的选取规则和每个支路节, ^对应的环型网络子集去除冗 余的环型网络和去除相交的环型网络, 在一种应用场景中, 若在步 骤 302b 中得到的所有的支路节点对应的环型网络子集中, 不同的 支路节点对应的环型网络子集中包含了相同的环型网络, 那么就需 要将不同支路节点对应的环型网络子集中包含的相同的环型网络 重复的环型网络去除掉, 并且将不同支路节点对应的环型网络子集 中包含的相交的环型网络去除掉, 例如选取规则为优先链路成本最 小的环型网络, 那么若一个环型网络上的链路在不同已选取的环型 网络上, 且无新链路则需要删除该环环型网络。 例如步骤 303b 中 得到环型网络 A-C-D-G-K-L-M-N-0-H-I-J-B-A , 可以用两个更小的 环型网络 A-C-D-G-H-I-J-B-A , 以及 G-K-L-M-N-0-H-G覆盖 , 也就 是说环型网络 A-C-D-G-K-L-M-N-0-H-I-J-B-A上的链路在环型网络 A-C-D-G-H-I-J-B-A , 以及 G-K-L-M-N-O-H-G上, 且无新链路, 那 么此时便可以将环型网络 A-C-D-G-K-L-M-N-0-H-I-J-B-A去除, 那 么得到 的 网 络中 到 的环型 网 络集合中 包含的环型 网 络为 :Then, according to the selection rule and the ring network subset corresponding to each branch node, the ring network collection is obtained by removing the redundant ring network and removing the intersecting ring network. Specifically, after the selection rule is determined according to the network topology information, the redundant ring network can be removed according to the determined selection rule and each branch segment, and the intersecting ring type is removed. Network, in an application scenario, if all the branch nodes corresponding to the branch nodes in step 302b correspond to the ring network subset, and the different ring nodes corresponding to the ring network subset contain the same ring network, then It is necessary to remove the same ring network repeated ring network included in the ring network subset corresponding to different branch nodes, and remove the intersecting ring networks included in the ring network subset corresponding to different branch nodes. For example, if the selection rule is a ring network with the lowest priority link cost, then if the link on a ring network is on a different selected ring network, and there is no new link, the ring type network needs to be deleted. For example, the ring network ACDGKLMN-0-HIJBA obtained in step 303b can be covered by two smaller ring networks ACDGHIJBA and GKLMN-0-HG, that is, the link on the ring network ACDGKLMN-0-HIJBA is On the ring network ACDGHIJBA, and GKLMNOHG, and there is no new link, then the ring network ACDGKLMN-0-HIJBA can be removed at that time, then The ring network included in the ring network collection in the obtained network is:
A-C-D-G-H-I-J-B-A , D-E-F-D、 G-K-L-M-N-O-H-G、 I-P-Q-R-S-I。 在另一种应用场景中, 若在步骤 302b 中最终获取到的所有的支路 节点对应的环型网络子集中, 不同的支路节点对应的环型网络子集 中不包含相同的环型网络, 那么此时只需判断所有的环型网络中是 否有相交的环型网络, 且按照选取规则去除相交的环型网络, 最终 得到通信网络的环型网络集合。 A-C-D-G-H-I-J-B-A, D-E-F-D, G-K-L-M-N-O-H-G, I-P-Q-R-S-I. In another application scenario, if all the branch nodes corresponding to the branch nodes are finally obtained in step 302b, the ring network subset corresponding to the different branch nodes does not include the same ring network. Then, it is only necessary to judge whether there are intersecting ring networks in all ring networks, and remove the intersecting ring networks according to the selection rules, and finally obtain a ring network set of the communication network.
303、 确定多个环型网络的归属关系。  303. Determine a affiliation relationship of multiple ring networks.
其中, 当获取到通信网络的环型网络集合之后, 便可以确定环 型网络集合中的多个环型网络的归属关系, 且多个环型网络中的环 型网络归属于与环型网络相接的环型网络中最高父级别的环型网 络, 起始节点所属的环型网络或者终止节点所属的环型网络为通信 网络中最高父级别的环型网络。 例如, 可以将与宿节点通过非环型 网络直接或间接相连的环型网络定义为 0级环、 与 0级环通过非环 型网络直接相连、 或与 0级环相接的环型网络定义为 1 级环, 与 1 级环通过非环型网络直接相连、 或与 1级环相接的环型网络定义为 2 级环, 以此类推, 直到得到环型网络集合中的多个环型网络的归 属关系, 其中, 相接包含相交或者相切, 并且可以定义与宿节点无 链路连接关系的环链路为孤环。 例如, 如图 4所示的网络拓朴, 无 线网络控制器 ( Radio Network Controller, RNC ) 为宿节点, 可以 得到与 RNC连接的第一个环型网络为 B-A-C-G-H-I-J-B , 则可以定 义环型网络 B-A-C-G-H-I-J-B 为 0 级环, 其余的三个环型网络 I-P-Q-R-S-I 、 G-K-L-M-N-O-H-G 、 D-E-F-D 与 环 型 网 络 B-A-C-G-H-I-J-B相接, 则将这三个环型网络可以定义为 1级环。  After obtaining the ring network set of the communication network, the attribution relationship of the plurality of ring networks in the ring network set can be determined, and the ring network in the plurality of ring networks belongs to the ring network. The ring network of the highest parent level in the ring network, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network. For example, a ring network that is directly or indirectly connected to a sink node through an acyclic network may be defined as a level 0 ring, a ring network that is directly connected to a level 0 ring through an acyclic network, or connected to a level 0 ring. A level 1 ring, a ring network directly connected to a class 1 ring through an acyclic network or connected to a level 1 ring, defined as a level 2 ring, and so on, until multiple ring patterns in the ring network set are obtained The affiliation relationship of the network, where the connection includes intersecting or tangential, and the ring link that has no link connection relationship with the sink node may be defined as a ring. For example, as shown in the network topology shown in FIG. 4, the radio network controller (RNC) is a sink node, and the first ring network connected to the RNC can be obtained as BACGHIJB, and the ring network BACGHIJB can be defined as The 0 ring, the remaining three ring networks IPQRSI, GKLMNOHG, DEFD and the ring network BACGHIJB, then these three ring networks can be defined as a level 1 ring.
需要说明的是, 环型网络集合中的多个环型网络基于不同的宿 节点的归属关系可以相同, 也可以不相同。  It should be noted that the multiple ring networks in the ring network set may be the same or different based on different home nodes.
304、 根据环型网络集合和归属关系, 获取起始节点与终止节点 之间的业务路径。  304. Obtain a service path between the originating node and the terminating node according to the ring network set and the affiliation relationship.
其中, 当确定了环型网络集合中的多个环型网络的归属关系之 后, 便可以根据环型网络集合和多个环型网络的归属关系, 获取起 始节点与终止节点之间的业务路径, 具体的可以是根据环型网络集 合和多个环型网络的归属关系, 获取起始节点和终止节点之间的最 短路径, 而由于起始节点直接或通过非环型网络间接与宿节点相 连, 终止节点直接或通过非环型网络间接与源节点连接, 因此根据 获得的起始节点与终止节点之间的业务路径, 便可以得到宿节点与 源节点之间的业务路径。 Wherein, when determining the attribution relationship of the plurality of ring networks in the ring network set After that, the service path between the start node and the terminating node may be obtained according to the ring network set and the affiliation relationship of the plurality of ring networks, which may be based on the ring network set and the affiliation relationship of the plurality of ring networks. Obtaining the shortest path between the starting node and the terminating node, and since the starting node is directly connected to the sink node through the acyclic network, the terminating node is directly connected to the source node directly or through the acyclic network, so The service path between the originating node and the terminating node can obtain the service path between the sink node and the source node.
具体的, 获取起始节点和终止节点之间的最短路径的方法可以 包是, 当需要获取某个源节点与宿节点之间的业务路径时, 可以先 获取与该源节点连接的终止节点, 该终止节点处于环型网络上, 且 直接与源节点连接, 或通过非环型网络间接与源节点连接, 当获取 到与源节点连接的终止节点之后, 可以根据步骤 303 中确定的环型 网络集合中的多个环型网络的归属关系, 获取到起始节点和终止节 点之间的最短路径, 进而到的该源节点与宿节点之间的业务路径, 其中可以是按照网络拓朴信息确定的条件来获取最短路径的, 也可 以是直接以最短跳数来获取最短路径的。 并且, 在获取起始节点和 终止节点之间的最短路径时, 可以保存最短链路的基本信息, 该基 本信息可以包含链路基本信息, 如链路标识、 类型、 链路首尾节点 信息等、 链路环标识, 如是否为环型网络、 环型网络的归属关系; 其中, 关于链路首尾节点可根据网络拓朴信息保存相关关键信息, 如网元标识、 类型、 单板端口、 IP、 端口类型等。  Specifically, the method for obtaining the shortest path between the start node and the end node may be: when the service path between the source node and the sink node needs to be acquired, the termination node connected to the source node may be acquired first, The terminating node is located on the ring network, and is directly connected to the source node, or is indirectly connected to the source node through the acyclic network. After obtaining the terminating node connected to the source node, the ring network may be determined according to step 303. A affiliation relationship of the plurality of ring networks in the set, obtaining a shortest path between the start node and the terminating node, and further a service path between the source node and the sink node, where the network path information may be determined according to network topology information The condition to get the shortest path is also to get the shortest path directly with the shortest hop count. Moreover, when obtaining the shortest path between the initiating node and the terminating node, the basic information of the shortest link may be saved, and the basic information may include link basic information, such as link identifier, type, link end-to-end node information, and the like. The link ring identifier, for example, is the affiliation relationship between the ring network and the ring network. The link end and end nodes can store related key information, such as the network element identifier, type, board port, IP, according to the network topology information. Port type, etc.
例如, 如图 4 所示, 当需要获取 RNC 控制下的基站节点 B 1 ( NodeB l ) 到该 RNC 的业务路径时, 可以首先逐跳向上遍历到节 点 M , 节点 M即为终止节点, 然后计算得到从 M到上一级环型网 络的最短路径为 M-N-O-H , 继续遍历, 得到节点 H到节点 B , 也就 是起始节点的最短链路为 H-I- J-B ,从而获取从基站 NodeB l到 RNC 的业务路径为 NodeB l -M-N-0-H-I-J-B-RNC , 并且可以记录逐跳链 路标记, 如环型网络成员和环型网络的归属关系、 非环型网络。 同 理 RNC控制下的其他基站,如 NodeB2也可以获取到最短业务路径 为 NodeB2-Q-P-I-J-B-RNC , 再例如也可以获取到基站收发信台 1 ( Base Transceiver Station 1 , BTS 1 ) 的到 RNC的最短业务路径等 等。 为了能确定网络中所有源节点到宿节点的业务路径, 可以在遍 历完 RNC 下所有基站后继续遍历下一个宿节点基站控制器 ( Base Station Controller , B SC ) 下的所有基站的业务路径并记录保存。 For example, as shown in FIG. 4, when it is required to acquire the service path of the base station node B 1 (NodeB l ) under the control of the RNC to the RNC, it may first traverse up to the node M hop by hop, and the node M is the terminating node, and then calculate The shortest path from M to the upper ring network is MNOH, and the traversal is continued to obtain the node H to the node B, that is, the shortest link of the starting node is HI-JB, thereby acquiring the service from the base station NodeB l to the RNC. The path is NodeB l -MN-0-HIJB-RNC, and the hop-by-hop link flag can be recorded, such as the affiliation relationship between the ring network member and the ring network, and the acyclic network. Other base stations under the control of the RNC, such as NodeB2, can also obtain the shortest service path. For the NodeB2-QPIJB-RNC, for example, the shortest service path to the RNC of the Base Transceiver Station 1 (BTS 1) can be obtained. In order to determine the service path of all the source nodes to the sink nodes in the network, after traversing all the base stations in the RNC, the service path of all the base stations under the next base station controller (B SC ) can be traversed and recorded. save.
需要说明的是, 为了获取到网络中所有源节点到宿节点的业务 路径, 可以逐个遍历宿节点控制下的所有源节点, 这样便能确定网 络中所有源节点到宿节点的业务路径。  It should be noted that, in order to obtain the service paths from all the source nodes to the sink nodes in the network, all the source nodes under the control of the sink nodes can be traversed one by one, so that the service paths of all the source nodes to the sink nodes in the network can be determined.
本发明实施例提供的业务路径计算方法, 首先根据获取到的通 信网络中的网络拓朴信息, 获取该通信网络的包含多个相接的环型 网络的环型网络集合, 然后确定获得的多个环型网络的归属关系, 最后根据获得的环型网络集合和多个环型网络的归属关系, 获取起 始节点与终止节点之间的业务路径, 从而得到宿节点与源节点的业 务路径, 使得针对规划阶段的通信网络, 在仅能获取网络设备互联 关系, 甚至仅能获得站点级别的互联规划信息的情况下, 实现了业 务路径的计算。  The service path calculation method provided by the embodiment of the present invention firstly obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node. For the communication network in the planning stage, the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
并且, 在获取通信网络的环型网络集合时, 只获取链路数大于 等于 3 的节点的环型网络子集, 降低了获取环型网络的复杂度, 提 高了性能。  Moreover, when acquiring the ring network set of the communication network, only the ring network subset of the node whose link number is greater than or equal to 3 is obtained, which reduces the complexity of acquiring the ring network and improves the performance.
需要说明的是, 本发明实施例提供的业务路径的计算方法和网 络拓朴呈现方法, 支持规划阶段全网的容量模拟计算和全网设备的 BOQ导出, 具体的可以是计算出每跳链路下的末端网元的数目 , 如 基站的数目 , 并根据末端网元的容量带宽需求根据容量计算公式, 如收敛计算公式, 自动计算出该链路的网元带宽需求, 并根据接口 类型自动计算出网元的硬件规格需求, 最终计算出全网所有节点的 网元硬件规格清单, 导出全网 BOQ , 为投标前的成本评估提供数据 支撑。 并且当网络规划调整变更时, 釆用本发明实施例提供的方法 可以自动呈现对周边的影响, 如更新后全网容量的自动更新计算和 呈现。 并且还可以应用到全网滚动规划数据的动态呈现以及现网评 估分析、 录入现网数据和新业务对末端网元的容量诉求、 自动分析 现网瓶颈节点是否支撑未来业务发展等场景中, 本发明实施例在此 不再——列举。 It should be noted that the method for calculating the service path and the network topology presentation method provided by the embodiments of the present invention support the capacity simulation calculation of the entire network in the planning phase and the BOQ export of the entire network device, and specifically, the hop link can be calculated. The number of network elements at the end, such as the number of base stations, and according to the capacity bandwidth requirement of the end network element, according to the capacity calculation formula, such as the convergence calculation formula, automatically calculates the network element bandwidth requirement of the link, and automatically calculates according to the interface type. The hardware specification requirements of the outbound network element are calculated, and finally the hardware specification list of the network elements of all nodes in the whole network is calculated, and the whole network BOQ is derived, which provides data support for the cost evaluation before the bidding. And when the network planning adjustment is changed, the method provided by the embodiment of the present invention can automatically present the influence on the periphery, such as the automatic update calculation and presentation of the entire network capacity after the update. And can also be applied to the dynamic presentation of the entire network rolling planning data and the current network review In the scenario of the analysis, the entry of the existing network data and the new service to the capacity of the end network element, and the automatic analysis of whether the bottleneck node of the current network supports the future business development, the embodiments of the present invention are not listed here.
本发明另一实施例提供一种业务路径计算装置, 应用于通信网 络中, 所述通信网络包括起始节点和终止节点, 如图 5所示, 所述 装置包括: 第一获取单元 41、 第二获取单元 42、 确定单元 43、 第 三获取单元 44。  Another embodiment of the present invention provides a service path calculation apparatus, which is applied to a communication network, where the communication network includes a start node and a termination node. As shown in FIG. 5, the apparatus includes: a first acquisition unit 41, The second obtaining unit 42, the determining unit 43, and the third obtaining unit 44.
第一获取单元 41 , 用于获取所述通信网络的网络拓朴信息。 第二获取单元 42 , 用于根据所述第一获取单元 41 得到的所述 网络拓朴信息, 获取所述通信网络的环型网络集合; 其中, 所述环 型网络集合包括多个相接的环型网络, 其中, 所述多个相接的环型 网络包括所述起始节点所属的环型网络和所述终止节点所属的环 型网络。  The first obtaining unit 41 is configured to acquire network topology information of the communication network. The second obtaining unit 42 is configured to acquire, according to the network topology information obtained by the first acquiring unit 41, a ring network set of the communication network, where the ring network set includes multiple connected a ring network, where the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs.
确定单元 43 , 用于确定所述第二获取单元 42得到的所述多个 环型网络的归属关系; 其中, 所述多个环型网络中的环型网络归属 于与所述环型网络相接的环型网络中最高父级别的环型网络, 所述 起始节点所属的环型网络或者所述终止节点所属的环型网络为所 述通信网络中最高父级别的环型网络。  a determining unit 43, configured to determine a affiliation relationship of the plurality of ring networks obtained by the second acquiring unit 42, where a ring network in the plurality of ring networks belongs to the ring network The ring network of the highest parent level in the ring network, the ring network to which the originating node belongs or the ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network.
第三获取单元 44 , 用于根据所述第二获取单元 42得到的所述 环型网络集合和所述确定单元 43 得到的所述归属关系, 获取所述 起始节点与所述终止节点之间的业务路径。  a third obtaining unit 44, configured to acquire, according to the ring network set obtained by the second acquiring unit 42 and the attribution relationship obtained by the determining unit 43, between the starting node and the terminating node Business path.
进一步的, 如图 6所示, 所述第二获取单元 42 , 具体用于: 根据所述网络拓朴信息, 选取所述通信网络的支路节点集合; 其中, 所述支路节点集合中包含多个支路节点, 所述支路节点为链 路数大于等于 3 的节点。  Further, as shown in FIG. 6, the second obtaining unit 42 is specifically configured to: select, according to the network topology information, a set of branch nodes of the communication network; wherein, the branch node set includes A plurality of branch nodes, wherein the branch nodes are nodes having a link number greater than or equal to 3.
根据所述网络拓朴信息, 获取每个所述支路节点对应的环型网 络子集; 其中, 所述支路节点对应的环型网络子集包括包含所述支 路节点的环型网络。  Obtaining, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the ring network subset corresponding to the branch node includes a ring network including the branch node.
根据每个所述支路节点对应的环型网络子集, 通过去除冗余的 环型网络和去除相交的环型网络, 以使获得所述环型网络集合。 进一步的, 所述第三获取单元 44 , 具体用于: According to the ring network subset corresponding to each of the branch nodes, by removing redundant The ring network and the intersecting ring network are removed such that the ring network set is obtained. Further, the third obtaining unit 44 is specifically configured to:
根据所述环型网络集合和所述归属关系, 获取所述起始节点和 所述终止节点之间的最短路径。  Obtaining a shortest path between the starting node and the terminating node according to the ring network set and the belonging relationship.
进一步的, 所述装置还可以包括: 呈现单元 45。  Further, the device may further include: a presentation unit 45.
呈现单元 45 , 用于根据所述第二获取单元 42得到的所述环型 网络集合和所述确定单元 43 得到的所述归属关系, 呈现所述通信 网络。  The presentation unit 45 is configured to present the communication network according to the ring network set obtained by the second obtaining unit 42 and the attribution relationship obtained by the determining unit 43.
本发明实施例提供的业务路径计算装置, 首先根据获取到的通 信网络中的网络拓朴信息, 获取该通信网络的包含多个相接的环型 网络的环型网络集合, 然后确定获得的多个环型网络的归属关系, 最后根据获得的环型网络集合和多个环型网络的归属关系, 获取起 始节点与终止节点之间的业务路径, 从而得到宿节点与源节点的业 务路径, 使得针对规划阶段的通信网络, 在仅能获取网络设备互联 关系, 甚至仅能获得站点级别的互联规划信息的情况下, 实现了业 务路径的计算。  The service path computing device provided by the embodiment of the present invention first obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node. For the communication network in the planning stage, the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
并且, 在获取通信网络的环型网络集合时, 只获取链路数大于 等于 3 的节点的环型网络子集, 降低了获取环型网络的复杂度, 提 高了性能。  Moreover, when acquiring the ring network set of the communication network, only the ring network subset of the node whose link number is greater than or equal to 3 is obtained, which reduces the complexity of acquiring the ring network and improves the performance.
本发明另一实施例提供一种网络拓朴呈现装置, 应用于通信网 络中, 所述通信网络包括起始节点和终止节点, 如图 7所示, 所述 装置包括: 获取单元 5 1、 呈现单元 52。  Another embodiment of the present invention provides a network topology rendering apparatus, which is applied to a communication network, where the communication network includes a start node and a termination node. As shown in FIG. 7, the apparatus includes: an acquiring unit 5 1 , presenting Unit 52.
获取单元 5 1 , 用于获取所述通信网络中的环型网络拓朴集合, 所述环型网络拓朴集合包括多个相接的环型网络的拓朴和所述多 个相接的环型网络的归属关系; 其中, 所述多个相接的环型网络包 括所述起始节点所属的环型网络和所述终止节点所属的环型网络, 所述多个环型网络中的环型网络归属于与所述环型网络相接的环 型网络中最高父级别的环型网络, 所述起始节点所属的环型网络或 者所述终止节点所属的环型网络为所述通信网络中最高父级别的 环型网络。 The acquiring unit 5 1 is configured to acquire a ring network topology set in the communication network, where the ring network topology set includes a topology of multiple connected ring networks and the multiple connected rings The affiliation of the type of network; wherein the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, and rings in the plurality of ring networks The type network belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network to which the start node belongs or the ring network to which the terminating node belongs is the communication network. Medium highest parent Ring network.
呈现单元 52 , 用于根据所述获取单元 5 1 得到的所述多个相接 的环型网络的归属关系和所述多个相接的环型网络的拓朴, 呈现所 述通信网络的拓朴。  a presentation unit 52, configured to present, according to the ownership relationship of the multiple connected ring networks obtained by the obtaining unit 51, and the topology of the multiple connected ring networks, presenting the extension of the communication network Park.
进一步的, 当网元节点属于所述环型网络的拓朴上的网元节点 时, 将所述网元节点和所述环型网络的拓朴上的所有网元节点以环 形式呈现; 或者当所述网元节点不属于所述环型网络的拓朴上的网 元节点时, 将所述网元节点和所述网元节点下属的所有网元节点以 树形式呈现; 或者当所述网元节点满足预设条件时, 将所述网元节 点下属的所有网元节点云化呈现。  Further, when the network element node belongs to the network element node on the topology of the ring network, all the network element nodes on the topology of the network element node and the ring network are presented in a ring form; or When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or when When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented.
所述预设条件包括: 归属所述网元节点的源节点数目符合预设 的显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节 点到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节 点的设备类型为指定的设备类型。  The preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
本发明实施例提供的网络拓朴呈现装置, 获取通信网络中的环 型网络拓朴集合, 并根据获取到的环型网络拓朴集合中包含的多个 相接的环型网络的拓朴和多个相接的环型网络的归属关系, 呈现该 通信网络的拓朴, 使得在得到规划阶段的通信网络的业务路径的基 础上, 实现了规划阶段大规模网络场景下, 基于业务路径的网络拓 朴的呈现。  The network topology presenting apparatus provided by the embodiment of the present invention acquires a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set The affiliation relationship of the multiple connected ring networks presents the topology of the communication network, so that the service path-based network in the large-scale network scenario in the planning stage is realized on the basis of the service path of the communication network in the planning stage. The presentation of the topology.
本发明另一实施例提供一种业务路径计算装置, 如图 8所示, 包括: 至少一个处理器 61、 存储器 62、 通信接口 63和总线 64 , 该 至少一个处理器 61、 存储器 62和通信接口 63通过总线 64连接并 完成相互间的通信, 其中:  Another embodiment of the present invention provides a service path computing device. As shown in FIG. 8, the method includes: at least one processor 61, a memory 62, a communication interface 63, and a bus 64. The at least one processor 61, the memory 62, and the communication interface 63 is connected via bus 64 and completes communication with each other, wherein:
所述总线 64 可以是工业标准体系结构 ( Industry Standard Architecture , ISA ) 总线、 夕卜部设备互连 ( Peripheral Component Interconnect , PCI )总线或扩展工业标准体系结构( Extended Industry Standard Architecture , EISA ) 总线等。 该总线 64可以分为地址总 线、 数据总线、 控制总线等。 为便于表示, 图 8 中仅用一条粗线表 示, 但并不表示仅有一根总线或一种类型的总线。 The bus 64 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (ESA) bus. The bus 64 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line table is used in Figure 8. Show, but does not mean that there is only one bus or one type of bus.
所述存储器 62用于存储可执行程序代码,该程序代码包括计算 机操作指令。 存储器 62可能包含高速 RAM存储器, 也可能还包括 非易失性存储器( non- volatile memory ) ,例如至少一个磁盘存储器。  The memory 62 is for storing executable program code, the program code including computer operating instructions. The memory 62 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
所述处理器 61 可能是一个中央处理器 ( Central Processing Unit , CPU ) , 或者是特定集成电路( Application Specific Integrated Circuit , ASIC ) , 或者是被配置成实施本发明实施例的一个或多个 集成电路。  The processor 61 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. .
所述通信接口 63 , 主要用于实现本实施例的设备之间的通信。 所述处理器 61 , 用于执行所述存储器 62 中存储的可执行程序 代码, 具体的用于执行以下操作:  The communication interface 63 is mainly used to implement communication between devices of the embodiment. The processor 61 is configured to execute executable program code stored in the memory 62, specifically for performing the following operations:
所述处理器 61 , 用于获取所述通信网络的网络拓朴信息; 根据 所述网络拓朴信息, 获取所述通信网络的环型网络集合; 其中, 所 述环型网络集合包括多个相接的环型网络, 其中, 所述多个相接的 环型网络包括所述起始节点所属的环型网络和所述终止节点所属 的环型网络; 确定所述多个环型网络的归属关系; 其中, 所述多个 环型网络中的环型网络归属于与所述环型网络相接的环型网络中 最高父级别的环型网络, 所述起始节点所属的环型网络或者所述终 止节点所属的环型网络为所述通信网络中最高父级别的环型网络; 根据所述环型网络集合和所述归属关系, 获取所述起始节点与所述 终止节点之间的业务路径。  The processor 61 is configured to acquire network topology information of the communication network, and acquire, according to the network topology information, a ring network set of the communication network, where the ring network set includes multiple phases. a ring network in which the plurality of connected ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs; determining the attribution of the plurality of ring networks a ring network in the plurality of ring networks belongs to a ring network of a highest parent level in a ring network connected to the ring network, and the ring network to which the start node belongs or The ring network to which the terminating node belongs is the ring network of the highest parent level in the communication network; according to the ring network set and the affiliation relationship, acquiring between the starting node and the terminating node Business path.
进一步的, 所述处理器 61 , 还用于根据所述网络拓朴信息, 选 取所述通信网络的支路节点集合; 其中, 所述支路节点集合中包含 多个支路节点, 所述支路节点为链路数大于等于 3 的节点; 根据所 述网络拓朴信息, 获取每个所述支路节点对应的环型网络子集; 其 中, 所述支路节点对应的环型网络子集包括包含所述支路节点的环 型网络; 根据每个所述支路节点对应的环型网络子集, 通过去除冗 余的环型网络和去除相交的环型网络, 以使获得所述环型网络集 合。 进一步的, 所述处理器 6 1 , 还用于根据所述环型网络集合和所 述归属关系, 获取所述起始节点和所述终止节点之间的最短路径。 Further, the processor 61 is further configured to: select, according to the network topology information, a set of branch nodes of the communication network; where the set of branch nodes includes multiple branch nodes, and the branch The node is a node having a link number greater than or equal to 3; obtaining, according to the network topology information, a ring network subset corresponding to each of the branch nodes; wherein the branch network node corresponding to the ring network subset Include a ring network including the branch node; according to a ring network subset corresponding to each of the branch nodes, by removing redundant ring networks and removing intersecting ring networks, so that the rings are obtained Type network collection. Further, the processor 6 1 is further configured to acquire, according to the ring network set and the affiliation relationship, a shortest path between the start node and the terminating node.
进一步的, 所述处理器 6 1 , 还用于根据所述环型网络集合和所 述归属关系, 呈现所述通信网络。  Further, the processor 6 1 is further configured to present the communication network according to the ring network set and the attribution relationship.
本发明实施例提供的业务路径计算装置, 首先根据获取到的通 信网络中的网络拓朴信息, 获取该通信网络的包含多个相接的环型 网络的环型网络集合, 然后确定获得的多个环型网络的归属关系, 最后根据获得的环型网络集合和多个环型网络的归属关系, 获取起 始节点与终止节点之间的业务路径, 从而得到宿节点与源节点的业 务路径, 使得针对规划阶段的通信网络, 在仅能获取网络设备互联 关系, 甚至仅能获得站点级别的互联规划信息的情况下, 实现了业 务路径的计算。  The service path computing device provided by the embodiment of the present invention first obtains a ring network set including a plurality of connected ring networks according to the network topology information in the obtained communication network, and then determines the obtained multiple The ownership relationship of the ring network is finally obtained according to the obtained ring network set and the ownership relationship of the plurality of ring networks, and the service path between the start node and the terminating node is obtained, thereby obtaining the service path between the sink node and the source node. For the communication network in the planning stage, the calculation of the service path is realized only when the network device interconnection relationship can be obtained, and even the site-level interconnection planning information can be obtained.
并且, 在获取通信网络的环型网络集合时, 只获取链路数大于 等于 3 的节点的环型网络子集, 降低了获取环型网络的复杂度, 提 高了性能。  Moreover, when acquiring the ring network set of the communication network, only the ring network subset of the node whose link number is greater than or equal to 3 is obtained, which reduces the complexity of acquiring the ring network and improves the performance.
本发明另一实施例提供一种网络拓朴呈现装置, 如图 9所示, 包括: 至少一个处理器 7 1、 存储器 72、 通信接口 73和总线 74 , 该 至少一个处理器 7 1、 存储器 72和通信接口 73通过总线 74连接并 完成相互间的通信, 其中:  Another embodiment of the present invention provides a network topology rendering apparatus, as shown in FIG. 9, including: at least one processor 71, a memory 72, a communication interface 73, and a bus 74, the at least one processor 71 and the memory 72. And the communication interface 73 is connected through the bus 74 and completes communication with each other, wherein:
所述总线 74 可以是工业标准体系结构 ( Industry Standard Architecture , I SA ) 总线、 夕卜部设备互连 ( Peripheral Component Interconnect , PCI )总线或扩展工业标准体系结构( Extended Industry Standard Architecture , EI SA ) 总线等。 该总线 74可以分为地址总 线、 数据总线、 控制总线等。 为便于表示, 图 9中仅用一条粗线表 示, 但并不表示仅有一根总线或一种类型的总线。  The bus 74 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EI SA) bus. . The bus 74 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
所述存储器 72用于存储可执行程序代码,该程序代码包括计算 机操作指令。 存储器 72可能包含高速 RAM存储器, 也可能还包括 非易失性存储器( non- volatile memory ) ,例如至少一个磁盘存储器。  The memory 72 is for storing executable program code, the program code including computer operating instructions. Memory 72 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
所述处理器 7 1 可能是一个中央处理器 ( C entral Proce s sing Unit , CPU ) , 或者是特定集成电路( Application Specific Integrated Circuit , ASIC ) , 或者是被配置成实施本发明实施例的一个或多个 集成电路。 The processor 7 1 may be a central processor (Central Proce s sing) Unit, CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
所述通信接口 73 , 主要用于实现本实施例的设备之间的通信。 所述处理器 71 , 用于执行所述存储器 72 中存储的可执行程序 代码, 具体的用于执行以下操作:  The communication interface 73 is mainly used to implement communication between devices of the embodiment. The processor 71 is configured to execute executable program code stored in the memory 72, specifically for performing the following operations:
所述处理器 71 , 用于获取所述通信网络中的环型网络拓朴集 合, 所述环型网络拓朴集合包括多个相接的环型网络的拓朴和所述 多个相接的环型网络的归属关系; 其中, 所述多个相接的环型网络 包括所述起始节点所属的环型网络和所述终止节点所属的环型网 络, 所述多个环型网络中的环型网络归属于与所述环型网络相接的 环型网络中最高父级别的环型网络, 所述起始节点所属的环型网络 或者所述终止节点所属的环型网络为所述通信网络中最高父级别 的环型网络; 根据所述多个相接的环型网络的归属关系和所述多个 相接的环型网络的拓朴, 呈现所述通信网络的拓朴。  The processor 71 is configured to acquire a ring network topology set in the communication network, where the ring network topology set includes a topology of a plurality of connected ring networks and the plurality of connected a locating relationship of the ring network; wherein the plurality of adjacent ring networks include a ring network to which the originating node belongs and a ring network to which the terminating node belongs, in the plurality of ring networks The ring network belongs to the ring network of the highest parent level in the ring network connected to the ring network, and the ring network to which the start node belongs or the ring network to which the terminating node belongs is the communication a ring network of the highest parent level in the network; presenting a topology of the communication network according to the attribution relationship of the plurality of connected ring networks and the topology of the plurality of connected ring networks.
进一步的, 当网元节点属于所述环型网络的拓朴上的网元节点 时, 将所述网元节点和所述环型网络的拓朴上的所有网元节点以环 形式呈现; 或者当所述网元节点不属于所述环型网络的拓朴上的网 元节点时, 将所述网元节点和所述网元节点下属的所有网元节点以 树形式呈现; 或者当所述网元节点满足预设条件时, 将所述网元节 点下属的所有网元节点云化呈现。  Further, when the network element node belongs to the network element node on the topology of the ring network, all the network element nodes on the topology of the network element node and the ring network are presented in a ring form; or When the network element node does not belong to the network element node on the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or when When the network element node meets the preset condition, all the network element nodes subordinate to the network element node are clouded and presented.
所述预设条件包括: 归属所述网元节点的源节点数目符合预设 的显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节 点到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节 点的设备类型为指定的设备类型。  The preset condition includes: the number of source nodes that belong to the network element node meets a preset display number threshold, or the number of hops of the service path through all the source nodes of the network element node to the network element node And satisfying the preset hop count threshold, or the device type of the network element node is a specified device type.
本发明实施例提供的网络拓朴呈现装置, 获取通信网络中的环 型网络拓朴集合, 并根据获取到的环型网络拓朴集合中包含的多个 相接的环型网络的拓朴和多个相接的环型网络的归属关系, 呈现该 通信网络的拓朴, 使得在得到规划阶段的通信网络的业务路径的基 础上, 实现了规划阶段大规模网络场景下, 基于业务路径的网络拓 朴的呈现。 The network topology presenting apparatus provided by the embodiment of the present invention acquires a ring network topology set in a communication network, and according to the topology of the plurality of connected ring networks included in the acquired ring network topology set The attribution relationship of the plurality of connected ring networks presents the topology of the communication network, so that the basis of the service path of the communication network in the planning stage is obtained. On the basis of this, the presentation of the network topology based on the service path is realized under the large-scale network scenario in the planning stage.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地 了解到本发明可借助软件加必需的通用硬件的方式来实现, 当然也 可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的 理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分 可以以软件产品的形式体现出来, 该计算机软件产品存储在可读取 的存储介质中, 如计算机的软盘, 硬盘或光盘等, 包括若干指令用 以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设 备等) 执行本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. A hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范 围之内。 因此, 本发明的保护范围应以所述权利要求的保护范围为  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 protected by the scope of the claims

Claims

权 利 要 求 书 claims
1、 一种业务路径计算方法, 应用于通信网络中, 所述通信网络 包括起始节点和终止节点, 其特征在于, 包括: 1. A service path calculation method applied in a communication network. The communication network includes a starting node and a ending node, and is characterized by including:
获取所述通信网络的网络拓朴信息; Obtain network topology information of the communication network;
根据所述网络拓朴信息, 获取所述通信网络的环型网络集合; 其 中, 所述环型网络集合包括多个相接的环型网络, 其中, 所述多个 相接的环型网络包括所述起始节, 所属的环型网络和所述终止节点 所属的环型网络; According to the network topology information, a ring network set of the communication network is obtained; wherein the ring network set includes a plurality of connected ring networks, wherein the multiple connected ring networks include The starting node, the ring network to which it belongs and the ring network to which the termination node belongs;
确定所述多个环型网络的归属关系; 其中, 所述多个环型网络中 的环型网络归属于与所述环型网络相接的环型网络中最高父级别的 环型网络, 所述起始节点所属的环型网络或者所述终止节点所属的 环型网络为所述通信网络中最高父级别的环型网络; Determine the belonging relationship of the plurality of ring networks; wherein, the ring network in the plurality of ring networks belongs to the ring network with the highest parent level among the ring networks connected to the ring network, so The ring network to which the starting node belongs or the ring network to which the termination node belongs is the ring network with the highest parent level in the communication network;
根据所述环型网络集合和所述归属关系,获取所述起始节点与所 述终止节点之间的业务路径。 According to the ring network set and the belonging relationship, the service path between the starting node and the ending node is obtained.
2、 根据权利要求 1 所述的业务路径计算方法, 其特征在于, 所 述根据所述网络拓朴信息, 获取所述通信网络的环型网络集合, 包 括: 2. The service path calculation method according to claim 1, characterized in that: obtaining a ring network set of the communication network according to the network topology information includes:
根据所述网络拓朴信息, 选取所述通信网络的支路节点集合; 其 中, 所述支路节点集合中包含多个支路节点, 所述支路节点为链路 数大于等于 3的节点; According to the network topology information, select a branch node set of the communication network; wherein, the branch node set includes multiple branch nodes, and the branch node is a node with a number of links greater than or equal to 3;
根据所述网络拓朴信息,获取每个所述支路节点对应的环型网络 子集; 其中, 所述支路节点对应的环型网络子集包括包含所述支路 节点的环型网络; According to the network topology information, obtain a ring network subset corresponding to each branch node; wherein, the ring network subset corresponding to the branch node includes a ring network including the branch node;
根据每个所述支路节点对应的环型网络子集,通过去除冗余的环 型网络和去除相交的环型网络, 以使获得所述环型网络集合。 According to the ring network subset corresponding to each branch node, the ring network set is obtained by removing redundant ring networks and removing intersecting ring networks.
3、 根据权利要求 1或 2所述的业务路径计算方法, 其特征在于, 所述根据所述环型网络集合和所述归属关系, 获取所述起始节点与 所述终止节点之间的业务路径, 包括: 3. The service path calculation method according to claim 1 or 2, characterized in that, according to the ring network set and the belonging relationship, the service between the starting node and the ending node is obtained. Path, including:
根据所述环型网络集合和所述归属关系,获取所述起始节点和所 述终止节点之间的最短路径。 According to the ring network set and the belonging relationship, obtain the starting node and all The shortest path between the terminal nodes.
4、 根据权利要求 1 -3 中任一项所述的业务路径计算方法, 其特 征在于, 还包括: 4. The service path calculation method according to any one of claims 1 to 3, characterized in that it also includes:
根据所述环型网络集合和所述归属关系, 呈现所述通信网络。 The communication network is presented according to the ring network set and the belonging relationship.
5、 一种网络拓朴呈现方法, 应用于通信网络中, 所述通信网络 包括起始节点和终止节点, 其特征在于, 包括: 5. A network topology presentation method, applied to a communication network. The communication network includes a starting node and a ending node, characterized in that it includes:
获取所述通信网络中的环型网络拓朴集合,所述环型网络拓朴集 合包括多个相接的环型网络的拓朴和所述多个相接的环型网络的归 属关系; 其中, 所述多个相接的环型网络包括所述起始节点所属的 环型网络和所述终止节点所属的环型网络, 所述多个环型网络中的 环型网络归属于与所述环型网络相接的环型网络中最高父级别的环 型网络, 所述起始节点所属的环型网络或者所述终止节点所属的环 型网络为所述通信网络中最高父级别的环型网络; Obtaining a ring network topology set in the communication network, the ring network topology set includes the topology of multiple connected ring networks and the ownership relationships of the multiple connected ring networks; wherein , the plurality of connected ring networks include a ring network to which the starting node belongs and a ring network to which the termination node belongs, and the ring network in the plurality of ring networks belongs to the The ring network with the highest parent level among the ring networks connected to the ring network. The ring network to which the starting node belongs or the ring network to which the termination node belongs is the ring network with the highest parent level in the communication network. network;
根据所述多个相接的环型网络的归属关系和所述多个相接的环 型网络的拓朴, 呈现所述通信网络的拓朴。 The topology of the communication network is presented according to the belonging relationships of the plurality of connected ring networks and the topology of the plurality of connected ring networks.
6、 根据权利要求 5所述的网络拓朴呈现方法, 其特征在于, 当网元节点属于所述环型网络的拓朴上的网元节点时,将所述网 元节点和所述环型网络的拓朴上的所有网元节点以环形式呈现; 或 者 6. The network topology presentation method according to claim 5, characterized in that, when a network element node belongs to a network element node on the topology of the ring network, the network element node and the ring type All network element nodes on the network topology are presented in the form of a ring; or
当所述网元节点不属于所述环型网络的拓朴上的网元节点时,将 所述网元节点和所述网元节点下属的所有网元节点以树形式呈现; 或者 When the network element node does not belong to the network element node in the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or
当所述网元节点满足预设条件时,将所述网元节点下属的所有网 元节点云化呈现; When the network element node meets the preset conditions, all network element nodes subordinate to the network element node are presented in the cloud;
所述预设条件包括:归属所述网元节点的源节点数目符合预设的 显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节点 到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节点 的设备类型为指定的设备类型。 The preset conditions include: the number of source nodes belonging to the network element node meets a preset display number threshold, or, the number of hops from all the source nodes that the service path passes through the network element node to the network element node. and satisfy the preset hop count threshold, or, the device type of the network element node is a specified device type.
7、 一种业务路径计算装置, 应用于通信网络中, 所述通信网络 包括起始节点和终止节点, 其特征在于, 包括: 至少一个处理器、 存储器、 通信接口和总线, 所述至少一个处理器、 所述存储器和所 述通信接口通过所述总线连接并完成相互间的通信; 7. A service path calculation device, applied in a communication network, the communication network Including a start node and a termination node, characterized in that it includes: at least one processor, a memory, a communication interface and a bus, and the at least one processor, the memory and the communication interface are connected to each other through the bus and complete the communication between them. Communication;
所述处理器, 用于执行存储在存储器中的可执行程序代码, 具体 的用于执行以下操作: The processor is used to execute executable program codes stored in the memory, and is specifically used to perform the following operations:
所述处理器, 用于获取所述通信网络的网络拓朴信息; 根据所述 网络拓朴信息, 获取所述通信网络的环型网络集合; 其中, 所述环 型网络集合包括多个相接的环型网络, 其中, 所述多个相接的环型 网络包括所述起始节点所属的环型网络和所述终止节点所属的环型 网络; 确定所述多个环型网络的归属关系; 其中, 所述多个环型网 络中的环型网络归属于与所述环型网络相接的环型网络中最高父级 别的环型网络, 所述起始节点所属的环型网络或者所述终止节点所 属的环型网络为所述通信网络中最高父级别的环型网络; 根据所述 环型网络集合和所述归属关系, 获取所述起始节点与所述终止节点 之间的业务路径。 The processor is configured to obtain network topology information of the communication network; obtain a ring network set of the communication network according to the network topology information; wherein the ring network set includes multiple connected A ring network, wherein the plurality of connected ring networks include a ring network to which the starting node belongs and a ring network to which the termination node belongs; determining the ownership relationship of the plurality of ring networks ; Wherein, the ring network among the plurality of ring networks belongs to the ring network with the highest parent level among the ring networks connected to the ring network, and the ring network to which the starting node belongs or the ring network to which the starting node belongs The ring network to which the termination node belongs is the ring network with the highest parent level in the communication network; according to the ring network set and the belonging relationship, the business between the start node and the termination node is obtained path.
8、 根据权利要求 7所述的业务路径计算装置, 其特征在于, 所述处理器, 还用于根据所述网络拓朴信息, 选取所述通信网络 的支路节点集合; 其中, 所述支路节点集合中包含多个支路节点, 所述支路节点为链路数大于等于 3的节点; 根据所述网络拓朴信息, 获取每个所述支路节点对应的环型网络子集; 其中, 所述支路节点 对应的环型网络子集包括包含所述支路节点的环型网络; 根据每个 所述支路节点对应的环型网络子集, 通过去除冗余的环型网络和去 除相交的环型网络, 以使获得所述环型网络集合。 8. The service path calculation device according to claim 7, wherein the processor is further configured to select a set of branch nodes of the communication network according to the network topology information; wherein, the branch The road node set contains multiple branch nodes, and the branch nodes are nodes with a number of links greater than or equal to 3; according to the network topology information, obtain a ring network subset corresponding to each branch node; Wherein, the ring network subset corresponding to the branch node includes a ring network including the branch node; according to the ring network subset corresponding to each branch node, by removing redundant ring networks and remove intersecting ring networks to obtain the set of ring networks.
9、 根据权利要求 7或 8所述的业务路径计算装置, 其特征在于, 所述处理器, 还用于根据所述环型网络集合和所述归属关系, 获 取所述起始节点和所述终止节点之间的最短路径。 9. The service path calculation device according to claim 7 or 8, characterized in that the processor is further configured to obtain the starting node and the attribution relationship according to the ring network set and the belonging relationship. The shortest path between terminating nodes.
10、 根据权利要求 7-9中任一项所述的业务路径计算装置, 其特 征在于, 10. The service path calculation device according to any one of claims 7-9, characterized in that,
所述处理器, 还用于根据所述环型网络集合和所述归属关系, 呈 现所述通信网络。 The processor is also configured to present a Now the communication network.
1 1、 一种网络拓朴呈现装置, 应用于通信网络中, 所述通信网络 包括起始节点和终止节点, 其特征在于, 包括: 至少一个处理器、 存储器、 通信接口和总线, 所述至少一个处理器、 所述存储器和所 述通信接口通过所述总线连接并完成相互间的通信; 1 1. A network topology presentation device used in a communication network. The communication network includes a start node and a termination node. It is characterized in that it includes: at least one processor, memory, communication interface and bus, the at least A processor, the memory and the communication interface are connected through the bus and communicate with each other;
所述处理器, 用于执行存储在存储器中的可执行程序代码, 具体 的用于执行以下操作: The processor is used to execute executable program codes stored in the memory, and is specifically used to perform the following operations:
所述处理器, 用于获取所述通信网络中的环型网络拓朴集合, 所 述环型网络拓朴集合包括多个相接的环型网络的拓朴和所述多个相 接的环型网络的归属关系; 其中, 所述多个相接的环型网络包括所 述起始节点所属的环型网络和所述终止节点所属的环型网络, 所述 多个环型网络中的环型网络归属于与所述环型网络相接的环型网络 中最高父级别的环型网络, 所述起始节点所属的环型网络或者所述 终止节点所属的环型网络为所述通信网络中最高父级别的环型网 络; 根据所述多个相接的环型网络的归属关系和所述多个相接的环 型网络的拓朴, 呈现所述通信网络的拓朴。 The processor is configured to obtain a ring network topology set in the communication network. The ring network topology set includes the topology of multiple connected ring networks and the multiple connected ring networks. The ownership relationship of the ring network; wherein, the plurality of connected ring networks include the ring network to which the starting node belongs and the ring network to which the termination node belongs, and the rings in the plurality of ring networks The ring network belongs to the ring network with the highest parent level among the ring networks connected to the ring network, and the ring network to which the starting node belongs or the ring network to which the termination node belongs is the communication network The ring network with the highest parent level in
12、 根据权利要求 1 1所述的网络拓朴呈现装置, 其特征在于, 当网元节点属于所述环型网络的拓朴上的网元节点时,将所述网 元节点和所述环型网络的拓朴上的所有网元节点以环形式呈现; 或 者 12. The network topology presentation device according to claim 11, characterized in that when a network element node belongs to a network element node on the topology of the ring network, the network element node and the ring All network element nodes on the network topology are presented in the form of a ring; or
当所述网元节点不属于所述环型网络的拓朴上的网元节点时,将 所述网元节点和所述网元节点下属的所有网元节点以树形式呈现; 或者 When the network element node does not belong to the network element node in the topology of the ring network, the network element node and all network element nodes subordinate to the network element node are presented in a tree form; or
当所述网元节点满足预设条件时,将所述网元节点下属的所有网 元节点云化呈现; When the network element node meets the preset conditions, all network element nodes subordinate to the network element node are presented in the cloud;
所述预设条件包括:归属所述网元节点的源节点数目符合预设的 显示数目 阈值, 或, 业务路径经过所述网元节点的所有所述源节点 到所述网元节点的跳数和满足预设的跳数阈值, 或, 所述网元节点 的设备类型为指定的设备类型。 The preset conditions include: the number of source nodes belonging to the network element node meets a preset display number threshold, or, the number of hops from all the source nodes that the service path passes through the network element node to the network element node. and satisfy the preset hop count threshold, or, the device type of the network element node is a specified device type.
PCT/CN2013/078469 2013-06-28 2013-06-28 Service path calculating method and device WO2014205820A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380000517.4A CN105264833B (en) 2013-06-28 2013-06-28 A kind of service path calculation method and device
PCT/CN2013/078469 WO2014205820A1 (en) 2013-06-28 2013-06-28 Service path calculating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078469 WO2014205820A1 (en) 2013-06-28 2013-06-28 Service path calculating method and device

Publications (1)

Publication Number Publication Date
WO2014205820A1 true WO2014205820A1 (en) 2014-12-31

Family

ID=52140892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078469 WO2014205820A1 (en) 2013-06-28 2013-06-28 Service path calculating method and device

Country Status (2)

Country Link
CN (1) CN105264833B (en)
WO (1) WO2014205820A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919973B (en) * 2016-10-08 2020-06-26 华为技术有限公司 Method and apparatus for configuring network device parameters
CN107919972B (en) * 2016-10-09 2022-04-05 中兴通讯股份有限公司 Method and device for acquiring ring system affiliation of physical port
CN109936484B (en) * 2017-12-15 2020-10-13 中国移动通信集团浙江有限公司 Method and device for identifying network structure risk
CN109905666B (en) * 2019-02-15 2020-06-12 惠州市智云科技有限公司 Image processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1589724A2 (en) * 2004-04-23 2005-10-26 Agilent Technologies, Inc. Packet switched network
CN101106506A (en) * 2006-07-10 2008-01-16 研华股份有限公司 Network information exchange method
CN101170373A (en) * 2007-11-27 2008-04-30 上海自动化仪表股份有限公司 Clock synchronization realization method for loop network
WO2012103817A1 (en) * 2011-02-03 2012-08-09 Huawei Technologies Co., Ltd. Asymmetric ring topology for reduced latency in on-chip ring networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330141C (en) * 2004-01-09 2007-08-01 华为技术有限公司 Optical network route selecting method
CN101227248B (en) * 2008-01-29 2011-05-25 中兴通讯股份有限公司 Method for establishing business path
US9450778B2 (en) * 2009-02-25 2016-09-20 Telefonaktiebolaget Lm Ericsson (Publ) P2MP traffic protection in MPLS-TP ring topology
CN102143410B (en) * 2010-07-09 2013-09-11 华为技术有限公司 Path computing method and unit in optical network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1589724A2 (en) * 2004-04-23 2005-10-26 Agilent Technologies, Inc. Packet switched network
CN101106506A (en) * 2006-07-10 2008-01-16 研华股份有限公司 Network information exchange method
CN101170373A (en) * 2007-11-27 2008-04-30 上海自动化仪表股份有限公司 Clock synchronization realization method for loop network
WO2012103817A1 (en) * 2011-02-03 2012-08-09 Huawei Technologies Co., Ltd. Asymmetric ring topology for reduced latency in on-chip ring networks

Also Published As

Publication number Publication date
CN105264833A (en) 2016-01-20
CN105264833B (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN108965141B (en) Method and device for calculating multipath routing tree
WO2014205820A1 (en) Service path calculating method and device
WO2015106618A1 (en) Resource scheduling method and apparatus
WO2012134537A1 (en) Network topology discovery
CN108809847A (en) Realize the method, apparatus and network system of load balancing
CN106031104B (en) Retransmission method, device and the equipment of data message
CN103634214B (en) A kind of routing iinformation generation method and device
CN106452915B (en) Method and device for discovering MPLS VPN network topology
CN103888359A (en) Route calculation method and network device
CN103209125A (en) Label information transmission method and device
CN105207905B (en) Route selection method and device
CN103716236A (en) Route calculation method based on IS-IS protocol and equipment
CN104579976B (en) The generation method and device of link-state protocol data packet
CN103179014B (en) The processing method of LLDP message and device
CN116389241A (en) Local area network switch configuration method and device
CN101795227B (en) Method and system for rapidly finding router
JP2013175912A (en) Communication system, path controller, path control method, and path control program
RU2569573C1 (en) Method and apparatus for forming peer-to-peer service
WO2019001101A1 (en) Routing path analysis method and device
CN110875829A (en) Method and device for dividing interior gateway protocol area in network
WO2014146576A1 (en) Method and device for detecting available bandwidth of ptn link
CN104468356B (en) A kind of message forwarding method of more destination nodes
CN106936710A (en) A kind of Mesh Group collocation methods and device
JP5201051B2 (en) Connection state estimation program, connection state estimation device, and connection state estimation method
JP2017168880A (en) Cost setting device, method and program

Legal Events

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

Ref document number: 201380000517.4

Country of ref document: CN

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

Ref document number: 13888384

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

Country of ref document: EP

Kind code of ref document: A1