A bandwidth allocation method and system for cascaded passive optical networks

By calculating and optimizing the uplink and downlink bandwidth of home PON in a centralized cascaded PON, and using a joint DBA algorithm to allocate bandwidth, the problem of only considering north-south traffic in the existing technology is solved, efficient bandwidth allocation is achieved, and the efficiency is improved Bandwidth utilization and performance.

CN117201976BActive Publication Date: 2024-09-13SUZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311148630.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2024-09-13
Estimated Expiration
2043-09-07

AI Technical Summary

Technical Problem

The existing bandwidth allocation mechanism of passive optical networks only considers north-south traffic and ignores east-west traffic, resulting in low allocation efficiency and unable to meet the bandwidth requirements of centralized cascaded PON systems.

Method used

In centralized cascaded PON, by calculating the uplink and downlink bandwidth of each home PON and optimally allocating it to the corresponding T-CONT, the joint DBA algorithm is used to uniformly allocate the bandwidth of the access network PON and home PON. Supports bandwidth allocation for NS and EW traffic.

Benefits of technology

Significantly improve bandwidth utilization, reduce packet loss and delay, and meet the needs of home business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117201976B
    Figure CN117201976B
Patent Text Reader

Abstract

The present invention relates to a bandwidth allocation method and system for a cascade passive optical network, the method comprising: step S1: in a centralized cascade PON, calculating the available upstream bandwidth of each home PON, and optimizing the upstream bandwidth calculation process of each home PON; step S2: allocating the calculated available upstream bandwidth of each home PON to the T-CONT of each home PON, completing the allocation of the upstream bandwidth, step S3: in the centralized cascade PON, calculating the available downstream bandwidth of each home PON, optimizing the downstream bandwidth calculation process of each home PON, and completing the allocation of the downstream bandwidth. The present invention can allocate bandwidth for both east-west (EW) traffic and north-south (NS) traffic in the centralized cascade PON, and optimize the process of allocating bandwidth, achieving higher bandwidth utilization and higher efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bandwidth allocation of passive optical networks, and in particular to a bandwidth allocation method and system for cascaded passive optical networks. Background Art

[0002] As the scale of home network services continues to expand, the single-layer passive optical network (PON) access solution based on fiber-to-the-home (FTTH) is gradually unable to meet the needs of home users for bandwidth and service quality. As the fiber-to-the-room (FTTR) scenario as an extension of FTTH is proposed, a centralized cascade PON architecture has attracted much attention, that is, moving the home network function upward and directly controlling the data transmission of each home node through the optical line terminal (OLT) in the access network. This architecture reduces deployment costs by simplifying the functions of the home PON network, thereby solving the problem of large-scale deployment of FTTR.

[0003] In the cascade PON, the PON that carries the FTTH function is called the access network PON, and the PON that carries the FTTR function is called the home PON. The OLT and ONU in the access network PON are called the access network OLT and access network ONU, respectively. Similarly, the OLT and ONU in the home PON are called the home OLT and home ONU. The home gateway is composed of the access network ONU and the corresponding home OLT. In addition, in the cascade PON, data traffic is divided into two types, namely North-south (NS) traffic and East-west (EW) traffic. The former refers to the traffic between the access network OLT and the home ONU, and the latter refers to the traffic forwarded between each home ONU in a home PON. Considering that home data involves privacy, EW traffic is only forwarded within the home PON and will not be uploaded to the access network.

[0004] Compared with the traditional cascade PON, the characteristics of the centralized cascade PON are mainly reflected in the following two points: first, the access network OLT centrally controls the resource scheduling of each home ONU in the home PON; second, the home OLT in the gateway is responsible for following the instructions of the access network OLT to complete operations such as forwarding, storage, and filtering traffic. In order to realize resource scheduling in PON, the dynamic bandwidth allocation (DBA) mechanism is indispensable. The realization of centralized cascade PON requires a DBA mechanism that combines home PON and access network PON, which has not yet been studied.

[0005] In traditional time division multiplexing PON (TDM-PON), transport containers (T-CONTs) are used as entities to carry traffic, and they are divided into four types, namely T-CONT 1 (T1), T-CONT 2 (T2), T-CONT 3 (T3), and T-CONT 4 (T4). Each type of T-CONT is responsible for carrying traffic of different priorities, and the priorities correspond to T1 to T4 from high to low. The upstream bandwidth is allocated to these T-CONTs through the DBA mechanism. In centralized cascade PON, in order to allocate bandwidth to NS and EW traffic respectively, home ONUs need to store these two types of traffic in different T-CONTs. These T-CONTs are called NS T-CONTs and EW T-CONTs, and they each contain four priorities. However, the current DBA algorithm can only allocate bandwidth for traditional NS traffic, and does not consider the bandwidth allocation of EW traffic.

[0006] In addition, most of the existing DBA algorithms designed for single-stage PONs are based on a single polling allocation mechanism, that is, a maximum number of allocated bytes (AB) is pre-calculated and bandwidth is allocated to each T-CONT once within a fixed time interval (SI). Assume that the kth T-CONT of the jth type (j∈{1,2,3,4}) has a bandwidth request The corresponding AB is AB k In this case, the bandwidth allocated to the T-CONT Calculated by:

[0007]

[0008] Each T-CONT has only one chance to obtain bandwidth in a polling cycle. However, in a centralized cascade PON system with many home ONU nodes, this allocation strategy may cause some T-CONTs in the ONU to fail to obtain sufficient bandwidth, while the bandwidth allocated to other T-CONTs is wasted. Therefore, an efficient DBA method suitable for centralized cascade PON architecture is urgently needed.

[0009] The existing DBA mechanisms designed for traditional PON architectures are not applicable to centralized cascaded PONs because they only allocate bandwidth for the four T-CONT types that carry NS traffic, without considering EW traffic. Existing DBA algorithms are only applicable to single-layer PONs and cannot be applied to centralized cascaded PON systems with access network PONs and multiple home PONs. In addition, traditional DBA algorithms have low bandwidth utilization in FTTR scenarios, and their performance cannot meet home business needs. Summary of the invention

[0010] Therefore, the technical problem to be solved by the present invention is to overcome the problem that the DBA bandwidth allocation mechanism of the passive optical network in the prior art only considers the NS traffic and ignores the EW traffic, and the allocation efficiency is low.

[0011] In order to solve the above technical problems, the present invention provides a bandwidth allocation method for a cascaded passive optical network, comprising:

[0012] Step S1: in a centralized cascade PON, calculating the available upstream bandwidth of each home PON, and optimizing the upstream bandwidth calculation process of each home PON, wherein the centralized cascade PON includes an access network PON and several home PONs, the access network PON includes an access network OLT and several access network ONUs, each of the home PONs includes several home OLTs with the same number as the access network ONUs, each of the home OLTs includes several home ONUs, the access network OLT is connected to several access network ONUs, each of the access network ONUs is connected to a corresponding home OLT, and each home OLT is connected to several home ONUs;

[0013] Step S2: Allocate the calculated available upstream bandwidth of each home PON to the T-CONT of each home PON to complete the allocation of upstream bandwidth, wherein the T-CONT is a transmission container set in each home ONU for carrying traffic;

[0014] Step S3: in the centralized cascade PON, the available downstream bandwidth of each home PON is calculated, the downstream bandwidth calculation process of each home PON is optimized, and the downstream bandwidth allocation is completed.

[0015] In one embodiment of the present invention, the method for calculating the available upstream bandwidth of each home PON in step S1 includes:

[0016] First, according to the ratio of NS traffic to EW traffic, the total bandwidth in an uplink frame is divided into the available bandwidth for NS traffic and available bandwidth for EW traffic The NS traffic is the traffic between the access network OLT and the home ONU, and the EW traffic is the traffic forwarded between each home ONU in a home PON. In the i-th home PON, the available bandwidth for the NS traffic is The available bandwidth for EW traffic The formulas are:

[0017]

[0018]

[0019] in, represents the upstream capacity of the ith home PON, γ i Indicates the proportion of NS traffic in the total traffic, 1-γ i Indicates the proportion of EW traffic in the total traffic. T1 indicates the maximum length of an uplink frame.

[0020] In one embodiment of the present invention, the process of calculating the available upstream bandwidth of each home PON in step S1 is optimized, and the method includes:

[0021] Available bandwidth for NS traffic based on the capacity of access network PON and home PON The formula is restricted and expressed as:

[0022]

[0023] Among them, UC A represents the upstream capacity of the access network PON, β i represents the bandwidth weight that determines the available bandwidth of each home PON and β i The formula is:

[0024]

[0025] in, It is a collection of home PON indexes in a centralized cascade PON;

[0026] Since EW traffic does not need to be uploaded to the access network PON, the available bandwidth of NS traffic is calculated. After that, the available bandwidth for EW traffic is the remaining bandwidth in the home PON, and the formula is:

[0027]

[0028] In one embodiment of the present invention, the T-CONT in step S2 includes NS T-CONT and EW T-CONT, and each of the NS T-CONT and the EW T-CONT includes four types, and the four types correspond to four different priorities.

[0029] In one embodiment of the present invention, in step S2, the calculated available uplink bandwidth of each home PON is allocated to the T-CONT of each home PON, and the method includes:

[0030] For upstream bandwidth, TCONT bytes TB are used as service parameters for each type of T-CONT. TB represents the total available bandwidth of a certain T-CONT type within a fixed time interval SI. For the jth type of NS T-CONT or EW T-CONT, the TCONT bytes TB in the i-th home PONi,j The formula is:

[0031] TB i,j =(FB i -O i )·ω j

[0032] Among them, O i represents the frame overhead of the NS burst or EW burst sent by the i-th home PON, ω j represents the bandwidth weight of the j-th type of NS T-CONT or EW T-CONT, depending on the priority of the NS T-CONT or EW T-CONT;

[0033] Based on TB i,j , and then allocate different bandwidths to NS T-CONTs or EW T-CONTs of different priorities in each home PON.

[0034] In one embodiment of the present invention, the TB-based i,j , and then allocate different bandwidths to NS T-CONTs or EW T-CONTs of different priorities in each home PON, specifically: allocate bandwidth to each T-CONT multiple times in a polling cycle, the method includes:

[0035] For upstream bandwidth, the access network OLT allocates available upstream bandwidth TB to the NS T-CONT and EW T-CONT in each home PON in order of priority. i,j ; The bandwidth of T-CONTs with the same priority will be allocated uniformly, and the available upstream bandwidth TB i,j will be evenly distributed to these T-CONTs; if there is a situation where the bandwidth demand of a T-CONT is still not met, the upstream bandwidth TB after allocation i,j The remaining bandwidth will be evenly redistributed to the T-CONTs whose bandwidth requirements are not met, and multiple iterations will be performed until the remaining bandwidth is exhausted or the bandwidth requirements of all T-CONTs are met.

[0036] In one embodiment of the present invention, the method for calculating the available downstream bandwidth of each home PON in step S3 and optimizing the downstream bandwidth calculation process of each home PON includes:

[0037] Calculate the available bandwidth of downstream NS frames in each home PON When the access network OLT is set to 1, the access network OLT should reserve an EW transmission window to ensure that the EW burst sent to the home OLT in the previous polling cycle is transmitted in time. The EW burst is the upstream frame containing EW traffic previously uploaded by the home ONU. The downstream NS frame bandwidth formula of the i-th home PON is:

[0038]

[0039] in, represents the downstream capacity of the ith home PON, DC A Indicates the downstream capacity of the access network PON, T2 indicates the maximum length of the downstream frame, is the set of EW bursts stored in the home OLT buffer, represents the size of the jth EW burst in the i-th home PON, δ i is the bandwidth weight calculated based on the downstream capacity of the ith home PON, and the formula is:

[0040]

[0041] The access network OLT calculates the available downstream bandwidth DF for NS traffic in the access network PON. A , the formula is:

[0042]

[0043] The access network OLT calculates the available downstream bandwidth for EW traffic of each home PON. The formula is:

[0044]

[0045] in, represents the downstream capacity of the ith home PON.

[0046] In order to solve the above technical problems, the present invention provides a bandwidth allocation system for a cascaded passive optical network, comprising:

[0047] Uplink calculation and optimization module: used to calculate the available uplink bandwidth of each home PON in a centralized cascade PON, and optimize the uplink bandwidth calculation process of each home PON, wherein the centralized cascade PON includes an access network PON and several home PONs, the access network PON includes an access network OLT and several access network ONUs, each of the home PONs includes several home OLTs with the same number as the access network ONUs, each of the home OLTs includes several home ONUs, the access network OLT is connected to several access network ONUs, each of the access network ONUs is connected to the corresponding home OLT, and each home OLT is connected to several home ONUs;

[0048] Uplink allocation module: used to allocate the calculated available uplink bandwidth of each home PON to the T-CONT of each home PON, so as to complete the allocation of uplink bandwidth, wherein the T-CONT is a transmission container set in each home ONU for carrying traffic;

[0049] Downstream calculation and allocation module: used to calculate the available downstream bandwidth of each home PON in a centralized cascade PON, optimize the downstream bandwidth calculation process of each home PON, and complete the allocation of downstream bandwidth.

[0050] To solve the above technical problems, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the bandwidth allocation method for a cascaded passive optical network are implemented.

[0051] To solve the above technical problem, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the bandwidth allocation method for a cascaded passive optical network are implemented.

[0052] The above technical solution of the present invention has the following advantages compared with the prior art:

[0053] The joint DBA algorithm based on the centralized cascade PON proposed in the present invention enables the access network OLT to uniformly allocate upstream bandwidth and downstream bandwidth for the access network PON and the home PON at the same time; the joint DBA algorithm of the present invention also supports bandwidth allocation for both EW and NS traffic;

[0054] The present invention can significantly improve bandwidth utilization in FTTR scenarios and effectively reduce packet loss and delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings.

[0056] Figure 1 is a flow chart of the method of the present invention;

[0057] Figure 2 (a) is a schematic diagram of uplink bandwidth allocation using a joint DBA algorithm according to an embodiment of the present invention;

[0058] Figure 2 (b) is a schematic diagram of downlink bandwidth allocation using a joint DBA algorithm according to an embodiment of the present invention;

[0059] Figure 3 is a schematic diagram of the structure of a centralized cascade PON in an embodiment of the present invention;

[0060] Figure 4 : is a comparison chart of packet loss rates between the traditional DBA algorithm and the joint DBA algorithm in an embodiment of the present invention;

[0061] Figure 5 is a schematic diagram of bandwidth utilization in an access network in an embodiment of the present invention;

[0062] Figure 6 (a) and Figure 6 (b) is a schematic diagram of average upstream delay of NS traffic in a home PON and an access network PON under different conditions in an embodiment of the present invention;

[0063] Figure 6 (c) and Figure 6 (d) is a schematic diagram of average downstream delay of EW traffic in access network PON and home PON under different conditions in an embodiment of the present invention;

[0064] Figure 6 (e) and Figure 6 (f) is a schematic diagram of the average delay of EW traffic uplink and downlink under different conditions in an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0066] Embodiment 1

[0067] Reference Figure 1 The present invention relates to a bandwidth allocation method for a cascaded passive optical network, comprising:

[0068] Step S1: In a centralized cascade PON, the available upstream bandwidth of each home PON is calculated, and the upstream bandwidth calculation process of each home PON is optimized, wherein the centralized cascade PON includes an access network PON and several home PONs, the access network PON includes an access network OLT and several access network ONUs, each of the home PONs includes several home OLTs with the same number as the access network ONUs, each of the home OLTs includes several home ONUs, the access network OLT is connected to several access network ONUs, each of the access network ONUs is connected to the corresponding home OLT, and each home OLT is connected to several home ONUs, see Figure 3 ;

[0069] Step S2: Allocate the calculated available upstream bandwidth of each home PON to the T-CONT of each home PON to complete the allocation of upstream bandwidth, wherein the T-CONT is a transmission container set in each home ONU for carrying traffic;

[0070] Step S3: in the centralized cascade PON, the available downstream bandwidth of each home PON is calculated, the downstream bandwidth calculation process of each home PON is optimized, and the downstream bandwidth allocation is completed;

[0071] Among them, the upstream bandwidth includes the time slot resources occupied by the EW traffic in the home ONU flowing to the home OLT (the EW traffic between different home ONUs is forwarded through the home OLT to which they belong), and the time slot resources occupied by the NS traffic in the home ONU flowing to the access network OLT; the downstream bandwidth is the time slot resources occupied by the NS traffic in the access network OLT and the EW traffic of the home OLT flowing to the home PON.

[0072] The following is a detailed introduction to this embodiment:

[0073] 1. Uplink Bandwidth Calculation Method

[0074] The joint DBA algorithm scheme designed in this embodiment is as follows: when calculating the upstream bandwidth of the centralized cascade PON, firstly, the total bandwidth in an upstream frame is divided into NS traffic bandwidth according to the ratio of NS and EW traffic. and EW traffic bandwidth Two parts. represents the upstream capacity of the ith home PON, γ i Indicates the proportion of NS traffic in the total traffic. Then in the i-th home PON, the uplink available bandwidth of NS T-CONT is It can be calculated as follows:

[0075]

[0076] Similarly, the available bandwidth for EW traffic The γ in formula (2) can be i Replace with (1-γ i ) and we get

[0077]

[0078] T1 represents the maximum length of an uplink frame, which is 125 microseconds.

[0079] However, the sum of the upstream capacities of each home PON may not match the upstream capacity of the access network PON. This mismatch may cause the total NS traffic uploaded from the home PON to exceed the capacity of the access network PON, causing the NS upstream burst frames to queue in the buffer of the access network ONU, thereby causing congestion or packet loss. In order to avoid potential congestion at the access network PON, this embodiment requires a capacity comparison based on the access network PON and the home PON. Considering that the upstream capacity of each home PON may be different, the upstream capacity of each home PON in the centralized cascade PON system It can be further written as follows:

[0080]

[0081] Among them, UC A represents the upstream capacity of the access network PON, β i Represents the bandwidth weight that determines the available bandwidth of each home PON. i It can be calculated as follows:

[0082]

[0083] in, It is a collection of home PON indexes in a centralized cascade PON. Since EW traffic does not need to be uploaded to the access network, after calculating the bandwidth of NS traffic, the available bandwidth for EW traffic uplink is This is the remaining bandwidth in the home PON, which can be obtained by the following formula:

[0084]

[0085] 2. Downlink Bandwidth Calculation Method

[0086] In downstream transmission, EW traffic shares the same channel with the downstream NS traffic in each home PON. However, since the bandwidth of EW traffic is determined by the NS downstream frames in the home PON, especially when the downstream load is high, EWburst means that the upstream frames containing EW traffic previously uploaded by the home ONU may not be transmitted in time within the EW transmission window (i.e., the gaps between downstream NS frames in the home PON). To ensure the transmission efficiency of EW burst, it is necessary to limit the bandwidth allocated to the downstream NS frames in each home PON. Therefore, when calculating the downstream NS frames in each home PON, the bandwidth of the downstream NS frames in each home PON must be limited. When the access network OLT is 1, the access network OLT should reserve an EW transmission window (i.e., the gap between downstream NS frames in the home PON) to ensure that the EW burst sent to the home OLT in the previous polling cycle can be transmitted in time. In this case, it is calculated as follows:

[0087]

[0088] in, represents the downstream capacity of the ith home PON, DC A Indicates the downstream capacity of the access network PON. T2 indicates the maximum length of a downstream frame. is the set of EW bursts stored in the home OLT buffer, Indicates the size of the jth EW burst in the i-th home PON. i is the bandwidth weight calculated based on the downstream capacity of the ith home PON and can be obtained in the following way:

[0089]

[0090] Then, the access network OLT calculates the available downstream bandwidth (DF) of the NS traffic of the access network PON by the following formula: A ):

[0091]

[0092] Downstream available bandwidth for EW traffic in each home PON Calculated by:

[0093]

[0094] in, represents the downstream capacity of the ith home PON.

[0095] It should be noted that when calculating the downstream bandwidth, the access network OLT gives priority to the bandwidth of the NS downstream traffic. The above formulas 6-7 are used to calculate the available bandwidth of the NS traffic of each home PON, and formula 8 is used to calculate the available bandwidth of the NS traffic of the access network PON (that is, the sum of the available bandwidth of the NS traffic of each home PON). After calculating the bandwidth of the NS traffic, the remaining downstream bandwidth in each home PON is the available downstream bandwidth of the EW traffic in the home PON (that is, the downstream capacity of each home PON is used). Subtract each household PON get).

[0096] It should be noted that during the data uplink process, NS traffic starts from the home ONU and is uploaded to the access network OLT, and EW traffic starts from the home ONU and is only uploaded to the home OLT in the current home PON. During the data downlink process, NS traffic (needs to be recalculated) is transmitted from the access network OLT to the home ONU, and when it reaches the home OLT during the transmission process, it is combined with the EW traffic that reaches the home OLT during the uplink process and transmitted to the home ONU.

[0097] 3. Bandwidth Allocation Method

[0098] The available upstream bandwidth needs to store the T-CONT of each home ONU before bandwidth allocation, while the downstream bandwidth is directly allocated because it is broadcast.

[0099] After calculating the available upstream bandwidth of each home PON, they are allocated to the T-CONTs of their respective home ONUs. In order to improve bandwidth utilization, an effective method is to reallocate bandwidth according to the needs of the T-CONTs in each home PON. To achieve this goal, the joint DBA algorithm proposed in this embodiment introduces a maximum-minimum fair allocation strategy to allocate bandwidth to each T-CONT multiple times within a polling cycle.

[0100] Compared with the conventional DBA algorithm, the joint DBA algorithm of this embodiment uses TCONT bytes (TB) as the service parameter for each type of T-CONT instead of using AB. TB represents the total available bandwidth of a certain type of T-CONT in the SI. For the jth type of NS or EW T-CONT, the TCONT bytes (TB) in the i-th home PON i,j ) can be calculated as follows:

[0101] TB i,j =(FB i -O i )·ω j #(10)

[0102] Among them, O iRepresents the frame overhead of the NS or EW burst sent by the i-th home PON, including the frame header, frame trailer, DBRu (report information) and guard time. j represents the bandwidth weight of the jth type of NS or EW T-CONT, which depends on the priority of the NS or EW T-CONT. In this way, different bandwidths can be allocated to NS T-CONTs or EW T-CONTs of different priorities in each home PON.

[0103] Figure 2 The flowchart of the joint DBA algorithm is shown, including the uplink bandwidth ( Figure 2 (a)) and downstream bandwidth ( Figure 2 (b)) The allocation process consists of two parts.

[0104] for Figure 2 (a) The upstream process starts with allocating available upstream bandwidth for NS and EW traffic to each home PON. Start (Formula 3-5). Next, the access network OLT calculates the bandwidth (TB) allocated to each T-CONT priority. i,j )(Formula 10). Then, after identifying the traffic type, the access network OLT allocates upstream bandwidth to the NS and EW T-CONTs in each home PON in order of priority. The bandwidth of T-CONTs with the same priority will be allocated uniformly, and the available bandwidth BL will be evenly distributed to these T-CONTs. If the needs of some T-CONTs are still not met, the remaining bandwidth will be evenly distributed again. The process will go through multiple iterations until the remaining bandwidth is exhausted or the bandwidth needs of all T-CONTs are met. In this way, the problem of bandwidth utilization caused by bandwidth inequality will disappear. After the process is completed, the access network OLT will check the TB i,j The remaining bandwidth BL is added to the available bandwidth of the next priority T-CONT. It should be noted that the remaining bandwidth of a NS T-CONT of a certain priority can only be inherited by NS T-CONTs with lower priority, but not by EWT-CONTs. The same is true for EW T-CONTs. After that, the access network OLT allocates bandwidth (i.e., and ) generates their own BWmap fields (Home BWmap) to authorize bandwidth for EW and NS traffic of each home PON, and then allocates NS upstream bandwidth to the access network PON To generate the BWmap field (Access BWmap) of the access network PON, which is used for the NS traffic authorized bandwidth of the access network PON.

[0105] for Figure 2 (b) The downstream bandwidth allocation process also includes bandwidth calculation for EW and NS traffic. First, use formula 6-7 to calculate the available downstream bandwidth for NS traffic in the current home PON. At the same time, the length of the EW transmission window Set to the remaining bandwidth in the downstream frame of the current home PON. Then, determine the size of the first EW burst in the home OLT buffer Whether the transmission window size is exceeded If not, allocate it to the EW downlink bandwidth And update the remaining transmission window size Then, the above operation is performed for the next EW burst until the size of the EW burst exceeds the length of the EW transmission window. That is, the EW downstream bandwidth of the current home PON. After the downstream bandwidth of each home PON is allocated, the bandwidth (DF) allocated to the NS traffic in the access network PON is obtained by formula (8): A ), thereby completing the downstream bandwidth allocation of the access network PON. In addition, the output Will be distributed with the upstream output as well as Used together to generate the Access BWmap field.

[0106] Experimental analysis

[0107] In order to verify the performance of the method of this embodiment, this embodiment uses matlab software for simulation testing. In the simulation, this embodiment simulates a centralized cascade PON network, which includes an XGS-PON as an access network PON (upstream and downstream rates are 10Gb / s) and 32 G-PONs as home PONs (upstream and downstream rates are 1.25Gb / s and 2.5Gb / s, respectively), wherein the physical distance between the access network OLT and the access network ONU is set to 20 kilometers, and the distance between the home ONU and the home OLT in each home PON is 200 meters. In addition, the generated NS and EW traffic are both Poisson flows. The SDU frame size is between 64 bytes and 1518 bytes. This embodiment assumes that all home ONUs in the home PON have the same arrival rate, and the ratio of NS traffic to EW traffic arriving in any home ONU is 1:1. In addition, the load of the downstream traffic is consistent with the upstream load in the simulation. In addition, this embodiment considers four types of T-CONTs. Since T-CONT 1 receives a fixed bandwidth, it is not controlled by the DBA during bandwidth allocation, so its performance is not analyzed. The bandwidth ratio of the other three types of T-CONTs is 1:1:0.8.

[0108] In the simulation, the traditional ITU-T PON DBA algorithm is used as a benchmark for comparison with the joint DBA algorithm. The DBA algorithm adopts a single allocation strategy, which allocates bandwidth to each T-CONT once in each polling cycle according to pre-set parameters. Both algorithms are adapted to the scheduling mechanism of centralized cascade PON and can allocate bandwidth for EW and NS traffic. The key difference between them is the strategy adopted by the joint DBA to improve bandwidth utilization.

[0109] Since the total upstream capacity of the home PON exceeds the upstream capacity of the access network PON, this may cause congestion of NS traffic in the access network PON. Therefore, firstly, this embodiment evaluates the packet loss rate (PLR) of NS traffic, that is, the ratio of the number of lost packets to the total number of generated packets. Figure 4 The PLR ​​of NS traffic in the home PON and access network PON is shown. Since the bandwidth of the home PON is limited to avoid traffic congestion in the access network PON, both the joint DBA and traditional DBA schemes experience packet loss as the load increases. Compared with the traditional DBA scheme, the joint DBA shows a lower PLR in the home PON because of the improvement of bandwidth utilization by the joint DBA algorithm, such as Figure 5 As shown in the figure, for NS traffic in the access network PON, there is no packet loss in both schemes due to the limitation of the allocated bandwidth of the home PON. In addition, it should be noted that there is no packet loss for EW traffic in both the joint DBA and traditional DBA schemes, because EW traffic has sufficient bandwidth in the home PON, thus ensuring that the EW burst can be transmitted to the home OLT in time.

[0110] On the other hand, the higher bandwidth utilization in joint DBA also brings better latency performance compared to the traditional DBA solution. The upstream end-to-end latency of NS traffic includes the latency in the home PON and the access network PON. In the home PON, Figure 6As shown in (a), as the NS traffic load increases, the average delay of T2 in both schemes can be kept within 1 millisecond, but the joint DBA shows better performance. When the NS load in each home PON reaches 310Mbps (i.e., when the access network PON is fully loaded), the delay of the joint DBA is reduced by about 300 microseconds compared with the traditional DBA scheme. In addition, the performance improvements of T3 and T4 are particularly significant. For T3, when the load exceeds 275Mbps, the delay in the traditional DBA scheme exceeds 1 millisecond, while the delay in the joint DBA is almost stable at about 0.44 milliseconds. For T4, regardless of the provided load, the delay in the traditional DBA scheme exceeds 1 millisecond and reaches 100 milliseconds after the load exceeds 125Mbps. In contrast, the joint DBA can keep the delay below 1 millisecond until the load exceeds 275Mbps. These improvements are due to the fact that in the joint DBA algorithm, the bandwidth allocated to different NS T-CONTs is fully utilized according to the maximum-minimum fair allocation strategy. In addition, it can be seen that when the load is low (i.e., when the NS load is less than 250Mbps), there is almost no difference in the delay of the three types of T-CONTs. This is because all three types of T-CONTs can be allocated sufficient bandwidth. Therefore, compared with the traditional DBA scheme, the proposed joint DBA algorithm greatly improves the delay performance of NS traffic in home PON.

[0111] In the access network PON, the upstream delays of the three types of NS T-CONTs in both schemes are almost the same, ranging from 150 microseconds to 200 microseconds. This is because the bandwidth allocated to NS traffic by the home PON is limited. In this case, the overall throughput of the home PON does not exceed the capacity of the access network PON, so the bandwidth requirements of all NS T-CONTs in both schemes can be met, resulting in the delay performance shown in the figure.

[0112] In the downstream direction, NS traffic is broadcast to all home ONUs, and the type of NS traffic is not distinguished during the scheduling process. Therefore, this embodiment only shows the average delay of NS downstream traffic in the access network PON and the home PON, such as Figure 6 (c) and (d). In the access network PON, when the load is less than 9 Gbps, the delays of the two schemes converge and rise slowly as the load increases. After that, the delays of the two schemes rise sharply to about 59 milliseconds. However, the delay of NS traffic in the home PON remains below 100 microseconds when the load is higher, as shown in Figure 6 This is because the downstream bandwidth of NS traffic in each home PON is more sufficient than that in the access network PON.

[0113] Regarding EW traffic, Figure 6(e) and (f) show the average delay in the upstream and downstream directions as a function of load. Figure 6 As shown in (e), regardless of the load, the upstream delay of T2 and T3 in both schemes is kept within 400 microseconds. For T4, both schemes can ensure the delay within 1 millisecond, but the joint DBA still reduces the delay by about 96 microseconds compared with the traditional DBA scheme. In addition, in downstream transmission, the performance of the two schemes is also similar, and the average delay of all EW T-CONTs is kept within 250 microseconds. This is because the NS downstream frame in the home PON does not occupy the bandwidth allocated for the EW burst, ensuring that all EWbursts can be sent to the corresponding home ONU within two polling cycles after being uploaded to the home OLT.

[0114] In summary, simulation results show that UDBA achieves higher bandwidth utilization compared to the conventional DBA algorithm, thereby reducing upstream packet delay and packet loss rate without adversely affecting the downstream performance of NS and EW traffic.

[0115] Embodiment 2

[0116] This embodiment provides a bandwidth allocation system for a cascaded passive optical network, including:

[0117] Uplink calculation and optimization module: used to calculate the available uplink bandwidth of each home PON in a centralized cascade PON, and optimize the uplink bandwidth calculation process of each home PON, wherein the centralized cascade PON includes an access network PON and several home PONs, the access network PON includes an access network OLT and several access network ONUs, each of the home PONs includes several home OLTs with the same number as the access network ONUs, each of the home OLTs includes several home ONUs, the access network OLT is connected to several access network ONUs, each of the access network ONUs is connected to the corresponding home OLT, and each home OLT is connected to several home ONUs;

[0118] Uplink allocation module: used to allocate the calculated available uplink bandwidth of each home PON to the T-CONT of each home PON, so as to complete the allocation of uplink bandwidth, wherein the T-CONT is a transmission container set in each home ONU for carrying traffic;

[0119] Downstream calculation and allocation module: used to calculate the available downstream bandwidth of each home PON in a centralized cascade PON, optimize the downstream bandwidth calculation process of each home PON, and complete the allocation of downstream bandwidth.

[0120] Embodiment 3

[0121] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the bandwidth allocation method for a cascaded passive optical network described in Embodiment 1 are implemented.

[0122] Embodiment 4

[0123] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the bandwidth allocation method for a cascaded passive optical network described in the first embodiment are implemented.

[0124] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0125] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0128] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0129] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.

Claims

1. A bandwidth allocation method for a cascaded passive optical network, characterized in that: include: Step S1: in a centralized cascade PON, calculating the available upstream bandwidth of each home PON, and optimizing the upstream bandwidth calculation process of each home PON, wherein the centralized cascade PON includes an access network PON and several home PONs, the access network PON includes an access network OLT and several access network ONUs, each of the home PONs includes several home OLTs with the same number as the access network ONUs, each of the home OLTs includes several home ONUs, the access network OLT is connected to several access network ONUs, each of the access network ONUs is connected to a corresponding home OLT, and each home OLT is connected to several home ONUs; Step S2: Allocate the calculated available upstream bandwidth of each home PON to the T-CONT of each home PON to complete the allocation of upstream bandwidth, wherein the T-CONT is a transmission container set in each home ONU for carrying traffic; Step S3: in the centralized cascade PON, the available downstream bandwidth of each home PON is calculated, the downstream bandwidth calculation process of each home PON is optimized, and the downstream bandwidth allocation is completed; The method for calculating the available upstream bandwidth of each home PON in step S1 includes: First, according to the ratio of NS traffic to EW traffic, the total bandwidth in an uplink frame is divided into the available bandwidth for NS traffic and available bandwidth for EW traffic The NS traffic is the traffic between the access network OLT and the home ONU, and the EW traffic is the traffic forwarded between each home ONU in a home PON. In the i-th home PON, the available bandwidth for the NS traffic is The available bandwidth for EW traffic The formulas are: in, represents the upstream capacity of the ith home PON, γ i Indicates the proportion of NS traffic in the total traffic, 1-γ i Indicates the proportion of EW traffic in the total traffic, T1 indicates the maximum length of an uplink frame; In step S1, the calculation process of the available upstream bandwidth of each home PON is optimized, and the method includes: Available bandwidth for NS traffic based on the capacity of access network PON and home PON The formula is restricted and expressed as: Among them, UC A represents the upstream capacity of the access network PON, β i represents the bandwidth weight that determines the available bandwidth of each home PON and β i The formula is: in, It is a collection of home PON indexes in a centralized cascade PON; Since EW traffic does not need to be uploaded to the access network PON, the available bandwidth of NS traffic is calculated. After that, the available bandwidth for EW traffic is the remaining bandwidth in the home PON, and the formula is: The T-CONT in step S2 includes NS T-CONT and EW T-CONT, and each of the NS T-CONT and the EW T-CONT includes four types, and the four types correspond to four different priorities; In step S2, the calculated available uplink bandwidth of each home PON is allocated to the T-CONT of each home PON, and the method includes: For upstream bandwidth, TCONT bytes TB are used as service parameters for each type of T-CONT. TB represents the total available bandwidth of a certain T-CONT type within a fixed time interval SI. For the jth type of NS T-CONT or EW T-CONT, the TCONT bytes TB in the i-th home PON i,j The formula is: TB i,j =(FB i -O i )·ω j Among them, O i represents the frame overhead of the NS burst or EW burst sent by the i-th home PON, ω j represents the bandwidth weight of the j-th type of NS T-CONT or EW T-CONT, depending on the priority of the NS T-CONT or EW T-CONT; Based on TB i,j , and then allocate different bandwidths to the NS T-CONT or EW T-CONT of each priority in each home PON; The TB-based i,j , and then allocate different bandwidths to NS T-CONTs or EW T-CONTs of different priorities in each home PON, specifically: allocate bandwidth to each T-CONT multiple times in a polling cycle, the method includes: For upstream bandwidth, the access network OLT allocates available upstream bandwidth TB to the NS T-CONT and EW T-CONT in each home PON in order of priority. i,j ; The bandwidth of T-CONTs with the same priority will be allocated uniformly, and the available upstream bandwidth TB i,j will be evenly distributed to these T-CONTs; if there is a situation where the bandwidth demand of a T-CONT is still not met, the upstream bandwidth TB after allocation i,j The remaining bandwidth will be evenly distributed again to the T-CONTs whose bandwidth requirements are not met, and the process will go through multiple iterations until the remaining bandwidth is exhausted or the bandwidth requirements of all T-CONTs are met; In step S3, the available downstream bandwidth of each home PON is calculated, and the calculation process of the downstream bandwidth of each home PON is optimized. The method includes: Calculate the available bandwidth of downstream NS frames in each home PON When the access network OLT is set to 1, the access network OLT should reserve an EW transmission window to ensure that the EW burst sent to the home OLT in the previous polling cycle is transmitted in time. The EW burst is the upstream frame containing EW traffic uploaded by the home ONU. The downstream frame bandwidth formula of the i-th home PON is: in, represents the downstream capacity of the ith home PON, DC A It indicates the downstream capacity of the access network PON, T2 indicates the maximum length of a downstream frame, is the set of EW bursts stored in the home OLT buffer, represents the size of the jth EW burst in the i-th home PON, δ i is the bandwidth weight calculated based on the downstream capacity of the ith home PON, and the formula is: The access network OLT calculates the available downstream bandwidth DF for NS traffic in the access network PON. A , the formula is: The access network OLT calculates the available downstream bandwidth for EW traffic of each home PON. The formula is: in, represents the downstream capacity of the ith home PON.

2. A bandwidth allocation system for a cascaded passive optical network, characterized in that: include: Uplink calculation and optimization module: used to calculate the available uplink bandwidth of each home PON in a centralized cascade PON, and optimize the uplink bandwidth calculation process of each home PON, wherein the centralized cascade PON includes an access network PON and several home PONs, the access network PON includes an access network OLT and several access network ONUs, each of the home PONs includes several home OLTs with the same number as the access network ONUs, each of the home OLTs includes several home ONUs, the access network OLT is connected to several access network ONUs, each of the access network ONUs is connected to the corresponding home OLT, and each home OLT is connected to several home ONUs; Uplink allocation module: used to allocate the calculated available uplink bandwidth of each home PON to the T-CONT of each home PON, so as to complete the allocation of uplink bandwidth, wherein the T-CONT is a transmission container set in each home ONU for carrying traffic; Downstream calculation and allocation module: used to calculate the available downstream bandwidth of each home PON in a centralized cascade PON, optimize the downstream bandwidth calculation process of each home PON, and complete the allocation of downstream bandwidth; The uplink calculation and optimization module calculates the available uplink bandwidth of each home PON, including: First, according to the ratio of NS traffic to EW traffic, the total bandwidth in an uplink frame is divided into the available bandwidth for NS traffic and available bandwidth for EW traffic The NS traffic is the traffic between the access network OLT and the home ONU, and the EW traffic is the traffic forwarded between each home ONU in a home PON. In the i-th home PON, the available bandwidth for the NS traffic is The available bandwidth for EW traffic The formulas are: in, represents the upstream capacity of the ith home PON, γ i Indicates the proportion of NS traffic in the total traffic, 1-γ i Indicates the proportion of EW traffic in the total traffic, T1 indicates the maximum length of an uplink frame; The upstream calculation and optimization module optimizes the calculation process of the available upstream bandwidth of each home PON, including: Available bandwidth for NS traffic based on the capacity of access network PON and home PON The formula is restricted and expressed as: Among them, UC A represents the upstream capacity of the access network PON, β i represents the bandwidth weight that determines the available bandwidth of each home PON and β i The formula is: in, It is a collection of home PON indexes in a centralized cascade PON; Since EW traffic does not need to be uploaded to the access network PON, the available bandwidth of NS traffic is calculated. After that, the available bandwidth for EW traffic is the remaining bandwidth in the home PON, and the formula is: The T-CONT in the uplink allocation module includes NS T-CONT and EW T-CONT, and each of the NS T-CONT and the EW T-CONT includes four types, and the four types correspond to four different priorities; The uplink allocation module allocates the calculated available uplink bandwidth of each home PON to the T-CONT of each home PON, including: For the upstream bandwidth, TCONT bytes TB are used as the service parameters for each type of T-CONT. TB represents the total available bandwidth of a certain type of T-CONT within a fixed time interval SI. For the jth type of NS T-CONT or EW T-CONT, the TCONT bytes TBi in the i-th home PON ,j The formula is: TB i,j =(FB i -O i )·ω j Among them, O i represents the frame overhead of the NS burst or EW burst sent by the i-th home PON, ω j represents the bandwidth weight of the j-th type of NS T-CONT or EW T-CONT, depending on the priority of the NS T-CONT or EW T-CONT; Based on TB i,j , and then allocate different bandwidths to the NS T-CONT or EW T-CONT of each priority in each home PON; The TB-based i,j , and then allocate different bandwidths to NS T-CONTs or EW T-CONTs of different priorities in each home PON, specifically: allocate bandwidth to each T-CONT multiple times in a polling cycle, the method includes: For upstream bandwidth, the access network OLT allocates available upstream bandwidth TB to the NS T-CONT and EW T-CONT in each home PON in order of priority. i,j ; The bandwidth of T-CONTs with the same priority will be allocated uniformly, and the available upstream bandwidth TB i,j will be evenly distributed to these T-CONTs; if there is a situation where the bandwidth demand of a T-CONT is still not met, the upstream bandwidth TB after allocation i,j The remaining bandwidth will be evenly distributed again to the T-CONTs whose bandwidth requirements are not met, and the process will go through multiple iterations until the remaining bandwidth is exhausted or the bandwidth requirements of all T-CONTs are met; The downstream calculation and allocation module calculates the available downstream bandwidth of each home PON and optimizes the downstream bandwidth calculation process of each home PON, including: Calculate the available bandwidth of downstream NS frames in each home PON When the access network OLT is set to 1, the access network OLT should reserve an EW transmission window to ensure that the EW burst sent to the home OLT in the previous polling cycle is transmitted in time. The EW burst is the upstream frame containing EW traffic uploaded by the home ONU. The downstream frame bandwidth formula of the i-th home PON is: in, represents the downstream capacity of the ith home PON, DC A It indicates the downstream capacity of the access network PON, T2 indicates the maximum length of a downstream frame, is the set of EW bursts stored in the home OLT buffer, represents the size of the jth EW burst in the i-th home PON, δ i is the bandwidth weight calculated based on the downstream capacity of the ith home PON, and the formula is: The access network OLT calculates the available downstream bandwidth DF for NS traffic in the access network PON. A , the formula is: The access network OLT calculates the available downstream bandwidth for EW traffic of each home PON. The formula is: in, represents the downstream capacity of the ith home PON.

3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the processor implements the steps of the bandwidth allocation method for a cascaded passive optical network as claimed in claim 1.

4. A 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 bandwidth allocation method for a cascaded passive optical network as claimed in claim 1 are implemented.