A bandwidth allocation method and related devices

CN114095809BActive Publication Date: 2026-10-27HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111207693.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-24
Publication Date
2026-10-27
Estimated Expiration
2039-05-24

AI Technical Summary

Technical Problem

[0004]在这样的方案中,由于按预设的带宽上限为该流量承载实体分配带宽,可能造成部分流量承载实体未分配到带宽,以使得资源分配不合理

Benefits of technology

本申请实施例中,允许各个流量承载实体的固定带宽的配置上限值的累计和与该各个流量承载实体的保证带宽的配置上限值的累计和的总和大于该局端设备的PON口的最大带宽值。此时,局端设备可以根据前述流量承载实体的固定带宽的配置上限值、该流量承载实体的保证带宽的配置上限值以及各个流量承载实体的带宽需求值确定该各个流量承载实体实际分配的带宽值。由于,该局端设备在分配带宽时考虑了更多的因素,且可以使每个流量承载实体都被分配到一部分带宽,从而避免了部分流量承载实体未被分配到带宽的情况。因此,可以使资源分配更加合理。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114095809B_ABST
    Figure CN114095809B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a bandwidth allocation method and related equipment, which are used for improving the rationality of resource allocation. The method of the embodiment of the present application comprises the following steps: when the sum of the cumulative sum of the configuration upper limit value of the fixed bandwidth of each traffic bearing entity and the cumulative sum of the configuration upper limit value of the guaranteed bandwidth of each traffic bearing entity is greater than the maximum bandwidth value of the passive optical network (PON) port of the local end device, the local end device determines the bandwidth value actually allocated to each traffic bearing entity according to the bandwidth configuration upper limit of each traffic bearing entity and the bandwidth demand value of each traffic bearing entity, so that each traffic bearing entity is allocated to a part of bandwidth, thereby avoiding the case that some traffic bearing entities are not allocated to bandwidth. Therefore, the resource allocation can be more reasonable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of bandwidth allocation, and more particularly to a bandwidth allocation method and related equipment. Background Technology

[0002] A passive optical network (PON) is a single-fiber bidirectional optical access network that employs a point-to-multiple-point (P2MP) architecture. This PON network system consists of a central office (COP) and one or more user-end devices. In this PON network, the COP needs to allocate bandwidth to the aforementioned one or more user-end devices to manage the uplink bandwidth allocation of the PON system's transmission aggregation layer.

[0003] In existing solutions, the central office equipment receives bandwidth allocation requests from multiple user terminal devices and allocates bandwidth to each traffic bearer entity according to the requests. However, when the cumulative sum of the bandwidth requirements of the traffic bearer entities indicated by the bandwidth allocation requests from the multiple user terminal devices exceeds the maximum bandwidth value of the PON port of the central office equipment, the central office equipment will allocate bandwidth to the aforementioned traffic bearer entities according to a preset bandwidth limit.

[0004] In such a scheme, since bandwidth is allocated to the traffic-bearing entity according to the preset bandwidth limit, some traffic-bearing entities may not be allocated bandwidth, resulting in unreasonable resource allocation. Summary of the Invention

[0005] This application provides a bandwidth allocation method and related equipment to improve the rationality of resource allocation.

[0006] In a first aspect, embodiments of this application provide a bandwidth allocation method, comprising: during a bandwidth allocation cycle, a central office device obtains the bandwidth requirement value of each traffic bearer entity in each user terminal device from each user terminal device, wherein the bandwidth requirement value can reflect the bandwidth requirement of the traffic bearer entity. Then, the central office device can calculate the sum of the cumulative sum of the configuration upper limit values ​​of the fixed bandwidth of each traffic bearer entity and the cumulative sum of the configuration upper limit values ​​of the guaranteed bandwidth of each traffic bearer entity. Furthermore, when the sum of the cumulative sum of the configuration upper limit values ​​of the fixed bandwidth of each traffic bearer entity and the cumulative sum of the configuration upper limit values ​​of the guaranteed bandwidth of each traffic bearer entity is greater than the maximum bandwidth value of the passive optical network (PON) port of the central office device, the central office device determines the actual bandwidth value allocated to each traffic bearer entity based on the configuration upper limit values ​​of the fixed bandwidth of each traffic bearer entity, the configuration upper limit values ​​of the guaranteed bandwidth of each traffic bearer entity, and the bandwidth requirement value of each traffic bearer entity. Then, the central office equipment can encapsulate the actual bandwidth value allocated to each traffic bearer entity into an authorization message and send the authorization message to each user terminal equipment. The authorization message is used to indicate the actual bandwidth value allocated to each traffic bearer entity in each user terminal equipment.

[0007] In this embodiment, since the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity allowed by the central office equipment and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is greater than the maximum bandwidth value of the PON port of the central office equipment, the central office equipment can determine the actual bandwidth allocated to each traffic bearer entity based on the aforementioned upper limit of the fixed bandwidth configuration of the traffic bearer entity, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the bandwidth requirement value of each traffic bearer entity. Because the central office equipment considers more factors when allocating bandwidth and can ensure that each traffic bearer entity is allocated a portion of the bandwidth, it avoids the situation where some traffic bearer entities are not allocated bandwidth. Therefore, resource allocation can be more reasonable.

[0008] According to the first aspect, in a first embodiment of the first aspect of this application, when the bandwidth value actually allocated to the traffic bearer entity includes the fixed bandwidth value and the guaranteed bandwidth value of the traffic bearer entity, the implementation method for the central office equipment to determine the bandwidth value actually allocated to each traffic bearer entity based on the bandwidth configuration limit of each traffic bearer entity and the bandwidth requirement value of each traffic bearer entity includes: the central office equipment first determines the fixed bandwidth value of each traffic bearer entity based on the fixed bandwidth configuration limit value of each traffic bearer entity; then, the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio. Wherein, the remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity.

[0009] This embodiment proposes a specific implementation method for the central office equipment to determine the actual bandwidth allocated to each traffic bearer based on the bandwidth configuration limit and bandwidth requirement of each traffic bearer. Specifically, the central office equipment can first determine a fixed bandwidth value and then determine a guaranteed bandwidth value. When determining the fixed bandwidth value, the central office equipment refers to the fixed bandwidth configuration limit. Furthermore, when determining the guaranteed bandwidth value, the central office equipment refers to the remaining bandwidth of the first PON port and the bandwidth allocation ratio, where the bandwidth allocation ratio is related to the guaranteed bandwidth configuration limit and bandwidth requirement. Therefore, the bandwidth allocation ratio in this embodiment can reflect the bandwidth configuration limit and actual bandwidth requirement of each traffic bearer. Thus, by adopting the bandwidth allocation method in this embodiment, the central office equipment can ensure that each traffic bearer receives a portion of the bandwidth, allowing each traffic bearer to obtain a relatively fair actual bandwidth value, thereby making the bandwidth allocation of the central office equipment more reasonable.

[0010] According to the first embodiment of the first aspect, in the second embodiment of the first aspect of this application, the bandwidth allocation ratio includes a first bandwidth allocation ratio; the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, including: the central office equipment multiplies the remaining bandwidth value of the first PON port of the central office equipment by the first bandwidth allocation ratio to obtain the first weighted bandwidth value of the traffic bearer entity; the central office equipment determines the first weighted bandwidth value of the traffic bearer entity, the configuration upper limit value of the guaranteed bandwidth of the traffic bearer entity, and the traffic bearer entity's guaranteed bandwidth configuration upper limit value. The minimum of the three remaining bandwidth requirements of the traffic bearer entity is the first guaranteed bandwidth value of the traffic bearer entity. The first remaining bandwidth requirement of the traffic bearer entity is the difference between the bandwidth requirement value of the traffic bearer entity and the fixed bandwidth value of the traffic bearer entity. The central office equipment calculates the remaining bandwidth value of the second PON port, which is equal to the difference between the remaining bandwidth value of the first PON port and the sum of the first guaranteed bandwidth values ​​of each traffic bearer entity. When the remaining bandwidth value of the second PON port is equal to zero, the central office equipment determines that the guaranteed bandwidth value of the traffic bearer entity is equal to the first guaranteed bandwidth value.

[0011] This embodiment proposes a specific method for the central office equipment to determine the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port and the bandwidth allocation ratio of the central office equipment. Specifically, the central office equipment can calculate the first weighted bandwidth value, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity, and determine the minimum value among the three as the first guaranteed bandwidth value of the traffic bearer entity. At this time, if the remaining bandwidth value of the second PON port is equal to zero, the central office equipment determines that the guaranteed bandwidth value of the traffic bearer entity is equal to the first guaranteed bandwidth value. Since the central office equipment refers to the first remaining bandwidth requirement value and the first bandwidth allocation ratio of the traffic bearer entity when determining the first weighted bandwidth value, the guaranteed bandwidth value determined by the central office equipment integrates the actual needs of the traffic bearer entity and the upper limit of the bandwidth configuration of the traffic bearer entity, thus making the bandwidth allocation of each traffic bearer entity more fair and reasonable.

[0012] According to the first aspect or the first implementation of the first aspect, in the third implementation of the first aspect of the present application, the first bandwidth allocation ratio is equal to the ratio of the configuration upper limit of the guaranteed bandwidth of the traffic bearer entity to the cumulative sum of the configuration upper limits of the guaranteed bandwidth of each traffic bearer entity.

[0013] In this embodiment, the method for determining the first bandwidth allocation ratio is clarified. This first bandwidth allocation ratio is related to the upper limit of the guaranteed bandwidth configuration for each traffic-bearing entity. Therefore, the first bandwidth allocation ratio can reflect the upper limit of the bandwidth configuration for each traffic-bearing entity.

[0014] According to the second or third implementation of the first aspect, in the fourth implementation of the first aspect of this application, the bandwidth allocation ratio further includes a second bandwidth allocation ratio; the method further includes: when the remaining bandwidth value of the second PON port is greater than zero and a target traffic bearer entity exists, the central office equipment multiplies the remaining bandwidth value of the second PON port by the second bandwidth allocation ratio to obtain a second weighted bandwidth value for the target traffic bearer entity, the target traffic bearer entity being a traffic bearer entity with a second remaining bandwidth requirement value greater than zero, and the second remaining bandwidth requirement value being the sum of the first remaining bandwidth requirement value of the traffic bearer entity and the first guaranteed bandwidth value of the traffic bearer entity. The difference; the central office equipment determines the minimum value among the second weighted bandwidth value of the target traffic bearer entity, the configuration upper limit value of the guaranteed bandwidth of the target traffic bearer entity, and the second remaining bandwidth requirement value of the target traffic bearer entity, as the second guaranteed bandwidth value of the target traffic bearer entity; the central office equipment calculates the remaining bandwidth value of the third PON port, which is equal to the difference between the remaining bandwidth value of the second PON port and the cumulative sum of the second guaranteed bandwidth values ​​of each target traffic bearer entity; when the remaining bandwidth value of the third PON port is equal to zero, the central office equipment determines that the guaranteed bandwidth value of the target traffic bearer entity is equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value.

[0015] In this embodiment, based on the aforementioned embodiments, a further scenario is proposed where the remaining bandwidth value of the second PON port is greater than zero and a target traffic bearer entity exists. In this case, the central office equipment can allocate a second guaranteed bandwidth value to each traffic bearer entity, referring to the aforementioned embodiments, until the bandwidth of the central office equipment's PON port is fully allocated, or until the bandwidth requirement of each traffic bearer entity is met. Using this method, the central office equipment can allocate the first guaranteed bandwidth value, the second guaranteed bandwidth value, etc., to each target traffic bearer entity in small, multiple installments. This allows for a more precise and reasonable allocation of bandwidth to each target traffic bearer entity.

[0016] According to the fourth implementation of the first aspect, in the fifth implementation of the first aspect of the present application, the second bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity to the sum of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity.

[0017] This embodiment clarifies the method for determining the second bandwidth allocation ratio, which is related to the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity. Therefore, the second bandwidth allocation ratio can reflect the upper limit of the bandwidth configuration of the target traffic bearer entity. Since the target traffic bearer entity is a traffic bearer entity with a second remaining bandwidth requirement value greater than zero, the second bandwidth allocation ratio may differ from the aforementioned first bandwidth allocation ratio.

[0018] According to the first embodiment of the first aspect, in the sixth embodiment of the first aspect of this application, the bandwidth allocation ratio includes a third bandwidth allocation ratio; the bandwidth value actually allocated to the traffic bearer includes the fixed bandwidth value of the traffic bearer and the guaranteed bandwidth value of the traffic bearer; the central office equipment determines the guaranteed bandwidth value of each traffic bearer based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, including: the central office equipment multiplies the remaining bandwidth value of the first PON port of the central office equipment by the third bandwidth allocation ratio to obtain the guaranteed bandwidth value of the traffic bearer.

[0019] This embodiment proposes a simpler implementation method compared to the aforementioned embodiments. The central office equipment directly multiplies the remaining bandwidth value of the first PON port by the third bandwidth allocation ratio of the traffic bearer entity to obtain the guaranteed bandwidth value of the traffic bearer entity. In this process, the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity by performing bandwidth allocation only once. Since the third allocation ratio reflects the actual bandwidth requirements of each traffic bearer entity and the upper limit of bandwidth configuration for each traffic bearer entity, this embodiment not only makes the bandwidth allocation more reasonable but also makes the bandwidth allocation process simple and efficient.

[0020] According to the sixth implementation of the first aspect, in the seventh implementation of the first aspect of the present application, the third bandwidth allocation ratio is equal to the ratio of the scaling factor of the traffic bearer entity to the sum of the scaling factors of each traffic bearer entity. The scaling factor of the traffic bearer entity is the smaller value between the first remaining bandwidth requirement value of the traffic bearer entity and the configuration upper limit value of the guaranteed bandwidth of the traffic bearer entity. The first remaining bandwidth requirement value of the traffic bearer entity is the difference between the bandwidth requirement value of the traffic bearer entity and the fixed bandwidth value of the traffic bearer entity.

[0021] This embodiment clarifies the method for determining the third bandwidth allocation ratio. Specifically, the third bandwidth allocation ratio can be determined based on a ratio factor, which is the smaller of the first remaining bandwidth requirement of the traffic-bearing entity and the upper limit of the guaranteed bandwidth configuration of the traffic-bearing entity. Therefore, the third allocation ratio can reflect the actual bandwidth requirements of each traffic-bearing entity and the upper limit of the bandwidth configuration for each traffic-bearing entity. Thus, this embodiment enables a more reasonable bandwidth allocation.

[0022] According to any one of the first to seventh embodiments of the first aspect, in the eighth embodiment of the first aspect of this application, the bandwidth value actually allocated to the traffic bearer entity also includes the non-guaranteed bandwidth value or the best-effort bandwidth value of the traffic bearer entity; after the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, the method further includes: when the difference between the remaining bandwidth value of the first PON port of the central office equipment and the cumulative sum of the guaranteed bandwidth values ​​of each traffic bearer entity is greater than zero, the central office equipment allocates the non-guaranteed bandwidth value or the best-effort bandwidth value to each traffic bearer entity.

[0023] In this embodiment, it is proposed that after the central office equipment has allocated fixed and guaranteed bandwidth values ​​to each traffic bearer entity, if there is still bandwidth available on the PON port of the central office equipment, the central office equipment can further allocate bandwidth to each traffic bearer entity without guaranteeing bandwidth values ​​and with the maximum possible bandwidth. Therefore, the central office equipment can make full use of the remaining bandwidth of the PON port, so that each traffic bearer entity can be allocated more bandwidth.

[0024] According to any one of the first, first to eighth embodiments of the first aspect, in the ninth embodiment of the first aspect of this application, before the central office equipment obtains the bandwidth requirement information of each traffic bearer entity in each user terminal equipment, the method further includes: the central office equipment setting a bandwidth configuration upper limit for each traffic bearer entity in each user terminal equipment.

[0025] In this embodiment, the bandwidth configuration limit for each traffic bearer entity is set by the central office equipment before the bandwidth allocation cycle. Therefore, the central office equipment can know the fixed bandwidth configuration limit and the guaranteed bandwidth configuration limit for each traffic bearer entity.

[0026] According to any one of the first, first to ninth embodiments of the first aspect, in the tenth embodiment of the first aspect of this application, the central office equipment obtains the bandwidth requirement value of each traffic bearer entity in each user terminal equipment from each user terminal equipment, including: the central office equipment receiving a bandwidth allocation request sent by each user terminal equipment, the bandwidth allocation request including the bandwidth requirement value of each traffic bearer entity in each user terminal equipment.

[0027] In this embodiment, the central office equipment obtains the bandwidth requirement values ​​of each traffic bearer entity by accepting bandwidth allocation requests. In this embodiment, the central office equipment can directly obtain the bandwidth requirement values ​​of each traffic bearer entity, allowing it to determine the actual bandwidth allocated to each traffic bearer entity by referring to these values.

[0028] According to any one of the first, first to ninth embodiments of the first aspect, in the eleventh embodiment of the first aspect of this application, the central office equipment obtains the bandwidth requirement value of each traffic bearer entity in each user terminal equipment from each user terminal equipment, including: the central office equipment monitoring the actual traffic information of each traffic bearer entity in each user terminal equipment within a preset time range; and the central office equipment determining the bandwidth requirement value of each traffic bearer entity based on the actual traffic information.

[0029] This embodiment proposes an alternative method for determining the bandwidth requirements of each traffic bearer entity. The central office equipment can determine the bandwidth requirements of each traffic bearer entity through traffic monitoring. Therefore, the flexibility of the central office equipment in determining the bandwidth requirements of each traffic bearer entity can be improved.

[0030] According to any one of the first, first to eleventh embodiments of the first aspect, in the twelfth embodiment of the first aspect of this application, the fixed bandwidth value is zero or greater than zero.

[0031] In this embodiment, it is also proposed that the fixed bandwidth value can be zero. In this case, it is equivalent to some traffic-bearing entities not participating in the allocation of fixed bandwidth, but directly participating in the allocation of guaranteed bandwidth.

[0032] Secondly, embodiments of this application provide a bandwidth allocation device, comprising: a transceiver module, configured to obtain bandwidth requirement values ​​of each traffic bearer entity in each user terminal device from each user terminal device; a processing module, configured to determine the actual allocated bandwidth value of each traffic bearer entity based on the bandwidth configuration upper limit of each traffic bearer entity and the bandwidth requirement value of each traffic bearer entity when the sum of the cumulative sum of the configuration upper limit of the fixed bandwidth of each traffic bearer entity and the cumulative sum of the configuration upper limit of the guaranteed bandwidth of each traffic bearer entity is greater than the maximum bandwidth value of the passive optical network PON port of the central office device, wherein the bandwidth configuration upper limit includes the configuration upper limit of the fixed bandwidth and the configuration upper limit of the guaranteed bandwidth; the transceiver module is further configured to send an authorization message to each user terminal device, the authorization message being used to indicate the actual allocated bandwidth value of each traffic bearer entity in each user terminal device.

[0033] In this embodiment, since the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is greater than the maximum bandwidth value of the PON port of the bandwidth allocation device, the bandwidth allocation device can determine the actual bandwidth allocated to each traffic bearer entity based on the aforementioned upper limit of the fixed bandwidth configuration of the traffic bearer entity, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the bandwidth requirement value of each traffic bearer entity. Because the bandwidth allocation device considers more factors when allocating bandwidth and can ensure that each traffic bearer entity is allocated a portion of the bandwidth, it avoids the situation where some traffic bearer entities are not allocated bandwidth. Therefore, resource allocation can be more reasonable.

[0034] According to the second aspect, in the first embodiment of the second aspect of this application, the bandwidth value actually allocated to the traffic bearer entity includes the fixed bandwidth value of the traffic bearer entity and the guaranteed bandwidth value of the traffic bearer entity; the processing module is specifically used to: determine the fixed bandwidth value of each traffic bearer entity according to the configuration upper limit value of the fixed bandwidth of each traffic bearer entity; determine the guaranteed bandwidth value of each traffic bearer entity according to the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, wherein the remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity.

[0035] This embodiment proposes a specific implementation method for a bandwidth allocation device to determine the actual bandwidth allocated to each traffic bearer based on the bandwidth configuration limit and the bandwidth requirement of each traffic bearer. Specifically, the bandwidth allocation device can first determine a fixed bandwidth value and then determine a guaranteed bandwidth value. When determining the fixed bandwidth value, the bandwidth allocation device references the fixed bandwidth configuration limit. Furthermore, when determining the guaranteed bandwidth value, the bandwidth allocation device references the remaining bandwidth of the first PON port and the bandwidth allocation ratio, where the bandwidth allocation ratio is related to the guaranteed bandwidth configuration limit and the bandwidth requirement. Therefore, the bandwidth allocation ratio in this embodiment can reflect the bandwidth configuration limit and the actual bandwidth requirement of each traffic bearer. Thus, by adopting the bandwidth allocation method in this embodiment, the bandwidth allocation device can ensure that each traffic bearer receives a portion of the bandwidth, allowing each traffic bearer to obtain the actual allocated bandwidth value relatively fairly, thereby making the bandwidth allocation of the bandwidth allocation device more reasonable.

[0036] According to the first embodiment of the second aspect, in the second embodiment of the second aspect of this application, the bandwidth allocation ratio includes a first bandwidth allocation ratio; the processing module is specifically used to: multiply the remaining bandwidth value of the first PON port of the central office equipment by the first bandwidth allocation ratio to obtain the first weighted bandwidth value of the traffic bearer entity; determine the minimum value among the first weighted bandwidth value of the traffic bearer entity, the configuration upper limit value of the guaranteed bandwidth of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity as the first guaranteed bandwidth value of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity is the difference between the bandwidth requirement value of the traffic bearer entity and the fixed bandwidth value of the traffic bearer entity; calculate the remaining bandwidth value of the second PON port, which is equal to the difference between the remaining bandwidth value of the first PON port and the cumulative sum of the first guaranteed bandwidth values ​​of each traffic bearer entity; when the remaining bandwidth value of the second PON port is equal to zero, determine that the guaranteed bandwidth value of the traffic bearer entity is equal to the first guaranteed bandwidth value.

[0037] This embodiment proposes a specific method for the bandwidth allocation device to determine the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port and the bandwidth allocation ratio. Specifically, the bandwidth allocation device can calculate the first weighted bandwidth value, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity, and determine the minimum value among the three as the first guaranteed bandwidth value of the traffic bearer entity. If the remaining bandwidth value of the second PON port is zero, the bandwidth allocation device determines that the guaranteed bandwidth value of the traffic bearer entity is equal to the first guaranteed bandwidth value. Since the bandwidth allocation device considers the first remaining bandwidth requirement value and the first bandwidth allocation ratio of the traffic bearer entity when determining the first weighted bandwidth value, the guaranteed bandwidth value determined by the bandwidth allocation device integrates the actual needs of the traffic bearer entity and the upper limit of the bandwidth configuration of the traffic bearer entity, thus making the bandwidth allocation of each traffic bearer entity more fair and reasonable.

[0038] According to the second aspect or the first implementation of the second aspect, in the third implementation of the second aspect of this application, the first bandwidth allocation ratio is equal to the ratio of the configuration upper limit of the guaranteed bandwidth of the traffic bearer entity to the cumulative sum of the configuration upper limits of the guaranteed bandwidth of each traffic bearer entity.

[0039] In this embodiment, the method for determining the first bandwidth allocation ratio is clarified. This first bandwidth allocation ratio is related to the upper limit of the guaranteed bandwidth configuration for each traffic-bearing entity. Therefore, the first bandwidth allocation ratio can reflect the upper limit of the bandwidth configuration for each traffic-bearing entity.

[0040] According to the second or third implementation of the second aspect, in the fourth implementation of the second aspect of this application, the bandwidth allocation ratio further includes a second bandwidth allocation ratio; the processing module is further configured to: when the remaining bandwidth value of the second PON port is greater than zero and a target traffic bearer entity exists, multiply the remaining bandwidth value of the second PON port by the second bandwidth allocation ratio to obtain a second weighted bandwidth value for the target traffic bearer entity, wherein the target traffic bearer entity is a traffic bearer entity whose second remaining bandwidth requirement value is greater than zero, and the second remaining bandwidth requirement value is the sum of the first remaining bandwidth requirement value of the traffic bearer entity and the first weighted bandwidth requirement value of the traffic bearer entity. The difference in guaranteed bandwidth values ​​is determined; the minimum value among the second weighted bandwidth value of the target traffic bearer entity, the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity, and the second remaining bandwidth requirement value of the target traffic bearer entity is determined as the second guaranteed bandwidth value of the target traffic bearer entity; the remaining bandwidth value of the third PON port is calculated, which is equal to the difference between the remaining bandwidth value of the second PON port and the cumulative sum of the second guaranteed bandwidth values ​​of each target traffic bearer entity; when the remaining bandwidth value of the third PON port is equal to zero, the guaranteed bandwidth value of the target traffic bearer entity is determined to be equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value.

[0041] In this embodiment, based on the aforementioned embodiments, a further scenario is proposed where the remaining bandwidth value of the second PON port is greater than zero and a target traffic bearer entity exists. In this case, the bandwidth allocation device can allocate a second guaranteed bandwidth value to each traffic bearer entity, referring to the aforementioned embodiments, until the bandwidth of the PON port is fully allocated, or until the bandwidth requirement of each traffic bearer entity is met. Using this method, the bandwidth allocation device can allocate the first guaranteed bandwidth value, the second guaranteed bandwidth value, etc., to each target traffic bearer entity in small, multiple installments. This allows for a more accurate and reasonable allocation of bandwidth to each target traffic bearer entity.

[0042] According to the fourth implementation of the second aspect, in the fifth implementation of the second aspect of the present application, the second bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity to the sum of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity.

[0043] This embodiment clarifies the method for determining the second bandwidth allocation ratio, which is related to the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity. Therefore, the second bandwidth allocation ratio can reflect the upper limit of the bandwidth configuration of the target traffic bearer entity. Since the target traffic bearer entity is a traffic bearer entity with a second remaining bandwidth requirement value greater than zero, the second bandwidth allocation ratio may differ from the aforementioned first bandwidth allocation ratio.

[0044] According to the first embodiment of the second aspect, in the sixth embodiment of the second aspect of this application, the bandwidth allocation ratio includes a third bandwidth allocation ratio; the bandwidth value actually allocated to the traffic bearer entity includes the fixed bandwidth value of the traffic bearer entity and the guaranteed bandwidth value of the traffic bearer entity; the processing module is specifically used to multiply the remaining bandwidth value of the first PON port of the central office equipment by the third bandwidth allocation ratio to obtain the guaranteed bandwidth value of the traffic bearer entity.

[0045] This embodiment proposes a simpler implementation method compared to the aforementioned embodiments. The bandwidth allocation device directly multiplies the remaining bandwidth value of the first PON port by the third bandwidth allocation ratio of the traffic bearer entity to obtain the guaranteed bandwidth value of that traffic bearer entity. In this process, the bandwidth allocation device determines the guaranteed bandwidth value of each traffic bearer entity through only one bandwidth allocation operation. Since the third allocation ratio reflects the actual bandwidth requirements of each traffic bearer entity and its bandwidth configuration limit, this embodiment achieves both reasonable bandwidth allocation and a simple and efficient bandwidth allocation process.

[0046] According to the sixth embodiment of the second aspect, in the seventh embodiment of the second aspect of this application, the third bandwidth allocation ratio is equal to the ratio of the scaling factor of the traffic bearer entity to the sum of the scaling factors of each traffic bearer entity. The scaling factor of the traffic bearer entity is the smaller value between the first remaining bandwidth requirement value of the traffic bearer entity and the configuration upper limit value of the guaranteed bandwidth of the traffic bearer entity. The first remaining bandwidth requirement value of the traffic bearer entity is the difference between the bandwidth requirement value of the traffic bearer entity and the fixed bandwidth value of the traffic bearer entity.

[0047] This embodiment clarifies the method for determining the third bandwidth allocation ratio. Specifically, the third bandwidth allocation ratio can be determined based on a ratio factor, which is the smaller of the first remaining bandwidth requirement of the traffic-bearing entity and the upper limit of the guaranteed bandwidth configuration of the traffic-bearing entity. Therefore, the third allocation ratio can reflect the actual bandwidth requirements of each traffic-bearing entity and the upper limit of the bandwidth configuration for each traffic-bearing entity. Thus, this embodiment enables a more reasonable bandwidth allocation.

[0048] According to any one of the first to seventh embodiments of the second aspect, in the eighth embodiment of the second aspect of this application, the bandwidth value actually allocated to the traffic bearer entity also includes the non-guaranteed bandwidth value or the best-effort bandwidth value of the traffic bearer entity; the processing module is further configured to allocate the non-guaranteed bandwidth value or the best-effort bandwidth value to each traffic bearer entity when the difference between the remaining bandwidth value of the first PON port of the central office equipment and the cumulative sum of the guaranteed bandwidth values ​​of each traffic bearer entity is greater than zero.

[0049] In this embodiment, it is proposed that after the bandwidth allocation device has allocated fixed and guaranteed bandwidth values ​​to each traffic bearer entity, if there is still bandwidth available on the PON port of the bandwidth allocation device, the bandwidth allocation device can further allocate bandwidth to each traffic bearer entity without guaranteeing bandwidth values ​​and with the maximum possible bandwidth value. Therefore, the bandwidth allocation device can make fuller use of the remaining bandwidth of the PON port, so that each traffic bearer entity can be allocated more bandwidth.

[0050] According to any one of the second aspect, the first to the eighth embodiments of the second aspect, in the ninth embodiment of the second aspect of this application, the processing module is further configured to set a bandwidth configuration upper limit for each traffic bearer entity in each user terminal device.

[0051] In this embodiment, the bandwidth configuration limit for each traffic bearer entity is set by the bandwidth allocation device before the bandwidth allocation cycle. Therefore, the bandwidth allocation device can know the fixed bandwidth configuration limit and the guaranteed bandwidth configuration limit for each traffic bearer entity.

[0052] According to any one of the second aspect, the first to the ninth embodiments of the second aspect, in the tenth embodiment of the second aspect of this application, the transceiver module is specifically used to receive bandwidth allocation requests sent by each user terminal device, wherein the bandwidth allocation request includes the bandwidth requirement value of each traffic bearer entity in each user terminal device.

[0053] In this embodiment, the bandwidth allocation device obtains the bandwidth requirement values ​​of each traffic bearer entity by accepting bandwidth allocation requests. In this embodiment, the bandwidth allocation device can directly obtain the bandwidth requirement values ​​of each traffic bearer entity, allowing it to determine the actual bandwidth allocated to each traffic bearer entity by referring to these values.

[0054] According to any one of the second aspect, the first to the ninth embodiments of the second aspect, in the eleventh embodiment of the second aspect of this application, the bandwidth requirement information of the traffic bearer entity includes the actual traffic information of the traffic bearer entity; the transceiver module is specifically used to: monitor the actual traffic information of each traffic bearer entity in each user terminal device within a preset time range; and determine the bandwidth requirement value of each traffic bearer entity based on the actual traffic information.

[0055] This embodiment proposes an alternative method for determining the bandwidth requirements of each traffic-bearing entity. The bandwidth allocation device can determine the bandwidth requirements of each traffic-bearing entity through traffic monitoring. Therefore, the flexibility of the bandwidth allocation device in determining the bandwidth requirements of each traffic-bearing entity can be improved.

[0056] According to any one of the first to eleventh embodiments of the second aspect, in the twelfth embodiment of the second aspect of this application, the fixed bandwidth value is zero or greater than zero.

[0057] In this embodiment, it is also proposed that the fixed bandwidth value can be zero. In this case, it is equivalent to some traffic-bearing entities not participating in the allocation of fixed bandwidth, but directly participating in the allocation of guaranteed bandwidth.

[0058] Thirdly, embodiments of this application provide a bandwidth allocation device, including: the bandwidth allocation device is a central office device or one or a group of chips in the central office device, the bandwidth allocation device includes a processor, the processor being used to perform the methods described in the first aspect and any of the embodiments of the first aspect.

[0059] According to a third aspect, in a first embodiment of the third aspect of this application, the bandwidth allocation device further includes a memory for storing program instructions or data, such that the processor invokes the program instructions or data in the memory to execute the method described in the foregoing first aspect and any embodiment of the first aspect.

[0060] According to the third aspect or the first embodiment of the third aspect, in the second embodiment of the third aspect of this application, when the bandwidth allocation device is one or a group of chips in the central office equipment, the bandwidth allocation device further includes a chip interface for collecting the actual traffic of the user terminal equipment or the status report of the user terminal equipment.

[0061] Fourthly, this application provides a chip system including a processor for supporting a bandwidth allocation device in implementing the functions involved in the first aspect and any embodiment thereof, such as transmitting or processing data and / or information involved in the above methods. In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the bandwidth allocation communication device. The chip system may include a chip or other discrete devices.

[0062] Fifthly, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods described in the first aspect and any of the embodiments described in the first aspect.

[0063] In a sixth aspect, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect and any of the embodiments thereof.

[0064] As can be seen from the above technical solutions, the embodiments of this application have the following advantages: In this embodiment, the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is allowed to exceed the maximum bandwidth value of the PON port of the central office equipment. In this case, the central office equipment can determine the actual bandwidth allocated to each traffic bearer entity based on the aforementioned upper limit of the fixed bandwidth configuration, the upper limit of the guaranteed bandwidth configuration, and the bandwidth requirement of each traffic bearer entity. Because the central office equipment considers more factors when allocating bandwidth and can ensure that each traffic bearer entity is allocated a portion of the bandwidth, it avoids the situation where some traffic bearer entities are not allocated bandwidth. Therefore, resource allocation can be more reasonable. Attached Figure Description

[0065] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application.

[0066] Figure 1 This is a schematic diagram of a network architecture for the bandwidth allocation method in an embodiment of this application; Figure 2 This is a flowchart of a bandwidth allocation method in an embodiment of this application; Figure 3 This is another flowchart of the bandwidth allocation method in the embodiments of this application; Figure 4This is another flowchart of the bandwidth allocation method in the embodiments of this application; Figure 5 This is another flowchart of the bandwidth allocation method in the embodiments of this application; Figure 6 This is another flowchart of the bandwidth allocation method in the embodiments of this application; Figure 7 This is a schematic diagram of one embodiment of the bandwidth allocation device in this application. Figure 8 This is a schematic diagram of another embodiment of the bandwidth allocation device in this application. Detailed Implementation

[0067] This application provides a bandwidth allocation method and related equipment to improve the rationality of resource allocation.

[0068] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0069] The following describes some terms used in the embodiments of this application: Bandwidth allocation refers to the uplink transmission opportunities assigned by the central office equipment to the traffic-bearing entities in the user terminal equipment. These transmission opportunities are located within a specific uplink time period.

[0070] Dynamically allocated bandwidth (DBA) is a mechanism that can dynamically allocate uplink bandwidth within microsecond or millisecond time intervals. It refers to the process by which the central office equipment allocates uplink PON bandwidth among multiple traffic bearer entities within the user terminal equipment based on dynamic status indications of the user terminal equipment or configured traffic contracts.

[0071] Fixed bandwidth (FB) refers to the bandwidth reserved for a specific traffic bearer entity in the user terminal equipment. Generally, even if the traffic bearer entity has no upstream traffic, the central office equipment still needs to allocate fixed bandwidth to it.

[0072] Assured bandwidth (AB) refers to the bandwidth guaranteed for user-end devices, authorized by the central office equipment based on the user-end device's report information. When the actual service traffic of the user-end device does not reach the guaranteed bandwidth, the central office equipment's DBA mechanism can allocate the remaining bandwidth of the user-end device to other user-end devices or other traffic-bearing entities.

[0073] Non-assured bandwidth (NAB): also known as non-guaranteed bandwidth, refers to the bandwidth allocated by the central office equipment to each traffic bearer entity based on the sum of the fixed bandwidth value and the guaranteed bandwidth value after the central office equipment has allocated fixed bandwidth and guaranteed bandwidth to the traffic bearer entities in the user terminal equipment, and the PON port of the central office equipment still has remaining bandwidth.

[0074] Best effort bandwidth (BEB): This refers to the bandwidth allocated by the central office equipment to each traffic bearer entity after allocating fixed bandwidth, guaranteed bandwidth, and non-guaranteed bandwidth, and when the PON port of the central office equipment still has remaining bandwidth.

[0075] The system architecture and application scenarios to which the embodiments of this application are adapted are described below: The bandwidth allocation method proposed in this application is mainly applied to point-to-multipoint single-fiber bidirectional PON network systems. Specifically, the PON system can be a gigabit capability passive optical network (GPON) system, an Ethernet passive optical network (EPON) system, or a hybrid system of GPON and EPON systems; no specific limitation is made here. The PON network system includes central office equipment and user-end equipment. The central office equipment can be an optical line terminal (OLT), and the user-end equipment can be an optical network unit (ONU) or an optical network terminal (ONT). Specifically, as follows... Figure 1As shown, in this PON network system, the optical line terminal (OLT) 101 is connected to the network side via a network-side interface, and the optical network unit (ONU) 102 is connected to the user side via a user-side interface. Furthermore, the PON network system also includes an optical distribution network (ODN) 103, which can be connected to both the OLT 101 and the ONU 102 via dedicated PON interfaces, thereby enabling data transmission between the OLT 101 and multiple ONUs 102.

[0076] It should be understood that the optical network unit ONU102 in the aforementioned PON network system can be replaced by an optical network terminal ONT, and no specific limitation is made here. When the user terminal device is an optical network terminal ONT, the optical network terminal ONT is directly the terminal device in the user's home; when the user terminal device is an optical network unit ONU102, there are other networks, such as Ethernet, between the optical network unit ONU102 and the terminal device in the user's home. In this embodiment and subsequent embodiments, only the user terminal device is used as an example for description.

[0077] Furthermore, in this embodiment, the bandwidth allocation method can be applied to scenarios where the central office equipment allocates bandwidth to the transmission container (T-CONT) entities in the user terminal equipment through the DBA mechanism. Specifically, when the central office equipment learns the bandwidth requirements of each T-CONT entity in the user terminal equipment, it can use the bandwidth allocation method proposed in this embodiment to allocate bandwidth to each T-CONT entity in the user terminal equipment. The T-CONT entity is located in the aforementioned user terminal equipment. Generally, a user terminal equipment can contain one or more T-CONT entities, also known as transmission containers or service containers, which are the uplink traffic scheduling units of the DBA mechanism. Detailed explanations will follow later and will not be repeated here.

[0078] The central office equipment in this embodiment can be the aforementioned optical line terminal (OLT) or a chip within the OLT; specific details are not limited here. Whether as a device or a chip, the central office equipment can be manufactured, sold, or used as an independent product. In this embodiment and subsequent embodiments, only the central office equipment is described as an example.

[0079] To facilitate a better understanding of the solution proposed in the embodiments of this application, the main process of the bandwidth allocation method in this embodiment is described below, such as... Figure 2 As shown, the steps performed by the central office equipment during a bandwidth allocation cycle include: 201. The central office equipment obtains the bandwidth requirement value of each traffic-bearing entity in each user terminal equipment from each user terminal equipment.

[0080] In this embodiment, the central office equipment is connected to one or more user terminal equipments, and each user terminal equipment includes one or more traffic bearer entities. Generally, before allocating bandwidth to each traffic bearer entity in the user terminal equipment, the central office equipment needs to know the bandwidth requirement value of each traffic bearer entity in the aforementioned user terminal equipment. This bandwidth requirement value indicates the bandwidth demand of the traffic bearer entity, so that the central office equipment can allocate bandwidth to the aforementioned traffic bearer entities more fairly and reasonably. In this embodiment, the central office equipment can obtain the bandwidth requirement values ​​of the aforementioned traffic bearer entities through various implementation methods, as follows: First, the local exchange equipment obtains the bandwidth requirement value by receiving a bandwidth allocation request.

[0081] In this implementation, the central office equipment can receive bandwidth allocation requests sent by various user terminal equipment. These requests include the bandwidth requirements of each traffic bearer entity within each user terminal equipment. In some feasible implementations, the bandwidth allocation request includes a status reporting (SR) report, which indicates the bandwidth requirements of each traffic bearer entity. The status report may also indicate identification information for each traffic bearer entity, such as an allocation identifier (Alloc-ID), which is not specifically limited here. This identification information is used to map traffic bearer entities to their bandwidth requirements, enabling the central office equipment to distinguish the bandwidth requirements of different traffic bearer entities.

[0082] Second, the local exchange equipment obtains the bandwidth requirement value by detecting actual traffic information.

[0083] In this implementation, the central office equipment can monitor the actual traffic information of each traffic bearer entity in each user terminal device within a preset time range, and then determine the bandwidth requirement value of each traffic bearer entity based on the actual traffic information. That is, the central office equipment can obtain the bandwidth requirement value of each traffic bearer entity through traffic monitoring (TM), i.e., the central office equipment indirectly obtains the uplink bandwidth requirement value of each traffic bearer entity in the user terminal device by monitoring the received uplink traffic (idle GEM frames), without requiring the user terminal device to report information to the central office equipment. Furthermore, it should be noted that the preset time range in this implementation is generally set by the central office equipment, specifically one or several bandwidth allocation cycles prior to the current bandwidth allocation cycle. Of course, the preset time range can be adjusted according to the actual application scenario, and is not limited here. When the preset time range is several bandwidth allocation cycles prior to the current bandwidth allocation cycle, the actual traffic information within the preset time range is the sum of the uplink traffic in the aforementioned bandwidth allocation cycles. Then, the central office equipment takes the average of the sum of the uplink traffic in the aforementioned bandwidth allocation cycles to determine the bandwidth requirement value of each traffic bearer entity.

[0084] In this embodiment, after the central office equipment learns the bandwidth requirements of each traffic bearer entity in the aforementioned user terminal equipment, the central office equipment will analyze the bandwidth configuration upper limit of each traffic bearer entity. This bandwidth configuration upper limit is set by the central office equipment before the bandwidth allocation cycle, and includes a fixed bandwidth configuration upper limit and a guaranteed bandwidth configuration upper limit. Furthermore, the fixed bandwidth configuration upper limit may differ for different traffic bearer entities, and the guaranteed bandwidth configuration upper limit may also differ for different traffic bearer entities; specific details are not limited here.

[0085] At this point, the central office equipment can calculate the cumulative sum of the fixed bandwidth configuration limits for each traffic bearer entity that needs to be allocated bandwidth, as well as the cumulative sum of the guaranteed bandwidth configuration limits for each traffic bearer entity. When the sum of the cumulative fixed bandwidth configuration limits for each traffic bearer entity and the cumulative guaranteed bandwidth configuration limits for each traffic bearer entity exceeds the maximum bandwidth value of the PON port of the central office equipment, the central office equipment will execute step 202.

[0086] 202. The central office equipment determines the actual bandwidth value allocated to each traffic bearer based on the bandwidth configuration limit of each traffic bearer and the bandwidth requirement value of each traffic bearer.

[0087] In this embodiment, when the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the sum of the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity are greater than the maximum bandwidth value of the PON port of the central office device, the central office device determines the actual bandwidth value allocated to each traffic bearer entity based on the bandwidth configuration upper limit of each traffic bearer entity and the bandwidth requirement value of each traffic bearer entity.

[0088] In this context, a PON port, also known as a dedicated PON interface, refers to the interface between the central office equipment and the optical distribution network. This central office equipment has one or more PON ports, and each PON port has a certain upper limit on the bandwidth it can be allocated; in this embodiment and subsequent embodiments, this is referred to as the maximum bandwidth value of the PON port. Generally, the maximum bandwidth values ​​of multiple PON ports on a single central office equipment are the same. However, in systems that combine GPON and EPON systems, the maximum bandwidth values ​​of different PON ports may differ; this is not specifically limited here.

[0089] In this embodiment, the bandwidth value actually allocated to each traffic bearer entity determined by the central office equipment includes the fixed bandwidth value and the guaranteed bandwidth value of the traffic bearer entity. Specifically, the central office equipment can first determine the fixed bandwidth value of each traffic bearer entity based on the configuration upper limit of the fixed bandwidth of each traffic bearer entity. Then, the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio. The remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity.

[0090] The bandwidth allocation ratio is a decimal greater than 0 and less than 1. In different application scenarios, the central office equipment can use different calculation methods to determine this bandwidth allocation ratio. These will be discussed in detail later according to different application scenarios; specific details will not be elaborated here.

[0091] Optionally, the fixed bandwidth value can be zero or greater than zero. When the fixed bandwidth value is zero, it is equivalent to the traffic carrying entity not participating in the allocation of fixed bandwidth.

[0092] Optionally, the bandwidth value actually allocated to the traffic bearer entity also includes the non-guaranteed bandwidth or the best-effort bandwidth of the traffic bearer entity. Specifically, when the difference between the remaining bandwidth value of the first PON port of the central office equipment and the sum of the guaranteed bandwidth values ​​of each traffic bearer entity is greater than zero, the central office equipment will also allocate the non-guaranteed bandwidth or the best-effort bandwidth to each traffic bearer entity based on the aforementioned allocation.

[0093] 203. The central office equipment sends an authorization message to each user terminal equipment, which indicates the actual bandwidth value allocated to each traffic bearer entity in each user terminal equipment.

[0094] In this embodiment, after the central office device determines the actual bandwidth value allocated to each traffic bearer entity, the central office device can send an authorization message to the user terminal device. The authorization message includes at least the actual bandwidth value allocated to the traffic bearer entity and the identification information of each traffic bearer entity, so that the user terminal device can determine the actual bandwidth value allocated to each traffic bearer entity in the user terminal device based on the authorization message after receiving the authorization message.

[0095] This embodiment proposes a bandwidth allocation method for each traffic bearer in the user terminal equipment when the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity exceeds the maximum bandwidth value of the PON port of the central office equipment. In this case, the central office equipment can determine the actual bandwidth allocated to each traffic bearer entity based on the aforementioned upper limit of the fixed bandwidth configuration, the upper limit of the guaranteed bandwidth configuration, and the bandwidth requirement of each traffic bearer entity. Because this central office equipment considers more factors when allocating bandwidth and ensures that each traffic bearer entity is allocated a portion of the bandwidth, it avoids situations where some traffic bearer entities are not allocated bandwidth. Therefore, resource allocation can be more reasonable.

[0096] The above briefly introduced the flow of the bandwidth allocation method in the embodiments of this application. The following section provides a further description of this bandwidth allocation method in conjunction with specific application scenarios. Specifically, as follows... Figure 3 As shown, the steps performed by the central office equipment in this bandwidth allocation method include: 301. The central office equipment obtains the bandwidth requirement value of each traffic bearer entity in each user terminal equipment from each user terminal equipment.

[0097] In this embodiment, the central office equipment can obtain the bandwidth requirement value of each traffic bearer entity by accepting bandwidth allocation requests or by detecting actual traffic information. The specifics are similar to step 201 above, and will not be repeated here.

[0098] In this embodiment, after the central office equipment learns the bandwidth requirements of each traffic bearer entity in the aforementioned user terminal equipment, the central office equipment will analyze the bandwidth configuration upper limit of each traffic bearer entity. When the sum of the fixed bandwidth configuration upper limit of each traffic bearer entity and the sum of the guaranteed bandwidth configuration upper limit of each traffic bearer entity is greater than the maximum bandwidth value of the PON port of the central office equipment, the central office equipment will execute step 302.

[0099] 302. The central office equipment determines the fixed bandwidth value of each traffic bearer entity based on the upper limit of the fixed bandwidth configuration of each traffic bearer entity.

[0100] In this embodiment, when the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is greater than the maximum bandwidth value of the passive optical network PON port of the central office equipment, the central office equipment can determine the fixed bandwidth value of each traffic bearer entity based on the upper limit of the fixed bandwidth configuration of each traffic bearer entity. Generally, the bandwidth requirement of a traffic bearer entity is often greater than the upper limit of the fixed bandwidth configuration of that traffic bearer entity. Therefore, the central office equipment can directly allocate fixed bandwidth to the traffic bearer entity based on the upper limit of the fixed bandwidth configuration of that traffic bearer entity, that is, the fixed bandwidth value allocated to the traffic bearer entity is equal to the upper limit of the fixed bandwidth configuration of that traffic bearer entity. However, there is also a situation where, when the traffic bearer entity is of type 1, the traffic bearer entity does not need to participate in the allocation of fixed bandwidth but directly participates in the allocation of guaranteed bandwidth, that is, the fixed bandwidth value allocated to the traffic bearer entity can be regarded as zero.

[0101] In this embodiment, after the central office equipment determines the fixed bandwidth values ​​of all traffic bearer entities in the user terminal equipment, the central office equipment can begin to decide how to allocate the guaranteed bandwidth values ​​of each traffic bearer entity in the user terminal equipment. Specifically, the central office equipment will execute step 303.

[0102] 303. The central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, wherein the bandwidth allocation ratio includes the first bandwidth allocation ratio or the second bandwidth allocation ratio.

[0103] In this embodiment, the remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity. The maximum bandwidth value of the PON port has been described in detail in step 202 above, and will not be repeated here.

[0104] In this embodiment, in some application scenarios, the central office equipment can determine the guaranteed bandwidth value of each traffic bearer entity using only the first bandwidth allocation ratio. For details, please refer to the following text. Figure 4 The relevant descriptions in the corresponding embodiments are provided. In some other application scenarios, the central office equipment needs to use the first bandwidth allocation ratio to determine the first guaranteed bandwidth value of each traffic bearer entity, and then use the second bandwidth allocation ratio to determine the second guaranteed bandwidth value of each traffic bearer entity. Then, the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the first and second guaranteed bandwidth values ​​of each traffic bearer entity. For details, please refer to the following text. Figure 5 The relevant descriptions in the corresponding embodiments.

[0105] 304. The central office equipment sends an authorization message to each user terminal equipment, which indicates the actual bandwidth value allocated to each traffic bearer entity in each user terminal equipment.

[0106] In this embodiment, step 304 is similar to the aforementioned step 203, and will not be described in detail here.

[0107] In this embodiment, the central office equipment can first determine the fixed bandwidth value of each traffic bearer entity, and then determine the guaranteed bandwidth value of each traffic bearer entity according to a first bandwidth allocation ratio or a second bandwidth allocation ratio. Since the first bandwidth allocation ratio and the second bandwidth allocation ratio can fairly reflect the actual bandwidth requirements of each traffic bearer entity, the central office equipment can not only ensure that each traffic bearer entity is allocated bandwidth, but also that each traffic bearer entity is allocated bandwidth according to a certain ratio, thus making resource allocation more reasonable.

[0108] Specifically, in step 303 above, the bandwidth allocation ratio may be determined in different ways depending on the scenario. Specifically, the bandwidth allocation ratio may include a first bandwidth allocation ratio and a second bandwidth allocation ratio. The following section will first describe the case where the bandwidth allocation ratio is the first bandwidth allocation ratio; please refer to [link to relevant documentation] for details. Figure 4 .

[0109] In this embodiment, the process by which the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the first bandwidth allocation ratio can be divided into the following steps: 401. The central office equipment uses the remaining bandwidth value of the first PON port of the central office equipment multiplied by the first bandwidth allocation ratio to obtain the first weighted bandwidth value of the traffic carrying entity.

[0110] The remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the sum of the fixed bandwidth values ​​of each traffic bearer entity.

[0111] Furthermore, the first bandwidth allocation ratio is equal to the ratio of the maximum guaranteed bandwidth configuration of the traffic bearer entity to the sum of the maximum guaranteed bandwidth configurations of all traffic bearer entities. For ease of understanding, let's take an example where the central office equipment manages only three traffic bearer entities. Assume the maximum fixed bandwidth configuration of the first traffic bearer entity is 0.3Gbps, the second is 0.4Gbps, and the third is 0.6Gbps. The central office equipment can then calculate the sum of the maximum guaranteed bandwidth configurations of these three traffic bearer entities as: 0.3 + 0.4 + 0.6 = 1.3Gbps. Therefore, the first bandwidth allocation ratio for the first traffic bearer entity can be further calculated as: 0.3 / 1.3 = 0.2308. Similarly, the first bandwidth allocation ratios for the second and third traffic bearer entities can also be calculated. Further details are omitted here.

[0112] In this embodiment, when the central office equipment determines the remaining bandwidth value of its first PON port and the first bandwidth allocation ratio of a certain traffic bearer entity, the central office equipment can calculate the first weighted bandwidth value of that traffic bearer entity. Since the first bandwidth allocation ratios of different traffic bearer entities are different, the calculated first weighted values ​​of different traffic bearer entities are also different.

[0113] 402. The local exchange equipment determines the minimum value among the following three: the first weighted bandwidth value of the traffic bearer entity, the configuration upper limit of the guaranteed bandwidth of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity, as the first guaranteed bandwidth value of the traffic bearer entity.

[0114] The first remaining bandwidth requirement of the traffic bearer entity is the difference between its bandwidth requirement and its fixed bandwidth. The fixed bandwidth value of the traffic bearer entity can be found in step 302 above, and will not be repeated here. This first remaining bandwidth requirement represents the bandwidth required by the traffic bearer entity in addition to the aforementioned fixed bandwidth value. The aforementioned first PON port remaining bandwidth value is used to allocate bandwidth according to the first allocation ratio to satisfy the bandwidth requirements of each traffic bearer entity as much as possible.

[0115] It should be noted that there is no temporal order between the steps of the central office equipment determining the first weighted bandwidth value of the traffic bearer entity and the steps of the central office equipment determining the first remaining bandwidth requirement value of the traffic bearer entity.

[0116] In this embodiment, the central office equipment determines the minimum value among the following three: the first weighted bandwidth value of the traffic bearer entity, the configuration upper limit of the guaranteed bandwidth of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity. This is the first guaranteed bandwidth value of the traffic bearer entity, which can prevent a traffic bearer entity from abnormally requesting excessive bandwidth, potentially reducing the bandwidth allocated to other traffic bearer entities. It should be noted that the first guaranteed bandwidth value is not necessarily the actual guaranteed bandwidth value allocated to the traffic bearer entity. The central office equipment also needs to determine whether, assuming the remaining bandwidth value of the central office equipment's first PON port is allocated according to the first guaranteed bandwidth value, the remaining bandwidth value of the central office equipment's first PON port can be fully allocated, and whether the bandwidth requirements of each traffic bearer entity can be met. Therefore, the central office equipment will execute step 403.

[0117] 403. The local exchange equipment calculates the remaining bandwidth value of the second PON port.

[0118] Specifically, the remaining bandwidth value of the second PON port is equal to the difference between the remaining bandwidth value of the first PON port and the cumulative sum of the first guaranteed bandwidth values ​​of each traffic bearer entity. Furthermore, when the remaining bandwidth value of the second PON port is zero, the central office equipment executes step 404.

[0119] 404. The local exchange equipment determines that the guaranteed bandwidth value of the traffic-bearing entity is equal to the first guaranteed bandwidth value.

[0120] In this embodiment, since the remaining bandwidth value of the second PON port of the central office equipment is equal to zero, that is, the difference between the remaining bandwidth value of the first PON port of the central office equipment and the sum of the first guaranteed bandwidth values ​​of each traffic bearer entity is equal to zero, it can be determined that when the central office equipment allocates the guaranteed bandwidth value to each traffic bearer entity using the aforementioned first guaranteed bandwidth value, the central office equipment can just allocate the remaining bandwidth value of the first PON port to each traffic bearer entity according to the aforementioned first bandwidth allocation ratio. At this time, if the actual guaranteed bandwidth value allocated to each traffic bearer entity is determined according to the first guaranteed bandwidth value, the PON port of the central office equipment will not have any bandwidth remaining. Therefore, it can avoid the central office equipment PON port having too much remaining bandwidth, resulting in low bandwidth utilization. At the same time, each traffic bearer entity is also allocated the guaranteed bandwidth according to the aforementioned first bandwidth allocation ratio, which can make the bandwidth allocation among the aforementioned traffic bearer entities more equitable.

[0121] To facilitate further understanding, the aforementioned bandwidth allocation method will be explained in detail below with specific numerical values.

[0122] In this embodiment, the central office equipment is described using an OLT (Optical Line Terminal) with only one PON port and a maximum bandwidth of 1.25Gbps. Similarly, the user terminal equipment is described using an ONT (Optical Line Terminal) with only three traffic bearer entities (T-CONTs). Furthermore, it is assumed that the OLT is connected to only one ONT. However, it should be understood that a typical central office equipment OLT contains multiple PON ports, and each PON port is often connected to multiple ONTs, with each ONT typically containing more than three T-CONTs. The examples in this embodiment and subsequent embodiments are merely for ease of calculation when describing the bandwidth allocation method and do not limit the number of PON ports, ONTs, or T-CONTs.

[0123] As shown in Table 1, assuming the OLT receives a bandwidth allocation request from the ONT, this request indicates the bandwidth requirements of three T-CONTs within the ONT. Specifically, T-CONT1 has a bandwidth requirement of 0.5, T-CONT2 has a bandwidth requirement of 0.5, and T-CONT3 has a bandwidth requirement of 1.2. Therefore, the OLT can calculate that the total requested bandwidth requirement of all T-CONTs in the ONT is 2.2 Gbps. Since the bandwidth configuration limit for each T-CONT was set before this bandwidth allocation cycle, the OLT can determine the bandwidth configuration limit for the aforementioned three T-CONTs. As shown in the third row of Table 1, taking the second column of the third row as an example, the bandwidth configuration limit of T-CONT1 is "(0.1+0.3; 0.4)", where the fixed bandwidth configuration limit of T-CONT1 is 0.1Gbps, the guaranteed bandwidth configuration limit of T-CONT1 is 0.3Gbps, and the sum of the fixed bandwidth configuration limit and the guaranteed bandwidth configuration limit of T-CONT1 is 0.4Gbps. Therefore, the fixed bandwidth configuration limit and the guaranteed bandwidth configuration limit of T-CONT2 and T-CONT3 can be determined. Thus, the OLT can calculate the cumulative sum of the fixed bandwidth configuration limits of all T-CONTs, and the cumulative sum of the guaranteed bandwidth configuration limits of all T-CONTs, which is "(0.1+0.2+0.4)+(0.3+0.4+0.6)=2" in Table 1. Since the maximum bandwidth of this PON port is 1.25Gbps, i.e. "2>1.25", the OLT needs to determine the actual bandwidth value allocated to each traffic bearer based on the bandwidth configuration limit of these 3 T-CONTs and the bandwidth requirement of each traffic bearer entity.

[0124] Specifically, the OLT can set a fixed bandwidth value for the T-CONT based on its configured upper limit. Taking the fifth row of Table 1 as an example, the configured upper limit of the fixed bandwidth for T-CONT1 is 0.1Gbps. Therefore, the OLT determines the fixed bandwidth value of T-CONT1 to be 0.1Gbps. Similarly, the OLT can determine the fixed bandwidth value of T-CONT1 to be 0.2Gbps and 0.4Gbps. Then, the OLT can calculate the remaining bandwidth value of the first PON port as: 1.25 - (0.1 + 0.2 + 0.4) = 0.55Gbps. Since the first bandwidth allocation ratio is equal to the ratio of the configured upper limit of the guaranteed bandwidth of the T-CONT to the sum of the configured upper limits of the guaranteed bandwidth of all T-CONTs, the first weighted bandwidth value of each T-CONT can be calculated. For ease of understanding, T-CONT1 will be used as an example. The first weighted bandwidth value of T-CONT1 is: (1.25-0.7) 0.3 / (0.3 + 0.4 + 0.6) = 0.1269 Gbps. It should be understood that the initial bandwidth allocation ratio differs for different T-CONTs, resulting in different initial weighted bandwidth values. Furthermore, the OLT also needs to calculate the initial remaining bandwidth requirement for each T-CONT. Taking T-CONT1 as an example, its initial remaining bandwidth requirement is: 0.5 - 0.1 = 0.4 Gbps. It should be noted that there is no chronological order between the steps of determining the initial weighted bandwidth value of a T-CONT and the steps of determining its initial remaining bandwidth requirement.

[0125] Then, the OLT can calculate the minimum value among the three: the first weighted bandwidth value of the T-CONT, the configuration limit of the guaranteed bandwidth of the T-CONT, and the first remaining bandwidth requirement value of the T-CONT, and determine this minimum value as the first guaranteed bandwidth value of the T-CONT. Taking T-CONT1 as an example again, the first weighted bandwidth value of T-CONT1 is 0.1269Gbps; the configuration limit of the guaranteed bandwidth of T-CONT1 is 0.3Gbps; and the first remaining bandwidth requirement value of T-CONT1 is 0.4Gbps. Therefore, the OLT can determine that the minimum of the aforementioned three values ​​is the first weighted bandwidth value of T-CONT1, which is 0.1269Gbps. Thus, the first guaranteed bandwidth value of T-CONT1 is 0.1269Gbps. Similarly, the OLT can calculate the first guaranteed bandwidth values ​​of T-CONT2 and T-CONT3.

[0126] At this point, the OLT also needs to calculate the remaining bandwidth value of the second PON port to determine whether there is any remaining bandwidth that can be allocated to the PON port if the OLT determines the guaranteed bandwidth value of each T-CONT according to the aforementioned first guaranteed bandwidth value. Since, after calculation, 0.55 - (0.1269 + 0.1692 + 0.2538) = 0, it can be determined that the remaining bandwidth value of the second PON port is zero. Therefore, the guaranteed bandwidth value of T-CONT1 can be determined to be 0.1269 Gbps, 0.1692 Gbps, and 0.2538 Gbps.

[0127] Table 1

[0128] At this point, since the cumulative bandwidth allocated by the OLT to each T-CONT equals the maximum bandwidth of the PON port, the OLT will not allocate bandwidth to the aforementioned T-CONTs in this allocation cycle. Specifically, the actual bandwidth values ​​allocated to each T-CONT in this allocation cycle are shown in Table 2.

[0129] Table 2

[0130] Then, the OLT sends the bandwidth allocation results from Table 2 to the aforementioned ONT in the form of an authorization message, so that the ONT can determine the actual bandwidth value allocated to each T-CONT based on the authorization message after receiving it. For details, please refer to the relevant description in step 203 above.

[0131] This embodiment describes the scenario where the local exchange equipment determines that the minimum of three values ​​for a traffic bearer entity—its first weighted bandwidth value, the upper limit of its guaranteed bandwidth configuration, and its first remaining bandwidth requirement—is the first weighted bandwidth value. In this case, the local exchange equipment can determine the first guaranteed bandwidth value for the traffic bearer entity based on this first weighted bandwidth value. Since this first weighted value is related to the first bandwidth allocation ratio, which fairly reflects the actual bandwidth requirements of each traffic bearer entity, the local exchange equipment can not only ensure that each traffic bearer entity is allocated bandwidth but also that bandwidth is allocated to each traffic bearer entity according to a certain ratio, thus making resource allocation more reasonable.

[0132] Furthermore, in step 303 above, the bandwidth allocation ratio may include both a first bandwidth allocation ratio and a second bandwidth allocation ratio. The following will describe the case where the bandwidth allocation ratio is both a first bandwidth allocation ratio and a second bandwidth ratio; please refer to [link to relevant documentation] for details. Figure 5 .

[0133] In this embodiment, the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment, the first bandwidth allocation ratio, and the second bandwidth allocation ratio. The specific process can be divided into the following steps: 501. The central office equipment uses the remaining bandwidth value of the first PON port of the central office equipment multiplied by the first bandwidth allocation ratio to obtain the first weighted bandwidth value of the traffic carrying entity.

[0134] 502. The local exchange equipment determines the minimum value among the following three: the first weighted bandwidth value of the traffic bearer entity, the configuration upper limit of the guaranteed bandwidth of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity, as the first guaranteed bandwidth value of the traffic bearer entity.

[0135] 503. The local exchange equipment calculates the remaining bandwidth value of the second PON port.

[0136] In this embodiment, steps 501 to 503 are similar to the aforementioned steps 401 to 403, and will not be described in detail here.

[0137] 504. The local equipment calculates the second remaining bandwidth requirement value for each traffic-bearing entity.

[0138] Wherein, the second remaining bandwidth requirement value is the difference between the first remaining bandwidth requirement value and the first guaranteed bandwidth value of the traffic bearer entity. This second remaining bandwidth requirement value can be used to represent the bandwidth value required by the traffic bearer entity in addition to the aforementioned fixed bandwidth value and the aforementioned first guaranteed bandwidth value. For ease of subsequent description, in this embodiment and subsequent embodiments, the traffic bearer entity with a second remaining bandwidth requirement value greater than zero is referred to as the target traffic bearer entity, and this target traffic bearer entity is merely a designation and does not limit the traffic bearer entity itself.

[0139] It should be noted that there is no time order requirement between steps 503 and 504.

[0140] In this embodiment, when the remaining bandwidth value of the second PON port is greater than zero and there is a target traffic bearer entity, the central office device executes step 505.

[0141] 505. The central office equipment uses the remaining bandwidth value of the second PON port multiplied by the second bandwidth allocation ratio to obtain the second weighted bandwidth value of the traffic bearer entity.

[0142] In this embodiment, when the remaining bandwidth value of the second PON port is greater than zero and there is a target traffic bearer entity, it indicates that the PON port of the central office equipment still has available bandwidth, and there are also traffic bearer entities in the user terminal equipment whose bandwidth requirements are not met. Therefore, the central office equipment can further allocate bandwidth to the aforementioned target traffic bearer entities. Specifically, the central office equipment uses the remaining bandwidth value of the second PON port multiplied by the second bandwidth allocation ratio to obtain the second weighted bandwidth value of the traffic bearer entity. The remaining bandwidth value of the second PON port can be found in the relevant description in step 403 above; the second bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity to the sum of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity; the target traffic bearer entity can be found in the relevant description in step 504 above, and will not be repeated here.

[0143] It should be understood that this second weighted bandwidth value is similar to the aforementioned first weighted bandwidth value. However, since the second bandwidth allocation ratio is different for different traffic-bearing entities, the calculated second weighted values ​​for different traffic-bearing entities are also different. Further details will not be elaborated here.

[0144] 506. The local exchange equipment determines the minimum value among the following three: the second weighted bandwidth value of the target traffic bearer entity, the configuration upper limit of the guaranteed bandwidth of the target traffic bearer entity, and the second remaining bandwidth requirement value of the target traffic bearer entity, as the second guaranteed bandwidth value of the traffic bearer entity.

[0145] The second weighted bandwidth value of the target traffic bearer entity can be found in the relevant description of step 505 above, and the second remaining bandwidth requirement value of the target traffic bearer entity can be found in the relevant description of step 504 above; details will not be repeated here. Specifically, step 506 is similar to step 402 above. The central office equipment determines the minimum value among the second weighted bandwidth value of the target traffic bearer entity, the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity, and the second remaining bandwidth requirement value of the traffic bearer entity as the second guaranteed bandwidth value of the traffic bearer entity. This can prevent a traffic bearer entity from abnormally requesting excessive bandwidth, which could lead to a reduction in bandwidth allocated to other traffic bearer entities. Furthermore, using this method to further allocate bandwidth to each target traffic bearer entity can further ensure that the bandwidth of the PON is fully utilized, and can also ensure the fairness of bandwidth allocation by the central office equipment when allocating bandwidth to each target traffic bearer entity in the aforementioned first guaranteed bandwidth allocation and second guaranteed bandwidth allocation.

[0146] It should be noted that the second guaranteed bandwidth value is not necessarily the actual guaranteed bandwidth value allocated to the traffic bearer entity. The central office equipment also needs to determine whether, assuming the remaining bandwidth value of the central office equipment's third PON port is allocated according to the second guaranteed bandwidth value, the remaining bandwidth value of the central office equipment's third PON port can be fully allocated, and whether the bandwidth requirements of each traffic bearer entity can be met. Therefore, the central office equipment will execute step 507.

[0147] 507. The local exchange equipment calculates the remaining bandwidth value of the third PON port.

[0148] The remaining bandwidth value of the third PON port is equal to the difference between the remaining bandwidth value of the second PON port and the sum of the second guaranteed bandwidth values ​​of each traffic bearer entity.

[0149] In this embodiment, when the remaining bandwidth value of the third PON port is equal to zero, the central office device executes step 508. When the remaining bandwidth value of the third PON port is greater than zero, the central office device executes step 509.

[0150] 508. The central office equipment determines that the guaranteed bandwidth value of the traffic carrier entity is equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value.

[0151] In this embodiment, when the remaining bandwidth value of the third PON port is equal to zero, it indicates that the PON port of the central office equipment will not have any bandwidth remaining. At this time, the central office equipment can determine that the guaranteed bandwidth value of the traffic bearer entity is equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value.

[0152] 509. The local equipment is performing other operations.

[0153] In this embodiment, when the remaining bandwidth value of the third PON port is greater than zero, the central office equipment can allocate a third guaranteed bandwidth value to each traffic bearer entity again in a manner similar to steps 504 to 508 above. That is, the central office equipment can allocate bandwidth to the aforementioned traffic bearer entities multiple times. However, the specific number of cycles can be adjusted according to different application scenarios, and is not limited here.

[0154] To facilitate further understanding, the aforementioned bandwidth allocation method will be explained in detail below with specific numerical values.

[0155] In this embodiment, the central office equipment is taken as an OLT, which has only one PON port with a maximum bandwidth of 1.25Gbps. Similarly, the user terminal equipment is taken as an ONT, which has only three traffic bearer entities (T-CONTs). Furthermore, it is assumed that the OLT is connected to only one ONT. Similar to the previous examples, the bandwidth requirements and bandwidth configuration limits of the three T-CONTs in this ONT are shown in Table 3. The steps for the OLT to determine the fixed bandwidth value, the first remaining bandwidth requirement value, and the first weighted bandwidth value for each T-CONT are similar to those in the embodiment corresponding to Table 1 above, and will not be repeated here.

[0156] As shown in Table 3, when calculating the first guaranteed bandwidth value for each T-CONT, the OLT can calculate the minimum value among the following three: the first weighted bandwidth value, the configuration limit of the guaranteed bandwidth, and the first remaining bandwidth requirement. This minimum value is then determined as the first guaranteed bandwidth value for the T-CONT. For example, taking T-CONT3, its first weighted bandwidth value is 0.2538 Gbps; its configuration limit of the guaranteed bandwidth is 0.4 Gbps; and its first remaining bandwidth requirement is 0.1 Gbps. Therefore, the OLT determines that the minimum of these three values ​​is the first remaining bandwidth requirement of T-CONT3, which is 0.1 Gbps. Thus, the first guaranteed bandwidth value for T-CONT3 is 0.1 Gbps. Similarly, the OLT can calculate the first guaranteed bandwidth values ​​for T-CONT1 and T-CONT2.

[0157] At this point, the OLT needs to calculate the remaining bandwidth value of the second PON port. The calculation shows: 0.55 - (0.1269 + 0.1692 + 0.1) = 0.1539. Therefore, the OLT can determine that the remaining bandwidth value of the second PON port is greater than zero. Thus, it can be determined that the OLT's PON port still has remaining bandwidth, and the OLT needs to further allocate bandwidth to the aforementioned T-CONTs. Since the sum of the first guaranteed bandwidth value and the fixed bandwidth value of T-CONT3 is 0.1 + 0.4 = 0.5, which is exactly equal to the bandwidth requirement of T-CONT3, it can be determined that the bandwidth allocated to T-CONT3 by the OLT meets the bandwidth requirement of T-CONT3. Therefore, T-CONT3 will no longer participate in the subsequent allocation of the second guaranteed bandwidth value, and the guaranteed bandwidth value of T-CONT3 is the first guaranteed bandwidth value. Therefore, the OLT will use the second bandwidth allocation ratio to allocate bandwidth to the aforementioned T-CONT1 and T-CONT2.

[0158] Specifically, the OLT will calculate the second weighted bandwidth value of T-CONT1 and the second weighted bandwidth value of T-CONT2 respectively. Taking T-CONT1 as an example, the second weighted bandwidth value of T-CONT1 is equal to the remaining bandwidth value of the second PON port multiplied by the second bandwidth allocation ratio of T-CONT1, which is 0.1539. 0.3 / (0.3+0.4) = 0.0660. Similarly, the second weighted bandwidth value of T-CONT2 is 0.0879. Then, the OLT determines the minimum value among the second weighted bandwidth value of T-CONT1, the upper limit of the guaranteed bandwidth configuration of T-CONT1, and the second remaining bandwidth requirement value of T-CONT1 as the second guaranteed bandwidth value of T-CONT1. Thus, the OLT can determine that the second guaranteed bandwidth value of T-CONT1 is 0.0660. Similarly, the second guaranteed bandwidth value of T-CONT2 can be determined to be 0.0879. At this time, the OLT will calculate the remaining bandwidth value of the third PON port, which is equal to the difference between the remaining bandwidth value of the second PON port and the sum of the second guaranteed bandwidth values ​​of T-CONT1 and T-CONT2, i.e., 0.1539 - (0.0660 + 0.0879) = 0. At this point, since the remaining bandwidth value of the third PON port is zero, it indicates that the PON port of the central office equipment will not have any bandwidth remaining. The OLT determines that the guaranteed bandwidth value of T-CONT1 is equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value, that is, the guaranteed bandwidth value of T-CONT1 is 0.1269 + 0.0660 = 0.1929. Similarly, the guaranteed bandwidth value of T-CONT2 is 0.1692 + 0.0879 = 0.2571.

[0159] Table 3

[0160] At this point, since the cumulative sum of the bandwidth values ​​allocated by the OLT to each T-CONT equals the maximum bandwidth value of the PON port, the OLT will not allocate bandwidth to the aforementioned T-CONTs in this allocation cycle. Specifically, the actual bandwidth values ​​allocated to each T-CONT in this allocation cycle are shown in Table 4.

[0161] Table 4

[0162] However, in practical applications, there may be situations where the remaining bandwidth value of the third PON port is greater than zero. In this case, the OLT can allocate a third guaranteed bandwidth value to each T-CONT again in a manner similar to steps 504 to 508 described above. That is, the OLT can allocate bandwidth to each of the aforementioned T-CONTs multiple times in a loop. However, the specific number of loops can be adjusted according to different application scenarios, and is not limited here.

[0163] In this embodiment, in the aforementioned Figure 4 Based on the corresponding embodiment, since the minimum value among the first weighted bandwidth value, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity is not the first weighted bandwidth value of the traffic bearer entity, some traffic bearer entities have already been allocated sufficient bandwidth. Therefore, the traffic bearer entities that have already been allocated sufficient bandwidth will not participate in the allocation of the second guaranteed bandwidth. Then, the central office equipment uses the second bandwidth allocation ratio to allocate bandwidth to the aforementioned target traffic bearer entities, further determining the second guaranteed bandwidth value. Since the central office equipment involves the first bandwidth allocation ratio and the second bandwidth allocation ratio in this process, and the first bandwidth allocation ratio and the second bandwidth allocation ratio can fairly reflect the actual bandwidth requirements of each traffic bearer entity, the central office equipment can not only ensure that each traffic bearer entity is allocated bandwidth, but also that each traffic bearer entity is allocated bandwidth according to a certain ratio, thus making resource allocation more reasonable.

[0164] The above describes the bandwidth allocation method used by the central office equipment according to the first bandwidth allocation ratio. Below, we introduce a simpler bandwidth allocation method where the central office equipment can determine the actual bandwidth allocated to each traffic-bearing entity using only the third allocation ratio. Specifically... Figure 6 As shown, the steps performed by the central office equipment in this bandwidth allocation method include: 601. The central office equipment obtains the bandwidth requirement value of each traffic bearer entity in each user terminal equipment from each user terminal equipment.

[0165] In this embodiment, the central office equipment can obtain the bandwidth requirement value of each traffic bearer entity by accepting bandwidth allocation requests or by detecting actual traffic information. The specifics are similar to step 201 above, and will not be repeated here.

[0166] 602. The central office equipment determines the fixed bandwidth value of each traffic bearer entity based on the upper limit of the fixed bandwidth configuration of each traffic bearer entity.

[0167] In this embodiment, when the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is greater than the maximum bandwidth value of the passive optical network PON port of the central office equipment, the central office equipment can determine the fixed bandwidth value of each traffic bearer entity based on the upper limit of the fixed bandwidth configuration of each traffic bearer entity. Specifically, it is similar to step 302 above, and will not be repeated here.

[0168] 603. The central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, wherein the bandwidth allocation ratio is the third bandwidth allocation ratio.

[0169] In this embodiment, the remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity. The maximum bandwidth value of the PON port has been described in detail in step 202 above, and will not be repeated here.

[0170] Specifically, the central office equipment multiplies the remaining bandwidth value of its first PON port by the third bandwidth allocation ratio to obtain the guaranteed bandwidth value of the traffic bearer entity. The third bandwidth allocation ratio is equal to the ratio of the scaling factor of the traffic bearer entity to the sum of the scaling factors of all traffic bearer entities. The scaling factor of the traffic bearer entity is the smaller of its first remaining bandwidth requirement and its guaranteed bandwidth configuration limit. The first remaining bandwidth requirement of the traffic bearer entity is the difference between its bandwidth requirement and its fixed bandwidth value.

[0171] To facilitate further understanding, the aforementioned bandwidth allocation method will be explained in detail below with specific numerical values.

[0172] In this embodiment, the central office equipment is taken as an OLT, which has only one PON port with a maximum bandwidth of 1.25Gbps. Similarly, the user terminal equipment is taken as an ONT, which has only three traffic bearer entities (T-CONTs). Furthermore, it is assumed that the OLT is connected to only one ONT. Similar to the previous examples, the bandwidth requirements and bandwidth configuration limits of the three T-CONTs in this ONT are shown in Table 5. The steps for the OLT to determine the fixed bandwidth value and the first remaining bandwidth requirement value of each T-CONT are similar to those in the embodiment corresponding to Table 1 above, and will not be repeated here.

[0173] In this embodiment, after the OLT determines the fixed bandwidth value and the first remaining bandwidth requirement value of each T-CONT, the OLT will determine a scaling factor, which is used to determine the third bandwidth allocation ratio of each T-CONT. Specifically, the scaling factor is the smaller value between the first remaining bandwidth requirement value of each T-CONT and the configuration upper limit value of the guaranteed bandwidth of each T-CONT. For ease of understanding, T-CONT1 is used as an example. The scaling factor of T-CONT1 is the smaller value between the first remaining bandwidth requirement value of T-CONT1 and the configuration upper limit value of the guaranteed bandwidth of T-CONT1. Wherein, the first remaining bandwidth requirement value of T-CONT1 is 0.4Gbps, and the configuration upper limit value of the guaranteed bandwidth of T-CONT1 is 0.3Gbps. Therefore, the scaling factor of T-CONT1 is 0.3. Similarly, the OLT can calculate that the scaling factor of T-CONT2 is 0.3, and the scaling factor of T-CONT3 is 0.1. Therefore, the OLT can further calculate the third bandwidth allocation ratio of T-CONT1 as 0.3 / (0.3+0.3+0.1) = 0.4286. Similarly, the OLT can calculate the third bandwidth allocation ratio of T-CONT2 as 0.3 / (0.3+0.3+0.1) = 0.4286, and the third bandwidth allocation ratio of T-CONT3 as 0.1 / (0.3+0.3+0.1) = 0.1428. Since the guaranteed bandwidth value of each T-CONT is equal to the remaining bandwidth value of the first PON port of the OLT multiplied by the third bandwidth allocation ratio of each T-CONT, taking T-CONT1 as an example again, the guaranteed bandwidth value of T-CONT1 is 0.55. 0.3 / (0.3 + 0.3 + 0.1) = 0.2357 Gbps. Similarly, this OLT can calculate the guaranteed bandwidth value of T-CONT2 to be 0.55. 0.3 / (0.3 + 0.3 + 0.1) = 0.2357 Gbps, and the guaranteed bandwidth of T-CONT3 is 0.55. 0.1 / (0.3 + 0.3 + 0.1) = 0.0786 Gbps. For details, please refer to the relevant calculation process in Table 5.

[0174] Table 5

[0175] In this embodiment, the bandwidth allocation results shown in Table 6 can be obtained by using the above-described bandwidth allocation method for the OLT.

[0176] Table 6

[0177] 604. The central office equipment sends an authorization message to each user terminal equipment, which indicates the actual bandwidth value allocated to each traffic bearer entity in each user terminal equipment.

[0178] In this embodiment, step 604 is similar to the aforementioned step 203, and will not be described in detail here.

[0179] In this embodiment, a method is provided that is different from the aforementioned Figure 3 The corresponding embodiment offers a simpler bandwidth allocation method. In this embodiment, the central office equipment can determine the guaranteed bandwidth value for each traffic bearer entity in one go according to the third bandwidth allocation ratio, thus making the bandwidth allocation process fast and efficient. Furthermore, since the ratio factor used to determine the third bandwidth allocation ratio comprehensively considers the first remaining bandwidth requirement value of the traffic bearer entity and the configuration upper limit value of the guaranteed bandwidth of the traffic bearer entity, it can more accurately reflect the bandwidth requirements of each traffic bearer entity. Therefore, it can be inferred that the guaranteed bandwidth determined by the central office equipment according to the third bandwidth allocation ratio determined by the ratio factor makes the bandwidth allocation process more equitable.

[0180] The above describes the specific implementation process of this bandwidth allocation method. The following section will introduce the bandwidth allocation equipment involved in this method, such as... Figure 7 The diagram shown is a structural schematic of a bandwidth allocation device 70 provided in this embodiment. This bandwidth allocation device 70 can vary considerably due to differences in configuration or performance. The bandwidth allocation device 70 includes: The acquisition module 701 is used to acquire the bandwidth requirement value of each traffic bearer entity in each user terminal device from each user terminal device; the determination module 702 is used to determine the actual bandwidth value allocated to each traffic bearer entity based on the bandwidth configuration upper limit of each traffic bearer entity and the bandwidth requirement value of each traffic bearer entity when the sum of the cumulative sum of the configuration upper limit of the fixed bandwidth of each traffic bearer entity and the cumulative sum of the configuration upper limit of the guaranteed bandwidth of each traffic bearer entity is greater than the maximum bandwidth value of the passive optical network PON port of the central office device, wherein the bandwidth configuration upper limit includes the configuration upper limit of the fixed bandwidth and the configuration upper limit of the guaranteed bandwidth; the sending module 703 is used to send an authorization message to each user terminal device, the authorization message being used to indicate the actual bandwidth value allocated to each traffic bearer entity in each user terminal device.

[0181] In this embodiment, since the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is greater than the maximum bandwidth value of the PON port of the bandwidth allocation device, the bandwidth allocation device can determine the actual bandwidth allocated to each traffic bearer entity based on the aforementioned upper limit of the fixed bandwidth configuration of the traffic bearer entity, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the bandwidth requirement value of each traffic bearer entity. Because the bandwidth allocation device considers more factors when allocating bandwidth and can ensure that each traffic bearer entity is allocated a portion of the bandwidth, it avoids the situation where some traffic bearer entities are not allocated bandwidth. Therefore, resource allocation can be more reasonable.

[0182] In some feasible implementations, the determining module 702 includes: The first determining submodule 7021 is used to determine the fixed bandwidth value of each traffic bearer entity based on the configured upper limit value of the fixed bandwidth of each traffic bearer entity.

[0183] The second determining submodule 7022 is used to determine the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio. The remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity. In this implementation, a specific method is proposed for the bandwidth allocation device to determine the actual allocated bandwidth value of each traffic bearer entity based on the bandwidth configuration limit and the bandwidth requirement value of each traffic bearer entity. Specifically, the bandwidth allocation device can first determine the fixed bandwidth value and then determine the guaranteed bandwidth value. The bandwidth allocation device refers to the configuration limit value of the fixed bandwidth when determining the fixed bandwidth value. Furthermore, the bandwidth allocation device refers to the remaining bandwidth value of the first PON port and the bandwidth allocation ratio when determining the guaranteed bandwidth value, wherein the bandwidth allocation ratio is related to the configuration limit value and the bandwidth requirement value of the guaranteed bandwidth. Therefore, the bandwidth allocation ratio in this embodiment can reflect the upper limit of bandwidth configuration of each traffic bearer entity and the actual bandwidth demand of each traffic bearer entity. Thus, by adopting the bandwidth allocation method in this embodiment, the bandwidth allocation device can ensure that each traffic bearer entity is allocated a portion of the bandwidth, thereby enabling each traffic bearer entity to obtain the actual allocated bandwidth value relatively fairly, and making the bandwidth allocation of the bandwidth allocation device more reasonable.

[0184] In some feasible implementations, the second determining submodule 7022 includes: The first computing unit 70221 is used for: The first weighted bandwidth value of the traffic bearer entity is obtained by multiplying the remaining bandwidth value of the first PON port of the central office equipment by the first bandwidth allocation ratio. The minimum value among the first weighted bandwidth value, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity is determined as the first guaranteed bandwidth value of the traffic bearer entity. The first remaining bandwidth requirement value is the difference between the bandwidth requirement value and the fixed bandwidth value of the traffic bearer entity. The remaining bandwidth value of the second PON port is calculated, and this second remaining bandwidth value is equal to the difference between the remaining bandwidth value of the first PON port and the sum of the first guaranteed bandwidth values ​​of all traffic bearer entities. When the remaining bandwidth value of the second PON port is zero, the guaranteed bandwidth value of the traffic bearer entity is determined to be equal to the first guaranteed bandwidth value. The first bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity to the sum of the upper limits of the guaranteed bandwidth configuration of all traffic bearer entities. In this implementation, a specific method is proposed for the bandwidth allocation device to determine the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port and the bandwidth allocation ratio. Specifically, the bandwidth allocation device can calculate the first weighted bandwidth value, the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity, and determine the minimum value among the three as the first guaranteed bandwidth value of the traffic bearer entity. If the remaining bandwidth value of the second PON port is zero, the bandwidth allocation device determines that the guaranteed bandwidth value of the traffic bearer entity is equal to the first guaranteed bandwidth value. Since the bandwidth allocation device considers the first remaining bandwidth requirement value and the first bandwidth allocation ratio of the traffic bearer entity when determining the first weighted bandwidth value, the guaranteed bandwidth value determined by the bandwidth allocation device integrates the actual needs of the traffic bearer entity and the upper limit of the bandwidth configuration of the traffic bearer entity, thus making the bandwidth allocation of each traffic bearer entity more fair and reasonable.

[0185] In some feasible implementations, the first computing unit 70221 is further configured to: When the remaining bandwidth value of the second PON port is greater than zero and a target traffic bearer entity exists, the remaining bandwidth value of the second PON port is multiplied by the second bandwidth allocation ratio to obtain the second weighted bandwidth value of the target traffic bearer entity. The target traffic bearer entity is a traffic bearer entity whose second remaining bandwidth requirement value is greater than zero. The second remaining bandwidth requirement value is the difference between the first remaining bandwidth requirement value and the first guaranteed bandwidth value of the traffic bearer entity. The minimum value among the second weighted bandwidth value, the upper limit of the guaranteed bandwidth configuration of the target traffic bearer entity, and the second remaining bandwidth requirement value of the target traffic bearer entity is determined as the second guaranteed bandwidth value of the target traffic bearer entity. The remaining bandwidth value of the third PON port is calculated, and the remaining bandwidth value of the third PON port is equal to the difference between the remaining bandwidth value of the second PON port and the cumulative sum of the second guaranteed bandwidth values ​​of each target traffic bearer entity. When the remaining bandwidth value of the third PON port is equal to zero, the guaranteed bandwidth value of the target traffic bearer entity is determined to be equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value. The second bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer to the sum of the upper limit of the guaranteed bandwidth configuration of the target traffic bearer. In this implementation, based on the aforementioned implementation, a further scenario is proposed where the remaining bandwidth value of the second PON port is greater than zero and a target traffic bearer exists. In this case, the bandwidth allocation device can allocate a second guaranteed bandwidth value to each traffic bearer as described in the aforementioned implementation until the bandwidth of the PON is fully allocated, or until the bandwidth requirement of each traffic bearer is met. Using this method, the bandwidth allocation device can allocate the first guaranteed bandwidth value, the second guaranteed bandwidth value, etc., to each target traffic bearer in small, multiple installments. This allows for a more accurate and reasonable allocation of bandwidth to each target traffic bearer.

[0186] In other feasible implementations, the second determining submodule 7022 further includes: The second calculation unit 70222 is used to multiply the remaining bandwidth value of the first PON port of the central office equipment by the third bandwidth allocation ratio to obtain the guaranteed bandwidth value of the traffic bearer entity. The third bandwidth allocation ratio is equal to the ratio of the scaling factor of the traffic bearer entity to the sum of the scaling factors of all traffic bearer entities. The scaling factor of the traffic bearer entity is the smaller of the first remaining bandwidth requirement value of the traffic bearer entity and the upper limit of the guaranteed bandwidth configuration of the traffic bearer entity. The first remaining bandwidth requirement value of the traffic bearer entity is the difference between the bandwidth requirement value of the traffic bearer entity and the fixed bandwidth value of the traffic bearer entity. In this implementation, a simpler implementation method than the aforementioned implementation is proposed. The bandwidth allocation device directly multiplies the remaining bandwidth value of the first PON port by the third bandwidth allocation ratio of the traffic bearer entity to obtain the guaranteed bandwidth value of the traffic bearer entity. In this process, the bandwidth allocation device determines the guaranteed bandwidth value of each traffic bearer entity with only one bandwidth allocation. Since the third allocation ratio can reflect the actual bandwidth requirements of each traffic carrying entity and the upper limit of bandwidth configuration of each traffic carrying entity, this implementation method can make the bandwidth allocation more reasonable and the bandwidth allocation process simple and efficient.

[0187] In other feasible implementations, the determining module 702 is further configured to allocate the non-guaranteed bandwidth value or the best-effort bandwidth value to each traffic bearer when the difference between the remaining bandwidth value of the first PON port of the central office equipment and the cumulative sum of the guaranteed bandwidth values ​​of each traffic bearer entity is greater than zero. In such implementations, it is proposed that after the bandwidth allocation device has allocated the aforementioned fixed bandwidth value and guaranteed bandwidth value to each traffic bearer entity, if the PON port of the bandwidth allocation device still has bandwidth available, the bandwidth allocation device can further allocate the non-guaranteed bandwidth value and the best-effort bandwidth value to each traffic bearer entity. Therefore, the bandwidth allocation device can make fuller use of the remaining bandwidth of the PON port, so that each traffic bearer entity can be allocated more bandwidth.

[0188] In other feasible embodiments, the bandwidth management device 70 further includes a pre-configuration module 704 for setting bandwidth configuration limits for each traffic bearer entity in each user terminal device. In such embodiments, the bandwidth configuration limits for each traffic bearer entity are set by the bandwidth allocation device before the bandwidth allocation cycle. Therefore, the bandwidth allocation device can know the fixed bandwidth configuration limit and the guaranteed bandwidth configuration limit for each traffic bearer entity.

[0189] In other feasible implementations, the acquisition module 701 includes a receiving submodule 7011, configured to receive bandwidth allocation requests sent by each user terminal device, the bandwidth allocation requests including bandwidth requirement values ​​for each traffic bearer entity in each user terminal device. In this embodiment, the bandwidth allocation device obtains the bandwidth requirement values ​​for each traffic bearer entity by accepting bandwidth allocation requests. In this embodiment, the bandwidth allocation device can directly obtain the bandwidth requirement values ​​for each traffic bearer entity, allowing the bandwidth allocation device to determine the actual bandwidth allocated to each traffic bearer entity by referring to these bandwidth requirement values.

[0190] In other feasible implementations, the acquisition module 701 includes a traffic monitoring submodule 7012, used to monitor the actual traffic information of each traffic bearer entity in each user terminal device within a preset time range; and to determine the bandwidth requirement value of each traffic bearer entity based on the actual traffic information. This embodiment proposes another method for determining the bandwidth requirement value of each traffic bearer entity. The bandwidth allocation device can determine the bandwidth requirement value of each traffic bearer entity through traffic monitoring. Therefore, the flexibility of the bandwidth allocation device in determining the bandwidth requirement value of each traffic bearer entity can be improved.

[0191] It should also be understood that the above Figures 2 to 6 In the corresponding method embodiments, the steps performed by the central office equipment or OLT can all be based on this. Figure 7 The structure of the bandwidth allocation device 70 shown is illustrated.

[0192] The above describes one implementation of the bandwidth allocation device. Below, using an OLT as an example, another implementation of the bandwidth allocation device in this embodiment will be described, such as... Figure 8 The diagram shown is a structural schematic of the OLT80, which can vary considerably depending on its configuration and performance. The OLT80 may include one or more central processing units (CPUs) 801, passive optical network (PONMAC) chips 802, and one or more chip interfaces 803. Furthermore, in some feasible embodiments, the OLT also includes a memory 804 and one or more storage media 805 (e.g., one or more mass storage devices) for storing application programs or data. The memory 804 and storage media 805 can be temporary or persistent storage.

[0193] The chip interface 803 is connected to the PONMAC chip 802, which can obtain the bandwidth requirements of each traffic bearer entity in each user terminal device through the chip interface 803. Specifically, the PONMAC chip 802 can receive bandwidth allocation requests sent by each user terminal device through the chip interface 803, and these requests include the bandwidth requirements of each traffic bearer entity in each user terminal device. The PONMAC chip 802 can also use the chip interface 803 to monitor the actual traffic information of each traffic bearer entity in each user terminal device within a preset time range; and determine the bandwidth requirements of each traffic bearer entity based on the actual traffic information.

[0194] The PONMAC chip 802 can also send authorization messages to various user terminal devices through the chip interface 803.

[0195] The PONMAC chip 802 is further configured to determine the actual bandwidth allocated to each traffic bearer entity based on the bandwidth configuration limit and bandwidth requirement of each traffic bearer entity. Specifically, the PONMAC chip 802 includes a DBA function module, which is used to determine fixed bandwidth values ​​and guaranteed bandwidth values ​​using the bandwidth allocation method described in the foregoing embodiments. In some feasible implementations, the PONMAC chip 802 is also configured to determine non-guaranteed bandwidth values ​​and best-effort bandwidth values ​​using the DBA function module.

[0196] The OLT80 also includes an input / output device 806 for receiving the bandwidth configuration limit set by the user. The processor 801 then sets the bandwidth configuration limit for each traffic-bearing entity in each user terminal device according to the user-set bandwidth configuration limit.

[0197] In some feasible implementations, the DBA function module is located in the processor 801. In this case, the processor 801 is further configured to determine the actual bandwidth value allocated to each traffic bearer entity based on the bandwidth configuration limit of each traffic bearer entity and the bandwidth requirement value of each traffic bearer entity. Specifically, the processor 801 is configured to determine fixed bandwidth values ​​and guaranteed bandwidth values ​​through the bandwidth allocation method described in the foregoing embodiments using the DBA function module. In some feasible implementations, the processor 801 is further configured to determine non-guaranteed bandwidth values ​​and best-effort bandwidth values ​​through the DBA function module.

[0198] It should also be understood that the above Figures 2 to 6 In the corresponding method embodiments, the steps performed by the central office equipment or OLT can all be based on this. Figure 8 The structure of OLT80 is shown.

[0199] In this embodiment, the OLT can determine the actual bandwidth allocated to each traffic bearer based on the fixed bandwidth configuration limit, the guaranteed bandwidth configuration limit, and the bandwidth requirements of each traffic bearer. Because the OLT considers more factors when allocating bandwidth and ensures that each traffic bearer is allocated a portion of the bandwidth, it avoids situations where some traffic bearers are not allocated bandwidth. Therefore, resource allocation can be more rational.

[0200] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A bandwidth allocation method, characterized in that, include: The central office equipment obtains the bandwidth requirement value of each traffic bearer entity in each user terminal equipment from each user terminal equipment, and the central office equipment communicates with each user terminal equipment through the passive optical fiber network (PON) port of the central office equipment. When the sum of the cumulative upper limit of the fixed bandwidth configuration of each traffic bearer entity and the cumulative upper limit of the guaranteed bandwidth configuration of each traffic bearer entity is greater than the maximum bandwidth value of the PON port of the central office equipment, the central office equipment determines the fixed bandwidth value of each traffic bearer entity based on the upper limit of the fixed bandwidth configuration of each traffic bearer entity; and the central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, wherein the remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity, and the bandwidth allocation ratio is related to the upper limit of the guaranteed bandwidth configuration and the bandwidth requirement value; The central office equipment sends an authorization message to each user terminal equipment. The authorization message is used to indicate the actual bandwidth value allocated to each traffic bearer entity in each user terminal equipment. The actual bandwidth value allocated to the traffic bearer entity includes the fixed bandwidth value of the traffic bearer entity and the guaranteed bandwidth value of the traffic bearer entity.

2. The method according to claim 1, characterized in that, The bandwidth allocation ratio includes a first bandwidth allocation ratio; The central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, including: The central office equipment uses the remaining bandwidth value of the first PON port of the central office equipment to multiply the first bandwidth allocation ratio to obtain the first weighted bandwidth value of the traffic bearer entity. The central office equipment determines the minimum value among the first weighted bandwidth value of the traffic bearer entity, the configuration upper limit value of the guaranteed bandwidth of the traffic bearer entity, and the first remaining bandwidth requirement value of the traffic bearer entity as the first guaranteed bandwidth value of the traffic bearer entity. The first remaining bandwidth requirement value of the traffic bearer entity is the difference between the bandwidth requirement value of the traffic bearer entity and the fixed bandwidth value of the traffic bearer entity. The central office equipment calculates the remaining bandwidth value of the second PON port, which is equal to the difference between the remaining bandwidth value of the first PON port and the cumulative sum of the first guaranteed bandwidth values ​​of each traffic bearer entity. When the remaining bandwidth value of the second PON port is equal to zero, the central office equipment determines that the guaranteed bandwidth value of the traffic bearer entity is equal to the first guaranteed bandwidth value.

3. The method according to claim 2, characterized in that, The first bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the traffic carrying entity to the sum of the upper limits of the guaranteed bandwidth configuration of each traffic carrying entity.

4. The method according to claim 2, characterized in that, The bandwidth allocation ratio also includes a second bandwidth allocation ratio; The method further includes: When the remaining bandwidth value of the second PON port is greater than zero and there is a target traffic bearer entity, the central office equipment uses the remaining bandwidth value of the second PON port multiplied by the second bandwidth allocation ratio to obtain the second weighted bandwidth value of the target traffic bearer entity. The target traffic bearer entity is a traffic bearer entity whose second remaining bandwidth requirement value is greater than zero. The second remaining bandwidth requirement value is the difference between the first remaining bandwidth requirement value of the traffic bearer entity and the first guaranteed bandwidth value of the traffic bearer entity. The central office equipment determines the minimum value among the following three: the second weighted bandwidth value of the target traffic bearer entity, the configuration upper limit value of the guaranteed bandwidth of the target traffic bearer entity, and the second remaining bandwidth requirement value of the target traffic bearer entity, as the second guaranteed bandwidth value of the target traffic bearer entity. The central office equipment calculates the remaining bandwidth value of the third PON port, which is equal to the difference between the remaining bandwidth value of the second PON port and the cumulative sum of the second guaranteed bandwidth values ​​of each target traffic bearer entity. When the remaining bandwidth value of the third PON port is equal to zero, the central office equipment determines that the guaranteed bandwidth value of the target traffic bearer entity is equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value.

5. The method according to claim 4, characterized in that, The second bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the target traffic carrying entity to the sum of the upper limit of the guaranteed bandwidth configuration of the target traffic carrying entity.

6. The method according to claim 1, characterized in that, The bandwidth allocation ratio includes a third bandwidth allocation ratio; The bandwidth value actually allocated to the traffic bearer entity includes the fixed bandwidth value of the traffic bearer entity and the guaranteed bandwidth value of the traffic bearer entity. The central office equipment determines the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, including: The central office equipment uses the remaining bandwidth value of the first PON port of the central office equipment multiplied by the third bandwidth allocation ratio to obtain the guaranteed bandwidth value of the traffic carrying entity.

7. The method according to claim 6, characterized in that, The third bandwidth allocation ratio is equal to the ratio of the scaling factor of the traffic carrying entity to the sum of the scaling factors of each traffic carrying entity. The scaling factor of the traffic carrying entity is the smaller value between the first remaining bandwidth requirement value of the traffic carrying entity and the upper limit value of the guaranteed bandwidth configuration of the traffic carrying entity. The first remaining bandwidth requirement value of the traffic carrying entity is the difference between the bandwidth requirement value of the traffic carrying entity and the fixed bandwidth value of the traffic carrying entity.

8. A bandwidth allocation device, characterized in that, include: The transceiver module is used to obtain the bandwidth requirement value of each traffic bearer entity in each user terminal device from each user terminal device. The transceiver module communicates with each user terminal device through the passive optical fiber network (PON) port of the central office device. The processing module is configured to: determine the fixed bandwidth value of each traffic bearer entity based on the configuration upper limit of the fixed bandwidth of each traffic bearer entity when the sum of the cumulative sum of the configuration upper limit of the fixed bandwidth of each traffic bearer entity and the cumulative sum of the configuration upper limit of the guaranteed bandwidth of each traffic bearer entity is greater than the maximum bandwidth value of the PON port of the central office equipment; and determine the guaranteed bandwidth value of each traffic bearer entity based on the remaining bandwidth value of the first PON port of the central office equipment and the bandwidth allocation ratio, wherein the remaining bandwidth value of the first PON port of the central office equipment is the difference between the maximum bandwidth value of the PON port of the central office equipment and the cumulative sum of the fixed bandwidth values ​​of each traffic bearer entity, and the bandwidth allocation ratio is related to the configuration upper limit of the guaranteed bandwidth and the bandwidth requirement value. The transceiver module is further configured to send an authorization message to each user terminal device. The authorization message is used to indicate the actual bandwidth value allocated to each traffic bearer entity in each user terminal device. The actual bandwidth value allocated to the traffic bearer entity includes the fixed bandwidth value of the traffic bearer entity and the guaranteed bandwidth value of the traffic bearer entity.

9. The bandwidth allocation device according to claim 8, characterized in that, The bandwidth allocation ratio includes a first bandwidth allocation ratio; The processing module is specifically used for: The first weighted bandwidth value of the traffic bearer entity is obtained by multiplying the remaining bandwidth value of the first PON port of the central office equipment by the first bandwidth allocation ratio. The minimum value among the first weighted bandwidth value of the traffic carrying entity, the configuration upper limit value of the guaranteed bandwidth of the traffic carrying entity, and the first remaining bandwidth requirement value of the traffic carrying entity is determined as the first guaranteed bandwidth value of the traffic carrying entity, and the first remaining bandwidth requirement value of the traffic carrying entity is the difference between the bandwidth requirement value of the traffic carrying entity and the fixed bandwidth value of the traffic carrying entity. Calculate the remaining bandwidth value of the second PON port, which is equal to the difference between the remaining bandwidth value of the first PON port and the cumulative sum of the first guaranteed bandwidth values ​​of each traffic bearer entity. When the remaining bandwidth value of the second PON port is equal to zero, the guaranteed bandwidth value of the traffic carrying entity is determined to be equal to the first guaranteed bandwidth value.

10. The bandwidth allocation device according to claim 9, characterized in that, The first bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the traffic carrying entity to the sum of the upper limits of the guaranteed bandwidth configuration of each traffic carrying entity.

11. The bandwidth allocation device according to claim 9, characterized in that, The bandwidth allocation ratio also includes a second bandwidth allocation ratio; The processing module is further configured to: When the remaining bandwidth value of the second PON port is greater than zero and there is a target traffic bearer entity, the remaining bandwidth value of the second PON port is multiplied by the second bandwidth allocation ratio to obtain the second weighted bandwidth value of the target traffic bearer entity. The target traffic bearer entity is a traffic bearer entity whose second remaining bandwidth requirement value is greater than zero. The second remaining bandwidth requirement value is the difference between the first remaining bandwidth requirement value of the traffic bearer entity and the first guaranteed bandwidth value of the traffic bearer entity. The minimum value among the second weighted bandwidth value of the target traffic carrying entity, the configuration upper limit value of the guaranteed bandwidth of the target traffic carrying entity, and the second remaining bandwidth requirement value of the target traffic carrying entity is determined as the second guaranteed bandwidth value of the target traffic carrying entity. Calculate the remaining bandwidth value of the third PON port, which is equal to the difference between the remaining bandwidth value of the second PON port and the cumulative sum of the second guaranteed bandwidth values ​​of each target traffic bearer entity; When the remaining bandwidth value of the third PON port is equal to zero, the guaranteed bandwidth value of the target traffic bearer entity is determined to be equal to the sum of the first guaranteed bandwidth value and the second guaranteed bandwidth value.

12. The bandwidth allocation device according to claim 11, characterized in that, The second bandwidth allocation ratio is equal to the ratio of the upper limit of the guaranteed bandwidth configuration of the target traffic carrying entity to the sum of the upper limit of the guaranteed bandwidth configuration of the target traffic carrying entity.

13. The bandwidth allocation device according to claim 8, characterized in that, The bandwidth allocation ratio includes a third bandwidth allocation ratio; The bandwidth value actually allocated to the traffic bearer entity includes the fixed bandwidth value of the traffic bearer entity and the guaranteed bandwidth value of the traffic bearer entity. The processing module is specifically used to multiply the remaining bandwidth value of the first PON port of the central office equipment by the third bandwidth allocation ratio to obtain the guaranteed bandwidth value of the traffic carrying entity.

14. The bandwidth allocation device according to claim 13, characterized in that, The third bandwidth allocation ratio is equal to the ratio of the scaling factor of the traffic carrying entity to the sum of the scaling factors of each traffic carrying entity. The scaling factor of the traffic carrying entity is the smaller value between the first remaining bandwidth requirement value of the traffic carrying entity and the upper limit value of the guaranteed bandwidth configuration of the traffic carrying entity. The first remaining bandwidth requirement value of the traffic carrying entity is the difference between the bandwidth requirement value of the traffic carrying entity and the fixed bandwidth value of the traffic carrying entity.

15. A bandwidth allocation device, characterized in that, The bandwidth allocation device is a central office device or one or a group of chips in the central office device, and the bandwidth allocation device includes a processor for performing the method as described in any one of claims 1 to 7.

16. The bandwidth allocation device according to claim 15, characterized in that, The bandwidth allocation device further includes a memory for storing program instructions or data, such that the processor invokes the program instructions or data in the memory to perform the method as described in any one of claims 1 to 7.

17. The bandwidth allocation device according to claim 15, characterized in that, When the bandwidth allocation device is one or a group of chips in the central office equipment, the bandwidth allocation device further includes a chip interface for collecting the actual traffic of the user terminal equipment or the status report of the user terminal equipment.

Citation Information

Patent Citations

  • Bandwidth allocation device and dynamic bandwidth allocation method based on class of service in Ethernet Passive Optical Network

    US20040146301A1