This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2011-146346, filed on Jun. 30, 2011, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a path search to accommodate a circuit in a transmission network.
When accommodating a circuit in a transmission network formed by multiplexed transmission lines, selection of a multiplexed transmission line to accommodate the circuit, in other words a demand, is referred to as a circuit capacity design. As a related-art method of circuit capacity design, there is a method of generating a logical topology that uses a multiplexed transmission line, which has free bandwidth, as a link, and finding a path that accommodates the demand in the logical topology.
In this regard, a communication system that includes a plurality of communication node devices and establishes communication paths by exchanging messages among the plurality of communication node devices is known. In the system, before establishing paths, a path's identifier, which permits or inhibits use of the path's resources, is determined, and the paths are established with a control message that includes determined identification information. In a communication node unit whose paths have been established, a determination of whether or not to use resources of a path is made based on the identification information in the control message. When an event occurs, such as occurrence of a breakdown, occurrence or cessation of resources being used, and so on, it may be possible to perform change processing on path priority so as to change the priority in order to use resources most efficiently.
In addition, a method of processing for network topology/link-capacity design is known. In this method, data including at least a node position, a traffic exchange matrix, a routing method, and a value γ, which specifies an arbitrary upper limit of a link's use rate at normal times, are used as restriction conditions. An input processing unit receives input of a number of links L disposed among all the nodes, and a given number of links k (<L) in addition to the restriction conditions. When a design processing unit keeps a use rate of each link at normal times to the specified value γ or less and calculates a network topology and a link capacity that attempts to minimize the total network cost, the restriction conditions are that the design processing unit limits links to k upper-ranked links having a high traffic volume, and maintains connectivity among all the nodes even if a single failure occurs in each of the remaining L-k links. Under these restriction conditions, the design processing unit calculates a net topology and a link capacity with consideration given to rerouting traffic when there is a single link failure of each link.
An optical communication network that divides a working path into partial paths and manages the partial paths is known. The optical communication network includes a function of detecting a failure of each of the partial paths, a function of notifying a failure detection result for each of the partial paths to a node that performs switching management, and a function of switching based on a detour path determined by the switching management node for each partial path in advance, wherein a monitoring end node of a partial path, which performs monitoring, and a switching end node of a recovery path are different.
A network in which an upper node that has received a link state advertisement (LSA) packet holds off on update of the own topology information for a given time period is known. The upper node does not immediately update the node's own topology information when a network failure occurs, but holds off on update for a certain period of time in expectation of quick recovery of a lower network, and thereby route calculation that would be invalid may be avoided.
Related-art techniques have been disclosed in International Publication Pamphlet No. WO 2008/044646, Japanese Laid-open Patent Publication No. 2009-118201, Japanese Laid-open Patent Publication No. 2003-258851, and Japanese Laid-open Patent Publication No. 2003-258904.
According to an aspect of the invention, a computer-readable recording medium having stored therein a program for causing a computer to execute a process includes accepting a start node and finish node that are both terminuses for a circuit that is to be accommodated in a transmission network that includes a plurality of transmission lines, selecting, from the plurality of transmission lines, a transmission line whose arrangement order of arranging a plurality of nodes on the transmission line in an order of an indicated direction determined for the transmission line is the same as an order of the plurality of nodes determined in accordance with a cost order of the shortest path from a node at a terminus of the circuit to the plurality of nodes, and searching for a path from the circuit's start node to the circuit's finish node via the selected transmission line in the order of the indicated direction.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
When using a method of a related-art circuit capacity design, the same circuit is sometimes redundantly accommodated in a plurality of transmission lines in the same section.
A circuit L1 having the nodes N1 and N5 as a start point and an end point, respectively, is accommodated in individual multiplexed transmission lines P1, P2 and P3. The transmission line P1 is a multiplexed transmission line established among the nodes N1 to N4, the transmission line P2 is a multiplexed transmission line established among the nodes N3 to N4, and the transmission line P is a multiplexed transmission line established among the nodes N3 to N5.
As illustrated in
An object of the disclosed apparatus and method is to avoid redundantly accommodating the same circuit in a plurality of transmission lines in the same section.
In the following, a description is given of preferable embodiments with reference to the accompanying drawings.
The path search apparatus 1 may be achieved by a single computer unit, or may be achieved by a computer system in which a plurality of computer units collaborate through a network. The hardware configuration illustrated in
The processor 2 runs the path search program 10 stored in the auxiliary storage unit 4 so as to perform circuit-capacity-design processing to accommodate a demand, in other words a circuit that is to be accommodated, in a transmission network. In this regard, a transmission network that is to be a target of circuit capacity design in the present embodiment may be a transmission network formed by a plurality of time division multiplexing (TDM) transmission lines. In a certain embodiment, a network, which transmits by replacing a TDM transmission line with a wavelength division multiplexing (WDM) technique, may be a target of the circuit capacity design. In fiber-optic communications, WDM is a technology which multiplexes a number of optical carrier signals onto a single optical fiber by using different wavelengths of laser light. In addition, the auxiliary storage unit 4 may include a nonvolatile memory, a read only memory (ROM), a hard disk, and so on, as a storage element.
The memory 3 stores a program being executed by the processor 2 and data that is temporarily used by the program. The memory 3 may include a random access memory (RAM). The input unit 5 is an input unit that accepts an input operation by a user. The input unit 5 may be, for example, a keypad, a keyboard, a pointing device, a touch panel, or so on.
The output unit 6 is an output device that outputs a result of circuit capacity design by the path search apparatus 1. For example, the output unit 6 may be a display device that visibly displays the result of the circuit capacity design. The output unit 6 may be, for example, a liquid crystal display, a cathode ray tube (CRT) display, or an organic electroluminescence display.
The removable-media reading unit 7 is an input unit that reads data stored in a computer-readable portable recording medium. The removable-media reading unit 7 may be, for example, a CD-ROM drive, a DVD-ROM drive, a floppy-disk drive, a CD-R drive, a DVD-R drive, a magneto-optical (MO) disc drive unit, or an access unit for flash memory.
The network interface 8 exchanges various kinds of data with a network, such as a local area network (LAN), the Internet, and so on, and may receive programs to be installed in the auxiliary storage unit 4. The network interface 8 may output a result of circuit capacity design through a network.
In the present embodiment, the path search program 10 may be stored in a computer readable portable recording medium and distributed, and then may be installed in the auxiliary storage unit 4 from the removable-media reading unit 7. In another embodiment, path search program 10 may be installed in the auxiliary storage unit 4 through the network and the network interface 8. In the path search apparatus 1, hardware, such as the processor 2, the memory 3, the auxiliary storage unit 4, and so on, and an OS and path search program 10 cooperate organically so as to achieve various functions described below.
In a certain embodiment, the path search apparatus 1 may be achieved as a network design apparatus that carries out circuit capacity design of a demand, which is scheduled to be accommodated in a transmission network, when the transmission network isn't operating. In another embodiment, the path search apparatus 1 may be achieved as a network control device that establishes a path for a demand by controlling setting of a network unit on the transmission network if the demand occurs while the transmission network is operating.
The network control device 23 transmits and receives control signals with each network unit 21 through, for example, a LAN 24. When a demand occurs, the network control device 23 accepts input of demand information that includes a demand bandwidth, which is to be accommodated in the transmission network 20, and a start node and an end node of the demand. The network control device 23 searches for a path to accommodate the demand, and changes the setting of the main-signal processing unit 22 of the network unit 21 for the determined path so as to establish the demand.
The design-information accepting unit 30 accepts demand information that is input through any one of the input unit 5, the removable-media reading unit 7, or the network interface 8. The demand information may include, for example, a start node and an end node of a demand, and a demand bandwidth. The input demand information is stored in the auxiliary storage unit 4 as a part of the design information 11.
In the following, a description will be given of processing with circuit capacity design that accommodates a demand that has the nodes N1 and N5 as a start node and an end node, respectively, in the transmission network illustrated in
The minimum-cost determination unit 31 carries out a shortest path search with the end node of the demand as a start point and each node on a physical topology as an end point on a physical topology in which exchange stations and physical connections on the transmission network correspond to nodes and links, respectively. The minimum-cost determination unit 31 determines a minimum cost from the end node to the individual nodes of the demand.
Referring to
The transmission-line selection unit 33 selects a TDM transmission line, from the TDM transmission lines disposed in the transmission network, as a target of path search for a path to accommodate a demand. In the following description, a TDM transmission line is expressed simply as a “transmission line”. The transmission lines disposed in the transmission network are specified by transmission line information and route information that are stored in the auxiliary storage unit 4 as the design information 11.
For example, transmission line P1 has the nodes N1 and N4 as start node and end node, respectively, and free capacity is 30 Mb/s. For example, the transmission line P2 has the nodes N3 and N4 as start node and end node, respectively, and free capacity is 20 Mb/s. A transmission line capable of transmitting a main signal bidirectionally may have transmission line information that defines a pair of transmission lines having transmission directions opposite to each other. For example, transmission lines P1 and P10 may have transmission line information that defines bidirectional transmission lines disposed between the nodes N1 and N4, which are both end-points. This is the same for transmission lines P2 and P11, transmission lines P3 and P12, transmission lines P4 and P13, transmission lines P5 and P14, transmission lines P6 and P15, transmission lines P7 and P16, transmission lines P8 and P17, and transmission lines P9 and P18.
For example, transmission line P3 is a transmission line having the nodes N3 and N5 as a start node and an end node, respectively, and arranging transmission line P3's nodes N3, N4 and N5 in the arrangement order that the indicated direction of transmission line P3 indicates gives the order of the nodes as N3, N4 and N5. Further, for example, transmission line P12 is a transmission line having the nodes N5 and N3 as a start node and an end node, respectively, and arranging transmission line P12's nodes N3, N4 and N5 in the indicated direction of the transmission line P12 gives the order of the nodes as N5, N4 and N3.
The link-direction determination unit 40 performs exception processing that determines the link direction for a link that includes the start node N1 in the demand. With a link that includes the start node N1 in the demand, a direction from the start node N1 to the other end's node is assumed to be forward. The link-direction determination unit 40 generates link direction information that identifies a determined link direction for each link, and stores the link direction information into the auxiliary storage unit 4.
Referring to
In a certain embodiment, for each transmission line specified in the transmission line information, the selection unit 41 generates a list of links that are included in the transmission line. Then, for each link included in a transmission line, the selection unit 41 determines whether or not the link's direction as specified in the link direction information matches the transmission line's indicated direction. With reference to
As illustrated in
With reference to
The indicated direction of the transmission line P10 is the direction from the node N4 to the node N3, the direction from the node N3 to the node N2, and the direction from the node N2 to the node N1. However, link directions of the link having the nodes N1 and N2 as both ends, the link having the nodes N2 and N3 as both ends, and the link having the nodes N3 and N4 as both ends are each opposite to the indicated direction. Accordingly, a value “FALSE” indicating that the direction of the transmission line does not match the direction of the link is added to each link included in the list.
The selection unit 41 selects, from the transmission lines specified in the transmission line information, only transmission lines that have the same arrangement order when arranging nodes on the transmission line in the indicated direction as the order among a plurality of nodes determined in accordance with the shortest distance from the demand's end node to the plurality of nodes. In a certain embodiment, of all the links included in the transmission line, the selection unit 41 selects only transmission lines whose indicated direction matches the link direction. For example, as illustrated in
Referring to
The path search unit 34 searches for a path to accommodate the demand, in other words searches for the shortest path from the start node to the end node of the demand on the logical topology, which is formed by the transmission lines P1 to P9 selected by the transmission-line selection unit 33. At this time, the path search unit 34 selects only paths that go in the same direction as the indicated direction of the transmission line. For example, in an example of the logical topology illustrated in
An example of a path that accommodates the demand that is searched for by the path search unit 34 is illustrated by a bold solid line on the logical topology in
Next, a description will be given of processing performed by the path search apparatus 1.
In operation AA, the design-information accepting unit 30 accepts input of design information 11, and stores the design information 11 into the auxiliary storage unit 4. If part of the design information 11 is stored in the auxiliary storage unit 4 in advance, input of the design information 11 may be omitted. In operation AB, for each transmission line specified in the transmission line information, the selection-target transmission line determination unit 32 determines whether the transmission line is to be a target of the selection processing, which is performed by the transmission-line selection unit 33.
In operation AC, the minimum-cost determination unit 31 determines the shortest distance from the end node of the demand to each node on the physical topology in the transmission network.
In operation BA, the minimum-cost determination unit 31 selects a node on the physical topology, on which determination processing of the shortest path has not been performed. In operation BB, the minimum-cost determination unit 31 carries out the shortest path search with the demand's end node as the start point, and with the node selected in operation BA as the end point, and determines the shortest distance.
In operation BC, the minimum-cost determination unit 31 records the determined shortest distance information in a table stored in the auxiliary storage unit 4. In operation BD, the minimum-cost determination unit 31 determines whether or not shortest distances have been determined for all the nodes. If shortest distances have been determined for all the nodes (operation BD: Y), the processing is terminated. If there is a node whose shortest distance has not been determined (operation BD: N), the processing returns to operation BA.
Referring to
In operation CA, the link-direction determination unit 40 selects a links on the physical topology, on which link-direction determination processing has not yet been performed. In operation CB, the link-direction determination unit 40 determines whether or not one end node of the selected link is the start node of the demand. If one end node of the selected link is the demand's start node (operation CB: Y), the processing proceeds to operation CD. If neither end node of the selected link is the start node (operation CB: N), the processing proceeds to operation CC.
In operation CC, the link-direction determination unit 40 determines link direction in accordance with the shortest distance from the end node of the demand to both end nodes of the link. After that, the processing proceeds to operation CE. In operation CD, the link-direction determination unit 40 determines the direction from the demand's start node to the other end node of the link to be the link direction. After that, the processing proceeds to operation CE. In operation CE, the link-direction determination unit 40 determines whether or not a direction has been determined for all the links. If direction has been determined for all the links (operation CE: Y), the processing is terminated. If there is a link whose direction has not been determined (operation CE: N), the processing returns to operation CA.
Referring to
In operation AF, the path search unit 34 generates a logical topology formed only by the transmission lines selected by the selection unit 41. In operation AG, the path search unit searches for a path to accommodate the demand in that the path search unit 34 searches for a path from the start node to the end node of the demand through transmission lines that is in order according to the indicated direction on the logical topology. If a path is found (operation AH: Y), the processing proceeds to operation AI. If a path is not found (operation AH: N), a determination is made that there is no path that accommodates the demand, and the processing is terminated.
In operation AI, the path search unit 34 generates a list of transmission lines that the found path uses. In operation AJ, the path search unit 34 outputs a list of transmission lines as a result of the path search.
According to the present embodiment, when searching for a transmission line to accommodate a demand, it is possible to obtain a search result that has no overlapping transmission lines in the same section. In a network that transmits through a TDM transmission line using a WDM technique, part of the WDM optical path is not transformed into an electric signal by an exchange station in partway through the transmission line, and thus an optical signal may pass through directly. In such a network, a physical topology representing a physical connection relationship of physical connections between exchange stations does not match the logical topology of transmission lines on which the path search is performed. Accordingly, in a related-art circuit capacity design, a path is sometimes selected on a plurality of overlapping transmission lines in a same section. In the present embodiment, the order of individual nodes is determined in accordance with the order of minimum cost from the end node of a demand to each node, and the path search is performed from among transmission lines that have the same direction as this order. Accordingly, it is possible both to avoid selecting a path that includes a portion that doubles back and to obtain a search result that has no overlapping transmission lines in a same section.
In this regard, in the above-described embodiment, the minimum-cost determination unit 31 determines a minimum cost from the end node of a demand to individual nodes. In other embodiments, the minimum-cost determination unit 31 may instead determine a minimum cost from the start node of a demand to individual nodes. At this time, the transmission-line selection unit 33 selects as a transmission line on which a path search is performed only a transmission line whose nodes are arranged in the order of an indicated direction that is equal to a node order determined in accordance with the shortest distance from the start node of a demand to individual nodes on the transmission line. In other embodiments described below, modifications may be made such that the minimum-cost determination unit 31 determines a minimum cost from the start node to individual nodes in the same manner.
Next, a description is given of a path search apparatus 1 according to another embodiment. In the present embodiment, the selection-target transmission line determination unit 32 determines targets of the selection processing by the transmission-line selection unit 33 by selecting only a transmission line wherein at least one of the transmission line's start point or end point is coupled to another transmission line. In other embodiments described below, the selection-target transmission line determination unit 32 may determine that a transmission line is a selection target in the same manner.
In operation DA, the selection-target transmission line determination unit 32 selects a transmission line, on which the selection-target transmission line determination processing has not been performed, from the transmission lines specified by the transmission line information. In operation DB, the selection-target transmission line determination unit 32 determines whether or not the transmission line has free bandwidth greater than or equal to a demand bandwidth. If the transmission line has free bandwidth greater than or equal to a demand bandwidth (operation DB: Y), the processing proceeds to operation DC. If the transmission line does not have free bandwidth greater than or equal to a demand bandwidth (operation DB: N), the processing proceeds to operation DE.
In operation DC, the selection-target transmission line determination unit 32 determines whether or not the ends of the transmission line match the start node and the end node of the demand. If the ends of the transmission line match the start node and the end node of the demand (operation DC: Y), the processing proceeds to operation DF. If the ends of the transmission line do not match the start node and the end node of the demand, respectively (operation DC: N), the processing proceeds to operation DD.
In operation DD, the selection-target transmission line determination unit 32 determines whether or not one of the end points of the transmission line matches an end point of another transmission line. If one of the end points of the transmission line matches an end of another transmission line (operation DD: Y), the processing proceeds to operation DF. If neither end of the transmission line matches an end of another transmission line (operation DD: N), the processing proceeds to operation DE.
In operation DE, the selection-target transmission line determination unit 32 excludes the current transmission line from being a target of the selection processing by the transmission-line selection unit 33. In operation DF, the selection-target transmission line determination unit 32 determines whether or not the selection-target transmission line determination processing has been performed for all the transmission lines. If the selection-target transmission line determination processing has been performed for all the transmission lines (operation DF: Y), the processing proceeds to operation DG. If there is a transmission line on which the selection-target transmission line determination processing has not yet been performed (operation DF: N), the processing returns to operation DA. In operation DG, the selection-target transmission line determination unit 32 determines that a transmission line that has been left without having been excluded by operation DE is the selection target.
By the present embodiment, it becomes possible to exclude from the path search processing by the path search unit 34 a transmission line that is isolated from other transmission lines and is not possible to be used to accommodate a demand. Accordingly, by the present embodiment, it becomes possible to reduce memory and processing time that are used for path search.
Next, a description will be given of a path search apparatus 1 according to another embodiment. In the above-described first embodiment, when determining link direction on the physical topology, for a link that includes the start node of a demand, exception processing is performed to specify a direction from the start node to another node as the forward direction. In the present embodiment, when determining a link direction, a value for the start node is set to the shortest distance value of the start node such that a direction from the start node to another terminal node becomes a forward direction.
In operation EA, the minimum-cost determination unit 31 selects a node on the physical topology, on which the shortest-path determination processing has not been performed yet. In operation EB, the minimum-cost determination unit 31 determines whether or not the node is the start node of the demand. If the node is the start node of the demand (operation EB: Y), the processing proceeds to operation EF. If the node is not the start node of the demand (operation EB: N), the processing proceeds to operation EC.
The processing of operation EC and ED is the same as the processing of operation BB and BC illustrated in
In operation EF, the minimum-cost determination unit 31 records a value for the start node, which is a value for node shortest distance. The value for a start node may be, for example, the sum of a positive fixed value and the shortest distance of a farthest node that is obtained when searching for the shortest path, or a value produced by multiplying the shortest distance for the farthest node by a fixed value greater than 1. In addition, the value for the start node may be, for example, the sum of a positive fixed value and the total length of all the links on the physical topology, or a value produced by multiplying the total length by a fixed value greater than 1. Also, the value for the start node may instead be the sum of a positive fixed value and the shortest distance value of a node having a longest shortest distance out of the nodes coupled to the start node by a link, or a value produced by multiplying the longest shortest distance value by a fixed value greater than 1, or a maximum value from numerical calculation determined by software, or so on. After operation EF, the processing proceeds to operation EE.
According to the present embodiment, when determining a link direction on the physical topology, it is possible to omit exception processing of a link that includes a start node of a demand, which is performed in the first embodiment.
Next, a description will be given of a path search apparatus 1 according to another embodiment. In the present embodiment, processing for when shortest distances for nodes at both ends of a link on a physical topology are equal is added. A first option, for a transmission line that includes a link having an equal shortest distance value at both end nodes, is processing that does not select the transmission line to form a logical topology on which the path search is performed. A second option is processing that allows selection of a transmission line that includes a link having an equal shortest distance value at both end nodes when forming a logical topology.
In operation GA, the link-direction determination unit 40 determines whether or not the shortest distance of a first node of the link is greater than the shortest distance of the second node. If the shortest distance of the first node is greater than the shortest distance of the second node (operation GA: Y), the processing proceeds to operation GB. If the shortest distance of the first node is not greater than the shortest distance of the second node (operation GA: N), the processing proceeds to operation GC. In operation GB, the link-direction determination unit 40 determines that the link direction is the direction from the first node to the second node. After operation GB, the processing is terminated.
In operation GC, the link-direction determination unit 40 determines whether or not the shortest distance of the first node of the link is less than the shortest distance of the second node. If the shortest distance of the first node is less than the shortest distance of the second node (operation GC: Y), the processing proceeds to operation GD. If the shortest distance of the first node is not less than the shortest distance of the second node (operation GC: N), the processing proceeds to operation GE. In operation GD, the link-direction determination unit 40 determines that the link direction is the direction from the second node to the first node. After operation GD, the processing is terminated.
With the first option, in operation GE, the link-direction determination unit 40 performs processing to prohibit the selection unit 41 from selecting a transmission line that includes the link. For example, the link-direction determination unit 40 prohibits creation of link direction information on this link. Alternatively, the link-direction determination unit 40 deletes link direction information for this link from the auxiliary storage unit 4. If there is no link direction information for this link, the selection unit 41 does not determine that this link direction matches the indicated direction of the transmission line including this link, and thus the selection unit 41 does not select a transmission line that includes this link.
In processing for the second option, if the shortest distance of the first node is not less than the shortest distance of the second node (operation GC: N), the processing proceeds to operation GF. In operation GF, the link-direction determination unit 40 specifies that the link direction is bidirectional. For example, the link-direction determination unit 40 specifies a value “2” that indicates bidirectional as a value of an information element “direction” of the link direction information. If a link direction is bidirectional, the selection unit 41 determines that the link direction matches the indicated direction of the transmission line regardless of the indicated direction of the transmission line.
Alternatively, for example, the link-direction determination unit 40 may individually generate link direction information for a direction from the first node to the second node and a direction from the second node to the first node.
With the first option, a transmission line going through a link whose nodes have equal minimum cost on the physical topology is excluded from being a path search target, and thus a path that might take a roundabout way is excluded. As a result, the memory and processing used for path search may be decreased. With the second option, the number of transmission lines included in a logical topology, on which path search is carried out, may increase, and thus it may be possible to increase the probability of finding a path search solution.
Next, a description will be given of a path search apparatus 1 according to another embodiment.
The selection unit 41 selects each node from the shortest distance list individual nodes that is not an end node, and compares the shortest distance of the selected node with the shortest distance of the node next to this node on the end point side. If each node has a shortest distance that is greater than the shortest distance of the next node on the end point side, and the shortest distance of each node monotonously decreases in the direction from the start point to the end point, the selection unit 41 selects the corresponding transmission line.
In operation HD, the shortest-distance-list generation unit 43 selects a transmission line, whose shortest distance list has not been generated, from the transmission lines specified in the transmission line information. In operation HE, the node-list generation unit 44 determines the shortest distance list for the transmission line.
In operation HF, the selection unit 41 selects each individual node other than the end node, and compares shortest distances for each pair, consisting of a node and the node adjacent to it on the end point side. In operation HG, the selection unit 41 determines for each pair whether or not the shortest distance of the start-point side node is greater than the shortest distance of the end-point node. If the shortest distance of the start-point side node is greater than the shortest distance of the end-point node for each pair of nodes (operation HG: Y), the processing proceeds to operation HH. If the shortest distance of the start-point side node is not greater than the shortest distance of the end-point node in any pair of nodes (operation HG: N), the processing proceeds to operation HI.
In operation HH, the selection unit 41 selects the transmission line. Afterwards, the processing proceeds to operation HJ. In operation HI, the selection unit 41 does not select the transmission line. Afterwards, the processing proceeds to operation HJ. In operation HJ, the transmission-line selection unit 33 determines whether a shortest distance list has been generated for all the transmission lines. If a shortest distance list has been generated for all the transmission lines (operation HJ: Y), a path search is carried out by the same processing as the processing in operation AF to AJ illustrated in
According to the present embodiment, it is possible to omit creation of the link direction information illustrated in
Next, a description will be given of a path search apparatus 1 according to another embodiment.
The selection unit 41 refers to the node list generated for individual nodes on the transmission line for each transmission line, and determines whether or not a node next to the current node is included in the node list. Here, a “next node” is a node through which the transmission line passes next after the node of interest when going in the indicated direction. That is, the “next node” is a node adjacent to the current node on the end-point side. If a next node is included in the node list for all the nodes on the transmission line, the selection unit 41 selects the transmission line.
In operation ID, the node-list generation unit 44 selects a node for which a node list has not been generated for the nodes on the physical topology. In operation IE, the node-list generation unit 44 generates a node list for the selected node. In operation IF, the node-list generation unit 44 determines whether or not a node list has been generated for all the nodes. If a node list has been generated for all the nodes (operation IF: Y), the processing proceeds to operation IG. If there is a node for which a node list has not been generated (operation IF: N), the processing returns to operation ID.
In operation IG, the selection unit 41 selects a transmission lines for which selection processing has not yet been performed out of the transmission lines specified by the transmission line information. In operation IH, the selection unit 41 determines, for each node on the selected transmission line, whether or not a next node is included in a node list for the node. If a next node is included in the node list for each node in the selected transmission line (operation IH: Y), the processing proceeds to operation II. If a next node is not included in the node list for each node in the selected transmission line (operation IH: N), the processing proceeds to operation IJ.
In operation II, the selection unit 41 selects the transmission line. Afterwards, the processing proceeds to operation IK. In operation IJ, the selection unit 41 does not select the transmission line. Afterwards, the processing proceeds to operation IK. In operation IK, the transmission-line selection unit 33 determines whether or not selection processing has been performed for all the transmission lines. If the selection processing is performed for all the transmission lines (operation IK: Y), path search is carried out with the same processing as the processing in operation AF to AJ illustrated in
In this regard, in the present embodiment, a node list is specified as a list of candidate adjacent nodes, on the end-point side, that the demand going through the individual nodes can go through next. In other embodiments, a list of candidates of adjacent nodes, on the end-point side, that a demand passing through individual nodes is unable to pass through next may be specified instead. In this case, if a next node is not included in the node list for any node on the transmission line, the selection unit 41 selects the transmission line.
According to the present embodiment, it may be possible to omit creation of the link direction information illustrated in
Next, a description will be given of a path search apparatus 1 according to another embodiment. In the above-described first to sixth embodiments, the minimum-cost determination unit 31 has determined shortest distances for individual nodes. In the present embodiment, shortest distances between nodes are obtained for each pair of nodes on the physical topology in advance, and are stored in the auxiliary storage unit 4 as a shortest distance table.
For example, referring to the first row, the shortest distance between the node N1 and the individual nodes N2 to N11 are “1”, “2”, “3”, “4”, “2.5”, “3.5”, “4.5”, “2.5”, “3.5” and “4.5”, respectively. The transmission-line selection unit 33 refers to the shortest distance table, and obtains shortest distance information for each node to be used when selecting a transmission line that forms a logical topology on which path search is carried out.
The shortest distance table is input, for example, through a design-information accepting unit 30, and may be stored in the auxiliary storage unit 4. In this case, the path search apparatus 1 may omit the minimum-cost determination unit 31. Alternatively, when circuit capacity design is repeated, the minimum-cost determination unit 31 may determine the shortest distance table at least once.
According to the present embodiment, when circuit capacity design is repeated, it may be possible to omit repeating the calculation of a minimum cost. Accordingly, it may be possible to reduce time and processing used for circuit capacity design.
Next, a description will be given of a path search apparatus 1 according to another embodiment. In the present embodiment, prior to path search, whether it is possible or not to search for a path that accommodates a demand is determined. If it is not possible to search for a path, a path search is not carried out and the processing is terminated.
In operation JB, the whether-to-search-path-or-not determination unit 35 determines whether or not either end node of the selected transmission line matches the demand's start node. If either end node of the transmission line matches the start node of the demand (operation JB: Y), the processing proceeds to operation JC. If neither of the transmission line's end nodes matches the start node of the demand (operation JB: N), the processing proceeds to operation JD. In operation JC, whether-to-search-path-or-not determination unit 35 includes the transmission line in a start point list. The start point list is a list of transmission lines that have the start node of the demand as an end point.
In operation JD, the whether-to-search-path-or-not determination unit 35 determines whether or not either end node of the selected transmission line matches the end node of the demand. If either end node of the transmission line matches the demand's end node (operation JD: Y), the processing proceeds to operation JE. If neither end node matches the demand's end node (operation JD: N), the processing proceeds to operation JF. In operation JE, the whether-to-search-path-or-not determination unit 35 includes the transmission line in an end point list. The end point list is a list of transmission lines that have the end node of the demand as an end point.
In operation JF, the whether-to-search-path-or-not determination unit 35 determines whether or not the processing in operations JB to JE has been performed for all the transmission lines. If processing for all the transmission lines has been performed (operation JF: Y), the processing proceeds to operation JG. If there is a transmission line for which processing has not been performed (operation JF: N), the processing returns to operation JA.
In operation JG, the whether-to-search-path-or-not determination unit 35 determines whether or not the start point list and the end point list are empty. If at least one of the start point list and the end point list is empty (operation JG: Y), the processing proceeds to operation JH. If neither the start point list nor the end point list is empty (operation JG: N), the processing proceeds to operation JI.
In operation JH, the whether-to-search-path-or-not determination unit 35 determines that path search is not to be performed for the demand. Afterwards, the processing is terminated. In operation JI, the whether-to-search-path-or-not determination unit 35 determines that path search is to be performed for the demand. Afterwards, the processing is terminated.
According to the present embodiment, if there is no apparent path to accommodate a demand, it is possible to stop the search for a path. Accordingly, it may be possible to avoid performing wasteful processing.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-146346 | Jun 2011 | JP | national |