Dynamic bandwidth allocation method, device, equipment and readable storage medium

By detecting the service authorization status and delay requirements of ONU in a passive optical fiber network, and reporting authorizations based on specific conditions, the contradiction between user delay requirements and bandwidth requirements is solved, and effective bandwidth utilization is improved and computing complexity is reduced.

CN116261069BActive Publication Date: 2025-05-16FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310325079.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2025-05-16
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

In passive fiber networks, there is a contradiction between the user's delay requirements and bandwidth requirements, which leads to the authorization of bandwidth requirements reporting and authorization too frequently, occupying uplink bandwidth, and reducing the effective bandwidth that services can use.

Method used

By detecting the service authorization status and delay requirements of ONU, when the delay requirements are not met, the bandwidth requirement is issued shall be reported to the ONU, and the maximum allowable delay, traffic rate and fixed bandwidth of the ONU are detected to ensure that the bandwidth requirement is issued only when necessary.

Benefits of technology

Reduces the number of bursts, reduces the consumption of uplink bandwidth by GAP overhead and bandwidth demand bytes, increases the effective bandwidth that services can use, and reduces the DBA computing complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116261069B_ABST
    Figure CN116261069B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, equipment and readable storage medium for dynamic bandwidth allocation. The method comprises: detecting the service authorization status of an ONU; when the service is in the authorized status, detecting whether the delay requirement of the ONU is met; if the delay requirement of the ONU is not met, sending a bandwidth demand reporting authorization to the ONU. Through the present invention, only the bandwidth demand reporting authorization is sent to the ONU whose delay requirement is not met, rather than sending the bandwidth demand reporting authorization to all ONUs, thereby reducing the number of bursts, thereby reducing the amount of overhead occupied by the upstream bandwidth, and ensuring the bandwidth requirement on the basis of meeting the ONU delay requirement; and reducing the DBA calculation amount, thereby reducing the DBA calculation complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a dynamic bandwidth allocation method, device, equipment and readable storage medium. Background Art

[0002] In a passive optical network, the OLT notifies the ONU through a downstream message that it can send upstream data in a certain time slice. If the DBRu (GPON) / Report (EPON) flag is present in the downstream message sent by the OLT to the ONU, the upstream message will carry the bandwidth requirement so that the OLT can allocate a time slice to the ONU based on the bandwidth requirement.

[0003] With the development of technology, users require lower and lower latency, so it is necessary to allow ONU to send upstream data at a high frequency. However, each burst of ONU has GAP overhead, and the bandwidth requirement bytes contained in the upstream data will also occupy the upstream bandwidth. The higher the frequency, the more total bandwidth is occupied by GAP overhead and bandwidth requirement bytes, and the less effective bandwidth can be used by the service. Summary of the invention

[0004] The main purpose of the present invention is to provide a dynamic bandwidth allocation method, device, equipment and readable storage medium, aiming to solve the technical problem in the prior art that there is a contradiction between the user's delay demand and bandwidth demand.

[0005] In a first aspect, the present invention provides a dynamic bandwidth allocation method, the dynamic bandwidth allocation method comprising:

[0006] Check the service authorization status of ONU;

[0007] When the service is in the authorized state, detecting whether the latency requirement of the ONU is met;

[0008] If the latency requirement of the ONU is not met, a bandwidth requirement reporting authorization is sent to the ONU.

[0009] Optionally, after the step of detecting whether the delay requirement of the ONU is met, the method further includes:

[0010] If the latency requirement of the ONU is met, detecting whether the service transmission requirement of the ONU is met;

[0011] If the service transmission requirement of the ONU is not met, a bandwidth requirement reporting authorization is issued to the ONU.

[0012] Optionally, the step of detecting whether the delay requirement of the ONU is met includes:

[0013] Obtaining a first time interval according to the maximum allowed delay of the ONU;

[0014] Obtaining an actual time interval according to the current time and the time at which the ONU correspondingly issues the service authorization;

[0015] Detecting whether the actual time interval is greater than or equal to the first time interval;

[0016] If it is greater than or equal to the first time interval, it is determined that the delay requirement of the ONU is not met;

[0017] If it is less than the first time interval, it is determined that the delay requirement of the ONU is met.

[0018] Optionally, the step of detecting whether the service transmission requirement of the ONU is met includes:

[0019] Obtaining a second time interval according to the flow rate of the ONU;

[0020] Obtaining an actual time interval according to the current time and the time at which the ONU correspondingly issues the service authorization;

[0021] detecting whether the actual time interval is greater than or equal to the second time interval;

[0022] If it is greater than or equal to the second time interval, it is determined that the service transmission demand of the ONU is not met.

[0023] Optionally, after the step of detecting whether the actual time interval is greater than or equal to the second time interval, the method further includes:

[0024] If it is less than the second time interval, obtaining a third time interval according to the fixed bandwidth of the ONU;

[0025] detecting whether the actual time interval is greater than or equal to the third time interval;

[0026] If it is greater than or equal to the third time interval, it is determined that the service transmission demand of the ONU is not met.

[0027] Optionally, after the step of sending the bandwidth demand reporting authorization to the ONU, the method further includes:

[0028] The service authorization state of the ONU is changed to a service unauthorized state.

[0029] Optionally, after detecting the service authorization status of the ONU, the method further includes:

[0030] When the service is in an unauthorized state, detecting whether the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, wherein the ONU reports the authorization feedback bandwidth demand based on the bandwidth demand;

[0031] If the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, a service authorization is issued to the ONU, the service authorization state of the ONU is changed to a service authorized state, and the time when the ONU issues the service authorization is updated;

[0032] If the bandwidth allocation for the ONU does not meet the bandwidth demand of the ONU, the service authorization is issued to the ONU, the service authorization state is not changed, and the time when the ONU issues the service authorization is not updated.

[0033] In a second aspect, the present invention further provides a dynamic bandwidth allocation device, the dynamic bandwidth allocation device comprising:

[0034] The first detection module is used to detect the service authorization status of the ONU;

[0035] A second detection module is used to detect whether the delay requirement of the ONU is met when the service is in the authorized state;

[0036] The authorization issuing module is used to issue a bandwidth requirement reporting authorization to the ONU if the latency requirement of the ONU is not met.

[0037] In a third aspect, the present invention further provides a dynamic bandwidth allocation device, comprising a processor, a memory, and a dynamic bandwidth allocation program stored in the memory and executable by the processor, wherein when the dynamic bandwidth allocation program is executed by the processor, the steps of the dynamic bandwidth allocation method as described above are implemented.

[0038] In a fourth aspect, the present invention further provides a readable storage medium, on which a dynamic bandwidth allocation program is stored, wherein when the dynamic bandwidth allocation program is executed by a processor, the steps of the dynamic bandwidth allocation method described above are implemented.

[0039] In the present invention, the service authorization state of the ONU is detected; when the service is in the authorized state, whether the delay requirement of the ONU is met is detected; if the delay requirement of the ONU is not met, the bandwidth demand reporting authorization is sent to the ONU. Through the present invention, only the bandwidth demand reporting authorization is sent to the ONU whose delay requirement is not met, rather than sending the bandwidth demand reporting authorization to all ONUs, thereby reducing the number of bursts, thereby reducing the amount of overhead occupied by the upstream bandwidth, and ensuring the bandwidth requirement on the basis of meeting the ONU delay requirement; and reducing the DBA calculation amount, thereby reducing the DBA calculation complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the flow chart of the first embodiment of the dynamic bandwidth allocation method of the present invention;

[0041] Figure 2 for Figure 1 Detailed flow chart of step S20;

[0042] Figure 3 It is a schematic diagram of the flow chart of the second embodiment of the dynamic bandwidth allocation method of the present invention;

[0043] Figure 4 for Figure 3 A first detailed flow chart of step S40;

[0044] Figure 5 for Figure 3 A second detailed flow chart of step S40;

[0045] Figure 6 A schematic diagram of a flow chart of a third embodiment of a dynamic bandwidth allocation method according to the present invention;

[0046] Figure 7 A schematic diagram of functional modules of an embodiment of a dynamic bandwidth allocation device of the present invention;

[0047] Figure 8 The figure is a schematic diagram of the hardware structure of the dynamic bandwidth allocation device involved in the embodiment of the present invention.

[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0050] In a first aspect, an embodiment of the present invention provides a dynamic bandwidth allocation method.

[0051] In one embodiment, referring to Figure 1 , Figure 1 FIG. 1 is a flow chart of the first embodiment of the dynamic bandwidth allocation method of the present invention. Figure 1 As shown, the dynamic bandwidth allocation method includes:

[0052] Step S10, detecting the service authorization status of the ONU;

[0053] In this embodiment, the steps involved in the dynamic bandwidth allocation method are performed in a DBA calculation cycle. That is, when the revelation moment of a DBA calculation cycle is reached, the service authorization status information of the ONU is obtained, and the service authorization status of the ONU is determined based on the information. Among them, the service authorization status of the ONU can be divided into a service authorized state and a service unauthorized state, which can be represented by different fields, for example, by 0 and 1 respectively, that is, by obtaining the state identification field of the ONU, the service authorization status of the ONU can be detected.

[0054] Step S20, when the service is in the authorized state, detecting whether the delay requirement of the ONU is met;

[0055] In this embodiment, when the ONU is in the service authorized state, it is necessary to determine whether it is necessary to issue a bandwidth demand reporting authorization for the ONU. When the passive optical fiber network is GPON, the bandwidth demand reporting authorization is DBRu authorization, and when the passive optical fiber network is EPON, the bandwidth demand reporting authorization is Report authorization.

[0056] Specifically, whether a bandwidth requirement reporting authorization needs to be issued to the ONU is determined by detecting whether the latency requirement of the ONU is met.

[0057] Further, in one embodiment, referring to Figure 2 , Figure 2 for Figure 1 Detailed flow chart of step S20 in FIG. Figure 2 As shown, step S20 includes:

[0058] Step S201, obtaining a first time interval according to the maximum allowed delay of the ONU;

[0059] In this embodiment, the maximum allowable delay of the ONU, that is, the service demand delay carried by the ONU, is recorded as Q. Substituting Q into the first formula, the first time interval T1 can be obtained. The first formula is as follows:

[0060] T1=QP-RTT-R

[0061] Among them, P is the duration of the DBA calculation cycle, RTT is the line delay, and R is the redundant time to prevent line jitter, all of which are preset values.

[0062] The theoretical maximum calculation time interval allowed is (QP-RTT). To prevent line jitter, the redundant time R is added, and the above first formula is obtained.

[0063] Step S202, obtaining an actual time interval according to the current time and the time at which the ONU sends the service authorization;

[0064] In this embodiment, the actual time interval, denoted as T, can be obtained according to the current time and the recorded time when the ONU issues the service authorization.

[0065] Step S203, detecting whether the actual time interval is greater than or equal to the first time interval;

[0066] Step S204: If it is greater than or equal to the first time interval, it is determined that the delay requirement of the ONU is not met;

[0067] Step S205: If it is less than the first time interval, it is determined that the delay requirement of the ONU is met.

[0068] In this embodiment, T is compared with T1. If T is greater than or equal to T1, it is determined that the delay requirement of the ONU is not met; if T is less than T1, it is determined that the delay requirement of the ONU is met.

[0069] Step S30: If the latency requirement of the ONU is not met, a bandwidth requirement reporting authorization is sent to the ONU.

[0070] In this embodiment, if the latency requirement of the ONU is not met, a bandwidth requirement reporting authorization needs to be issued to the ONU, so that the ONU can feed back uplink data carrying the bandwidth requirement to the OLT after receiving the bandwidth requirement reporting authorization.

[0071] In addition, it should be noted that there are generally multiple ONUs connected to the OLT. The above description is a processing flow for one ONU. It is easy to imagine that the same processing can be performed on each ONU in sequence according to the above flow.

[0072] In this embodiment, the service authorization status of the ONU is detected; when the service is in the authorized status, whether the latency requirement of the ONU is met is detected; if the latency requirement of the ONU is not met, a bandwidth requirement reporting authorization is issued to the ONU. Through this embodiment, only the bandwidth requirement reporting authorization is issued to the ONU whose latency requirement is not met, rather than issuing the bandwidth requirement reporting authorization to all ONUs in each DBA cycle, thereby reducing the number of bursts, thereby reducing the amount of overhead occupied by the upstream bandwidth, and ensuring the bandwidth requirement on the basis of meeting the latency requirement of the ONU; and reducing the amount of DBA calculation, thereby reducing the complexity of DBA calculation.

[0073] Further, in one embodiment, referring to Figure 3 , Figure 3 FIG. 2 is a flow chart of the second embodiment of the dynamic bandwidth allocation method of the present invention. Figure 3 As shown, after step S20, it also includes:

[0074] Step S40: If the latency requirement of the ONU is met, detecting whether the service transmission requirement of the ONU is met;

[0075] Step S50: If the service transmission requirement of the ONU is not met, a bandwidth requirement reporting authorization is issued to the ONU.

[0076] In this embodiment, when the latency requirement of the ONU is met, it is necessary to further detect whether its service transmission requirement is met. If the service transmission requirement of the ONU is not met, a bandwidth requirement reporting authorization is issued to the ONU.

[0077] Further, in one embodiment, referring to Figure 4 , Figure 4 for Figure 3 The first detailed flow chart of step S40 in FIG. Figure 4 As shown, step S40 includes:

[0078] Step S401, obtaining a second time interval according to the flow rate of the ONU;

[0079] In this embodiment, the traffic rate of the ONU, that is, the traffic rate of the service demand carried by the ONU, is recorded as S. Substituting S into the second formula, the second time interval T2 can be obtained. The second formula is as follows:

[0080]

[0081] Wherein, P is the duration of the DBA calculation cycle, M is the total system bandwidth, and H is the redundant bandwidth calculation multiple.

[0082] Among them, the maximum authorized time slice allocated in each DBA calculation cycle cannot exceed P, the total system bandwidth is M, and the service rate is S. The theoretically allowed maximum time interval L should satisfy (S / M)=(P / (P*2+L)), so L=((P*(MS*2)) / S). In order to prevent sudden data packet loss, the redundant bandwidth calculation multiple H is increased, and the above-mentioned second formula is obtained.

[0083] Step S402, obtaining an actual time interval according to the current time and the time at which the ONU sends the service authorization;

[0084] In this embodiment, the actual time interval, denoted as T, can be obtained according to the current time and the recorded time when the ONU issues the service authorization.

[0085] Step S403, detecting whether the actual time interval is greater than or equal to the second time interval;

[0086] Step S404: If it is greater than or equal to the second time interval, it is determined that the service transmission demand of the ONU is not met.

[0087] In this embodiment, T is compared with T2. If T is greater than or equal to T2, it is determined that the service transmission requirement of the ONU is not met.

[0088] In this embodiment, when the latency requirement is met, if it is detected that the service transmission requirement determined based on the traffic rate is not met, a bandwidth requirement reporting authorization is sent to the ONU, that is, whether to send the bandwidth requirement reporting authorization is considered from the perspective of the traffic rate of the carried service.

[0089] Further, in one embodiment, referring to Figure 5 , Figure 5 for Figure 3 The second detailed flow chart of step S40 in FIG. Figure 5 As shown, after step S403, the following steps are also included:

[0090] Step S405: if it is less than the second time interval, obtaining a third time interval according to the fixed bandwidth of the ONU;

[0091] In this embodiment, if T is less than T2, the fixed bandwidth of the ONU is obtained, which is recorded as F. Substituting F into the third formula, the third time interval T3 can be obtained. The second formula is as follows:

[0092]

[0093] Wherein, P is the duration of the DBA calculation cycle, M is the total system bandwidth, and H is the redundant bandwidth calculation multiple.

[0094] Among them, the authorized maximum time slice allocated in each DBA calculation cycle cannot exceed P, the total system bandwidth is M, and the fixed bandwidth that needs to be allocated to the ONU is F. Then the theoretically allowed maximum time interval L should satisfy (F / M)=(P / (P*2+L)), so L=((P*(MF*2)) / F). In order to prevent sudden data packet loss, the redundant bandwidth calculation multiple H is increased, and the above-mentioned second formula is obtained.

[0095] Step S406, detecting whether the actual time interval is greater than or equal to the third time interval;

[0096] Step S407: If it is greater than or equal to the third time interval, it is determined that the service transmission demand of the ONU is not met.

[0097] In this embodiment, T is compared with T3. If T is greater than or equal to T3, it is determined that the service transmission demand of the ONU is not met. On the contrary, if T is less than T3, it is determined that the service transmission demand of the ONU is met.

[0098] In this embodiment, when the latency requirement and the service transmission requirement determined based on the traffic rate are met, if it is detected that the service transmission requirement determined based on the fixed bandwidth is not met, a bandwidth demand reporting authorization is issued to the ONU, that is, whether to issue a bandwidth demand reporting authorization is considered from the perspective of the fixed bandwidth of the carried service.

[0099] In addition, it should be noted that each ONU may be detected in turn according to step S10 and step S20, and for an ONU whose delay requirement is not met, step S30 is executed until all ONUs are traversed; thereafter, for ONUs in a service authorized state and whose delay requirements are met, step S40 is detected in turn, and if the service transmission requirement is not met, a bandwidth requirement reporting authorization is issued (i.e., step S50); on the contrary, if the service transmission requirement is met, no processing is performed, and the detection process for the next ONU is entered according to step S40.

[0100] Alternatively, an ONU is detected according to step S10 and step S20, and if the delay requirement is not met, step S30 is executed; if the delay requirement is met, detection is performed according to step S40, and if the service transmission requirement is not met, a bandwidth requirement reporting authorization is issued (i.e., step S50); on the contrary, if the service transmission requirement is met, no processing is performed, and the detection process of the next ONU is entered according to step S10 and step S20 until all ONUs are traversed.

[0101] Further, in one embodiment, after the step of sending the bandwidth demand reporting authorization to the ONU, it also includes:

[0102] The service authorization state of the ONU is changed to a service unauthorized state.

[0103] In this embodiment, when the latency requirement of the ONU is not met or the service transmission requirement of the ONU is not met, a bandwidth demand reporting authorization will be issued to the ONU. After that, the service authorization state of the ONU is further changed to a service unauthorized state, so that after receiving the bandwidth demand reporting authorization, the ONU will feedback the uplink data carrying the bandwidth demand to the OLT, and the OLT can allocate bandwidth to it according to the bandwidth demand fed back by the ONU in the next round of DBA calculation cycle.

[0104] Further, in one embodiment, referring to Figure 6 , Figure 6 FIG. 2 is a flow chart of the third embodiment of the dynamic bandwidth allocation method of the present invention. Figure 6 As shown, after step S10, it also includes:

[0105] Step S60, when the service is in an unauthorized state, detecting whether the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, wherein the bandwidth demand is fed back according to the authorization reported by the ONU based on the bandwidth demand;

[0106] Step S70, if the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, then issuing a service authorization to the ONU, changing the service authorization state of the ONU to a service authorized state, and updating to the time when the ONU issues the service authorization;

[0107] Step S80: If the bandwidth allocation for the ONU does not meet the bandwidth demand of the ONU, a service authorization is issued to the ONU, the service authorization state is not changed, and the time when the ONU issues the service authorization is not updated.

[0108] In this embodiment, when the ONU is in a service unauthorized state, if the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, a service authorization is issued to the ONU, the service authorization state of the ONU is changed to a service authorized state, and the time when the ONU issues the service authorization is updated.

[0109] When the ONU is in a service unauthorized state, it may happen that the bandwidth allocation for the ONU does not meet the bandwidth demand of the ONU. For example, the bandwidth demand of the ONU is determined to be A according to the uplink data carrying the bandwidth demand reported by the ONU based on the bandwidth demand authorization feedback, but the bandwidth allocated to the ONU determined by relevant calculations is B at this time, and B is less than A. At this time, the service authorization is only issued to the ONU based on B, and the service authorization state is not changed and the time when the ONU issues the service authorization is not updated, so that in the next round of DBA calculation cycle, the ONU can continue to be detected according to step S60.

[0110] In this embodiment, when the ONU is in a service unauthorized state, if the bandwidth allocation for the ONU does not meet the bandwidth demand of the ONU, a service authorization is issued according to the bandwidth that can be allocated, but the state of the ONU is maintained as a service unauthorized state, so that the ONU can continue to be detected according to step S60 in the next round of DBA cycle until the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, thereby ensuring the bandwidth demand of the ONU as much as possible.

[0111] In a second aspect, an embodiment of the present invention further provides a dynamic bandwidth allocation device.

[0112] In one embodiment, referring to Figure 7 , Figure 7 FIG. 1 is a functional module diagram of an embodiment of a dynamic bandwidth allocation device of the present invention. Figure 7 As shown, the dynamic bandwidth allocation device includes:

[0113] The first detection module 10 is used to detect the service authorization status of the ONU;

[0114] A second detection module 20 is used to detect whether the latency requirement of the ONU is met when the service is in the authorized state;

[0115] The authorization issuing module 30 is used to issue a bandwidth requirement reporting authorization to the ONU if the latency requirement of the ONU is not met.

[0116] Furthermore, in one embodiment, the dynamic bandwidth allocation device further includes:

[0117] A third detection module is used to detect whether the service transmission requirement of the ONU is met if the delay requirement of the ONU is met;

[0118] The authorization issuing module 30 is further used to issue a bandwidth demand reporting authorization to the ONU if the service transmission demand of the ONU is not met.

[0119] Furthermore, in one embodiment, the second detection module 20 is used to:

[0120] Obtaining a first time interval according to the maximum allowed delay of the ONU;

[0121] Obtaining an actual time interval according to the current time and the time at which the ONU correspondingly issues the service authorization;

[0122] Detecting whether the actual time interval is greater than or equal to the first time interval;

[0123] If it is greater than or equal to the first time interval, it is determined that the delay requirement of the ONU is not met;

[0124] If it is less than the first time interval, it is determined that the delay requirement of the ONU is met.

[0125] Furthermore, in one embodiment, the third detection module is used to:

[0126] Obtaining a second time interval according to the flow rate of the ONU;

[0127] Obtaining an actual time interval according to the current time and the time at which the ONU correspondingly issues the service authorization;

[0128] detecting whether the actual time interval is greater than or equal to the second time interval;

[0129] If it is greater than or equal to the second time interval, it is determined that the service transmission demand of the ONU is not met.

[0130] Furthermore, in one embodiment, the third detection module is used to:

[0131] If it is less than the second time interval, obtaining a third time interval according to the fixed bandwidth of the ONU;

[0132] detecting whether the actual time interval is greater than or equal to the third time interval;

[0133] If it is greater than or equal to the third time interval, it is determined that the service transmission demand of the ONU is not met.

[0134] Furthermore, in one embodiment, the dynamic bandwidth allocation device further includes a modification module, which is used to:

[0135] The service authorization state of the ONU is changed to a service unauthorized state.

[0136] Furthermore, in one embodiment, the dynamic bandwidth allocation device further includes a fourth detection module, which is used to:

[0137] When the service is in an unauthorized state, detecting whether the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, wherein the ONU reports the authorization feedback bandwidth demand based on the bandwidth demand;

[0138] If the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, a service authorization is issued to the ONU, the service authorization state of the ONU is changed to a service authorized state, and the time when the ONU issues the service authorization is updated;

[0139] If the bandwidth allocation for the ONU does not meet the bandwidth demand of the ONU, the service authorization is issued to the ONU, the service authorization state is not changed, and the time when the ONU issues the service authorization is not updated.

[0140] The functional implementation of each module in the above-mentioned dynamic bandwidth allocation device corresponds to each step in the above-mentioned dynamic bandwidth allocation method embodiment, and its functions and implementation processes are not described one by one here.

[0141] In a third aspect, an embodiment of the present invention provides a dynamic bandwidth allocation device, which may be an OLT device.

[0142] Reference Figure 8 , Figure 8The hardware structure diagram of the dynamic bandwidth allocation device involved in the embodiment of the present invention. In the embodiment of the present invention, the dynamic bandwidth allocation device may include a processor 1001 (e.g., a central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM), or a stable memory (non-volatile memory), such as a disk storage, and the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that Figure 8 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0143] Continue to refer to Figure 8 , Figure 8 The memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a dynamic bandwidth allocation program. The processor 1001 may call the dynamic bandwidth allocation program stored in the memory 1005 and execute the dynamic bandwidth allocation method provided in the embodiment of the present invention.

[0144] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium.

[0145] The readable storage medium of the present invention stores a dynamic bandwidth allocation program, wherein when the dynamic bandwidth allocation program is executed by a processor, the steps of the dynamic bandwidth allocation method described above are implemented.

[0146] The method implemented when the dynamic bandwidth allocation program is executed can refer to the various embodiments of the dynamic bandwidth allocation method of the present invention, which will not be described in detail here.

[0147] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0148] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0149] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.

[0150] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A dynamic bandwidth allocation method, characterized in that: The dynamic bandwidth allocation method comprises: Check the service authorization status of ONU; When the service is in the authorized state, detecting whether the latency requirement of the ONU is met; If the latency requirement of the ONU is not met, a bandwidth requirement reporting authorization is sent to the ONU.

2. The dynamic bandwidth allocation method according to claim 1, characterized in that: After the step of detecting whether the delay requirement of the ONU is met, the method further includes: If the latency requirement of the ONU is met, detecting whether the service transmission requirement of the ONU is met; If the service transmission requirement of the ONU is not met, a bandwidth requirement reporting authorization is issued to the ONU.

3. The dynamic bandwidth allocation method according to claim 1, wherein: The step of detecting whether the delay requirement of the ONU is met comprises: Obtaining a first time interval according to the maximum allowed delay of the ONU; Obtaining an actual time interval according to the current time and the time at which the ONU correspondingly issues the service authorization; Detecting whether the actual time interval is greater than or equal to the first time interval; If it is greater than or equal to the first time interval, it is determined that the delay requirement of the ONU is not met; If it is less than the first time interval, it is determined that the delay requirement of the ONU is met.

4. The dynamic bandwidth allocation method according to claim 2, characterized in that: The step of detecting whether the service transmission requirement of the ONU is met comprises: Obtaining a second time interval according to the flow rate of the ONU; Obtaining an actual time interval according to the current time and the time at which the ONU correspondingly issues the service authorization; detecting whether the actual time interval is greater than or equal to the second time interval; If it is greater than or equal to the second time interval, it is determined that the service transmission demand of the ONU is not met.

5. The dynamic bandwidth allocation method according to claim 4, characterized in that: After the step of detecting whether the actual time interval is greater than or equal to the second time interval, the method further includes: If it is less than the second time interval, obtaining a third time interval according to the fixed bandwidth of the ONU; detecting whether the actual time interval is greater than or equal to the third time interval; If it is greater than or equal to the third time interval, it is determined that the service transmission demand of the ONU is not met.

6. The dynamic bandwidth allocation method according to claim 2, characterized in that: After the step of sending the bandwidth demand reporting authorization to the ONU, the method further includes: The service authorization state of the ONU is changed to a service unauthorized state.

7. The dynamic bandwidth allocation method according to claim 6, characterized in that: After detecting the service authorization status of the ONU, the method further includes: When the service is in an unauthorized state, detecting whether the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, wherein the ONU reports the authorization feedback bandwidth demand based on the bandwidth demand; If the bandwidth allocation for the ONU meets the bandwidth demand of the ONU, a service authorization is issued to the ONU, the service authorization state of the ONU is changed to a service authorized state, and the time when the ONU issues the service authorization is updated; If the bandwidth allocation for the ONU does not meet the bandwidth demand of the ONU, the service authorization is issued to the ONU, the service authorization state is not changed, and the time when the ONU issues the service authorization is not updated.

8. A dynamic bandwidth allocation device, characterized in that: The dynamic bandwidth allocation device comprises: The first detection module is used to detect the service authorization status of the ONU; A second detection module is used to detect whether the delay requirement of the ONU is met when the service is in the authorized state; The authorization issuing module is used to issue a bandwidth requirement reporting authorization to the ONU if the latency requirement of the ONU is not met.

9. A dynamic bandwidth allocation device, characterized in that: The dynamic bandwidth allocation device comprises a processor, a memory, and a dynamic bandwidth allocation program stored in the memory and executable by the processor, wherein when the dynamic bandwidth allocation program is executed by the processor, the steps of the dynamic bandwidth allocation method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a dynamic bandwidth allocation program, wherein when the dynamic bandwidth allocation program is executed by a processor, the steps of the dynamic bandwidth allocation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • An improved algorithm for dynamic bandwidth allocation in GPON

    CN109040871A

  • Bandwidth allocation method, optical line terminal, optical network unit and storage medium

    WO2022089186A1