Methods, devices, computer equipment, and storage media for dynamic allocation of optical fiber resources
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-27
- Publication Date
- 2026-08-14
AI Technical Summary
[0002]传统光接入网中,光纤的波长资源通常采用静态配置方式,不同的接入节点的业务会动态变化,若接入节点的波长资源静态配置方式,在接入节点的业务忙时,会导致波长资源不足,影响业务服务质量,在接入节点闲时,会导致波长资源利用率低,现亟需一种方法,可以根据不同接入节点的带宽需求,动态调整不同接入节点的波长资源,提升光接入网的资源利用率和服务质量
[0014]本申请实施例提供了光纤资源动态分配方法、装置、计算机设备及存储介质。其中,所述方法应用于光纤资源动态分配系统,所述光纤资源动态分配系统包括中央控制层、区域协调层以及光接入层,所述中央控制层中的中央控制器用于控制目标范围内多个区域的光纤资源调度,所述区域协调层包括各区域分别对应的区域协调器,每个区域包括至少一个接入节点,所述光接入层包括各接入节点分别对应的光接入器,一方面,本申请实施例通过光接入器的带宽缺口检测与波长调剂,在接入节点业务忙时能够及时补充光纤的波长资源,有效防止业务因带宽不足产生的时延和丢包,从而提高业务的服务质量,另一方面,本申请实施例可以从区域内或者全局的其他区域进行波长(空闲波长或者利用率不高的波长)调度,从而提高了波长资源的利用率;再一方面,本申请实施例提供分层决策,当接入节点存在带宽缺口时,先通过区域协调器进行区域内的波长调度,当区域内不满足波长调度条件时,再向中央控制器发送带宽请求,使一部分请求可以在区域内部消化,减轻中央控制器负载。
Smart Images

Figure CN122294029B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, computer equipment and storage medium for dynamic allocation of optical fiber resources. Background Technology
[0002] In traditional optical access networks, fiber wavelength resources are typically configured statically. However, the services at different access nodes change dynamically. If the wavelength resources of access nodes are configured statically, there will be insufficient wavelength resources when the access nodes are busy, affecting the quality of service. Conversely, when the access nodes are idle, the wavelength resource utilization will be low. There is an urgent need for a method that can dynamically adjust the wavelength resources of different access nodes according to their bandwidth requirements, thereby improving the resource utilization and service quality of the optical access network. Summary of the Invention
[0003] This application provides a method, apparatus, computer equipment, and storage medium for dynamic allocation of optical fiber resources, which can improve the resource utilization and service quality of optical access networks.
[0004] In a first aspect, embodiments of this application provide a method for dynamic allocation of optical fiber resources, comprising: The method is applied to a dynamic optical fiber resource allocation system, which includes a central control layer, a regional coordination layer, and an optical access layer. The central controller in the central control layer controls the scheduling of optical fiber resources in multiple regions within a target area. The regional coordination layer includes a regional coordinator corresponding to each region, and each region includes at least one access node. The optical access layer includes optical access devices corresponding to each access node. The method includes: When the optical access device detects a bandwidth gap in the corresponding access node, it sends a bandwidth request to the corresponding area coordinator, and the bandwidth request carries the amount of the bandwidth gap. When the corresponding regional coordinator receives the bandwidth request, it determines whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region. When the regional coordinator determines that it will not forward the bandwidth request, it determines a first target wavelength from the allocated wavelength set and switches the first target wavelength to the optical access device corresponding to the bandwidth request. When the regional coordinator determines to forward the bandwidth request, it sends the bandwidth request to the central controller, which then determines a second target wavelength from the global fiber wavelength resource pool and switches the second target wavelength to the optical access device corresponding to the bandwidth request.
[0005] In some embodiments, the allocated wavelength set includes the allocated wavelengths of each access node in the corresponding region and the remaining available bandwidth of each allocated wavelength; determining whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region includes: Based on the allocated wavelength set, determine whether there is at least one candidate access node in the corresponding region whose remaining available bandwidth is greater than the preset remaining bandwidth and satisfies the minimum guaranteed wavelength constraint, wherein the preset remaining bandwidth is greater than the bandwidth corresponding to a single wavelength. If at least one of the candidate access nodes exists, then determine whether the amount of available bandwidth corresponding to the available wavelength under at least one of the candidate access nodes is less than the amount of bandwidth gap. If the amount of available bandwidth is not less than the amount of bandwidth shortfall, then it is determined that the bandwidth request will not be forwarded to the central controller. If the available bandwidth is less than the bandwidth gap, or if there is no at least one candidate access node, then the bandwidth request is forwarded to the central controller.
[0006] In some embodiments, determining the first target wavelength from the allocated wavelength set includes: Based on the remaining available bandwidth corresponding to each of the candidate access nodes, at least one target access node is determined from the candidate access nodes; At least one first target wavelength is determined from the allocated wavelengths corresponding to at least one target access node, and a wavelength switching instruction is sent to the optical access device currently corresponding to each first target wavelength. The wavelength switching instruction instructs the corresponding optical access device to transfer the task of the allocated time slot corresponding to the first target wavelength to an idle time slot in the target access node that is not the first target wavelength.
[0007] In some embodiments, determining the second target wavelength from the global fiber wavelength resource pool via the central controller includes: Traverse the idle wavelengths in the global fiber wavelength resource pool and calculate the allocation cost for each idle wavelength. The allocation cost is calculated based on at least one or more of the following factors: activation power consumption increment, adjacent wavelength conflict probability, and cumulative number of optical switch port switching times. Select one or more wavelengths with the lowest allocation cost as the second target wavelength, where the allocation cost of the second target wavelength is less than a preset cost threshold.
[0008] In some embodiments, when the number of idle wavelengths in the global fiber wavelength resource pool is insufficient to meet the bandwidth request, the central controller further performs the following: From the wavelengths already allocated to other regions in the global fiber wavelength resource pool, select wavelengths that meet the preemptibility conditions. The preemptibility conditions include: the current utilization rate of the wavelength is lower than a preset threshold, and the current number of wavelengths in the region is greater than the minimum guaranteed number of wavelengths in the region. Calculate the preemption cost for each available wavelength, which is based on the proportion of first-tier services in the preempted area, wavelength utilization, and credit score. Select one or more wavelengths with the lowest preemption cost as the second target wavelength, and transfer the second target wavelength from the original area to the requested area, while updating the credit score of the preempted area.
[0009] In some embodiments, the optical access device determines whether there is a bandwidth gap in the corresponding access node based on the following steps: For each different level of service in the access node, the actual allocated bandwidth and required bandwidth of each level of service are statistically analyzed at each preset detection period. When the required bandwidth is greater than the allocated bandwidth and continues to exceed the preset number of consecutive periods for the corresponding level of service, it is determined that there is a bandwidth gap. The graded services include first-grade services, second-grade services, and third-grade services. The number of continuous detection cycles for the third-grade services is greater than that for the second-grade services, and the number of continuous detection cycles for the second-grade services is greater than that for the third-grade services.
[0010] In some embodiments, the optical access device allocates bandwidth resources to its corresponding access node based on the following steps: Each allocated wavelength is divided into multiple time slots of equal length, resulting in a time slot resource pool corresponding to the optical access device. Within each time slot allocation cycle, time slots are allocated according to the queue lengths corresponding to the first-level, second-level, and third-level services at the current time, in the following manner: The number of time slots required for the first-level service is calculated based on the queue length of the first-level service. If the number of time slots required for the first-level service is greater than or equal to the total number of time slots in the time slot resource pool, then all time slots in the time slot resource pool are allocated to the first-level service. Otherwise, the time slots required for the first-level service are allocated first, and then the remaining time slots in the time slot resource pool are allocated to the second-level and third-level services according to the preset ratio of the second-level and third-level services and the queue lengths of the second-level and third-level services.
[0011] Secondly, embodiments of this application also provide a dynamic optical fiber resource allocation system. The dynamic optical fiber resource allocation system includes a central control layer, a regional coordination layer, and an optical access layer. The central control layer contains a central controller for controlling the scheduling of optical fiber resources in multiple regions within a target area. The regional coordination layer includes regional coordinators corresponding to each region, and each region includes at least one access node. The optical access layer includes optical access devices corresponding to each access node, wherein: The optical access device is used to send a bandwidth request to the corresponding area coordinator when a bandwidth gap is detected in the corresponding access node. The bandwidth request carries the amount of the bandwidth gap. The regional coordinator, upon receiving the bandwidth request, determines whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region; when it is determined not to forward the bandwidth request, it determines a first target wavelength from the allocated wavelength set and switches the first target wavelength to the optical access device corresponding to the bandwidth request; when it is determined to forward the bandwidth request, it sends the bandwidth request to the central controller. The central controller is used to determine a second target wavelength from the global fiber wavelength resource pool and switch the second target wavelength to the optical access device corresponding to the bandwidth request.
[0012] Thirdly, embodiments of this application also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0013] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a processor, can implement the above-described method.
[0014] This application provides a method, apparatus, computer equipment, and storage medium for dynamic allocation of optical fiber resources. The method is applied to a dynamic allocation system for optical fiber resources, which includes a central control layer, a regional coordination layer, and an optical access layer. The central controller in the central control layer controls the scheduling of optical fiber resources in multiple regions within a target range. The regional coordination layer includes regional coordinators for each region, and each region includes at least one access node. The optical access layer includes optical access devices for each access node. On one hand, this application provides a method for timely replenishment of optical fiber wavelength resources when access nodes are busy, effectively preventing latency and packet loss due to insufficient bandwidth, thereby improving service quality, through bandwidth gap detection and wavelength adjustment of the optical access devices. On the other hand, this application provides a method for wavelength scheduling (idle wavelengths or wavelengths with low utilization) from other regions within the region or globally, thereby improving the utilization rate of wavelength resources. Furthermore, this application provides a hierarchical decision-making mechanism. When there is a bandwidth gap at an access node, wavelength scheduling is first performed within the region through the regional coordinator. If the wavelength scheduling conditions are not met within the region, a bandwidth request is sent to the central controller, allowing some requests to be processed within the region and reducing the load on the central controller. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 A schematic block diagram of a dynamic optical fiber resource allocation system provided in an embodiment of this application; Figure 2 A flowchart illustrating the dynamic allocation method for optical fiber resources provided in this application embodiment; Figure 3 A schematic diagram of a sub-process of the dynamic allocation method for optical fiber resources provided in an embodiment of this application; Figure 4 Another sub-process diagram of the dynamic allocation method for optical fiber resources provided in the embodiments of this application; Figure 5 Another sub-process diagram of the dynamic allocation method for optical fiber resources provided in the embodiments of this application; Figure 6 A schematic block diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] It should be noted that any AI models, software tools, or components not belonging to this company appearing in the embodiments of this application are merely illustrative examples and do not represent actual use. All user personal information involved in the embodiments of this application has been obtained by authorized entities (who have known and consented) or fully authorized by all parties through various legal and compliant means. The collection, storage, use, processing, transmission, provision, and disclosure of the information, data, and signals involved all comply with relevant laws and regulations and do not violate public order and good morals.
[0019] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0020] It should also be understood that the terminology used in this application specification is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0021] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0022] This application provides a method, apparatus, computer equipment, and storage medium for dynamic allocation of optical fiber resources.
[0023] The entity executing the dynamic allocation method for optical fiber resources can be the dynamic allocation system for optical fiber resources provided in the embodiments of this application, or a computer device that integrates the dynamic allocation system for optical fiber resources. Specifically, the computer device includes devices at each layer of the dynamic allocation system for optical fiber resources.
[0024] The target range controlled by the fiber optic resource dynamic allocation system provided in this application can be an industrial park, a science and technology park or a residential area. The target range is divided into multiple areas according to physical distance. For example, multiple adjacent buildings (such as 5 buildings) constitute one area, and each area includes multiple access nodes (for example, one access node for each building).
[0025] To facilitate understanding, the fiber optic architecture of the dynamic allocation system for fiber optic resources will first be described in detail: The fiber optic architecture includes at least one main fiber (e.g., 8 main fibers), each main fiber supports multiple wavelengths (e.g., 80 wavelengths), and each wavelength supports the same maximum bandwidth. In this case, the global fiber wavelength resource pool maintains the number of main fibers × the number of wavelength channels supported by each main fiber.
[0026] It also includes multiple cascaded optical distribution boxes. Each backbone fiber in the system adopts a linear cascaded topology and passes through multiple optical distribution boxes in sequence. Each optical distribution box is deployed and cascaded along the fiber optic link. Each optical distribution box can locally download and upload carrier wavelengths to serve the area under its jurisdiction, while the remaining wavelengths are transparently transmitted to the next level optical distribution box. The regional coordinator and the optical distribution box are deployed in a one-to-one correspondence. One regional coordinator manages only one optical distribution box, and one optical distribution box belongs to only one regional coordinator. The regional coordinator directly controls the optical distribution boxes under its jurisdiction to complete wavelength rerouting and optical path switching, forming a one-box-one-agent regional coordination.
[0027] Each access node deploys a Smart-ONU as an optical access device. Each optical access device can simultaneously receive 1 to n (e.g., n is an integer greater than 1, such as 4) wavelengths, and each wavelength independently provides a physical channel with a fixed bandwidth (e.g., 100Gbps).
[0028] In this way, the same wavelength on the same optical fiber can only be allocated to one optical access device at any given time to avoid optical signal conflicts.
[0029] The following provides a detailed description of the hierarchical control architecture of the dynamic allocation system for optical fiber resources provided in the embodiments of this application: Please see Figure 1 The optical fiber resource dynamic allocation system includes a central control layer 10, a regional coordination layer 20, and an optical access layer 30. The central controller 101 in the central control layer 10 is used to control the scheduling of optical fiber resources in multiple regions within the target range. The regional coordination layer 20 includes a regional coordinator 201 corresponding to each region. Each region includes at least one access node. The optical access layer 30 includes an optical access device 301 corresponding to each access node.
[0030] Among them, the optical access unit 301 of each access node is responsible for monitoring the service traffic of its own access node in real time, and calculating the queue length and allocating bandwidth according to the service level (first-level service, second-level service, third-level service); it performs electrical layer time slot allocation once every first preset interval (e.g., 100ms), dividing each wavelength evenly into m time slots, and allocating them to services of different levels in order of priority; when a bandwidth gap is detected, it constructs a bandwidth request and sends it to the area coordinator 201 of the area to which it belongs.
[0031] Each optical distribution box in the regional coordination layer 20 corresponds to a region, and a regional coordinator 201 (RA) is deployed there. Each region contains multiple access nodes. The regional coordinator 201 is responsible for: maintaining the wavelength allocation table of all access nodes in the region and the real-time utilization rate of each wavelength; receiving bandwidth requests from optical access devices 301 in the region, and determining whether the request can be satisfied within the region by reallocating existing wavelengths (i.e., borrowing wavelengths from other low-load nodes); if so, performing fast wavelength adjustment within the region; if not, forwarding the request to the central controller 101.
[0032] The central control layer 10 deploys a central controller 101 (SDN controller), which is responsible for: maintaining the global fiber wavelength resource pool and recording the status (idle / allocated / faulty) of each fiber-wavelength pair; receiving forwarding requests from each regional coordinator 201, executing the cost-aware incremental reallocation (CAIR) algorithm, allocating new wavelengths from the global resource pool, and preempting across regions when necessary; and issuing configuration commands to the corresponding optical distribution boxes to complete the optical layer wavelength switching.
[0033] Figure 2 This is a flowchart illustrating the dynamic allocation method for optical fiber resources provided in an embodiment of this application. Figure 2 As shown, the method includes the following steps S110-S140.
[0034] S110. When the optical access device detects a bandwidth gap in the corresponding access node, it sends a bandwidth request to the corresponding area coordinator, the bandwidth request carrying the amount of bandwidth gap.
[0035] In some embodiments, the optical access device determines whether there is a bandwidth gap in the corresponding access node based on the following steps: For each different level of service in the access node, the actual allocated bandwidth and required bandwidth of each level of service are statistically analyzed at each preset detection period. When the required bandwidth is greater than the allocated bandwidth and continues to exceed the preset number of consecutive periods for the corresponding level of service, it is determined that there is a bandwidth gap. The graded services include first-grade services, second-grade services, and third-grade services. The number of continuous detection cycles for the third-grade services is greater than that for the second-grade services, and the number of continuous detection cycles for the second-grade services is greater than that for the third-grade services.
[0036] For example, each optical access unit (Smart-ONU) calculates the actual allocated bandwidth and required bandwidth for each service level within its access node every 100ms. When it detects that the required bandwidth for a certain service level consistently exceeds the allocated bandwidth (the number of consecutive periods varies depending on the service level), a bandwidth gap is identified. The optical access unit immediately constructs a bandwidth request message, including the bandwidth gap amount (in Mbps or Gbps) and the corresponding service level, and sends it to the area coordinator for its region. This message is transmitted via a control channel (such as Ethernet or an optical surveillance channel, OSC).
[0037] Specifically, for example, the optical access point maintains a counter for each service level to record how many consecutive scheduling cycles (each cycle is 100ms) the required bandwidth exceeds the allocated bandwidth. The number of consecutive detection cycles for Level 1 services is 2 cycles (200ms); for Level 2 services, it is 5 cycles (500ms); and for Level 3 services, it is 10 consecutive cycles (1s).
[0038] In addition, to avoid false alarms caused by momentary jitter, a minimum reporting interval timer (e.g., 5 seconds) is started after triggering, limiting the reporting frequency of the same level on the same node.
[0039] For example, at a certain access node, if a Level 1 service experiences a sudden surge in video streaming, exceeding the allocated demand for two consecutive 100ms cycles, it will immediately report the issue. However, Level 3 services may occasionally exceed the allocated demand due to brief fluctuations, but this will not last for 10 cycles, so it will not be reported, thus avoiding a signal storm.
[0040] As can be seen, this embodiment sets different detection windows based on the latency sensitivity of the service level, which not only ensures the rapid response of the first-level service (important service) but also filters out meaningless reports from low-level services.
[0041] S120. When the corresponding regional coordinator receives the bandwidth request, it determines whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region.
[0042] In some embodiments, the allocated wavelength set includes the allocated wavelengths of each access node in the corresponding region and the remaining available bandwidth of each allocated wavelength. (See also...) Figure 3 Step S120 includes: S1201. Based on the allocated wavelength set, determine whether there is at least one candidate access node in the corresponding region whose remaining available bandwidth is greater than the preset remaining bandwidth and satisfies the minimum guaranteed wavelength constraint, wherein the preset remaining bandwidth is greater than the bandwidth corresponding to a single wavelength.
[0043] The minimum guaranteed wavelength constraint refers to the minimum number of wavelengths that each access node must retain under any circumstances (including wavelength preemption by other nodes, regional reallocation, central redistribution, etc.). This value is determined based on the SLA (Service Level Agreement) signed by the node. For example, the minimum guaranteed wavelength constraint for access nodes with high traffic volume at Level 1 is greater than the minimum guaranteed wavelength constraint for access nodes without high traffic volume at Level 1.
[0044] S1202. If there is at least one of the candidate access nodes, determine whether the amount of outgoing bandwidth corresponding to the outgoing wavelength under at least one of the candidate access nodes is less than the bandwidth gap.
[0045] S1203. If the amount of available bandwidth is not less than the amount of bandwidth gap, then determine not to forward the bandwidth request to the central controller.
[0046] S1204. If the amount of available bandwidth is less than the amount of bandwidth gap, or if there is no at least one of the candidate access nodes, then it is determined to forward the bandwidth request to the central controller.
[0047] In this embodiment, the set of allocated wavelengths maintained by the regional coordinator includes the list of allocated wavelengths for each access node and the remaining available bandwidth for each allocated wavelength (i.e., the total wavelength capacity minus the currently used bandwidth).
[0048] For example, suppose access node 1 in region A requests a 50Gbps gap. Access node 2 has 60Gbps remaining bandwidth at wavelength λ2, and access node 3 has 80Gbps remaining bandwidth at wavelength λ5. Both access nodes meet the minimum guaranteed wavelength requirement. Therefore, a total of 140Gbps can be migrated out, which is greater than 50Gbps. The region coordinator decides not to forward this bandwidth and initiates the relocation process. Conversely, if the total remaining bandwidth of all nodes is only 40Gbps, then forwarding is decided.
[0049] As can be seen, this embodiment avoids invalid operations caused by blindly trying to adjust by quantifying the remaining bandwidth and the minimum guarantee constraint; setting a preset remaining bandwidth (greater than the single wavelength bandwidth) ensures that the candidate nodes have enough idle resources and prevents oscillations caused by frequent fine-tuning.
[0050] S130. When the regional coordinator determines not to forward the bandwidth request, it determines a first target wavelength from the allocated wavelength set and switches the first target wavelength to the optical access device corresponding to the bandwidth request.
[0051] In this embodiment, when the regional coordinator determines not to forward the bandwidth request, it identifies one or more first target wavelengths (wavelengths borrowed from other low-load nodes) from the allocated wavelength set in the region and sends a "wavelength migration preparation" command to the optical access points currently belonging to these wavelengths, providing a short time window (e.g., 100ms) for the source node to compress its traffic to the remaining wavelengths or initiate buffering. Subsequently, the regional coordinator controls the optical switches in the optical distribution box to switch the first target wavelengths to the optical access points of the requesting node. After the switch is completed, the bandwidth gap of the requesting node is alleviated.
[0052] Specifically, in some embodiments, please refer to Figure 4 Specifically, the first target wavelength is determined from the allocated wavelength set through the following steps: S1301. Based on the remaining available bandwidth corresponding to each candidate access node, determine at least one target access node from the candidate access nodes; S1302. Determine at least one first target wavelength from the allocated wavelengths corresponding to at least one target access node, and send a wavelength switching instruction to the optical access device currently corresponding to each first target wavelength. The wavelength switching instruction instructs the corresponding optical access device to transfer the task of the allocated time slot corresponding to the first target wavelength to an idle time slot in the target access node that is not the first target wavelength.
[0053] Specifically, based on the remaining available bandwidth of each candidate access node, one or more target access nodes are selected. The selection strategy can be: prioritizing the node with the most remaining bandwidth, or prioritizing the node with the lowest service priority. For the selected target access node, one or more wavelengths are selected from its allocated wavelengths as the first target wavelength. The selection principle is: the lower the current utilization rate of the wavelength, the better, and the remaining wavelengths of the target node after migration should still meet its own service needs. The regional coordinator sends a wavelength switching command to the optical access device currently corresponding to the first target wavelength. This command includes: the identifier of the wavelength to be migrated, a request to transfer the time slot tasks originally allocated to this wavelength to the idle time slots of other wavelengths on this node, and a countdown (e.g., 100ms). After the countdown ends, the regional coordinator controls the optical distribution box to perform an optical switch switch, physically connecting the first target wavelength to the optical access device of the requesting node. After the switch is completed, the set of allocated wavelengths in the region is updated.
[0054] For example, candidate nodes include Access Node 2 (60Gbps remaining) and Access Node 3 (80Gbps remaining). The regional coordinator selects Access Node 3 as the target access node (because it has more remaining bandwidth). Access Node 3 currently has two wavelengths: λ5 with 25% utilization and λ8 with 70% utilization. λ5 is selected as the first target wavelength. The regional coordinator sends a command to the optical access point of Access Node 3: "Migrate the services on λ5 to the idle time slots of λ8 within 100ms (λ8 still has 30Gbps of idle bandwidth)." After Access Node 3 completes the migration, the optical distribution box switches λ5 to Access Node 1. Access Node 1 gains 100Gbps of new wavelength, and Access Node 3's services run entirely on λ8.
[0055] As can be seen, this embodiment provides a lossless transfer mechanism that migrates services first and then switches wavelengths, avoiding network outages caused by preempted nodes. Furthermore, by specifying idle time slots on other wavelengths within the same node to transfer tasks, it fully utilizes the time slot flexibility of the electrical layer.
[0056] S140. When the regional coordinator determines to forward the bandwidth request, it sends the bandwidth request to the central controller, which then determines a second target wavelength from the global fiber wavelength resource pool and switches the second target wavelength to the optical access device corresponding to the bandwidth request.
[0057] In this embodiment, after the regional coordinator forwards the request to the central controller, the central controller determines the second target wavelength based on the status of the global fiber wavelength resource pool. The central controller then issues a configuration to the corresponding regional coordinator, which configures the wavelength through the corresponding optical distribution box, routing the second target wavelength from the backbone fiber to the region where the requesting node is located and the specific access node.
[0058] In some embodiments, please refer to Figure 5 The central controller determines the second target wavelength from the global fiber wavelength resource pool through the following steps: S1401. Traverse the idle wavelengths in the global fiber wavelength resource pool and calculate the allocation cost for each idle wavelength. The allocation cost is calculated based on at least one or more of the following factors: activation power consumption increment, adjacent wavelength conflict probability, and cumulative switching count of optical switch ports.
[0059] S1402. Select one or more wavelengths with the lowest allocation cost as the second target wavelength, wherein the allocation cost of the second target wavelength is less than a preset cost threshold.
[0060] Specifically, after receiving a forwarded bandwidth request, the central controller performs the following steps: Iterates through all idle wavelengths (those in an idle state and whose fiber is fault-free) in the global fiber wavelength resource pool. For each idle wavelength, its allocation cost is calculated, specifically: The activation power increment, adjacent wavelength collision probability, and cumulative switching count of each idle wavelength are determined separately. The activation power increment is the increased power consumption required to activate the wavelength (i.e., to enable the corresponding optical module, amplifier, filter, etc.), relative to the baseline power consumption of the fiber optic link containing the wavelength to be allocated. The calculation method is as follows: Queries the number of currently active wavelengths on this optical fiber, denoted as N1.
[0061] If N1=0, the activation power increment P=P m +P a ; If N1 > 0, the activation power increment P = P m ; Among them, P m Power consumption of the optical module (including transmitter and receiver) corresponding to a single wavelength; typical value: 10W; this power consumption is the increase required to activate a wavelength, because the optical module for the new wavelength must be powered on regardless of whether there are other wavelengths on the fiber.
[0062] P a This refers to the additional power consumption increment caused by activating the optical amplifier (such as an erbium-doped fiber amplifier, EDFA) on a fiber optic line when the first wavelength on that fiber is activated; typical value: 5W. The amplifier itself is shared by multiple wavelengths, but it requires additional power to transition from standby or low-power mode to normal operation; once the amplifier has been activated (i.e., at least one active wavelength is already on the fiber), activating other wavelengths will not increase the amplifier's power consumption.
[0063] The probability of adjacent wavelength collision occurs when, on the same optical fiber, a candidate idle wavelength and its adjacent wavelengths (wavelength interval ≤ 2 channels) are already occupied, potentially leading to four-wave mixing (FWM) nonlinear effects and signal crosstalk. This parameter quantifies the risk of this interference. The calculation method is as follows: Obtain the set of numbers of all allocated wavelengths on the optical fiber. For a candidate idle wavelength λc, count the number of wavelengths already occupied within the interval [λc-2, λc+2] (excluding λc itself), and denote this as n. a The maximum possible number of adjacent wavelengths is n max (The quantity is approximately 4, two of each), and the probability of adjacent wavelength collision is n. a Divide by n max .
[0064] The cumulative switching count of an optical switch port is the total number of switching actions performed by each optical switch port (located within the optical distribution box) since system deployment. This is used to assess the wear level of the port and achieve wear leveling.
[0065] If the allocation cost of a certain idle wavelength is greater than or equal to a preset cost threshold, the idle wavelength will be abandoned to avoid excessive switching costs affecting business operations.
[0066] This embodiment takes into account physical layer (conflicts), equipment life (wear), and energy consumption, making resource allocation more intelligent.
[0067] Furthermore, weights can be pre-configured for the activation power increment, adjacent wavelength conflict probability, and cumulative number of optical switch port switching times, and then the allocation cost can be determined based on the activation power increment, adjacent wavelength conflict probability, cumulative number of optical switch port switching times, and the corresponding weights.
[0068] In some embodiments, when the number of idle wavelengths in the global fiber wavelength resource pool is insufficient to meet the bandwidth request, the central controller further performs the following: From the wavelengths already allocated to other regions in the global fiber wavelength resource pool, select wavelengths that meet the preemptibility conditions. The preemptibility conditions include: the current utilization rate of the wavelength is lower than a preset threshold, and the current number of wavelengths in the region is greater than the minimum guaranteed number of wavelengths in the region. Calculate the preemption cost for each available wavelength, which is based on the proportion of first-tier services in the preempted area, wavelength utilization, and credit score. Select one or more wavelengths with the lowest preemption cost as the second target wavelength, and transfer the second target wavelength from the original area to the requested area, while updating the credit score of the preempted area.
[0069] Specifically, when the number of globally available wavelengths is insufficient to meet the bandwidth request (i.e., the number of available wavelengths < the required number of wavelengths), the central controller initiates a cross-regional preemption sub-process to filter wavelengths that meet the preemption criteria from those already allocated to other regions: The current utilization rate is lower than a preset threshold (e.g., 40%); and the current number of wavelengths in the region is greater than the minimum guaranteed number of wavelengths in the region (e.g., a region must retain at least 2 wavelengths).
[0070] Then calculate the preemption cost for each preemptible wavelength, specifically: The proportion of Tier 1 services refers to the ratio of the total bandwidth currently occupied by Tier 1 services in a preempted area to the total bandwidth allocated to that area. The higher this ratio, the stronger the dependence of the area on Tier 1 services. If wavelengths are preempted from this area, the impact on higher-tier services will be greater, and therefore the cost of preemption should be higher.
[0071] Wavelength utilization rate refers to the actual bandwidth utilization rate of a specific wavelength that has been preempted (i.e., the service traffic carried on that wavelength divided by the wavelength capacity). The higher the utilization rate, the greater the impact of preempting that wavelength on the source area; the lower the utilization rate, the more suitable it is for preemption.
[0072] Credit scores are used to record the gains and losses of each region during cross-regional resource grabbing, ensuring long-term fairness. Regions with high credit scores are those that have been frequently preempted (yielding resources) in the past and should receive priority protection in subsequent allocations (i.e., they should be at a higher cost when preempted).
[0073] The selected wavelength is transferred from the original region to the requested region, and the credit score is updated: the score of the preempted region increases.
[0074] As can be seen, this embodiment enables the system to allocate resources even when global resources are scarce, and achieves long-term fairness through credit scores, preventing high-priority areas from endlessly preempting low-priority areas. Furthermore, the preemption cost calculation takes into account the impact of high-level services (the proportion of first-level services), avoiding damage to high-priority services.
[0075] In some embodiments, the optical access device allocates bandwidth resources to its corresponding access node based on the following steps: Each allocated wavelength is divided into multiple time slots of equal length, resulting in a time slot resource pool corresponding to the optical access device. Within each time slot allocation cycle, time slots are allocated according to the queue lengths corresponding to the first-level, second-level, and third-level services at the current time, in the following manner: The number of time slots required for the first-level service is calculated based on the queue length of the first-level service. If the number of time slots required for the first-level service is greater than or equal to the total number of time slots in the time slot resource pool, then all time slots in the time slot resource pool are allocated to the first-level service. Otherwise, the time slots required for the first-level service are allocated first, and then the remaining time slots in the time slot resource pool are allocated to the second-level and third-level services according to the preset ratio of the second-level and third-level services and the queue lengths of the second-level and third-level services.
[0076] Specifically, the number of time slots required for Tier 1 services is the number of time slots divided by the queue length of Tier 1 services and then rounded up; the number of time slots required for Tier 2 services is the number of time slots divided by the queue length of Tier 2 services and then rounded up; and the number of time slots required for Tier 3 services is the number of time slots divided by the queue length of Tier 3 services and then rounded up. In this embodiment, the optical access device globally pools all allocated wavelengths of the corresponding access node to form a unified time slot resource pool. During scheduling, the time slots are allocated synchronously and uniformly according to service priority, based on the global time slot pool, rather than being allocated independently and sequentially wavelength by wavelength. This approach can eliminate time slot fragmentation, maximize resource utilization, and ensure that high-priority services can occupy the full available bandwidth of the entire access node, thereby improving SLA assurance capabilities.
[0077] In summary, this embodiment is applied to a dynamic optical fiber resource allocation system, which includes a central control layer, a regional coordination layer, and an optical access layer. The central controller in the central control layer is used to control the scheduling of optical fiber resources in multiple regions within the target range. The regional coordination layer includes regional coordinators corresponding to each region, and each region includes at least one access node. The optical access layer includes optical access devices corresponding to each access node. On the one hand, this embodiment can promptly supplement the wavelength resources of optical fibers when the access node is busy by detecting bandwidth gaps and adjusting wavelengths through optical access devices, effectively preventing latency and packet loss caused by insufficient bandwidth, thereby improving the quality of service. On the other hand, this embodiment can schedule wavelengths (idle wavelengths or wavelengths with low utilization) from other regions within the region or globally, thereby improving the utilization rate of wavelength resources. Furthermore, this embodiment provides hierarchical decision-making. When there is a bandwidth gap at the access node, wavelength scheduling is first performed within the region through the regional coordinator. When the wavelength scheduling conditions are not met within the region, a bandwidth request is sent to the central controller, allowing some requests to be processed within the region and reducing the load on the central controller.
[0078] The following provides a detailed description of the dynamic allocation system for optical fiber resources provided in this application, such as... Figure 1 As shown, the dynamic allocation system for optical fiber resources includes a central control layer 10, a regional coordination layer 20, and an optical access layer 30. The central controller 101 in the central control layer 10 controls the scheduling of optical fiber resources in multiple regions within a target area. The regional coordination layer 20 includes regional coordinators 201 corresponding to each region, and each region includes at least one access node. The optical access layer 30 includes optical access devices 301 corresponding to each access node. The optical access device 301 is used to send a bandwidth request to the corresponding area coordinator 201 when a bandwidth gap is detected in the corresponding access node. The bandwidth request carries the amount of bandwidth gap. The regional coordinator 201 is configured to, upon receiving the bandwidth request, determine whether to forward the bandwidth request to the central controller 101 based on the bandwidth gap and the allocated wavelength set of the corresponding region; if it is determined not to forward the bandwidth request, it determines a first target wavelength from the allocated wavelength set and switches the first target wavelength to the optical access device 301 corresponding to the bandwidth request; if it is determined to forward the bandwidth request, it sends the bandwidth request to the central controller 101. The central controller 101 is used to determine a second target wavelength from the global fiber wavelength resource pool and switch the second target wavelength to the optical access device 301 corresponding to the bandwidth request.
[0079] In some embodiments, the allocated wavelength set includes the allocated wavelengths of each access node in the corresponding region and the remaining available bandwidth of each allocated wavelength; when the region coordinator 201 performs the step of determining whether to forward the bandwidth request to the central controller 101 based on the bandwidth gap and the allocated wavelength set of the corresponding region, it is specifically used for: Based on the allocated wavelength set, determine whether there is at least one candidate access node in the corresponding region whose remaining available bandwidth is greater than the preset remaining bandwidth and satisfies the minimum guaranteed wavelength constraint, wherein the preset remaining bandwidth is greater than the bandwidth corresponding to a single wavelength. If at least one of the candidate access nodes exists, then determine whether the amount of available bandwidth corresponding to the available wavelength under at least one of the candidate access nodes is less than the amount of bandwidth gap. If the amount of available bandwidth is not less than the amount of bandwidth shortfall, then it is determined that the bandwidth request will not be forwarded to the central controller 101. If the available bandwidth is less than the bandwidth gap, or if there is no at least one candidate access node, then the bandwidth request is forwarded to the central controller 101.
[0080] In some embodiments, when the regional coordinator 201 performs the step of determining the first target wavelength from the allocated wavelength set, it is specifically configured to: Based on the remaining available bandwidth corresponding to each of the candidate access nodes, at least one target access node is determined from the candidate access nodes; At least one first target wavelength is determined from the allocated wavelengths corresponding to at least one target access node, and a wavelength switching instruction is sent to the optical access device 301 currently corresponding to each first target wavelength. The wavelength switching instruction instructs the corresponding optical access device 301 to transfer the task of the allocated time slot corresponding to the first target wavelength to an idle time slot in the target access node that is not the first target wavelength.
[0081] In some embodiments, when the central controller 101 performs the step of determining the second target wavelength from the global fiber wavelength resource pool, it is specifically used for: Traverse the idle wavelengths in the global fiber wavelength resource pool and calculate the allocation cost for each idle wavelength. The allocation cost is calculated based on at least one or more of the following factors: activation power consumption increment, adjacent wavelength conflict probability, and cumulative number of optical switch port switching times. Select one or more wavelengths with the lowest allocation cost as the second target wavelength, where the allocation cost of the second target wavelength is less than a preset cost threshold.
[0082] In some embodiments, when the number of idle wavelengths in the global fiber wavelength resource pool is insufficient to meet the bandwidth request, the central controller 101 further performs: From the wavelengths already allocated to other regions in the global fiber wavelength resource pool, select wavelengths that meet the preemptibility conditions. The preemptibility conditions include: the current utilization rate of the wavelength is lower than a preset threshold, and the current number of wavelengths in the region is greater than the minimum guaranteed number of wavelengths in the region. Calculate the preemption cost for each available wavelength, which is based on the proportion of first-tier services in the preempted area, wavelength utilization, and credit score. Select one or more wavelengths with the lowest preemption cost as the second target wavelength, and transfer the second target wavelength from the original area to the requested area, while updating the credit score of the preempted area.
[0083] In some embodiments, the optical access device 301 determines whether there is a bandwidth gap in the corresponding access node based on the following steps: For each different level of service in the access node, the actual allocated bandwidth and required bandwidth of each level of service are statistically analyzed at each preset detection period. When the required bandwidth is greater than the allocated bandwidth and continues to exceed the preset number of consecutive periods for the corresponding level of service, it is determined that there is a bandwidth gap. The graded services include first-grade services, second-grade services, and third-grade services. The number of continuous detection cycles for the third-grade services is greater than that for the second-grade services, and the number of continuous detection cycles for the second-grade services is greater than that for the third-grade services.
[0084] In some embodiments, the optical access device 301 allocates bandwidth resources to its corresponding access node based on the following steps: Each allocated wavelength is divided into multiple time slots of equal length, resulting in a time slot resource pool corresponding to optical access device 301. Within each time slot allocation cycle, time slots are allocated according to the queue lengths corresponding to the first-level services, second-level services, and third-level services at the current time, in the following manner: The number of time slots required for the first-level service is calculated based on the queue length of the first-level service. If the number of time slots required for the first-level service is greater than or equal to the total number of time slots in the time slot resource pool, then all time slots in the time slot resource pool are allocated to the first-level service. Otherwise, the time slots required for the first-level service are allocated first, and then the remaining time slots in the time slot resource pool are allocated to the second-level and third-level services according to the preset ratio of the second-level and third-level services and the queue lengths of the second-level and third-level services.
[0085] In summary, this embodiment provides a dynamic optical fiber resource allocation system, which includes a central control layer 10, a regional coordination layer 20, and an optical access layer 30. The central controller 101 in the central control layer 10 controls the scheduling of optical fiber resources in multiple regions within a target area. The regional coordination layer 20 includes regional coordinators 201 corresponding to each region, and each region includes at least one access node. The optical access layer 30 includes optical access devices 301 corresponding to each access node. On one hand, this embodiment, through bandwidth gap detection and wavelength adjustment by the optical access devices 301, can promptly address busy access node traffic. By supplementing the wavelength resources of optical fibers, the delay and packet loss caused by insufficient bandwidth can be effectively prevented, thereby improving the service quality of services. On the other hand, the embodiments of this application can schedule wavelengths (idle wavelengths or wavelengths with low utilization) from other areas within the region or globally, thereby improving the utilization rate of wavelength resources. Furthermore, the embodiments of this application provide hierarchical decision-making. When there is a bandwidth gap in the access node, wavelength scheduling within the region is first performed through the regional coordinator 201. When the wavelength scheduling conditions are not met within the region, a bandwidth request is sent to the central controller 101, so that some requests can be digested within the region, reducing the load on the central controller 101.
[0086] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned dynamic allocation system for optical fiber resources and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.
[0087] The aforementioned dynamic allocation system for optical fiber resources can be implemented as a computer program, which can, for example... Figure 6 It runs on the computer device shown.
[0088] Please see Figure 6 , Figure 6 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 600 is a central controller, regional coordinator, or optical access device in a dynamic allocation system for optical fiber resources.
[0089] See Figure 6 The computer device 600 includes a processor 602, a memory, and a network interface 605 connected via a system bus 601. The memory may include a non-volatile storage medium 603 and internal memory 604.
[0090] The non-volatile storage medium 603 can store an operating system 6031 and a computer program 6032. The computer program 6032 includes program instructions that, when executed, cause the processor 602 to perform a dynamic allocation method for optical fiber resources.
[0091] The processor 602 provides computing and control capabilities to support the operation of the entire computer device 600.
[0092] The internal memory 604 provides an environment for the execution of the computer program 6032 in the non-volatile storage medium 603. When the computer program 6032 is executed by the processor 602, the processor 602 can execute a dynamic allocation method for optical fiber resources.
[0093] This network interface 605 is used for network communication with other devices. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 600 to which the present application is applied. The specific computer device 600 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0094] The processor 602 is used to run a computer program 6032 stored in a memory to implement the dynamic allocation method for optical fiber resources provided in this application embodiment.
[0095] It should be understood that, in the embodiments of this application, the processor 602 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0096] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0097] Therefore, this application also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the dynamic allocation method for optical fiber resources provided in the embodiments of this application.
[0098] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0099] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0100] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0101] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0103] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for dynamic allocation of optical fiber resources, characterized in that, The method is applied to a dynamic optical fiber resource allocation system, which includes a central control layer, a regional coordination layer, and an optical access layer. The central controller in the central control layer controls the scheduling of optical fiber resources in multiple regions within a target area. The regional coordination layer includes a regional coordinator corresponding to each region, and each region includes at least one access node. The optical access layer includes optical access devices corresponding to each access node. The method includes: When the optical access device detects a bandwidth gap in the corresponding access node, it sends a bandwidth request to the corresponding area coordinator, and the bandwidth request carries the amount of the bandwidth gap. When the corresponding regional coordinator receives the bandwidth request, it determines whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region. When the regional coordinator determines that it will not forward the bandwidth request, it determines a first target wavelength from the allocated wavelength set and switches the first target wavelength to the optical access device corresponding to the bandwidth request. When the regional coordinator determines to forward the bandwidth request, it sends the bandwidth request to the central controller, which then determines a second target wavelength from the global fiber wavelength resource pool and switches the second target wavelength to the optical access device corresponding to the bandwidth request.
2. The method according to claim 1, characterized in that, The allocated wavelength set includes the allocated wavelengths of each access node in the corresponding region and the remaining available bandwidth of each allocated wavelength; determining whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region includes: Based on the allocated wavelength set, determine whether there is at least one candidate access node in the corresponding region whose remaining available bandwidth is greater than the preset remaining bandwidth and satisfies the minimum guaranteed wavelength constraint, wherein the preset remaining bandwidth is greater than the bandwidth corresponding to a single wavelength. If at least one of the candidate access nodes exists, then determine whether the amount of available bandwidth corresponding to the available wavelength under at least one of the candidate access nodes is less than the amount of bandwidth gap. If the amount of available bandwidth is not less than the amount of bandwidth shortfall, then it is determined that the bandwidth request will not be forwarded to the central controller. If the available bandwidth is less than the bandwidth gap, or if there is no at least one candidate access node, then the bandwidth request is forwarded to the central controller.
3. The method according to claim 2, characterized in that, Determining the first target wavelength from the allocated wavelength set includes: Based on the remaining available bandwidth corresponding to each of the candidate access nodes, at least one target access node is determined from the candidate access nodes; At least one first target wavelength is determined from the allocated wavelengths corresponding to at least one target access node, and a wavelength switching instruction is sent to the optical access device currently corresponding to each first target wavelength. The wavelength switching instruction instructs the corresponding optical access device to transfer the task of the allocated time slot corresponding to the first target wavelength to an idle time slot in the target access node that is not the first target wavelength.
4. The method according to claim 1, characterized in that, The step of determining the second target wavelength from the global fiber wavelength resource pool via the central controller includes: Traverse the idle wavelengths in the global fiber wavelength resource pool and calculate the allocation cost for each idle wavelength. The allocation cost is calculated based on at least one or more of the following factors: activation power consumption increment, adjacent wavelength conflict probability, and cumulative number of optical switch port switching times. Select one or more wavelengths with the lowest allocation cost as the second target wavelength, where the allocation cost of the second target wavelength is less than a preset cost threshold.
5. The method according to claim 4, characterized in that, When the number of idle wavelengths in the global fiber wavelength resource pool is insufficient to meet the bandwidth request, the central controller also performs the following: From the wavelengths already allocated to other regions in the global fiber wavelength resource pool, select wavelengths that meet the preemptibility conditions. The preemptibility conditions include: the current utilization rate of the wavelength is lower than a preset threshold, and the current number of wavelengths in the region is greater than the minimum guaranteed number of wavelengths in the region. Calculate the preemption cost for each available wavelength, which is based on the proportion of first-tier services in the preempted area, wavelength utilization, and credit score. Select one or more wavelengths with the lowest preemption cost as the second target wavelength, and transfer the second target wavelength from the original area to the requested area, while updating the credit score of the preempted area.
6. The method according to claim 1, characterized in that, The optical access device determines whether there is a bandwidth gap in the corresponding access node based on the following steps: For each different level of service in the access node, the actual allocated bandwidth and required bandwidth of each level of service are statistically analyzed at each preset detection period. When the required bandwidth is greater than the allocated bandwidth and continues to exceed the preset number of consecutive periods for the corresponding level of service, it is determined that there is a bandwidth gap. The graded services include first-grade services, second-grade services, and third-grade services. The number of continuous detection cycles for the third-grade services is greater than that for the second-grade services, and the number of continuous detection cycles for the second-grade services is greater than that for the first-grade services.
7. The method according to claim 1, characterized in that, The optical access device allocates bandwidth resources to its corresponding access node based on the following steps: Each allocated wavelength is divided into multiple time slots of equal length, resulting in a time slot resource pool corresponding to the optical access device. Within each time slot allocation cycle, time slots are allocated according to the queue lengths corresponding to the first-level, second-level, and third-level services at the current time, in the following manner: The number of time slots required for the first-level service is calculated based on the queue length of the first-level service. If the number of time slots required for the first-level service is greater than or equal to the total number of time slots in the time slot resource pool, then all time slots in the time slot resource pool are allocated to the first-level service. Otherwise, the time slots required for the first-level service are allocated first, and then the remaining time slots in the time slot resource pool are allocated to the second-level and third-level services according to the preset ratio of the second-level and third-level services and the queue lengths of the second-level and third-level services.
8. A dynamic allocation system for optical fiber resources, characterized in that, The dynamic allocation system for optical fiber resources includes a central control layer, a regional coordination layer, and an optical access layer. The central controller in the central control layer controls the scheduling of optical fiber resources in multiple regions within a target area. The regional coordination layer includes a regional coordinator for each region, and each region includes at least one access node. The optical access layer includes optical access devices corresponding to each access node. The optical access device is used to send a bandwidth request to the corresponding area coordinator when a bandwidth gap is detected in the corresponding access node. The bandwidth request carries the amount of the bandwidth gap. The regional coordinator, upon receiving the bandwidth request, determines whether to forward the bandwidth request to the central controller based on the bandwidth gap and the allocated wavelength set of the corresponding region; when it is determined not to forward the bandwidth request, it determines a first target wavelength from the allocated wavelength set and switches the first target wavelength to the optical access device corresponding to the bandwidth request; when it is determined to forward the bandwidth request, it sends the bandwidth request to the central controller. The central controller is used to determine a second target wavelength from the global fiber wavelength resource pool and switch the second target wavelength to the optical access device corresponding to the bandwidth request.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the dynamic allocation method for optical fiber resources as described in any one of claims 1-7.
10. A storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, cause the processor to perform the dynamic allocation method for optical fiber resources as described in any one of claims 1-7.
Citation Information
Patent Citations
Power fiber access network and control method thereof
CN107484043A
Dynamic bandwidth allocation method and device, computer equipment, readable storage medium and program product
CN119183044A