Time-varying service spectrum sharing maximization protection algorithm in elastic optical network

By designing a maximum protection algorithm for time-varying service spectrum sharing in an elastic optical network, and using the protection path cost function and spectrum-time sharing degree strategy to dynamically adjust spectrum resources, the problem of traditional optical transmission technology being unable to meet the bandwidth requirements of time-varying services is solved. , improving resource utilization and service quality.

CN118764078APending Publication Date: 2024-10-11CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410781557.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Traditional optical transmission technology is difficult to meet time-varying service bandwidth requirements, especially in dynamic traffic environments such as cloud computing and grid computing, resulting in a waste of spectrum resources and high service blocking rates. Existing shared path protection strategies are more complex when adjusting bandwidth. high.

Method used

Design a time-varying service spectrum sharing maximization protection algorithm, select the appropriate protection path through the protection path cost function, and use the spectrum-time sharing degree maximization strategy to adjust the spectrum block allocation, dynamically adjust the spectrum resources on the protection path, so as to Adapt to changes in business bandwidth.

Benefits of technology

It effectively reduces spectrum resource consumption, reduces business blocking rate, and improves resource utilization and service quality of elastic optical networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764078A_ABST
    Figure CN118764078A_ABST
Patent Text Reader

Abstract

The invention relates to a method for maximizing the frequency spectrum sharing degree of a time-varying service protection path in an elastic optical network, and belongs to the technical field of optical communication. Through the protection path cost function and the design of the spectrum allocation strategy and the spectrum adjustment strategy based on the spectrum-time sharing degree, time-varying service transmission and resource allocation are realized. When the time-varying service arrives at the elastic optical network, selecting a candidate path set meeting the service bandwidth requirement by adopting a K shortest path algorithm, and determining a shortest hop path as a time-varying service working path; calculating protection path cost function values of the candidate paths, selecting the candidate path with the minimum protection path cost function value as the protection path of the time-varying service, and selecting the frequency spectrum block with the maximum frequency spectrum-time sharing degree value to be allocated to the service; and when the service bandwidth changes, selecting the spectrum expansion / compression scheme with the maximum sharing degree value on the protection path, and adjusting the spectrum allocation of the time-varying service. The method provided by the invention can reduce the blocking rate of the time-varying service and reduce the protection redundancy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of optical fiber communication technology and optical signal transmission, and relates to a spectrum sharing maximization protection algorithm for time-varying services in an elastic optical network. Background Art

[0002] In recent years, with the emergence of a large number of applications such as video on demand, cloud computing and grid computing, and online games, network traffic has exploded. Traditional optical transmission technology is limited by the bandwidth bottleneck in the electrical domain and it is difficult to meet the bandwidth requirements of the business. Although wavelength division multiplexing optical networks can adopt all-optical communication and can realize the transmission of all-optical signals, the coarse spectrum grid with fixed bandwidth adopted by them will cause a huge waste of spectrum bandwidth resources, which is not conducive to improving spectrum efficiency. Services such as cloud computing and grid computing have introduced a large amount of dynamic traffic, and the bandwidth requirements range from hundreds of bits per second to terabits. How to meet the flexible requirements of these traffic is a major challenge for network operators. In order to solve the above problems and meet the future optical network's requirements for efficiency, flexibility and dynamic expansion, elastic optical networks (EONs) based on orthogonal frequency division multiplexing (OFDM) technology came into being. EONs divide the spectrum into fine-grained frequency slots, use OFDM technology to multiplex subcarriers, and flexibly allocate continuous frequency slots according to business bandwidth requirements, which can adapt to the requirements of different business rates.

[0003] With the continuous development of Internet technology, a new type of business that can change bandwidth requirements over time has emerged in optical networks, such as high-definition video live broadcast, online games, etc. The bandwidth requirements of these businesses often change over time, which is called time-varying business. Time-varying business poses a great challenge to traditional routing and spectrum resource allocation methods. In elastic optical networks, the bandwidth resources allocated to the optical path selected for the business are continuous idle frequency slots on the optical fiber link. As the bandwidth requirements change during business transmission, how to design strategies so that the optical paths in EONs can be dynamically adjusted according to the real-time needs of the business and the status of network resources to improve the time-varying service capabilities and resource utilization of EONs is a meaningful task. Therefore, in EONs, it is very necessary to study the routing and spectrum assignment (RSA) method for time-varying business.

[0004] At the same time, in EONs, since a single optical fiber carries a large number of services, if a network link fails, it will cause huge losses to users. Therefore, ensuring the survivability transmission of EONs is an important way to effectively improve the service quality of the business. The solutions to ensure the survivability transmission of services can be divided into dedicated path protection (DPP) and shared path protection (SBPP). The main indicators for evaluating survivability are: service recovery time, protection redundancy and control plane complexity. In the SBPP strategy, the protection frequency slot can be shared by multiple service connection optical paths to reduce the number of consumed protection frequency slots and improve resource utilization. Therefore, compared with DPP, SBPP has significant advantages in resource protection redundancy, can effectively improve spectrum efficiency, and is more widely used.

[0005] When a service is survivably transmitted in EONs, if the bandwidth required by the time-varying service changes, not only the spectrum allocation of the working path needs to be adjusted, but also the spectrum allocation on the protection path needs to be changed accordingly. The bandwidth adjustment strategy of the protection path of the time-varying service based on SBPP is more complicated. Therefore, this application describes the survivable transmission method in the elastic optical network of the time-varying service and the resource allocation adjustment strategy after the bandwidth changes, which is very necessary for studying the survivable transmission of the time-varying service in the elastic optical network. Summary of the invention

[0006] In view of this, an object of the present invention is to provide a time-varying service spectrum sharing maximization protection algorithm for reducing the consumption of spectrum resources in the network and lowering the service blocking rate.

[0007] In order to achieve the above object, the present invention provides the following technical solutions:

[0008] An algorithm for maximizing spectrum sharing of protection paths for time-varying services in elastic optical networks. In this algorithm, in order to reduce the consumption of spectrum resources in the network, a protection path cost function is designed, and the protection path for time-varying services is selected according to the value of the protection path cost function; a resource allocation diagram on the protection path is constructed, and the spectrum block with the largest spectrum-time sharing degree on the protection path is selected to allocate protection bandwidth; when the bandwidth demand of the time-varying service changes, multiple feasible bandwidth adjustment solutions are first calculated, and then the spectrum-time sharing degree of each solution is calculated, and the solution with the largest sharing degree value is selected as the final solution. The strategy specifically includes the following steps:

[0009] S1: Input the elastic optical network topology G(V,E,F), where V is the node set, E is the link set, and F is the frequency slot set. Determine the remaining spectrum resources of the current elastic optical network, set K to the maximum integer of the average node degree of EONs, and the time-varying service r(s,d,B,t h ,td ) arrives, s is the source node, d is the destination node, B is the service bandwidth requirement, t h is the duration, t d For the end time, go to S2;

[0010] S2: In the elastic optical network topology, delete the links that do not meet the service bandwidth requirements to obtain the updated elastic optical network topology; use the K shortest path algorithm to obtain the candidate path set of the time-varying service r, calculate the number of frequency slots required by the time-varying service in the candidate path according to the time-varying service bandwidth and modulation efficiency, count the number of hops of each candidate path, calculate the spectrum cost of each candidate path, and sort the candidate paths in ascending order according to the spectrum cost of the path, and update and save them in the candidate path set P sd , go to S3;

[0011] Among them, the time-varying service is on the candidate path p i The formula for calculating the number of frequency slots required is:

[0012]

[0013] In the above formula, f(p i ) represents the candidate working path p adopted by the time-varying service i The number of required frequency slots, B is the time-varying service bandwidth, GB is the protection frequency gap between spectrum blocks, which is generally set to 1, and C f represents the bandwidth provided by a unit frequency slot, which is 12.5 GHz. m is the modulation efficiency corresponding to the modulation format M. The modulation format M of the signal is determined by the length of the path. From formula (2), we know that the higher the modulation efficiency, the fewer frequency slots are required for the transmission of services with the same bandwidth requirements on the path. The modulation format M, the modulation efficiency m and the path length O m The corresponding relationship is as follows:

[0014]

[0015]

[0016] In the above table, BPSK (Binary Phase Shift Keying), QPSK (Quadrature Phase Shift Keying), 8QAM (8Quadrature Amplitude Modulation) and 16QAM (16Quadrature Amplitude Modulation) are generally the modulation formats with the highest modulation efficiency under the service selection path length limitation;

[0017] The calculation formula of the spectrum cost value of the path is as follows:

[0018] cons(p i )=hop(p i )×f(p i ) (2)

[0019] In formula (2), cons(p i ) represents the path p i The spectrum cost of the path, hop(p i ) represents the path p i The number of hops;

[0020] S3: Select candidate path set P sd The first path in is used as the working path of the time-varying service, and the first hit spectrum allocation strategy is adopted to allocate spectrum blocks to the working path selected by the time-varying service, and then go to S4;

[0021] S4: Delete the working path from the candidate path set to obtain an updated candidate path set P sd , for P sd The candidate paths in the above table adopt the path and spectrum allocation strategy that maximizes spectrum-time sharing protection, determine the protection path and spectrum allocation for the time-varying service, and then go to S5;

[0022] S5: If the bandwidth of the time-varying service changes, the number of frequency slots required to change for the time-varying service is calculated according to the calculation formula for the number of frequency slots required to change for the time-varying service, and the process goes to S6;

[0023] The calculation formula for the number of frequency slots Δf required for the bandwidth of the time-varying service is:

[0024]

[0025] S6: Set the frequency slot position of the spectrum block allocated to the service on the working path The starting frequency slot allocated to the service on the working path. For the end frequency slot allocated to the service on the working path, a dynamic alternating spectrum adjustment strategy is adopted to implement an expansion / compression adjustment strategy of the spectrum block of the time-varying service on the working path, and then the process goes to S7;

[0026] S7: on the protection path of the service allocation, an expansion / compression adjustment strategy of the spectrum block of the time-varying service on the protection path is adopted to adjust the spectrum allocation of the protection spectrum block;

[0027] Further, the strategy of maximizing spectrum-time sharing protection path in S4 is specifically implemented in the following manner:

[0028] S401: Calculate P according to the protection path cost function calculation formulasd The protection path cost function value of each candidate path in the set, sort the candidate protection paths in ascending order according to the protection path cost function value, and update P sd , go to S402;

[0029] Among them, the protection path p k The cost function calculation formula is as follows:

[0030]

[0031] In formula (4), Q is the candidate protection path p k The total number of idle frequency slots; N protection path p k The number of spectrum blocks that meet the business bandwidth requirements; Z j is the number of guard frequency slots contained in the jth guard spectrum block; when there is no idle frequency slot, to avoid cost(p i )The denominator is 0, set a very small integer ε that is infinitely close to 0, and ε≈0;

[0032] S402: If Then the service is blocked and the algorithm ends; otherwise, from the candidate path set P sd The first path is selected as the protection path of the service, and the signal modulation format is determined according to the protection path length. Generally, the modulation format with the highest modulation efficiency under the path length constraint is selected, and the number of protection frequency slots required for the time-varying service on the protection path is calculated, and then the process goes to step S403;

[0033] S403: Analyze path p i The frequency slot usage on the path is checked in sequence according to the frequency slot index value from low to high. According to the spectrum block allocation, the spectrum consistency and continuity principles need to be met. The information of all idle spectrum blocks and shared protected spectrum blocks on the path is obtained. The spectrum blocks whose number of frequency slots contained in these spectrum blocks is greater than or equal to the number of frequency slots required by the service are recorded and saved in the spectrum block candidate set W = {w1, w2, w3, ...}. If The p i From the set P sd , and go to S2; otherwise, calculate the path p i The overhead values ​​of the idle frequency slots and the guard frequency slots of the candidate spectrum blocks of each link are calculated, and the spectrum-time sharing degree value of each spectrum block in W={w1,w2,w3,...} is calculated, and then the process goes to S404;

[0034] Among them, the overhead value c of the idle frequency slot and the guard frequency slot of the candidate spectrum block of link e is e,f The calculation formula is as follows:

[0035]

[0036] In formula (5), t o is the remaining duration of the time-varying service; t e,f To protect the path p b The time length from the moment when the frequency slot f on the link e is released as an idle frequency slot to the current moment t;

[0037] Spectrum block w i The spectrum-time sharing degree calculation formula is:

[0038]

[0039] In formula (6), m(w i ) is the spectrum block w i The starting frequency slot index value of

[0040] S404: Select w with the largest spectrum-time sharing value i The spectrum block is marked as Υ. If there are two or more spectrum blocks with the maximum spectrum-time sharing degree values, the spectrum block containing c is selected. e,f = 0 is the spectrum block with the largest number of frequency slots, and the path p is marked. i is the protection path p of the time-varying service b , go to S405;

[0041] S405: Allocate the number of protection frequency slots required by the time-varying service to the protection path p b The frequency slot index [m(Υ),m(Υ)+f(p i )-1], from the set P sd Delete the protection path and go to S5;

[0042] In S6, the dynamic alternating spectrum adjustment strategy is specifically implemented in the following manner:

[0043] S601: Record the start and end frequency slot index values ​​of the spectrum blocks that have been allocated to the time-varying service on the working path are the starting and ending frequency slot index values ​​of the spectrum block allocated on the working path before the time-varying service bandwidth changes, and the working protection path is recorded as p w ; According to the business B new The value of B determines whether the time-varying service bandwidth is expanded or compressed. If B new >B, go to S602; otherwise, go to S605;

[0044] S602: Count the number of frequency slots in the spectrum block allocated to the time-varying service to see if it can meet the bandwidth requirement of the time-varying service after the change. If it can, set the starting frequency slot of the spectrum block of the service on the working path to The number of remaining frequency slots of the time-varying service remains unchanged, and the process goes to S603; otherwise, the service is blocked.

[0045] S603: If Δf≠0, set the end frequency slot of the spectrum block of the service on the working path Let Δf = Δf-1, go to S604, otherwise, update the start and end frequency slot index values ​​of the spectrum block after spectrum expansion of the service on the working path to Transfer S7;

[0046] S604: If Δf=0, update the start and end frequency slot index values ​​of the spectrum block after spectrum expansion of the service on the working path to Go to S7; otherwise, go to S602;

[0047] S605: Let the end frequency slot of the allocated spectrum block of the service on the working path be The number of remaining frequency slots for the time-varying service remains unchanged, and Δf=Δf-1, and the process goes to S606;

[0048] S606: If Δf=0, update the start and end frequency slot index values ​​of the spectrum block after spectrum compression of the service on the working path to Go to S7; otherwise, allocate the starting frequency slot of the spectrum block to the service on the working path. Remain unchanged, Δf=Δf-1, and go to S607;

[0049] S607: If Δf=0, update the start and end frequency slot index values ​​of the spectrum block after spectrum expansion of the service on the working path to Go to S7; otherwise, go to S605;

[0050] Further in S7, based on the maximum spectrum-time sharing protection frequency slot allocation strategy, the extension / compression of the time-varying service protection frequency slot is achieved, which is specifically achieved in the following manner:

[0051] S701: S701: Record the position of the spectrum block that has been allocated to the time-varying service on the protection path [f start ,f end ], f start ,f end are the starting and ending frequency slot index values ​​of the spectrum block allocated on the protection path before the time-varying service bandwidth changes. The protection path is denoted by p b According to B new The value of B determines whether the time-varying service bandwidth is expanded or compressed. If B new >B, go to S702; otherwise, go to S706;

[0052] S702: Calculate the number of idle frequency slots on the left and right sides of the time-varying service before the bandwidth changes, and record them as dL ,d R , go to S703;

[0053] The calculation formulas for the number of idle frequency slots on the left and right sides of the time-varying service before the bandwidth changes are:

[0054]

[0055] They are service r on the protection path p b The number of idle frequency slots on the left and right sides of link e;

[0056] S703: Count all frequency slot extension schemes (LEFN, REFN) for service r and store them in feasible candidate set Γ. If the service is blocked, the algorithm ends; otherwise, go to S704;

[0057] Among them, (LEFN,REFN) is a scheme for extending the frequency slot of service r, which is a way to implement time-varying services to meet the service bandwidth update. The number of frequency slots of the spectrum block allocated to the LEFN,REFN service extended to the left / right is a natural number, satisfying the following relationship:

[0058] LEFN+REFN=Δf (9)

[0059] LEFN≤d L (10)

[0060] REFN≤d R (11)

[0061] S704: Calculate the spectrum-time sharing value corresponding to each set of frequency slot extension solutions (LEFN, REFN), and go to S705;

[0062] The spectrum-time sharing value calculation formula of each frequency slot extension scheme (LEFN, REFN) is:

[0063]

[0064] S705: Mark the maximum spectrum-time sharing degree corresponding to LEFN and REFN values ​​L max and R max , then the spectrum allocation for time-varying services is adjusted to [f start -L max ,f end +R max ], the spectrum block position on the protection path after the output time-varying service bandwidth is expanded is [f start -L max ,f end +R max], end the algorithm;

[0065] S706: Calculate the number of idle frequency slots on the left and right sides of the spectrum block allocated to the time-varying service on the protection path before the bandwidth changes, and L ,f R , go to S707;

[0066] Among them, the calculation formulas for the number of idle frequency slots on the left and right sides of the allocated spectrum block for time-varying services before the bandwidth changes are:

[0067] f L =f c -f start (13)

[0068] f R =f end -f c (14)

[0069] In the formula, f c is the center frequency slot before the time-varying service bandwidth changes;

[0070] S707: Count all frequency slot compression schemes (LCFN, RCFN) for service r and store them in feasible candidate set Λ. If the service is blocked, the algorithm ends; otherwise, go to S708;

[0071] Where (LCFN, RCFN) is a scheme for frequency slot compression of service r. LCFN and RCFN represent the number of frequency slots compressed to the left and right of the allocated spectrum block, respectively. They are natural numbers and satisfy the following relationship:

[0072] LCFN+RCFN=Δf (15)

[0073] LCFN≤f L (16)

[0074] RCFN≤f R (17)

[0075] S708: Calculate the spectrum-time sharing value of each set of frequency slot compression schemes (LCFN, RCFN), and go to S709;

[0076] The spectrum-time sharing value calculation formula of each frequency slot compression scheme (LCFN, RCFN) is as follows:

[0077]

[0078] S709: Mark the maximum spectrum-time sharing value corresponding to LCFN and RCFN as L max and R max, then the spectrum allocation for time-varying services is adjusted to [f start +L max ,f end -R max ], the spectrum block position on the protection path after the output time-varying service bandwidth is compressed is [f start +L max ,f end -R max ].

[0079] The beneficial effects of the present invention are as follows: the present invention provides a solution to the problems of shared protection routing and spectrum allocation for time-varying services in an elastic optical network, and proposes a spectrum sharing maximization protection algorithm for time-varying services in an elastic optical network. The algorithm takes into account the spectrum usage in the protection path, and designs a protection path cost function for selecting the protection path for time-varying services; in order to improve the spectrum resource utilization rate of time-varying services, a protection path spectrum allocation strategy based on spectrum time sharing is designed; finally, for the bandwidth adjustment problem of the protection path for time-varying services, the spectrum-time sharing degree of all time-varying service protection frequency slot expansion or compression schemes is calculated, and the frequency slot expansion or compression scheme with the largest sharing degree value is selected to adjust the spectrum block allocation position of the service. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to make the purpose, technical solution and beneficial effects of the present invention clearer, the present invention provides the following drawings for illustration:

[0081] Figure 1 Schematic diagram of protection path cost function calculation;

[0082] Figure 2 Schematic diagram of spectrum block allocation for services on the protection path;

[0083] Figure 3 Flowchart of the path and spectrum allocation strategy to maximize spectrum-time sharing protection;

[0084] Figure 4 Schematic diagram of spectrum allocation adjustment for service bandwidth expansion;

[0085] Figure 5 Flowchart of spectrum expansion / compression strategy based on spectrum-time sharing;

[0086] Figure 6 Flowchart of the maximum protection algorithm for spectrum sharing of time-varying services in elastic optical networks. DETAILED DESCRIPTION

[0087] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0088] The method for maximizing spectrum sharing of a time-varying service protection path in an elastic optical network provided by the present invention aims to better optimize the spectrum resources of time-varying services when they are transmitted in an elastic optical network. The present invention can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0089] Among them, the figures are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts in the figures may be omitted, enlarged or reduced, and do not represent the size of the actual product. For those skilled in the art, it is understandable that some well-known structures in the figures and their descriptions may be omitted.

[0090] Attached Figure 1 The figure shows a schematic diagram of the calculation of the protection path cost function of the candidate path of the service. Each square represents a frequency slot. The blue-filled frequency slot indicates the sharable protection frequency slot allocated to other service protection paths, the white-filled frequency slot indicates the idle frequency slot, and the line-filled white frequency slot is the unavailable frequency slot that has been allocated to other service working paths. When allocating the protection spectrum block of the service on the protection path of the service, the SBPP strategy first selects the sharable protection frequency slot that has been occupied by other service protection paths, and secondly selects the idle frequency slot to constitute the protection spectrum block of the service.

[0091] Among them, the protection path p k The cost function calculation formula is as follows:

[0092]

[0093] Where Q is the candidate protection path p k The total number of protection frequency slots; N protection path p k The number of protected spectrum blocks that meet the service bandwidth requirements; Z j is the number of guard frequency slots contained in the jth guard spectrum block; when there is no guard frequency slot, to avoid cost(p i )The denominator is 0, set a very small integer ε that is infinitely close to 0, and ε≈0;

[0094] In the attached Figure 1 In the example, it is assumed that the candidate protection paths of the time-varying service are P1, P2 and P3, and ε = 10 -6 ; In the candidate path P1, Q = 9, N = 2, Z1 = 5, Z2 = 4, according to the protection path cost function calculation formula, we can get

[0095]

[0096] In candidate path P2, Q=8, N=3, Z1=5, Z2=2, Z3=1, then the path cost of P2 is:

[0097]

[0098] In candidate path P3, Q = 6, N = 2, Z1 = 4, Z2 = 2, then the path cost of P3 is:

[0099]

[0100] Compare the protection path cost function values ​​of candidate protection paths P1, P2, and P3, and select P1 with the smallest path cost as the protection path for the service, marked as p b At the same time, by the attached Figure 1 It can be seen that the distribution of the protection frequency slots that can be shared by P1 is also the most concentrated.

[0101] Attached Figure 2 A specific example of spectrum block allocation diagram for services on the protection path, for time-varying services r(s,d,B,t h ,t d ) arrives at EONs, where s and d represent the source and destination nodes of the time-varying service, respectively, and t h is the duration of the business, in this case t h =5,t d is the business end time, in this case t d =t+5, t is the current time, the selected path p b For the protection path, it passes through links e1, e2 and e3. Each link contains 15 frequency slots (FS). Suppose the number of protection frequency slots required for the time-varying service is f b =3FS. Figure 2 (a) shows the frequency slot status of each link in EONs. The frequency slots with yellow background are shared protection frequency slots occupied by other services, and the frequency slots with white background are idle frequency slots. The numbers in each frequency slot box are the status values ​​t of the frequency slot. e,f .like Figure 2 As shown in (b), the paths p are checked in order from low to high index values. b The frequency slot status of all links is obtained according to the frequency slot consistency and continuity principle of the spectrum block to obtain the path p b The available candidate spectrum block set W = {w1, w2, w3, w4}, where spectrum block w1 is composed of FS1, FS2 and FS 3, spectrum block w2 is composed of FS 5, FS 6 and FS 7, spectrum block w3 is composed of FS10, FS11 and FS12, and spectrum block w4 is composed of FS11, FS12 and FS13. Let to = 5 time units, satisfying t o ≤t h , calculated by formula (5) Figure 2 The overhead value c of each frequency slot of each candidate spectrum block in (b) e,f , marked in Figure 2 (b) in the frequency slot box of each candidate spectrum box; let ε = 10 -6 , the spectrum-time sharing degree value of each candidate spectrum block in the spectrum block set W is calculated by formula (6), which are:

[0102]

[0103] By comparison, it is found that the spectrum-time sharing degree value of candidate spectrum block w1 is 0.1667, which is the largest. Therefore, the candidate spectrum block w1 with the highest spectrum-time sharing degree value is selected as the protection spectrum block Υ allocated to the service on the protection path. Then, the frequency slot index value of the protection spectrum block Υ allocated to the time-varying service r(s,d,B,5,t+5) on the protection path is [1,3].

[0104] The following will be combined with the attached Figure 3 The path of maximizing spectrum-time sharing protection and the spectrum allocation strategy flow chart of the present invention are introduced, which can be specifically divided into the following steps:

[0105] S1: Input time-varying service r(s,d,B,t h ,t d ), let t0 = t h , update the time length unit from the moment when each link and frequency slot of each EONs is released as an idle frequency slot to the current moment, from the time-varying service r(s,d,B,t h ,t d )’s candidate path set P sd Delete the working path and go to S2;

[0106] S2: If Then the blocking time-varying service r(s,d,B,t h ,t d ), the algorithm ends; otherwise, go to S3;

[0107] S3: From the path set P sd Select path p i , according to the path p i The modulation format with the highest modulation efficiency is determined by the length of the signal. According to formula (1), the time-varying service on path p is calculated. i The number of guard frequency slots required on i ), go to S4;

[0108] S4: Analysis path p iThe frequency slot usage on the path is checked in order from low to high according to the frequency slot index value. According to the spectrum block allocation, the spectrum consistency and continuity principles need to be met. The information of all idle spectrum blocks and shared protection spectrum blocks on the path is obtained, and the number of frequency slots contained in these spectrum blocks is greater than or equal to the number of frequency slots required by the service f(p i ) spectrum blocks are recorded and stored in the spectrum block candidate set W = {w1, w2, w3, ...}. If The p i From the set P sd , and go to S3; otherwise, according to formula (5), calculate the path p i The overhead values ​​of the idle frequency slots and the guard frequency slots of the candidate spectrum blocks of each link are calculated according to formula (6), and the spectrum-time sharing degree value of each spectrum block in W={w1,w2,w3,...} is calculated, and then the process goes to S5;

[0109] S5: Select w with the largest spectrum-time sharing value i The spectrum block is marked as Υ. If there are two or more spectrum blocks with the maximum spectrum-time sharing degree values, the spectrum block containing c is selected. e,f = 0 is the spectrum block with the largest number of frequency slots, and the path p is marked. i is the protection path p of the time-varying service b , go to S6;

[0110] S6: The number of protection frequency slots required for time-varying services f(p i ) is assigned to the protection path p b The frequency slot index value [m(Υ),m(Υ)+f(p i )-1] position in the spectrum block.

[0111] Attached Figure 4 The following is a schematic diagram of spectrum allocation adjustment for bandwidth expansion of time-varying services. Assume that the bandwidth demand of time-varying service r is expanded by 25 Gbps at time t = 2, and the protection path p of the time-varying service includes links AB and BC, using BPSK modulation format. According to formula (3), Δf = 2FS, so the values ​​of spectrum expansion adjustment scheme (LEFN, REFN) are: (0, 2), (1, 1) and (2, 0). Figure 4 (a) is the protection path p before the bandwidth of the time-varying service demand changes b In the above frequency slot status diagram, the frequency slot with orange background is the allocated frequency slot of the spectrum block occupied by service r before the bandwidth changes. The spectrum block is: [7,11]FS, and the frequency slot with light yellow background is path p b The shared protection frequency slots on the diagram are shown in Figure 1. The white background frequency slots are idle frequency slots, and the black shadow filled frequency slots are unavailable frequency slots, which are usually occupied by the working paths of other services. Figure 4The number in the frequency slot box of (a) is the remaining time t before the frequency slot is released as an idle frequency slot. e,f According to formula (5), the overhead value c of using this frequency slot as the protection frequency slot of the time-varying service is calculated. e,f ,like Figure 4 As shown in (b), the number in the frequency slot box is the frequency slot overhead value c e,f According to formula (12), the spectrum-time sharing degree values ​​of the spectrum expansion adjustment schemes (0,2), (1,1) and (2,0) are calculated to be 0.071, 0.2 and 0.5 respectively. The spectrum expansion adjustment scheme (2,0) with the largest spectrum-time sharing degree value is selected as the frequency slot expansion scheme for the service. After the expansion, the spectrum block occupied by the time-varying service is: [7,13]FS, as shown in Figure 4 As shown in the red dashed box in (b).

[0112] The following will be combined with the attached Figure 5 The flowchart of the spectrum expansion / compression strategy based on spectrum-time sharing degree of the present invention is introduced, and the specific steps are as follows:

[0113] S1: Input elastic optical network topology G(V, E, F), V is the node set, E is the link set, F is the frequency slot set, and time-varying service r(s, d, B, t h ,t d ), r(s,d,B new ,t h ,t d ), the working path p allocated before the time-varying service bandwidth changes w , protection path p b and their frequency slot allocation results;

[0114] S2: Calculate the number of frequency slots Δf required to change the time-varying service on the working path and the protection path using formula (3), and go to S3;

[0115] S4: On the working path, an alternating spectrum adjustment strategy is adopted to adjust the spectrum allocation of the service on the working path. If the spectrum allocation adjustment is successful, the process goes to S5; otherwise, the service is blocked and the algorithm ends.

[0116] S5: According to B new The value of B determines whether the time-varying service bandwidth is expanded or compressed. If B new >B, go to S6; otherwise, go to S10;

[0117] S6: According to formula (7) and formula (8), calculate the number of idle frequency slots d on the left and right sides of the time-varying service before the bandwidth changes. L ,d R , go to S7;

[0118] S7: Count all frequency slot extension schemes (LEFN, REFN) for service r and store them in feasible candidate set Γ. If the service is blocked, the algorithm ends; otherwise, go to S8;

[0119] S8: Calculate the spectrum spread spectrum-time sharing value of each set of frequency slot spread solutions (LEFN, REFN) according to formula (12), and go to S9;

[0120] S9: Mark the maximum spectrum-time sharing degree corresponding to LEFN and REFN values ​​​​are L max and R max , then the spectrum allocation result after expansion is [f start -L max ,f end +R max ], output the spectrum block after spectrum expansion of the time-varying service [f start -L max ,f end +R max ], the algorithm ends;

[0121] S10: According to formula (13) and formula (14), after calculating the bandwidth change of the service, the number of idle frequency slots on the left and right sides of the time-varying service is f L ,f R , go to S11;

[0122] S11: Count all frequency slot compression schemes (LCFN, RCFN) for service r and store them in the feasible candidate set Λ. If the service is blocked, the algorithm ends; otherwise, go to S12;

[0123] S12: Calculate the spectrum compression spectrum-time sharing value of each set of frequency slot compression schemes (LCFN, RCFN) according to formula (18), and go to S13;

[0124] S13: Mark the maximum spectrum-time sharing value corresponding to LCFN and RCFN values ​​​​represented as L max and R max , then the compressed spectrum allocation result is [f start +L max ,f end -R max ], the spectrum block allocated after bandwidth compression of the output time-varying service is: [f start +L max ,f end -R max ], ending the algorithm.

[0125] The following will be combined with the attached Figure 6The overall process of the algorithm for maximizing spectrum sharing degree of time-varying service protection paths in elastic optical networks of the present invention is introduced.

[0126] S1: Input elastic optical network topology G(V,E,F), V is the node set, E is the link set, F is the frequency slot set, and time-varying service r(s,d,B,t h ,t d ) arrives; s is the source node, d is the destination node, B is the bandwidth requirement, t h is the duration, t d is the end time, let K be the maximum integer of the average node degree of the elastic optical network, let t0 = t h , Go to S2;

[0127] S2: In G, execute the K shortest path algorithm and save the K candidate paths in the set P sd In the formula (1), the number of path hops of each candidate path and the number of frequency slots included in the idle spectrum block on the path are counted, and the path with the smallest number of hops and meeting the bandwidth requirements is selected as the working path p of the service. w , go to S3;

[0128] S3: If the working path p w If it does not exist, the service is blocked and the algorithm ends; otherwise, sd Delete p w , go to S4;

[0129] S4: According to formula (2), calculate the set P sd The spectrum cost value of each candidate path in P is arranged in ascending order. sd For each candidate path, go to S5;

[0130] S5: From P sd Select the first candidate path and mark it as p i , execute the strategy of maximizing spectrum-time sharing protection path, if the protection path of the service and the spectrum block allocation of the protection path are found, go to S6;

[0131] S6: If the candidate path p i and idle spectrum blocks meet the needs of service r, marking the p i For p b , go to S7, otherwise, block the service and go to S12;

[0132] S7: In the next time period, determine whether the required bandwidth of the time-varying service r has changed. If the bandwidth has not changed, maintain the current spectrum allocation unchanged and go to S12; otherwise, go to S8;

[0133] S8: On the working path of the service, execute the alternating spectrum adjustment strategy to determine the spectrum adjustment allocation result of the service on the working path. If the spectrum adjustment is successful, go to S9; otherwise, block the service and go to S12.

[0134] S9: Assume that the service bandwidth demand changes to B new , if B new >B, go to S10; if B new <B, go to S11;

[0135] S10: on the protection path of the service, executing the spectrum expansion based on spectrum-time sharing to adjust the spectrum allocation strategy, outputting the spectrum allocation result after the bandwidth is increased, and going to S12;

[0136] S11: on the protection path of the service, execute spectrum compression based on spectrum-time sharing to adjust the spectrum allocation strategy, output the spectrum allocation result after bandwidth reduction, and go to S12;

[0137] S12: If the routing and spectrum allocation of the service are successful, the working path and spectrum allocation result requested by the service are output respectively, and the protection path and spectrum allocation result of the service are output; otherwise, the routing and spectrum allocation of the service fail; wait for the next scheduling time.

[0138] Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the scope defined by the claims of the present invention.

Claims

1. A method for maximizing spectrum sharing of a time-varying service protection path in an elastic optical network, characterized in that In this method, in order to reduce the consumption of spectrum resources in the network, the shortest hop path is used as the working path of the time-varying service, the cost function value of each candidate path is calculated, and the path with the smallest cost value is selected as the protection path; the spectrum-time sharing degree of each idle spectrum block on the protection path is counted, and the spectrum block with the largest spectrum-time sharing degree on the protection path is selected to allocate the protection bandwidth; when the elastic optical network detects that the bandwidth of the time-varying service has changed, the spectrum adjustment of the time-varying service is implemented according to the spectrum-time sharing degree; the strategy specifically includes the following steps: S1: Input the elastic optical network topology G(V,E,F), where V is the node set, E is the link set, and F is the frequency slot set. Determine the remaining spectrum resources of the current elastic optical network, set K to the maximum integer of the average node degree of EONs, and the time-varying service r(s,d,B,t h ,t d ) arrives, s is the source node, d is the destination node, B is the service bandwidth requirement, t h is the duration, t d For the end time, go to S2; S2: In the elastic optical network topology, delete the links that do not meet the service bandwidth requirements to obtain the updated elastic optical network topology; use the K shortest path algorithm to obtain the candidate path set of the time-varying service r, calculate the number of frequency slots required by the time-varying service in the candidate path according to the time-varying service bandwidth, count the number of hops of each candidate path, calculate the spectrum cost of each candidate path, and sort the candidate paths in ascending order according to the spectrum cost of the path, and update and save them in the candidate path set P sd , go to S3; Among them, the time-varying service is on the candidate path p i The formula for calculating the number of frequency slots required is as follows: In the above formula, f(p i ) indicates that the time-varying service adopts the candidate path p i The number of required frequency slots, B is the bandwidth required for time-varying services, C is f It represents the bandwidth provided by the unit frequency slot, and its value is 12.5GHz. m represents the modulation efficiency corresponding to the modulation format M. The modulation format M is determined by the length of the candidate path. Different modulation formats have different modulation efficiencies. The modulation levels corresponding to the modulation formats from low to high are 1, 2, 3 and 4 respectively. GB is the guard frequency gap between spectrum blocks, and its value is generally 1. Among them, the candidate path p i The spectrum cost calculation formula is as follows: cons(p i )=hop(p i )×f(p i ) In the above formula, cons(p i ) represents the candidate path p i The spectrum cost of the path, hop(p i ) represents the candidate path p i The number of hops; S3: Select candidate path set P sd The first path in is used as the working path of the time-varying service, and the first hit spectrum allocation strategy is adopted to allocate spectrum blocks to the working path selected by the time-varying service, and then go to S4; S4: Delete the working path from the candidate path set to obtain an updated candidate path set P sd , for P sd The candidate paths in the embodiment adopt the path and spectrum allocation strategy for maximizing spectrum-time sharing protection as described in claim 2 to determine the protection path and spectrum allocation for the time-varying service, and then go to S5; S5: If the bandwidth of the time-varying service changes, the number of frequency slots required to change for the time-varying service is calculated according to the calculation formula for the number of frequency slots required to change for the time-varying service, and the process goes to S6; The calculation formula for the number of changing frequency slots Δf required for time-varying services is as follows: In the formula, B new The bandwidth required after the business changes; S6: Set the frequency slot position of the spectrum block allocated to the service on the working path The starting frequency slot allocated to the service on the working path. For the end frequency slot allocated to the service on the working path, the dynamic alternating spectrum adjustment strategy described in claim 3 is adopted to implement the expansion / compression adjustment strategy of the spectrum block of the time-varying service on the working path, and then go to S7; S7: On the protection path of the service allocation, the process described in claim 4 is adopted, and the spectrum allocation of the protection spectrum block position is adjusted by adopting the expansion / compression adjustment strategy of the spectrum block of the time-varying service on the protection path.

2. According to claim 1, a method for maximizing spectrum sharing of a time-varying service protection path in an elastic optical network is characterized by: The S4 is specifically implemented in the following manner: S401: Calculate P according to the protection path cost function calculation formula sd The protection path cost function value of each candidate path in the set, sort the candidate protection paths in ascending order according to the protection path cost function value, and update P sd , go to S402; Among them, the protection path p k The cost function calculation formula is as follows: Where Q is the candidate protection path p k The total number of protection frequency slots; N protection path p k The number of protected spectrum blocks that meet the service bandwidth requirements; Z j is the number of guard frequency slots contained in the jth guard spectrum block; when there is no guard frequency slot, to avoid cost(p i )The denominator is 0, set a very small integer ε that is infinitely close to 0, and ε≈0; S402: If Then block the service; otherwise, select the candidate path set P sd Select the first path as the protection path for the service, determine the signal modulation format according to the length of the protection path, calculate the number of protection frequency slots required for the time-varying service on the protection path, and go to step S403; S403: Analyze path p i The frequency slot usage on the path is checked in sequence according to the frequency slot index value from low to high. According to the spectrum block allocation, the spectrum consistency and continuity principles need to be met. The information of all idle spectrum blocks and shared protected spectrum blocks on the path is obtained. The spectrum blocks whose number of frequency slots contained in these spectrum blocks is greater than or equal to the number of frequency slots required by the service are recorded and saved in the spectrum block candidate set W = {w1, w2, w3, ...}. If The p i From the set P sd , and go to S2; otherwise, calculate the path p i The overhead values ​​of the idle frequency slots and the guard frequency slots of the candidate spectrum blocks of each link are calculated, and the spectrum-time sharing degree value of each spectrum block in W={w1,w2,w3,...} is calculated, and then the process goes to S404; Among them, the overhead value c of the idle frequency slot and the guard frequency slot of the candidate spectrum block of link e is e,f The calculation formula is as follows: In the above formula, t o is the remaining duration of the time-varying service; t e,f To protect the path p b The time length from the moment when the frequency slot f on the link e is released as an idle frequency slot to the current moment t; Spectrum block w i The spectrum-time sharing degree calculation formula is: In the above formula, m(w i ) is the spectrum block w i The starting frequency slot index value of S404: Select w with the largest spectrum-time sharing value i The spectrum block is marked as Υ. If there are two or more spectrum blocks with the maximum spectrum-time sharing degree values, the spectrum block containing c is selected. e,f = 0 is the spectrum block with the largest number of frequency slots, and the path p is marked. i is the protection path p of the time-varying service b , go to S405; S405: Allocate the number of protection frequency slots required by the time-varying service to the protection path p b The frequency slot index [m(Υ),m(Υ)+f(p i )-1], from the set P sd Delete the protection path and go to S5.

3. According to claim 1, the method for maximizing spectrum sharing of a time-varying service protection path in an elastic optical network is characterized by: The S6 is specifically implemented in the following manner: S601: Record the start and end frequency slot index values ​​of the spectrum blocks that have been allocated to the time-varying service on the working path are the starting and ending frequency slot index values ​​of the spectrum block allocated on the working path before the time-varying service bandwidth changes, and the working protection path is recorded as p w ; According to the business B new The value of B determines whether the time-varying service bandwidth is expanded or compressed. If B new >B, go to S602; otherwise, go to S605; S602: Count the number of frequency slots in the spectrum block allocated to the time-varying service to see if it can meet the bandwidth requirement of the time-varying service after the change. If it can, set the starting frequency slot of the spectrum block of the service on the working path to The number of remaining frequency slots of the time-varying service remains unchanged, and the process goes to S603; otherwise, the service is blocked. S603: If Δf≠0, set the end frequency slot of the spectrum block of the service on the working path Let Δf = Δf-1, go to S604, otherwise, update the start and end frequency slot index values ​​of the spectrum block after spectrum expansion of the service on the working path to Transfer S7; S604: If Δf=0, update the start and end frequency slot index values ​​of the spectrum block after spectrum expansion of the service on the working path to Go to S7; otherwise, go to S602; S605: Let the end frequency slot of the allocated spectrum block of the service on the working path be The number of remaining frequency slots for the time-varying service remains unchanged, and Δf=Δf-1, and the process goes to S606; S606: If Δf=0, update the start and end frequency slot index values ​​of the spectrum block after spectrum compression of the service on the working path to Go to S7; otherwise, allocate the starting frequency slot of the spectrum block to the service on the working path. Remain unchanged, Δf=Δf-1, and go to S607; S607: If Δf=0, update the start and end frequency slot index values ​​of the spectrum block after spectrum expansion of the service on the working path to Go to S7; otherwise, go to S605.

4. The method for maximizing spectrum sharing of a time-varying service protection path in an elastic optical network according to claim 1, characterized in that: The S7 is specifically implemented in the following manner: S701: Record the position of the spectrum block that has been allocated to the time-varying service on the protection path [f start ,f end ], f start ,f end are the starting and ending frequency slot index values ​​of the spectrum block allocated on the protection path before the time-varying service bandwidth changes. The protection path is denoted by p b According to B new The value of B determines whether the time-varying service bandwidth is expanded or compressed. If B new >B, go to S702; otherwise, go to S706; S702: Calculate the number of idle frequency slots on the left and right sides of the time-varying service before the bandwidth changes, and record them as d L ,d R , go to S703; The calculation formulas for the number of idle frequency slots on the left and right sides of the time-varying service before the bandwidth changes are: They are service r on the protection path p b The number of idle frequency slots on the left and right sides of link e; S703: Count all frequency slot extension schemes (LEFN, REFN) for service r and store them in feasible candidate set Γ. If the service is blocked, the algorithm ends; otherwise, go to S704; Among them, (LEFN,REFN) is a scheme for extending the frequency slot of service r, which is a way to implement time-varying services to meet the service bandwidth update. The number of frequency slots of the spectrum block allocated to the LEFN,REFN service extended to the left / right is a natural number, satisfying the following relationship: LEFN+REFN=Δf LEFN≤d L REFN≤d R S704: Calculate the spectrum-time sharing value corresponding to each set of frequency slot extension solutions (LEFN, REFN), and go to S705; The spectrum-time sharing value calculation formula of each frequency slot extension scheme (LEFN, REFN) is: S705: Mark the maximum spectrum-time sharing degree corresponding to LEFN and REFN values ​​L max and R max , then the spectrum allocation for time-varying services is adjusted to [f start -L max ,f end +R max ], the spectrum block position on the protection path after the output time-varying service bandwidth is expanded is [f start -L max ,f end +R max ], end the algorithm; S706: Calculate the number of idle frequency slots on the left and right sides of the spectrum block allocated to the time-varying service on the protection path before the bandwidth changes, and L ,f R , go to S707; Among them, the calculation formulas for the number of idle frequency slots on the left and right sides of the allocated spectrum block for time-varying services before the bandwidth changes are: f L =f c -f start f R =f end -f c In the formula, f c is the center frequency slot before the time-varying service bandwidth changes; S707: Count all frequency slot compression schemes (LCFN, RCFN) for service r and store them in feasible candidate set Λ. If the service is blocked, the algorithm ends; otherwise, go to S708; Where (LCFN, RCFN) is a scheme for frequency slot compression of service r. LCFN and RCFN represent the number of frequency slots compressed to the left and right of the allocated spectrum block, respectively. They are natural numbers and satisfy the following relationship: LCFN+RCFN=Δf LCFN≤f L RCFN≤f R S708: Calculate the spectrum-time sharing value of each set of frequency slot compression schemes (LCFN, RCFN), and go to S709; The spectrum-time sharing value calculation formula of each frequency slot compression scheme (LCFN, RCFN) is as follows: S709: Mark the maximum spectrum-time sharing value corresponding to LCFN and RCFN as L max and R max , then the spectrum allocation for time-varying services is adjusted to [f start +L max ,f end -R max ], the spectrum block position on the protection path after the output time-varying service bandwidth is compressed is [f start +L max ,f end -R max ].