Bandwidth allocation method, bandwidth allocation device, communication equipment, and storage medium
By detecting and allocating bandwidth based on traffic data characteristics, the method addresses latency and jitter issues in passive optical networks, enabling efficient zero or low-latency transfer of upstream periodic traffic.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2023-11-09
- Publication Date
- 2026-05-01
AI Technical Summary
In passive optical networks, upstream periodic traffic data is susceptible to delay and jitter due to the caching of traffic data in the ONU until sufficient bandwidth becomes available for transmission to the OLT, which is unfavorable for timely data transfer.
A bandwidth allocation method that detects traffic data characteristics, including packet length and cycle, to accurately allocate bandwidth to the ONU, ensuring the bandwidth is equal to or greater than the packet length, thereby enabling zero or low-latency transfer of uplink periodic traffic.
The method reduces cache time and minimizes latency and jitter in upstream periodic traffic by ensuring the ONU can immediately forward data using the allocated bandwidth, improving data transfer efficiency in passive optical networks.
Smart Images

Figure 2026514178000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority to the Chinese patent application filed on April 28, 2023, with application number 202310481777.3, the entirety of which is incorporated herein by reference.
[0002] This application relates to the field of optical network communication technology, and more particularly to bandwidth allocation methods, apparatus, communication equipment, and storage media. [Background technology]
[0003] In passive optical networks, traffic data is always transmitted between the OLT (optical line terminal) and the ONU (Optical Network Unit) via the ODN (Optical Distribution Network). In conventional technology, when a user terminal connected to the ONU uploads traffic data in the upstream direction, if the ONU does not have the corresponding upstream bandwidth, the traffic data is cached in the ONU until it gains upstream bandwidth, and then sent to the OLT. This is an unfavorable situation for upstream periodic traffic, which is susceptible to delay and jitter in passive optical networks. [Overview of the project] [Problems that the invention aims to solve]
[0004] The primary objective of this application is to provide a bandwidth allocation method, apparatus, communication equipment, and storage medium for reducing the cache time of uplink periodic traffic in an ONU by detecting the traffic data characteristics of uplink periodic traffic in a passive optical network on the OLT side and accurately allocating bandwidth to the ONU. [Means for solving the problem]
[0005] To achieve the above objective, the embodiments of the present application provide a bandwidth allocation method applicable to an optical line termination device in a passive optical network, wherein the bandwidth allocation method is A step of detecting traffic data characteristics of uplink periodic traffic in the passive optical network, wherein the traffic data characteristics include at least the traffic data packet length and the traffic data cycle. The method includes the step of allocating a bandwidth in the passive optical network to an optical network unit in the passive optical network, in accordance with the traffic data cycle, such that the optical network unit transfers the traffic data of the uplink periodic traffic according to a first bandwidth, and the bandwidth is equal to or greater than the length of the traffic data packet.
[0006] Furthermore, embodiments of the present application provide a bandwidth allocation device applicable to an optical line termination device in a passive optical network, wherein the bandwidth allocation device is A data detection module configured to detect traffic data features of uplink periodic traffic in the passive optical network, wherein the traffic data features include at least the traffic data packet length and the traffic data cycle. The optical network unit includes a bandwidth allocation module configured to allocate a bandwidth, in accordance with the traffic data cycle, to the optical network unit in the passive optical network, such that the optical network unit transfers the traffic data of the uplink periodic traffic according to a first bandwidth, and the bandwidth is greater than or equal to the traffic data packet length.
[0007] Each functional module of the bandwidth allocation device implements the steps of the bandwidth allocation method described above during operation.
[0008] Furthermore, embodiments of the present application provide a communication device comprising the bandwidth allocation device, memory, processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the bandwidth allocation method described above.
[0009] Furthermore, embodiments of the present application provide a storage medium which is a computer-readable storage medium which stores a computer program which, when executed by a processor, realizes the steps of the bandwidth allocation method described above. [Brief explanation of the drawing]
[0010] [Figure 1] This is a schematic diagram of the operating device for the hardware operating environment according to the present invention. [Figure 2] This flowchart shows the steps of the bandwidth allocation method in the first embodiment of the present invention. [Figure 3A] This is a schematic diagram of an industrial control system based on a passive optical network according to the first embodiment of the present invention. [Figure 3B] This is a schematic diagram of an industrial control system based on a passive optical network according to the first embodiment of the present invention. [Figure 4] This is a schematic diagram of a data transmission scenario according to one embodiment of the present invention. [Figure 5] This is a schematic diagram of another data transmission scenario according to one embodiment of the present invention. [Figure 6] This is a schematic diagram showing the relationship between bandwidth allocation and the time synchronization of traffic data according to one embodiment of the present invention. [Figure 7] This is a schematic diagram showing the precise time when data arrives at the OLT and ONU according to one embodiment of the present invention. [Figure 8] This is an application flowchart for detecting traffic data features according to one embodiment of the present invention. [Figure 9] It is a schematic configuration diagram of an example of a bandwidth allocation device provided by an embodiment of the present application.
[0011] Regarding the realization of the object, functional features, and advantages of the present invention, it will be further described in conjunction with embodiments while referring to the accompanying drawings.
Mode for Carrying Out the Invention
[0012] It should be understood that the specific examples described herein are only used to explain the present application and do not limit the present application.
[0013] Referring to FIG. 1, FIG. 1 is a schematic configuration diagram of an operating device of a hardware operating environment according to an embodiment of the present application. [[ID=E18]]
[0014] In this embodiment, the operating device of the hardware operating environment according to the embodiment of the present application may be a communication device including a bandwidth allocation device. Specifically, the communication device may be an OLT optical line terminal device. Based on the allocated bandwidth of the ONU optical network unit, the OLT optical line terminal device transfers the traffic data of the upstream periodic traffic to the OLT optical line terminal device. In the passive optical network where it is located, the OLT optical line terminal device executes a DBA dynamic bandwidth allocation mechanism to allocate bandwidth to one or more ONU optical network units in the passive optical network.
[0015] As shown in FIG. 1, the operating device can include a processor 1001, for example, a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Here, the communication bus 1002 is used to realize communication connections between these components. The user interface 1003 can include a display and an input unit, for example, a keyboard, and the user interface 1003 can further include a standard wired interface and a wireless interface. The network interface 1004 can include a standard wired interface and a wireless interface (for example, a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed Random Access Memory (RAM), or a stable non-volatile memory (NVM), for example, a disk memory. The memory 1005 may be a storage device independent of the aforementioned processor 1001.
[0016] As can be understood by those skilled in the art, the configuration shown in FIG. 1 does not limit the operating device, and it may include more components or fewer components than shown in the figure, or a combination of some components, or different component arrangements.
[0017] As shown in FIG. 1, the memory 1005, which is a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a computer program.
[0018] In the operating device shown in Figure 1, the network interface 1004 is mainly used for data communication with other devices, and the user interface 1003 is mainly used for data interaction with the user. The processor 1001 and memory 1005 in the operating device of this invention can be provided within the operating device, and the operating device calls a computer program stored in the memory 1005 via the processor 1001 and performs the following operations. The traffic data characteristics of the uplink periodic traffic in the passive optical network are detected, and the traffic data characteristics include at least the traffic data packet length and the traffic data cycle. In accordance with the traffic data cycle, the optical network unit in the passive optical network is allocated the first bandwidth, which is equal to or greater than the traffic data packet length, to the optical network unit in the passive optical network so that the optical network unit transfers the traffic data of the uplink periodic traffic according to the first bandwidth.
[0019] In one embodiment, the traffic data features further include the data arrival time when the traffic data arrives at the optical network unit, and the processor 1001 can call a computer program stored in memory 1005 and perform the following operations. According to the traffic data cycle, the first bandwidth is allocated to the optical network unit at a time T prior to the data arrival time.
[0020] In one embodiment, the data arrival time further includes a first arrival time when the optical line termination device receives the traffic data, or a second arrival time when the traffic data arrives at the optical network unit, and the time T includes time T0 and time T1, and the processor 1001 can call a computer program stored in memory 1005 and further perform the following operations. At a time T0 prior to the first arrival time, the first bandwidth is allocated to the optical network unit, or at a time T1 prior to the second arrival time, the first bandwidth is allocated to the optical network unit, wherein time T0 is equal to time T1 plus the data transmission time between the optical line termination device and the optical network unit.
[0021] In one embodiment, the processor 1001 can call a computer program stored in memory 1005 and perform the following operations: The second bandwidth is allocated to the optical network unit in the passive optical network, The optical network unit receives the uplink burst transmitted according to the second bandwidth, Based on the traffic data of the uplink regular traffic carried to the aforementioned uplink burst, the traffic data characteristics are determined.
[0022] In one embodiment, the traffic data features further include a first arrival time when the optical line termination device receives the traffic data, or a second arrival time when the traffic data arrives at the optical network unit, and the processor 1001 can call a computer program stored in memory 1005 and further perform the following operations. The traffic data is analyzed to determine the length of the traffic data packets, and the number of traffic data packets received is obtained. In the aforementioned upstream burst, it is detected whether or not there is idle data before the traffic data. If the presence of idle data is detected, at least two of the first arrival times are determined based on the idle data, or at least two of the second arrival times are determined based on the idle data. Based on the number of traffic data and the two first arrival times, the traffic data cycle of the traffic data is determined, or based on the number of traffic data and the two second arrival times, the traffic data cycle of the traffic data is determined.
[0023] In one embodiment, the processor 1001 can call a computer program stored in memory 1005 and perform the following operations: If it is detected that the traffic data carried in the aforementioned upstream burst is incomplete, combine it with a new upstream burst that has received the aforementioned upstream burst. Based on the traffic data carried in the combined upstream burst, the number of traffic data packets and the length of the traffic data packets are determined.
[0024] In one embodiment, the processor 1001 can call a computer program stored in memory 1005 and perform the following operations: The second bandwidth is allocated to the optical network unit multiple times within a predetermined time, or The second bandwidth is concentrated and allocated to the optical network unit at a predetermined location.
[0025] Based on the configuration of the operating device for the hardware operating environment according to the embodiment of the present application described above, we propose an overall concept of the bandwidth allocation method provided by the embodiment of the present application.
[0026] A passive optical network is generally a point-to-point or point-to-multipoint network consisting of an OLT (Optical Line Termination) device, an ODN (Optical Distribution Network), and at least one ONU (Optical Network Unit). In this passive optical network, downstream data uses a natural broadcast method; that is, information and traffic transmitted by the OLT device via broadcast are received by all ONU units and filtered by each ONU unit. In the upstream direction, if a user terminal connected to an ONU unit uploads traffic data to the ONU unit, but the ONU unit does not currently have the corresponding upstream bandwidth, the traffic data is cached in the ONU unit until it gains upstream bandwidth, and then transmitted to the OLT device. This is an unfavorable situation for upstream periodic traffic, which is susceptible to delay and jitter, in a passive optical network.
[0027] In a passive optical network, the upstream data direction is unfavorable for upstream periodic traffic. This embodiment proposes a bandwidth allocation method in which the optical line termination equipment in the passive optical network collects traffic data characteristics of upstream periodic traffic at the central office, and then allocates upstream bandwidth to the optical network unit based on the collected traffic data characteristics. As a result, after upstream periodic traffic data transmitted from terminal devices connected to the optical network unit arrives at the optical network unit, the optical network unit can forward it according to the upstream bandwidth allocated by the optical line termination equipment. In this embodiment, the OLT identifies the traffic characteristics and completes the bandwidth allocation, achieving zero-latency or low-latency transfer from the ONU to the OLT.
[0028] Thus, compared to conventional technology, the embodiment of the present invention accurately allocates bandwidth to the ONU optical network unit by detecting the traffic data characteristics of uplink periodic traffic in the passive optical network on the OLT optical line termination device side, enabling the ONU optical network unit to transfer uplink periodic traffic data with zero or low latency, and shortening the cache time of uplink periodic traffic in the ONU optical network unit.
[0029] Based on the overall concept of the bandwidth allocation method provided by the embodiments of the present application described above, further embodiments of the bandwidth allocation method are proposed.
[0030] The bandwidth allocation method provided herein is applied to the above-mentioned operating device, which may be a communication device including a bandwidth allocation device, or an OLT optical line termination device in the passive optical network described above. To make it clear, depending on the needs of different designs in which it is actually applied, the bandwidth allocation method provided herein can of course be applied to other terminal devices in different executable embodiments. For the sake of understanding and to explain the technical solution, the bandwidth allocation method provided herein will be described below with the OLT optical line termination device as the implementing body of the solution.
[0031] Referring to Figure 2, Figure 2 is a flowchart showing the steps of a first embodiment of the present invention. While this flowchart shows a logical sequence, in some cases the bandwidth allocation method of the present invention may perform the steps illustrated or described in a different order than shown herein.
[0032] As shown in Figure 2, in the first embodiment of the present invention, the bandwidth allocation method provided herein may include the following steps.
[0033] Step S10: The traffic data features of the uplink periodic traffic in the passive optical network are detected, and the traffic data features include at least the traffic data packet length and the traffic data cycle.
[0034] In this embodiment, when the OLT optical line termination device detects that an ONU optical network unit is forwarding uplink periodic traffic to itself in the passive optical network on which it is located, it immediately detects the traffic data characteristics of the uplink periodic traffic and obtains traffic data characteristics including at least the traffic data packet length and the traffic data cycle.
[0035] In this embodiment and in each other executable embodiment, the traffic data packet length among the traffic data features detected by the OLT optical line termination device is obtained by the OLT optical line termination device throughout the detection process. Throughout the detection process, if the OLT optical line termination device detects that the packet lengths of each of the multiple traffic data are all the same, the OLT optical line termination device may use the packet length of any of the detected traffic data as the traffic data packet length. If the OLT optical line termination device detects that the packet lengths of each of the multiple traffic data are all different, the OLT optical line termination device uses the largest packet length among the detected traffic data as the maximum traffic data packet length.
[0036] Furthermore, among the traffic data features detected by the OLT optical line termination device, the traffic data cycle indicates that the transmission time interval between any two adjacent traffic data transmissions is the same among the traffic data transferred from the ONU optical network unit to the OLT optical line termination device, i.e., that traffic data transmission from the ONU optical network unit to the OLT optical line termination device is periodic. As can be understood, jitter occurs in the transmission process of traffic data in passive optical networks, so there may be some error between two adjacent traffic data cycles detected by the OLT optical line termination device. In that case, as long as the error between the traffic data cycles detected by the OLT optical line termination device does not exceed a predetermined error tolerance range (the specific size can be set according to the actual application), the OLT optical line termination device can calculate the average value of multiple cycles and use that as the traffic data cycle within the currently detected traffic data features.
[0037] In step S20, the optical network unit in the passive optical network is allocated the first bandwidth, which is greater than or equal to the traffic data packet length, according to the traffic data cycle, so that the optical network unit transfers the traffic data of the uplink periodic traffic according to the first bandwidth.
[0038] In this embodiment, after detecting the traffic data features including at least the traffic data packet length and the traffic data cycle, the OLT optical line termination device can allocate a first bandwidth, whose length is equal to or greater than the traffic data packet length, to one or more ONU optical network units in the currently located passive optical network, according to the traffic data cycle. This allows the ONU optical network unit, after receiving the first bandwidth allocated by the OLT optical line termination device in the current passive optical network, to immediately transfer subsequently received uplink periodic traffic data to the OLT optical line termination device with zero or low latency using the first bandwidth.
[0039] In this embodiment and in each other executable embodiment, the passive optical network in application scenarios such as industrial control shown in Figures 3a and 3b typically has the transmission of uplink periodic traffic. That is, the controller sends periodic commands to terminal devices via the passive optical network, the terminal devices perform operations on the uplink periodic traffic based on the commands, and send periodic status or execution confirmation information to the controller. In this scenario, the traffic data of the uplink periodic traffic is transferred according to the scenario shown in Figure 4. As shown in Figure 4, the uplink periodic traffic includes, but is not limited to, the following traffic data characteristics. 1. The transmission speed of traffic data is fixed. 2. The interval between any two adjacent traffic data transmissions is the same, and both are T, where T is the traffic data cycle. 3. The location of the traffic data is specific; that is, when the ONU optical network unit begins to transmit traffic data to the OLT optical line termination device, the time at which the traffic data is transmitted on the time axis is specific, and ti indicates the transmission location of the i-th traffic data. 4. The packet length of the traffic data transmitted each time by the ONU optical network unit is the same and is always L, where L is the traffic data packet length, and the packet length of the traffic data transmitted each time by the ONU optical network unit does not exceed L. 5. Traffic data monopolizes the T-CONT (Transmission Container, a carrier for carrying traffic in the GPON uplink direction), meaning that all traffic data for uplink periodic traffic transmitted by the ONU optical network unit to the OLT optical line termination device is transmitted via the designated T-CONT, and no other traffic data is carried on that T-CONT.
[0040] However, in actual operating environments, both the controller and terminal devices are systems independent of the passive optical network, and each only transmits relevant control information via the passive optical network. Therefore, the passive optical network cannot obtain accurate information such as the traffic data cycle T and the traffic data transmission position ti. Furthermore, jitter occurs during the transmission of traffic data in the passive optical network, which also necessitates that the OLT optical line termination equipment in the passive optical network tolerate traffic jitter when allocating bandwidth to the ONU optical network unit.
[0041] Based on this, the bandwidth allocation method provided by the embodiment of the present application detects the traffic data characteristics of the above-mentioned upstream periodic traffic using an OLT optical line termination device, and transfers the traffic data of the upstream periodic traffic to an ONU optical network unit to perform bandwidth allocation, thereby avoiding the increase in cost due to the traffic data being cached in the ONU optical network unit.
[0042] In one embodiment, as shown in Figure 5, the bandwidth allocation method provided by the embodiment of the present invention involves an OLT optical line termination device detecting the traffic data characteristics of the above-mentioned upstream periodic traffic, including the traffic data cycle T, the transmission position tx of the arbitrary traffic data, and the traffic data packet length L. Subsequently, the OLT optical line termination device transfers the traffic data of the upstream periodic traffic to the ONU optical network unit based on each identified traffic data characteristic and allocates bandwidth, that is, from the transmission position tx, one bandwidth of at least L for each traffic data cycle T is allocated to the ONU optical network unit. In this way, when the ONU optical network unit transfers the upstream periodic traffic data to the OLT optical line termination device, latency and jitter can be minimized without wasting bandwidth.
[0043] For example, as shown in Figure 3a, in application scenarios such as industrial control, a controller connected to a passive optical network periodically sends execution commands to terminal devices, and the terminal devices periodically send execution responses and status reports to the controller. In this case, it is necessary to periodically send traffic data from the terminal devices to the controller, and then transmit this periodic traffic data upstream from the ONU optical network unit to the OLT optical line termination device. At the stage when traffic is initiated, a commissioning and learning process is required. That is, the controller and terminal devices transmit traffic in their own way, and in the upstream direction, the ONU optical network unit also transmits traffic in its own way. The OLT optical line termination device detects the traffic data transmitted by the terminal devices via the ONU optical network unit and acquires the traffic data characteristics of the upstream periodic traffic. Then, based on the acquired traffic data characteristics, the OLT optical line termination device allocates upstream bandwidth to the ONU optical network unit to complete the learning and commissioning process. Finally, after the traffic data of the uplink periodic traffic transmitted from the terminal device arrives at the ONU optical network unit, the ONU optical network unit transmits the traffic data to the OLT optical line termination device according to the uplink bandwidth allocated to the ONU optical network unit by the OLT optical line termination device, and the OLT optical line termination device may further transmit the traffic data to the controller.
[0044] Furthermore, as shown in Figure 3b, in application scenarios such as industrial control, a controller connected to a passive optical network periodically sends execution commands to terminal devices, and the terminal devices periodically send execution responses and status reports to the controller. In this case, it is necessary to periodically send traffic data from the terminal devices to the controller, and this also requires the transmission of this periodic traffic data upstream from the ONU optical network unit to the OLT optical line termination unit and further to other ONU optical network units. At the stage when traffic is initiated, a commissioning and learning process is necessary. That is, the controller and terminal devices transmit traffic in their own way, and in the upstream direction, the ONU optical network unit also transmits traffic in its own way. The OLT optical line termination unit detects the traffic data transmitted by the terminal devices via the ONU optical network unit and acquires the traffic data characteristics of the upstream periodic traffic. Then, based on the acquired traffic data characteristics, the OLT optical line termination unit allocates upstream bandwidth to the ONU optical network unit to complete the learning and commissioning process. Finally, after the traffic data of the uplink periodic traffic transmitted from the controller arrives at the ONU optical network unit, the ONU optical network unit transmits the traffic data to the OLT optical line termination device according to the uplink bandwidth allocated to the ONU optical network unit by the OLT optical line termination device, and the OLT optical line termination device may further transmit the traffic data to terminal devices.
[0045] In this embodiment, the bandwidth allocation method provided by the embodiment of the present application, when an OLT optical line termination device detects that an ONU optical network unit is forwarding uplink periodic traffic to itself in the passive optical network on which it is located, it immediately detects the traffic data characteristics of the uplink periodic traffic and obtains traffic data characteristics including at least the traffic data packet length and the traffic data cycle. Thereafter, the OLT optical line termination device allocates a first bandwidth, whose length is equal to or greater than the traffic data packet length, to one or more ONU optical network units in the passive optical network on which it is currently located, according to the traffic data cycle. As a result, after the ONU optical network unit receives the first bandwidth allocated by the OLT optical line termination device in the current passive optical network, it can immediately forward the uplink periodic traffic data subsequently received to the OLT optical line termination device with zero or low latency using the first bandwidth.
[0046] Thus, compared to conventional technology, the embodiment of the present invention accurately allocates bandwidth to the ONU optical network unit by detecting the traffic data characteristics of uplink periodic traffic in the passive optical network on the OLT optical line termination device side, enabling the ONU optical network unit to transfer uplink periodic traffic data with zero or low latency, and shortening the cache time of uplink periodic traffic in the ONU optical network unit.
[0047] In some other viable embodiments, the bandwidth allocation method provided by the embodiment of the present application may also allow an OLT optical line termination device to adjust a first bandwidth periodically allocated to an ONU optical network unit based on the situation in the upstream burst of traffic data transmitted from the OLT optical line termination device (whether there is idle data before or after the traffic data). Exemplarily, when the OLT optical line termination device allocates a first bandwidth to an ONU optical network unit, if the allocated first bandwidth is greater than the traffic data packet length, there is idle data before the traffic data in the upstream burst, and therefore the requirement is met. If the allocated first bandwidth is equal to the traffic data packet length, adjusting the allocation position tx of the first bandwidth further forward or backward will result in incomplete traffic data packets appearing in the upstream burst, in which case the OLT optical line termination device needs to back off and stop the adjustment.
[0048] Based on the first embodiment of the present invention described above, a second embodiment of the present invention is proposed.
[0049] In a second embodiment of the present invention, the traffic data characteristics of the uplink periodic traffic detected by the OLT optical line termination device further include the data arrival time when the traffic data arrives at the ONU optical network unit, or the data arrival time when the traffic data arrives at the OLT optical line termination device. Based on this, in the bandwidth allocation method provided by the present invention, the step of the OLT optical line termination device allocating a first bandwidth to the ONU optical network unit in accordance with the traffic data cycle is: The process may include the step of allocating a first bandwidth to the ONU optical network unit at a time T prior to the data arrival time, according to the traffic data cycle.
[0050] In this embodiment, when the OLT optical line termination device detects the traffic data features of the above-mentioned uplink periodic traffic, it detects the traffic data packet length L and the traffic data cycle T, and further detects the data arrival time when the traffic data arrives at the ONU optical network unit, and / or the data arrival time when the traffic data arrives at the OLT optical line termination device, which are included in the traffic data features. In this way, when the OLT optical line termination device allocates a first bandwidth, whose length is equal to or greater than the traffic data packet length L, to one or more ONU optical network units in the currently located passive optical network, according to the traffic data cycle T, it can specifically allocate the first bandwidth to one or more ONU optical network units at a time T before the time the data arrives, within each traffic data cycle T.
[0051] In some feasible embodiments, among the data arrival times detected by the OLT optical line termination device, the data arrival time when the OLT optical line termination device receives the traffic data is defined as the first arrival time, and the data arrival time when the traffic data arrives at the ONU optical network unit is defined as the second arrival time. Here, the second arrival time when the traffic data arrives at the ONU optical network unit is obtained by subtracting the data transmission time between the ONU optical network unit and the OLT optical line termination device from the first arrival time when the traffic data arrives at the OLT optical line termination device. Furthermore, the above time T includes corresponding times T0 and T1, and time T0 is equal to time T1 plus the data transmission time between the OLT optical line termination device and the ONU optical network unit.
[0052] Based on this, the step of the above-mentioned OLT optical line termination device allocating the first bandwidth to the ONU optical network unit at time T prior to the data arrival time is: The process may include the step of allocating the first bandwidth to the ONU optical network unit at a time T0 prior to the first arrival time, or allocating the first bandwidth to the ONU optical network unit at a time T1 prior to the second arrival time.
[0053] In this embodiment, if the data arrival time detected and obtained by the OLT optical line termination device is the first arrival time when the OLT optical line termination device receives the traffic data, the OLT optical line termination device allocates a first bandwidth, whose length is equal to or greater than the traffic data packet length L, to one or more ONU optical network units in the currently located passive optical network, according to the traffic data cycle T. Specifically, within each traffic data cycle T, the OLT optical line termination device always allocates the first bandwidth to one or more ONU optical network units at a time T0 prior to the first arrival time.
[0054] If the data arrival time detected and obtained by the OLT optical line termination device is the second arrival time when the traffic data arrives at the ONU optical network unit, the OLT optical line termination device allocates a first bandwidth, whose length is equal to or greater than the traffic data packet length L, to one or more ONU optical network units in the currently located passive optical network, according to the traffic data cycle T, and specifically allocates the first bandwidth to one or more ONU optical network units at a time T1 prior to the second arrival time within each traffic data cycle T.
[0055] In this embodiment, the bandwidth allocation method provided herein allows the OLT optical line termination device to detect the traffic data packet length L and traffic data cycle T when detecting the traffic data features of the above-mentioned uplink periodic traffic, and further detect the data arrival time when the traffic data arrives at the ONU optical network unit and / or the data arrival time when the traffic data arrives at the OLT optical line termination device, which are included in the traffic data features. In this way, when the OLT optical line termination device allocates a first bandwidth having a length of at least the traffic data packet length L to one or more ONU optical network units in the currently located passive optical network according to the traffic data cycle T, it is possible to specifically allocate a first bandwidth having a length of at least the traffic data packet length L to one or more ONU optical network units at a time T prior to the data arrival time within each traffic data cycle T.
[0056] This ensures that the bandwidth allocation method provided by the present invention ensures that the time at which the first bandwidth is allocated to one or more ONU optical network units is earlier than the time at which the traffic data of the upstream periodic traffic arrives at the ONU optical network units. Furthermore, after the ONU optical network units receive the first bandwidth allocated by the OLT optical line termination equipment, they can use the first bandwidth to immediately transfer the traffic data of the upstream periodic traffic received thereafter to the OLT optical line termination equipment with zero or low latency.
[0057] Based on the first and / or second embodiments of the present invention described above, a third embodiment of the present invention is proposed.
[0058] In the third embodiment of the present invention, the step in step S10 described above, "detecting traffic data characteristics of uplink periodic traffic in the passive optical network," is replaced by: The steps include allocating the second bandwidth to the optical network unit in the passive optical network, The steps include receiving an uplink burst transmitted by the optical network unit according to the second bandwidth, The process may also include the step of determining traffic data characteristics based on traffic data of upstream regular traffic carried to the upstream burst.
[0059] In this embodiment, the OLT optical line termination device allocates a second bandwidth to the ONU optical network unit, which is used exclusively to detect the above-mentioned traffic data characteristics in the passive optical network on which it is located. The ONU optical network unit then uses this second bandwidth to transmit uplink bursts to the OLT optical line termination device, which receives the uplink bursts, examines the data in the uplink bursts, and determines the above-mentioned traffic data characteristics, such as the traffic data cycle T and traffic data length L, based on the traffic data of the uplink periodic traffic carried in the uplink bursts.
[0060] In this embodiment and each other executable embodiment, the ONU optical network unit transmits uplink bursts to the OLT optical line termination device using a second bandwidth, loads uplink periodic traffic onto a designated T-CONT carrier, and transmits the T-CONT carrier to the OLT optical line termination device using the second bandwidth.
[0061] In some viable embodiments, the OLT optical line termination device, after receiving an uplink burst transmitted by the ONU optical network unit using the second bandwidth, automatically begins to detect the uplink periodic traffic carried in the uplink burst and obtains the traffic data characteristics described above.
[0062] Based on this, the step of determining the traffic data characteristics based on the traffic data of the uplink periodic traffic carried to the uplink burst by the above OLT optical line termination equipment is: The steps include analyzing the traffic data to determine the length of the traffic data packets and obtaining the number of traffic data packets received, The steps include detecting whether or not there is idle data before the traffic data in the aforementioned upstream burst, If the presence of idle data is detected, the steps include determining at least two first arrival times based on the idle data, or determining at least two second arrival times based on the idle data, The method may include the steps of determining the traffic data cycle of the traffic data based on the number of traffic data and two first arrival times, or determining the traffic data cycle of the traffic data based on the number of traffic data and two second arrival times.
[0063] In this embodiment, immediately after receiving an uplink burst transmitted by the ONU optical network unit using the second bandwidth, the OLT optical line termination device automatically extracts uplink periodic traffic from a designated T-CONT carrier, and then analyzes the traffic data of the uplink periodic traffic to determine the traffic data packet length L of the traffic data. The OLT optical line termination device can also statistically count the number of traffic data packets of all traffic data received in the current detection phase according to the traffic packet length L. At this time, the OLT optical line termination device can also roughly estimate the traffic data cycle T.
[0064] Furthermore, the OLT optical line termination device can, in the detection phase, synchronously or asynchronously detect whether the received uplink burst has idle data preceding the traffic data. If it detects that there is idle data preceding the traffic data, the OLT optical line termination device can determine that the traffic data is not cached in the ONU optical network unit. By combining this with the data transmission time between the OLT optical line termination device and the ONU optical network unit, the OLT optical line termination device can determine the first arrival time when the traffic data arrives at the OLT optical line termination device and / or the second arrival time when the traffic data arrives at the ONU optical network unit.
[0065] The OLT optical line termination device then identifies two first arrival times or two second arrival times by the same operation as described above, and then periodically calculates using the two first arrival times to determine the exact traffic data cycle T of the uplink periodic traffic data. Alternatively, it further periodically calculates using the two second arrival times to determine the exact traffic data cycle T.
[0066] [Table 1] In this embodiment and each other executable embodiment, if the time at which bandwidth is allocated to the ONU optical network unit is not earlier than the time at which the traffic data arrives at the ONU optical network unit, the traffic data is usually cached in the ONU optical network unit for a certain period of time, so that when the traffic data is later transmitted by the ONU optical network unit via an upburst and arrives at the OLT optical line termination device, there is no idle data before the traffic data in the upburst. Conversely, if the time at which bandwidth is allocated to the ONU optical network unit is earlier than the time at which the traffic data arrives at the ONU optical network unit, the traffic data is not cached in the ONU optical network unit, so that when the traffic data arrives at the OLT optical line termination device via an upburst, there is idle data before the traffic data in the upburst. Based on this, the OLT optical line termination device can take advantage of the characteristic that if there is idle data before the traffic data in the received upburst, for example, it indicates that the traffic data is not cached in the ONU optical network unit, and combine the data transmission time between the OLT optical line termination device and the ONU optical network unit to obtain the precise location when the traffic data arrives at the ONU optical network unit.
[0067] In some executable embodiments, the bandwidth allocation method provided by embodiments of the present application is further, If it is detected that the traffic data carried in the aforementioned upstream burst is incomplete, the process involves combining the aforementioned upstream burst with a new upstream burst that has received it. The steps may include determining the number of traffic data packets and the length of the traffic data packets based on the traffic data carried in the combined upstream bursts.
[0068] In this embodiment, the OLT optical line termination device can detect whether or not there is idle data before the traffic data in the received uplink burst, and based on the fact that the presence of idle data before the traffic data indicates that the traffic data is not cached in the ONU optical network unit, it can determine the time when the traffic data arrives at the OLT optical line termination device or the ONU optical network unit. It is not necessary to ensure whether or not the traffic data in the uplink burst is complete. However, in order to detect and determine the traffic data length L of the traffic data and count the traffic data, it is necessary to ensure that the traffic data is complete, otherwise it cannot be analyzed and determined. Thus, if the OLT optical line termination device detects that the traffic data carried in the currently received uplink burst is incomplete, it can combine the current uplink burst with one adjacent new uplink burst similarly transmitted by the ONU optical network unit and received at the next time. By doing so, the OLT optical line termination device can analyze the complete traffic data included in the combined uplink burst to determine the traffic data length L of the complete traffic data and count the received complete traffic data.
[0069] For example, see Figure 6 and the table below. [Table 2]
[0070] The OLT optical network terminal (OLT) detects whether there is idle data preceding the received uplink burst traffic data, and various situations are possible. In the first situation (1), the OLT detects that there is no idle data preceding the traffic data in the uplink burst. In this case, the OLT cannot determine whether the traffic data was cached in the ONU optical network unit. However, in this case, the OLT can still analyze the traffic data to obtain the traffic data length L and count the received traffic data. In the second situation (2), the OLT can obtain the traffic data length L and count the received traffic data. Furthermore, because there is idle data preceding the traffic data in the uplink burst, the OLT can determine the exact time the traffic data arrived at the OLT and obtain the first arrival time mentioned above. Furthermore, in the third situation (3), since the traffic data is incomplete, the OLT optical line termination device can obtain the first arrival time, but it is necessary to combine the currently received uplink burst with any new uplink bursts received later. If it is confirmed that complete traffic data has been received, the device analyzes the complete traffic data to obtain the traffic data length L and counts the received complete traffic data.
[0071] As shown in Figure 7, the bandwidth allocated by the OLT optical line termination device to the ONU optical network unit is carried in a superframe and transmitted to the ONU optical network unit. Each superframe has a superframe number, and each ONU optical network unit has a logical uplink start time when it receives a superframe. When this start time is transmitted and arrives at the OLT optical line termination device, there is a corresponding reference time, and this reference time is associated with the superframe number. Therefore, by combining the distance from the start time when the ONU optical network unit transmits traffic data using bandwidth allocation to this reference point, and the reference point itself, the first arrival time when the traffic data arrives at the OLT optical line termination device can be uniquely identified. Subtracting the optical fiber transmission time between the OLT optical line termination device and the ONU optical network unit from this first arrival time gives the second arrival time when the traffic data arrives at the ONU optical network unit.
[0072] In this embodiment, as shown in the application flowchart in Figure 8, the bandwidth allocation method provided by the embodiment of the present application allows the OLT optical line termination device to receive the uplink burst transmitted by the ONU optical network unit using the second bandwidth by allocating a second bandwidth exclusively for detection to a T-CONT carrier without waiting states, as specified by the ONU optical network unit, based on a specific policy during the detection phase, and to further examine the traffic data in the uplink burst. When the OLT optical line termination device detects whether there is idle data before the traffic data of the received uplink burst, if it detects that the second situation (2) or third situation (3) described above applies, the OLT optical line termination device can identify and record the initial position t1 and begin to statute the number of traffic data received thereafter. On the other hand, if the OLT optical line termination device detects any other situation, it can analyze and identify the traffic data length L of the traffic data, statute the number of traffic data received, and roughly estimate the traffic data cycle T. Furthermore, the OLT optical line termination device can continue to inspect the received uplink burst until a second condition (2) or third condition (3) is detected, and can also identify and record the termination position t2. On the other hand, if the OLT optical line termination device still detects another condition, i.e., when the cumulative number of received traffic data is n (in this case, the OLT optical line termination device is allowed to skip some second conditions (2) or third conditions (3)), the OLT optical line termination device can then obtain the exact traffic data cycle T when the ONU optical network unit transfers uplink periodic traffic to the OLT optical line termination device by calculating according to the formula T=(t2-t1) / (n+1) or T=(t2-t1) / n.
[0073] In this embodiment and each other executable embodiment, when an OLT optical line termination device records the number of traffic data received, if the OLT optical line termination device starts counting the number of traffic data when it detects the data packet (traffic data) of the start time and continues counting until it counts the packets before the end time, the number of traffic data finally counted by the OLT optical line termination device is n, in which case the OLT optical line termination device calculates the traffic data cycle T according to the formula T=(t2-t1) / n. If the OLT optical line termination device starts counting when it detects one packet after the packet of the start time and continues counting until it counts the packets before the end time, the number of traffic data finally counted by the OLT optical line termination device is n+1, in which case the OLT optical line termination device calculates the traffic data cycle T according to the formula T=(t2-t1) / (n+1).
[0074] Subsequently, the OLT optical line termination device can allocate a first bandwidth to the T-CONT carriers of the ONU optical network unit in the current passive optical network, based on the estimated transmission time of the traffic data by the ONU optical network unit, which is determined based on the traffic data length L, t1 or t2 and the optical fiber transmission time (data transmission time between the ONU optical network unit and the OLT optical line termination device), and the exact traffic data cycle T.
[0075] Thus, compared to conventional technology, the embodiment of the present invention accurately allocates bandwidth to the ONU optical network unit by detecting the traffic data characteristics of uplink periodic traffic in the passive optical network on the OLT optical line termination device side, enabling the ONU optical network unit to transfer uplink periodic traffic data with zero or low latency, and shortening the cache time of uplink periodic traffic in the ONU optical network unit.
[0076] Based on the first, second, and / or third embodiments of the present invention described above, a fourth embodiment of the present invention is proposed.
[0077] In a fourth embodiment of the present invention, the bandwidth allocation method provided herein involves the step of allocating a second bandwidth, which is exclusively for detection by the OLT optical line termination device, to an ONU optical network unit. The second bandwidth is allocated to the optical network unit multiple times within a predetermined time, or The process may include the step of centrally allocating the second bandwidth to the optical network unit at a predetermined location.
[0078] In this embodiment, during the detection phase, the OLT optical line termination device can allocate all idle bandwidth as a second bandwidth to the ONU optical network unit, and in this process, the OLT optical line termination device can allocate the second bandwidth to the ONU optical network unit in a distributed manner multiple times within a predetermined time. Alternatively, if the OLT optical line termination device predicts the possible traffic data transmission locations for uplink periodic traffic, it can concentrate the allocation of the second bandwidth to the ONU optical network unit at those transmission locations.
[0079] For example, a policy for an OLT (Optical Line Termination) to allocate a second bandwidth to an ONU (Optical Network Unit) during the detection phase includes the following: 1. From the perspective that detecting the traffic data length L and statistically counting the number of traffic data is relatively easy (it can be obtained simply by analyzing the received complete traffic data itself), the OLT optical line termination device does not have any special requirement to allocate a second bandwidth when detecting the traffic data length L and statistically counting the number of traffic data. 2. In detecting the traffic data transmission position tx and traffic data cycle T, since detecting the traffic data cycle T depends on accurately identifying the transmission position tx, and based on the possibility that the above-mentioned second situation (2) and third situation (3) may occur when detecting whether or not there is idle data idle before the traffic data in an uplink burst, the second bandwidth allocated by the OLT optical line termination device to the ONU optical network unit should be used as much as possible to detect the traffic data transmission position tx, that is, the second bandwidth should be made as large as possible to speed up the detection process. Furthermore, the second bandwidth can be allocated in a distributed manner; for example, the second bandwidth can be allocated to the ONU optical network unit m times every set time (125 microseconds), and if the second bandwidth is large, m may be increased, and if not, m may be decreased (by changing the size of m, the probability of the above-mentioned second situation (2) and third situation (3) occurring can be increased). Alternatively, the second bandwidth may be allocated intensively, that is, when possible transmission locations for traffic data are predicted, the second bandwidth may be allocated intensively to the ONU optical network unit at those transmission locations (in this way, the probability of the second situation (2) and the third situation (3) described above occurring can be increased).
[0080] In some viable embodiments, traffic data received by an OLT optical line termination device during the detection phase may collide with other traffic (not the uplink periodic traffic to which the traffic data belongs), in which case the transmission location information t of the traffic data is identified by the OLT optical line termination device detecting the first situation (1) described above. * i is inaccurate location information that is delayed compared to the actual transmission location tx of the traffic data. However, the OLT optical line termination equipment still calculates the traffic data cycle T based on the first situation (1). * It is possible to estimate T * =( t * 2-t * 1) / (n+1), and t * 2, t* Since all of 1 are delayed, T * The magnitude relationship with the actual traffic data cycle T is not specified, but the larger n is, the closer T * and T will be.
[0081] Based on this, when the OLT optical line termination device obtains accurate initial position information, it can attempt to determine subsequent position information based on the roughly estimated traffic data cycle T * After the initial position is confirmed, the OLT optical line termination device can adjust the second bandwidth assigned to the ONU optical network unit, that is, find a rough position, and at positions before and after the rough position, one large bandwidth can be assigned to the ONU optical network unit, or at positions before and after this rough position, several small bandwidths can be assigned to the ONU optical network unit.
[0082] In addition, the embodiment of the present application further provides a bandwidth allocation device applied to an optical line termination device in a passive optical network. Referring to FIG. 9, the bandwidth allocation device provided by the present application is A data detection module 10 configured to detect traffic data characteristics of upstream periodic traffic in the passive optical network, where the traffic data characteristics include at least traffic data packet length and traffic data cycle, the data detection module 10, A bandwidth allocation module 20 configured to allocate a bandwidth whose length is not less than the traffic data packet length to an optical network unit in the passive optical network according to the traffic data cycle so that the optical network unit transfers traffic data of the upstream periodic traffic according to the first bandwidth.
[0083] In one embodiment, the traffic data feature further includes a data arrival time, and the bandwidth allocation module 20 is further configured to allocate a first bandwidth to the optical network unit at a time T prior to the data arrival time, according to the traffic data cycle.
[0084] In one embodiment, the data arrival time further includes a first arrival time when the optical line termination device receives the traffic data, or a second arrival time when the traffic data arrives at the optical network unit, wherein the time T includes time T0 and time T1, and the bandwidth allocation module 20 is further configured to allocate the first bandwidth to the optical network unit at time T0 prior to the first arrival time, or to allocate the first bandwidth to the optical network unit at time T1 prior to the second arrival time, wherein the time T0 is equal to the data transmission time between the optical line termination device and the optical network unit plus the time T1.
[0085] In one embodiment, the data detection module 10 is A detection bandwidth allocation unit configured to allocate a second bandwidth to an optical network unit in the passive optical network, A burst receiving unit configured to receive uplink bursts transmitted by the optical network unit according to the second bandwidth, The system includes a burst data detection unit configured to determine traffic data characteristics based on traffic data of uplink periodic traffic carried to the uplink burst.
[0086] In one embodiment, the data detection module 10 is A data analysis unit configured to analyze the traffic data, determine the traffic data packet length of the traffic data, and obtain the number of traffic data packets received from the traffic data, An idle data detection unit configured to detect whether or not there is idle data before the traffic data in the aforementioned upstream burst, A data position detection unit is configured to, upon detecting the presence of idle data, determine at least two first arrival times based on the idle data, or determine at least two second arrival times based on the idle data. The system further includes a cycle calculation unit configured to determine the traffic data cycle of the traffic data based on the number of traffic data and two first arrival times, or to determine the traffic data cycle of the traffic data based on the number of traffic data and two second arrival times.
[0087] In one embodiment, the data detection module 10 is further configured to determine the number of traffic data packets and the length of the traffic data packets by combining the received upstream burst with a new upstream burst and based on the traffic data carried in the combined upstream burst, if it detects that the traffic data carried in the upstream burst is incomplete.
[0088] In one embodiment, the detection bandwidth allocation unit is further configured to allocate the second bandwidth to the optical network unit multiple times within a predetermined time, or to allocate the second bandwidth to the optical network unit intensively at a predetermined location.
[0089] The bandwidth allocation device provided by the embodiments of the present application solves the problem of the prior art, which is that it is not possible to achieve both high-speed tracking jump and noise reduction under different signal-to-noise ratio conditions using the bandwidth allocation method in the above embodiments. Compared to the prior art, the beneficial effects of the bandwidth allocation device provided by the embodiments of the present application are the same as the beneficial effects of the bandwidth allocation method provided by the above embodiments, and other technical features of the bandwidth allocation device are the same as those disclosed in the methods of the above embodiments, and are therefore omitted from this description.
[0090] Furthermore, embodiments of the present application provide a communication device comprising the bandwidth allocation device, memory, processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the bandwidth allocation method described above.
[0091] Furthermore, embodiments of the present invention provide a storage medium which is a computer-readable storage medium which stores a computer program, and when the computer program is executed by a processor, the steps of the bandwidth allocation method described above are realized.
[0092] In this specification, the terms “includes,” “contains,” or other similar terms are intended to cover non-exclusive inclusion, so that a process, method, article, or system containing a set of elements includes not only those elements but also other elements not explicitly listed, or further elements inherent to such process, method, article, or system. Unless further limited, an element defined by the phrase “includes one…” does not preclude the presence of additional identical elements in a process, method, article, or system containing that element.
[0093] From the above description of the embodiments, those skilled in the art will be able to see that the methods of the above embodiments can be realized by adding a general-purpose hardware platform required for the software, and of course, can be realized by hardware alone, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solutions of the present application, in their essential or prior art contributions, can be embodied in the form of a software product, which is stored in the above-mentioned storage medium (e.g., ROM / RAM, magnetic disk, optical disk, etc.) and includes several instructions for causing a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0094] The foregoing describes only some embodiments of the present application and does not limit the scope of the patent. Any equivalent structural or process transformations using the contents of the specification and drawings of the present application, or their direct or indirect application to other related technical fields, are all within the scope of the patent protection of the present application.
Claims
1. A bandwidth allocation method applicable to an optical line termination device in a passive optical network, The bandwidth allocation method is, A step of detecting traffic data characteristics of uplink periodic traffic in the passive optical network, wherein the traffic data characteristics include at least the traffic data packet length and the traffic data cycle. A bandwidth allocation method comprising the steps of allocating the first bandwidth, which is greater than or equal to the traffic data packet length, to an optical network unit in the passive optical network according to the traffic data cycle, so that the optical network unit transfers traffic data of the uplink periodic traffic according to the first bandwidth.
2. The traffic data features further include the time of data arrival, and the step of allocating the first bandwidth to the optical network unit according to the traffic data cycle is: The bandwidth allocation method according to claim 1, comprising the step of allocating a first bandwidth to the ONU optical network unit at a time T prior to the time of data arrival, in accordance with the traffic data cycle.
3. The data arrival time further includes a first arrival time when the optical line termination device receives the traffic data, or a second arrival time when the traffic data arrives at the optical network unit, and the time T includes time T0 and time T1. The step of allocating the first bandwidth to the optical network unit at a time T prior to the data arrival time is: The bandwidth allocation method according to claim 2, comprising the step of allocating the first bandwidth to the optical network unit at a time T0 prior to the first arrival time, or allocating the first bandwidth to the optical network unit at a time T1 prior to the second arrival time, wherein the time T0 is equal to the data transmission time between the optical line termination device and the optical network unit added to the time T1.
4. The step of detecting the traffic data characteristics of uplink periodic traffic in the passive optical network is: The steps include allocating the second bandwidth to the optical network unit in the passive optical network, The steps include receiving an uplink burst transmitted by the optical network unit according to the second bandwidth, A bandwidth allocation method according to any one of claims 1 to 3, comprising the step of determining traffic data characteristics based on traffic data of uplink periodic traffic carried to the uplink burst.
5. The traffic data features further include a first arrival time when the optical line termination device receives the traffic data, or a second arrival time when the traffic data arrives at the optical network unit. The step of determining the traffic data characteristics based on the traffic data carried in the aforementioned upstream burst is as follows: The steps include analyzing the traffic data to determine the length of the traffic data packets and obtaining the number of traffic data packets received, The steps include detecting whether or not there is idle data before the traffic data in the aforementioned upstream burst, If the presence of idle data is detected, the steps include determining at least two first arrival times based on the idle data, or determining at least two second arrival times based on the idle data, The bandwidth allocation method according to claim 4, comprising the steps of determining the traffic data cycle of the traffic data based on the number of traffic data and two first arrival times, or determining the traffic data cycle of the traffic data based on the number of traffic data and two second arrival times.
6. The aforementioned method, If it is detected that the traffic data carried in the aforementioned upstream burst is incomplete, the process involves combining the aforementioned upstream burst with a new upstream burst that has received it. The bandwidth allocation method according to claim 5, comprising the step of determining the number of traffic data and the length of the traffic data packets based on the traffic data carried in the combined upstream bursts.
7. The step of allocating the second bandwidth to the optical network unit is: The second bandwidth is allocated to the optical network unit multiple times within a predetermined time, or The bandwidth allocation method according to claim 4, further comprising the step of centrally allocating a second bandwidth to the optical network unit at a predetermined location.
8. A bandwidth allocation device applied to an optical line termination device in a passive optical network, wherein the bandwidth allocation device is A data detection module configured to detect traffic data features of uplink periodic traffic in the passive optical network, wherein the traffic data features include at least the traffic data packet length and the traffic data cycle. A bandwidth allocation device including a bandwidth allocation module configured to allocate a bandwidth, which is greater than or equal to the traffic data packet length, to an optical network unit in the passive optical network according to the traffic data cycle, so that the optical network unit transfers traffic data of the uplink periodic traffic according to a first bandwidth.
9. It is a communication device, The communication device includes the bandwidth allocation device, memory, processor, and computer program stored in the memory and executable on the processor as described in claim 8, wherein the computer program is configured to implement the steps of the bandwidth allocation method described in any one of claims 1 to 7.
10. A storage medium, The storage medium is a computer-readable storage medium, which stores a computer program, and which, when executed by a processor, realizes the steps of the bandwidth allocation method described in any one of claims 1 to 7.