Spectrum reconstruction method, device, storage medium and electronic device
By using a sequence-to-sequence model in a dynamic network to predict the gap weight of the core and calculate the spectrum fragmentation index, the problem of spectrum resource fragmentation is solved and the efficient utilization of spectrum resources is achieved.
Patent Information
- Application Number
- CN202311466170.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2043-11-06
AI Technical Summary
Spectral resources in dynamic networks form discontinuous spectrum blocks with fewer frequency gaps due to increased services and frequent establishment and demolition operations, resulting in spectrum fragmentation and reducing resource utilization.
By obtaining the historical gap position information of the network link, using the sequence-to-sequence model to predict the gap weight of the core, calculate the spectrum fragment index of each core, and perform spectrum reconstruction when the index is greater than the threshold value, clear the business of the target core and redistribute the spectrum resources.
It effectively reduces spectrum fragmentation, improves spectrum utilization, and ensures efficient utilization of network resources.
Smart Images

Figure CN117527719B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a spectrum reconstruction method, device, storage medium and electronic device. Background Art
[0002] In a dynamic network, as the number of services in the network increases and establishment and removal operations are frequently performed, discontinuous spectrum blocks with a small number of frequency slots will be generated in the network, making the available spectrum in a state of disorderly distribution, forming spectrum fragments, and greatly reducing resource utilization in the entire spectrum range. Summary of the invention
[0003] The purpose of the present disclosure is to provide a spectrum reconstruction method, device, storage medium and electronic device, which can reduce spectrum fragmentation and improve spectrum utilization.
[0004] In order to achieve the above objectives, in a first aspect, the present disclosure provides a spectrum reconstruction method, comprising:
[0005] In response to the service request, obtaining historical frequency slot position information of the network link;
[0006] For each fiber core in the network link, input the historical frequency slot position information and the priority information corresponding to the service request into a sequence-to-sequence model to obtain a predicted frequency slot weight corresponding to the fiber core output by the sequence-to-sequence model;
[0007] Determine a first spectrum fragmentation index for each of the fiber cores, and determine a second spectrum fragmentation index for the network link based on the first spectrum fragmentation index and the predicted frequency slot weight;
[0008] When the second spectrum fragmentation index is greater than a threshold value, spectrum reconstruction is performed on the network link.
[0009] Optionally, the reconstructing the spectrum of the network link includes:
[0010] Determining a target fiber core from the network link, wherein a first spectrum fragmentation index of the target fiber core is greater than first spectrum fragmentation indexes of other fiber cores in the network link;
[0011] Perform spectrum reconstruction on the target fiber core.
[0012] Optionally, reconstructing the spectrum of the target core includes:
[0013] Determine a first time when a first spectrum fragmentation index of the target core exceeds the threshold value, and a service on the network link;
[0014] Determine an end time of the service, and determine a target time period according to the first time and the end time;
[0015] The services of the target fiber core in the target time period are cleared, and the spectrum resources of the target fiber core are reallocated.
[0016] Optionally, clearing the services of the target core in the target time period and reallocating spectrum resources of the target core includes:
[0017] Clearing the services of the target core within the target time period to obtain a first idle spectrum block;
[0018] In the case that the first idle spectrum block can accommodate the service, the first idle spectrum block is allocated.
[0019] Optionally, determining a second spectrum fragmentation index of the network link according to the first spectrum fragmentation index and the predicted frequency slot weight includes:
[0020] Substituting the first spectrum fragmentation index and the predicted frequency slot weight of all the fiber cores into the first spectrum fragmentation calculation formula to calculate and obtain a second spectrum fragmentation index;
[0021] The first spectrum fragment calculation formula includes:
[0022]
[0023] SFI sum Characterizing the second spectrum fragmentation index, SFI i Characterize the first spectrum fragmentation index of the i-th fiber core, W i,j Characterizes the predicted frequency slot weight of frequency slot j on the i-th fiber core.
[0024] Optionally, determining the first spectrum fragmentation index of each of the fiber cores comprises:
[0025] For each of the fiber cores, obtaining the last serial number, the first serial number, the total number of frequency slots occupied by the target spectrum segment, and the number of spectrum blocks composed of continuous frequency slots of all frequency slots on the fiber core;
[0026] Substituting the last sequence number, the first sequence number, the total number of the frequency slots and the number of the spectrum blocks into a second spectrum fragmentation index calculation formula to calculate a first spectrum fragmentation index;
[0027] The second spectrum fragment calculation formula includes:
[0028]
[0029] α and β represent two variable constants, and α+β=1, SFIi Characterize the first spectrum fragment, S i,max Indicates the end number, S i,min Indicates the first serial number, B i,a Characterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks consisting of continuous frequency slots, S l,5epart Indicates the end time of the service, S l,current represents the current time of the system, and Δt represents the effective time of spectrum reconstruction.
[0030] Optionally, the reconstructing the spectrum of the network link includes:
[0031] Determining a target fiber core from the network link, wherein a first spectrum fragmentation index of the target fiber core is greater than first spectrum fragmentation indexes of other fiber cores in the network link;
[0032] Perform spectrum reconstruction on the target fiber core.
[0033] Optionally, the spectrum reconstruction method further includes:
[0034] When the second spectrum fragmentation index is less than a threshold value, determining the shortest path in the network link according to a K shortest path algorithm;
[0035] In the case that there is a second idle spectrum block on the shortest path that can accommodate the service, the second idle spectrum block is allocated.
[0036] In a second aspect, the present disclosure provides a spectrum reconstruction device, comprising:
[0037] A response module, used to obtain historical frequency slot position information of a network link in response to a service request;
[0038] an execution module, configured to input the historical frequency slot position information and the priority information corresponding to the service request into a sequence-to-sequence model for each fiber core in the network link, and obtain a predicted frequency slot weight corresponding to the fiber core output by the sequence-to-sequence model;
[0039] a determination module, configured to determine a first spectrum fragmentation index of each of the fiber cores, and determine a second spectrum fragmentation index of the network link according to the first spectrum fragmentation index and the predicted frequency slot weight;
[0040] The control module is configured to reconstruct the spectrum of the network link when the second spectrum fragmentation index is greater than a threshold value.
[0041] In a third aspect, the present disclosure provides an electronic device, including:
[0042] a memory having a computer program stored thereon;
[0043] The processor is used to execute the computer program in the memory to implement the steps of the spectrum reconstruction method described in the first aspect.
[0044] In a fourth aspect, the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the spectrum reconstruction method described in the first aspect.
[0045] Through the above technical solution, in response to a service request, the historical frequency slot position information of the network link is obtained, and the predicted frequency slot position of each fiber core of the network link is output according to the historical frequency slot position information through a sequence-to-sequence model, and the spectrum fragmentation index of the network link is determined according to the predicted frequency slot position of each fiber core. When the spectrum fragmentation index is greater than a threshold value, the network link is spectrum reconstructed to effectively utilize the spectrum fragments in the network link and improve the spectrum utilization rate in the network link.
[0046] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0048] Figure 1 The figure is a flow chart of a spectrum reconstruction method according to an exemplary embodiment of the present disclosure.
[0049] Figure 2 is another flow chart of a spectrum reconstruction method according to an exemplary embodiment of the present disclosure.
[0050] Figure 3 is a schematic diagram of a core optical fiber according to an exemplary embodiment of the present disclosure.
[0051] Figure 4 It is a schematic diagram of frequency slot occupancy of a core optical fiber according to an exemplary embodiment of the present disclosure.
[0052] Figure 5 The figure is a block diagram of a spectrum reconstruction device according to an exemplary embodiment of the present disclosure.
[0053] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0054] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0055] In the description of the present disclosure, it should be noted that the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0056] In the description of the present disclosure, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0057] The following will be combined with the drawings in this embodiment to clearly and completely describe the technical solution in this embodiment. Obviously, the described embodiment is only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0058] As mentioned in the background technology, with the layout of the new power system and the widespread application of digital technologies represented by "cloud, big data, Internet of Things, mobile, intelligence and chain" in the power system, the power communication backbone transmission network has an increasing demand for high-speed, large-capacity, low-latency and high-security data transmission. Traditional optical communication networks face capacity bottlenecks and performance challenges, so a more efficient optical network architecture is needed.
[0059] In related technologies, a flexible spectrum resource allocation mechanism is introduced in elastic optical networks, so that different users and applications can obtain optical communication channels of different bandwidths as needed, and optical fiber resources can be better utilized. However, traditional single-core optical fibers have limitations in increasing capacity and flexibility, while multi-core optical fibers allow multiple independent transmission channels (cores) to be integrated into one optical fiber, and each channel can work independently. This technology can expand higher network capacity in the spatial dimension, helping to meet the growing data demand. In summary, the combination of multi-core optical fiber technology and elastic optical networks aims to provide higher transmission capacity, better resource utilization efficiency, and more flexible spectrum management, thereby providing a viable solution for future high-speed data transmission needs.
[0060] It is worth noting that the multi-dimensional elastic optical network is an innovative communication architecture that combines multi-core fiber technology with elastic optical networks, aiming to meet the future high-speed, large-capacity data transmission needs and solve the limitations of traditional single-core fiber networks in increasing capacity and flexibility. The multi-dimensional elastic optical network allows multiple independent transmission channels (cores) to be integrated in one optical fiber, and each channel can work independently, thereby achieving higher transmission capacity and better resource utilization efficiency. Its advantages include: ① High transmission capacity: Multi-core fiber technology allows data from multiple channels to be transmitted simultaneously in a single optical fiber, thereby greatly increasing the transmission capacity of the network and meeting the growing demand for data transmission. ② High resource utilization: The multi-dimensional elastic optical network can more flexibly allocate different channels in the optical fiber, allocate appropriate bandwidth according to the needs of different applications and users, and improve the utilization of optical fiber resources. ③ Flexibility and adaptability: The multi-dimensional elastic optical network combines the flexible spectrum allocation characteristics of the elastic optical network, so that the network can adaptively adjust the bandwidth of the channel according to different situations and adapt to different communication needs. The multi-dimensional elastic optical network provides potential space for future technological innovation and expansion.
[0061] It is worth noting that in a dynamic network environment, as service requests arrive, the network needs to allocate continuous spectrum resources to establish connections. After the service leaves, the network needs to dismantle the connection established for it and release the occupied spectrum resources. As the number of services in the network increases, the establishment and dismantling operations are frequently performed, and discontinuous spectrum blocks with a small number of frequency slots will be generated in the network. The available spectrum is in a messy distribution state, forming spectrum fragments. Since the dual constraints of spectrum continuity and consistency must be met during spectrum allocation, smaller spectrum fragment resources are difficult to be used, and new spectrum fragments are constantly generated, resulting in a significant reduction in resource utilization within the entire spectrum range. These spectrum blocks cannot meet the transmission requirements of subsequent services, thereby degrading the network blocking rate performance.
[0062] The inventors found that while multidimensional elastic optical networks bring many advantages, they also bring new challenges to resource allocation. For single-fiber elastic optical networks, due to the uneven size and distribution of spectrum requirements for different communication requests, spectrum resources may be fragmented discontinuously and incompletely in the network. These fragmented spectrum resources are difficult to be effectively utilized, which may lead to waste of spectrum resources and reduced network performance. After the introduction of the spatial dimension, the fragmentation problem in the multidimensional elastic optical network becomes more complicated. With the continuous establishment and removal of optical paths in the multidimensional elastic optical network, the originally continuous idle spectrum blocks in the optical network are gradually divided into discrete spectrum blocks, which will generate a large number of spectrum fragments. When the degree of fragmentation of network resources is severe, the subsequent arriving services may not find spectrum blocks that meet the service transmission conditions, and the spectrum utilization of the network is reduced. The distance between the cores in the multidimensional elastic optical network is close, and the spectrum overlap will occur during the transmission of the service, causing the optical signal power to leak into the adjacent cores, causing crosstalk between cores, and affecting the quality of service transmission. Therefore, in the multidimensional elastic optical network, how to reduce fragmentation to improve spectrum utilization is crucial.
[0063] Currently, in the scenario of multi-dimensional elastic optical networks, the main focus is on resource allocation methods based on spectrum fragmentation, which aims to allocate appropriate spectrum blocks to services by considering spectrum fragmentation and applying improved path algorithms. However, there is currently no corresponding solution for the evaluation of spectrum fragmentation itself in the entire network.
[0064] In view of this, the present disclosure provides a spectrum reconstruction method, device, storage medium and electronic device, which can reduce spectrum fragmentation and improve spectrum utilization.
[0065] Figure 1 is a flowchart of a spectrum reconstruction method according to an exemplary embodiment of the present disclosure, see Figure 1 , the spectrum reconstruction method may include the following steps:
[0066] In step S11, in response to a service request, historical frequency slot position information of a network link is acquired.
[0067] It is worth noting that there are multiple network links in a network, there are multiple optical fiber networks in each network link, and there are multiple fiber cores in each optical fiber.
[0068] In step S12, for each fiber core in the network link, the historical frequency slot position information and the priority information corresponding to the service request are input into a sequence to sequence model (Sequence to sequence, Seq2seq) to obtain a predicted frequency slot weight corresponding to the fiber core output by the sequence to sequence model.
[0069] It is worth noting that the preset frequency slot weight W output by the Seq2seq model can characterize the occupancy of the same frequency slot on different fiber cores on each link in the current network.
[0070] In step S13, a first spectrum fragmentation index of each of the fiber cores is determined, and a second spectrum fragmentation index of the network link is determined according to the first spectrum fragmentation index and the predicted frequency slot weight.
[0071] In step S14, when the second spectrum fragmentation index is greater than a threshold value, spectrum reconstruction is performed on the network link.
[0072] It is worth noting that the threshold value can be preset according to the size of the spectrum fragments.
[0073] In the present embodiment, in response to a service request, historical frequency slot position information of a network link is obtained, and a predicted frequency slot position of each fiber core of the network link is outputted according to the historical frequency slot position information through a sequence-to-sequence model, and a spectrum fragmentation index of the network link is determined according to the predicted frequency slot position of each fiber core. When the spectrum fragmentation index is greater than a threshold value, the spectrum of the network link is reconstructed to effectively utilize the spectrum fragments in the network link and improve the spectrum utilization rate in the network link.
[0074] In order to facilitate those skilled in the art to better understand the spectrum reconstruction method provided by the present disclosure, the steps involved in the spectrum reconstruction method are described in detail below with examples.
[0075] In a possible embodiment, in step S13, determining the first spectrum fragmentation index of each of the fiber cores includes:
[0076] For each of the fiber cores, obtaining the last serial number, the first serial number, the total number of frequency slots occupied by the target spectrum segment, and the number of spectrum blocks composed of continuous frequency slots of all frequency slots on the fiber core;
[0077] Substituting the last sequence number, the first sequence number, the total number of the frequency slots and the number of the spectrum blocks into a second spectrum fragmentation index calculation formula to obtain a first spectrum fragmentation index (Spectrum Fragmentation Index, SFI);
[0078] The second spectrum fragment calculation formula includes:
[0079]
[0080] α and β represent two variable constants, and α+β=1, SFI i Characterize the first spectrum fragment, S i,max Indicates the end number, S i,min Indicates the first serial number, B i,aCharacterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks composed of consecutive frequency slots, S l,5epart Indicates the end time of the service, S l,current represents the current time of the system, and Δt represents the effective time of spectrum reconstruction.
[0081] In a possible embodiment, in step S13, determining the second spectrum fragmentation index of the network link according to the first spectrum fragmentation index and the predicted frequency slot weight includes:
[0082] Substituting the first spectrum fragmentation index and the predicted frequency slot weight of all the fiber cores into the first spectrum fragmentation calculation formula to calculate and obtain a second spectrum fragmentation index;
[0083] The first spectrum fragment calculation formula includes:
[0084]
[0085] SFI sum Characterizing the second spectrum fragmentation index, SFI i Characterize the first spectrum fragmentation index of the i-th fiber core, W i,j Characterizes the predicted frequency slot weight of frequency slot j on the i-th fiber core.
[0086] For example, for an optical fiber having k fiber cores, obtaining the frequency slot usage of all the fiber cores at a certain moment may include the following steps:
[0087] a: Calculate the spectrum fragmentation index SFI of each fiber core in the current network i (i=1, 2, ..., k), and are arranged in ascending order in the set P according to the SFI value of each fiber core. The formula for the spectrum fragmentation index of the i-th fiber core is expressed as:
[0088]
[0089] α and β represent two variable constants, and α+β=1, SFI i Characterize the first spectrum fragment, S i,max Indicates the end number, S i,min Indicates the first serial number, B i,a Characterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks composed of consecutive frequency slots, S l,5epart Indicates the end time of the service, S l,current represents the current time of the system, and Δt represents the effective time of spectrum reconstruction.
[0090] It is worth mentioning that you can use To represent the degree of fiber core fragmentation in the frequency slot resource dimension, the larger the value, the more serious the degree of frequency slot resource fragmentation. l,5epart and S l,current The sum of the differences reflects the remaining time of all services at this time. The specific value of Δt can be changed according to the elasticity of the network service's demand for latency. From the time dimension, The larger the value of is, the smaller the probability of business leaving in a short period of time is, indicating that the benefits brought by reconstruction can last longer, and the more urgent the need for spectrum reconstruction is. The values of α and β determine which dimension of resources has a greater impact on the evaluation of the fragmentation index.
[0091] b: The Seq2seq model is used to obtain the occupancy of the same frequency slot on different fiber cores on each link in the current network, and the following is obtained:
[0092] Among them, B i,j represents the jth frequency slot on the i-th fiber core, It represents the sum of the occupancy of the jth frequency slot position on different fiber cores i.
[0093] c: Calculate the fragmentation index SFI of each link in the current network sum ,get:
[0094] Among them, SFI i Characterize the first spectrum fragment, S i,max Represents the maximum sequence number, S i,min Characterizes the minimum sequence number, B i,a Characterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks consisting of consecutive frequency slots.
[0095] d: The spectrum fragmentation index SFI of each link in the currently calculated network sum and threshold SFI block Compare, if SFI sum >SFI block , determine the spectrum fragmentation index SFI from the set P on each link sum The largest fiber core is used to defragment the spectrum (i.e., reconstruct the spectrum) and then allocate spectrum resources to services. sum ≤SFI block , then continue to allocate spectrum for subsequent services.
[0096] In a possible embodiment, in step S14, reconfiguring the spectrum of the network link may include:
[0097] Determining a target fiber core from the network link, wherein a first spectrum fragmentation index of the target fiber core is greater than first spectrum fragmentation indexes of other fiber cores in the network link;
[0098] Perform spectrum reconstruction on the target fiber core.
[0099] In a possible embodiment, reconstructing the spectrum of the target core may include:
[0100] Determine a first time when a first spectrum fragmentation index of the target core exceeds the threshold value, and a service on the network link;
[0101] Determine an end time of the service, and determine a target time period according to the first time and the end time;
[0102] The services of the target fiber core in the target time period are cleared, and the spectrum resources of the target fiber core are reallocated.
[0103] In a possible embodiment, clearing the services of the target core in the target time period and reallocating the spectrum resources of the target core may include:
[0104] Clearing the services of the target core within the target time period to obtain a first idle spectrum block;
[0105] In the case that the first idle spectrum block can accommodate the service, the first idle spectrum block is allocated.
[0106] In a possible embodiment, the spectrum reconstruction method further includes:
[0107] When the second spectrum fragmentation index is less than a threshold value, determining the shortest path in the network link according to a K shortest path algorithm;
[0108] In the case that there is a second idle spectrum block on the shortest path that can accommodate the service, the second idle spectrum block is allocated.
[0109] For example, Figure 2 As shown, the spectrum reconstruction method provided by the present disclosure may also include the following steps:
[0110] When a new service request arrives, the fiber cores on each link are counted to determine the occupied frequency slots, and the fragmentation index of each fiber core and the occupation weight of each frequency slot position are calculated, and then the fragmentation degree SFI of each link is calculated. sum .
[0111] Determining SFI sum Is it greater than the set threshold?
[0112] If so, select the fiber core with a larger SFI value, move some of its services and integrate the idle spectrum blocks to determine whether the idle spectrum blocks can accommodate the services. If so, allocate spectrum resources; if not, block the services.
[0113] If not, the route is selected according to the k shortest path algorithm to determine whether there is an available spectrum block on the shortest path. If yes, spectrum resources are allocated, if not, the service is blocked.
[0114] After allocating spectrum resources, it is determined whether the service is the last service. If so, it is terminated; if not, the next service is traversed.
[0115] For example, see Figure 3 Taking a multi-core optical fiber containing 7 cores as an example, the 7 cores of the multiple optical fibers are Core 1, Core 2, Core 3, Core 4, Core 5, Core 6, and Core 7.
[0116] The frequency slot occupancy of multi-core optical fiber at the target time is as follows: Figure 4 As shown, the spectrum fragmentation index of each fiber core is: SFI2≈1.67; SFI3≈1.67; SFI4=≈2.33; SFI5≈2.22; SFI6≈1.56; SFI7≈2.33.
[0117] The occupancy of the same frequency slot on different fiber cores in the current network is expressed in terms of weight values:
[0118] The spectrum fragmentation index of each fiber core is calculated as follows:
[0119]
[0120]
[0121]
[0122]
[0123]
[0124]
[0125]
[0126] The spectrum fragmentation index of the network link where the multi-core optical fiber is located at the target time is obtained as:
[0127] SFI sum=Core1+Core2+Core3+Core4+Core5+Core6+Core7=25.88.
[0128] When set to SFI block When the value is 15, SFI sum >SFI block , it is necessary to reconstruct the spectrum of services on some of the fiber cores currently running in the network. Select the fiber core with the largest spectrum fragmentation index of a single fiber core, which is fiber core No. 4 and fiber core No. 7 in this embodiment, and reallocate the services running on these two fiber cores, that is, reconstruct the spectrum.
[0129] The specific method of spectrum reconstruction may include: recording the system time when the threshold is reached, recording the services that have not left the network at this time, and updating the duration of these services, that is, subtracting the current time of the system from the departure time of the service, so that the network with dynamically generated services can be statically separated to analyze its resource utilization. Then, the services on the selected fiber core in the network at this time are cleared, and the spectrum resources are reallocated to the updated services in order, so that each service in the original network link selects a new and more reasonable transmission path and obtains the reallocated spectrum resources, thereby realizing the arrangement of the original spectrum fragments and improving the utilization rate of spectrum resources.
[0130] In the disclosed embodiment, the evaluation index of spectrum fragmentation of each link in the whole network is calculated and the spectrum of some services in the network is reconstructed. When applied, the spectrum fragmentation index of each link in the whole network is calculated, the degree of network fragmentation can be monitored in real time, and the appropriate fiber core can be selected for spectrum reconstruction, thereby reducing the impact of spectrum fragmentation on service routing resource allocation.
[0131] Based on the same inventive concept, the present disclosure also provides a spectrum reconstruction device, see Figure 5 The spectrum reconstruction device includes a response module 501, an execution module 502, a determination module 503 and a control module 504.
[0132] The response module 501 is used to obtain historical frequency slot position information of a network link in response to a service request.
[0133] The execution module 502 is used to input the historical frequency slot position information and the priority information corresponding to the service request into a sequence-to-sequence model for each fiber core in the network link, and obtain a predicted frequency slot weight corresponding to the fiber core output by the sequence-to-sequence model.
[0134] The determination module 503 is configured to determine a first spectrum fragmentation index of each of the fiber cores, and determine a second spectrum fragmentation index of the network link according to the first spectrum fragmentation index and the predicted frequency slot weight.
[0135] The control module 504 is configured to perform spectrum reconstruction on the network link when the second spectrum fragmentation index is greater than a threshold value.
[0136] In the present embodiment, in response to a service request, historical frequency slot position information of a network link is obtained, and a predicted frequency slot position of each fiber core of the network link is outputted according to the historical frequency slot position information through a sequence-to-sequence model, and a spectrum fragmentation index of the network link is determined according to the predicted frequency slot position of each fiber core. When the spectrum fragmentation index is greater than a threshold value, the spectrum of the network link is reconstructed to effectively utilize the spectrum fragments in the network link and improve the spectrum utilization rate in the network link.
[0137] In an optional embodiment, the control module 504 is used to determine a target fiber core from the network link, wherein the first spectrum fragmentation index of the target fiber core is greater than the first spectrum fragmentation indexes of other fiber cores in the network link;
[0138] Perform spectrum reconstruction on the target fiber core.
[0139] In an optional embodiment, the control module 504 is used to determine a first moment when the first spectrum fragmentation index of the target core exceeds the threshold value, and a service on the network link;
[0140] Determine an end time of the service, and determine a target time period according to the first time and the end time;
[0141] The services of the target fiber core in the target time period are cleared, and the spectrum resources of the target fiber core are reallocated.
[0142] In an optional embodiment, the control module 504 is configured to clear the services of the target core in the target time period to obtain a first idle spectrum block;
[0143] In the case that the first idle spectrum block can accommodate the service, the first idle spectrum block is allocated.
[0144] In an optional embodiment, the determination module 503 is used to substitute the first spectrum fragmentation index and the predicted frequency slot weight of all the cores into the first spectrum fragmentation calculation formula to calculate and obtain a second spectrum fragmentation index;
[0145] The first spectrum fragment calculation formula includes:
[0146]
[0147] SFI sum Characterizing the second spectrum fragmentation index, SFI iCharacterize the first spectrum fragmentation index of the i-th fiber core, W i,j Characterizes the predicted frequency slot weight of frequency slot j on the i-th fiber core.
[0148] In an optional embodiment, the determination module 503 is used to obtain, for each of the fiber cores, the last sequence number, the first sequence number, the total number of frequency slots occupied by the target spectrum segment, and the number of spectrum blocks composed of continuous frequency slots of all frequency slots on the fiber core;
[0149] Substituting the last sequence number, the first sequence number, the total number of the frequency slots and the number of the spectrum blocks into a second spectrum fragmentation index calculation formula to calculate a first spectrum fragmentation index;
[0150] The second spectrum fragment calculation formula includes:
[0151]
[0152] α and β represent two variable constants, and α+β=1, SFI i Characterize the first spectrum fragment, S i,max Indicates the end number, S i,min Indicates the first serial number, B i,a Characterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks composed of consecutive frequency slots, S l,5epart Indicates the end time of the service, S l,current represents the current time of the system, and Δt represents the effective time of spectrum reconstruction.
[0153] In an optional embodiment, the control module 504 is configured to determine the shortest path in the network link according to a K shortest path algorithm when the second spectrum fragmentation index is less than a threshold value;
[0154] In the case that there is a second idle spectrum block on the shortest path that can accommodate the service, the second idle spectrum block is allocated.
[0155] Regarding the spectrum reconstruction device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0156] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the spectrum reconstruction method provided by the present disclosure are implemented.
[0157] Based on the same inventive concept, the present disclosure also provides an electronic device, including:
[0158] a memory having a computer program stored thereon;
[0159] A processor is used to execute the computer program in the memory to implement the steps of the spectrum reconstruction method.
[0160] In the present embodiment, in response to a service request, historical frequency slot position information of a network link is obtained, and a predicted frequency slot position of each fiber core of the network link is outputted according to the historical frequency slot position information through a sequence-to-sequence model, and a spectrum fragmentation index of the network link is determined according to the predicted frequency slot position of each fiber core. When the spectrum fragmentation index is greater than a threshold value, the spectrum of the network link is reconstructed to effectively utilize the spectrum fragments in the network link and improve the spectrum utilization rate in the network link.
[0161] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a tablet device, a personal digital assistant, and the like.
[0162] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output interface 612 , a sensor component 614 , and a communication component 616 .
[0163] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned spectrum reconstruction method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0164] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0165] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0166] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0167] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the device electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0168] The input / output interface 612 provides an interface between the processing component 602 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0169] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the device electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0170] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0171] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned spectrum reconstruction method.
[0172] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above spectrum reconstruction method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0173] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above spectrum reconstruction method when executed by the programmable device.
[0174] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0175] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0176] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A spectrum reconstruction method, characterized in that: include: In response to the service request, obtaining historical frequency slot position information of the network link; For each fiber core in the network link, input the historical frequency slot position information and the priority information corresponding to the service request into a sequence-to-sequence model to obtain a predicted frequency slot weight corresponding to the fiber core output by the sequence-to-sequence model; Determine a first spectrum fragmentation index for each of the fiber cores, and determine a second spectrum fragmentation index for the network link based on the first spectrum fragmentation index and the predicted frequency slot weight; When the second spectrum fragmentation index is greater than a threshold value, performing spectrum reconstruction on the network link; The determining of a first spectrum fragmentation index of each of the fiber cores comprises: For each of the fiber cores, obtaining the last serial number, the first serial number, the total number of frequency slots occupied by the target spectrum segment, and the number of spectrum blocks composed of continuous frequency slots of all frequency slots on the fiber core; Substituting the last sequence number, the first sequence number, the total number of the frequency slots and the number of the spectrum blocks into a second spectrum fragmentation index calculation formula to calculate a first spectrum fragmentation index; The second spectrum fragment calculation formula includes: , α , β represents two variable constants, and α + β =1, SFI i Characterize the first spectrum fragment, S i,max Indicates the end number, S i,min Indicates the first serial number, B i,a Characterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks consisting of continuous frequency slots, S l,depart Indicates the end time of the service, S l,current represents the current time of the system, and Δt represents the effective time of spectrum reconstruction.
2. The spectrum reconstruction method according to claim 1, characterized in that: The reconstructing the spectrum of the network link includes: Determining a target fiber core from the network link, wherein a first spectrum fragmentation index of the target fiber core is greater than first spectrum fragmentation indexes of other fiber cores in the network link; Perform spectrum reconstruction on the target fiber core.
3. The spectrum reconstruction method according to claim 2, characterized in that: The reconstructing the spectrum of the target fiber core includes: Determine a first time when a first spectrum fragmentation index of the target core exceeds the threshold value, and a service on the network link; Determine an end time of the service, and determine a target time period according to the first time and the end time; The services of the target fiber core in the target time period are cleared, and the spectrum resources of the target fiber core are reallocated.
4. The spectrum reconstruction method according to claim 3, characterized in that: The clearing of the services of the target core in the target time period and reallocating the spectrum resources of the target core includes: Clearing the services of the target core within the target time period to obtain a first idle spectrum block; In the case that the first idle spectrum block can accommodate the service, the first idle spectrum block is allocated.
5. The spectrum reconstruction method according to any one of claims 1 to 4, characterized in that: The determining, according to the first spectrum fragmentation index and the predicted frequency slot weight, a second spectrum fragmentation index of the network link comprises: Substituting the first spectrum fragmentation index and the predicted frequency slot weight of all the fiber cores into the first spectrum fragmentation calculation formula to calculate and obtain a second spectrum fragmentation index; The first spectrum fragment calculation formula includes: , SFI sum Characterizing the second spectrum fragmentation index, SFI i Characterize the first spectrum fragmentation index of the i-th fiber core, W i,j Characterizes the predicted frequency slot weight of frequency slot j on the i-th fiber core.
6. The spectrum reconstruction method according to any one of claims 1 to 4, characterized in that: The spectrum reconstruction method also includes: When the second spectrum fragmentation index is less than a threshold value, determining the shortest path in the network link according to a K shortest path algorithm; In the case that there is a second idle spectrum block on the shortest path that can accommodate the service, the second idle spectrum block is allocated.
7. A spectrum reconstruction device, characterized in that: include: A response module, used to obtain historical frequency slot position information of a network link in response to a service request; an execution module, configured to input the historical frequency slot position information and the priority information corresponding to the service request into a sequence-to-sequence model for each fiber core in the network link, and obtain a predicted frequency slot weight corresponding to the fiber core output by the sequence-to-sequence model; a determination module, configured to determine a first spectrum fragmentation index of each of the fiber cores, and determine a second spectrum fragmentation index of the network link according to the first spectrum fragmentation index and the predicted frequency slot weight; A control module, configured to perform spectrum reconstruction on the network link when the second spectrum fragmentation index is greater than a threshold value; The determination module is specifically configured to obtain, for each of the fiber cores, the last sequence number of all frequency slots on the fiber core, the first sequence number, the total number of frequency slots occupied by the target spectrum segment, and the number of spectrum blocks composed of continuous frequency slots; Substituting the last sequence number, the first sequence number, the total number of the frequency slots and the number of the spectrum blocks into a second spectrum fragmentation index calculation formula to calculate a first spectrum fragmentation index; The second spectrum fragment calculation formula includes: , α , β represents two variable constants, and α + β =1, SFI i Characterize the first spectrum fragment, S i,max Indicates the end number, S i,min Represents the first sequence number, B i,a Characterizes the total number of frequency slots occupied by the target spectrum segment, K i,f Characterizes the number of spectrum blocks consisting of continuous frequency slots, S l,depart Indicates the end time of the service, S l,current represents the current time of the system, and Δt represents the effective time of spectrum reconstruction.
8. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor is used to execute the computer program in the memory to implement the steps of the spectrum reconstruction method according to claim 1.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the spectrum reconstruction method according to claim 1 are implemented.
Citation Information
Patent Citations
Spectrum resource allocation method in elastic optical network
CN107147592A
Routing resource allocation method for optical network, and device
CN111641556A