WO2016145658A1 - Method and apparatus for allocating wave channel - Google Patents

Method and apparatus for allocating wave channel Download PDF

Info

Publication number
WO2016145658A1
WO2016145658A1 PCT/CN2015/074599 CN2015074599W WO2016145658A1 WO 2016145658 A1 WO2016145658 A1 WO 2016145658A1 CN 2015074599 W CN2015074599 W CN 2015074599W WO 2016145658 A1 WO2016145658 A1 WO 2016145658A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
optical signal
newly added
node
nominal
Prior art date
Application number
PCT/CN2015/074599
Other languages
French (fr)
Chinese (zh)
Inventor
夏丹青
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/074599 priority Critical patent/WO2016145658A1/en
Priority to CN201580031987.6A priority patent/CN106464537B/en
Publication of WO2016145658A1 publication Critical patent/WO2016145658A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/62Wavelength based

Definitions

  • the present invention relates to the field of optical communication technologies, and in particular, to a method and an apparatus for allocating channels.
  • the channel allocated by a service light has nothing to do with the next destination node of the service light.
  • the destination nodes of the traffic lights on adjacent channels are generally different, and the traffic lights of the same destination node may be distributed in different channels of the interval.
  • the filtering window will increase. Since each filtering window has a filtering effect at the edge of the window, when the filtering window increases, the filtering on the path node increases. The effect is more obvious.
  • the channel with the filtering effect has additional attenuation. Therefore, the more dispersed the service light of the same destination node, the more filter windows, the more actual filtering times, and the more serious the power attenuation and power imbalance caused by the filtering effect.
  • a technical problem to be solved by embodiments of the present invention is to provide a method and apparatus for allocating channels. In order to solve the problem that the channel distribution is dispersed and the filtering effect is serious.
  • an embodiment of the present invention provides a method for allocating a channel, including:
  • the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
  • the newly added optical signal distributes a routing channel.
  • the node nominal filtering cost is a sum of a window nominal filtering cost of each filtering window on the node, and specifically includes:
  • the node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  • the channel nominal filtering cost is a node nominal of each node through which the routing channel passes.
  • the sum of the filtering costs including:
  • the nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  • the calculating each route in the available routing channel set The nominal channel filtering cost of the channel after the wave on the newly added optical signal is calculated by the following formula:
  • i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ⁇ C i is the new addition of the i-th routing channel after the wave on the newly added optical signal
  • M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal
  • N i is the i-th routing wave of the wavefront of the newly added optical signal
  • the nominal channel filtering cost N i of the channel is calculated by the following formula:
  • ⁇ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal
  • j is an integer, and j ⁇ [1,m];
  • the node nominal filtering cost R j of the i-th routing channel of the newly added optical signal on the jth node of the wavefront is calculated by the following formula:
  • n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal
  • ⁇ k is the weight value of the wavefront filtering window on the newly added optical signal
  • k is Integer, and k ⁇ [1,n ij ];
  • the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
  • ⁇ ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j ⁇ [1,m];
  • the nominal filtering cost S j of the node of the i-th routing channel at the jth node of the newly added optical signal is calculated by the following formula:
  • n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal
  • ⁇ ' k is the weighting value of the filtering window after the wave of the newly added optical signal
  • k is an integer and k ⁇ [1, n' ij ].
  • the number of routing channels is allocated to the newly added optical signal.
  • the allocating the routing channel for the newly added optical signal specifically includes:
  • the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  • the allocating routing channels for the newly added optical signals specifically includes:
  • the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
  • the total length of the path the number of path nodes, or the service requirement of the newly added optical signal.
  • an apparatus for allocating a channel including:
  • An obtaining unit configured to obtain a set of available routing channels between the starting node and the destination node of the newly added optical signal
  • a calculation unit configured to calculate a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering
  • the cost is the change value of the nominal filter cost of the wavefront on the newly added optical signal and the wavefront on the newly added optical signal
  • the nominal filter cost of the channel is the node of each node through which the routing channel passes.
  • the sum of the nominal filtering costs, the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
  • the routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  • the node nominal filtering cost is a sum of a window nominal filtering cost of each filtering window on the node, and specifically includes:
  • the node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  • the channel nominal filtering cost is a node identifier of each node through which the routing channel passes.
  • the sum of the filtering costs including:
  • the nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  • the calculating unit is specifically configured to calculate the available The new channel nominal filtering cost of each routing channel in the routing channel set after the wave on the newly added optical signal:
  • i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ⁇ C i is the new addition of the i-th routing channel after the wave on the newly added optical signal
  • M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal
  • N i is the i-th routing wave of the wavefront of the newly added optical signal
  • the calculating unit is specifically configured to calculate the new The nominal filter cost of the channel of the i-th routing channel on the pre-wavelength signal is N i :
  • ⁇ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal
  • j is an integer, and j ⁇ [1,m];
  • the node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
  • n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal
  • ⁇ k is the weight value of the wavefront filtering window on the newly added optical signal
  • k is Integer, and k ⁇ [1,n ij ];
  • ⁇ j ' is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j ⁇ [1,m];
  • n i ' j is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal
  • ⁇ k ' is the weight value of the filtering window of the newly added optical signal
  • k is an integer
  • the number of routing channels is allocated to the newly added optical signal.
  • the allocation unit is further used to:
  • the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  • the allocation unit is also used to:
  • the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
  • the total length of the path the number of path nodes, or the service requirement of the newly added optical signal.
  • an apparatus for allocating a channel including:
  • the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
  • a routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  • the node nominal filtering cost is a sum of a window nominal filtering cost of each filtering window on the node, and specifically includes:
  • the node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  • the nominal filtering cost of the channel is the sum of the nominal filtering costs of the nodes of the nodes through which the routing channel passes, including:
  • the nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  • the processor is specifically configured to calculate the available by using the following formula The new channel nominal filtering cost of each routing channel in the routing channel set after the wave on the newly added optical signal:
  • i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ⁇ C i is the new addition of the i-th routing channel after the wave on the newly added optical signal
  • M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal
  • N i is the i-th routing wave of the wavefront of the newly added optical signal
  • the processor is specifically configured to calculate the new The nominal filter cost of the channel of the i-th routing channel on the pre-wavelength signal is N i :
  • ⁇ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal
  • j is an integer, and j ⁇ [1,m];
  • the node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
  • n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal
  • ⁇ k is the weight value of the wavefront filtering window on the newly added optical signal
  • k is Integer, and k ⁇ [1,n ij ];
  • ⁇ ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j ⁇ [1,m];
  • n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal
  • ⁇ ' k is the weighting value of the filtering window after the wave of the newly added optical signal
  • k is an integer and k ⁇ [1, n' ij ].
  • the processor is further configured to:
  • the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  • the processor is also used to:
  • the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
  • the total length of the path the number of path nodes, or the service requirement of the newly added optical signal.
  • FIG. 1 is a schematic flow chart of a method for allocating channels according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a network topology structure between ABCDEF nodes
  • FIG. 3 is a schematic diagram of the current occupancy of the exit channels of the nodes shown in FIG. 2;
  • FIG. 4 is a schematic diagram of calculating the cost of the nominal channel filtering of the new channel by using the method shown in FIG. 1;
  • Figure 5 is a schematic view showing the composition of a first embodiment of the apparatus for allocating channels of the present invention.
  • Figure 6 is a block diagram showing the composition of a second embodiment of the apparatus for distributing channels of the present invention.
  • FIG. 1 is a schematic flowchart of a method for allocating channels according to an embodiment of the present invention.
  • the method includes the following steps:
  • the set of available paths between the start node and the destination node of the newly added optical signal may be calculated.
  • the kth shortest path (KSP) algorithm, the link state routing (LS) algorithm, the distance vector algorithm or other algorithms are used to obtain a set of available paths for a specific service.
  • each available path in the set of available paths can contain multiple nodes, each node can contain multiple channels, so after calculating the available set of paths, it is also necessary to take the current channel occupancy in each available path.
  • the available routing channel set of the newly added optical signal is counted, and the channel in the available routing channel set is a channel that can be allocated to the newly added optical signal that has not been occupied yet.
  • the optical signal may include service light, that is, an optical signal carrying service information. Since there may be an existing service light that has been uplinked, it needs to occupy a part of the channel. When a new service light is needed, there is a new one. When the boosting signal needs an upper wave, it is necessary to consider the current channel occupancy to carry out the upper wave.
  • the new optical signal when the new optical signal is added to the channel for filtering, it will affect the filtering effect of the filtering window of the original optical signal.
  • the new filter window and the original filter window form a new continuous window, which is a new total filter window.
  • the filtering effect only occurs on both sides of the new total filtering window, and the resulting filtering effect will not change; if the channel from which the original filtering window is separated is assigned to the newly added optical signal, it will be based on the original filtering window.
  • a new filtering window is added, so that there will be filtering effects on both sides of the two filtering windows, and the filtering effect will increase.
  • the new optical signal is added, the two separated from the original node will be added.
  • the filter windows are coherent to form a new complete filter window, and the window that produces the filter effect will be reduced. Therefore, it is necessary to analyze the before and after changes of the filtering effect of the post-wave routing channel on the newly added optical signal.
  • a routing channel needs to go through several nodes, whether a new filtering window is generated at each node after the uplink, whether it brings more filtering effects, so it is necessary to carry out comprehensive analysis in combination with the situation of each node on the routing channel.
  • the present application introduces the concept of nominal filtering cost. If a single filter window is affected by the double-sided filtering effect, the filtering cost is 1
  • a new channel nominal filtering cost of each of the available routing channels on the newly added optical signal can be calculated.
  • the nominal channel filtering cost of the added channel is a change value of a nominal filter cost of the wavefront of the newly added optical signal and the wavefront of the newly added optical signal, the channel nominal filtering
  • the cost is the sum of the nominal filtering costs of the nodes of the nodes through which the routing passes, and the nominal filtering cost of the nodes is the sum of the nominal filtering costs of the windows of the filtering windows on the nodes.
  • the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
  • the node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  • the nominal filter cost of the channel is the sum of the node nominal filtering costs of the nodes through which the routing channel passes, including:
  • the nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  • the nominal channel filtering cost of the newly added optical signal after the wave is calculated by the following formula:
  • i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ⁇ C i is the new addition of the i-th routing channel after the wave on the newly added optical signal
  • M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal
  • N i is the i-th routing wave of the wavefront of the newly added optical signal
  • the channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal is calculated by the following formula:
  • ⁇ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal
  • j is an integer, and j ⁇ [1,m];
  • the nominal filtering cost R j of the node of the i-th routing channel on the j-th node of the newly added optical signal is calculated by the following formula:
  • n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal
  • ⁇ k is the weight value of the wavefront filtering window on the newly added optical signal
  • k is Integer, and k ⁇ [1,n ij ];
  • the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
  • ⁇ ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j ⁇ [1,m];
  • the nominal filtering cost S j of the node of the i-th routing channel at the jth node of the newly added optical signal is calculated by the following formula:
  • n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal
  • ⁇ ' k is the weighting value of the filtering window after the wave of the newly added optical signal
  • k is an integer and k ⁇ [1, n' ij ].
  • the above ⁇ j , ⁇ ′ j , ⁇ k , and ⁇ ′ k may take a value of 1 for ease of understanding and calculation.
  • the node nominal filtering cost of a node is equal to the number of filtering windows.
  • it may be configured according to the service priority and/or the distance between two adjacent filtering windows according to the newly added optical signal. For example, if the filtering window of the upper wavefront has a higher priority, the higher weight value can be configured for the window.
  • the preset threshold can be set to 0 or 1.
  • the threshold can even be a negative number.
  • the routing channel can be assigned to the newly added optical signal according to the newly added nominal filtering cost, except for setting In addition to the predetermined threshold for screening, of course, it is also possible to sort the routing channels from small to large according to the nominal filtering cost of the new wave after the upper wave, and select the routing channel with the top ranking for the newly added optical signal. wave.
  • the allocating the routing channel for the newly added optical signal specifically includes:
  • the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  • the routing channel for the newly added optical signal specifically includes:
  • the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
  • the total length of the path the number of path nodes, or the service requirement of the newly added optical signal.
  • the route length can be further filtered based on the total length of the path.
  • the longer the total path length the power requirement of the signal.
  • the higher, and in order to increase the power will also amplify the noise synchronously, which has an adverse effect. Therefore, in the case where the new channel nominal filtering cost is the same, the routing channel with a shorter total path length may be preferentially assigned to the newly added optical signal; and the routing channel with a larger number of path nodes is inevitably Each node will have energy loss of some signals.
  • the routing channel with fewer path nodes can be preferentially allocated to the newly added optical signal to reduce energy loss;
  • the service requirement of the enhanced optical signal when it specifies a certain routing channel or the notification system reserves the resources of a certain routing channel, can be allocated based on the service requirement of the newly added optical signal.
  • the above reference information may be considered separately or in combination, and the embodiment of the present invention is not limited thereto.
  • the current carrying capacity of the wavelength division system, the requirements of other existing service lights, and the like are considered, and the embodiments of the present invention are also not limited.
  • FIG. 2 is a schematic diagram of a network topology structure between ABCDEF nodes;
  • FIG. 3 is a schematic diagram of current occupancy of each node exit channel shown in FIG. 2;
  • FIG. The method shown in FIG. 1 is a schematic diagram of calculating the cost of the nominal channel filtering of the new channel of the routing channel.
  • the first node of the newly added optical signal is A
  • the last node is A. It can be calculated by the routing algorithm.
  • the available paths include ABCD, AFED, ABFED, and AFECD.
  • the current channel occupancy on the four paths is known, as shown in FIG. 3, wherein the shaded block is the occupied channel, and the blank block is the idle channel.
  • the four paths in the available path set will be The nodes are combined to obtain the available routing channel set as shown in FIG. 5.
  • the blank coherent area in which the horizontal line traverses is an available routing channel.
  • the new channel filtering cost of each routing channel can be calculated.
  • the first routing channel takes the filter window weight value before and after the wave on the newly added optical signal and the routing channel weight values ( ⁇ j , ⁇ ′ j , ⁇ k , and ⁇ ′ k ) are all 1
  • the new route channel with the smaller nominal filter cost is more suitable for the upper wave channel of the newly added optical signal.
  • a set of routing channels whose nominal channel filtering cost is less than a certain preset threshold as a preferred set for use in subsequent channel allocation.
  • a channel with a nominal channel filtering cost of no more than -1 can be selected as a preferred set (two in the figure), because the selection in this set allows the new channel to be nominally filtered.
  • the cost is reduced; the limit can also be relaxed, and the channel with the new channel nominal filtering cost not greater than 1 is selected as the preferred set (there are 7 in the figure).
  • the routing channel with the same cost for the new channel nominal filtering is shown in Figure 5.
  • the new channel in ABCD and ABFED has a nominal channel filtering cost of -1, which can be further based on the path of the routing channel.
  • the length, the number of path nodes, or the service requirements of the newly added optical signal are selected. For example, the route channel ABCD with fewer path nodes can be selected for allocation.
  • This method is used to calculate the nominal channel filtering cost of the new channel of the routing channel.
  • the calculation is simple and can improve the system working efficiency. Selecting the channel with the new channel nominal filtering cost can reduce the filtering window and filtering times as much as possible.
  • the filtering cost of the new upper wave is small, but also the filtering cost of the adjacent channel of the upper wave channel can be reduced, thereby reducing the signal light attenuation and improving the power attenuation problem of the existing channel.
  • FIG. 5 it is a schematic diagram of a first embodiment of a device for allocating channels according to the present invention.
  • the device includes:
  • the obtaining unit 100 is configured to obtain an available routing channel set between the starting node and the destination node of the newly added optical signal;
  • the calculating unit 200 is configured to calculate a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, where the added channel nominal
  • the filtering cost is a variation value of the nominal filtering cost of the wavefront on the newly added optical signal and the wavefront on the newly added optical signal, and the nominal filtering cost of the channel is the node passing through the routing channel
  • the sum of the node nominal filtering costs, the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
  • the allocating unit 300 allocates a routing channel to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  • the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
  • the node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  • the nominal filtering cost of the channel is the sum of the nominal filtering costs of the nodes of the nodes through which the routing channel passes, and specifically includes:
  • the nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  • the calculating unit 200 is specifically configured to calculate, by using the following formula, a new channel nominal filtering cost after each of the routing channels in the available routing channel set on the newly added optical signal:
  • i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ⁇ C i is the new addition of the i-th routing channel after the wave on the newly added optical signal
  • M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal
  • N i is the i-th routing wave of the wavefront of the newly added optical signal
  • the calculating unit 200 is specifically configured to calculate a channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal by using the following formula:
  • ⁇ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal
  • j is an integer, and j ⁇ [1,m];
  • the node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
  • n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal
  • ⁇ k is the weight value of the wavefront filtering window on the newly added optical signal
  • k is Integer, and k ⁇ [1,n ij ];
  • ⁇ ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j ⁇ [1,m];
  • n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal
  • ⁇ ' k is the weighting value of the filtering window after the wave of the newly added optical signal
  • k is an integer and k ⁇ [1, n' ij ].
  • the allocation unit 300 is further configured to:
  • the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  • the allocation unit 300 is further configured to: if the number of routing channels with the minimum cost of the new channel nominal filtering is greater than one, the allocation unit 300 is further configured to:
  • the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
  • the total length of the path the number of path nodes, or the service requirement of the newly added optical signal.
  • the foregoing obtaining unit 100, the calculating unit 200, and the allocating unit 300 may exist independently or in an integrated manner.
  • the obtaining unit 100, the calculating unit 200, or the allocating unit 300 may be independent of the distributed wave in the form of hardware.
  • the processor of the device is separately provided and can be in the form of a microprocessor; it can also be embedded in the processor of the device in hardware, or can be stored in the memory of the device in software, so as to facilitate The processor of the device invokes an operation corresponding to the above acquisition unit 100, calculation unit 200, or allocation unit 300.
  • the computing unit 200 may be a processor of the device that allocates the channels, and the functions of the obtaining unit 100 and the allocating unit 300 may be embedded.
  • the processor it can also be set separately from the processor, or can be stored in the memory in the form of software, and the function is called by the processor.
  • the embodiment of the invention does not impose any limitation.
  • the above processor may be a central processing unit (CPU), a microprocessor, a single chip microcomputer, or the like.
  • FIG. 6 it is a schematic diagram of a second embodiment of a device for allocating channels according to the present invention.
  • the device includes:
  • the processor 600 stores a set of program codes
  • the processor 700 is configured to invoke the program code stored in the memory 600 to perform the following operations:
  • the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
  • a routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  • the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
  • the node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  • the nominal filtering cost of the channel is the sum of the nominal filtering costs of the nodes of the nodes through which the routing channel passes, and specifically includes:
  • the nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  • the processor 700 is specifically configured to calculate, by using the following formula, a new channel nominal filtering cost of each routing channel in the available routing channel set after the wave on the newly added optical signal:
  • i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ⁇ C i is the new addition of the i-th routing channel after the wave on the newly added optical signal
  • M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal
  • N i is the i-th routing wave of the wavefront of the newly added optical signal
  • the processor 700 is specifically configured to calculate a channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal by using the following formula:
  • ⁇ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal
  • j is an integer, and j ⁇ [1,m];
  • the node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
  • n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal
  • ⁇ k is the weight value of the wavefront filtering window on the newly added optical signal
  • k is Integer, and k ⁇ [1,n ij ];
  • ⁇ ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j ⁇ [1,m];
  • n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal
  • ⁇ ' k is the weighting value of the filtering window after the wave of the newly added optical signal
  • k is an integer and k ⁇ [1, n' ij ].
  • the processor 700 is further configured to:
  • the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  • the processor 700 is also used to:
  • the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
  • the total length of the path the number of path nodes, or the service requirement of the newly added optical signal.
  • the present invention has the following advantages:
  • the filtering effect of the existing optical signal and the newly added optical signal is reduced as much as possible, and the filtering window and the filtering times are reduced, thereby reducing the optical signal attenuation and improving the power imbalance, without adding hardware.
  • the cost can increase the link budget, which not only ensures the filtering cost of the newly added optical signal, but also reduces the filtering effect of the existing optical signal, improves the power attenuation problem of the existing channel, and defines the nominal filtering.
  • simple quantization calculation of the filtering effect intensity can be realized, which makes the channel distribution more accurate, and can also improve the efficiency of automatic calculation and allocation.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

Disclosed is a method for allocating a wave channel, comprising: acquiring an available route wave channel set of a newly added optical signal between a start node and a destination node; calculating a newly added wave channel nominal filter cost of each route wave channel in the available route wave channel set after the newly added optical signal is waved up; and allocating a route wave channel for the newly added optical signal in the route wave channel corresponding to newly added wave channel nominal filter cost which is less than or equal to a pre-set threshold value. Also disclosed is an apparatus for allocating a wave channel. By means of the present invention, the problem of a serious filter effect caused by wave channel allocation dispersion is solved.

Description

一种分配波道的方法及装置Method and device for allocating channels 技术领域Technical field
本发明涉及光通信技术领域,尤其涉及一种分配波道的方法及装置。The present invention relates to the field of optical communication technologies, and in particular, to a method and an apparatus for allocating channels.
背景技术Background technique
在现有的波分网络中,一系列业务光,即一系列携带业务信息的光信号抵达共同的路径节点后,在此节点下波的业务光以及继续流向其它节点的业务光将会在该节点的出口处滤波分离。每一个出口都会有各自的滤波窗口,以实现只让由此出口离开节点,即下波的业务光通过。In an existing WDM network, after a series of service lights, that is, a series of optical signals carrying service information arrive at a common path node, the service light of the lower wave at the node and the service light that continues to flow to other nodes will be in the Filter separation at the exit of the node. Each exit will have its own filtering window to allow only the exit of the node to exit the node, ie the downstream traffic.
在目前的波道分配原则中,一条业务光所分配的波道与这条业务光的下一目的节点无关。相邻波道上的业务光的目的节点一般不同,而相同目的节点的业务光可能分布在间隔的不同波道。当多条目的节点相同的业务光分布在间隔的不同波道上时,将导致滤波窗口增多,由于每个滤波窗口在窗口边缘处都存在滤波效应,因此当滤波窗口增多时,路径节点上的滤波效应越明显。而存在滤波效应的波道会有额外的衰减。因此,同一目的节点的业务光越分散,滤波窗口越多,实际滤波次数也就越多,由于滤波效应导致的功率衰减和功率不平衡就越严重。In the current channel allocation principle, the channel allocated by a service light has nothing to do with the next destination node of the service light. The destination nodes of the traffic lights on adjacent channels are generally different, and the traffic lights of the same destination node may be distributed in different channels of the interval. When the same service light of a multi-entry node is distributed on different channels of the interval, the filtering window will increase. Since each filtering window has a filtering effect at the edge of the window, when the filtering window increases, the filtering on the path node increases. The effect is more obvious. The channel with the filtering effect has additional attenuation. Therefore, the more dispersed the service light of the same destination node, the more filter windows, the more actual filtering times, and the more serious the power attenuation and power imbalance caused by the filtering effect.
发明内容Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种分配波道的方法及装置。以解决波道分配分散导致滤波效应严重的问题。A technical problem to be solved by embodiments of the present invention is to provide a method and apparatus for allocating channels. In order to solve the problem that the channel distribution is dispersed and the filtering effect is serious.
第一方面,本发明实施例提供了一种分配波道的方法,包括:In a first aspect, an embodiment of the present invention provides a method for allocating a channel, including:
获取新增光信号在起始节点和目的节点之间的可用路由波道集合;Obtaining a set of available routing channels between the starting node and the destination node of the newly added optical signal;
计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;Calculating a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为 所述新增光信号分配路由波道。In the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold The newly added optical signal distributes a routing channel.
结合第一方面的实现方式,在第一方面第一种可能的实现方式中,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:In conjunction with the implementation of the first aspect, in a first possible implementation manner of the first aspect, the node nominal filtering cost is a sum of a window nominal filtering cost of each filtering window on the node, and specifically includes:
所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
结合第一方面、或第一方面第一种可能的实现方式,在第一方面第二种可能的实现方式中,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the channel nominal filtering cost is a node nominal of each node through which the routing channel passes. The sum of the filtering costs, including:
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
结合第一方面、或第一方面第一种至第二种任一可能的实现方式,在第一方面第三种可能的实现方式中,所述计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,通过如下公式计算:With reference to the first aspect, or any one of the first to the second possible implementation manners of the first aspect, in the third possible implementation manner of the first aspect, the calculating each route in the available routing channel set The nominal channel filtering cost of the channel after the wave on the newly added optical signal is calculated by the following formula:
ΔCi=Mi-Ni ΔC i =M i -N i
其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
结合第一方面、或第一方面第一种至第三种任一可能的实现方式,在第一方面第四种可能的实现方式中,所述新增光信号上波前第i条路由波道的波道标称滤波代价Ni通过如下公式计算:With reference to the first aspect, or any one of the first to third possible implementation manners of the first aspect, in the fourth possible implementation manner of the first aspect, The nominal channel filtering cost N i of the channel is calculated by the following formula:
Figure PCTCN2015074599-appb-000001
Figure PCTCN2015074599-appb-000001
其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价Rj通过如下公式计算: The node nominal filtering cost R j of the i-th routing channel of the newly added optical signal on the jth node of the wavefront is calculated by the following formula:
Figure PCTCN2015074599-appb-000002
Figure PCTCN2015074599-appb-000002
其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
所述新增光信号上波后第i条路由波道的波道标称滤波代价Mi通过如下公式计算:The channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000003
Figure PCTCN2015074599-appb-000003
其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价Sj通过如下公式计算:The nominal filtering cost S j of the node of the i-th routing channel at the jth node of the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000004
Figure PCTCN2015074599-appb-000004
其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
结合第一方面、或第一方面第一种至第四种任一可能的实现方式,在第一方面第五种可能的实现方式中,若为所述新增光信号分配路由波道的数量为1时,所述为所述新增光信号分配路由波道具体包括:With reference to the first aspect, or any one of the first to fourth possible implementations of the first aspect, in the fifth possible implementation manner of the first aspect, the number of routing channels is allocated to the newly added optical signal. When the value is 1, the allocating the routing channel for the newly added optical signal specifically includes:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
结合第一方面、或第一方面第一种至第五种任一可能的实现方式,在第一方面第六种可能的实现方式中,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述为所述新增光信号分配路由波道具体包括:With reference to the first aspect, or any of the first to fifth possible implementation manners of the first aspect, in the sixth possible implementation manner of the first aspect, if the added channel nominal filtering is the least costly route When the number of channels is greater than 1, the allocating routing channels for the newly added optical signals specifically includes:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道: And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
第二方面,本发明实施例提供了一种分配波道的装置,包括:In a second aspect, an embodiment of the present invention provides an apparatus for allocating a channel, including:
获取单元,用于获取新增光信号在起始节点和目的节点之间的可用路由波道集合;An obtaining unit, configured to obtain a set of available routing channels between the starting node and the destination node of the newly added optical signal;
计算单元,用于计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;a calculation unit, configured to calculate a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering The cost is the change value of the nominal filter cost of the wavefront on the newly added optical signal and the wavefront on the newly added optical signal, and the nominal filter cost of the channel is the node of each node through which the routing channel passes. The sum of the nominal filtering costs, the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
分配单元,在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。And an allocating unit, the routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
结合第二方面的实现方式,在第二方面第一种可能的实现方式中,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:With reference to the implementation of the second aspect, in a first possible implementation manner of the second aspect, the node nominal filtering cost is a sum of a window nominal filtering cost of each filtering window on the node, and specifically includes:
所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
结合第二方面、或第二方面第一种可能的实现方式,在第二方面第二种可能的实现方式中,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the channel nominal filtering cost is a node identifier of each node through which the routing channel passes. The sum of the filtering costs, including:
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
结合第二方面、或第二方面第一种至第二种任一可能的实现方式,在第二方面第三种可能的实现方式中,所述计算单元具体用于通过如下公式计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价:With reference to the second aspect, or the second aspect, the second to the second possible implementation manner, in the third possible implementation manner of the second aspect, the calculating unit is specifically configured to calculate the available The new channel nominal filtering cost of each routing channel in the routing channel set after the wave on the newly added optical signal:
ΔCi=Mi-Ni ΔC i =M i -N i
其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni 为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
结合第二方面、或第二方面第一种至第三种任一可能的实现方式,在第二方面第四种可能的实现方式中,所述计算单元具体用于通过如下公式计算所述新增光信号上波前第i条路由波道的波道标称滤波代价NiWith reference to the second aspect, or any one of the first to third possible implementations of the second aspect, in a fourth possible implementation manner of the second aspect, the calculating unit is specifically configured to calculate the new The nominal filter cost of the channel of the i-th routing channel on the pre-wavelength signal is N i :
Figure PCTCN2015074599-appb-000005
Figure PCTCN2015074599-appb-000005
其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价RjThe node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000006
Figure PCTCN2015074599-appb-000006
其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
通过如下公式计算所述新增光信号上波后第i条路由波道的波道标称滤波代价MiCalculating the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000007
Figure PCTCN2015074599-appb-000007
其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρj′为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ j ' is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价SjCalculating the node nominal filtering cost S j of the i-th routing channel at the jth node after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000008
Figure PCTCN2015074599-appb-000008
其中,nij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,ηk′为所述新增光信号上波后滤波窗口的权重值,k为整数,且 k∈[1,nij]。Where n i ' j is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η k ' is the weight value of the filtering window of the newly added optical signal , k is an integer, and k ∈ [1, n i ' j ].
结合第二方面、或第二方面第一种至第四种任一可能的实现方式,在第二方面第五种可能的实现方式中,若为所述新增光信号分配路由波道的数量为1时,则所述分配单元还用于:With reference to the second aspect, or any one of the second to fourth possible implementation manners, in the fifth possible implementation manner of the second aspect, the number of routing channels is allocated to the newly added optical signal. When 1, the allocation unit is further used to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
结合第二方面、或第二方面第一种至第五种任一可能的实现方式,在第二方面第六种可能的实现方式中,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述分配单元还用于:With reference to the second aspect, or any one of the first to fifth possible implementation manners of the second aspect, in the sixth possible implementation manner of the second aspect, if the added channel nominal filtering is the least costly route When the number of channels is greater than 1, the allocation unit is also used to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
第三方面,本发明实施例提供了一种分配波道的装置,包括:In a third aspect, an embodiment of the present invention provides an apparatus for allocating a channel, including:
输入设备、输出设备、存储器和处理器,所述输入设备、输出设备、存储器和处理器与总线连接,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:An input device, an output device, a memory, and a processor, the input device, the output device, the memory, and the processor being coupled to the bus, wherein the memory stores a set of program code, the processor for invoking the memory Program code, do the following:
获取新增光信号在起始节点和目的节点之间的可用路由波道集合;Obtaining a set of available routing channels between the starting node and the destination node of the newly added optical signal;
计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;Calculating a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。A routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
结合第三方面的实现方式,在第三方面第一种可能的实现方式中,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:In conjunction with the implementation of the third aspect, in a first possible implementation manner of the third aspect, the node nominal filtering cost is a sum of a window nominal filtering cost of each filtering window on the node, and specifically includes:
所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
结合第三方面、或第三方面第一种可能的实现方式,在第三方面第二种可 能的实现方式中,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:In combination with the third aspect, or the first possible implementation manner of the third aspect, the second In the energy implementation manner, the nominal filtering cost of the channel is the sum of the nominal filtering costs of the nodes of the nodes through which the routing channel passes, including:
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
结合第三方面、或第三方面第一种至第二种任一可能的实现方式,在第三方面第三种可能的实现方式中,所述处理器具体用于通过如下公式计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价:With reference to the third aspect, or any one of the first to the second possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, the processor is specifically configured to calculate the available by using the following formula The new channel nominal filtering cost of each routing channel in the routing channel set after the wave on the newly added optical signal:
ΔCi=Mi-Ni ΔC i =M i -N i
其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
结合第三方面、或第三方面第一种至第三种任一可能的实现方式,在第三方面第四种可能的实现方式中,所述处理器具体用于通过如下公式计算所述新增光信号上波前第i条路由波道的波道标称滤波代价NiWith reference to the third aspect, or any one of the third to the third possible implementation manners, in a fourth possible implementation manner of the third aspect, the processor is specifically configured to calculate the new The nominal filter cost of the channel of the i-th routing channel on the pre-wavelength signal is N i :
Figure PCTCN2015074599-appb-000009
Figure PCTCN2015074599-appb-000009
其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价RjThe node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000010
Figure PCTCN2015074599-appb-000010
其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij]; Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
通过如下公式计算所述新增光信号上波后第i条路由波道的波道标称滤波代价MiCalculating the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000011
Figure PCTCN2015074599-appb-000011
其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价SjCalculating the node nominal filtering cost S j of the i-th routing channel at the jth node after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000012
Figure PCTCN2015074599-appb-000012
其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
结合第三方面、或第三方面第一种至第四种任一可能的实现方式,在第三方面第五种可能的实现方式中,若为所述新增光信号分配路由波道的数量为1时,所述处理器还用于:With reference to the third aspect, or any one of the first to fourth possible implementation manners of the third aspect, in the fifth possible implementation manner of the third aspect, if the number of routing channels is allocated to the newly added optical signal When 1, the processor is further configured to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
结合第三方面、或第三方面第一种至第五种任一可能的实现方式,在第三方面第六种可能的实现方式中,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述处理器还用于:With reference to the third aspect, or any one of the first to fifth possible implementation manners of the third aspect, in the sixth possible implementation manner of the third aspect, if the added channel nominal filtering is the least costly route When the number of channels is greater than 1, the processor is also used to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
实施本发明实施例,具有如下有益效果:Embodiments of the present invention have the following beneficial effects:
通过获取所述新增光信号的可用路由波道集合,并基于新增光信号上波后路由波道的新增波道标称滤波代价的计算结果来为新增光信号分配波道,可使得新增光信号上波后,尽可能的降低现有光信号和新增光信号的滤波效应,减 少滤波窗口及滤波次数,从而降低光信号衰减,改善功率不平衡的问题,同时无需增加硬件成本,可提升链路预算,不仅可以确保新增光信号上波的滤波代价较小,甚至还可以降低现有光信号的滤波效应,改善已有通道的功率衰减问题,且通过定义标称滤波代价,可实现对滤波效应强度进行简单的量化计算,使得波道分配更加精确,同时也能提高自动化计算和分配的效率。By acquiring the available routing channel set of the newly added optical signal, and assigning a channel to the newly added optical signal based on the calculation result of the newly added nominal filtering cost of the newly added optical signal on the post-wave routing channel, After adding the optical signal to the wave, the filtering effect of the existing optical signal and the newly added optical signal is reduced as much as possible. Less filtering window and filtering times, thus reducing the attenuation of optical signals and improving the problem of power imbalance, without increasing the hardware cost, and improving the link budget, not only ensuring that the filtering cost of the newly added optical signal is small, and even The filtering effect of the existing optical signal is reduced, the power attenuation problem of the existing channel is improved, and the definition of the nominal filtering cost can be used to perform simple quantization calculation on the filtering effect intensity, which makes the channel allocation more accurate and can also improve automation. The efficiency of calculation and allocation.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本发明实施例分配波道的方法的流程示意图;1 is a schematic flow chart of a method for allocating channels according to an embodiment of the present invention;
图2是ABCDEF各节点之间的网络拓扑结构示意图;2 is a schematic diagram of a network topology structure between ABCDEF nodes;
图3是图2所示各个节点出口波道的当前占用情况的示意图;3 is a schematic diagram of the current occupancy of the exit channels of the nodes shown in FIG. 2;
图4是采用图1所示方法进行路由波道新增波道标称滤波代价计算的示意图;4 is a schematic diagram of calculating the cost of the nominal channel filtering of the new channel by using the method shown in FIG. 1;
图5是本发明分配波道的装置的第一实施例组成示意图;Figure 5 is a schematic view showing the composition of a first embodiment of the apparatus for allocating channels of the present invention;
图6是本发明分配波道的装置的第二实施例组成示意图。Figure 6 is a block diagram showing the composition of a second embodiment of the apparatus for distributing channels of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参照图1,为本发明实施例分配波道的方法的流程示意图,在本实施例中,所述方法包括以下步骤:1 is a schematic flowchart of a method for allocating channels according to an embodiment of the present invention. In this embodiment, the method includes the following steps:
S101,获取新增光信号在起始节点和目的节点之间的可用路由波道集合。S101. Acquire a set of available routing channels between the starting node and the destination node of the newly added optical signal.
在获取可用路由波道集合之前,可先计算新增光信号在起始节点和目的节点之间的可用路径集合。可选地,在进行路径计算以获取可用路径集合时,可 采用第k条最短路径(Kth Shortest Path,简称KSP)算法、链路状态路由(Link-State Routing Algorithm,简称LS)算法、距离向量算法或其他算法得到具体某一业务的可用路径集合。Before obtaining the available route channel set, the set of available paths between the start node and the destination node of the newly added optical signal may be calculated. Optionally, when performing path calculation to obtain a set of available paths, The kth shortest path (KSP) algorithm, the link state routing (LS) algorithm, the distance vector algorithm or other algorithms are used to obtain a set of available paths for a specific service.
然后根据所述可用路径集合中每条可用路径的当前波道占用情况获取所述新增光信号的可用路由波道集合。And obtaining an available routing channel set of the newly added optical signal according to a current channel occupancy of each available path in the available path set.
由于可用路径集合中的每条可用路径可包含多个节点,每个节点可包含多个波道,因此在计算得到可用路径集合后,还需要根据每条可用路径中的当前波道占用情况来统计所述新增光信号的可用路由波道集合,可用路由波道集合中的波道即为还未被占用的可分配给新增光信号使用的波道。Since each available path in the set of available paths can contain multiple nodes, each node can contain multiple channels, so after calculating the available set of paths, it is also necessary to take the current channel occupancy in each available path. The available routing channel set of the newly added optical signal is counted, and the channel in the available routing channel set is a channel that can be allocated to the newly added optical signal that has not been occupied yet.
当波分系统运行时,光信号可以包括业务光,即携带业务信息的光信号,由于可能存在现有业务光已上波,其需要占用一部分波道,当需要新增业务光,即有新增光信号需要上波时,则需要考虑当前波道占用情况来进行上波。When the WDM system is running, the optical signal may include service light, that is, an optical signal carrying service information. Since there may be an existing service light that has been uplinked, it needs to occupy a part of the channel. When a new service light is needed, there is a new one. When the boosting signal needs an upper wave, it is necessary to consider the current channel occupancy to carry out the upper wave.
S102,计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价。S102. Calculate a new channel nominal filtering cost of each routing channel in the available routing channel set after the wave on the newly added optical signal.
对于原有光信号的滤波窗口边缘所产生的滤波效应,当新增光信号上波即进入波道进行滤波后,其将会对原有的光信号的滤波窗口的滤波效应产生影响。对于指定节点而言,若将原有滤波窗口相邻的波道分配给新增光信号,则新的滤波窗口跟原有的滤波窗口构成一个新的连续的窗口,为新的总滤波窗口,其滤波效应仅发生在新的总滤波窗口的两侧,产生的滤波效应将不变;若将原有滤波窗口相离的波道分配给新增光信号,则在原有滤波窗口的基础上将新增一个全新的滤波窗口,这样将会有两个滤波窗口的两侧同时产生滤波效应,产生的滤波效应将会增加;而当新增光信号上波后,将原来节点上相离的两个滤波窗口连贯起来形成一个新的完整的滤波窗口,则产生滤波效应的窗口将会减少。因此,需要分析新增光信号上波后路由波道的滤波效应的前后变化。For the filtering effect generated by the edge of the filtering window of the original optical signal, when the new optical signal is added to the channel for filtering, it will affect the filtering effect of the filtering window of the original optical signal. For a given node, if the adjacent channel of the original filter window is assigned to the newly added optical signal, the new filter window and the original filter window form a new continuous window, which is a new total filter window. The filtering effect only occurs on both sides of the new total filtering window, and the resulting filtering effect will not change; if the channel from which the original filtering window is separated is assigned to the newly added optical signal, it will be based on the original filtering window. A new filtering window is added, so that there will be filtering effects on both sides of the two filtering windows, and the filtering effect will increase. When the new optical signal is added, the two separated from the original node will be added. The filter windows are coherent to form a new complete filter window, and the window that produces the filter effect will be reduced. Therefore, it is necessary to analyze the before and after changes of the filtering effect of the post-wave routing channel on the newly added optical signal.
且一条路由波道需要经过若干节点,上波后每个节点处是否生成新的滤波窗口,是否带来更多滤波效应,因此需要结合该路由波道上各个节点的情况进行综合分析。And a routing channel needs to go through several nodes, whether a new filtering window is generated at each node after the uplink, whether it brings more filtering effects, so it is necessary to carry out comprehensive analysis in combination with the situation of each node on the routing channel.
为了对滤波效应进行简单而量化的计算和描述,本申请引入了标称滤波代价的概念。若单个滤波窗口在滤波时受到双侧滤波效应影响的滤波代价为1 个标称滤波代价,则可以计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价。其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和。In order to perform simple and quantitative calculations and descriptions of filtering effects, the present application introduces the concept of nominal filtering cost. If a single filter window is affected by the double-sided filtering effect, the filtering cost is 1 For a nominal filtering cost, a new channel nominal filtering cost of each of the available routing channels on the newly added optical signal can be calculated. The nominal channel filtering cost of the added channel is a change value of a nominal filter cost of the wavefront of the newly added optical signal and the wavefront of the newly added optical signal, the channel nominal filtering The cost is the sum of the nominal filtering costs of the nodes of the nodes through which the routing passes, and the nominal filtering cost of the nodes is the sum of the nominal filtering costs of the windows of the filtering windows on the nodes.
可选地,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:Optionally, the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
类似地,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:Similarly, the nominal filter cost of the channel is the sum of the node nominal filtering costs of the nodes through which the routing channel passes, including:
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
具体在计算时,所述新增光信号上波后的新增波道标称滤波代价,可通过如下公式计算:Specifically, in the calculation, the nominal channel filtering cost of the newly added optical signal after the wave is calculated by the following formula:
ΔCi=Mi-Ni  (1)ΔC i =M i -N i (1)
其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
所述新增光信号上波前第i条路由波道的波道标称滤波代价Ni通过如下公式计算:The channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000013
Figure PCTCN2015074599-appb-000013
其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价 Rj通过如下公式计算:The nominal filtering cost R j of the node of the i-th routing channel on the j-th node of the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000014
Figure PCTCN2015074599-appb-000014
其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
所述新增光信号上波后第i条路由波道的波道标称滤波代价Mi通过如下公式计算:The channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000015
Figure PCTCN2015074599-appb-000015
其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价Sj通过如下公式计算:The nominal filtering cost S j of the node of the i-th routing channel at the jth node of the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000016
Figure PCTCN2015074599-appb-000016
其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
可选地,为了便于理解和计算,以上ρj、ρ′j、ηk以及η′k可取值为1。此时,某个节点的节点标称滤波代价即等于其滤波窗口数量。或者,还可以根据新增光信号上波前后,根据业务优先级和/或两个相邻滤波窗口的距离进行配置。例如,上波前的滤波窗口其中运行的业务优先级较高,则可以为该窗口配置较高的权重值。Alternatively, the above ρ j , ρ′ j , η k , and η′ k may take a value of 1 for ease of understanding and calculation. At this point, the node nominal filtering cost of a node is equal to the number of filtering windows. Alternatively, it may be configured according to the service priority and/or the distance between two adjacent filtering windows according to the newly added optical signal. For example, if the filtering window of the upper wavefront has a higher priority, the higher weight value can be configured for the window.
S104,在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。S104. Allocate a routing channel to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
此处预设阈值可以设为0或1,当新增光信号将相离的两个滤波窗口连成一个连贯的新的滤波窗口时,此处的阈值甚至还可以是负数。 Here, the preset threshold can be set to 0 or 1. When the newly added optical signal connects the two separated filtering windows into a coherent new filtering window, the threshold here can even be a negative number.
当计算得到新增光信号上波后各路由波道的新增波道标称滤波代价之后,便可以根据新增波道标称滤波代价来为新增光信号分配路由波道,除了设定预定阈值进行筛选之外,当然,还可以根据上波后的新增波道标称滤波代价从小到到大为路由波道进行排序,为新增光信号选择排序靠前的路由波道进行上波。After calculating the new channel nominal filtering cost of each routing channel after the new optical signal is added, the routing channel can be assigned to the newly added optical signal according to the newly added nominal filtering cost, except for setting In addition to the predetermined threshold for screening, of course, it is also possible to sort the routing channels from small to large according to the nominal filtering cost of the new wave after the upper wave, and select the routing channel with the top ranking for the newly added optical signal. wave.
可选地,若为所述新增光信号分配路由波道的数量为1时,所述为所述新增光信号分配路由波道具体包括:Optionally, if the number of routing channels allocated to the newly added optical signal is 1, the allocating the routing channel for the newly added optical signal specifically includes:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述为所述新增光信号分配路由波道具体包括:If the number of routing channels with the minimum cost of the newly added channel is greater than 1, the routing channel for the newly added optical signal specifically includes:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
例如,若新增波道标称滤波代价最小为0,且这样的路由波道有5条,则可以基于路径总长度进一步筛选,路径总长度越长的路由波道,其对信号的功率要求越高,而为了提高功率也将同步放大噪声,带来不利影响。因此,在新增波道标称滤波代价相同的情况下,可优先为新增光信号分配路径总长度较短的路由波道;而路径节点数较多的路由波道,其不可避免的在每个节点会存在部分信号的能量损耗,因此在新增波道标称滤波代价相同的情况下,可优先为新增光信号分配路径节点较少的路由波道以减少能量损耗;而基于新增光信号的业务需求,当其指定某条路由波道或通知系统预留某条路由波道的资源时,则可以优先基于所述新增光信号的业务需求进行分配。上述参考信息可单独考虑,也可综合考虑,本发明实施例不作任何限定。除了这些参考信息之外,还可以参考波分系统当前的承载能力,其他现有业务光的需求等因素考虑,本发明实施例同样不作任何限定。For example, if the newly added channel nominal filtering cost is 0, and there are 5 such routing channels, the route length can be further filtered based on the total length of the path. The longer the total path length, the power requirement of the signal. The higher, and in order to increase the power will also amplify the noise synchronously, which has an adverse effect. Therefore, in the case where the new channel nominal filtering cost is the same, the routing channel with a shorter total path length may be preferentially assigned to the newly added optical signal; and the routing channel with a larger number of path nodes is inevitably Each node will have energy loss of some signals. Therefore, when the cost of the new channel nominal filtering is the same, the routing channel with fewer path nodes can be preferentially allocated to the newly added optical signal to reduce energy loss; The service requirement of the enhanced optical signal, when it specifies a certain routing channel or the notification system reserves the resources of a certain routing channel, can be allocated based on the service requirement of the newly added optical signal. The above reference information may be considered separately or in combination, and the embodiment of the present invention is not limited thereto. In addition to the reference information, the current carrying capacity of the wavelength division system, the requirements of other existing service lights, and the like are considered, and the embodiments of the present invention are also not limited.
通过获取所述新增光信号的可用路由波道集合,并基于新增光信号上波后路由波道的新增波道标称滤波代价的计算结果来为新增光信号分配波道,可使得新增光信号上波后,尽可能的降低现有光信号和新增光信号的滤波效应,减 少滤波窗口及滤波次数,从而降低光信号衰减,改善功率不平衡的问题,同时无需增加硬件成本,可提升链路预算,不仅可以确保新增光信号上波的滤波代价较小,甚至还可以降低现有光信号的滤波效应,改善已有通道的功率衰减问题,且通过定义标称滤波代价,可实现对滤波效应强度进行简单的量化计算,使得波道分配更加精确,同时也能提高自动化计算和分配的效率。By acquiring the available routing channel set of the newly added optical signal, and assigning a channel to the newly added optical signal based on the calculation result of the newly added nominal filtering cost of the newly added optical signal on the post-wave routing channel, After adding the optical signal to the wave, the filtering effect of the existing optical signal and the newly added optical signal is reduced as much as possible. Less filtering window and filtering times, thus reducing the attenuation of optical signals and improving the problem of power imbalance, without increasing the hardware cost, and improving the link budget, not only ensuring that the filtering cost of the newly added optical signal is small, and even The filtering effect of the existing optical signal is reduced, the power attenuation problem of the existing channel is improved, and the definition of the nominal filtering cost can be used to perform simple quantization calculation on the filtering effect intensity, which makes the channel allocation more accurate and can also improve automation. The efficiency of calculation and allocation.
下面结合图2至图4对波道分配的过程进行举例说明。The process of channel assignment will be exemplified below with reference to FIGS. 2 to 4.
请一并参照图2、图3及图4,图2是ABCDEF各节点之间的网络拓扑结构示意图;图3是图2所示各个节点出口波道的当前占用情况的示意图;图4是采用图1所示方法进行路由波道新增波道标称滤波代价计算的示意图。Please refer to FIG. 2, FIG. 3 and FIG. 4 together. FIG. 2 is a schematic diagram of a network topology structure between ABCDEF nodes; FIG. 3 is a schematic diagram of current occupancy of each node exit channel shown in FIG. 2; FIG. The method shown in FIG. 1 is a schematic diagram of calculating the cost of the nominal channel filtering of the new channel of the routing channel.
如图2所示,新增光信号的首节点为A、末节点为A,通过路由算法计算统计可得出,可用路径包括ABCD、AFED、ABFED、AFECD四条。此时获知这四条路径上当前的波道占用情况,具体如图3所示,其中阴影方块部分为已占用波道,空白方块部分为空闲波道,根据统计的可用路径集合中的四条路径将节点进行组合,可得到如图5所示的可用路由波道集合,在ABCD、AFED、ABFED、AFECD四条路径组成的可用集合中,总共有4+8+5+4=21条可用路由波道集合。其中横线穿越的空白连贯区域则为一条可用的路由波道。根据分配波道的方法实施例中所述的新增波道标称滤波代价算法,可对每条路由波道的新增波道滤波代价进行计算。As shown in Figure 2, the first node of the newly added optical signal is A, and the last node is A. It can be calculated by the routing algorithm. The available paths include ABCD, AFED, ABFED, and AFECD. At this time, the current channel occupancy on the four paths is known, as shown in FIG. 3, wherein the shaded block is the occupied channel, and the blank block is the idle channel. According to the statistics, the four paths in the available path set will be The nodes are combined to obtain the available routing channel set as shown in FIG. 5. Among the available sets of four paths ABCD, AFED, ABFED, and AFECD, there are 4+8+5+4=21 available routing channels in total. set. The blank coherent area in which the horizontal line traverses is an available routing channel. According to the new channel nominal filtering cost algorithm described in the method embodiment of the allocation channel, the new channel filtering cost of each routing channel can be calculated.
例如,路径ABCD中,第一条路由波道,取新增光信号上波前后的滤波窗口权重值及路由波道权重值(ρj、ρ′j、ηk以及η′k)均为1,则新增光信号上波前的波道标称滤波代价为3+3+2=8,新增光信号上波后的波道标称滤波代价为3+2+2=7,新增波道滤波代价为7-8=-1,因此当选择ABCD路径中的第一条波道上波时,可减少现有业务光的滤波窗口边缘产生的滤波效应。其中,新增波道标称滤波代价越小的路由波道,越适合选作新增光信号的上波波道。当然也可以将新增波道标称滤波代价小于某个预设阈值的路由波道集合,作为优选集合,供后续波道分配时使用。如图4所示,可以选取新增波道标称滤波代价不大于-1的波道作为优选集合(图中可知有2条),因为此集合内的选择可以让新增波道标称滤波代价下降;也可以将限制放宽,选取新增波道标称滤波代价不大于1的波道作为优选集合(图中可知有7条)。而对于新增波道标 称滤波代价相同的路由波道如图5所示ABCD和ABFED中新增波道标称滤波代价为-1的路由波道,还可以进一步根据路由波道的路径总长度、路径节点数或所述新增光信号的业务需求进行选择,如此处便可以选择经过路径节点较少的路由波道ABCD进行分配。For example, in the path ABCD, the first routing channel takes the filter window weight value before and after the wave on the newly added optical signal and the routing channel weight values (ρ j , ρ′ j , η k , and η′ k ) are all 1 The nominal filter cost of the wavefront on the newly added optical signal is 3+3+2=8, and the nominal filter cost of the added wave after the wave on the optical signal is 3+2+2=7. The channel filtering cost is 7-8 = -1, so when the first channel on the ABCD path is selected, the filtering effect produced by the edge of the filtering window of the existing traffic light can be reduced. Among them, the new route channel with the smaller nominal filter cost is more suitable for the upper wave channel of the newly added optical signal. Of course, it is also possible to use a set of routing channels whose nominal channel filtering cost is less than a certain preset threshold as a preferred set for use in subsequent channel allocation. As shown in FIG. 4, a channel with a nominal channel filtering cost of no more than -1 can be selected as a preferred set (two in the figure), because the selection in this set allows the new channel to be nominally filtered. The cost is reduced; the limit can also be relaxed, and the channel with the new channel nominal filtering cost not greater than 1 is selected as the preferred set (there are 7 in the figure). The routing channel with the same cost for the new channel nominal filtering is shown in Figure 5. The new channel in ABCD and ABFED has a nominal channel filtering cost of -1, which can be further based on the path of the routing channel. The length, the number of path nodes, or the service requirements of the newly added optical signal are selected. For example, the route channel ABCD with fewer path nodes can be selected for allocation.
通过此方法计算路由波道的新增波道标称滤波代价,计算简单,可提升系统工作效率;选择新增波道标称滤波代价小的波道,可以尽可能的减少滤波窗口及滤波次数,不仅新上波的滤波代价较小,还可以降低上波通道相邻波道的滤波代价,从而降低信号光衰减,改善已有通道的功率衰减问题。This method is used to calculate the nominal channel filtering cost of the new channel of the routing channel. The calculation is simple and can improve the system working efficiency. Selecting the channel with the new channel nominal filtering cost can reduce the filtering window and filtering times as much as possible. In addition, not only the filtering cost of the new upper wave is small, but also the filtering cost of the adjacent channel of the upper wave channel can be reduced, thereby reducing the signal light attenuation and improving the power attenuation problem of the existing channel.
请参照图5,为本发明分配波道的装置的第一实施例组成示意图,在本实施例中,所述装置包括:Referring to FIG. 5, it is a schematic diagram of a first embodiment of a device for allocating channels according to the present invention. In this embodiment, the device includes:
获取单元100,用于获取新增光信号在起始节点和目的节点之间的可用路由波道集合;The obtaining unit 100 is configured to obtain an available routing channel set between the starting node and the destination node of the newly added optical signal;
计算单元200,用于计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;The calculating unit 200 is configured to calculate a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, where the added channel nominal The filtering cost is a variation value of the nominal filtering cost of the wavefront on the newly added optical signal and the wavefront on the newly added optical signal, and the nominal filtering cost of the channel is the node passing through the routing channel The sum of the node nominal filtering costs, the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
分配单元300,在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。The allocating unit 300 allocates a routing channel to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
可选地,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:Optionally, the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:The nominal filtering cost of the channel is the sum of the nominal filtering costs of the nodes of the nodes through which the routing channel passes, and specifically includes:
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
可选地,所述计算单元200具体用于通过如下公式计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价: Optionally, the calculating unit 200 is specifically configured to calculate, by using the following formula, a new channel nominal filtering cost after each of the routing channels in the available routing channel set on the newly added optical signal:
ΔCi=Mi-Ni ΔC i =M i -N i
其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
所述计算单元200具体用于通过如下公式计算所述新增光信号上波前第i条路由波道的波道标称滤波代价NiThe calculating unit 200 is specifically configured to calculate a channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal by using the following formula:
Figure PCTCN2015074599-appb-000017
Figure PCTCN2015074599-appb-000017
其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价RjThe node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000018
Figure PCTCN2015074599-appb-000018
其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
通过如下公式计算所述新增光信号上波后第i条路由波道的波道标称滤波代价MiCalculating the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000019
Figure PCTCN2015074599-appb-000019
其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价SjCalculating the node nominal filtering cost S j of the i-th routing channel at the jth node after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000020
Figure PCTCN2015074599-appb-000020
其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
可选地,若为所述新增光信号分配路由波道的数量为1时,则所述分配单元300还用于:Optionally, if the number of routing channels allocated to the newly added optical signal is 1, the allocation unit 300 is further configured to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
可选地。若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述分配单元300还用于:Optionally. The allocation unit 300 is further configured to: if the number of routing channels with the minimum cost of the new channel nominal filtering is greater than one, the allocation unit 300 is further configured to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
需要说明的是,以上获取单元100、计算单元200及分配单元300可以独立存在,也可以集成设置,本实施例中获取单元100、计算单元200或分配单元300可以以硬件的形式独立于分配波道的装置的处理器单独设置,且设置形式可以是微处理器的形式;也可以以硬件形式内嵌于该装置的处理器中,还可以以软件形式存储于该装置的存储器中,以便于该装置的处理器调用执行以上获取单元100、计算单元200或分配单元300对应的操作。It should be noted that the foregoing obtaining unit 100, the calculating unit 200, and the allocating unit 300 may exist independently or in an integrated manner. In this embodiment, the obtaining unit 100, the calculating unit 200, or the allocating unit 300 may be independent of the distributed wave in the form of hardware. The processor of the device is separately provided and can be in the form of a microprocessor; it can also be embedded in the processor of the device in hardware, or can be stored in the memory of the device in software, so as to facilitate The processor of the device invokes an operation corresponding to the above acquisition unit 100, calculation unit 200, or allocation unit 300.
例如,在本发明分配波道的装置实施例(图4所示的实施例)中,计算单元200可以为分配波道的装置的处理器,而获取单元100和分配单元300的功能可以内嵌于该处理器中,也可以独立于处理器单独设置,也可以以软件的形式存储于存储器中,由处理器调用实现其功能。本发明实施例不做任何限制。以上处理器可以为中央处理单元(CPU)、微处理器、单片机等。For example, in the device embodiment (the embodiment shown in FIG. 4) of the present invention for allocating channels, the computing unit 200 may be a processor of the device that allocates the channels, and the functions of the obtaining unit 100 and the allocating unit 300 may be embedded. In the processor, it can also be set separately from the processor, or can be stored in the memory in the form of software, and the function is called by the processor. The embodiment of the invention does not impose any limitation. The above processor may be a central processing unit (CPU), a microprocessor, a single chip microcomputer, or the like.
请参照图6,为本发明分配波道的装置的第二实施例组成示意图,在本实施例中,所述装置包括:Referring to FIG. 6 , it is a schematic diagram of a second embodiment of a device for allocating channels according to the present invention. In this embodiment, the device includes:
输入设备400、输出设备500、存储器600和处理器700,所述输入设备400、输出设备500、存储器600和处理器700与总线连接,其中,所述存储 器600中存储一组程序代码,所述处理器700用于调用所述存储器600中存储的程序代码,执行以下操作:An input device 400, an output device 500, a memory 600, and a processor 700, the input device 400, the output device 500, the memory 600, and the processor 700 being connected to a bus, wherein the storing The processor 600 stores a set of program codes, and the processor 700 is configured to invoke the program code stored in the memory 600 to perform the following operations:
获取新增光信号在起始节点和目的节点之间的可用路由波道集合;Obtaining a set of available routing channels between the starting node and the destination node of the newly added optical signal;
计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;Calculating a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。A routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
可选地,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:Optionally, the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:The nominal filtering cost of the channel is the sum of the nominal filtering costs of the nodes of the nodes through which the routing channel passes, and specifically includes:
所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
可选地,所述处理器700具体用于通过如下公式计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价:Optionally, the processor 700 is specifically configured to calculate, by using the following formula, a new channel nominal filtering cost of each routing channel in the available routing channel set after the wave on the newly added optical signal:
ΔCi=Mi-Ni ΔC i =M i -N i
其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
可选地,所述处理器700具体用于通过如下公式计算所述新增光信号上波前第i条路由波道的波道标称滤波代价NiOptionally, the processor 700 is specifically configured to calculate a channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal by using the following formula:
Figure PCTCN2015074599-appb-000021
Figure PCTCN2015074599-appb-000021
其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价RjThe node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000022
Figure PCTCN2015074599-appb-000022
其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
通过如下公式计算所述新增光信号上波后第i条路由波道的波道标称滤波代价MiCalculating the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000023
Figure PCTCN2015074599-appb-000023
其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
通过如下公式计算所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价SjCalculating the node nominal filtering cost S j of the i-th routing channel at the jth node after the wave on the newly added optical signal is calculated by the following formula:
Figure PCTCN2015074599-appb-000024
Figure PCTCN2015074599-appb-000024
其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
可选地,若为所述新增光信号分配路由波道的数量为1时,所述处理器700还用于:Optionally, if the number of routing channels allocated to the newly added optical signal is 1, the processor 700 is further configured to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
可选地,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所 述处理器700还用于:Optionally, if the number of routing channels with the least cost of the newly added channel nominal filtering is greater than one, The processor 700 is also used to:
在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that the various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments are mutually referred to. can. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
通过上述实施例的描述,本发明具有以下优点:Through the description of the above embodiments, the present invention has the following advantages:
通过获取所述新增光信号的可用路由波道集合,并基于新增光信号上波后路由波道的新增波道标称滤波代价的计算结果来为新增光信号分配波道,可使得新增光信号上波后,尽可能的降低现有光信号和新增光信号的滤波效应,减少滤波窗口及滤波次数,从而降低光信号衰减,改善功率不平衡的问题,同时无需增加硬件成本,可提升链路预算,不仅可以确保新增光信号上波的滤波代价较小,甚至还可以降低现有光信号的滤波效应,改善已有通道的功率衰减问题,且通过定义标称滤波代价,可实现对滤波效应强度进行简单的量化计算,使得波道分配更加精确,同时也能提高自动化计算和分配的效率。By acquiring the available routing channel set of the newly added optical signal, and assigning a channel to the newly added optical signal based on the calculation result of the newly added nominal filtering cost of the newly added optical signal on the post-wave routing channel, After adding the optical signal to the wave, the filtering effect of the existing optical signal and the newly added optical signal is reduced as much as possible, and the filtering window and the filtering times are reduced, thereby reducing the optical signal attenuation and improving the power imbalance, without adding hardware. The cost can increase the link budget, which not only ensures the filtering cost of the newly added optical signal, but also reduces the filtering effect of the existing optical signal, improves the power attenuation problem of the existing channel, and defines the nominal filtering. At the cost, simple quantization calculation of the filtering effect intensity can be realized, which makes the channel distribution more accurate, and can also improve the efficiency of automatic calculation and allocation.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上对本发明实施例所提供的一种分配波道的方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method and device for allocating channels provided by the embodiments of the present invention are described in detail. The principles and implementations of the present invention are described in the following. The description of the above embodiments is only used to help understanding. The method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and the scope of application. It is understood to be a limitation of the invention.

Claims (21)

  1. 一种分配波道的方法,其特征在于,包括:A method of allocating channels, characterized by comprising:
    获取新增光信号在起始节点和目的节点之间的可用路由波道集合;Obtaining a set of available routing channels between the starting node and the destination node of the newly added optical signal;
    计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;Calculating a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
    在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。A routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  2. 如权利要求1所述的方法,其特征在于,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:The method according to claim 1, wherein the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
    所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  3. 如权利要求1所述的方法,其特征在于,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:The method according to claim 1, wherein the nominal filter cost of the channel is a sum of nominal filter costs of nodes of each node through which the routing channel passes, and specifically includes:
    所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  4. 如权利要求1所述的方法,其特征在于,所述计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,通过如下公式计算:The method according to claim 1, wherein said calculating a new channel nominal filtering cost of each of said routing channels in said available routing channel after said wave on said newly added optical signal passes Calculated as follows:
    ΔCi=Mi-Ni ΔC i =M i -N i
    其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
  5. 如权利要求4所述的方法,其特征在于,所述新增光信号上波前第i条路由波道的波道标称滤波代价Ni通过如下公式计算: The method according to claim 4, wherein the nominal filter cost N i of the i-th routing channel of the wavefront on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100001
    Figure PCTCN2015074599-appb-100001
    其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
    所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价Rj通过如下公式计算:The node nominal filtering cost R j of the i-th routing channel of the newly added optical signal on the jth node of the wavefront is calculated by the following formula:
    Figure PCTCN2015074599-appb-100002
    Figure PCTCN2015074599-appb-100002
    其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
    所述新增光信号上波后第i条路由波道的波道标称滤波代价Mi通过如下公式计算:The channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100003
    Figure PCTCN2015074599-appb-100003
    其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
    所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价Sj通过如下公式计算:The nominal filtering cost S j of the node of the i-th routing channel at the jth node of the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100004
    Figure PCTCN2015074599-appb-100004
    其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
  6. 如权利要求1-5任一项所述的方法,其特征在于,若为所述新增光信号分配路由波道的数量为1时,所述为所述新增光信号分配路由波道具体包括: The method according to any one of claims 1-5, wherein if the number of routing channels allocated to the newly added optical signal is 1, the routing channel is specifically allocated for the newly added optical signal. Includes:
    在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  7. 如权利要求6所述的方法,其特征在于,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述为所述新增光信号分配路由波道具体包括:The method of claim 6, wherein the routing channel for the newly added optical signal comprises: if the number of routing channels with the lowest cost of the newly added channel is greater than one:
    在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
    路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
  8. 一种分配波道的装置,其特征在于,包括:A device for allocating channels, comprising:
    获取单元,用于获取新增光信号在起始节点和目的节点之间的可用路由波道集合;An obtaining unit, configured to obtain a set of available routing channels between the starting node and the destination node of the newly added optical signal;
    计算单元,用于计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;a calculation unit, configured to calculate a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering The cost is the change value of the nominal filter cost of the wavefront on the newly added optical signal and the wavefront on the newly added optical signal, and the nominal filter cost of the channel is the node of each node through which the routing channel passes. The sum of the nominal filtering costs, the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
    分配单元,在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。And an allocating unit, the routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  9. 如权利要求8所述的装置,其特征在于,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括:The apparatus according to claim 8, wherein the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
    所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  10. 如权利要求8所述的装置,其特征在于,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:The apparatus according to claim 8, wherein the nominal filter cost of the channel is a sum of a node nominal filtering cost of each node through which the routing channel passes, and specifically includes:
    所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  11. 如权利要求8所述的装置,其特征在于,所述计算单元具体用于通过如下公式计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价: The device according to claim 8, wherein the calculating unit is specifically configured to calculate, by using the following formula, an addition of each routing channel in the available routing channel set after the wave on the newly added optical signal Channel nominal filtering cost:
    ΔCi=Mi-Ni ΔC i =M i -N i
    其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
  12. 如权利要求11所述的装置,其特征在于,所述计算单元具体用于通过如下公式计算所述新增光信号上波前第i条路由波道的波道标称滤波代价NiThe apparatus according to claim 11, wherein the calculating unit is specifically configured to calculate a channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal by using the following formula:
    Figure PCTCN2015074599-appb-100005
    Figure PCTCN2015074599-appb-100005
    其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
    通过如下公式计算所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价RjThe node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100006
    Figure PCTCN2015074599-appb-100006
    其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij];Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
    通过如下公式计算所述新增光信号上波后第i条路由波道的波道标称滤波代价MiCalculating the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100007
    Figure PCTCN2015074599-appb-100007
    其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
    通过如下公式计算所述新增光信号上波后第i条路由波道在第j个节点的 节点标称滤波代价SjThe nominal filtering cost S j of the node of the i-th routing channel at the jth node after the wave on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100008
    Figure PCTCN2015074599-appb-100008
    其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
  13. 如权利要求8-12任一项所述的装置,其特征在于,若为所述新增光信号分配路由波道的数量为1时,则所述分配单元还用于:The device according to any one of claims 8 to 12, wherein, if the number of routing channels allocated to the newly added optical signal is 1, the allocation unit is further configured to:
    在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  14. 如权利要求13所述的装置,其特征在于,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述分配单元还用于:The apparatus according to claim 13, wherein said allocation unit is further configured to: if said new channel nominal filtering has a minimum number of routing channels greater than one, said allocating unit is further configured to:
    在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
    路径总长度、路径节点数或所述新增光信号的业务需求。The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
  15. 一种分配波道的装置,其特征在于,包括:A device for allocating channels, comprising:
    输入设备、输出设备、存储器和处理器,所述输入设备、输出设备、存储器和处理器与总线连接,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:An input device, an output device, a memory, and a processor, the input device, the output device, the memory, and the processor being coupled to the bus, wherein the memory stores a set of program code, the processor for invoking the memory Program code, do the following:
    获取新增光信号在起始节点和目的节点之间的可用路由波道集合;Obtaining a set of available routing channels between the starting node and the destination node of the newly added optical signal;
    计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价,其中,所述新增波道标称滤波代价为所述新增光信号上波后与所述新增光信号上波前的波道标称滤波代价的变化值,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和;Calculating a new channel nominal filtering cost of each of the routing channels in the available routing channel after the wave on the newly added optical signal, wherein the new channel nominal filtering cost is the new a variation value of a nominal filter cost of the wavefront after the wave on the enhanced signal and the wavefront on the newly added optical signal, the nominal filter cost of the channel being the nominal filtering cost of the nodes of the route through which the routing channel passes And the node nominal filtering cost is the sum of the window nominal filtering costs of the filtering windows on the node;
    在与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中为所述新增光信号分配路由波道。A routing channel is allocated to the newly added optical signal in a routing channel corresponding to a new channel nominal filtering cost less than or equal to a preset threshold.
  16. 如权利要求15所述的装置,其特征在于,所述节点标称滤波代价为节点上各滤波窗口的窗口标称滤波代价之和,具体包括: The apparatus according to claim 15, wherein the node nominal filtering cost is a sum of window nominal filtering costs of each filtering window on the node, and specifically includes:
    所述节点标称滤波代价为节点上各个滤波窗口的窗口标称滤波代价与滤波窗口权重值的加权求和。The node nominal filtering cost is a weighted summation of the window nominal filtering cost of each filtering window on the node and the filtering window weight value.
  17. 如权利要求1所述的装置,其特征在于,所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价之和,具体包括:The apparatus according to claim 1, wherein the nominal filter cost of the channel is a sum of nominal filter costs of nodes of each node through which the route passes, specifically comprising:
    所述波道标称滤波代价为路由波道经过的各节点的节点标称滤波代价与路由波道权重值的加权求和。The nominal filter cost of the channel is a weighted summation of the node nominal filtering cost of each node through which the routing channel passes and the routing channel weight value.
  18. 如权利要求1所述的装置,其特征在于,所述处理器具体用于通过如下公式计算所述可用路由波道集合中每条路由波道在所述新增光信号上波后的新增波道标称滤波代价:The device according to claim 1, wherein the processor is specifically configured to calculate, after the wave of each of the available routing channels, the wave on the newly added optical signal, by using the following formula: Channel nominal filtering cost:
    ΔCi=Mi-Ni ΔC i =M i -N i
    其中,i为所述可用路由波道集合中的路由波道的序号,且i为大于或等于0的整数,ΔCi为所述新增光信号上波后第i条路由波道的新增波道标称滤波代价,Mi为所述新增光信号上波后第i条路由波道的波道标称滤波代价,Ni为所述新增光信号上波前第i条路由波道的波道标称滤波代价。Where i is the sequence number of the routing channel in the set of available routing channels, and i is an integer greater than or equal to 0, and ΔC i is the new addition of the i-th routing channel after the wave on the newly added optical signal The nominal filtering cost of the channel, M i is the nominal filtering cost of the channel of the i-th routing channel after the wave on the newly added optical signal, and N i is the i-th routing wave of the wavefront of the newly added optical signal The channel's nominal filtering cost.
  19. 如权利要求18所述的装置,其特征在于,所述处理器具体用于通过如下公式计算所述新增光信号上波前第i条路由波道的波道标称滤波代价NiThe apparatus according to claim 18, wherein the processor is specifically configured to calculate a channel nominal filtering cost N i of the i-th routing channel of the wavefront on the newly added optical signal by:
    Figure PCTCN2015074599-appb-100009
    Figure PCTCN2015074599-appb-100009
    其中,m为第i条路由波道经过的节点数,Rj为所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价,ρj为所述新增光信号上波前第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and R j is the nominal filtering cost of the node of the i-th routing channel at the j-th node on the newly added optical signal, ρ j is the Add the weight value of the i-th routing channel on the wavefront of the optical signal, j is an integer, and j∈[1,m];
    通过如下公式计算所述新增光信号上波前第i条路由波道在第j个节点的节点标称滤波代价RjThe node nominal filtering cost R j of the i-th routing channel of the wavefront at the jth node on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100010
    Figure PCTCN2015074599-appb-100010
    其中,nij为所述新增光信号上波前第i条路由波道在第j个节点的滤波窗口数量,ηk为所述新增光信号上波前滤波窗口的权重值,k为整数,且k∈[1,nij]; Where n ij is the number of filtering windows of the i-th routing channel at the j-th node on the newly added optical signal, and η k is the weight value of the wavefront filtering window on the newly added optical signal, k is Integer, and k∈[1,n ij ];
    通过如下公式计算所述新增光信号上波后第i条路由波道的波道标称滤波代价MiCalculating the channel nominal filtering cost M i of the i-th routing channel after the wave on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100011
    Figure PCTCN2015074599-appb-100011
    其中,m为第i条路由波道经过的节点数,Sj为所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价,ρ′j为所述新增光信号上波后第i条路由波道的权重值,j为整数,且j∈[1,m];Where m is the number of nodes through which the i-th routing channel passes, and S j is the nominal filtering cost of the node of the i-th routing channel at the j-th node after the wave on the newly added optical signal, ρ′ j is The weight value of the i-th routing channel after adding the wave on the optical signal, j is an integer, and j∈[1,m];
    通过如下公式计算所述新增光信号上波后第i条路由波道在第j个节点的节点标称滤波代价SjCalculating the node nominal filtering cost S j of the i-th routing channel at the jth node after the wave on the newly added optical signal is calculated by the following formula:
    Figure PCTCN2015074599-appb-100012
    Figure PCTCN2015074599-appb-100012
    其中,n′ij为所述新增光信号上波后第i条路由波道在第j个节点的滤波窗口数量,η′k为所述新增光信号上波后滤波窗口的权重值,k为整数,且k∈[1,n′ij]。Where n' ij is the number of filtering windows of the i-th routing channel at the j-th node after the wave on the newly added optical signal, and η' k is the weighting value of the filtering window after the wave of the newly added optical signal, k is an integer and k ∈ [1, n' ij ].
  20. 如权利要求15-19任一项所述的装置,其特征在于,若为所述新增光信号分配路由波道的数量为1时,所述处理器还用于:The device according to any one of claims 15 to 19, wherein, if the number of routing channels allocated to the newly added optical signal is 1, the processor is further configured to:
    在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,为所述新增光信号分配所述新增波道标称滤波代价最小的路由波道。And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel with the least cost of the newly added nominal filtering is allocated to the newly added optical signal.
  21. 如权利要求20所述的装置,其特征在于,若所述新增波道标称滤波代价最小的路由波道数量大于1时,所述处理器还用于:The apparatus according to claim 20, wherein said processor is further configured to: if said newly added channel nominal filtering has a minimum number of routing channels greater than one, said processor is further configured to:
    在所述与小于或等于预设阈值的新增波道标称滤波代价对应的路由波道中,基于以下至少一种参考信息为所述新增光信号分配路由波道:And in the routing channel corresponding to the new channel nominal filtering cost less than or equal to the preset threshold, the routing channel is allocated to the newly added optical signal based on the following at least one reference information:
    路径总长度、路径节点数或所述新增光信号的业务需求。 The total length of the path, the number of path nodes, or the service requirement of the newly added optical signal.
PCT/CN2015/074599 2015-03-19 2015-03-19 Method and apparatus for allocating wave channel WO2016145658A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/074599 WO2016145658A1 (en) 2015-03-19 2015-03-19 Method and apparatus for allocating wave channel
CN201580031987.6A CN106464537B (en) 2015-03-19 2015-03-19 method and device for allocating channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/074599 WO2016145658A1 (en) 2015-03-19 2015-03-19 Method and apparatus for allocating wave channel

Publications (1)

Publication Number Publication Date
WO2016145658A1 true WO2016145658A1 (en) 2016-09-22

Family

ID=56920377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074599 WO2016145658A1 (en) 2015-03-19 2015-03-19 Method and apparatus for allocating wave channel

Country Status (2)

Country Link
CN (1) CN106464537B (en)
WO (1) WO2016145658A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054562B1 (en) * 2002-02-01 2006-05-30 Ciena Corporation Method and system for suppressing ASE on a WDM network
CN101984673A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Passive optical network and signal transmission method thereof
CN101990138A (en) * 2009-07-31 2011-03-23 华为技术有限公司 Wavelength scheduling method and device
CN102594688A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Method and system for network routing selection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0621700B1 (en) * 1993-04-23 2002-07-17 Canon Kabushiki Kaisha Wavelength multiplexing network
US6334219B1 (en) * 1994-09-26 2001-12-25 Adc Telecommunications Inc. Channel selection for a hybrid fiber coax network
US20030011846A1 (en) * 2001-07-11 2003-01-16 Masoud Gholamhosseini Method and apparatus for network link planning
CN100356716C (en) * 2003-12-19 2007-12-19 杨淑雯 Optical code mark switch based all optical network
EP2706708B1 (en) * 2011-05-24 2015-09-16 Huawei Technologies Co., Ltd. Method and apparatus for path selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054562B1 (en) * 2002-02-01 2006-05-30 Ciena Corporation Method and system for suppressing ASE on a WDM network
CN101990138A (en) * 2009-07-31 2011-03-23 华为技术有限公司 Wavelength scheduling method and device
CN101984673A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Passive optical network and signal transmission method thereof
CN102594688A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Method and system for network routing selection

Also Published As

Publication number Publication date
CN106464537A (en) 2017-02-22
CN106464537B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
Abkenar et al. Study and analysis of routing and spectrum allocation (RSA) and routing, modulation and spectrum allocation (RMSA) algorithms in elastic optical networks (EONs)
Fadini et al. A subcarrier-slot partition scheme for wavelength assignment in elastic optical networks
Christodoulopoulos et al. Time-varying spectrum allocation policies and blocking analysis in flexible optical networks
CN105827528B (en) A kind of route selection method suitable for the flexible optical-fiber network of frequency spectrum
CN105490934B (en) A kind of fair routing and frequency spectrum distributing method based on fragment processing
JP2013168934A (en) Load-balancing device and load-balancing method
Walkowiak et al. Dynamic routing of anycast and unicast traffic in elastic optical networks
Beyragh et al. IF-RSCA: intelligent fragmentation-aware method for routing, spectrum and core assignment in space division multiplexing elastic optical networks (SDM-EON)
CN115396514B (en) Resource allocation method, device and storage medium
CN106998295B (en) Optimized routing and spectrum allocation method and system based on special protection combined fault probability constraint
CN107135056B (en) Anycast service resource allocation method for reducing frequency spectrum fragments and time delay
JP2019514309A (en) System and method for communication network service connectivity
JP6307377B2 (en) Virtual network allocation method and apparatus
CN115103450B (en) Multi-service time slot allocation method and equipment
Li et al. Farsighted spectrum resource assignment method for advance reservation requests in elastic optical networks
CN109743751A (en) The resource allocation methods and device of wireless access network
CN108833142A (en) A kind of network plan method of multi-core optical fiber planning business
US9391875B2 (en) Resource oriented dependency graph for network configuration
CN108184175B (en) MC node limitation-based elastic optical network multicast routing and spectrum allocation method
WO2016082596A1 (en) Method, device and processor for continuously reserving resource based on time spectrum
CN105263166A (en) Priority-based wireless access control method for dual-path routing
CN114390626B (en) Network route determining method, device and readable storage medium
CN106254403A (en) The moving method of data and device
WO2016145658A1 (en) Method and apparatus for allocating wave channel
CN108174446B (en) Network node link resource joint distribution method with minimized resource occupancy

Legal Events

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

Ref document number: 15885041

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

Country of ref document: EP

Kind code of ref document: A1