[go: up one dir, main page]

WO2012163015A1 - Method and device for path calculation - Google Patents

Method and device for path calculation Download PDF

Info

Publication number
WO2012163015A1
WO2012163015A1 PCT/CN2011/081024 CN2011081024W WO2012163015A1 WO 2012163015 A1 WO2012163015 A1 WO 2012163015A1 CN 2011081024 W CN2011081024 W CN 2011081024W WO 2012163015 A1 WO2012163015 A1 WO 2012163015A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
lower wavelength
center frequency
interfaces
available center
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2011/081024
Other languages
French (fr)
Chinese (zh)
Inventor
资小兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201180002216.6A priority Critical patent/CN102439886B/en
Priority to PCT/CN2011/081024 priority patent/WO2012163015A1/en
Publication of WO2012163015A1 publication Critical patent/WO2012163015A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0256Optical medium access at the optical channel layer
    • H04J14/0257Wavelength assignment algorithms

Definitions

  • Embodiments of the present invention relate to the field of communications and, more particularly, to methods and apparatus for path computation. Background technique
  • a wavelength division multiplexing network consists of nodes and links, and the two nodes are connected by links. Multiple wavelength channels can be carried in a fiber link, and wavelength channels in different fiber links can be connected by nodes. Therefore, a particular wavelength connection can be connected from the source node to the sink node via one or more fiber links.
  • the wavelength connection can be either unidirectional or bidirectional. Since each fiber link can transmit multiple wavelengths, the transmission capacity is relatively large.
  • the wavelength connection requires the use of spectrum resources in the fiber link, and the available spectrum resources in each fiber link are limited.
  • the available spectrum resources in the fiber link are generally divided into fixed frequency grids, each of which can serve as a wavelength channel.
  • small-granularity and large-grained (such as 10 Gigabits per second (Gbps) and 1 terabits per second (Tbps)) services use wavelength-connected hybrid transmission, fiber links are required.
  • the spectrum resources in the division divide the wavelength channels according to a large spectrum interval, for example, 100 gigahertz (GHz) intervals, to meet the needs of large-granular services.
  • GHz gigahertz
  • usually small granularity services do not require such large spectral spacing. Larger spectral spacing means fewer available wavelength channels, thus reducing the utilization of spectrum resources in the fiber link.
  • the spectrum resources in the fiber link may be divided into wavelength channels without a fixed interval, and the spectrum bandwidth of the wavelength connection may be adjusted according to service requirements.
  • the required spectral bandwidth for each wavelength connection is related to the modulation format of the upper and lower wavelength interfaces at both ends, and the modulation format required for the upper and lower wavelength interfaces is related to the path length, the number of path hops, the type of fiber, and the granularity of the service.
  • Such a wavelength division multiplexing network is a network that supports a flexible grid.
  • the frequency range assigned to a wavelength connection is called a frequency slot
  • the width of the frequency range, that is, the spectrum bandwidth is called a slot width.
  • the embodiment of the invention provides a method and a device for calculating a path, which can automatically acquire topology information of a flexible grid network, thereby automatically determining a path and allocating spectrum resources for the path.
  • a path calculation method including: acquiring an interface number of a wavelength division multiplexing link in a network, an unavailable frequency range of a wavelength division multiplexing link, an interface number of a first upper and lower wavelength interface, and a second The interface number of the upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; based on wavelength division multiplexing The interface number of the link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces determine the path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces; the wavelength division multiplexing chain passing through the path The unavailable frequency range of the path, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, the spectral bandwidth of the first upper and lower wavelength interfaces
  • a path calculation method including: acquiring an interface number of a wavelength division multiplexing link in a network, an available center frequency of a wavelength division multiplexing link, an interface number of a first upper and lower wavelength interface, and a second The interface number of the upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; based on wavelength division multiplexing The interface number of the link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces determine the path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces; the wavelength division multiplexing chain passing through the path The unavailable frequency range of the path, the available center frequency of the WDM link through which the path passes, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces
  • an apparatus for path calculation including: an acquiring unit, configured to acquire an interface number of a wavelength division multiplexing link in a network, an unavailable frequency range of a wavelength division multiplexing link, and a first uplink and downlink wavelength interface. Interface number, the interface number of the second upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, and the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces.
  • Determining a path unit configured to determine an interface number based on the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, and an interface number of the second upper and lower wavelength interfaces to determine between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces a path; an allocation unit, an unusable frequency range, a first upper and lower wavelengths of the wavelength division multiplexing link that passes through the path.
  • the available center frequency of the interface, the available center frequency of the second upper and lower wavelength interfaces, the spectral bandwidth of the first upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path.
  • an apparatus for path calculation including: an acquiring unit, configured to acquire an interface number of a wavelength division multiplexing link in a network, an available center frequency of a wavelength division multiplexing link, and a first upper and lower wavelength interface The interface number, the interface number of the second upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; Determining a path unit, configured to determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces An allocation unit, an unavailable frequency range for the wavelength division multiplexing link that passes through the path, an available center frequency of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper
  • the method and apparatus for path calculation in the embodiment of the present invention can automatically acquire topology information of a flexible grid network, thereby automatically calculating a link path and allocating available spectrum resources to the flexible grid network.
  • FIG. 1 is a flow chart of a method of path computation in accordance with one embodiment of the present invention.
  • FIG. 2 is a flow chart of a method of path computation in accordance with another embodiment of the present invention.
  • Figure 3 is a schematic diagram of the topology of a flexible grid network.
  • FIG. 4 schematically shows the spectral resources of the fiber link.
  • FIGS. 5 through 8 illustrate the available center frequencies for Link 1 through Link 4, respectively.
  • the view of Figure 9 illustrates the spectral bandwidth sub-TLV format.
  • Fig. 10 illustrates the format of the path hopping spectrum bandwidth sub-TLV.
  • FIG. 11 illustrates the format of the path length spectral bandwidth sub-TLV.
  • FIG. 13 is a schematic structural diagram of an apparatus for path calculation according to an embodiment of the present invention.
  • Figure 14 is a block diagram showing the structure of an allocation unit in a device for path calculation according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of an apparatus for path calculation according to another embodiment of the present invention. detailed description
  • a method for path calculation according to an embodiment of the present invention includes:
  • the interface number of the wavelength division multiplexing link in the network the unavailable frequency range of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, the interface number of the second upper and lower wavelength interfaces, and the first upper and lower wavelength interfaces.
  • the link information of a node includes at least one of a local/remote interface number of the node, an available center frequency, and an available frequency range, and a spectrum bandwidth of the upper and lower wavelength interfaces.
  • link state broadcast (LSA, Link State Advertisement) is used to carry the link information
  • OSPF Open Shortest Path First route flooding mechanism is used to distribute the LSA to other nodes.
  • the LSA carries the link TLV (Type/Length/Value).
  • the link TLV carries the local/remote interface number sub-TLV, the available center frequency sub-TLV, and the available frequency range sub-TLV.
  • the topology information of the network can be obtained by collecting the link information of each node advertised by the OSPF route flooding mechanism, and the topology information is saved locally.
  • the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces are determined according to the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces. The path between.
  • the path between the two upper and lower wavelength interfaces is realized by light-electric-light
  • each potential path between the upper and lower wavelength interfaces can be determined. Specifically, the local interface in the link information of each node is connected to the remote interface to determine a path that can connect two upper and lower wavelength interfaces.
  • the spectral bandwidth of the wavelength interface is the path allocation center frequency.
  • the first is based on an unavailable frequency range of each wavelength division multiplexing link in the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, a spectrum bandwidth of the first upper and lower wavelength interfaces, and The spectral bandwidth of the second upper and lower wavelength interfaces determines whether the path has an available center frequency, and then one of these available center frequencies is selected as the center frequency of the path.
  • one of the available center frequencies of the first upper and lower wavelength interfaces and the available center frequency of the second upper and lower wavelength interfaces may be selected first.
  • the frequency range of the path is determined based on the selected available center frequency and the spectral bandwidth of the upper and lower wavelength interfaces.
  • the spectrum bandwidth of the first upper and lower wavelength interfaces is equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, so the spectrum bandwidth of the upper and lower wavelength interfaces is the spectrum bandwidth of the first upper and lower wavelength interfaces.
  • the spectrum bandwidth of the first upper and lower wavelength interfaces is not equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, the spectrum bandwidth of the upper and lower wavelength interfaces is the larger one of the spectrum bandwidth of the first upper and lower wavelength interfaces and the spectrum bandwidth of the second upper and lower wavelength interfaces. . Finally, it is determined whether the frequency range overlaps with the unavailable frequency range of the wavelength division multiplexed link through which the path passes. If there is no overlapping portion, it is determined that the selected available center frequency is the available center frequency of the path.
  • the frequency range is usually defined by its end value, for example, the selected available center frequency is subtracted from half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces is used as the frequency.
  • the end value of the range for example, the selected available center frequency is subtracted from half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces is used as the frequency.
  • the spectrum bandwidth of the upper and lower wavelength interfaces is adjustable according to different path attributes such as path hop count, path length or fiber type. Therefore, when the center frequency is allocated to the path, the spectrum bandwidth of the upper and lower wavelength interfaces is first searched according to the path attribute, and then the center frequency of the path is determined according to the spectrum bandwidth of the upper and lower wavelength interfaces and the available center frequency of the wavelength division multiplexing link.
  • the path calculation method of the embodiment of the present invention can automatically acquire the topology information of the flexible grid network, thereby automatically calculating the link path and allocating available spectrum resources for the flexible grid network.
  • a method for path calculation according to another embodiment of the present invention includes:
  • the path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces is determined based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces.
  • an available center frequency of the wavelength division multiplexing link based on the path an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, a spectrum bandwidth of the first upper and lower wavelength interfaces, and a second upper and lower wavelengths
  • the spectrum bandwidth of the interface is the path allocation center frequency.
  • the available center frequency of the path should be the coincident portion of the available center frequencies of the links through which the path passes.
  • the available center frequency of the first upper and lower wavelength interfaces For example, first, based on the available center frequency of the wavelength division multiplexing link through which the path passes, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the second upper and lower
  • the spectral bandwidth of the wavelength interface determines whether the path has an available center frequency and then selects one of these available center frequencies as the center frequency of the path.
  • one of the available center frequencies of the first upper and lower wavelength interfaces and the available center frequencies of the second upper and lower wavelength interfaces and the available center frequencies of the wavelength division multiplexed links through which the paths pass are selected.
  • Subtracting the selected available center frequency by half of the frequency bandwidth of the upper and lower wavelength interfaces, and selecting the available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces as the end value of the frequency range, and the spectrum of the first upper and lower wavelength interfaces When the bandwidth is equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, the spectrum bandwidth of the upper and lower wavelength interfaces is the spectrum bandwidth of the first upper and lower wavelength interfaces.
  • the spectrum bandwidth of the wavelength interface is the larger one of the spectrum bandwidth of the first upper and lower wavelength interfaces and the spectrum bandwidth of the second upper and lower wavelength interfaces. It is determined whether the frequency range and the unavailable frequency range of the wavelength division multiplexing link through which the path passes have a coincidence portion.
  • the range of unavailable frequencies of the wavelength division multiplexed link through which the path passes may be obtained from the available center frequency of the wavelength division multiplexed link through which the path passes.
  • Wave division The entire frequency range of the link is formed by the available frequency range and the unavailable frequency range in the link, and the available center frequency is the frequency of the interval unit spectral bandwidth in the available frequency range. If there is no coincident portion, it is determined that the selected available center frequency is the available center frequency of the path. Select one of the available center frequencies of the path as the center frequency of the path.
  • Obtaining the spectrum bandwidth of the upper and lower wavelength interfaces further includes obtaining the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, where the path attribute includes the path hop count, the path length, or the fiber type.
  • the path calculation method of the embodiment of the present invention can automatically acquire the topology information of the flexible grid network, thereby automatically calculating the link path and allocating available spectrum resources to the flexible grid network.
  • Figure 3 is a schematic diagram of the topology of a flexible grid network. Taking the network shown in Figure 3 as an example, the automatic acquisition of the topology information of the flexible grid network is described, and the automatic calculation of the path and the allocation of the spectrum resources are realized based on the obtained topology information.
  • the network consists of node A, node B, node C, and node D. Lines between nodes represent fiber links.
  • Interface 1 is an upper and lower wavelength interface of node A
  • interface 6 is an upper and lower wavelength interface of node C.
  • “upper” represents the transmitting end of the wavelength, usually a laser;
  • “lower” represents the receiving end of the wavelength.
  • the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 are interfaces that can transmit and receive wavelengths. For the service direction from interface 1 to interface 6, interface 1 is the upper interface and interface 6 is the lower interface.
  • Figure 4 is a schematic representation of the spectral resources of a fiber optic link.
  • the frequency resource in the fiber link is divided into the center frequency from 193.1 THz, and the center frequency is stepwisely divided into 6.25 GHz units, that is, the division of the spectrum resources in the fiber link is as shown in FIG. 4 .
  • the center frequency can be calculated according to the following formula:
  • f (THz) 193.1 (THz) + ( n * 6.25/1000 ) (THz) ⁇ Equation 1
  • f denotes the center frequency of the fiber link
  • n is an integer
  • Inl denotes the current center frequency distance
  • the center frequency of Inl units (6.25 GHz in this example) exists between the initial center frequency (193.1 THz in this example).
  • the network in this embodiment has four links, namely, link 1 to link 4.
  • link 1 to link 4 are both wavelength division multiplexed links, so multiple wavelength signals can be transmitted simultaneously.
  • 5 to 8 respectively show the available center frequencies of the respective links, wherein the boldly illustrated frequency portion is the unavailable frequency range, and the unavailable frequency range and the available frequency range constitute the entire frequency range of the link.
  • the available center frequencies for link 1 through link 4 are determined as follows: If the frequency range of at least units (eg, 6.25 GHz) on both sides of the center frequency is idle, the center frequency is considered to be the available center frequency.
  • the available center frequency of link 1 corresponds to an integer value of -8 to 0 and an integer of 6 to 12, and the available frequency range of link 1 is n from -9 to 1 and from 5 to The frequency range between 13; the available center frequency of link 2 corresponds to an integer value of -8 to 1, and the available frequency range of link 2 is a frequency range between n and -9 to 2; link 3 The available center frequency corresponds to an integer value of -6 to 2, the available frequency range of link 3 is n from -7 to 3; the available center frequency of link 4 corresponds to an n value of 0. For integers up to 8, the available frequency range for link 4 is a frequency range between n and -1 to 9. It can be seen that the unavailable frequency range of the link can be determined by the available center frequency of the link.
  • interface 1 and interface 6 are upper and lower wavelength interfaces, that is, interface 1 can transmit or receive one wavelength, and interface 6 can transmit or receive one wavelength.
  • the available center frequencies of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 may be fixed or adjustable according to the adopted optical modules, and the spectrum bandwidth required for transmitting or receiving wavelengths may also be fixed or may be Tune.
  • n of the available center frequency of the upper and lower wavelength interfaces 1 is an integer from -30 to 30, and the spectrum bandwidth is 50 GHz; the available center frequency of the upper and lower wavelength interfaces 6 corresponds to n of -10 to 10 The integer between them, the spectrum bandwidth is 50GHz.
  • the path calculation and the spectrum resource allocation can be at the head node of the link or a Path Computation Element (PCE) (for example, a centralized path calculation server in the network, where the nodes in the network can request the PCE to calculate the path and Return the result)
  • PCE Path Computation Element
  • the network topology information can be obtained by using a routing protocol.
  • the first node or the PCE participates in OSPF (Open Shortest Path First) route flooding to collect information about links advertised by other nodes. Get the topology information of the network.
  • OSPF Open Shortest Path First
  • the link information from node A to node D is provided in Tables 1 to 4 below:
  • Node A to Node D use the OSPF route flooding mechanism defined by the OSPF routing protocol to advertise the link information of the respective nodes to other nodes.
  • the Link State Advertisement (LSA) carries its link information, and the OSPF route flooding mechanism is used to advertise the LSA to other nodes.
  • the LSA carries the link TLV (Type/Length/Value), and the link TLV carries at least the local/remote interface number sub-TLV, the available center frequency sub-TLV, and the available frequency range sub-TLV. One, spectrum bandwidth sub-TLV, etc.
  • the local/remote interface number sub-TLV and the available center frequency sub-TLV can be implemented by the sub-TLV defined by the existing OSPF routing protocol, and the spectrum bandwidth sub-TLV needs to be extended by the OSPF routing protocol definition.
  • the information corresponding to the spectrum bandwidth sub-TLV release may not be flooded, but when requesting the calculation path and allocating the spectrum bandwidth, this information still needs to be provided, for example, sent to the PCE by the path computation client (PCC, Path Computation Clients).
  • the spectrum bandwidth is specified in the path calculation request message.
  • Figure 9 shows an example of a spectral bandwidth sub-TLV format.
  • the node or server responsible for path calculation and spectrum resource allocation After obtaining the topology information of the network, the node or server responsible for path calculation and spectrum resource allocation saves the topology information of the network locally, and then uses it to calculate the path and allocate the spectrum resource for the path.
  • the node A obtains the link information of the node 8, the node C, and the node D by using the routing protocol, and adds the link information of the node A itself, thereby obtaining the topology information of the network, that is, the information in Tables 1 to 4. .
  • the following describes in detail how the first node A determines the path between the upper and lower wavelength interfaces and allocates spectrum resources for the determined path based on the spectral bandwidth of the upper and lower wavelength interfaces.
  • node A needs to calculate the paths from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces 6, and allocate spectrum resources for these paths.
  • the node A receives the wavelength connection establishment request from the upper and lower wavelength interface 1 to the upper and lower wavelength interfaces 6 and needs to establish a wavelength connection, or after the node A detects the wavelength connection failure of the upper and lower wavelength interface 1 to the upper and lower wavelength interfaces 6,
  • the node A is triggered to perform path calculation and spectrum resource allocation.
  • the specific calculation process is as follows:
  • Node A uses the Constrained Shorted Path First (CSPF) algorithm to obtain the potential path from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces: a) Node A searches for the link information of the potential path head node (for example, the first node) Is node A, look up the link information of Table 1.) Select an interface from Table 1, for example, interface 2, and then find that the opposite end of interface 2 is interface 3 of node B. Therefore, interface 2 acts as a potential next hop for interface 1. Save it up;
  • CSPF Constrained Shorted Path First
  • Node A continues to search for the link information advertised by the next node (for example, the link information of Table 2 issued by Node B), selects an interface, such as interface 4, and finds that the opposite end of interface 4 is interface 5 of node C, interface 4 is saved as a potential next hop for interface 2 (if interface 3 is selected, the potential path is returned to node A, a loop occurs, so interface 3 is excluded);
  • Node A continues to search for the routing information advertised by the next node (for example, the link information of Table 3 published by the node C), and finds that the upper and lower wavelength interfaces 6 belong to the node C, so that a potential path is successfully calculated, and the first path is obtained, that is, the interface. 2 to interface 3 to interface 4 to interface 5; d) Similarly, if interface 10 is selected as a potential next hop for interface 2 in step a), Then another potential path can be obtained, namely the second path, interface 10 to interface 9 to interface 8 to interface 7.
  • Node A allocates spectrum resources for the calculated two potential paths according to the spectrum bandwidths of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6:
  • the above-mentioned coincident available center frequencies are then intersected with the available center frequencies of all interfaces (links) in the path, and one of the available center frequencies from the intersection is selected as the center frequency;
  • n is the center frequency corresponding to -3;
  • n may be -5, -4,
  • Node A obtains the path from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces 6 and the center frequency.
  • the above path calculation and spectrum resource allocation process can also be implemented in a centralized PCE. At this time, the PCE needs to acquire the topology information of the network, and calculate the path and allocate the spectrum resources according to the above method.
  • the spectrum bandwidth of the upper and lower wavelength interfaces is variable, for example, according to the path genus
  • the spectrum bandwidth corresponding to the path attribute needs to be advertised. That is, path calculation and spectrum resource allocation need to consider the path attribute to find the available center. frequency.
  • the "path hop spectrum bandwidth sub-TLV” defined in Figure 10 can be used to publish the spectrum bandwidth corresponding to the path hop count.
  • “Render” indicates the number of bytes of the static load of this sub-TLV.
  • a 16-bit number is used to indicate the spectrum bandwidth supported by the interface, in GHz.
  • the upper and lower limits of the path hop count indicate the range of path hops to which the spectrum bandwidth applies.
  • the "Path Length Spectrum Bandwidth Sub-TLV” defined in Figure 11 can be used to publish the spectrum bandwidth corresponding to the path length.
  • a 16-bit number is used to indicate the spectral bandwidth supported by the interface, in GHz; the upper and lower limits of the path length indicate the range of path lengths for which the spectrum bandwidth is applicable.
  • the "fiber type spectrum bandwidth sub-TLV” defined in Figure 12 can be used to publish the spectrum bandwidth corresponding to different fiber types.
  • a 16-bit number is used to indicate the spectrum bandwidth supported by the interface, in GHz; the upper and lower limits of the path length indicate the type of fiber to which the spectrum bandwidth applies.
  • the spectrum bandwidth of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 are related to the number of path hops: When the hop count is less than or equal to 5 hops, the spectrum bandwidth is 50 GHz; when the path hop count is greater than 5 hops, the spectrum bandwidth is 100 GHz. Then, node A and node C need to carry the above information by using the "path hopping spectrum bandwidth sub-TLV" defined above, and distribute it to the computing node in the network.
  • the PCE needs to participate in the flooding of the OSPF routes of the network to obtain the topology information advertised by each node.
  • the PCE After the PCE receives the path calculation and the spectrum resource allocation request, and requests to calculate the path from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces 6 and allocates the spectrum resources, the PCE calculates the path by using the CSPF algorithm, and searches for the available center frequency corresponding to the path.
  • the calculation of the path is similar to the previous process, so two potential paths can be obtained: the first path (interface 2 to interface 3 to interface 4 to interface 5) and the second path (interface 10 to interface 9 to interface 8 to interface 7).
  • the hop count of the first path is 3 (after 3 nodes), and the spectrum bandwidth of the upper and lower wavelength interface 1 and the upper and lower wavelength interface 6 corresponding to the hop 3 of the first path is found, and is known as 50 GHz;
  • the above-mentioned coincident available center frequencies are then intersected with the available center frequencies of all interfaces (links) in the path, and one of the available center frequencies from the intersection is selected as the center frequency;
  • Node A selects one of the above available center frequencies to assign to the first path according to a certain policy.
  • the second path has no available center frequency.
  • the path calculation means 130 includes an acquisition unit 131, a determination path unit 132, and an allocation unit 133.
  • the obtaining unit 131 is configured to acquire an interface number of the wavelength division multiplexing link in the network, an unusable frequency range of the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, and an interface number of the second upper and lower wavelength interfaces, The available center frequency of the first upper and lower wavelength interfaces and the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces.
  • the obtaining unit 131 obtains the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, where the path attribute includes the path hop count, the path length, or the fiber type.
  • the determining path unit 132 is configured to determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces. .
  • the allocating unit 133 is configured to use an unavailable frequency range of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, a spectrum bandwidth of the first upper and lower wavelength interfaces, and The spectrum bandwidth of the second upper and lower wavelength interfaces is the path allocation center frequency.
  • the allocation unit 133 further includes a determination module 1331 and a selection module 1332, as shown in FIG. Specifically, the determining module 1331 is configured to use an unavailable frequency range of each wavelength division multiplexing link in the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, and a first upper and lower wavelength interfaces. The spectral bandwidth and the spectral bandwidth of the second upper and lower wavelength interfaces determine whether the path has an available center frequency. Selection module 1332 is used to select one of the available center frequencies of the path as the center frequency of the path.
  • the determining module 1331 is further configured to: select one of available center frequencies of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces; based on the selected available center frequency and the spectral bandwidth of the upper and lower wavelength interfaces Determining the frequency range of the path, wherein the spectrum bandwidth of the upper and lower wavelength interfaces is equal to the spectrum bandwidth of the first upper and lower wavelength interfaces; determining whether the frequency range of the path and the unavailable frequency range of the wavelength division multiplexing link through which the path passes; If there is no coincidence, it is determined that the available available center frequency is the available center frequency of the path.
  • the selected available center frequency is respectively subtracted from half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces is used as the end value of the frequency range to determine the frequency of the path. range.
  • the path calculation means 150 includes an acquisition unit 151, a determination path unit 152, and an allocation unit 153.
  • the obtaining unit 151 is configured to acquire an interface number of the wavelength division multiplexing link in the network, an available center frequency of the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, and an interface number of the second upper and lower wavelength interfaces.
  • the obtaining unit 151 is further configured to obtain a spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, where the path attribute includes a path hop count, a path length, or a fiber type.
  • the determining path unit 152 is configured to determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces. .
  • the allocating unit 153 is configured to use an unavailable frequency range of the wavelength division multiplexing link through which the path passes, an available center frequency of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper and lower wavelength interfaces, and a second upper and lower wavelength interface.
  • the available center frequency, the spectral bandwidth of the first upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path.
  • the allocating unit 153 is further configured to select an available center frequency of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces and an available center frequency of the available center frequency of the wavelength division multiplexed link through which the path passes One; respectively subtracting half of the selected available center frequency from the frequency bandwidth of the upper and lower wavelength interfaces, and selecting the available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces as the end value of the frequency range, wherein the first upper and lower wavelengths When the spectrum bandwidth of the interface is equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, the spectrum bandwidth of the upper and lower wavelength interfaces is the spectrum bandwidth of the first upper and lower wavelength interfaces.
  • the spectrum bandwidth of the first upper and lower wavelength interfaces is not equal to the spectrum bandwidth of the second upper and lower wavelength interfaces.
  • the spectrum bandwidth of the upper and lower wavelength interfaces is the larger one of the spectrum bandwidth of the first upper and lower wavelength interfaces and the spectrum bandwidth of the second upper and lower wavelength interfaces; determining the frequency range and the unavailable frequency range of the wavelength division multiplexing link through which the path passes Whether there is a coincident part; if there is no weight Part, determines the selected path available center frequencies available center frequencies; available center frequencies in a selected path as the path of the center frequency.
  • the range of unavailable frequencies of the wavelength division multiplexed link through which the path passes is determined according to the available center frequency of the wavelength division multiplexed link through which the path passes.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential to the prior art or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

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

Abstract

Provided in embodiments of the present invention are a method and device for path calculation. On the basis of the embodiments of the present invention, the method for path calculation comprises: determining a path between a first add-drop wavelength interface and a second add-drop wavelength interface on the basis of an interface number of a wavelength-division multiplexing link, of an interface number of the first wavelength add-drop interface, and of an interface number of the second wavelength add-drop interface; and allotting a center frequency for the path on the basis of an unavailable frequency range of the wavelength-division multiplexing link through which the path passes, of an available center frequency of the first add-drop wavelength interface, of an available center frequency of the second add-drop wavelength interface, of a spectrum bandwidth of the first add-drop wavelength interface, and of a spectrum bandwidth of the second add-drop wavelength interface. The present invention allows for automated acquisition of the topology information of a flexible grid network, thereby automatically calculating the link path and allotting available spectrum resources for the flexible grid network.

Description

路径计算的方法及装置 技术领域  Path calculation method and device

本发明实施例涉及通信领域, 并且更具体地, 涉及路径计算的方法及装 置。 背景技术  Embodiments of the present invention relate to the field of communications and, more particularly, to methods and apparatus for path computation. Background technique

波分复用网络由节点和链路组成, 两个节点之间由链路连接起来。 在一 条光纤链路中可以承载多个波长通道, 不同光纤链路中的波长通道可以由节 点连接起来。 因此, 一个特定的波长连接, 可以从源节点经过一条或多条光 纤链路, 连接到宿节点。 波长连接可以是单向的, 也可以是双向的。 由于每 条光纤链路都可以传送多个波长, 因此传送容量比较大。  A wavelength division multiplexing network consists of nodes and links, and the two nodes are connected by links. Multiple wavelength channels can be carried in a fiber link, and wavelength channels in different fiber links can be connected by nodes. Therefore, a particular wavelength connection can be connected from the source node to the sink node via one or more fiber links. The wavelength connection can be either unidirectional or bidirectional. Since each fiber link can transmit multiple wavelengths, the transmission capacity is relatively large.

波长连接需要占用光纤链路中的频谱资源,每条光纤链路中可用的频谱 资源有限。 一般把光纤链路中的可用频谱资源划分固定间隔的频率栅格 ( grid ), 每个栅格可以作为一个波长通道。 但是, 这种方式的缺点是, 在小 粒度和大粒度(如 10千兆比特每秒(Gbps )和 1太比特每秒(Tbps ) )的业务 利用波长连接混合传送时, 需要把光纤链路中的频谱资源按照较大的频谱间 隔划分波长通道, 例如 100吉赫兹(GHz ) 间隔, 以满足大粒度业务的需要。 然而, 通常小粒度业务并不需要这么大的频谱间隔。 频谱间隔大, 则意味着 可用的波长通道较少, 因此降低了光纤链路中的频谱资源的利用率。  The wavelength connection requires the use of spectrum resources in the fiber link, and the available spectrum resources in each fiber link are limited. The available spectrum resources in the fiber link are generally divided into fixed frequency grids, each of which can serve as a wavelength channel. However, the disadvantage of this approach is that when small-granularity and large-grained (such as 10 Gigabits per second (Gbps) and 1 terabits per second (Tbps)) services use wavelength-connected hybrid transmission, fiber links are required. The spectrum resources in the division divide the wavelength channels according to a large spectrum interval, for example, 100 gigahertz (GHz) intervals, to meet the needs of large-granular services. However, usually small granularity services do not require such large spectral spacing. Larger spectral spacing means fewer available wavelength channels, thus reducing the utilization of spectrum resources in the fiber link.

为了提高波分复用网络的频谱资源利用率,光纤链路中的频谱资源可以 不固定间隔来划分波长通道, 而是根据业务需要来调整波长连接的频谱带 宽。 每个波长连接所需要的频谱带宽与两端的上下波长接口的调制格式相 关, 而上下波长接口所需的调制格式与路径长度、 路径跳数、 光纤类型以及 业务的粒度等相关。 这样的波分复用网络就是支持灵活栅格( flexible grid ) 的网络。 通常, 在灵活栅格网络中, 分配给一个波长连接独享的频率范围称 为频隙(frequency slot ), 而该频率范围的宽度即频谱带宽, 则称为频隙带宽 ( slot width )。  In order to improve the spectrum resource utilization of the wavelength division multiplexing network, the spectrum resources in the fiber link may be divided into wavelength channels without a fixed interval, and the spectrum bandwidth of the wavelength connection may be adjusted according to service requirements. The required spectral bandwidth for each wavelength connection is related to the modulation format of the upper and lower wavelength interfaces at both ends, and the modulation format required for the upper and lower wavelength interfaces is related to the path length, the number of path hops, the type of fiber, and the granularity of the service. Such a wavelength division multiplexing network is a network that supports a flexible grid. Generally, in a flexible grid network, the frequency range assigned to a wavelength connection is called a frequency slot, and the width of the frequency range, that is, the spectrum bandwidth, is called a slot width.

但是, 到目前为止, 还没有完整的方案来自动获取这种灵活栅格网络的 拓朴信息, 从而无法自动计算路径并分配频谱资源。 发明内容 However, so far, there is no complete solution to automatically obtain the topology information of this flexible grid network, so that the path cannot be automatically calculated and the spectrum resources are allocated. Summary of the invention

本发明实施例提供一种路径计算的方法及装置, 能够实现灵活栅格网络 的拓朴信息的自动获取, 进而自动确定路径并为路径分配频谱资源。  The embodiment of the invention provides a method and a device for calculating a path, which can automatically acquire topology information of a flexible grid network, thereby automatically determining a path and allocating spectrum resources for the path.

一方面, 提供了一种路径计算的方法, 包括: 获取网络中波分复用链路 的接口编号、 波分复用链路的不可用频率范围、 第一上下波长接口的接口编 号、 第二上下波长接口的接口编号、 第一上下波长接口的可用中心频率以及 第一上下波长接口的频谱带宽、第二上下波长接口的可用中心频率以及第二 上下波长接口的频谱带宽; 基于波分复用链路的接口编号、 第一上下波长接 口的接口编号、第二上下波长接口的接口编号确定第一上下波长接口与第二 上下波长接口之间的路径;基于该路径经过的波分复用链路的不可用频率范 围、第一上下波长接口的可用中心频率、第二上下波长接口的可用中心频率、 第一上下波长接口的频谱带宽以及第二上下波长接口的频谱带宽为该路径 分配中心频率 ( central frequency )。  In one aspect, a path calculation method is provided, including: acquiring an interface number of a wavelength division multiplexing link in a network, an unavailable frequency range of a wavelength division multiplexing link, an interface number of a first upper and lower wavelength interface, and a second The interface number of the upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; based on wavelength division multiplexing The interface number of the link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces determine the path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces; the wavelength division multiplexing chain passing through the path The unavailable frequency range of the path, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, the spectral bandwidth of the first upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces allocate the center frequency for the path (central frequency).

又一方面, 提供了一种路径计算的方法, 包括: 获取网络中波分复用链 路的接口编号、 波分复用链路的可用中心频率、 第一上下波长接口的接口编 号、 第二上下波长接口的接口编号、 第一上下波长接口的可用中心频率以及 第一上下波长接口的频谱带宽、第二上下波长接口的可用中心频率以及第二 上下波长接口的频谱带宽; 基于波分复用链路的接口编号、 第一上下波长接 口的接口编号、第二上下波长接口的接口编号确定第一上下波长接口与第二 上下波长接口之间的路径;基于该路径经过的波分复用链路的不可用频率范 围、 该路径经过的波分复用链路的可用中心频率、 第一上下波长接口的可用 中心频率、 第二上下波长接口的可用中心频率、 第一上下波长接口的频谱带 宽以及第二上下波长接口的频谱带宽为该路径分配中心频率。  In another aspect, a path calculation method is provided, including: acquiring an interface number of a wavelength division multiplexing link in a network, an available center frequency of a wavelength division multiplexing link, an interface number of a first upper and lower wavelength interface, and a second The interface number of the upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; based on wavelength division multiplexing The interface number of the link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces determine the path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces; the wavelength division multiplexing chain passing through the path The unavailable frequency range of the path, the available center frequency of the WDM link through which the path passes, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectral bandwidth of the first upper and lower wavelength interfaces And the spectral bandwidth of the second upper and lower wavelength interfaces allocates a center frequency to the path.

另一方面, 提供了一种路径计算的装置, 包括: 获取单元, 用于获取网 络中波分复用链路的接口编号、 波分复用链路的不可用频率范围、 第一上下 波长接口的接口编号、 第二上下波长接口的接口编号、 第一上下波长接口的 可用中心频率以及第一上下波长接口的频谱带宽、第二上下波长接口的可用 中心频率以及第二上下波长接口的频谱带宽; 确定路径单元, 用于基于波分 复用链路的接口编号、 第一上下波长接口的接口编号、 第二上下波长接口的 接口编号确定第一上下波长接口与第二上下波长接口之间的路径; 分配单 元, 用于基于该路径经过的波分复用链路的不可用频率范围、 第一上下波长 接口的可用中心频率、 第二上下波长接口的可用中心频率、 第一上下波长接 口的频谱带宽以及第二上下波长接口的频谱带宽为该路径分配中心频率。 In another aspect, an apparatus for path calculation is provided, including: an acquiring unit, configured to acquire an interface number of a wavelength division multiplexing link in a network, an unavailable frequency range of a wavelength division multiplexing link, and a first uplink and downlink wavelength interface. Interface number, the interface number of the second upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, and the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces. Determining a path unit, configured to determine an interface number based on the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, and an interface number of the second upper and lower wavelength interfaces to determine between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces a path; an allocation unit, an unusable frequency range, a first upper and lower wavelengths of the wavelength division multiplexing link that passes through the path The available center frequency of the interface, the available center frequency of the second upper and lower wavelength interfaces, the spectral bandwidth of the first upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path.

再一方面, 提供了一种路径计算的装置, 包括: 获取单元, 用于获取网 络中波分复用链路的接口编号、 波分复用链路的可用中心频率、 第一上下波 长接口的接口编号、 第二上下波长接口的接口编号、 第一上下波长接口的可 用中心频率以及第一上下波长接口的频谱带宽、第二上下波长接口的可用中 心频率以及第二上下波长接口的频谱带宽; 确定路径单元, 用于基于波分复 用链路的接口编号、 第一上下波长接口的接口编号、 第二上下波长接口的接 口编号确定第一上下波长接口与第二上下波长接口之间的路径; 分配单元, 用于基于该路径经过的波分复用链路的不可用频率范围、该路径经过的波分 复用链路的可用中心频率、 第一上下波长接口的可用中心频率、 第二上下波 长接口的可用中心频率、第一上下波长接口的频谱带宽以及第二上下波长接 口的频谱带宽为该路径分配中心频率。  In another aspect, an apparatus for path calculation is provided, including: an acquiring unit, configured to acquire an interface number of a wavelength division multiplexing link in a network, an available center frequency of a wavelength division multiplexing link, and a first upper and lower wavelength interface The interface number, the interface number of the second upper and lower wavelength interfaces, the available center frequency of the first upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; Determining a path unit, configured to determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces An allocation unit, an unavailable frequency range for the wavelength division multiplexing link that passes through the path, an available center frequency of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper and lower wavelength interfaces, and a second The available center frequency of the upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the second upper and lower Long interfaces center frequency spectrum bandwidth allocation for the path.

本发明实施例的路径计算的方法及装置可以实现灵活栅格网络的拓朴 信息的自动获取,从而自动计算链路路径并为该灵活栅格网络分配可用的频 谱资源。 附图说明  The method and apparatus for path calculation in the embodiment of the present invention can automatically acquire topology information of a flexible grid network, thereby automatically calculating a link path and allocating available spectrum resources to the flexible grid network. DRAWINGS

为了更清楚地说明本发明实施例的技术方案, 下面将对实施例或现有技 术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings.

图 1是根据本发明一个实施例的路径计算的方法的流程图。  1 is a flow chart of a method of path computation in accordance with one embodiment of the present invention.

图 2是根据本发明另一实施例的路径计算的方法的流程图。  2 is a flow chart of a method of path computation in accordance with another embodiment of the present invention.

图 3是灵活栅格网络的拓朴结构示意图。  Figure 3 is a schematic diagram of the topology of a flexible grid network.

图 4的视图示意性地示出了光纤链路的频谱资源。  The view of Figure 4 schematically shows the spectral resources of the fiber link.

图 5至图 8的视图分别例示出了链路 1至链路 4的可用中心频率。 图 9的视图例示出了频谱带宽子 TLV格式。  The views of Figures 5 through 8 illustrate the available center frequencies for Link 1 through Link 4, respectively. The view of Figure 9 illustrates the spectral bandwidth sub-TLV format.

图 10的视图例示出了路径跳数频谱带宽子 TLV的格式。  The view of Fig. 10 illustrates the format of the path hopping spectrum bandwidth sub-TLV.

图 11的视图例示出了路径长度频谱带宽子 TLV的格式。  The view of Figure 11 illustrates the format of the path length spectral bandwidth sub-TLV.

图 12的视图例示出了光纤类型频谱带宽子 TLV的格式。 图 13是根据本发明一个实施例的路径计算的装置的结构示意图。 The view of Figure 12 illustrates the format of a fiber type spectrum bandwidth sub-TLV. FIG. 13 is a schematic structural diagram of an apparatus for path calculation according to an embodiment of the present invention.

图 14是根据本发明一个实施例的路径计算的装置中分配单元的结构示 意图。  Figure 14 is a block diagram showing the structure of an allocation unit in a device for path calculation according to an embodiment of the present invention.

图 15是根据本发明另一实施例的路径计算的装置的结构示意图。 具体实施方式  FIG. 15 is a schematic structural diagram of an apparatus for path calculation according to another embodiment of the present invention. detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.

以下将结合图 1至图 12详细描述根据本发明实施例的路径计算的方法。 参见图 1 , 根据本发明一个实施例的路径计算的方法包括:  A method of path calculation according to an embodiment of the present invention will be described in detail below with reference to FIGS. 1 through 12. Referring to FIG. 1, a method for path calculation according to an embodiment of the present invention includes:

11 , 获取网络中波分复用链路的接口编号、 波分复用链路的不可用频率 范围、 第一上下波长接口的接口编号、 第二上下波长接口的接口编号、 第一 上下波长接口的可用中心频率以及第一上下波长接口的频谱带宽、第二上下 波长接口的可用中心频率以及第二上下波长接口的频谱带宽。  Obtaining the interface number of the wavelength division multiplexing link in the network, the unavailable frequency range of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, the interface number of the second upper and lower wavelength interfaces, and the first upper and lower wavelength interfaces. The available center frequency and the spectral bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces.

对于网络中的各个节点, 其均知道各自的链路信息。 但是为了确定上下 波长接口之间的路径并为其分配频谱资源, 需要在首节点或者路径计算服务 器中收集所有节点的链路信息, 从而自动获取网络的上述信息。 一般而言, 节点的链路信息包括该节点的本端 /远端接口编号、可用中心频率和可用频率 范围中的至少一个, 以及上下波长接口的频谱带宽。  For each node in the network, it knows its own link information. However, in order to determine the path between the upper and lower wavelength interfaces and allocate spectrum resources to them, it is necessary to collect link information of all nodes in the first node or the path calculation server, thereby automatically obtaining the above information of the network. In general, the link information of a node includes at least one of a local/remote interface number of the node, an available center frequency, and an available frequency range, and a spectrum bandwidth of the upper and lower wavelength interfaces.

对于各节点, 利用链路状态广播( LSA , Link State Advertisement )携带 其链路信息, 并利用开放最短通路优先( OSPF, Open Shortest Path First )路 由洪泛机制将 LSA发布到其他节点。 其中 LSA中携带链路 TLV (类型 /长度 /值, Type/Length/Value ) , 例如链路 TLV中携带本端 /远端接口编号子 TLV、 可用中心频率子 TLV和可用频率范围子 TLV中至少一个、 频谱带宽子 TLV 等等。 针对首节点或路径计算服务器, 通过收集由 OSPF路由洪泛机制发布 的各节点的链路信息, 可以得到网络的拓朴信息, 并将该拓朴信息保存在本 地。  For each node, link state broadcast (LSA, Link State Advertisement) is used to carry the link information, and the open shortest path first (OSPF, Open Shortest Path First) route flooding mechanism is used to distribute the LSA to other nodes. The LSA carries the link TLV (Type/Length/Value). For example, the link TLV carries the local/remote interface number sub-TLV, the available center frequency sub-TLV, and the available frequency range sub-TLV. One, spectrum bandwidth sub-TLV, and so on. For the first node or the path calculation server, the topology information of the network can be obtained by collecting the link information of each node advertised by the OSPF route flooding mechanism, and the topology information is saved locally.

12, 基于波分复用链路的接口编号、 第一上下波长接口的接口编号、 第 二上下波长接口的接口编号确定第一上下波长接口与第二上下波长接口之 间的路径。 The first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces are determined according to the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces. The path between.

两 个 上 下 波长接 口 之 间 的 路径 实 现 的 是光 - 电 - 光 The path between the two upper and lower wavelength interfaces is realized by light-electric-light

( Optical-Electrical-Optical ) 的过程。 在获取了网络的拓朴信息之后, 通过 逐节点查找链路信息, 可以确定上下波长接口之间的各条潜在路径。 具体而 言, 将各个节点的链路信息中的本端接口与远端接口连接, 确定能将两个上 下波长接口连接起来的路径。 (Optical-Electrical-Optical) process. After obtaining the topology information of the network, by searching the link information node by node, each potential path between the upper and lower wavelength interfaces can be determined. Specifically, the local interface in the link information of each node is connected to the remote interface to determine a path that can connect two upper and lower wavelength interfaces.

13 , 基于路径经过的波分复用链路的不可用频率范围、 第一上下波长接 口的可用中心频率、 第二上下波长接口的可用中心频率、 第一上下波长接口 的频谱带宽以及第二上下波长接口的频谱带宽为路径分配中心频率。  13 . The unavailable frequency range of the wavelength division multiplexing link based on the path, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the second upper and lower The spectral bandwidth of the wavelength interface is the path allocation center frequency.

具体而言, 首先基于路径中各个波分复用链路的不可用频率范围、 第一 上下波长接口的可用中心频率、 第二上下波长接口的可用中心频率、 第一上 下波长接口的频谱带宽以及第二上下波长接口的频谱带宽确定路径是否具 有可用中心频率, 然后从这些可用中心频率中选取一个作为该路径的中心频 率。  Specifically, the first is based on an unavailable frequency range of each wavelength division multiplexing link in the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, a spectrum bandwidth of the first upper and lower wavelength interfaces, and The spectral bandwidth of the second upper and lower wavelength interfaces determines whether the path has an available center frequency, and then one of these available center frequencies is selected as the center frequency of the path.

例如, 为了判断路径是否具有可用中心频率, 可先选取第一上下波长接 口的可用中心频率与第二上下波长接口的可用中心频率相重合的可用中心 频率中的一个。再基于所选取的可用中心频率以及上下波长接口的频谱带宽 确定路径的频率范围。 一般地, 第一上下波长接口的频谱带宽等于第二上下 波长接口的频谱带宽,所以上下波长接口的频谱带宽是第一上下波长接口的 频谱带宽。如果第一上下波长接口的频谱带宽不等于第二上下波长接口的频 谱带宽时, 上下波长接口的频谱带宽是第一上下波长接口的频谱带宽以及第 二上下波长接口的频谱带宽中较大的一个。 最后, 判断频率范围与路径经过 的波分复用链路的不可用频率范围是否有重合的部分, 如果没有重合的部 分, 则确定所选取的可用中心频率为路径的可用中心频率。  For example, to determine if the path has an available center frequency, one of the available center frequencies of the first upper and lower wavelength interfaces and the available center frequency of the second upper and lower wavelength interfaces may be selected first. The frequency range of the path is determined based on the selected available center frequency and the spectral bandwidth of the upper and lower wavelength interfaces. Generally, the spectrum bandwidth of the first upper and lower wavelength interfaces is equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, so the spectrum bandwidth of the upper and lower wavelength interfaces is the spectrum bandwidth of the first upper and lower wavelength interfaces. If the spectrum bandwidth of the first upper and lower wavelength interfaces is not equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, the spectrum bandwidth of the upper and lower wavelength interfaces is the larger one of the spectrum bandwidth of the first upper and lower wavelength interfaces and the spectrum bandwidth of the second upper and lower wavelength interfaces. . Finally, it is determined whether the frequency range overlaps with the unavailable frequency range of the wavelength division multiplexed link through which the path passes. If there is no overlapping portion, it is determined that the selected available center frequency is the available center frequency of the path.

一般而言, 频率范围通常由其端值限定, 例如将所选取的可用中心频率 减去上下波长接口的频率带宽的一半, 以及选取的可用中心频率加上上下波 长接口的频率带宽的一半作为频率范围的端值。  In general, the frequency range is usually defined by its end value, for example, the selected available center frequency is subtracted from half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces is used as the frequency. The end value of the range.

然而, 上下波长接口的频谱带宽依据路径跳数、 路径长度或者光纤类型 等不同的路径属性是可调的。 因此, 在为路径分配中心频率时, 需要先根据 路径属性查找上下波长接口的频谱带宽,再根据该上下波长接口的频谱带宽 以及波分复用链路的可用中心频率确定该路径的中心频率。 通过本发明实施例的路径计算的方法可以实现灵活栅格网络的拓朴信 息的自动获取,从而自动计算链路路径并为该灵活栅格网络分配可用的频谱 资源。 However, the spectrum bandwidth of the upper and lower wavelength interfaces is adjustable according to different path attributes such as path hop count, path length or fiber type. Therefore, when the center frequency is allocated to the path, the spectrum bandwidth of the upper and lower wavelength interfaces is first searched according to the path attribute, and then the center frequency of the path is determined according to the spectrum bandwidth of the upper and lower wavelength interfaces and the available center frequency of the wavelength division multiplexing link. The path calculation method of the embodiment of the present invention can automatically acquire the topology information of the flexible grid network, thereby automatically calculating the link path and allocating available spectrum resources for the flexible grid network.

参见图 2, 根据本发明另一实施例的路径计算的方法包括:  Referring to FIG. 2, a method for path calculation according to another embodiment of the present invention includes:

21 , 获取网络中波分复用链路的接口编号、 波分复用链路的可用中心频 率、 第一上下波长接口的接口编号、 第二上下波长接口的接口编号、 第一上 下波长接口的可用中心频率以及第一上下波长接口的频谱带宽、第二上下波 长接口的可用中心频率以及第二上下波长接口的频谱带宽。  21. Obtain an interface number of a wavelength division multiplexing link in the network, an available center frequency of the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, an interface number of the second upper and lower wavelength interfaces, and an interface of the first upper and lower wavelength interfaces. The available center frequency and the spectral bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces.

22, 基于波分复用链路的接口编号、 第一上下波长接口的接口编号、 第 二上下波长接口的接口编号确定第一上下波长接口与第二上下波长接口之 间的路径。  22. The path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces is determined based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces.

23 , 基于路径经过的波分复用链路的可用中心频率、 第一上下波长接口 的可用中心频率、 第二上下波长接口的可用中心频率、 第一上下波长接口的 频谱带宽以及第二上下波长接口的频谱带宽为路径分配中心频率。  23, an available center frequency of the wavelength division multiplexing link based on the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, a spectrum bandwidth of the first upper and lower wavelength interfaces, and a second upper and lower wavelengths The spectrum bandwidth of the interface is the path allocation center frequency.

由于路径中通常具有多条链路, 因此路径的可用中心频率应是该路径经 过的链路的可用中心频率的重合部分。  Since there are usually multiple links in the path, the available center frequency of the path should be the coincident portion of the available center frequencies of the links through which the path passes.

例如, 首先基于路径经过的波分复用链路的可用中心频率、 第一上下波 长接口的可用中心频率、 第二上下波长接口的可用中心频率、 第一上下波长 接口的频谱带宽以及第二上下波长接口的频谱带宽确定路径是否具有可用 中心频率, 然后从这些可用中心频率中选取一个作为该路径的中心频率。  For example, first, based on the available center frequency of the wavelength division multiplexing link through which the path passes, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the second upper and lower The spectral bandwidth of the wavelength interface determines whether the path has an available center frequency and then selects one of these available center frequencies as the center frequency of the path.

具体而言,选取第一上下波长接口的可用中心频率与第二上下波长接口 的可用中心频率以及路径经过的波分复用链路的可用中心频率相重合的可 用中心频率中的一个。分别将所选取的可用中心频率减去上下波长接口的频 率带宽的一半, 以及选取的可用中心频率加上上下波长接口的频率带宽的一 半作为频率范围的端值,在第一上下波长接口的频谱带宽等于第二上下波长 接口的频谱带宽时, 上下波长接口的频谱带宽是第一上下波长接口的频谱带 宽, 若第一上下波长接口的频谱带宽不等于第二上下波长接口的频谱带宽 时, 上下波长接口的频谱带宽是第一上下波长接口的频谱带宽以及第二上下 波长接口的频谱带宽中较大的一个。判断频率范围与路径经过的波分复用链 路的不可用频率范围是否有重合的部分。 通常, 路径经过的波分复用链路的 不可用频率范围可由路径经过的波分复用链路的可用中心频率获得。 波分复 用链路中可用频率范围与不可用频率范围形成链路的整个频率范围, 可用中 心频率是可用频率范围中间隔单位频谱带宽的频点。 如果没有重合的部分, 则确定所选取的可用中心频率为路径的可用中心频率。选取路径的可用中心 频率中的一个作为路径的中心频率。 Specifically, one of the available center frequencies of the first upper and lower wavelength interfaces and the available center frequencies of the second upper and lower wavelength interfaces and the available center frequencies of the wavelength division multiplexed links through which the paths pass are selected. Subtracting the selected available center frequency by half of the frequency bandwidth of the upper and lower wavelength interfaces, and selecting the available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces as the end value of the frequency range, and the spectrum of the first upper and lower wavelength interfaces When the bandwidth is equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, the spectrum bandwidth of the upper and lower wavelength interfaces is the spectrum bandwidth of the first upper and lower wavelength interfaces. If the spectrum bandwidth of the first upper and lower wavelength interfaces is not equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, The spectrum bandwidth of the wavelength interface is the larger one of the spectrum bandwidth of the first upper and lower wavelength interfaces and the spectrum bandwidth of the second upper and lower wavelength interfaces. It is determined whether the frequency range and the unavailable frequency range of the wavelength division multiplexing link through which the path passes have a coincidence portion. In general, the range of unavailable frequencies of the wavelength division multiplexed link through which the path passes may be obtained from the available center frequency of the wavelength division multiplexed link through which the path passes. Wave division The entire frequency range of the link is formed by the available frequency range and the unavailable frequency range in the link, and the available center frequency is the frequency of the interval unit spectral bandwidth in the available frequency range. If there is no coincident portion, it is determined that the selected available center frequency is the available center frequency of the path. Select one of the available center frequencies of the path as the center frequency of the path.

获取上下波长接口的频谱带宽还包括根据路径属性获得上下波长接口 的频谱带宽, 其中路径属性包括路径跳数、 路径长度或者光纤类型。  Obtaining the spectrum bandwidth of the upper and lower wavelength interfaces further includes obtaining the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, where the path attribute includes the path hop count, the path length, or the fiber type.

通过本发明实施例的路径计算的方法可以实现灵活栅格网络的拓朴信 息的自动获取,从而自动计算链路路径并为该灵活栅格网络分配可用的频谱 资源。  The path calculation method of the embodiment of the present invention can automatically acquire the topology information of the flexible grid network, thereby automatically calculating the link path and allocating available spectrum resources to the flexible grid network.

下面将结合图 3至图 12详细描述根据本发明具体实施例的路径计算的 方法。  A method of path calculation according to an embodiment of the present invention will be described in detail below with reference to Figs.

图 3是灵活栅格网络的拓朴结构示意图。 以图 3所示的网络为例, 说明灵 活栅格网络的拓朴信息的自动获取, 并基于所获得的拓朴信息实现路径的自 动计算及频谱资源的分配。  Figure 3 is a schematic diagram of the topology of a flexible grid network. Taking the network shown in Figure 3 as an example, the automatic acquisition of the topology information of the flexible grid network is described, and the automatic calculation of the path and the allocation of the spectrum resources are realized based on the obtained topology information.

在图 3中, 网络由节点 A、 节点 B、 节点 C和节点 D组成。 各个节点间的线 条表示光纤链路。 接口 1是节点 A的一个上下波长接口, 接口 6是节点 C的一 个上下波长接口。这里, "上"代表波长的发送端,通常是一个激光器; "下" 代表波长的接收端。上下波长接口 1与上下波长接口 6是指可以发送以及接收 波长的接口。 对于从接口 1至接口 6的业务方向而言, 接口 1是上接口, 接口 6 是下接口。  In Figure 3, the network consists of node A, node B, node C, and node D. Lines between nodes represent fiber links. Interface 1 is an upper and lower wavelength interface of node A, and interface 6 is an upper and lower wavelength interface of node C. Here, "upper" represents the transmitting end of the wavelength, usually a laser; "lower" represents the receiving end of the wavelength. The upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 are interfaces that can transmit and receive wavelengths. For the service direction from interface 1 to interface 6, interface 1 is the upper interface and interface 6 is the lower interface.

图 4示意性地表示了光纤链路的频谱资源。 其中以光纤链路中的频谱资 源从 193.1THz开始划分中心频率为例, 分别向两边以 6.25GHz为单位步进地 划分中心频率, 即光纤链路中的频谱资源的划分如图 4所示。  Figure 4 is a schematic representation of the spectral resources of a fiber optic link. For example, the frequency resource in the fiber link is divided into the center frequency from 193.1 THz, and the center frequency is stepwisely divided into 6.25 GHz units, that is, the division of the spectrum resources in the fiber link is as shown in FIG. 4 .

由此, 中心频率可以按照以下公式计算:  Thus, the center frequency can be calculated according to the following formula:

f (THz) = 193.1 (THz) + ( n * 6.25/1000 ) (THz) ··· ···公式 1 其中, f表示光纤链路的中心频率; n为整数, Inl表示当前的中心频率距 离初始中心频率(在本例中为 193.1THz )之间存在 Inl个单位的中心频率(在 本例中为 6.25GHz )。  f (THz) = 193.1 (THz) + ( n * 6.25/1000 ) (THz) ······ Equation 1 where f denotes the center frequency of the fiber link; n is an integer, and Inl denotes the current center frequency distance The center frequency of Inl units (6.25 GHz in this example) exists between the initial center frequency (193.1 THz in this example).

具体而言, 在图 4中, n=0对应的中心频率为 193.1THz; n=7对应的中心 频率为 193.14375THz; n=-8对应的中心频率为 193.05THz。  Specifically, in Fig. 4, the center frequency corresponding to n=0 is 193.1 THz; the center frequency corresponding to n=7 is 193.14375 THz; and the center frequency corresponding to n=-8 is 193.05 THz.

如图 3所示, 在本具体实施例中的网络有 4条链路, 即链路 1至链路 4。 例 如, 链路 1至链路 4均是波分复用链路, 因此可以同时传送多个波长信号。 图 5至图 8分别示出了各链路的可用中心频率,其中加粗示意的频率部分 是不可用频率范围, 该不可用频率范围与可用频率范围构成了链路的整个频 率范围。 链路 1至链路 4的可用中心频率的判断方式如下: 如果中心频率两边 至少有单位(例如, 6.25 GHz ) 的频率范围是空闲的, 就认为该中心频率是 可用中心频率。 由图 5至图 8可知, 链路 1的可用中心频率对应的 n值为 -8至 0 和 6至 12中的整数, 链路 1的可用频率范围是 n从 -9至 1以及从 5至 13之间的频 率范围; 链路 2的可用中心频率对应的 n值为 -8至 1中的整数, 链路 2的可用频 率范围是 n从 -9至 2之间的频率范围;链路 3的可用中心频率对应的 n值为 -6至 2 中的整数, 链路 3的可用频率范围是 n从 -7至 3之间的频率范围; 链路 4的可用 中心频率对应的 n值为 0至 8中的整数, 链路 4的可用频率范围是 n从- 1至 9之间 的频率范围。 由此可见, 通过链路的可用中心频率就可以确定链路的不可用 频率范围。 As shown in FIG. 3, the network in this embodiment has four links, namely, link 1 to link 4. example For example, link 1 to link 4 are both wavelength division multiplexed links, so multiple wavelength signals can be transmitted simultaneously. 5 to 8 respectively show the available center frequencies of the respective links, wherein the boldly illustrated frequency portion is the unavailable frequency range, and the unavailable frequency range and the available frequency range constitute the entire frequency range of the link. The available center frequencies for link 1 through link 4 are determined as follows: If the frequency range of at least units (eg, 6.25 GHz) on both sides of the center frequency is idle, the center frequency is considered to be the available center frequency. 5 to 8, the available center frequency of link 1 corresponds to an integer value of -8 to 0 and an integer of 6 to 12, and the available frequency range of link 1 is n from -9 to 1 and from 5 to The frequency range between 13; the available center frequency of link 2 corresponds to an integer value of -8 to 1, and the available frequency range of link 2 is a frequency range between n and -9 to 2; link 3 The available center frequency corresponds to an integer value of -6 to 2, the available frequency range of link 3 is n from -7 to 3; the available center frequency of link 4 corresponds to an n value of 0. For integers up to 8, the available frequency range for link 4 is a frequency range between n and -1 to 9. It can be seen that the unavailable frequency range of the link can be determined by the available center frequency of the link.

参见图 3 , 接口 1和接口 6是上下波长接口, 即接口 1可以发送或接收一个 波长, 接口 6可以发送或接收一个波长。 根据采用的光模块的不同, 上下波 长接口 1和上下波长接口 6的可用中心频率可以是固定的或者是可调的,且其 发送或接收波长所需的频谱带宽也可以是固定的或者是可调的。  Referring to Figure 3, interface 1 and interface 6 are upper and lower wavelength interfaces, that is, interface 1 can transmit or receive one wavelength, and interface 6 can transmit or receive one wavelength. The available center frequencies of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 may be fixed or adjustable according to the adopted optical modules, and the spectrum bandwidth required for transmitting or receiving wavelengths may also be fixed or may be Tune.

在本具体实施例中, 假设上下波长接口 1的可用中心频率对应的 n为 -30 至 30中的整数, 频谱带宽是 50GHz; 上下波长接口 6的可用中心频率对应的 n 为 -10至 10之间的整数, 频谱带宽是 50GHz。  In this embodiment, it is assumed that n of the available center frequency of the upper and lower wavelength interfaces 1 is an integer from -30 to 30, and the spectrum bandwidth is 50 GHz; the available center frequency of the upper and lower wavelength interfaces 6 corresponds to n of -10 to 10 The integer between them, the spectrum bandwidth is 50GHz.

由于路径计算及频谱资源分配可以在链路的首节点或者是路径计算单 元(PCE, Path Computation Element ) (例如, 网络中的一个集中式路径计算 服务器, 其中网络中的节点可以请求 PCE计算路径并返回结果)执行, 此时 需要在网络的首节点或者 PCE中保存网络的拓朴信息。 网络拓朴信息的获 取可以用路由协议来实现,例如首节点或 PCE参与开放最短通路优先( OSPF, Open Shortest Path First )路由洪泛( flooding ), 以便收集其他节点发布的链 路的信息, 从而获取网络的拓朴信息。  Since the path calculation and the spectrum resource allocation can be at the head node of the link or a Path Computation Element (PCE) (for example, a centralized path calculation server in the network, where the nodes in the network can request the PCE to calculate the path and Return the result) Execution, you need to save the topology information of the network in the first node of the network or PCE. The network topology information can be obtained by using a routing protocol. For example, the first node or the PCE participates in OSPF (Open Shortest Path First) route flooding to collect information about links advertised by other nodes. Get the topology information of the network.

以下表 1至表 4分别提供了节点 A至节点 D的链路信息:  The link information from node A to node D is provided in Tables 1 to 4 below:

表 1 节点 A的链路信息  Table 1 Link information of node A

本端接口编号 对端接口编号 可用中心频率 (n值) 可用频率范围 频谱带宽Local interface number Peer interface number Available center frequency (n value) Available frequency range Spectrum bandwidth

1 -30 ~ 30 50GHz 2 3 -8~0, 6~12 -9~1, 5~131 -30 ~ 30 50GHz 2 3 -8~0, 6~12 -9~1, 5~13

10 9 0~8 -1~9 10 9 0~8 -1~9

表 2 节点 B的链路信息  Table 2 Link information of Node B

本端接口编号 对端接口编号 可用中心频率 (n值) 可用频率范围 频谱带宽Local interface number Peer interface number Available center frequency (n value) Available frequency range Spectrum bandwidth

3 2 -8~0, 6~12 -9~1, 5~13 3 2 -8~0, 6~12 -9~1, 5~13

4 5 -8~1 -9~2  4 5 -8~1 -9~2

表 3 节点 C的链路信息  Table 3 Link information of node C

本端接口编号 对端接口编号 可用中心频率 (n值) 可用频率范围 频谱带宽Local interface number Peer interface number Available center frequency (n value) Available frequency range Spectrum bandwidth

6 -10-10 50GHz6 -10-10 50GHz

5 4 -8~1 -9~2 5 4 -8~1 -9~2

7 8 -6~2 -7~3  7 8 -6~2 -7~3

表 4 节点 D的链路信息  Table 4 Link information of node D

本端接口编号 对端接口编号 可用中心频率 (n值) 可用频率范围 频谱带宽Local interface number Peer interface number Available center frequency (n value) Available frequency range Spectrum bandwidth

8 7 -6~2 -7~3 8 7 -6~2 -7~3

9 10 0~8 -1~9 具体而言,节点 A至节点 D利用 OSPF路由协议定义的 OSPF路由洪泛机制 将各自节点的链路信息发布给其他节点。 例如, 针对首节点 A, 利用链路状 态广播(LSA, Link State Advertisement)携带其链路信息, 并利用 OSPF路 由洪泛机制将 LSA发布到其他节点。 其中 LSA中携带链路 TLV (类型 /长度 / 值, Type/Length/Value), 链路 TLV中携带本端 /远端接口编号子 TLV、 可用中 心频率子 TLV和可用频率范围子 TLV中的至少一个、 频谱带宽子 TLV等。 其 中, 本端 /远端接口编号子 TLV和可用中心频率子 TLV可以用现有的 OSPF路 由协议定义的子 TLV实现,而频谱带宽子 TLV则需要扩展的 OSPF路由协议定 义。 此外, 频谱带宽子 TLV发布对应的信息也可以不洪泛, 但是在请求计算 路径并分配频谱带宽时, 仍然需要提供这个信息, 例如通过路径计算客户 ( PCC, Path Computation Clients )在向 PCE发送的路径计算请求消息中指定 频谱带宽。  9 10 0~8 -1~9 Specifically, Node A to Node D use the OSPF route flooding mechanism defined by the OSPF routing protocol to advertise the link information of the respective nodes to other nodes. For example, for the first node A, the Link State Advertisement (LSA) carries its link information, and the OSPF route flooding mechanism is used to advertise the LSA to other nodes. The LSA carries the link TLV (Type/Length/Value), and the link TLV carries at least the local/remote interface number sub-TLV, the available center frequency sub-TLV, and the available frequency range sub-TLV. One, spectrum bandwidth sub-TLV, etc. The local/remote interface number sub-TLV and the available center frequency sub-TLV can be implemented by the sub-TLV defined by the existing OSPF routing protocol, and the spectrum bandwidth sub-TLV needs to be extended by the OSPF routing protocol definition. In addition, the information corresponding to the spectrum bandwidth sub-TLV release may not be flooded, but when requesting the calculation path and allocating the spectrum bandwidth, this information still needs to be provided, for example, sent to the PCE by the path computation client (PCC, Path Computation Clients). The spectrum bandwidth is specified in the path calculation request message.

图 9示出了频谱带宽子 TLV格式的例子。 其中, "类型 (Type)" 用来区 分不同的子 TLV类型 (例如 Type=18表示频谱带宽子 TLV, Type=19表示可用 中心频率子 TLV, Type=ll表示本端 /远端接口编号子 TLV ), "长度( Length )" 表示这个子 TLV的静荷的字节数。 再用一个 32比特的数字表示接口支持的频 谱带宽, 单位是 GHz。 Figure 9 shows an example of a spectral bandwidth sub-TLV format. The "Type" is used to distinguish different sub-TLV types (for example, Type=18 indicates the spectrum bandwidth sub-TLV, Type=19 indicates the available center frequency sub-TLV, and Type=11 indicates the local/remote interface number sub-TLV. ), "Length (Length)" Indicates the number of bytes of the static load of this sub-TLV. A 32-bit number is used to represent the spectrum bandwidth supported by the interface, in GHz.

在获取到网络的拓朴信息之后, 负责路径计算及频谱资源分配的节点或 服务器将网络的拓朴信息保存在本地,再用于计算路径及为路径分配频谱资 源。  After obtaining the topology information of the network, the node or server responsible for path calculation and spectrum resource allocation saves the topology information of the network locally, and then uses it to calculate the path and allocate the spectrum resource for the path.

如上所述,节点 A利用路由协议获取节点8、节点 C及节点 D的链路信息, 加上节点 A自身的链路信息, 从而得到网络的拓朴信息, 即表 1至表 4中的信 息。  As described above, the node A obtains the link information of the node 8, the node C, and the node D by using the routing protocol, and adds the link information of the node A itself, thereby obtaining the topology information of the network, that is, the information in Tables 1 to 4. .

以下将具体描述首节点 A如何确定上下波长接口之间的路径以及基于上 下波长接口的频谱带宽为确定的路径分配频谱资源。  The following describes in detail how the first node A determines the path between the upper and lower wavelength interfaces and allocates spectrum resources for the determined path based on the spectral bandwidth of the upper and lower wavelength interfaces.

在本具体实施例中, 节点 A需要计算上下波长接口 1到上下波长接口 6的 路径, 并为这些路径分配频谱资源。 通常, 在节点 A收到上下波长接口 1到上 下波长接口 6的波长连接建立请求而需要建立波长连接的情况下, 或者在节 点 A检测到上下波长接口 1到上下波长接口 6的波长连接故障之后而需要重新 计算路径并分配频谱资源的情况下, 触发节点 A进行路径计算及频谱资源分 配。 具体的计算过程如下:  In this embodiment, node A needs to calculate the paths from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces 6, and allocate spectrum resources for these paths. Generally, in the case that the node A receives the wavelength connection establishment request from the upper and lower wavelength interface 1 to the upper and lower wavelength interfaces 6 and needs to establish a wavelength connection, or after the node A detects the wavelength connection failure of the upper and lower wavelength interface 1 to the upper and lower wavelength interfaces 6, In the case that the path needs to be recalculated and the spectrum resource is allocated, the node A is triggered to perform path calculation and spectrum resource allocation. The specific calculation process is as follows:

( 1 ) 节点 A利用约束最短路径优先 (CSPF, Constrained Shorted Path First )算法得到上下波长接口 1到上下波长接口 6的潜在路径: a) 节点 A查找潜在路径首节点的链路信息(例如首节点是节点 A, 查 表 1的链路信息), 从表 1中选择一个接口, 例如接口 2, 再查找接 口 2的对端是节点 B的接口 3 , 因此接口 2作为接口 1的潜在下一跳 保存起来;  (1) Node A uses the Constrained Shorted Path First (CSPF) algorithm to obtain the potential path from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces: a) Node A searches for the link information of the potential path head node (for example, the first node) Is node A, look up the link information of Table 1.) Select an interface from Table 1, for example, interface 2, and then find that the opposite end of interface 2 is interface 3 of node B. Therefore, interface 2 acts as a potential next hop for interface 1. Save it up;

b) 节点 A继续查找下一个节点发布的链路信息(例如节点 B发布的表 2的链路信息), 选择一个接口, 例如接口 4, 查找接口 4的对端是 节点 C的接口 5 , 接口 4作为接口 2的潜在下一跳保存起来(如果选 择接口 3 , 则潜在路径返回到了节点 A, 出现环路, 因此接口 3被 排除);  b) Node A continues to search for the link information advertised by the next node (for example, the link information of Table 2 issued by Node B), selects an interface, such as interface 4, and finds that the opposite end of interface 4 is interface 5 of node C, interface 4 is saved as a potential next hop for interface 2 (if interface 3 is selected, the potential path is returned to node A, a loop occurs, so interface 3 is excluded);

c) 节点 A继续查找下一个节点发布的路由信息(例如节点 C发布的表 3的链路信息), 发现上下波长接口 6属于节点 C, 因此一条潜在路 径计算成功, 得到第一路径, 即接口 2至接口 3至接口 4至接口 5; d) 类似的, 如果在步骤 a )中选择了接口 10作为接口 2的潜在下一跳, 则可以得到另一条潜在路径, 即第二路径,接口 10至接口 9至接口 8至接口 7。 c) Node A continues to search for the routing information advertised by the next node (for example, the link information of Table 3 published by the node C), and finds that the upper and lower wavelength interfaces 6 belong to the node C, so that a potential path is successfully calculated, and the first path is obtained, that is, the interface. 2 to interface 3 to interface 4 to interface 5; d) Similarly, if interface 10 is selected as a potential next hop for interface 2 in step a), Then another potential path can be obtained, namely the second path, interface 10 to interface 9 to interface 8 to interface 7.

( 2 ) 节点 A根据上下波长接口 1和上下波长接口 6的频谱带宽, 为计算出 来的两条潜在路径分配频谱资源:  (2) Node A allocates spectrum resources for the calculated two potential paths according to the spectrum bandwidths of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6:

a) 查找上下波长接口 1和上下波长接口 6的频谱带宽, 其中上下波长 接口 1和上下波长接口 6的频谱带宽相同, 获知为 50GHz, 否则无 法确定分配的频谱资源;  a) Find the spectrum bandwidth of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6. The upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 have the same spectrum bandwidth, and are known as 50 GHz. Otherwise, the allocated spectrum resources cannot be determined;

b) 查找两条路径的可用中心频率, 满足以下条件的中心频率才能认 为是该路径的可用中心频率:  b) Find the available center frequency of the two paths, and the center frequency that satisfies the following conditions can be considered as the available center frequency of the path:

i. 确定上下波长接口 1的可用中心频率与上下波长接口 6的可用 中心频率中重合的可用中心频率,并从重合的可用中心频率中 选取一个 H殳为中心频率;  i. determine the available center frequency of the available center frequency of the upper and lower wavelength interface 1 and the available center frequency of the upper and lower wavelength interface 6, and select one H殳 from the coincident available center frequencies as the center frequency;

ii. 或者,将上述重合的可用中心频率再与路径中所有接口(链路) 的可用中心频率取交集,在从交集的可用中心频率中选取一个 假设为中心频率;  Ii. Alternatively, the above-mentioned coincident available center frequencies are then intersected with the available center frequencies of all interfaces (links) in the path, and one of the available center frequencies from the intersection is selected as the center frequency;

iii. 按照以下公式计算频率范围:最低频率=中心频率-频谱带宽 /2, 最高频率=中心频率 +频谱带宽 /2;上述频率范围不与路径中各 个波长复用链路的不可用频率范围(例如已经被其他波长连接 占用, 或者网管指定某段频率范围不可用)有重合部分; c) 根据上述规则, 对照表 1至表 4的链路信息得知, 第一路径的可用 中心频率对应的 n值为 -5 , -4, -3; 第二路径没有可用中心频率; d) 节点 A按照一定的策略从上述可用中心频率中选择一个分配给第 一路径。例如,按照可用中心频率从小到大的策略分配,则是 n=-5 对应的中心频率;按照可用中心频率从大到小的策略分配, 则是 n 为 -3对应的中心频率; 按照随机策略分配, 则可能是 n为- 5, -4, Iii. Calculate the frequency range according to the following formula: lowest frequency = center frequency - spectrum bandwidth / 2, highest frequency = center frequency + spectrum bandwidth / 2; the above frequency range is not related to the unavailable frequency range of the multiplexed link of each wavelength in the path ( For example, it has been occupied by other wavelength connections, or the network management system specifies that a certain frequency range is not available. There is a coincidence part; c) According to the above rules, according to the link information of Tables 1 to 4, the available center frequency of the first path corresponds to The value of n is -5, -4, -3; the second path has no available center frequency; d) node A selects one of the above available center frequencies to assign to the first path according to a certain strategy. For example, according to the policy allocation of the available center frequency from small to large, it is the center frequency corresponding to n=-5; according to the policy allocation of the available center frequency from large to small, then n is the center frequency corresponding to -3; according to the stochastic strategy Assignment, then n may be -5, -4,

-3对应的中心频率中的任一个; -3 any one of the center frequencies;

( 3 ) 节点 A得到上下波长接口 1到上下波长接口 6的路径以及中心频率。 上述路径计算及频谱资源分配过程也可以在一个集中式的 PCE中实现, 此时 PCE需要获取网络的拓朴信息, 并按照上述方法计算路径及分配频谱资 源。  (3) Node A obtains the path from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces 6 and the center frequency. The above path calculation and spectrum resource allocation process can also be implemented in a centralized PCE. At this time, the PCE needs to acquire the topology information of the network, and calculate the path and allocate the spectrum resources according to the above method.

进一步地, 上下波长接口的频谱带宽是可变的, 例如, 可以根据路径属 性(例如路径跳数、 路径长度、 光纤类型等)来确定频谱带宽, 则需要将路 径属性对应的频谱带宽发布出去, 也就是说, 路径计算及频谱资源分配时需 要考虑路径属性来查找可用中心频率。 Further, the spectrum bandwidth of the upper and lower wavelength interfaces is variable, for example, according to the path genus To determine the spectrum bandwidth, such as the path hop count, path length, fiber type, etc., the spectrum bandwidth corresponding to the path attribute needs to be advertised. That is, path calculation and spectrum resource allocation need to consider the path attribute to find the available center. frequency.

例如, 可以利用图 10定义的 "路径跳数频谱带宽子 TLV" 来发布路径跳 数对应的频谱带宽。 如图 10所示, "类型 (Type )" 用来区分不同的子 TLV类 型(例如 Type=20表示路径跳数频谱带宽子 TLV, Type=19表示可用中心频率 子 TLV, Type=ll表示本端 /远端接口编号子 TLV ), "长度(Length )" 表示这 个子 TLV的静荷的字节数。 用一个 16比特的数字表示接口支持的频谱带宽, 单位是 GHz; 路径跳数的上下限表示该频谱带宽适用的路径跳数范围。  For example, the "path hop spectrum bandwidth sub-TLV" defined in Figure 10 can be used to publish the spectrum bandwidth corresponding to the path hop count. As shown in Figure 10, "Type" is used to distinguish different sub-TLV types (for example, Type=20 indicates the path hopping spectrum bandwidth sub-TLV, Type=19 indicates the available center frequency sub-TLV, and Type=11 indicates the local end. / Remote interface number sub-TLV), "Length" indicates the number of bytes of the static load of this sub-TLV. A 16-bit number is used to indicate the spectrum bandwidth supported by the interface, in GHz. The upper and lower limits of the path hop count indicate the range of path hops to which the spectrum bandwidth applies.

类似的, 可以利用图 11定义的 "路径长度频谱带宽子 TLV" 来发布路径 长度对应的频谱带宽。 如图 11所示, "类型 (Type )" 用来区分不同的子 TLV 类型(例如 Type=21表示路径长度频谱带宽子 TLV, Type=19表示可用中心频 率子 TLV, Type=ll表示本端 /远端接口编号子 TLV ), "长度( Length )" 表示 这个子 TLV的静荷的字节数。 用一个 16比特的数字表示接口支持的频谱带 宽, 单位是 GHz; 路径长度的上下限表示该频谱带宽适用的路径长度范围。  Similarly, the "Path Length Spectrum Bandwidth Sub-TLV" defined in Figure 11 can be used to publish the spectrum bandwidth corresponding to the path length. As shown in Figure 11, "Type" is used to distinguish different sub-TLV types (for example, Type=21 indicates the path length spectrum bandwidth sub-TLV, Type=19 indicates the available center frequency sub-TLV, and Type=11 indicates the local end/ Remote interface number sub-TLV), "Length" indicates the number of bytes of the static load of this sub-TLV. A 16-bit number is used to indicate the spectral bandwidth supported by the interface, in GHz; the upper and lower limits of the path length indicate the range of path lengths for which the spectrum bandwidth is applicable.

类似的, 可以利用图 12定义的 "光纤类型频谱带宽子 TLV" 来发布不同 光纤类型对应的频谱带宽。 如图 12所示, "类型 (Type )" 用来区分不同的子 TLV类型 (例如 Type=22表示光纤类型频谱带宽子 TLV, Type=19表示可用中 心频率子 TLV, Type=ll表示本端 /远端接口编号子 TLV ), "长度(Length )" 表示这个子 TLV的静荷的字节数。 用一个 16比特的数字表示接口支持的频谱 带宽, 单位是 GHz; 路径长度的上下限表示该频谱带宽适用的光纤类型。  Similarly, the "fiber type spectrum bandwidth sub-TLV" defined in Figure 12 can be used to publish the spectrum bandwidth corresponding to different fiber types. As shown in Figure 12, "Type" is used to distinguish different sub-TLV types (for example, Type=22 indicates the fiber type spectrum bandwidth sub-TLV, Type=19 indicates the available center frequency sub-TLV, and Type=ll indicates the local end/ Remote interface number sub-TLV), "Length" indicates the number of bytes of the static load of this sub-TLV. A 16-bit number is used to indicate the spectrum bandwidth supported by the interface, in GHz; the upper and lower limits of the path length indicate the type of fiber to which the spectrum bandwidth applies.

以下以路径跳数为例, 说明考虑路径属性的频谱资源分配方法。  The following takes the path hop count as an example to illustrate the spectrum resource allocation method considering the path attribute.

假设上下波长接口 1和上下波长接口 6的频谱带宽和路径跳数相关: 路径 跳数小于等于 5跳时, 频谱带宽为 50GHz; 路径跳数大于 5跳时, 频谱带宽为 100GHz。 则节点 A、 节点 C需要分别利用上述定义的 "路径跳数频谱带宽子 TLV" 携带上述信息, 发布到网络中的计算节点。  Assume that the spectrum bandwidth of the upper and lower wavelength interfaces 1 and the upper and lower wavelength interfaces 6 are related to the number of path hops: When the hop count is less than or equal to 5 hops, the spectrum bandwidth is 50 GHz; when the path hop count is greater than 5 hops, the spectrum bandwidth is 100 GHz. Then, node A and node C need to carry the above information by using the "path hopping spectrum bandwidth sub-TLV" defined above, and distribute it to the computing node in the network.

此时, 假设 PCE负责网络的路径计算及频谱资源分配, 则 PCE需要参与 网络的 OSPF路由洪泛, 从而获取各节点发布的拓朴信息。  In this case, if the PCE is responsible for the path calculation and the allocation of the spectrum resources of the network, the PCE needs to participate in the flooding of the OSPF routes of the network to obtain the topology information advertised by each node.

当 PCE收到路径计算及频谱资源分配请求, 请求计算上下波长接口 1到 上下波长接口 6的路径并分配频谱资源之后, PCE利用 CSPF算法计算路径, 并查找路径对应的可用中心频率。 路径的计算与之前过程类似,于是可以得到两条潜在路径:第一路径(接 口 2至接口 3至接口 4至接口 5 )和第二路径 (接口 10至接口 9至接口 8至接口 7 )。 在为路径分配中心频率时, 需要先根据路径属性查找上下波长接口的频谱带 宽, 再根据路径的频谱带宽确定路径的可用中心频率。 After the PCE receives the path calculation and the spectrum resource allocation request, and requests to calculate the path from the upper and lower wavelength interfaces 1 to the upper and lower wavelength interfaces 6 and allocates the spectrum resources, the PCE calculates the path by using the CSPF algorithm, and searches for the available center frequency corresponding to the path. The calculation of the path is similar to the previous process, so two potential paths can be obtained: the first path (interface 2 to interface 3 to interface 4 to interface 5) and the second path (interface 10 to interface 9 to interface 8 to interface 7). When assigning a center frequency to a path, you need to first find the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attributes, and then determine the available center frequency of the path according to the spectrum bandwidth of the path.

为第一路径确定中心频率的过程如下:  The process of determining the center frequency for the first path is as follows:

a) 第一路径的跳数是 3 (经过 3个节点), 查找第一路径的跳数 3所对 应的上下波长接口 1和上下波长接口 6的频谱带宽,获知为 50GHz; b) 查找两条路径的可用中心频率, 中心频率需要满足以下条件, 才 能认为该中心频率在该路径中可用:  a) The hop count of the first path is 3 (after 3 nodes), and the spectrum bandwidth of the upper and lower wavelength interface 1 and the upper and lower wavelength interface 6 corresponding to the hop 3 of the first path is found, and is known as 50 GHz; b) The available center frequency of the path, the center frequency needs to meet the following conditions, in order to consider the center frequency available in the path:

i. 确定上下波长接口 1的可用中心频率与上下波长接口 6的可用 中心频率中重合的可用中心频率,并从重合的可用中心频率中 选取一个 H殳为中心频率;  i. determine the available center frequency of the available center frequency of the upper and lower wavelength interface 1 and the available center frequency of the upper and lower wavelength interface 6, and select one H殳 from the coincident available center frequencies as the center frequency;

ii. 或者,将上述重合的可用中心频率再与路径中所有接口(链路) 的可用中心频率取交集,在从交集的可用中心频率中选取一个 假设为中心频率;  Ii. Alternatively, the above-mentioned coincident available center frequencies are then intersected with the available center frequencies of all interfaces (links) in the path, and one of the available center frequencies from the intersection is selected as the center frequency;

iii. 按照以下公式计算频率范围:最低频率=中心频率-频谱带宽 /2, 最高频率=中心频率 +频谱带宽 /2;上述频率范围不与不可用频 率范围有重合部分;  Iii. Calculate the frequency range according to the following formula: lowest frequency = center frequency - spectrum bandwidth /2, highest frequency = center frequency + spectrum bandwidth /2; the above frequency range does not coincide with the unavailable frequency range;

c) 根据上述规则, 查表 1〜表 4得知, 第一路径的可用中心频率为: n=-5 , -4, -3对应的中心频率;  c) According to the above rules, look up Table 1 to Table 4 to know that the available center frequency of the first path is: n=-5, -4, -3 corresponding to the center frequency;

d) 节点 A按照一定的策略从上述可用中心频率中选择一个分配给第 一路径。例如,按照可用中心频率从小到大的策略分配,则是 n=-5 对应的中心频率; 按照可用中心频率从大到小的策略分配, 则是 n=-3对应的中心频率; 按照随机策略分配, 则可能是 n=-5 , -4, -3 对应的中心频率中的任一个。  d) Node A selects one of the above available center frequencies to assign to the first path according to a certain policy. For example, the policy allocation from small to large according to the available center frequency is the center frequency corresponding to n=-5; the policy allocation according to the available center frequency from large to small is the center frequency corresponding to n=-3; according to the stochastic strategy The allocation may be any one of the center frequencies corresponding to n=-5, -4, -3.

类似的, 按照以上步骤, 第二路径没有可用中心频率。  Similarly, according to the above steps, the second path has no available center frequency.

通过以上具体实施例的描述, 本领域技术人员可以了解如何实现灵活栅 格网络的拓朴信息的自动获取, 进而自动确定路径并为路径分配频谱资源的 过程。  Through the description of the above specific embodiments, those skilled in the art can understand how to implement automatic acquisition of topology information of a flexible grid network, thereby automatically determining a path and allocating spectrum resources to the path.

以下结合图 13和图 14示意性地描述根据本发明一个实施例的路径计算 的装置的结构。 如图 13所示, 路径计算的装置 130包括获取单元 131、 确定路径单元 132和分配单元 133。 其中, 获取单元 131用于获取网络中波分复用链路的 接口编号、波分复用链路的不可用频率范围、第一上下波长接口的接口编号、 第二上下波长接口的接口编号、第一上下波长接口的可用中心频率以及第一 上下波长接口的频谱带宽、第二上下波长接口的可用中心频率以及第二上下 波长接口的频谱带宽。 此外, 获取单元 131根据路径属性获得上下波长接口 的频谱带宽, 其中路径属性包括路径跳数、 路径长度或者光纤类型。 确定路 径单元 132用于基于波分复用链路的接口编号、第一上下波长接口的接口编 号、第二上下波长接口的接口编号确定第一上下波长接口与第二上下波长接 口之间的路径。分配单元 133用于基于路径经过的波分复用链路的不可用频 率范围、 第一上下波长接口的可用中心频率、 第二上下波长接口的可用中心 频率、第一上下波长接口的频谱带宽以及第二上下波长接口的频谱带宽为路 径分配中心频率。 The structure of the apparatus for path calculation according to an embodiment of the present invention is schematically described below with reference to FIGS. 13 and 14. As shown in FIG. 13, the path calculation means 130 includes an acquisition unit 131, a determination path unit 132, and an allocation unit 133. The obtaining unit 131 is configured to acquire an interface number of the wavelength division multiplexing link in the network, an unusable frequency range of the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, and an interface number of the second upper and lower wavelength interfaces, The available center frequency of the first upper and lower wavelength interfaces and the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces. In addition, the obtaining unit 131 obtains the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, where the path attribute includes the path hop count, the path length, or the fiber type. The determining path unit 132 is configured to determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces. . The allocating unit 133 is configured to use an unavailable frequency range of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, a spectrum bandwidth of the first upper and lower wavelength interfaces, and The spectrum bandwidth of the second upper and lower wavelength interfaces is the path allocation center frequency.

分配单元 133进一步包括确定模块 1331和选取模块 1332,如图 14所示。 具体而言, 确定模块 1331用于基于路径中各个波分复用链路的不可用频率 范围、 第一上下波长接口的可用中心频率、 第二上下波长接口的可用中心频 率、第一上下波长接口的频谱带宽以及第二上下波长接口的频谱带宽确定路 径是否具有可用中心频率。 选取模块 1332用于选取路径的可用中心频率中 的一个作为路径的中心频率。  The allocation unit 133 further includes a determination module 1331 and a selection module 1332, as shown in FIG. Specifically, the determining module 1331 is configured to use an unavailable frequency range of each wavelength division multiplexing link in the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, and a first upper and lower wavelength interfaces. The spectral bandwidth and the spectral bandwidth of the second upper and lower wavelength interfaces determine whether the path has an available center frequency. Selection module 1332 is used to select one of the available center frequencies of the path as the center frequency of the path.

确定模块 1331进一步用于选取第一上下波长接口的可用中心频率与第 二上下波长接口的可用中心频率相重合的可用中心频率中的一个;基于所选 取的可用中心频率以及上下波长接口的频谱带宽确定路径的频率范围, 其中 上下波长接口的频谱带宽等于第一上下波长接口的频谱带宽; 判断路径的频 率范围与路径经过的波分复用链路的不可用频率范围是否有重合的部分; 如 果没有重合的部分, 则确定所选取的可用中心频率为路径的可用中心频率。  The determining module 1331 is further configured to: select one of available center frequencies of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces; based on the selected available center frequency and the spectral bandwidth of the upper and lower wavelength interfaces Determining the frequency range of the path, wherein the spectrum bandwidth of the upper and lower wavelength interfaces is equal to the spectrum bandwidth of the first upper and lower wavelength interfaces; determining whether the frequency range of the path and the unavailable frequency range of the wavelength division multiplexing link through which the path passes; If there is no coincidence, it is determined that the available available center frequency is the available center frequency of the path.

可选地, 分别将所选取的可用中心频率减去上下波长接口的频率带宽的 一半, 以及选取的可用中心频率加上上下波长接口的频率带宽的一半作为频 率范围的端值来确定路径的频率范围。  Optionally, the selected available center frequency is respectively subtracted from half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces is used as the end value of the frequency range to determine the frequency of the path. range.

通过根据本发明实施例的路径计算的装置, 本领域技术人员可以实现灵 活栅格网络的拓朴信息的自动获取,进而自动确定路径并为路径分配频谱资 源的过程。 以下结合图 15示意性地描述根据本发明另一实施例的路径计算的装置 的结构。 Through the apparatus for path calculation according to the embodiment of the present invention, those skilled in the art can implement automatic acquisition of topology information of the flexible grid network, thereby automatically determining the path and assigning spectrum resources to the path. The structure of an apparatus for path calculation according to another embodiment of the present invention is schematically described below with reference to FIG.

在图 15中, 路径计算的装置 150包括获取单元 151、 确定路径单元 152 和分配单元 153。 其中, 获取单元 151用于获取网络中波分复用链路的接口 编号、 波分复用链路的可用中心频率、 第一上下波长接口的接口编号、 第二 上下波长接口的接口编号、第一上下波长接口的可用中心频率以及第一上下 波长接口的频谱带宽、第二上下波长接口的可用中心频率以及第二上下波长 接口的频谱带宽。 此外, 获取单元 151还用于根据路径属性获得上下波长接 口的频谱带宽, 其中路径属性包括路径跳数、 路径长度或者光纤类型。 确定 路径单元 152用于基于波分复用链路的接口编号、第一上下波长接口的接口 编号、第二上下波长接口的接口编号确定第一上下波长接口与第二上下波长 接口之间的路径。分配单元 153用于基于路径经过的波分复用链路的不可用 频率范围、 路径经过的波分复用链路的可用中心频率、 第一上下波长接口的 可用中心频率、 第二上下波长接口的可用中心频率、 第一上下波长接口的频 谱带宽以及第二上下波长接口的频谱带宽为路径分配中心频率。 此外, 分配 单元 153进一步用于选取第一上下波长接口的可用中心频率与第二上下波长 接口的可用中心频率以及路径经过的波分复用链路的可用中心频率相重合 的可用中心频率中的一个; 分别将所选取的可用中心频率减去上下波长接口 的频率带宽的一半, 以及选取的可用中心频率加上上下波长接口的频率带宽 的一半作为频率范围的端值, 其中当第一上下波长接口的频谱带宽等于第二 上下波长接口的频谱带宽时, 上下波长接口的频谱带宽是第一上下波长接口 的频谱带宽, 当第一上下波长接口的频谱带宽不等于第二上下波长接口的频 谱带宽时, 上下波长接口的频谱带宽是第一上下波长接口的频谱带宽以及第 二上下波长接口的频谱带宽中较大的一个; 判断频率范围与路径经过的波分 复用链路的不可用频率范围是否有重合的部分; 如果没有重合的部分, 则确 定所选取的可用中心频率为路径的可用中心频率; 选取路径的可用中心频率 中的一个作为路径的中心频率。其中路径经过的波分复用链路的不可用频率 范围根据路径经过的波分复用链路的可用中心频率确定。  In Fig. 15, the path calculation means 150 includes an acquisition unit 151, a determination path unit 152, and an allocation unit 153. The obtaining unit 151 is configured to acquire an interface number of the wavelength division multiplexing link in the network, an available center frequency of the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, and an interface number of the second upper and lower wavelength interfaces. The available center frequency of the upper and lower wavelength interfaces and the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces. In addition, the obtaining unit 151 is further configured to obtain a spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, where the path attribute includes a path hop count, a path length, or a fiber type. The determining path unit 152 is configured to determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces. . The allocating unit 153 is configured to use an unavailable frequency range of the wavelength division multiplexing link through which the path passes, an available center frequency of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper and lower wavelength interfaces, and a second upper and lower wavelength interface. The available center frequency, the spectral bandwidth of the first upper and lower wavelength interfaces, and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path. In addition, the allocating unit 153 is further configured to select an available center frequency of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces and an available center frequency of the available center frequency of the wavelength division multiplexed link through which the path passes One; respectively subtracting half of the selected available center frequency from the frequency bandwidth of the upper and lower wavelength interfaces, and selecting the available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces as the end value of the frequency range, wherein the first upper and lower wavelengths When the spectrum bandwidth of the interface is equal to the spectrum bandwidth of the second upper and lower wavelength interfaces, the spectrum bandwidth of the upper and lower wavelength interfaces is the spectrum bandwidth of the first upper and lower wavelength interfaces. The spectrum bandwidth of the first upper and lower wavelength interfaces is not equal to the spectrum bandwidth of the second upper and lower wavelength interfaces. The spectrum bandwidth of the upper and lower wavelength interfaces is the larger one of the spectrum bandwidth of the first upper and lower wavelength interfaces and the spectrum bandwidth of the second upper and lower wavelength interfaces; determining the frequency range and the unavailable frequency range of the wavelength division multiplexing link through which the path passes Whether there is a coincident part; if there is no weight Part, determines the selected path available center frequencies available center frequencies; available center frequencies in a selected path as the path of the center frequency. The range of unavailable frequencies of the wavelength division multiplexed link through which the path passes is determined according to the available center frequency of the wavelength division multiplexed link through which the path passes.

通过根据本发明实施例的路径计算的装置, 本领域技术人员可以实现灵 活栅格网络的拓朴信息的自动获取,进而自动确定路径并为路径分配频谱资 源的过程。 本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结 合来实现。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特 定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。 Through the apparatus for path calculation according to the embodiment of the present invention, those skilled in the art can implement automatic acquisition of topology information of the flexible grid network, thereby automatically determining the path and assigning spectrum resources to the path. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描 述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。  It will be apparent to those skilled in the art that, for the convenience of the description and the cleaning process, the specific operation of the system, the device and the unit described above may be referred to the corresponding processes in the foregoing method embodiments, and details are not described herein again.

在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。  The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.

另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使 用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明 的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部 分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质 中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前 述的存储介质包括: U盘、移动硬盘、只读存储器( ROM, Read-Only Memory )、 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可 以存储程序代码的介质。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。 The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention, which is essential to the prior art or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. . The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 Rights request 1、 一种路径计算的方法, 其特征在于, 包括: A method for path calculation, comprising: 获取网络中波分复用链路的接口编号、 波分复用链路的不可用频率范 围、 第一上下波长接口的接口编号、 第二上下波长接口的接口编号、 第一上 下波长接口的可用中心频率以及第一上下波长接口的频谱带宽、第二上下波 长接口的可用中心频率以及第二上下波长接口的频谱带宽;  Obtaining the interface number of the wavelength division multiplexing link in the network, the unavailable frequency range of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, the interface number of the second upper and lower wavelength interfaces, and the available of the first upper and lower wavelength interfaces. a center frequency and a spectrum bandwidth of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, and a spectrum bandwidth of the second upper and lower wavelength interfaces; 基于所述波分复用链路的接口编号、 所述第一上下波长接口的接口编 号、所述第二上下波长接口的接口编号确定第一上下波长接口与第二上下波 长接口之间的路径;  Determining a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces ; 基于所述路径经过的波分复用链路的不可用频率范围、所述第一上下波 长接口的可用中心频率、 所述第二上下波长接口的可用中心频率、 所述第一 上下波长接口的频谱带宽以及所述第二上下波长接口的频谱带宽为所述路 径分配中心频率。  The unavailable frequency range of the wavelength division multiplexing link that the path passes, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the first upper and lower wavelength interfaces The spectral bandwidth and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path. 2、 根据权利要求 1所述的方法, 其特征在于, 所述基于所述路径经过 的波分复用链路的不可用频率范围、 所述第一上下波长接口的可用中心频 率、 所述第二上下波长接口的可用中心频率、 所述第一上下波长接口的频谱 带宽以及所述第二上下波长接口的频谱带宽为所述路径分配中心频率包括: 基于所述路径中各个波分复用链路的不可用频率范围、所述第一上下波 长接口的可用中心频率、 所述第二上下波长接口的可用中心频率、 所述第一 上下波长接口的频谱带宽以及所述第二上下波长接口的频谱带宽确定所述 路径是否具有可用中心频率;  2. The method according to claim 1, wherein the unusable frequency range of the wavelength division multiplexing link that the path passes, the available center frequency of the first upper and lower wavelength interfaces, the first The available center frequency of the two upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces are the center frequency of the path allocation: including each wavelength division multiplexing chain in the path The unavailable frequency range of the path, the available center frequency of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the second upper and lower wavelength interfaces The spectral bandwidth determines if the path has an available center frequency; 选取所述路径的可用中心频率中的一个作为所述路径的中心频率。  One of the available center frequencies of the path is selected as the center frequency of the path. 3、 根据权利要求 2所述的方法, 其特征在于, 所述于所述路径中各个 波分复用链路的不可用频率范围、 所述第一上下波长接口的可用中心频率、 所述第二上下波长接口的可用中心频率、所述第一上下波长接口的频谱带宽 以及所述第二上下波长接口的频谱带宽确定所述路径是否具有可用中心频 率包括: The method according to claim 2, wherein the unusable frequency range of each wavelength division multiplexing link in the path, the available center frequency of the first upper and lower wavelength interfaces, the first The available center frequency of the two upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces determine whether the path has an available center frequency, including: 选取所述第一上下波长接口的可用中心频率与所述第二上下波长接口 的可用中心频率相重合的可用中心频率中的一个;  Selecting one of an available center frequency of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces; 基于所选取的可用中心频率以及上下波长接口的频谱带宽确定所述路 径的频率范围,其中所述上下波长接口的频谱带宽等于第一上下波长接口的 频谱带宽; Determining the path based on the selected available center frequency and the spectral bandwidth of the upper and lower wavelength interfaces The frequency range of the path, wherein the spectrum bandwidth of the upper and lower wavelength interfaces is equal to the spectrum bandwidth of the first upper and lower wavelength interfaces; 判断所述频率范围与所述路径经过的波分复用链路的不可用频率范围 是否有重合的部分;  Determining whether the frequency range overlaps with an unusable frequency range of a wavelength division multiplexed link through which the path passes; 如果没有重合的部分, 则确定所选取的可用中心频率为所述路径的可用 中心频率。  If there are no coincident portions, it is determined that the selected available center frequency is the available center frequency of the path. 4、 根据权利要求 3所述的方法, 其特征在于, 所述基于所选取的可用 中心频率以及上下波长接口的频谱带宽确定所述路径的频率范围包括: 分别将所选取的可用中心频率减去上下波长接口的频率带宽的一半, 以 及所述选取的可用中心频率加上所述上下波长接口的频率带宽的一半作为 频率范围的端值。  The method according to claim 3, wherein the determining the frequency range of the path based on the selected available center frequency and the spectral bandwidth of the upper and lower wavelength interfaces comprises: respectively subtracting the selected available center frequencies One half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces are used as the end values of the frequency range. 5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述获取 上下波长接口的频谱带宽包括根据路径属性获得上下波长接口的频谱带宽, 其中所述路径属性包括路径跳数、 路径长度或者光纤类型。  The method according to any one of claims 1 to 4, wherein the acquiring the spectrum bandwidth of the upper and lower wavelength interfaces comprises obtaining the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, wherein the path attribute includes a path hopping Number, path length or fiber type. 6、 一种路径计算的方法, 其特征在于, 包括:  6. A method for path calculation, comprising: 获取网络中波分复用链路的接口编号、 波分复用链路的可用中心频率、 第一上下波长接口的接口编号、 第二上下波长接口的接口编号、 第一上下波 长接口的可用中心频率以及第一上下波长接口的频谱带宽、第二上下波长接 口的可用中心频率以及第二上下波长接口的频谱带宽;  Obtain the interface number of the WDM link in the network, the available center frequency of the WDM link, the interface number of the first upper and lower wavelength interfaces, the interface number of the second upper and lower wavelength interfaces, and the available center of the first upper and lower wavelength interfaces. a frequency, a spectrum bandwidth of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, and a spectrum bandwidth of the second upper and lower wavelength interfaces; 基于所述波分复用链路的接口编号、 所述第一上下波长接口的接口编 号、所述第二上下波长接口的接口编号确定第一上下波长接口与第二上下波 长接口之间的路径;  Determining a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces based on the interface number of the wavelength division multiplexing link, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces ; 基于所述路径经过的波分复用链路的可用中心频率、所述第一上下波长 接口的可用中心频率、 所述第二上下波长接口的可用中心频率、 所述第一上 下波长接口的频谱带宽以及所述第二上下波长接口的频谱带宽为所述路径 分配中心频率。  An available center frequency of the wavelength division multiplexing link through which the path passes, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, and a spectrum of the first upper and lower wavelength interfaces The bandwidth and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path. 7、 根据权利要求 6所述的方法, 其特征在于, 所述基于所述路径经过 的波分复用链路的可用中心频率、 所述第一上下波长接口的可用中心频率、 所述第二上下波长接口的可用中心频率、所述第一上下波长接口的频谱带宽 以及所述第二上下波长接口的频谱带宽为所述路径分配中心频率包括: 选取所述第一上下波长接口的可用中心频率与所述第二上下波长接口 的可用中心频率以及所述路径经过的波分复用链路的可用中心频率相重合 的可用中心频率中的一个; The method according to claim 6, wherein the available center frequency of the wavelength division multiplexing link that the path passes, the available center frequency of the first upper and lower wavelength interfaces, and the second The available center frequency of the upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces are the center frequencies allocated to the path, including: selecting an available center frequency of the first upper and lower wavelength interfaces Interfacing with the second upper and lower wavelengths One of the available center frequencies and one of the available center frequencies at which the available center frequencies of the wavelength division multiplexed links through which the path passes; 分别将所选取的可用中心频率减去上下波长接口的频率带宽的一半, 以 及所述选取的可用中心频率加上所述上下波长接口的频率带宽的一半作为 频率范围的端值, 其中所述上下波长接口的频谱带宽等于所述第一上下波长 接口的频谱带宽;  Subtracting the selected available center frequency by half of the frequency bandwidth of the upper and lower wavelength interfaces, and selecting the available available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces as the end value of the frequency range, wherein the upper and lower The spectrum bandwidth of the wavelength interface is equal to the spectrum bandwidth of the first upper and lower wavelength interfaces; 判断所述频率范围与所述路径经过的波分复用链路的不可用频率范围 是否有重合的部分, 其中所述路径经过的波分复用链路的不可用频率范围根 据所述路径经过的波分复用链路的可用中心频率确定;  Determining whether the frequency range overlaps with an unusable frequency range of the wavelength division multiplexed link through which the path passes, wherein an unusable frequency range of the wavelength division multiplexed link through which the path passes is determined according to the path The available center frequency of the wavelength division multiplexed link is determined; 如果没有重合的部分, 则确定所选取的可用中心频率为所述路径的可用 中心频率;  If there is no coincident portion, it is determined that the selected available center frequency is the available center frequency of the path; 选取所述路径的可用中心频率中的一个作为所述路径的中心频率。 One of the available center frequencies of the path is selected as the center frequency of the path. 8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述获取上下波长 接口的频谱带宽包括根据路径属性获得上下波长接口的频谱带宽, 其中所述 路径属性包括路径跳数、 路径长度或者光纤类型。 The method according to claim 6 or 7, wherein the acquiring the spectrum bandwidth of the upper and lower wavelength interfaces comprises obtaining the spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, wherein the path attribute includes the path hop count and the path length. Or fiber type. 9、 一种路由计算的装置, 其特征在于, 包括:  9. A device for routing calculation, comprising: 获取单元, 用于获取网络中波分复用链路的接口编号、 波分复用链路的 不可用频率范围、 第一上下波长接口的接口编号、 第二上下波长接口的接口 编号、 第一上下波长接口的可用中心频率以及第一上下波长接口的频谱带 宽、 第二上下波长接口的可用中心频率以及第二上下波长接口的频谱带宽; 确定路径单元, 用于基于所述波分复用链路的接口编号、 所述第一上下 波长接口的接口编号、所述第二上下波长接口的接口编号确定第一上下波长 接口与第二上下波长接口之间的路径;  An acquiring unit, configured to acquire an interface number of a wavelength division multiplexing link in the network, an unusable frequency range of the wavelength division multiplexing link, an interface number of the first upper and lower wavelength interfaces, an interface number of the second upper and lower wavelength interfaces, and a first The available center frequency of the upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; determining a path unit for using the wavelength division multiplexing chain The path number of the path, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces; 分配单元, 用于基于所述路径经过的波分复用链路的不可用频率范围、 所述第一上下波长接口的可用中心频率、所述第二上下波长接口的可用中心 频率、所述第一上下波长接口的频谱带宽以及所述第二上下波长接口的频谱 带宽为所述路径分配中心频率。  An allocation unit, configured to use an unusable frequency range of the wavelength division multiplexing link that passes through the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, and the A spectral bandwidth of an upper and lower wavelength interface and a spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path. 10、 根据权利要求 9所述的装置, 其特征在于, 所述分配单元包括: 确定模块, 用于基于所述路径中各个波分复用链路的不可用频率范围、 所述第一上下波长接口的可用中心频率、所述第二上下波长接口的可用中心 频率、所述第一上下波长接口的频谱带宽以及所述第二上下波长接口的频谱 带宽确定所述路径是否具有可用中心频率; The device according to claim 9, wherein the allocating unit comprises: a determining module, configured to: based on an unusable frequency range of each wavelength division multiplexing link in the path, the first upper and lower wavelengths The available center frequency of the interface, the available center frequency of the second upper and lower wavelength interfaces, the spectrum bandwidth of the first upper and lower wavelength interfaces, and the spectrum of the second upper and lower wavelength interfaces The bandwidth determines whether the path has an available center frequency; 选取模块, 用于选取所述路径的可用中心频率中的一个作为所述路径的 中心频率。  A selection module is configured to select one of the available center frequencies of the path as the center frequency of the path. 11、 根据权利要求 10所述的装置, 其特征在于, 所述确定模块进一步 用于:  The device according to claim 10, wherein the determining module is further configured to: 选取所述第一上下波长接口的可用中心频率与所述第二上下波长接口 的可用中心频率相重合的可用中心频率中的一个;  Selecting one of an available center frequency of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces; 基于所选取的可用中心频率以及上下波长接口的频谱带宽确定所述路 径的频率范围,其中所述上下波长接口的频谱带宽等于所述第一上下波长接 口的频谱带宽;  The frequency range of the path is determined based on the selected available center frequency and the spectrum bandwidth of the upper and lower wavelength interfaces, wherein the spectrum bandwidth of the upper and lower wavelength interfaces is equal to the spectrum bandwidth of the first upper and lower wavelength interfaces; 判断所述频率范围与所述路径经过的波分复用链路的不可用频率范围 是否有重合的部分;  Determining whether the frequency range overlaps with an unusable frequency range of a wavelength division multiplexed link through which the path passes; 如果没有重合的部分, 则确定所选取的可用中心频率为所述路径的可用 中心频率。  If there are no coincident portions, it is determined that the selected available center frequency is the available center frequency of the path. 12、 根据权利要求 11所述的装置, 其特征在于, 所述基于所选取的可 用中心频率以及所述上下波长接口的频谱带宽确定所述路径的频率范围包 括:  12. The apparatus according to claim 11, wherein the determining a frequency range of the path based on the selected available center frequency and a spectral bandwidth of the upper and lower wavelength interfaces comprises: 分别将所选取的可用中心频率减去上下波长接口的频率带宽的一半, 以 及所述选取的可用中心频率加上所述上下波长接口的频率带宽的一半作为 频率范围的端值。  The selected available center frequency is respectively subtracted from half of the frequency bandwidth of the upper and lower wavelength interfaces, and the selected available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces is used as the end value of the frequency range. 13、 根据权利要求 9至 12中任一项所述的装置, 其特征在于, 所述获 取单元根据路径属性获得上下波长接口的频谱带宽, 其中所述路径属性包括 路径跳数、 路径长度或者光纤类型。  The device according to any one of claims 9 to 12, wherein the acquiring unit obtains a spectrum bandwidth of an upper and lower wavelength interface according to a path attribute, where the path attribute includes a path hop count, a path length, or an optical fiber. Types of. 14、 一种路径计算的装置, 其特征在于, 包括:  14. A device for path calculation, comprising: 获取单元, 用于获取网络中波分复用链路的接口编号、 波分复用链路的 可用中心频率、 第一上下波长接口的接口编号、 第二上下波长接口的接口编 号、 第一上下波长接口的可用中心频率以及第一上下波长接口的频谱带宽、 第二上下波长接口的可用中心频率以及第二上下波长接口的频谱带宽; 确定路径单元, 用于基于所述波分复用链路的接口编号、 所述第一上下 波长接口的接口编号、所述第二上下波长接口的接口编号确定第一上下波长 接口与第二上下波长接口之间的路径; 分配单元, 用于基于所述路径经过的波分复用链路的可用中心频率、 所 述第一上下波长接口的可用中心频率、所述第二上下波长接口的可用中心频 率、所述第一上下波长接口的频谱带宽以及所述第二上下波长接口的频谱带 宽为所述路径分配中心频率。 The obtaining unit is configured to obtain an interface number of the WDM link in the network, an available center frequency of the WDM link, an interface number of the first uplink and the downlink interface, an interface number of the second upper and lower wavelength interfaces, and an upper and lower The available center frequency of the wavelength interface and the spectrum bandwidth of the first upper and lower wavelength interfaces, the available center frequency of the second upper and lower wavelength interfaces, and the spectrum bandwidth of the second upper and lower wavelength interfaces; determining a path unit for using the wavelength division multiplexing link The interface number, the interface number of the first upper and lower wavelength interfaces, and the interface number of the second upper and lower wavelength interfaces determine a path between the first upper and lower wavelength interfaces and the second upper and lower wavelength interfaces; An allocation unit, configured to use an available center frequency of the wavelength division multiplexing link that passes through the path, an available center frequency of the first upper and lower wavelength interfaces, an available center frequency of the second upper and lower wavelength interfaces, the first The spectral bandwidth of the upper and lower wavelength interfaces and the spectral bandwidth of the second upper and lower wavelength interfaces allocate a center frequency for the path. 15、 根据权利要求 14所述的装置, 其特征在于, 所述分配单元进一步 用于:  The device according to claim 14, wherein the allocating unit is further configured to: 选取所述第一上下波长接口的可用中心频率与所述第二上下波长接口 的可用中心频率以及所述路径经过的波分复用链路的可用中心频率相重合 的可用中心频率中的一个;  And selecting one of an available center frequency of the first upper and lower wavelength interfaces and an available center frequency of the second upper and lower wavelength interfaces and an available center frequency of the wavelength division multiplexed link through which the path passes; 分别将所选取的可用中心频率减去上下波长接口的频率带宽的一半, 以 及所述选取的可用中心频率加上所述上下波长接口的频率带宽的一半作为 频率范围的端值, 其中所述上下波长接口的频谱带宽等于所述第一上下波长 接口的频谱带宽;  Subtracting the selected available center frequency by half of the frequency bandwidth of the upper and lower wavelength interfaces, and selecting the available available center frequency plus half of the frequency bandwidth of the upper and lower wavelength interfaces as the end value of the frequency range, wherein the upper and lower The spectrum bandwidth of the wavelength interface is equal to the spectrum bandwidth of the first upper and lower wavelength interfaces; 判断所述频率范围与所述路径经过的波分复用链路的不可用频率范围 是否有重合的部分, 其中所述路径经过的波分复用链路的不可用频率范围根 据所述路径经过的波分复用链路的可用中心频率确定;  Determining whether the frequency range overlaps with an unusable frequency range of the wavelength division multiplexed link through which the path passes, wherein an unusable frequency range of the wavelength division multiplexed link through which the path passes is determined according to the path The available center frequency of the wavelength division multiplexed link is determined; 如果没有重合的部分, 则确定所选取的可用中心频率为所述路径的可用 中心频率;  If there is no coincident portion, it is determined that the selected available center frequency is the available center frequency of the path; 选取所述路径的可用中心频率中的一个作为所述路径的中心频率。  One of the available center frequencies of the path is selected as the center frequency of the path. 16、 根据权利要求 14或 15所述的装置, 其特征在于, 所述获取单元根 据路径属性获得上下波长接口的频谱带宽, 其中所述路径属性包括路径跳 数、 路径长度或者光纤类型。 The device according to claim 14 or 15, wherein the acquiring unit obtains a spectrum bandwidth of the upper and lower wavelength interfaces according to the path attribute, wherein the path attribute includes a path hop count, a path length or a fiber type.
PCT/CN2011/081024 2011-10-20 2011-10-20 Method and device for path calculation Ceased WO2012163015A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180002216.6A CN102439886B (en) 2011-10-20 2011-10-20 Method and device for computing path
PCT/CN2011/081024 WO2012163015A1 (en) 2011-10-20 2011-10-20 Method and device for path calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/081024 WO2012163015A1 (en) 2011-10-20 2011-10-20 Method and device for path calculation

Publications (1)

Publication Number Publication Date
WO2012163015A1 true WO2012163015A1 (en) 2012-12-06

Family

ID=45986260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081024 Ceased WO2012163015A1 (en) 2011-10-20 2011-10-20 Method and device for path calculation

Country Status (2)

Country Link
CN (1) CN102439886B (en)
WO (1) WO2012163015A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103427929B (en) * 2012-05-25 2017-11-10 中兴通讯股份有限公司 Path establishment method and device
CN103457877B (en) 2012-06-01 2018-07-27 中兴通讯股份有限公司 path establishment method and device
CN103457663B (en) * 2012-06-01 2018-08-28 中兴通讯股份有限公司 path establishment method and device
WO2014194505A1 (en) * 2013-06-06 2014-12-11 华为技术有限公司 Method, node and system for establishing wavelength connection
CN112399282B (en) 2019-08-15 2023-04-07 中兴通讯股份有限公司 Method and equipment for calculating global concurrent optimization path
CN112838987A (en) * 2019-11-25 2021-05-25 中兴通讯股份有限公司 OCH service route determining method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510851A (en) * 2002-12-24 2004-07-07 ض� Method and device for controlling and dispatching data in WDM light switching network
US20080069123A1 (en) * 2006-09-20 2008-03-20 Fujitsu Limited Signal relay apparatus, node apparatus, network system, virtual-link generating method, path calculating method, and computer product
CN101662704A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Method, system and node equipment for acquiring optical wavelength path
CN101820556A (en) * 2009-02-26 2010-09-01 华为技术有限公司 Method, device and system for routing protocol message issuance and routing computation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857837B (en) * 2011-06-30 2017-11-07 中兴通讯股份有限公司 Wavelength tag coding method, processing method and the node of flexible grid optical

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510851A (en) * 2002-12-24 2004-07-07 ض� Method and device for controlling and dispatching data in WDM light switching network
US20080069123A1 (en) * 2006-09-20 2008-03-20 Fujitsu Limited Signal relay apparatus, node apparatus, network system, virtual-link generating method, path calculating method, and computer product
CN101662704A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Method, system and node equipment for acquiring optical wavelength path
CN101820556A (en) * 2009-02-26 2010-09-01 华为技术有限公司 Method, device and system for routing protocol message issuance and routing computation

Also Published As

Publication number Publication date
CN102439886B (en) 2014-07-09
CN102439886A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
Patel et al. Survivable transparent flexible optical WDM (FWDM) networks
US9621969B2 (en) Management and control of software defined networking enabled open transport networks
US9621968B2 (en) Multi layer, multi vendor, multi domain, applications for software defined networking enabled networks
Casellas et al. Design and experimental validation of a GMPLS/PCE control plane for elastic CO-OFDM optical networks
Patel et al. Routing, wavelength assignment, and spectrum allocation algorithms in transparent flexible optical WDM networks
Agrawal et al. Spectrum efficient distance-adaptive paths for fixed and fixed-alternate routing in elastic optical networks
JP2016511576A (en) Network fragmentation measurements in optical wavelength division multiplexing (WDM) networks
WO2012163015A1 (en) Method and device for path calculation
JP2019201429A (en) Network management device, physical network management device and path setting method
WO2013000328A1 (en) Wavelength label coding method, processing method and node for flexible grid optical network
US9941992B2 (en) Method and apparatus for efficient network utilization using superchannels
EP3363168B1 (en) Path computation in a multi-tenant network
Muñoz et al. Dynamic distributed spectrum allocation in GMPLS-controlled elastic optical networks
Martínez et al. Experimental evaluation of an on-line RSA algorithm for SDN-controlled optical metro networks with VCSEL-based S-BVTs
WO2015182070A1 (en) Optical network management device and optical network management method
JP5759636B2 (en) Method for allocating bandwidth in an optical network
Yu et al. Spectrum engineering in flexible grid data center optical networks
Ji et al. Optical layer traffic grooming in flexible optical WDM (FWDM) networks
WO2013178006A1 (en) Path establishment method and device thereof
WO2013178005A1 (en) Path setting method and apparatus
Casellas et al. IDEALIST control plane architecture for multi-domain flexi-grid optical networks
Casellas et al. Path Computation Elements (PCE): Applications and Status
WO2015033545A1 (en) Optical network control apparatus and optical network control method
WO2013174219A1 (en) Method and apparatus for path establishment
Fabrega et al. Experimental Evaluation of RSA Algorithms for SDN-Programmable VCSEL-Based S-BVT in High-Capacity and Cost-Efficient Optical Metro Networks

Legal Events

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

Ref document number: 201180002216.6

Country of ref document: CN

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

Ref document number: 11866467

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

Country of ref document: EP

Kind code of ref document: A1