A time-varying service sharing protection method in elastic optical networks based on sliding spectrum windows
By adopting the time-varying service sharing protection method of the sliding spectrum window in the elastic optical network, the spectrum resources are dynamically adjusted, which solves the problem of inflexible resource allocation caused by changes in the time-varying service bandwidth, and improves spectrum resource utilization and network stability.
Patent Information
- Application Number
- CN202210855460.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In elastic optical networks, the bandwidth changes of time-varying services lead to inflexible resource allocation, resulting in low spectrum resource utilization, large transmission capacity, and severe data loss during failures. A method that can dynamically adjust spectrum resources is needed to reduce business congestion. rate and improve survivability.
The time-varying service sharing protection method based on the sliding spectrum window is adopted. By designing the protection path cost function, a suitable protection path is selected, and the sliding spectrum window is used for spectrum allocation and adjustment, and the spectrum resources are dynamically adjusted to adapt to the changes in the time-varying service bandwidth.
It improves the spectrum resource utilization of time-varying services, reduces the service blocking rate, enhances the redundancy and flexibility of the network, and ensures the efficient utilization and stability of network resources.
Smart Images

Figure CN115297384B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of optical fiber communication and relates to a time-varying service sharing protection method in an elastic optical network based on a sliding spectrum window. Background Art
[0002] Supporting dynamic traffic demand is a major challenge for network operators. To address this challenge, network operators need a flexible backbone optical network. Elastic Optical Networks (EONs) based on Orthogonal Frequency Division Multiplexing (OFDM) are widely regarded as an intelligent optical network with great development potential. They can effectively overcome the shortcomings of the coarse-grained bandwidth resource division method and fixed modulation format of the traditional wavelength division multiplexing (WDM) network, and use the resources in the network more efficiently. EONs can divide the spectrum resources in the network into fine-grained and continuous frequency slots (FS) according to the requested bandwidth of the service, and serve requests in a way that is closer to a gridless system, greatly reducing bandwidth consumption.
[0003] Due to the limitations of spectrum continuity, spectrum consistency and spectrum non-overlap, the routing and spectrum allocation (RSA) problem is a fundamental problem in EONs. For a given service request, the goal is to determine a path for it and allocate appropriate spectrum resources to the service request in the path to improve resource utilization. In recent years, with the rapid development of Internet technology, new services have emerged continuously, such as high-definition video live broadcast, online games, etc. The bandwidth of the service often changes with time, which is called time-varying service. The traditional resource allocation method is not flexible enough when dealing with time-varying services. Therefore, it is crucial to study the routing spectrum allocation of time-varying services in elastic optical networks and improve the spectrum utilization of time-varying services.
[0004] With the continuous development of optical network technology, the transmission capacity of a single optical fiber can reach 400Gbps or even more than 1Tbps. Therefore, the failure of network components, such as optical fiber links and network nodes, will cause a large amount of data loss and service interruption, bringing inestimable losses to users and operators. In WDM networks, the survivability issue has received widespread attention. With the development of technology, more and more people have turned their attention to survivable EONs. In survivable EONs, if the bandwidth of time-varying services changes, not only will the resource allocation of the working path be affected, but the protection path will also need to be changed accordingly. Considering the application of time-varying services in survivable elastic optical networks, it is very necessary to study the bandwidth adjustment of time-varying services in survivable elastic optical networks. Summary of the invention
[0005] In view of this, the object of the present invention is to provide a survivable elastic optical network routing and spectrum allocation strategy for time-varying services, which is used to reduce the consumption of spectrum resources in the network and lower the service blocking rate.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] A time-varying service sharing protection method in an elastic optical network based on a sliding spectrum window. In this algorithm, in order to reduce the consumption of spectrum resources in the network, a protection path cost function is designed, and a protection path for a time-varying service is selected according to the path cost function value; a sliding spectrum window is used to find the position with the highest spectrum window sharing degree in the protection path, and the spectrum allocation of the time-varying service is completed; when the elastic optical network detects that the bandwidth of the time-varying service has changed, the protection path adjusts the bandwidth of the protection path according to the number of frequency slot changes of the time-varying service, using the currently occupied spectrum block and the sliding spectrum window; the strategy specifically includes the following steps:
[0008] S1: According to the time-varying service request, the shortest path algorithm is executed in the elastic optical network to find the working path of the time-varying service, and the spectrum block required for the working path is allocated using the first choice method; the K shortest path algorithm is executed to find the candidate protection path set of the time-varying service using the principle of edge separation of the working path and the protection path;
[0009] S2: Calculate the cost function value of each candidate protection path, select the candidate protection path with the smallest cost function value and meeting the number of frequency slots required by the time-varying service as the protection path of the time-varying service, create a sliding spectrum window according to the number of frequency slots required by the time-varying service, and allocate spectrum to the time-varying service on the protection path;
[0010] S3: When the elastic optical network detects that the request rate of the time-varying service increases, the spectrum expansion strategy based on the sliding spectrum window is executed to allocate protection spectrum blocks with high spectrum window sharing degree to the service; when the request rate of the time-varying service decreases, the spectrum compression strategy based on the sliding spectrum window is executed to allocate protection spectrum blocks with high spectrum window sharing degree to the service, so as to realize dynamic adjustment of spectrum allocation for time-varying services;
[0011] Further, the specific steps of S1 are:
[0012] S101: According to the source node and destination node of the time-varying service, the shortest path algorithm is executed in the elastic optical network to find a working path that meets the number of frequency slots required by the service at the same time. If a working path is found, the highest modulation level used by the time-varying service is determined by the length of the working path, and the number of frequency slots required for the service to be transmitted on the working path is calculated; the spectrum resources are allocated to the working path of the service using the first hit spectrum allocation strategy, and the elastic optical network resources are updated: including deleting the working path selected by the time-varying service and subtracting the spectrum resources allocated on the working path; go to step S102; otherwise, the time-varying service is blocked and the algorithm ends;
[0013] Among them, the number of frequency slots required by the time-varying service on the working path is f w The calculation formula is as follows:
[0014]
[0015] In the above formula, B represents the service request rate, in Gbps, and C f is the transmission rate per frequency slot, in Gbps / Hz. In elastic optical networks, the value is generally 12.5 Gbps / Hz. m is the highest modulation level determined according to the working path length, GB is the number of guard frequency gaps;
[0016] S102: using a K shortest path algorithm to find a set of candidate protection paths for the time-varying service in the updated elastic optical network, where the K value is generally a maximum value of the average node degree of the elastic optical network;
[0017] Further, the specific steps of S2 are:
[0018] S201: Calculate the cost value of each candidate protection path, and arrange the candidate protection paths in ascending order according to the cost value of the candidate protection path;
[0019] The calculation formula of the protection path cost value of the candidate protection path is as follows:
[0020]
[0021] In formula (2), BA i , BPj represents the i-th and j-th available idle spectrum blocks and protection spectrum blocks on the candidate protection path respectively; N and M represent the number of available idle spectrum blocks on the path and the number of spectrum blocks allocated to the protection path of other services respectively; W k represents the kth frequency slot sharing degree, which is defined as the number of different services that the frequency slot is used to protect;
[0022] S202: Calculate the number of frequency slots f required for the time-varying service in transmission according to the time-varying service request rate and the candidate protection path length;
[0023] The calculation formula for the number of frequency slots f required by the time-varying service on the candidate protection path is as follows:
[0024]
[0025] In formula (3), ρ m is the highest modulation level determined according to the candidate protection path length, and the meanings of other parameters are the same as those in formula (1);
[0026] S203: Search for available idle spectrum blocks on each candidate protection path in the candidate protection path set in turn, and put these available idle spectrum blocks into the set Block A middle;
[0027] S204: Determine the Block according to the number of frequency slots f required for the time-varying service A Is there a spectrum block that meets the number of frequency slots f required by the time-varying service? If so, the candidate protection path that contains such a spectrum block and has the smallest protection path cost is determined as the protection path of the time-varying service, denoted as Go to step S205; otherwise, block the time-varying service request and end the algorithm;
[0028] S205: Save all idle spectrum blocks in the protection path in the protection spectrum block set Block P middle;
[0029] S206: From Block P Select the guard spectrum block BP with the largest number of frequency slots max , record the protected spectrum block BP max The starting frequency slot index value and the last frequency slot index value
[0030] S207: Determine Block P Whether there are protection spectrum blocks greater than or equal to the number of frequency slots f required by the time-varying service, if yes, go to step S208; otherwise, go to step S211;
[0031] S208: Create a sliding spectrum window SW for the service on the protection path according to the number of frequency slots f required by the time-varying service i , where i represents the index number of the sliding spectrum window, SW i The size of is determined by the number of frequency slots f required for time-varying services;
[0032] S209: Calculate the sliding arrive The sharing degree of each sliding spectrum window of , where the sharing degree of the mth sliding spectrum window is: like If there is only one spectrum window with the largest value, the number of frequency slots required by the time-varying service r(s, d, B, q) is allocated to the spectrum blocks in the frequency slot index value interval [m, m+f-1], and the process goes to step S3; otherwise, the process goes to step S210;
[0033] Among them, the calculation formula of the sharing degree of the mth sliding spectrum window is:
[0034]
[0035] In formula (4), W k represents the sharing degree of the kth frequency slot, whose value is the number of different services that the frequency slot is used to protect;
[0036] S210: Calculation Where ε∈(z,n), z,n are the serial numbers of the spectrum windows, and Select d ε The spectrum window with the smallest value is used as the allocation position of the spectrum block of the time-varying service, and the time-varying service is allocated to the spectrum block with the frequency slot index value [ε,ε+f-1], and then the process goes to step S3;
[0037] S211: From the protection path Block A Select the guard spectrum block BP containing the most frequency gaps max Available spectrum block BAp max As a pre-allocated spectrum block, and determine BAp max The starting frequency slot index value and the last frequency slot index value Calculate the scalability of the protected spectrum block Δ = f-|BP max |, where |BP max | represents the protected spectrum block BP max The number of frequency slots included;
[0038] S212: According to and as well as and calculate
[0039] S213: If renew for: Otherwise, update for:
[0040] S214: Let Δ = Δ - 1. If Δ = 0, allocate the time-varying service to the start and end frequency slot index values of the guaranteed path. Otherwise, go to step S212;
[0041] Further, the specific steps of S3 are:
[0042] S301: In each scheduling time period, determine whether the request rate of the time-varying service has changed. If so, calculate the number of frequency slots required for the time-varying service transmission according to the rate after the time-varying service changes, denoted as f new , go to step S302; otherwise, the service maintains the current spectrum allocation;
[0043] Among them, f new The calculation formula is:
[0044]
[0045] In formula (5), B′ represents the request rate after the time-varying service changes;
[0046] S302: If f new >f, indicating that the bandwidth required by the time-varying service is extended, go to step S303; otherwise, that is: f new <f, indicating that the bandwidth required for the time-varying service is compressed, and the process goes to step S310;
[0047] S303: If the number of idle available frequency slots near the location of the protected spectrum block occupied by the time-varying service is greater than f new , go to step S304; otherwise, go to step S307;
[0048] S304: According to f new value, creating a sliding spectrum window SW after the time-varying service bandwidth is expanded i , where i represents the index value of the sliding spectrum window, SW i The width of f new Frequency gap;
[0049] S305: The starting frequency slot index value index(r) of the idle available frequency slot near the location where the protected spectrum block is occupied by the time-varying service is calculated. F ) and the last frequency slot index value index(r E), and the starting frequency slot index value of the protection spectrum block currently allocated to the time-varying service and the last frequency slot index value Calculate from arrive The sharing degree of each sliding spectrum window of the mth spectrum window is choose The sliding spectrum window with the largest value is,; if there is only one spectrum window with the largest spectrum window sharing, the frequency slot f required by the time-varying service is new Assigned to the frequency slot index value interval [m,m+f new -1], go to step S301; otherwise, it indicates that there are multiple spectrum windows with the largest sharing degree, go to step S306;
[0050] S306: According to the number of frequency slots f and f required before and after the time-varying service changes new Value, calculated as the number of frequency slots Δ required to expand the current business E =f new -f;
[0051] S307: Calculation and
[0052] S308: If Then the starting frequency slot index value of the protection spectrum block currently occupied by the time-varying service is updated to: Otherwise, update the last frequency slot index value of the protected spectrum block currently occupied by the time-varying service to:
[0053] S309: Let Δ E =Δ E -1, if Δ E ≠0, go to step S308; otherwise, the number of frequency slots required for the time-varying service after bandwidth expansion is f new Assigned in the frequency slot index value interval On the spectrum block, go to step S301;
[0054] S310: Calculating the number of frequency slot compressions Δ after the time-varying service bandwidth is compressed C =ff new ;
[0055] S311: Calculate the sharing degree of each frequency slot of the spectrum block occupied by the time-varying service If the sharing degree of the current frequency slot Go to step S312; otherwise, go to step S314;
[0056] S312: according to the starting frequency slot index value index(rF ), update index(r F ) is: index(r F )=index(r F )+1, let Δ C =Δ C -1;
[0057] S313: If Δ C is zero, and the number of frequency slots required for the time-varying service after bandwidth compression is f new Assigned in the frequency slot index value interval [index(r F ),index(r E )], go to step S301; otherwise, go to step S311;
[0058] S314: Determine the sharing degree of the last frequency slot of the spectrum block occupied by the time-varying service according to the sharing degree of the current frequency slot of the time-varying service Is it 1? If so, go to step S315; otherwise, go to step S317;
[0059] S315: Update the last frequency slot index value index(r E ) is: index(r E )=index(r E )+1, let Δ C =Δ C -1;
[0060] S316: Determine Δ C Is it zero? If Δ C is zero, and the number of frequency slots required for time-varying services after bandwidth changes is f new Assigned in the frequency slot index value interval [index(r F ),index(r E )], go to step S317; otherwise, calculate the next frequency slot sharing degree, and go to step S314;
[0061] S317: The number of frequency slots required after compression according to the time-varying service bandwidth f new , create a sliding spectrum window SW i , S.W. i The size of f new ;
[0062] S318: Calculate spectrum windows sequentially arrive The sharing degree of each spectrum window Select If there is only one spectrum window with the largest sharing degree, the time-varying service is allocated in the frequency slot index value interval [m,m+fnew -1]; otherwise, it means that there are multiple spectrum blocks with the same sharing degree value of the spectrum windows, that is: If z, n∈m and z≠n, go to step 319; otherwise, go to step S301;
[0063] S319: according to the starting frequency slot index value index(r F ) and the last frequency slot index value index(r E ),calculate where z,n∈[index(r F ),index(r E )-f new +1], find the minimum value The corresponding ε, and the time-varying services after bandwidth compression are allocated in the frequency slot index value interval [ε,ε+f new -1] on a spectrum block.
[0064] The beneficial effects of the present invention are as follows: the present invention provides a time-varying service sharing protection method in an elastic optical network based on a sliding spectrum window. The algorithm considers the available spectrum blocks and the usage of the protection spectrum blocks in the protection path, and designs a protection path cost function for selecting the protection path of the time-varying service; in order to improve the spectrum resource utilization rate of the time-varying service, a protection path spectrum allocation strategy based on a sliding spectrum window is designed, and by changing the index value of the sliding spectrum window, the protection spectrum resources of the time-varying service are allocated to the position with the highest sharing degree of the protection path spectrum window; finally, regarding the bandwidth change problem of the protection path of the time-varying service, the spectrum resource usage in the current protection path and the location information of the time-varying service are considered, and the sliding spectrum window is used to complete the adjustment of the bandwidth of the time-varying service. The simulation results show that the algorithm has good service blocking rate and protection redundancy performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] 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:
[0066] Figure 1 Schematic diagram of the calculation of the protection path cost function;
[0067] Figure 2 Schematic diagram of quasi-center spectrum expansion strategy;
[0068] Figure 3 The flow chart of the quasi-center spectrum expansion strategy;
[0069] Figure 4 This is a schematic diagram of quasi-center spectrum compression allocation;
[0070] Figure 5Flowchart of spectrum allocation strategy for survivable elastic optical networks for time-varying services. DETAILED DESCRIPTION
[0071] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0072] The time-varying service sharing protection algorithm based on the sliding spectrum window strategy in the elastic optical network provided by the present invention aims to better optimize the spectrum resources of time-varying services in the 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 the features in the embodiments can be combined with each other without conflict.
[0073] Among them, the drawings 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 drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0074] As attached Figure 1 The protection path cost function calculation diagram is shown in the figure. Figure 1 Each square in the diagram represents a frequency slot. A gray frequency slot indicates an unavailable frequency slot, and a white frequency slot indicates an available frequency slot. The number in the white frequency slot indicates the sharing degree of the frequency slot (and also indicates that the frequency slot is a protection frequency slot). The number above the frequency slot indicates the index value of the frequency slot. The protection path cost calculation formula is as follows:
[0075]
[0076] In the above formula, BA i , BP j denote the i-th and j-th available spectrum blocks and protection spectrum blocks respectively; N and M denote the number of available spectrum blocks and protection spectrum blocks in the path respectively; W k represents the kth frequency slot sharing degree, which is defined as the number of different services protected by the same frequency slot;
[0077] Assume that the candidate protection path for the time-varying service is P 1 , P 2 and P 3 On the candidate protection path P 3In the example, the number of available spectrum blocks N=1, the number of frequency slots contained in the available spectrum blocks BA1=5, and the frequency slot index values thereof are 3 to 7; the number of protection spectrum blocks M=1, the number of frequency slots contained in the protection spectrum blocks BP1=3, and the occupied frequency slot index values thereof are 5 to 7. According to the cost function calculation formula of the protection path, the candidate protection path P is calculated. 3 The cost value is:
[0078]
[0079] In the same way, the candidate protection path P is calculated. 1 and P 2 The path values are:
[0080]
[0081]
[0082] As attached Figure 2 The schematic diagram of the sliding spectrum window creation process is shown in Figure 2. Figure 2 Each square in the represents a frequency slot. The number above the frequency slot indicates the index value of the frequency slot. The number inside the frequency slot indicates the sharing degree of the frequency slot (and also indicates that the frequency slot is a protection frequency slot). The sliding spectrum window (SW) is composed of continuous frequency slots, and its size is equal to the number of frequency slots required by the time-varying service. Assuming that there are 13 continuous available frequency slots in the protection path and the number of frequency slots required by a time-varying service is 5, the size of SW is 5. Figure 2 It can be seen that a total of 9 sliding spectrum windows can be created, represented as: SW1~SW9. According to the sharing degree of each frequency slot in SW, the sharing degree of each sliding spectrum window can be calculated. The calculation formula of the sliding spectrum window sharing degree is:
[0083]
[0084] In the above formula, f represents the number of frequency slots required for time-varying services, W k Indicates the kth frequency slot sharing degree, which is defined as the number of different services protected by the same frequency slot. p ) represents the starting index value of the protected spectrum block in the path, index(E p ) represents the last index value of the protection spectrum block in the path.
[0085] exist Figure 2 In the example of index(F p )=1,index(E p )=13, according to the sliding spectrum window sharing degree calculation formula, the sharing degree of SW1 can be calculated as The sharing degree of SW2 is Similarly, the sharing degree of the remaining sliding spectrum windows can be calculated.
[0086] As attached Figure 3 The schematic diagram of the spectrum expansion strategy based on the sliding spectrum window is shown in FIG. Figure 3 Each square in the diagram represents a frequency slot, and squares of different colors represent different frequency slot states. White indicates that the frequency slot is not occupied by any time-varying service. The number above the frequency slot indicates the index value of the frequency slot, and the number inside the frequency slot indicates the sharing degree of the frequency slot (and also indicates that the frequency slot is a protection frequency slot). If the bandwidth of the time-varying service is expanded, resulting in the number of frequency slots required for the time-varying service increasing from 3 to 5, the spectrum allocation for the time-varying service needs to be adjusted. Figure 3 The spectrum expansion strategy based on sliding spectrum window is introduced.
[0087] Attached Figure 3 (a) is the resource allocation in the path before the bandwidth of the time-varying service changes. At this time, the time-varying service occupies the frequency slots with index values of 7, 8, and 9 in the path. When the bandwidth of the time-varying service expands, resulting in the increase of the number of required frequency slots from 3 to 5, the spectrum allocation of the time-varying service needs to be adjusted. First, determine whether the available spectrum block currently occupied by the time-varying service meets the number of frequency slots required by the time-varying service after the bandwidth changes. Figure 3 (a) It can be seen that the available spectrum block in the path is equal to the protection spectrum block at this time, and the number of frequency slots contained is 13, which is greater than the number of frequency slots required by the time-varying service bandwidth after the change of 5. Therefore, the spectrum block currently occupied by the time-varying service can meet the bandwidth change requirements; secondly, according to the number of frequency slots required by the time-varying service bandwidth after the change, a sliding spectrum window is created, and the size of the sliding spectrum window is equal to the number of frequency slots required by the time-varying service at this time, that is, the size of the sliding spectrum window is 5; finally, calculate from arrive The sharing degree of the sliding spectrum window is calculated as follows: Since the time-varying service currently occupies the starting frequency slot index value of the protection spectrum block Index value of the last frequency slot of the protected spectrum block The frequency slot index start and end values index(r) of the empty spectrum block currently occupied by the time-varying service F )=7, the last frequency slot index value index(r E )=9, therefore, the index value range of the sliding spectrum window is SW5~SW7; then the spectrum window sharing degree of SW5 is: The spectrum window sharing degree of SW6 is The spectrum window sharing degree of SW7 is By comparison, SW6 has the largest sharing degree. Therefore, the number of frequency slots required by the time-varying service after the bandwidth changes is allocated to the frequency slot index value [6,10] of the spectrum window of SW6, as shown in the attached figure. Figure 3 (b) as shown.
[0088] As attached Figure 4 The schematic diagram of the spectrum compression strategy based on the sliding spectrum window is shown in FIG. Figure 4 Each square in the diagram represents a frequency slot, and squares of different colors represent different frequency slot states. White indicates that the frequency slot is not occupied by any time-varying service. The number above the frequency slot indicates the index value of the frequency slot, and the number inside the frequency slot indicates the sharing degree of the frequency slot (and also indicates that the frequency slot is a protection frequency slot). If the bandwidth of the time-varying service is compressed, resulting in the number of frequency slots required for the time-varying service being reduced from 7 to 3, the spectrum allocation for the time-varying service needs to be adjusted. Figure 4 The spectrum compression strategy based on sliding spectrum window is introduced.
[0089] Attached Figure 4 (a) shows the resource allocation in the path before the bandwidth of the time-varying service changes. At this time, the index values of the protection path occupied by the time-varying service are frequency slots 5 to 11. When the bandwidth of the time-varying service is compressed, the number of required frequency slots is reduced from 7 to 3, and the spectrum allocation of the time-varying service needs to be adjusted accordingly. First, calculate the number of frequency slots that need to be compressed for the time-varying service Δ C =7-3=4, determine the starting frequency slot sharing degree of the spectrum block occupied by the time-varying service Is it 1? Since FIG4(a) shows the starting frequency slot index value index(r F )=5, the sharing degree of the frequency slot It is not 1, so the frequency slot cannot be released directly; secondly, check the sharing degree of the last frequency slot of the spectrum block occupied by the time-varying service Is it 1? Figure 4 In (a), due to the time-varying service occupying the last frequency slot index value index(r E )=11, the sharing degree of the frequency slot Therefore, the spectrum resources occupied by the frequency slot with index value 11 can be released, such as Figure 4 (b) shows; update Δ C =Δ C -1=4-1=3, because Δ C is not zero, so we can create Figure 4 (b) shows four sliding spectrum windows SW5-SW8. The spectrum window sharing degree of SW5-SW8 is calculated in turn. Among them, the spectrum window sharing degree of SW5 is The spectrum window sharing degree of SW6 is The spectrum window sharing degree of SW7 is The spectrum window sharing degree of SW8 is By comparison, SW6 has the largest spectrum window sharing degree. Therefore, SW6 is used as the location for spectrum block allocation after the bandwidth of the time-varying service changes. Figure 4 (c) as shown.
[0090] The following will be combined with the attached Figure 5 The overall process of the time-varying service sharing protection algorithm based on the sliding spectrum window strategy in the elastic optical network of the present invention is introduced. The specific overall process can be divided into the following steps:
[0091] S1: Initialize the elastic optical network, determine the remaining spectrum resources of the current elastic optical network, K takes the maximum integer value of the average node degree of EONs, and go to S2;
[0092] S2: The time-varying service arrives at the elastic optical network and is transferred to S3;
[0093] S3: According to the source node and destination node of the time-varying service, the shortest path algorithm is executed in the elastic optical network to find a working path that meets the number of frequency slots required by the service. If a working path is found, the highest modulation level used by the time-varying service is determined by the length of the working path, and the number of frequency slots required for the service to be transmitted on the working path is calculated;
[0094] Among them, the number of frequency slots required by the time-varying service on the working path is f w The calculation formula is as follows:
[0095]
[0096] In the above formula, B represents the service request rate, in Gbps, and C f is the transmission rate per frequency slot, in Gbps / Hz. In elastic optical networks, the value is generally 12.5 Gbps / Hz. m is the highest modulation level determined according to the working path length, GB is the number of guard frequency slots;
[0097] S4: adopt the first hit strategy to complete the spectrum allocation of the time-varying service on the working path, and then go to S5;
[0098] S5: Delete the working path from the network topology, update the idle spectrum resource status of each link of EONs, and go to S6;
[0099] S6: According to the source node s and the destination node d of the time-varying service, in the updated elastic optical network topology, a K shortest path algorithm is used to find a set of candidate protection paths for the time-varying service, where K is generally the maximum value of the average node degree of the network topology, and then go to S7;
[0100] S7: Calculate the path cost function value of the candidate protection path, sort the candidate protection paths in the candidate protection path set in ascending order according to the path cost function value of the candidate path, and go to S8;
[0101] The calculation formula of the path cost function of the candidate protection path is as follows:
[0102]
[0103] In the above formula, BA i , BP j denote the i-th and j-th available spectrum blocks and protection spectrum blocks respectively; N and M denote the number of available spectrum blocks and protection spectrum blocks in the path respectively; W k represents the kth frequency slot sharing degree, which is defined as the number of different services protected by the same frequency slot;
[0104] S8: According to the bandwidth required by the time-varying service and the length of the candidate protection path, the highest modulation level of the service is selected, the number of frequency slots f required for the time-varying service to be transmitted on the candidate path is calculated, and then the process goes to S9;
[0105] The calculation formula for the number of frequency slots f required by the time-varying service on the candidate protection path is as follows:
[0106]
[0107] In the above formula, ρ m is the highest modulation level determined according to the candidate protection path length;
[0108] S9: Select the available spectrum blocks of each candidate protection path in turn and put them into the available spectrum block set Block A , go to S10;
[0109] S10: According to the number of frequency slots and blocks required by time-varying services A The number of frequency slots included in the available spectrum block in is used to determine whether there is a candidate protection path in the candidate protection path set that meets the frequency slot requirements of the time-varying service. If so, the candidate protection path with the smallest path cost function value is determined as the protection path of the time-varying service and marked as Go to S11; otherwise, block the time-varying service;
[0110] S11: put the protected spectrum block in the protection path into the protected spectrum block set Block P , go to S12;
[0111] S12: According to the number of frequency slots and blocks required by time-varying services P The number of frequency slots contained in the protected spectrum block is used to determine the Block PWhether there is a protection spectrum block that meets the time-varying service frequency slot requirement, if yes, go to S13; otherwise, go to S17;
[0112] S13: From Block P Select the guard spectrum block BP containing the largest number of frequency slots max , and determine BP max The starting frequency slot index value and the last frequency slot index value Go to S14;
[0113] S14: Create a sliding spectrum window SW for the time-varying service on the protection path according to the number of frequency slots required by the time-varying service. i , where i represents the index value of the sliding spectrum window, SW i The size of is the number of frequency slots required for the time-varying service, and the process goes to S15;
[0114] S15: According to SW i The sharing degree of each frequency slot in is calculated in turn from arrive The sharing degree of each sliding spectrum window Select The spectrum window SW with the maximum value i ,like If there is only one spectrum window with the largest value, the number of frequency slots required by the time-varying service is allocated to the spectrum blocks in the frequency slot index value interval [m, m+f-1], and the process goes to S23; otherwise, there is A plurality of sliding spectrum windows of maximum sharing degree values, z,n∈m, and z≠n, go to S16;
[0115] Among them, the calculation formula of the sharing degree of the mth sliding spectrum window is:
[0116]
[0117] In the above formula, W k represents the sharing degree of the kth frequency slot, whose value is the number of different services that the frequency slot is used to protect;
[0118] S16: Calculation where ε∈(z,n); select d ε The value is minimized and the number of frequency slots required for the time-varying service is allocated to the frequency slot index value interval [ε,ε+f-1];
[0119] S17: Protection Path Block A Select the spectrum block BP containing the most guard frequency gaps max Available spectrum block BAp max As a pre-allocated spectrum block, and determine BApmax The starting frequency slot index value and the last frequency slot index value and BP max Starting frequency slot index value and the last frequency slot index value Go to S18;
[0120] S18: Determine the number of frequency slots required to expand the protection spectrum block Δ=f-|BP max |, where |BP max | represents the protected spectrum block BP max Contains the number of frequency slots, and goes to S19;
[0121] S19: According to and as well as and calculate Go to S20;
[0122] S20: If Update Let Δ=Δ-1, go to 22; otherwise, go to S21;
[0123] S21: Update Let Δ=Δ-1, and go to S22;
[0124] S22: If the Δ value is zero, the number of frequency slots required for the time-varying service is allocated to the frequency slot index value interval Go to S23; otherwise, go to S19;
[0125] S23: In the next time period, determine whether the time-varying service request rate has changed. If the service request rate has changed, calculate the number of frequency slots required for the time-varying service based on the changed rate of the time-varying service. new , go to S24; otherwise, maintain the current spectrum allocation unchanged;
[0126] Among them, f new The calculation formula is:
[0127]
[0128] In the above formula, B′ represents the request rate after the time-varying service changes;
[0129] S24: If f new >f, indicating that the time-varying service bandwidth is expanded, and the process goes to S25; otherwise, the time-varying service bandwidth is compressed, and the process goes to S35;
[0130] S25: judging whether the current occupied protection spectrum block can be used to complete the transmission of the time-varying service according to the number of frequency slots contained in the protection spectrum block currently occupied by the time-varying service, that is, if the number of frequency slots contained in the protection spectrum block currently occupied by the time-varying service is greater than f new , go to S26; otherwise, go to S29;
[0131] S26: The number of frequency slots required after the time-varying service bandwidth changes f new , create a sliding spectrum window SW i , where i represents the index value of the sliding spectrum window, SW i The size of f new , go to S27;
[0132] S27: according to the starting frequency slot index value index(r F ) and the last frequency slot index value index(r E ) and the starting frequency slot index value of the protected spectrum block currently occupied by the time-varying service and the last frequency slot index value Calculate sliding spectrum window The spectrum window sharing degree choose The maximum sliding spectrum window of the value and the frequency slot f required by the time-varying service new Assigned to the frequency slot index value interval [m,m+f new -1]; if it exists z, n∈m and z≠n, go to S28;
[0133] S28: The starting frequency slot index value of the protected spectrum block currently occupied by the time-varying service and the last frequency slot index value calculate Where ε∈(z,n), choose The value is the smallest, and the frequency slot f required by the time-varying service is new Assigned to the frequency slot index value interval [ε,ε+f new -1];
[0134] S29: According to the number of frequency slots currently occupied by the time-varying service and the number of required frequency slots f new , calculate the number of additional frequency slots required for the current available spectrum block Go to S30;
[0135] S30: according to the starting frequency slot index value index(r F ) and the last frequency slot index value index(r E ) and the starting frequency slot index value of the protected spectrum block currently occupied by the time-varying service and the last frequency slot index value calculate and Determine the location information of the time-varying service in the currently available spectrum block, and go to S31;
[0136] S31: According to and The value is large, if Then update the starting frequency slot index value of the protected spectrum block currently occupied by the time-varying service Otherwise, go to S32;
[0137] S32: According to and The value is used to update the last frequency slot index value of the protected spectrum block currently occupied by the time-varying service. Go to S33;
[0138] S33: Update Δ E =Δ E -1, go to S34;
[0139] S34: According to Δ E The value of Δ E Is it zero? If Δ E is not zero, go to S30; otherwise, the number of frequency slots required for the time-varying service after the bandwidth changes is f new Assigned in the frequency slot index value interval
[0140] S35: According to the number of frequency slots f required by the time-varying service and the number of frequency slots f required by the time-varying service after the bandwidth changes new , calculate the number of time-varying service frequency slot compressions Δ after bandwidth changes C =ff new , go to S36;
[0141] S36: Determine the sharing degree of the starting frequency slot of the spectrum block occupied by the time-varying service according to the sharing degree of the frequency slot occupied by the time-varying service Is it 1? Go to S38; otherwise, go to S39;
[0142] S37: according to the starting frequency slot index value index(r F ), update index(r F )=index(r F )+1 and Δ C =Δ C -1, go to S38;
[0143] S38: According to Δ C The value of Δ CIs it zero? If Δ C is zero, and the number of frequency slots required for time-varying services after bandwidth changes is f new Assigned in the frequency slot index value interval [index(r F ),index(r E )]; otherwise, go to S36;
[0144] S39: According to the sharing degree of the frequency slot occupied by the time-varying service, determine the sharing degree of the last frequency slot of the spectrum block occupied by the time-varying service Is it 1? Go to S40; otherwise, go to S42;
[0145] S40: according to the last frequency slot index value index(r E ), update index(r E )=index(r E )+1 and Δ C =Δ C -1, go to S41;
[0146] S41: According to Δ C The value of Δ C Is it zero? If Δ C is zero, and the number of frequency slots required for time-varying services after bandwidth changes is f new Assigned in the frequency slot index value interval [index(r F ),index(r E )]; otherwise, go to S39;
[0147] S42: The number of frequency slots required according to the time-varying service bandwidth changes f new Create a sliding spectrum window SW i , S.W. i The size of f new , go to S43;
[0148] S43: Calculate from arrive The sharing value of each sliding spectrum window is calculated as follows: Select a Sharing value The largest spectrum window. If there is only one spectrum window with the largest sharing value, the number of frequency slots required for the time-varying service after the bandwidth changes is f new Assigned in the frequency slot index value interval [m,m+f new -1]; otherwise, there are multiple maximum sharing value spectrum windows, namely: z, n∈m and z≠n, go to S44;
[0149] S45: according to the starting frequency slot index value index(r F ) and the last frequency slot index value index(r E ),calculate Among them, ε∈(z,n), select the minimum value The number of frequency slots required for the time-varying service after the bandwidth changes is f new Assigned in the frequency slot index value interval [ε,ε+f new -1].
[0150] 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 time-varying service sharing protection method in an elastic optical network based on a sliding spectrum window, characterized in that: In the method, a protection path for a time-varying service is selected according to a protection path function cost value of a candidate protection path in an elastic optical network; a spectrum is allocated to the time-varying service on the protection path using a sliding spectrum window; when the elastic optical network detects that the bandwidth of the time-varying service changes, a sliding spectrum window method is used to adjust the spectrum block required for the time-varying service according to whether the bandwidth of the time-varying service increases or decreases; the method specifically includes the following steps: S1: According to the time-varying service request, the shortest path algorithm is executed in the elastic optical network to find the working path of the time-varying service, and the spectrum block required for the working path is allocated using the first choice method; the K shortest path algorithm is executed to find the candidate protection path set of the time-varying service using the principle of edge separation of the working path and the protection path; Wherein, the S1 is specifically implemented by the following steps: S101: According to the source node and destination node of the time-varying service, the shortest path algorithm is executed in the elastic optical network to find a working path that meets the number of frequency slots required by the service at the same time. If a working path is found, the highest modulation level used by the time-varying service is determined by the length of the working path, and the number of frequency slots required for the service to be transmitted on the working path is calculated; the spectrum resources are allocated to the working path of the service using the first hit spectrum allocation strategy, and the elastic optical network resources are updated: including deleting the working path selected by the time-varying service and subtracting the spectrum resources allocated on the working path; go to step S102; otherwise, the time-varying service is blocked and the algorithm ends; Among them, the number of frequency slots required by the time-varying service on the working path is f w The calculation formula is as follows: In the above formula, B represents the service request rate, in Gbps, and C f is the transmission rate per frequency slot, in Gbps / Hz. In the elastic optical network, the value is 12.5 Gbps / Hz. m is the highest modulation level determined according to the working path length, GB is the number of guard frequency gaps; S102: using a K shortest path algorithm to find a set of candidate protection paths for the time-varying service in the updated elastic optical network, where the K value is the maximum value of the average node degree of the elastic optical network; S2: Calculate the cost function value of each candidate protection path, select the candidate protection path with the smallest cost function value and meeting the number of frequency slots required by the time-varying service as the protection path of the time-varying service, create a sliding spectrum window according to the number of frequency slots required by the time-varying service, and allocate spectrum to the time-varying service on the protection path; The specific implementation steps of S2 are as follows: S201: Calculate the cost value of each candidate protection path, and arrange the candidate protection paths in ascending order according to the cost value of the candidate protection path; The calculation formula of the protection path cost value of the candidate protection path is as follows: In the above formula, BA i , BP j represents the i-th and j-th available idle spectrum blocks and protection spectrum blocks on the candidate protection path respectively; N and M represent the number of available idle spectrum blocks on the path and the number of spectrum blocks allocated to the protection path of other services respectively; W k represents the frequency slot sharing degree of the kth frequency slot, where the frequency slot sharing degree is defined as the number of different services that the frequency slot is used to protect; S202: Calculate the number of frequency slots f required for the time-varying service to be transmitted in the candidate protection path according to the time-varying service request rate and the candidate protection path length; The calculation formula for the number of frequency slots f required by the time-varying service on the candidate protection path is as follows: In the above formula, ρ m is the highest modulation level determined according to the candidate protection path length; S203: Search for available idle spectrum blocks on each candidate protection path in the candidate protection path set in turn, and put these available idle spectrum blocks into the set Block A middle; S204: Determine the Block according to the number of frequency slots f required for the time-varying service A Is there a spectrum block that meets the number of frequency slots f required by the time-varying service? If so, the candidate protection path that contains such a spectrum block and has the smallest protection path cost is determined as the protection path of the time-varying service, denoted as Go to step S205; otherwise, block the time-varying service request and end the algorithm; S205: Save all idle spectrum blocks in the protection path in the protection spectrum block set Block P middle; S206: From Block P Select the guard spectrum block BP with the largest number of frequency slots max , record the protected spectrum block BP max The starting frequency slot index value and the last frequency slot index value S207: Determine Block P Whether there are protection spectrum blocks greater than or equal to the number of frequency slots f required by the time-varying service, if yes, go to step S208; otherwise, go to step S211; S208: Create a sliding spectrum window SW for the service on the protection path according to the number of frequency slots f required by the time-varying service i , where i represents the index number of the sliding spectrum window, SW i The size of is determined by the number of frequency slots f required for time-varying services; S209: Calculate from arrive The sharing degree of each sliding spectrum window is calculated. If there is only one spectrum window with the largest sharing degree, the number of frequency slots required by the time-varying service r(s, d, B, q) is allocated to the spectrum blocks in the frequency slot index value interval [m, m+f-1], and the process goes to step S3; otherwise, the process goes to step S210; Among them, the calculation formula of the sharing degree of the mth sliding spectrum window is: In the above formula, W k Indicates the number of services allocated to the kth spectrum block in the spectrum window; S210: Calculation Where ε∈(z,n), z,n are the serial numbers of the spectrum windows, and Select d ε The spectrum window with the smallest value is used as the allocation position of the spectrum block of the time-varying service, and the time-varying service is allocated to the spectrum block with the frequency slot index value [ε,ε+f-1], and the process goes to step S3; S211: From the protection path Block A Select the guard spectrum block BP containing the most frequency gaps max Available spectrum block BAp max As a pre-allocated spectrum block, and determine BAp max The starting frequency slot index value and the last frequency slot index value Calculate the extension amount of the protected spectrum block Δ = f-|BP max |, where |BP max | represents the protected spectrum block BP max The number of frequency slots included; S212: According to and as well as and calculate S213: If renew for: Otherwise, update for: S214: Let Δ = Δ - 1. If Δ = 0, allocate the time-varying service to the start and end frequency slot index values of the guaranteed path. Otherwise, go to step S212; S3: When the elastic optical network detects that the request rate of the time-varying service increases, the spectrum expansion strategy based on the sliding spectrum window is executed to allocate protection spectrum blocks with high spectrum window sharing degree to the service; when the request rate of the time-varying service decreases, the spectrum compression strategy based on the sliding spectrum window is executed to allocate protection spectrum blocks with high spectrum window sharing degree to the service, so as to realize dynamic adjustment of spectrum allocation for time-varying services; The specific steps of S3 are as follows: S301: In each scheduling time period, determine whether the request rate of the time-varying service has changed. If so, calculate the number of frequency slots required for the time-varying service transmission according to the rate after the time-varying service changes, denoted as f new , go to step S302; otherwise, the service maintains the current spectrum allocation; Among them, f new The calculation formula is: In the above formula, B′ represents the request rate after the time-varying service changes; S302: If f new >f, indicating that the bandwidth required by the time-varying service is extended, go to step S303; otherwise, that is: f new <f, indicating that the bandwidth required for the time-varying service is compressed, and the process goes to step S310; S303: If the number of idle available frequency slots near the location of the protected spectrum block occupied by the time-varying service is greater than f new , go to step S304; otherwise, go to step S307; S304: According to f new value, creating a sliding spectrum window SW after the time-varying service bandwidth is expanded i , where i represents the index value of the sliding spectrum window, SW i The width of f new Frequency gap; S305: The starting frequency slot index value index(r) of the idle available frequency slot near the location where the protected spectrum block is occupied by the time-varying service is calculated. F ) and the last frequency slot index value index(r E ), and the starting frequency slot index value of the protection spectrum block currently allocated to the time-varying service and the last frequency slot index value Calculate from arrive The sharing degree of each sliding spectrum window of , where the sharing degree calculation formula of the mth spectrum window is choose The sliding spectrum window with the largest value; if there is only one spectrum window with the largest spectrum window sharing, the frequency slot f required by the time-varying service new Assigned to the frequency slot index value interval [m,m+f new -1], go to step S301; otherwise, it indicates that there are multiple spectrum windows with the largest sharing degree, go to step S306; S306: According to the number of frequency slots f and f required before and after the time-varying service changes new Value, calculated as the number of frequency slots Δ required to expand the current business E =f new -f; S307: Calculation and S308: If Then the starting frequency slot index value of the protection spectrum block currently occupied by the time-varying service is updated to: Otherwise, update the last frequency slot index value of the protected spectrum block currently occupied by the time-varying service to: S309: Let Δ E =Δ E -1, if Δ E ≠0, go to step S308; otherwise, the number of frequency slots required for the time-varying service after bandwidth expansion is f new Assigned in the frequency slot index value interval On the spectrum block, go to step S301; S310: Calculating the number of frequency slot compressions Δ after the time-varying service bandwidth is compressed C =ff new ; S311: Calculate the sharing degree W of each frequency slot of the spectrum block occupied by the time-varying service index(rF) , if the sharing degree of the current frequency slot is Go to step S312; otherwise, go to step S314; S312: according to the starting frequency slot index value index(r F ), update index(r F ) is: index(r F )=index(r F )+1, let Δ C =Δ C -1; S313: If Δ C is zero, and the number of frequency slots required for the time-varying service after bandwidth compression is f new Assigned in the frequency slot index value interval [index(r F ),index(r E )], go to step S301; otherwise, go to step S311; S314: Determine the sharing degree W of the last frequency slot of the spectrum block occupied by the time-varying service according to the sharing degree of the current frequency slot of the time-varying service. index(rE) Is it 1? If so, go to step S315; otherwise, go to step S317; S315: Update the last frequency slot index value index(r E ) is: index(r E )=index(r E )+1, let Δ C =Δ C -1; S316: Determine Δ C Is it zero? If Δ C is zero, and the number of frequency slots required for time-varying services after bandwidth changes is f new Assigned in the frequency slot index value interval [index(r F ),index(r E )], go to step S317; otherwise, calculate the next frequency slot sharing degree, and go to step S314; S317: The number of frequency slots required after compression according to the time-varying service bandwidth f new , create a sliding spectrum window SW i , S.W. i The size of f new ; S318: Calculate spectrum windows sequentially arrive The sharing degree of each spectrum window m∈[index(r F ),index(r E )-f new +1], select If there is only one spectrum window with the largest sharing degree, the time-varying service is allocated in the frequency slot index value interval [m,m+f new -1]; otherwise, it means that there are multiple spectrum blocks with the same sharing degree value of the spectrum windows, that is: If z, n∈m and z≠n, go to step 319; otherwise, go to step S301; S319: according to the starting frequency slot index value index(r F ) and the last frequency slot index value index(r E ),calculate where z,n∈[index(r F ),index(r E )-f new +1], find the minimum value The corresponding ε, and the time-varying services after bandwidth compression are allocated in the frequency slot index value interval [ε,ε+f new -1] on a spectrum block.
Citation Information
Patent Citations
Path protection method based on spectrum availability and protection bandwidth sharing sensing in elastic optical network
CN106712839A
Spectrum allocation method based on idle spectrum continuity sensing in elastic optical network
CN108667540A
Time-varying service-oriented survivability elastic optical network center hit spectrum allocation strategy
CN114401464A
System and method for elastic optical networks
US20210281350A1
