Bandwidth allocation method and device, communication equipment and storage medium
By detecting the characteristics of uplink periodic services in the passive optical network in the OLT and allocating bandwidth, the caching problem caused by insufficient uplink bandwidth in the passive optical network is solved, and business data forwarding with no or low delay is realized, improving improve transmission efficiency.
Patent Information
- Application Number
- CN202310481777.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-10-29
AI Technical Summary
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.
The OLT detects the service data characteristics of uplink periodic services, including service data packet length and period, and accurately allocates bandwidth to ONUs to ensure that service data is forwarded with no or low delay.
It reduces the buffering time of service data in the ONU, improves the transmission efficiency of uplink periodic services, and reduces delay and jitter.
Smart Images

Figure CN118870232A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] In a passive optical network, service data is transmitted between OLT (optical line terminal) and ONU (Optical Network Unit) through ODN (Optical Distribution Network). In the related technology, in the uplink direction, if the user terminal connected to the ONU uploads service data to the ONU, but the ONU does not have the corresponding uplink bandwidth at this time, the service data will be cached in the ONU until the ONU has uplink bandwidth and then sent to the OLT. This is very unfriendly to the uplink periodic services in the passive optical network that are sensitive to delay and jitter requirements. Summary of the invention
[0003] The main purpose of the present 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.
[0004] To achieve the above object, an embodiment of the present application provides a bandwidth allocation method, which is applied to an optical line terminal in a passive optical network, and the bandwidth allocation method includes: 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 bandwidth 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 can forward the service data of the uplink periodic service through the first bandwidth.
[0005] In some feasible embodiments, the service data feature also includes a data arrival time of the service data arriving at the optical network unit, 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.
[0006] In some feasible embodiments, the data arrival time 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 T time includes a T0 time and a 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.
[0007] In some feasible embodiments, the detecting the service data characteristics of the uplink periodic service in the passive optical network includes: 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.
[0008] In some feasible embodiments, 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; 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.
[0009] In some feasible embodiments, the method further includes: When detecting that the service data carried in the uplink burst is incomplete, combining the uplink burst with a received new uplink burst; 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.
[0010] In some feasible embodiments, 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.
[0011] 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 the bandwidth allocation device includes: 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.
[0012] Each functional module of the bandwidth allocation device implements the steps of the bandwidth allocation method described above when running.
[0013] In addition, an embodiment of the present application also provides a communication device, which includes: the bandwidth allocation device 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.
[0014] 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.
[0015] The embodiments of the present application disclose a bandwidth allocation method, an apparatus, a communication device and a storage medium. The method detects service data characteristics of an uplink periodic service in a passive optical network through an optical line terminal in the passive optical network, wherein the service data characteristics at least include a service data packet length and a service data period; and allocates a first bandwidth having a length not less than the service data packet length to an optical network unit in the passive optical network according to the service data period, so that the optical network unit forwards the service data of the uplink periodic service through the first bandwidth.
[0016] Thus, the embodiment of the present application collects the service data characteristics of the uplink periodic service at the local side through the optical line terminal in the passive optical network, and then allocates the uplink bandwidth to the optical network unit according to the collected service data characteristics, so that the uplink periodic service data sent by the terminal device connected to the optical network unit can be forwarded by the optical network unit through the uplink bandwidth allocated by the optical line terminal after reaching the optical network unit. In this implementation, the OLT identifies the service characteristics and completes the bandwidth allocation, realizing the non-delay or low-delay forwarding from the ONU to the OLT.
[0017] Thus, compared with the related art, the embodiment of the present application realizes accurate bandwidth allocation of the ONU optical network unit by detecting the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side, and the ONU optical network unit can realize the service data of the upstream periodic service with no delay or low delay, thereby reducing the caching time of the upstream periodic service in the ONU optical network unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural diagram of an operating device of a hardware operating environment involved in an embodiment of the present application; Figure 2 This is a schematic diagram of the steps of the bandwidth allocation method in the first embodiment of the embodiment of the present application; Figure 3a and Figure 3b All of them are schematic diagrams of industrial control based on passive optical network involved in the first embodiment of the embodiment of the present application; Figure 4 This is a schematic diagram of a data transmission scenario involved in an embodiment of the present application; Figure 5 This is a schematic diagram of another data transmission scenario involved in the first embodiment of the embodiment of the present application; Figure 6 A schematic diagram of the relationship between bandwidth allocation and time matching of service data involved in the first embodiment of the present application; Figure 7 This is a schematic diagram showing the precise time when data involved in the first embodiment of the present application reaches the OLT and ONU; Figure 8 This is a schematic diagram of an application flow of detecting business data features involved in the first embodiment of the present application; Fig. 9 This is a schematic diagram of the structure of an embodiment of a bandwidth allocation device provided in an embodiment of the present application.
[0019] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0020] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0021] Reference Figure 1 , Figure 1 This is a schematic diagram of the operating equipment structure of the hardware operating environment involved in the embodiment of the present application.
[0022] 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 service data of upstream periodic services to the OLT optical line terminal based on the allocated bandwidth.
[0023] like Figure 1 As shown, 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 optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0024] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the operating device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0025] like Figure 1 As shown, 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.
[0026] exist Figure 1 In the running device shown, 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 running device of the present application can be set in the running device, and the running device calls the computer program stored in the memory 1005 through the processor 1001, and performs the following operations: 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.
[0027] Optionally, 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: 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.
[0028] Optionally, the data arrival time 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, the T time includes a T0 time and a T1 time, and the processor 1001 may call a computer program stored in the memory 1005, and further perform the following operations: 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.
[0029] Optionally, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations: 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.
[0030] Optionally, 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, the processor 1001 may call a computer program stored in the memory 1005, and further perform the following operations: 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.
[0031] Optionally, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations: When detecting that the service data carried in the uplink burst is incomplete, combining the uplink burst with a received new uplink burst; 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.
[0032] Optionally, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations: 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.
[0033] 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.
[0034] A passive optical network is a point-to-point network or a point-to-multipoint network generally composed of an OLT optical line terminal, an ODN optical distribution network, and at least one ONU optical network unit. In this passive optical network, the data downlink adopts a natural broadcast method, that is, the information and services sent by the OLT optical line terminal in a broadcasting manner are received by all ONU optical network units, and each ONU optical network unit filters and receives them. In the data uplink direction, if the user terminal connected to the ONU optical network unit uploads the service data to the ONU optical network unit, but the ONU optical network unit does not have the corresponding uplink bandwidth at this time, the service data will be cached in the ONU optical network unit until the ONU optical network unit has uplink bandwidth and then sent to the OLT optical line terminal. This is very unfriendly to the uplink periodic services in the passive optical network that are more sensitive to delay and jitter requirements.
[0035] In view of the situation that the data uplink direction in the passive optical network is unfriendly to the uplink periodic service, the embodiment of the present application proposes a bandwidth allocation method, through the optical line terminal in the passive optical network, the service data characteristics of the uplink periodic service are collected on the local side, and then the uplink bandwidth is allocated to the optical network unit according to the collected service data characteristics, so that the uplink periodic service data sent by the terminal device connected to the optical network unit can be forwarded by the uplink bandwidth allocated by the optical line terminal after reaching the optical network unit. In this implementation, the OLT identifies the service characteristics and completes the bandwidth allocation, realizing the delay-free or low-delay forwarding from the ONU to the OLT.
[0036] Thus, compared with the related art, the embodiment of the present application realizes accurate bandwidth allocation of the ONU optical network unit by detecting the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side, and the ONU optical network unit can realize the service data of the upstream periodic service with no delay or low delay, thereby reducing the caching time of the upstream periodic service in the ONU optical network unit.
[0037] 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.
[0038] It should be noted that the bandwidth allocation method provided by the present application is applied to the above-mentioned operating equipment, which can be a communication device including a bandwidth allocation device, or an OLT optical line terminal in the above-mentioned passive optical network. It should be understood that based on different design requirements of actual applications, in different feasible embodiments, the bandwidth allocation method provided by the present application can of course also be applied to other terminal devices, and in order to facilitate understanding and explanation of the technical solution, the following text will use the OLT optical line terminal as the execution subject of the solution implementation to explain the bandwidth allocation method provided by the present application.
[0039] Please refer to Figure 2 , Figure 2 It is a schematic diagram of the steps of the first embodiment of the embodiment of the present application. It should be noted that although the logical order is shown in the flowchart, in some cases, the bandwidth allocation method of the present application can also perform the steps shown or described in a different order than here.
[0040] like Figure 2 As shown, in the first embodiment of the embodiment scheme of the present application, the bandwidth allocation method provided by the present application may include the following steps: Step S10, 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; 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, 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.
[0041] It should be noted that, in this embodiment and other feasible embodiments, in the service data characteristics detected by the OLT optical line terminal, the service data packet length is detected by the OLT optical line terminal during the entire detection process. Optionally, 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, and 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 packet lengths of the multiple service data to be detected as the maximum service data packet length.
[0042] In addition, the service data cycle in the service data feature detected by the OLT optical line terminal is used to identify that the time intervals for sending any two adjacent service data in the service data forwarded by the ONU optical network unit to the OLT optical line terminal are the same, that is, the ONU optical network unit sends service data to the OLT optical line terminal periodically. It should be understood that due to jitter in the transmission process of service data in the passive optical network, there may be a certain error between two adjacent service data cycles detected by the OLT optical line terminal. At this time, as long as the error between the service data cycles detected by the OLT optical line terminal does not exceed the predetermined error allowable range (the specific size can be set based on the actual application), the OLT optical line terminal can calculate the average value of multiple cycles as the service data cycle in the service data feature currently detected.
[0043] Step S20, allocating a first bandwidth not less than the length of the service data packet to an optical network unit in the passive optical network according to the service data period, so that the optical network unit forwards the service data of the uplink periodic service through the first bandwidth.
[0044] In this embodiment, after detecting and obtaining the service data characteristics at least including 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 forward the subsequently received upstream periodic service data to the OLT optical line terminal in real time without delay or with low delay.
[0045] It should be noted that in this embodiment and other feasible embodiments, Figure 3a and Figure 3b The passive optical network in the application scenarios such as industrial control shown in the figure usually has the transmission of uplink periodic services. That is, the controller sends periodic instructions to the terminal device through the passive optical network, and the terminal device performs the uplink periodic service operation according to the instruction and sends the periodic status or execution confirmation information to the controller. In this scenario, the service data of the uplink periodic service will be as follows: Figure 4 The scene shown in the figure is transmitted. Figure 4 As shown, the uplink periodic services include but are not limited to the following service data features: 1. The transmission rate of business data is fixed; 2. The interval between any two consecutive service data transmissions is the same, which is T, where T is the service data cycle; 3. The location of the service data is determined, that is, when the ONU optical network unit starts to send service data to the OLT optical line terminal, the time when it sends the service data on the time axis is determined, and ti represents the sending location of the i-th service data; 4. The packet length of the service data sent by the ONU optical network unit each time is the same, which is L, where 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; 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 the T-CONT does not carry other service data.
[0046] However, in the actual operation environment, the controller and the terminal equipment are systems independent of the passive optical network, and they only transmit relevant control information through the passive optical network. Therefore, the passive optical network cannot obtain accurate information such as the service data cycle T and the transmission position ti of the service data. In addition, since there is jitter in the transmission process of service data in the passive optical network, this requires the OLT optical line terminal in the passive optical network to tolerate service jitter when allocating bandwidth to the ONU optical network unit.
[0047] 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 uplink periodic service, so as to allocate bandwidth for the service data of the uplink periodic service forwarded by the ONU optical network unit, thereby avoiding caching of service data in the ONU optical network unit and increasing costs.
[0048] Alternatively, if Figure 5 As shown, the bandwidth allocation method provided in the embodiment of the present application detects the service data characteristics of the above-mentioned upstream periodic service through the OLT optical line terminal: the service data period T, the sending position tx of any service data, and the service data packet length L. Afterwards, the OLT optical line terminal allocates bandwidth for the service data of the upstream periodic service forwarded by the ONU optical network unit based on the identified service data characteristics, that is, starting from the sending position tx, a bandwidth not less than the service data packet length L is allocated to the ONU optical network unit every service data period T. In this way, when the ONU optical network unit forwards the data of the upstream periodic service to the OLT optical line terminal, the delay and jitter are minimized and the bandwidth is not wasted.
[0049] For example, Figure 3aAs shown, in application scenarios such as industrial control, the controller connected to the passive optical network periodically sends execution commands to the terminal device, and the terminal device periodically sends execution replies and status reports to the controller. At this time, service data needs to be sent periodically from the terminal device to the controller, and these periodic service data need to be transmitted from the ONU optical network unit to the OLT optical line terminal in the upstream direction. In the service startup phase, a trial operation and learning process are required, that is, the controller and the terminal device send services in their own way, and 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 device through the ONU optical network unit to obtain the service data characteristics of the upstream periodic service. After that, the OLT optical line terminal allocates upstream bandwidth to the ONU optical network unit according to the obtained service data characteristics to complete the learning and trial operation. 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.
[0050] In addition, if Figure 3b As shown, in application scenarios such as industrial control, the controller connected to the passive optical network periodically sends execution commands to the terminal device, and the terminal device periodically sends execution replies and status reports to the controller. At this time, service data needs to be sent periodically from the terminal device to the controller, and these periodic service data also need to be transmitted in the upstream direction from the ONU optical network unit to the OLT optical line terminal and then to other ONU optical network units. In the service startup phase, a trial operation and learning process are required, that is, the controller and the terminal device send services in their own way. 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 device through the ONU optical network unit to obtain the service data characteristics of the upstream periodic service. After that, the OLT optical line terminal allocates upstream bandwidth to the ONU optical network unit according to the obtained service data characteristics to complete the learning and trial operation. 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 OLT optical line terminal, and the OLT optical line terminal further sends the service data to the terminal device.
[0051] In this embodiment, the bandwidth allocation method provided by the embodiment of the present application, when the OLT optical line terminal detects that the ONU optical network unit forwards the upstream periodic service to it in the passive optical network where it is located, it immediately detects the service data characteristics of the upstream periodic service, thereby obtaining the service data characteristics including at least the service data packet length and the service data period. After that, the OLT optical line terminal 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 according to the service data period. Therefore, after receiving the first bandwidth allocated by the OLT optical line terminal in the current passive optical network, the ONU optical network unit can use the first bandwidth to forward the upstream periodic service data received subsequently to the OLT optical line terminal without delay or with low delay.
[0052] Thus, compared with the related art, the embodiment of the present application realizes accurate bandwidth allocation of the ONU optical network unit by detecting the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side, and the ONU optical network unit can realize the service data of the upstream periodic service with no delay or low delay, thereby reducing the caching time of the upstream periodic service in the ONU optical network unit.
[0053] In other feasible embodiments, the bandwidth allocation method provided in the embodiments of the present application can also be adjusted by the OLT optical line terminal according to the situation of the service data sent by the ONU optical network unit in the uplink burst (whether there is idle data before and after the service data) for the first bandwidth periodically allocated to the ONU optical network unit. Exemplarily, 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 above-mentioned service data packet length, there will be idle data before the service data in the uplink burst, and the requirement is met. If the allocated first bandwidth is equal to the service data packet length, 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 uplink burst, and at this time, the OLT optical line terminal needs to roll back and stop adjusting.
[0054] Furthermore, 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.
[0055] In the second embodiment of the embodiment scheme of the present application, the service data characteristics of the uplink periodic service detected by the above-mentioned OLT optical line terminal also include: the data arrival time when the service data arrives at the ONU optical network unit, or the data arrival time when the service data arrives 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: 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.
[0056] In this embodiment, when the OLT optical line terminal detects 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 cycle T, the OLT optical line terminal also detects the data arrival time of the service data included in the service data characteristics arriving at the ONU optical network unit, and / or detects the data arrival time of the service data arriving at the OLT optical line terminal. In this way, when the OLT optical line terminal allocates the first bandwidth whose length is 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, the first bandwidth can be allocated to one or more ONU optical network units at the time T before the data arrival time in each service data cycle T.
[0057] In some feasible embodiments, among the data arrival times detected by the above-mentioned 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. Among them, the second arrival time when the service 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 terminal from the first arrival time when the service data arrives at the OLT optical line terminal. In addition, the above-mentioned T time corresponds to the T0 time and the T1 time, and the T0 time is equal to the T1 time plus the data transmission time between the OLT optical line terminal and the ONU optical network unit.
[0058] 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: 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.
[0059] 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, 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 in each service data cycle T, at the time T0 before the first arrival time, the first bandwidth is allocated to one or more ONU optical network units.
[0060] 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 the first bandwidth with 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 in 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.
[0061] In this embodiment, the bandwidth allocation method provided by the present application, when the OLT optical line terminal detects 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 cycle T, the OLT optical line terminal also detects the data arrival time of the service data contained in the service data characteristics arriving at the ONU optical network unit, and / or detects the data arrival time of the service data arriving at the OLT optical line terminal. In this way, when the OLT optical line terminal allocates the first bandwidth with 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, in each service data cycle T, at the time T before the data arrival time, the first bandwidth with a length greater than or equal to the service data packet length L can be allocated to one or more ONU optical network units.
[0062] 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 earlier than 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 forward the service data of the upstream periodic service received subsequently to the OLT optical line terminal without delay or with low delay.
[0063] Furthermore, 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.
[0064] In a third embodiment of the application embodiment scheme, the step of "detecting the service data characteristics of the uplink periodic service in the passive optical network" in the above step S10 may include: 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.
[0065] In this embodiment, the OLT optical line terminal allocates a second bandwidth specifically used 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 sends an uplink burst to the OLT optical line terminal by using the second bandwidth, and the OLT optical line terminal receives the uplink burst and checks the data in the uplink burst, so as to determine the above-mentioned service data characteristics such as the service data period T and the service data length L according to the service data of the uplink periodic service carried in the uplink burst.
[0066] It should be noted that, 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.
[0067] 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 to detect the uplink periodic service carried in the uplink burst to obtain the above-mentioned various service data features.
[0068] 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: 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.
[0069] In this embodiment, after receiving the uplink burst sent 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 carrier, and then parses the service data of the uplink periodic service to determine the service data packet length L of the service data. In addition, the OLT optical line terminal can also count the number of service data of all service data received in the current detection phase according to the service data packet length L. At this time, the OLT optical line terminal can further roughly evaluate and obtain the service data period T.
[0070] In addition, the OLT optical line terminal can also synchronously or asynchronously detect whether there is idle data before the service data in the received uplink burst during the detection phase. Therefore, when the idle data before the service data is detected, the OLT optical line terminal can determine that the service data is not cached on the ONU optical network unit, and then, combined with the data transmission time 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 arriving at the OLT optical line terminal, and / or the second arrival time of the service data arriving at the ONU optical network unit.
[0071] Then, after the OLT optical line terminal determines the two first arrival times or the two second arrival times respectively according to the same operation as above, the two first arrival times are further used to perform period calculation to determine the accurate service data period T of the service data of the above uplink periodic service. Alternatively, the two second arrival times are further used to perform period calculation to determine the accurate service data period T.
[0072] Please note that, please refer to Figure 6 , Figure 6 As shown " is business data, " "and" " is the bandwidth, "and" " is an uplink burst. In this embodiment and other feasible embodiments, if the time when the bandwidth is allocated to the ONU optical network unit is not earlier than the time when the service data arrives at the ONU optical network unit, the service data will usually have a certain cache time in the ONU optical network unit, so that when the service data is subsequently transmitted by the ONU optical network unit to the OLT optical line terminal side through the uplink burst, there will be no idle data in front of the service data in the uplink burst. 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, so that when the service data arrives at the OLT optical line terminal side through the uplink burst, there will be idle in front of the service data in the uplink burst. Based on this, the OLT optical line terminal can use the characteristic that if there is idle data before the service data in the received uplink burst, it means that the service data is not cached in the ONU optical network unit, combined with the data transmission time between the OLT optical line terminal and the ONU optical network unit, to obtain the precise position where the service data arrives at the ONU optical network unit.
[0073] In some feasible embodiments, the bandwidth allocation method provided in the embodiments of the present application may further include: When detecting that the service data carried in the uplink burst is incomplete, combining the uplink burst with a received new uplink burst; 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.
[0074] In this embodiment, the OLT optical line terminal detects whether there is idle data before the service data in the received uplink burst, and then determines the time when the service data arrives at the OLT optical line terminal or the ONU optical network unit based on the idle data before the service data, without ensuring whether the service data in the uplink burst is complete. However, if the service data length L of the service data is to be detected and determined and the service data is to be counted, it is necessary to ensure that the service data is complete before parsing and determining. In this way, if the OLT optical line terminal detects that the service data written in the currently received uplink burst is incomplete, the OLT optical line terminal can combine the current uplink burst with an adjacent new uplink burst received at the next moment and sent by the ONU optical network unit, so that the OLT optical line terminal can determine the service data length L of the complete service data and count the received complete service data by parsing the complete service data contained in the combined uplink burst.
[0075] For example, Figure 6 And the following table shows: 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. Also, 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 subsequently received new uplink burst, so as 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.
[0076] Furthermore, if Figure 7 As shown, the bandwidth allocated by the OLT optical line terminal to the ONU optical network unit is carried in the superframe and transmitted to the ONU optical network unit. The superframe has a superframe number. Each ONU optical network unit has a logical uplink start time when 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 when the service data is sent by the ONU optical network unit using bandwidth allocation to this reference point, combined with the reference point, can uniquely indicate the first arrival time of the service data arriving at the OLT optical line terminal. The first arrival time is subtracted from the optical fiber transmission time between the OLT optical line terminal and the ONU optical network unit to obtain the second arrival time of the service data arriving at the ONU optical network unit.
[0077] In this embodiment, if Figure 8The application process shown, the bandwidth allocation method provided by the embodiment of the present application, in the detection phase, the OLT optical line terminal allocates a second bandwidth specifically used for detection to the T-CONT carrier designated with zero waiting on the ONU optical network unit according to a certain strategy, so as to receive the uplink burst sent by the ONU optical network unit using the second single bandwidth, and further check the service data in the uplink burst. Therefore, if the OLT optical line terminal detects whether there is idle data idle before the received uplink burst service data, and detects the second situation (2) or the third situation (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 situations, 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 evaluate the service data period T. In addition, the OLT optical line terminal can continue to check the received uplink bursts until the second situation (2) or the third situation (3) is detected, and further identify and record the end position t2; if the OLT optical line terminal still detects other situations, the cumulative number of received service data is n (at this time, the OLT optical line terminal allows skipping 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.
[0078] It should be noted that, 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 starts counting the number of service data from the detection of 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 finally counted by the OLT optical line terminal is n, and at this time, the OLT optical line terminal calculates the service data cycle T according to the formula T=(t2-t1) / n. If the OLT optical line terminal starts counting after a data packet at the start time is detected, and continues counting until a data packet before the end time is counted, the number of service data finally counted by the OLT optical line terminal is n+1, and at this time, the OLT optical line terminal calculates the service data cycle T according to the formula T=(t2-t1) / (n+1).
[0079] 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 according to 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.
[0080] Thus, compared with the related art, the embodiment of the present application realizes accurate bandwidth allocation of the ONU optical network unit by detecting the service data characteristics of the upstream periodic service in the passive optical network on the OLT optical line terminal side, and the ONU optical network unit can realize the service data of the upstream periodic service with no delay or low delay, thereby reducing the caching time of the upstream periodic service in the ONU optical network unit.
[0081] Furthermore, 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.
[0082] In a fourth embodiment of the embodiment scheme of the present application, the bandwidth allocation method provided by the present application, the above-mentioned OLT optical line terminal allocates a second bandwidth specifically used for detection to the ONU optical network unit, which may include: 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.
[0083] In this embodiment, the OLT optical line terminal can allocate all idle bandwidths as the second bandwidth to the ONU optical network unit during the detection phase, and during this process, the OLT optical line terminal can allocate the second bandwidth to the ONU optical network unit in a dispersed manner for 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 position when the possible service data sending position of the uplink periodic service has been estimated.
[0084] Exemplarily, the strategy of the OLT optical line terminal allocating the second bandwidth to the ONU optical network unit during the detection phase includes: 1. Considering that it is relatively easy to detect the service data length L and count the number of service data (only the received complete service data itself needs to be parsed to obtain them), the OLT optical line terminal has no special requirements for the allocation of the second bandwidth when detecting the service data length L and counting the number of service data; 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 the possibility that the above-mentioned second situation (2) and the third situation (3) may occur when detecting whether there is idle data idle before the service data in the uplink burst, the second bandwidth allocated by the OLT optical line terminal to the ONU optical network unit should be used as much as possible for detecting the service data sending position tx, that is, the second bandwidth should be as large as possible to accelerate the detection process; in addition, the second bandwidth can be distributed in a dispersed manner, for example, the second bandwidth is allocated to the ONU optical network unit m times per preset time interval (125 microseconds), and if the second bandwidth is large, 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); or, the second bandwidth can also be distributed 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)).
[0085] Furthermore, 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 the 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 situation (1) above. * i, compared with the actual sending position tx of the service data, it is delayed and inaccurate position information. 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.
[0086] 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 * Determine the subsequent location information. After the precise initial location, the OLT optical line terminal can adjust the second bandwidth allocated to the ONU optical network unit, that is, find a rough location, and allocate a large bandwidth to the ONU optical network unit before and after the rough location, or allocate several small bandwidths to the ONU optical network unit before and after the rough location.
[0087] In addition, the embodiment of the present application also provides a bandwidth allocation device, and 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: The data detection module 10 is configured to detect the service data characteristics of the uplink periodic service in the passive optical network, wherein the service data characteristics at least include the service data packet length and the service data period; 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.
[0088] Optionally, the service data feature also includes data arrival time, and the bandwidth allocation module 20 is further configured to allocate a first bandwidth to the optical network unit at time T before the data arrival time according to the service data cycle.
[0089] Optionally, 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 also 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.
[0090] Optionally, the data detection module 10 includes: A detection bandwidth allocation unit is configured to allocate a second bandwidth to an optical network unit in the passive optical network; A burst receiving unit, configured to receive an uplink burst sent by the optical network unit via the second bandwidth; 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.
[0091] Optionally, the data detection module 10 further includes: 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; an idle data detection unit, configured to detect whether there is idle data before the service data in the uplink burst; 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; The cycle calculation unit is configured to determine the service data cycle of the service data according to the number of service data and the two first arrival times, or to determine the service data cycle of the service data according to the number of service data and the two second arrival times.
[0092] Optionally, the data detection module 10 is also configured to combine the uplink burst with a received new uplink burst when it is detected that the service data carried in the uplink burst is incomplete; and determine the number of service data and the length of the service data packet based on the service data carried in the combined uplink burst.
[0093] Optionally, 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.
[0094] The bandwidth allocation device provided in the embodiment of the present application adopts the bandwidth allocation method in the above embodiment to solve the technical problem that the related technology cannot quickly track the jump and reduce noise under different signal-to-noise ratio conditions. Compared with the related technology, the beneficial effect of the bandwidth allocation device provided in the embodiment of the present application is the same as the beneficial effect of the bandwidth allocation method provided in the above embodiment, and other technical features in the bandwidth allocation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0095] In addition, an embodiment of the present application also provides a communication device, which includes: the bandwidth allocation device 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.
[0096] 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.
[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0098] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present 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 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.
[0099] The above are only preferred 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: The detecting of the service data characteristics of the uplink periodic service in the passive optical network includes: 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, characterized in that: 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, characterized in that: 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; 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.
7. The bandwidth allocation method according to claim 4, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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
Automatic bandwidth allocation method and device for industrial PON (Passive Optical Network)
CN114025261A
Periodic data transmission method and device, passive optical network and storage medium
CN115884011A
Output demultiplexing for dynamic bandwidth allocation in passive optical networks
US20100208747A1
GPON system based service bandwidth allocation method and device
WO2018196867A1
Cited By
Bandwidth allocation method and apparatus, and communication device and storage medium
EP4694181A1
Resource allocation method, apparatus and system
WO2026200448A1
