Bandwidth allocation method and apparatus, and communication device and storage medium

By detecting the characteristics of uplink periodic service data and allocating bandwidth in the passive optical network, the delay and jitter problems caused by the ONU's lack of uplink bandwidth are solved, realizing delay-free or low-delay forwarding of service data and improving transmission efficiency. .

WO2024221834A1PCT designated stage expired Publication Date: 2024-10-31ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/130815
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2023-11-09
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In a passive optical network, when the ONU lacks uplink bandwidth, service data needs to be cached, resulting in delay and jitter, which affects the transmission efficiency of uplink periodic services.

Method used

The OLT optical line terminal detects the service data characteristics of uplink periodic services, including service data packet length and period, and allocates the corresponding bandwidth to the ONU to ensure that the service data is forwarded without delay or with low delay.

Benefits of technology

Through precise bandwidth allocation, the buffering time of service data in the ONU is reduced, the transmission efficiency of uplink periodic services is improved, and the delay and jitter are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023130815_31102024_PF_FP_ABST
    Figure CN2023130815_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of optical network communications. Disclosed are a bandwidth allocation method and apparatus, and a communication device and a storage medium. The bandwidth allocation method is applied to an optical line terminal in a passive optical network, and comprises: detecting a traffic data feature of upstream periodic traffic in a passive optical network, wherein the traffic data feature at least comprises a traffic data packet length and a traffic data period; and according to the traffic data period, allocating, to an optical network unit in the passive optical network, a first bandwidth which has a length not less than the traffic data packet length, so that the optical network unit forwards traffic data of the upstream periodic traffic by means of the first bandwidth.
Need to check novelty before this filing date? Find Prior Art

Description

Bandwidth allocation method, device, communication equipment and storage medium

[0001] Related applications

[0002] This application claims priority to Chinese patent application No. 202310481777.3 filed on April 28, 2023, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of optical network communication technology, and in particular to a bandwidth allocation method, apparatus, communication equipment, and storage medium. Background Art

[0004] In a passive optical network (PON), service data is transmitted between the optical line terminal (OLT) and the optical network unit (ONU) via the optical distribution network (ODN). However, in related technologies, in the upstream direction, if a user terminal connected to an ONU uploads service data to the ONU but the ONU does not have the corresponding upstream bandwidth, the service data will be buffered in the ONU until the ONU has upstream bandwidth before being sent to the OLT. This is very unfriendly to the periodic upstream services in PONs that are sensitive to latency and jitter.

[0005] Summary of the Invention

[0006] The main purpose of this application is to provide a bandwidth allocation method, apparatus, communication equipment and storage medium, which are intended to detect the service data characteristics of the uplink periodic service in the passive optical network on the OLT side to accurately allocate bandwidth to the ONU, thereby reducing the cache time of the uplink periodic service in the ONU.

[0007] To achieve the above objectives, an embodiment of the present application provides a bandwidth allocation method, which is applied to an optical line terminal in a passive optical network. The bandwidth allocation method includes:

[0008] Detecting service data characteristics of an uplink periodic service in the passive optical network, the service data characteristics including at least a service data packet length and a service data period;

[0009] According to the service data period, a bandwidth having a length not less than the service data packet length is allocated to the optical network unit in the passive optical network, so that the optical network unit forwards the service data of the uplink periodic service through the first bandwidth.

[0010] In addition, an embodiment of the present application further provides a bandwidth allocation device, which is applied to an optical line terminal in a passive optical network, and includes:

[0011] A data detection module is configured to detect service data characteristics of an uplink periodic service in the passive optical network, wherein the service data characteristics include at least a service data packet length and a service data period;

[0012] The bandwidth allocation module is configured to allocate a bandwidth not less than the length of the service data packet to the optical network unit in the passive optical network according to the service data period, so that the optical network unit can forward the service data of the uplink periodic service through the first bandwidth.

[0013] Each functional module of the bandwidth allocation device implements the steps of the bandwidth allocation method described above during operation.

[0014] In addition, an embodiment of the present application further provides a communication device, comprising: the bandwidth allocation apparatus as described above, a memory, a 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 as described above.

[0015] In addition, an embodiment of the present application further provides a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the bandwidth allocation method described above are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] FIG1 is a schematic diagram of the structure of the operating equipment of the hardware operating environment involved in the embodiment of the present application;

[0017] FIG2 is a schematic diagram of the steps of the bandwidth allocation method in the first embodiment of the embodiment of the present application;

[0018] 3a and 3b are schematic diagrams of industrial control based on a passive optical network according to a first embodiment of the present application;

[0019] FIG4 is a schematic diagram of a data transmission scenario involved in an embodiment of a first embodiment of the present application;

[0020] FIG5 is a schematic diagram of another data transmission scenario involved in the first embodiment of the present application;

[0021] FIG6 is a schematic diagram of the relationship between bandwidth allocation and time matching of service data involved in the first embodiment of the present application;

[0022] FIG7 is a schematic diagram showing the precise time at which data reaches the OLT and ONU involved in the first embodiment of the present application;

[0023] FIG8 is a schematic diagram of an application process for detecting business data features according to a first embodiment of the present application;

[0024] FIG9 is a schematic structural diagram of an embodiment of a bandwidth allocation device provided by an embodiment of the present application.

[0025] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0026] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0027] Refer to Figure 1, which is a schematic diagram of the operating equipment structure of the hardware operating environment involved in the embodiment of the present application.

[0028] In this embodiment, the operating device of the hardware operating environment involved in 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. The OLT optical line terminal executes a DBA dynamic bandwidth allocation mechanism in the passive optical network in which it is located to allocate bandwidth to one or more ONU optical network units in the passive optical network, so that the ONU optical network unit forwards the service data of the upstream periodic service to the OLT optical line terminal based on the allocated bandwidth.

[0029] As shown in Figure 1, the operating device may include: a processor 1001, such as 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), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may include a standard wired interface and a wireless interface (such as a wireless fidelity (WI-FI) interface). The memory 1005 may be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0030] Those skilled in the art will understand that the structure shown in FIG1 does not constitute a limitation on the operating device, and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.

[0031] As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a computer program.

[0032] In the operating device shown in FIG1 , the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the operating device of the present application can be set in the operating device, and the operating device calls the computer program stored in the memory 1005 through the processor 1001 and performs the following operations:

[0033] Detecting service data characteristics of an uplink periodic service in the passive optical network, the service data characteristics including at least a service data packet length and a service data period;

[0034] According to the service data period, a first bandwidth having a length not less than the service data packet length is allocated to the optical network unit in the passive optical network, so that the optical network unit forwards the service data of the uplink periodic service through the first bandwidth.

[0035] In one embodiment, the service data feature further includes a data arrival time when the service data arrives at the optical network unit. The processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:

[0036] A first bandwidth is allocated to the optical network unit at a time T before the arrival time of the data according to the service data cycle.

[0037] In one embodiment, the data arrival time includes: the first arrival time when the optical line terminal receives the service data, or the second arrival time when the service data arrives at the optical network unit, the T time includes the T0 time and the T1 time, and the processor 1001 can call the computer program stored in the memory 1005 and further perform the following operations:

[0038] The first bandwidth is allocated to the optical network unit at a time T0 before the first arrival time, or the first bandwidth is allocated to the optical network unit at a time T1 before the second arrival time, and the T0 time is equal to the T1 time plus the data transmission duration between the optical line terminal and the optical network unit.

[0039] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:

[0040] Allocating a second bandwidth to an optical network unit in the passive optical network;

[0041] receiving an uplink burst sent by the optical network unit through the second bandwidth;

[0042] The service data characteristics are determined according to the service data of the uplink periodic service carried in the uplink burst.

[0043] In one embodiment, the service data feature further includes: a first arrival time when the optical line terminal receives the service data, or a second arrival time when the service data arrives at the optical network unit, and the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:

[0044] Parsing the service data to determine a service data packet length of the service data, and obtaining a number of service data of the received service data;

[0045] Detecting whether there is idle data preceding the service data in the uplink burst;

[0046] In a case where the idle data is detected, determining at least two first arrival times according to the idle data, or determining at least two second arrival times according to the idle data;

[0047] The service data period of the service data is determined according to the number of service data and the two first arrival times, or the service data period of the service data is determined according to the number of service data and the two second arrival times.

[0048] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:

[0049] combining the uplink burst with a received new uplink burst when detecting that the service data carried in the uplink burst is incomplete;

[0050] The number of service data and the length of the service data packet are determined according to the service data carried in the combined uplink burst.

[0051] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:

[0052] Allocating a second bandwidth to the optical network unit multiple times within a preset time period;

[0053] or,

[0054] A second bandwidth is allocated to the optical network unit at a preset location center.

[0055] Based on the operating device structure of the hardware operating environment involved in the above-mentioned embodiment of the present application, the overall concept of the bandwidth allocation method provided by the embodiment of the present application is proposed.

[0056] A passive optical network (PON) is a point-to-point or point-to-multipoint network typically consisting of an optical line terminal (OLT), an optical distribution network (ODN), and at least one optical network unit (ONU). In this PON, downlink data is transmitted using a natural broadcast method. That is, the information and services sent by the OLT via broadcast are received by all ONUs, which then filter and receive them. In the uplink direction, if a user terminal connected to an ONU uploads service data to the ONU but the ONU lacks the corresponding uplink bandwidth, the service data will be cached in the ONU until the ONU has the uplink bandwidth before being sent to the OLT. This is very unfriendly to uplink periodic services in PONs that are sensitive to latency and jitter.

[0057] To address the situation where the upstream data direction in a passive optical network is unfriendly to upstream periodic services, an embodiment of the present application proposes a bandwidth allocation method. Through an optical line terminal in the passive optical network, the service data characteristics of the upstream periodic service are collected on the central office side. Then, based on the collected service data characteristics, upstream bandwidth is allocated to the optical network unit (ONU). As a result, upon reaching the ONU, the upstream periodic service data sent by the terminal device connected to the ONU can be forwarded by the ONU using the upstream bandwidth allocated by the OLT. In this embodiment, the OLT identifies the service characteristics and completes bandwidth allocation, achieving zero-latency or low-latency forwarding from the ONU to the OLT.

[0058] In this way, compared with the related art, the embodiment of the present application realizes the detection of the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side to accurately allocate bandwidth to the ONU optical network unit. The ONU optical network unit can forward the service data of the upstream periodic service with no delay or low delay, thereby reducing the cache time of the upstream periodic service in the ONU optical network unit.

[0059] Based on the overall concept of the bandwidth allocation method provided by the above-mentioned embodiment of the present application, various embodiments of the bandwidth allocation method are further proposed.

[0060] The bandwidth allocation method provided in this application is applied to the aforementioned operating equipment, which can be a communication device including a bandwidth allocation device, or an OLT optical line terminal in the aforementioned passive optical network. It should be understood that based on the different design requirements of actual applications, in different feasible embodiments, the bandwidth allocation method provided in this application can of course also be applied to other terminal devices. To facilitate understanding and explanation of the technical solution, the bandwidth allocation method provided in this application will be described below using the OLT optical line terminal as the executing entity of the solution.

[0061] Please refer to Figure 2, which is a flowchart of the steps of the first embodiment of the present invention. Although the flowchart shows a logical order, in some cases, the bandwidth allocation method of the present invention can also perform the steps in a different order than shown or described here.

[0062] As shown in FIG2 , in the first embodiment of the embodiment of the present application, the bandwidth allocation method provided by the present application may include the following steps:

[0063] Step S10, detecting service data characteristics of an uplink periodic service in the passive optical network, wherein the service data characteristics include at least a service data packet length and a service data period;

[0064] In this embodiment, when the OLT optical line terminal detects that the ONU optical network unit forwards an uplink periodic service to it in the passive optical network in which it is located, it immediately detects the service data characteristics of the uplink periodic service, thereby obtaining service data characteristics including at least the service data packet length and the service data period.

[0065] In this embodiment and other feasible embodiments, the service data packet length in the service data characteristics detected by the OLT optical line terminal is detected by the OLT optical line terminal during the entire detection process. During the entire detection process, if the OLT optical line terminal detects that the packet lengths of multiple service data are the same, the OLT optical line terminal may use the packet length of any detected service data as the service data packet length. If the OLT optical line terminal detects that the packet lengths of multiple service data are different, the OLT optical line terminal uses the largest packet length among the multiple service data packets detected as the maximum service data packet length.

[0066] Furthermore, the service data period in the service data signature detected by the OLT optical line terminal is used to indicate that, in the service data forwarded by the ONU optical network unit to the OLT optical line terminal, the time interval between any two adjacent service data transmissions is the same, i.e., the service data transmission by the ONU optical network unit to the OLT optical line terminal is periodic. However, it should be understood that due to jitter in the transmission of service data in the passive optical network, there may be a certain error between two adjacent service data periods detected by the OLT optical line terminal. In this case, as long as the error between the service data periods detected by the OLT optical line terminal does not exceed a predetermined allowable error range (the specific error range can be set based on actual application), the OLT optical line terminal can calculate the average of multiple periods as the service data period in the currently detected service data signature.

[0067] Step S20: Allocate a first bandwidth not less than the length of the service data packet to the optical network unit in the passive optical network according to the service data period, so that the optical network unit can forward the service data of the uplink periodic service through the first bandwidth.

[0068] In this embodiment, after detecting the service data characteristics including at least the service data packet length and the service data period, the OLT optical line terminal can allocate a first bandwidth having a length greater than or equal to the service data packet length to one or more ONU optical network units in the current passive optical network according to the service data period. Thus, after receiving the first bandwidth allocated by the OLT optical line terminal, the ONU optical network unit in the current passive optical network can use the first bandwidth to immediately forward subsequently received upstream periodic service data to the OLT optical line terminal with zero or low latency.

[0069] In this embodiment and other feasible embodiments, the passive optical network in application scenarios such as industrial control shown in Figures 3a and 3b generally has uplink periodic service transmission. That is, the controller sends periodic instructions to the terminal device through the passive optical network. The terminal device then performs uplink periodic service operations according to the instructions and sends periodic status or execution confirmation information to the controller. In this scenario, the service data of the uplink periodic service will be transmitted according to the scenario shown in Figure 4. As shown in Figure 4, the uplink periodic service includes but is not limited to the following service data characteristics:

[0070] 1. The transmission rate of business data is fixed;

[0071] 2. The interval between any two consecutive service data transmissions is the same, which is T, where T is the service data cycle;

[0072] 3. Determine the location of service data. That is, when the ONU optical network unit starts to send service data to the OLT optical line terminal, the time at which the service data is sent on the time axis is determined. ti represents the sending location of the i-th service data.

[0073] 4. The packet length of the service data sent by the ONU optical network unit each time is the same, which is L. L is the service data packet length. The packet length of the service data sent by the ONU optical network unit each time does not exceed L;

[0074] 5. Service data exclusively occupies T-CONT (Transmission Container, which is the carrier of GPON upstream services), that is, the service data of upstream periodic services sent by the ONU optical network unit to the OLT optical line terminal are all sent through the designated T-CONT, and no other service data is carried on the T-CONT.

[0075] However, in actual operation, the controller and terminal devices are independent of the PON. They only transmit relevant control information through the PON. Consequently, the PON cannot accurately obtain information such as the service data period T and the service data transmission location ti. Furthermore, jitter is present during service data transmission within the PON, requiring the OLT (Optical Line Terminal) in the PON to tolerate jitter when allocating bandwidth to the ONU (Optical Network Unit).

[0076] Based on this, the bandwidth allocation method provided in the embodiment of the present application is based on the OLT optical line terminal detecting the service data characteristics of the above-mentioned upstream periodic service, thereby allocating bandwidth for the service data of the upstream periodic service forwarded by the ONU optical network unit, thereby avoiding caching of service data in the ONU optical network unit and increasing costs.

[0077] In one embodiment, as shown in FIG5 , the bandwidth allocation method provided in this embodiment of the present application uses an OLT optical line terminal to detect service data characteristics of the upstream periodic service: the service data period T, the sending location tx of any service data, and the service data packet length L. The OLT then allocates bandwidth to the ONU optical network unit (ONU) for forwarding the service data of the upstream periodic service based on the identified service data characteristics. Specifically, starting from the sending location tx, a bandwidth no less than the service data packet length L is allocated to the ONU every service data period T. This minimizes latency and jitter when the ONU optical network unit forwards the upstream periodic service data to the OLT optical line terminal, without wasting bandwidth.

[0078] 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 replies and status reports to the controller. At this point, service data needs to be periodically sent from the terminal devices to the controller, and this periodic service data needs to be transmitted in the upstream direction from the ONU optical network unit to the OLT optical line terminal. During the service startup phase, a trial run and learning process are required. Specifically, the controller and terminal devices send services in their own ways. In the upstream direction, the ONU optical network unit also sends services in its own way. The OLT optical line terminal detects the service data sent by the terminal devices through the ONU optical network unit to obtain the service data characteristics of the upstream periodic service. The OLT optical line terminal then allocates upstream bandwidth to the ONU optical network unit based on the obtained service data characteristics to complete the learning and trial run. Finally, after the service data of the uplink periodic service sent by the terminal device reaches the ONU optical network unit, the ONU optical network unit can send the service data to the OLT optical line terminal through the uplink bandwidth allocated to the ONU optical network unit by the OLT optical line terminal, and the OLT optical line terminal further sends the service data to the controller.

[0079] Furthermore, as shown in Figure 3b, in applications 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 replies and status reports to the controller. In this case, service data needs to be periodically transmitted from the terminal devices to the controller. This periodic service data also needs to be transmitted upstream from the ONU optical network unit (ONU) to the OLT optical line terminal (OLT) and then to other ONU optical network units. During the service startup phase, a trial run and learning process is required. Specifically, the controller and terminal devices transmit services in their own ways. In the upstream direction, the ONU optical network unit also transmits services in its own way. The OLT optical line terminal detects the service data sent by the terminal devices through the ONU optical network unit to obtain the service data characteristics of the upstream periodic service. The OLT optical line terminal then allocates upstream bandwidth to the ONU optical network unit based on the obtained service data characteristics to complete the learning and trial run. Finally, after the service data of the uplink periodic service sent by the controller reaches the ONU optical network unit, the ONU optical network unit can send the service data to the OLT optical line terminal through the uplink bandwidth allocated to the ONU optical network unit by the OLT optical line terminal, and the OLT optical line terminal further sends the service data to the terminal device.

[0080] In this embodiment, the bandwidth allocation method provided by the embodiments of the present application involves an OLT optical line terminal detecting that an ONU optical network unit in the passive optical network in which it is located is forwarding upstream periodic services to it. The OLT optical line terminal immediately detects the service data characteristics of the upstream periodic services, thereby obtaining service data characteristics that include at least the service data packet length and the service data period. The OLT optical line terminal then allocates a first bandwidth, whose length is greater than or equal to the service data packet length, to one or more ONU optical network units in the current passive optical network in accordance with the service data period. Consequently, after receiving the first bandwidth allocated by the OLT optical line terminal, the ONU optical network unit in the current passive optical network can use the first bandwidth to instantly forward subsequently received upstream periodic service data to the OLT optical line terminal with zero or low latency.

[0081] In this way, compared with the related art, the embodiment of the present application realizes the detection of the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side to accurately allocate bandwidth to the ONU optical network unit. The ONU optical network unit can forward the service data of the upstream periodic service with no delay or low delay, thereby reducing the cache time of the upstream periodic service in the ONU optical network unit.

[0082] In other feasible embodiments, the bandwidth allocation method provided in the embodiments of the present application can also adjust the first bandwidth periodically allocated to the ONU optical network unit by the OLT optical line terminal based on the status of the service data sent by the ONU optical network unit in the upstream burst (whether there is idle data before or after the service data). For example, when the OLT optical line terminal allocates the first bandwidth to the ONU optical network unit, if the allocated first bandwidth is greater than the length of the aforementioned service data packet, there will be idle data before the service data in the upstream burst, thus meeting the requirement. However, if the allocated first bandwidth is equal to the length of the service data packet, then adjusting the allocation position tx of the first bandwidth forward or backward at this time will result in incomplete service data packets in the upstream burst, in which case the OLT optical line terminal needs to back off and stop adjusting.

[0083] Based on the first embodiment of the embodiment scheme of the present application described above, a second embodiment of the embodiment scheme of the present application is proposed.

[0084] In a second embodiment of the embodiment of the present application, the service data characteristics of the uplink periodic service detected by the OLT optical line terminal further include: the data arrival time of the service data arriving at the ONU optical network unit, or the data arrival time of the service data arriving at the OLT optical line terminal. Based on this, in the bandwidth allocation method provided by the present application, the OLT optical line terminal allocates the first bandwidth to the ONU optical network unit according to the service data period, which may include:

[0085] A first bandwidth is allocated to the optical network unit at a time T before the arrival time of the data according to the service data cycle.

[0086] In this embodiment, when detecting the service data characteristics of the upstream periodic service, in addition to detecting the service data packet length L and service data period T, the OLT optical line terminal also detects the data arrival time of the service data included in the service data characteristics at the ONU optical network unit, and / or detects the data arrival time of the service data at the OLT optical line terminal. Thus, when the OLT optical line terminal allocates a first bandwidth having a length greater than or equal to the service data packet length L to one or more ONU optical network units currently in the passive optical network according to the service data period T, specifically, the first bandwidth may be allocated to the one or more ONU optical network units at time T prior to the data arrival time within each service data period T.

[0087] In some feasible embodiments, among the data arrival times detected by the OLT optical line terminal, the data arrival time when the OLT optical line terminal receives the service data is the first arrival time, and the data arrival time when the service data arrives at the ONU optical network unit is the second arrival time. The second arrival time of the service data arriving at the ONU optical network unit is obtained by subtracting the data transmission duration between the ONU optical network unit and the OLT optical line terminal from the first arrival time of the service data arriving at the OLT optical line terminal. Furthermore, the aforementioned time T corresponds to time T0 and time T1, and time T0 is equal to time T1 plus the data transmission duration between the OLT optical line terminal and the ONU optical network unit.

[0088] Based on this, the OLT optical line terminal allocates the first bandwidth to the ONU optical network unit at time T before the data arrives, which may include:

[0089] The first bandwidth is allocated to the optical network unit at time T0 before the first arrival time, or the first bandwidth is allocated to the optical network unit at time T1 before the second arrival time.

[0090] In this embodiment, if the data arrival time detected by the OLT optical line terminal is the first arrival time of the service data received by the OLT optical line terminal, then the OLT optical line terminal allocates a first bandwidth having a length greater than or equal to the service data packet length L to one or more ONU optical network units in the current passive optical network according to the service data cycle T, that is, specifically within each service data cycle T, at time T0 before the first arrival time, the first bandwidth is allocated to one or more ONU optical network units.

[0091] If the data arrival time detected by the OLT optical line terminal is the second arrival time when the service data arrives at the ONU optical network unit, the OLT optical line terminal allocates a first bandwidth having a length greater than or equal to the service data packet length L to one or more ONU optical network units in the current passive optical network according to the service data cycle T, that is, specifically within each service data cycle T, at the time T1 before the second arrival time, the first bandwidth is allocated to one or more ONU optical network units.

[0092] In this embodiment, the bandwidth allocation method provided by the present application, when detecting the service data characteristics of the above-mentioned uplink periodic service, in addition to detecting the above-mentioned service data packet length L and service data period T, the OLT optical line terminal also detects the data arrival time of the service data included in the service data characteristics at the ONU optical network unit, and / or detects the data arrival time of the service data at the OLT optical line terminal. In this way, when the OLT optical line terminal allocates a first bandwidth with a length greater than or equal to the service data packet length L to one or more ONU optical network units currently in the passive optical network according to the service data period T, specifically, within each service data period T, at time T before the data arrival time, the first bandwidth with a length greater than or equal to the service data packet length L is allocated to one or more ONU optical network units.

[0093] Therefore, the bandwidth allocation method provided by the present application can ensure that the first single bandwidth is allocated to one or more ONU optical network units before the service data of the upstream periodic service reaches the ONU optical network unit. Furthermore, after receiving the first bandwidth allocated by the OLT optical line terminal, the ONU optical network unit can use the first bandwidth to immediately forward the service data of the subsequently received upstream periodic service to the OLT optical line terminal with no or low latency.

[0094] Based on the first embodiment and / or the second embodiment of the embodiment scheme of the present application described above, a third embodiment of the embodiment scheme of the present application is proposed.

[0095] In a third embodiment of the application embodiment, the step of “detecting service data characteristics of the uplink periodic service in the passive optical network” in the above step S10 may include:

[0096] Allocating a second bandwidth to an optical network unit in the passive optical network;

[0097] receiving an uplink burst sent by the optical network unit through the second bandwidth;

[0098] The service data characteristics are determined according to the service data of the uplink periodic service carried in the uplink burst.

[0099] In this embodiment, the OLT optical line terminal allocates a second bandwidth specifically for detecting the above-mentioned service data characteristics to the ONU optical network unit in the passive optical network in which it is located, so that the ONU optical network unit uses the second bandwidth to send an uplink burst to the OLT optical line terminal, and the OLT optical line terminal receives the uplink burst and checks the data in the uplink burst, thereby determining the above-mentioned service data characteristics such as the service data period T and service data length L based on the service data of the uplink periodic service carried in the uplink burst.

[0100] In this embodiment and other feasible embodiments, when the ONU optical network unit sends an uplink burst to the OLT optical line terminal using the second bandwidth, the uplink periodic service is carried in the designated T-CONT carrier, thereby transmitting the T-CONT carrier to the OLT optical line terminal using the second bandwidth.

[0101] In some feasible embodiments, after receiving the uplink burst sent by the ONU optical network unit using the second bandwidth, the OLT optical line terminal automatically starts detecting the uplink periodic service carried in the uplink burst to obtain the above-mentioned various service data features.

[0102] Based on this, the OLT optical line terminal determines the service data characteristics according to the service data of the uplink periodic service carried in the uplink burst, which may include:

[0103] Parsing the service data to determine a service data packet length of the service data, and obtaining a number of service data of the received service data;

[0104] Detecting whether there is idle data preceding the service data in the uplink burst;

[0105] In a case where the idle data is detected, determining at least two first arrival times according to the idle data, or determining at least two second arrival times according to the idle data;

[0106] The service data period of the service data is determined according to the number of service data and the two first arrival times, or the service data period of the service data is determined according to the number of service data and the two second arrival times.

[0107] In this embodiment, after receiving an uplink burst transmitted by the ONU optical network unit using the second bandwidth, the OLT optical line terminal immediately and automatically extracts the uplink periodic service from the designated T-CONT bearer, then parses the service data of the uplink periodic service to determine the service data packet length L of the service data. Furthermore, the OLT optical line terminal can count the number of service data received during the current detection phase based on the service data packet length L. At this point, the OLT optical line terminal can further roughly estimate the service data period T.

[0108] In addition, the OLT optical line terminal can also synchronously or asynchronously detect whether there is idle data preceding the service data in the received uplink burst during the detection phase. Therefore, if the idle data is detected before the service data, the OLT optical line terminal can determine that the service data is not cached on the ONU optical network unit. Furthermore, based on the data transmission duration between the OLT optical line terminal and the ONU optical network unit, the OLT optical line terminal can determine the first arrival time of the service data at the OLT optical line terminal and / or the second arrival time of the service data at the ONU optical network unit.

[0109] Then, after respectively determining the two first arrival times or the two second arrival times according to the same operation as above, the OLT optical line terminal further uses the two first arrival times to perform period calculation to thereby determine an accurate service data period T of the service data of the uplink periodic service. Alternatively, the OLT further uses the two second arrival times to perform period calculation to thereby determine an accurate service data period T.

[0110] Please refer to Figure 6, as shown in Figure 6 For business data, is the bandwidth, For uplink bursts. In this embodiment and other feasible embodiments, if the bandwidth is allocated to the ONU optical network unit no earlier than the time when the service data arrives at the ONU optical network unit, the service data will typically be cached in the ONU optical network unit for a certain period of time. Therefore, when the service data is subsequently transmitted from the ONU optical network unit to the OLT optical line terminal via an uplink burst, there will be no idle data preceding the service data in the uplink burst. However, if the bandwidth is allocated to the ONU optical network unit earlier than the time when the service data arrives at the ONU optical network unit, the service data will not be cached in the ONU optical network unit. Therefore, when the service data arrives at the OLT optical line terminal via an uplink burst, there will be idle data preceding the service data in the uplink burst. Based on this, the OLT optical line terminal can utilize the fact that if there is idle data preceding the service data in a received uplink burst, it indicates that the service data is not cached in the ONU optical network unit, and combine this with the data transmission duration between the OLT optical line terminal and the ONU optical network unit to determine the precise location at which the service data arrives at the ONU optical network unit.

[0111] In some feasible embodiments, the bandwidth allocation method provided in the embodiments of the present application may further include:

[0112] combining the uplink burst with a received new uplink burst when detecting that the service data carried in the uplink burst is incomplete;

[0113] The number of service data and the length of the service data packet are determined according to the service data carried in the combined uplink burst.

[0114] In this embodiment, the OLT detects whether there is idle data preceding the service data in a received upstream burst. Based on the presence of idle data preceding the service data, the OLT determines the time at which the service data arrives at the OLT or ONU, indicating that the service data is not cached in the ONU. This does not require ensuring the integrity of the service data in the upstream burst. However, to determine the service data length L of the service data and to count the service data, the service data must be complete before parsing and determining the data. Thus, if the OLT detects that the service data written in the currently received upstream burst is incomplete, the OLT can combine the current upstream burst with a new, adjacent upstream burst received at the next moment and also sent by the ONU. The OLT can then parse the complete service data contained in the combined upstream burst to determine the service data length L of the complete service data and to count the number of received complete service data.

[0115] For example, as shown in FIG6 and the following table:

[0116] The OLT optical line terminal can detect various situations by detecting whether there is idle data before the received uplink burst service data. Among them, in the first situation (1), the OLT optical line terminal detects that there is no idle data before the service data in the uplink burst. At this time, the OLT optical line terminal cannot determine whether the service data has been cached in the ONU optical network unit. However, at this time, the OLT optical line terminal can still obtain the service data length L by parsing the service data and can count the received service data. In addition, in the second situation (2), in addition to obtaining the service data length L and counting the received service data, since there is idle data before the service data in the uplink burst, the OLT optical line terminal can now determine the exact time when the service data reaches the OLT optical line terminal and obtain the above-mentioned first arrival time. And, in the third case (3), since the service data is not sent completely, the OLT optical line terminal can obtain the first arrival time, but it is necessary to combine the currently received uplink burst with the subsequent new uplink burst to parse the complete service data to obtain the service data length L and count the received complete service data after confirming that the complete service data has been received.

[0117] As shown in Figure 7, the bandwidth allocated by the OLT optical line terminal to the ONU optical network unit is carried in a superframe and transmitted to the ONU optical network unit. A superframe has a superframe number. Each ONU optical network unit has a logical uplink start time upon receiving the superframe. This start time also has a corresponding reference time when it is transmitted to the OLT optical line terminal. This reference time is related to the superframe number. Therefore, the distance from the start time of data transmission at the ONU optical network unit using bandwidth allocation to this reference point, combined with the reference point, uniquely represents the first arrival time of the service data at the OLT optical line terminal. Subtracting the fiber transmission time between the OLT optical line terminal and the ONU optical network unit from this first arrival time yields the second arrival time of the service data at the ONU optical network unit.

[0118] In this embodiment, as shown in the application process of FIG8 , the bandwidth allocation method provided by the embodiment of the present application allocates a second bandwidth specifically for detection to a T-CONT carrier designated as zero-wait on an ONU optical network unit according to a certain strategy during the detection phase through the OLT optical line terminal, thereby receiving the uplink burst sent by the ONU optical network unit using the second single bandwidth, and further checking the service data in the uplink burst. Thus, if the OLT optical line terminal detects whether there is idle data idle before the received uplink burst service data, and detects the second case (2) or the third case (3) mentioned above, the OLT optical line terminal can identify and record the initial position t1, and start to count the number of service data received subsequently; and if the OLT optical line terminal detects other cases, the OLT optical line terminal can parse and identify the service data length L of the service data, count the number of received service data, and roughly estimate the service data period T. In addition, the OLT optical line terminal can continue to check the received uplink burst until it continues to detect the second situation (2) or the third situation (3), and further identify and record the end position t2; and if the OLT optical line terminal still detects other situations, that is, the cumulative number of received service data is n (in this case, the OLT optical line terminal is allowed to skip several second situations (2) or third situations (3)). After that, the OLT optical line terminal can calculate according to the formula T = (t2-t1) / (n+1) or T = (t2-t1) / n to obtain the accurate service data period T when the ONU optical network unit forwards the uplink periodic service to the OLT optical line terminal.

[0119] In this embodiment and other feasible embodiments, when the OLT optical line terminal records the number of received service data, if the OLT optical line terminal begins counting the number of service data after detecting a data packet (service data) at the start time and continues counting until a data packet before the end time is counted, the number of service data ultimately counted by the OLT optical line terminal is n. In this case, the OLT optical line terminal calculates the service data period T according to the formula T = (t2-t1) / n. If the OLT optical line terminal begins counting a data packet after detecting a data packet at the start time and continues counting until a data packet before the end time is counted, the number of service data ultimately counted by the OLT optical line terminal is n+1. In this case, the OLT optical line terminal calculates the service data period T according to the formula T = (t2-t1) / (n+1).

[0120] After that, the OLT optical line terminal can allocate the first bandwidth to the zero-wait T-CONT carrier of the ONU optical network unit in the current passive optical network based on the service data length L, the time when the ONU optical network unit sends the service book based on t1 or t2 and the fiber transmission time (the data transmission duration between the ONU optical network unit and the OLT optical line terminal), and the accurate service data period T.

[0121] In this way, compared with the related art, the embodiment of the present application realizes the detection of the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side to accurately allocate bandwidth to the ONU optical network unit. The ONU optical network unit can forward the service data of the upstream periodic service with no delay or low delay, thereby reducing the cache time of the upstream periodic service in the ONU optical network unit.

[0122] Based on the first embodiment, the second embodiment and / or the third embodiment of the embodiment scheme of the present application described above, a fourth embodiment of the embodiment scheme of the present application is proposed.

[0123] In a fourth embodiment of the embodiment scheme of the present application, the bandwidth allocation method provided by the present application, wherein the OLT optical line terminal allocates a second bandwidth specifically for detection to the ONU optical network unit, may include:

[0124] Allocating a second bandwidth to the optical network unit multiple times within a preset time period;

[0125] or,

[0126] A second bandwidth is allocated to the optical network unit at a preset location center.

[0127] In this embodiment, the OLT optical line terminal can allocate all idle bandwidth as the second bandwidth to the ONU optical network unit during the detection phase. Moreover, during this process, the OLT optical line terminal can allocate the second bandwidth to the ONU optical network unit in a dispersed manner multiple times within a preset time period; or, the OLT optical line terminal can also allocate the second bandwidth to the ONU optical network unit in a centralized manner at the sending location when the possible service data sending location of the uplink periodic service has been estimated.

[0128] Exemplarily, the strategy for the OLT optical line terminal to allocate the second bandwidth to the ONU optical network unit during the detection phase includes:

[0129] 1. Considering that it is relatively easy to detect the service data length L and count the number of service data (they can be obtained by simply parsing the received complete service data itself), the OLT optical line terminal has no special requirements for allocating the second bandwidth when detecting the service data length L and counting the number of service data;

[0130] 2. Considering the detection of the service data sending position tx and the service data period T, the detection of the service data period T depends on the accurate identification of the sending position tx. Therefore, based on whether there is idle data before the service data in the uplink burst, the above-mentioned second situation (2) and the third situation (3) may occur. As much as possible of the second bandwidth allocated by the OLT optical line terminal to the ONU optical network unit should be used to detect the sending position tx of the service data, that is, the second bandwidth is as large as possible to speed up the detection process. In addition, the second bandwidth can be distributed in a dispersed manner, such as allocating m times of the second bandwidth to the ONU optical network unit every preset time interval (125 microseconds), and if the second bandwidth is large, then m can be larger, otherwise m can be smaller (by changing the size of m, the probability of hitting the above-mentioned second situation (2) and the third situation (3) can also be improved). Alternatively, the second bandwidth can also be allocated in a centralized manner, that is, when the possible sending position of the service data has been estimated, the second bandwidth is allocated to the ONU optical network unit in a centralized manner at the sending position (this can also improve the probability of hitting the second situation (2) and the third situation (3)).

[0131] In some feasible embodiments, a service data received by the OLT optical line terminal during the detection phase may conflict with other services (uplink periodic services to which non-service data belongs). In this case, the OLT optical line terminal determines the sending position information t of the service data based on the detection of the first case (1) above. * i, is the delayed and inaccurate location information compared to the actual sending location tx of the service data. However, the OLT optical line terminal can still estimate the service data period T based on the first case (1). * , that is, T *=(t * 2-t * 1) / (n+1), due to t * 2. t * 1 is delayed, so T * The relationship between the actual business data cycle T is uncertain, but the larger n is, the larger T * The closer it is to T.

[0132] Based on this, when the OLT optical line terminal has obtained accurate initial location information, it can try to use the roughly estimated service data cycle T * After the initial location is determined, the OLT can adjust the second bandwidth allocated to the ONU. This means that the OLT finds a rough location and allocates a large bandwidth to the ONU before and after the rough location, or allocates several small bandwidths to the ONU before and after the rough location.

[0133] In addition, an embodiment of the present application further provides a bandwidth allocation device. The bandwidth allocation device provided by the present application is applied to an optical line terminal in a passive optical network. Referring to FIG. 9 , the bandwidth allocation device provided by the present application includes:

[0134] The data detection module 10 is configured to detect service data characteristics of an uplink periodic service in the passive optical network, wherein the service data characteristics include at least a service data packet length and a service data period;

[0135] The bandwidth allocation module 20 is configured to allocate a bandwidth not less than the length of the service data packet to the optical network unit in the passive optical network according to the service data period, so that the optical network unit can forward the service data of the uplink periodic service through the first bandwidth.

[0136] In one embodiment, the service 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 before the data arrival time according to the service data cycle.

[0137] In one embodiment, the data arrival time includes: the first arrival time when the optical line terminal receives the service data, or the second arrival time when the service data arrives at the optical network unit, and the T time includes the T0 time and the T1 time; the bandwidth allocation module 20 is further configured to allocate the first bandwidth to the optical network unit at the T0 time before the first arrival time, or to allocate the first bandwidth to the optical network unit at the T1 time before the second arrival time, and the T0 time is equal to the T1 time superimposed on the data transmission duration between the optical line terminal and the optical network unit.

[0138] In one embodiment, the data detection module 10 includes:

[0139] A detection bandwidth allocation unit is configured to allocate a second bandwidth to an optical network unit in the passive optical network;

[0140] a burst receiving unit, configured to receive an uplink burst sent by the optical network unit via the second bandwidth;

[0141] The burst data detection unit is configured to determine service data characteristics according to service data of the uplink periodic service carried in the uplink burst.

[0142] In one embodiment, the data detection module 10 further includes:

[0143] a data parsing unit configured to parse the service data to determine a service data packet length of the service data and obtain a number of service data of the received service data;

[0144] an idle data detection unit, configured to detect whether there is idle data preceding the service data in the uplink burst;

[0145] a data position detection unit, configured to, when detecting the existence of the idle data, determine at least two first arrival times according to the idle data, or determine at least two second arrival times according to the idle data;

[0146] The period calculation unit is configured to determine the service data period of the service data based on the number of service data and the two first arrival times, or to determine the service data period of the service data based on the number of service data and the two second arrival times.

[0147] In one embodiment, the data detection module 10 is further configured to combine the uplink burst with a received new uplink burst when it is detected that the business data carried in the uplink burst is incomplete; and determine the number of business data and the length of the business data packet based on the business data carried in the combined uplink burst.

[0148] 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 preset time period; or to allocate the second bandwidth to the optical network unit centrally at a preset location.

[0149] The bandwidth allocation device provided in the embodiments of the present application utilizes the bandwidth allocation method described in the aforementioned embodiments, resolving the technical issue of related technologies in their inability to rapidly track transitions and reduce noise while taking into account varying signal-to-noise ratios. Compared to related technologies, the bandwidth allocation device provided in the embodiments of the present application achieves the same beneficial effects as the bandwidth allocation method described in the aforementioned embodiments. Other technical features of the bandwidth allocation device are the same as those disclosed in the aforementioned embodiments and are not further detailed here.

[0150] In addition, an embodiment of the present application further provides a communication device, comprising: the bandwidth allocation apparatus as described above, a memory, a 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 as described above.

[0151] In addition, an embodiment of the present application further provides a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the bandwidth allocation method described above are implemented.

[0152] As used herein, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or system that includes the element.

[0153] 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 the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application 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 enabling a terminal device (which can be a mobile phone, computer, server or network device, etc.) to execute the methods described in each embodiment of the present application.

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

Claims

1. A bandwidth allocation method, wherein: The bandwidth allocation method is applied to an optical line terminal in a passive optical network, and the bandwidth allocation method comprises: Detecting service data characteristics of an uplink periodic service in the passive optical network, wherein the service data characteristics at least include a service data packet length and a service data period; According to the service data period, a first bandwidth having a length not less than the length of the service data packet is allocated to the optical network unit in the passive optical network, so that the optical network unit forwards the service data of the uplink periodic service through the first bandwidth.

2. The bandwidth allocation method according to claim 1, wherein: The service data feature also includes a data arrival time, and allocating a first bandwidth to the optical network unit according to the service data cycle includes: A first bandwidth is allocated to the optical network unit at a time T before the arrival time of the data according to the service data cycle.

3. The bandwidth allocation method according to claim 2, wherein: The data arrival time includes: the first arrival time when the optical line terminal receives the service data, or the second arrival time when the service data arrives at the optical network unit, and the T time includes the T0 time and the T1 time; Allocating the first bandwidth to the optical network unit at a time T before the data arrival time includes: The first bandwidth is allocated to the optical network unit at time T0 before the first arrival time, or the first bandwidth is allocated to the optical network unit at time T1 before the second arrival time, and the time T0 is equal to the time T1 superimposed on the data transmission duration between the optical line terminal and the optical network unit.

4. The bandwidth allocation method according to any one of claims 1 to 3, wherein: The detecting of the service data characteristics of the uplink periodic service in the passive optical network comprises: Allocating a second bandwidth to an optical network unit in the passive optical network; Receiving an uplink burst sent by the optical network unit through the second bandwidth; The service data characteristics are determined according to the service data of the uplink periodic service carried in the uplink burst.

5. The bandwidth allocation method according to claim 4, wherein: The service data characteristics also include: a first arrival time when the optical line terminal receives the service data, or a second arrival time when the service data arrives at the optical network unit; Determining service data characteristics according to the service data carried in the uplink burst includes: Parsing the service data to determine the service data packet length of the service data, and obtaining the number of service data of the received service data; Detecting whether there is idle data before the service data in the uplink burst; In the case where the idle data is detected, determining at least two first arrival times according to the idle data, or determining at least two second arrival times according to the idle data; The service data period of the service data is determined according to the number of service data and the two first arrival times, or the service data period of the service data is determined according to the number of service data and the two second arrival times.

6. The bandwidth allocation method according to claim 5, wherein: The method further comprises: When detecting that the service data carried in the uplink burst is incomplete, combining the uplink burst with a received new uplink burst; Determine the number of service data and the service data packet according to the service data carried in the combined uplink burst long.

7. The bandwidth allocation method according to claim 4, wherein: Allocating a second bandwidth to the optical network unit includes: Allocating a second bandwidth to the optical network unit multiple times within a preset time length; or, A second bandwidth is allocated to the optical network unit in a preset location set.

8. A bandwidth allocation device, wherein: The bandwidth allocation device is applied to an optical line terminal in a passive optical network, and the bandwidth allocation device comprises: A data detection module, configured to detect service data characteristics of an uplink periodic service in the passive optical network, wherein the service data characteristics at least include a service data packet length and a service data period; The bandwidth allocation module is configured to allocate a bandwidth not less than the length of the service data packet to the optical network unit in the passive optical network according to the service data period, so that the optical network unit can forward the service data of the uplink periodic service through the first bandwidth.

9. A communication device, wherein: The communication device comprises: the bandwidth allocation apparatus according to claim 8, a memory, a 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 according to any one of claims 1 to 7.

10. A storage medium, wherein: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the bandwidth allocation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Forwarding method for parallel path with redundant codes in WOBAN

    CN107222404A

  • Dynamic bandwidth allocation method and device, passive optical network and storage medium

    CN112911421A

  • Output demultiplexing for dynamic bandwidth allocation in passive optical networks

    US20100208747A1

  • Method and apparatus for dynamically allocating bandwidth to a client in a passive optical network

    US20130209103A1