Method and device for sending bandwidth request, storage medium, and electronic device

By adjusting the transmission order of bandwidth requests in the passive optical network system, the amount of data carried in the bandwidth request is closer to the actual required data amount, the problem of inaccurate data to be sent by OLT obtained is solved, and the accuracy of bandwidth allocation is improved.

CN112653938BActive Publication Date: 2025-04-01ZTE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910975843.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-12
Publication Date
2025-04-01
Estimated Expiration
2039-10-12

AI Technical Summary

Technical Problem

In passive optical network systems, the data to be sent by OLT is inaccurate, resulting in inaccurate dynamic bandwidth allocation.

Method used

In the bandwidth allocation obtained by the transmission container, load and bandwidth requests are sent to the optical circuit terminals in sequence. The amount of data carried in the bandwidth request is the amount of data cached in the transmission container. By adjusting the transmission order of load and bandwidth requests, it is ensured that the amount of data carried in the bandwidth request is closer to the actual required data amount.

Benefits of technology

The accuracy of OLT bandwidth allocation is improved, and the problem of inaccurate data to be sent by OLT is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112653938B_ABST
    Figure CN112653938B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a method and device for sending a bandwidth request, a storage medium, and an electronic device. The method includes: in the bandwidth allocation obtained by a transmission container, sequentially sending a load and a bandwidth request to an optical line terminal, wherein the load carries first data, and the bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated, thereby solving the problem in the related art that the OLT obtains inaccurate data to be sent in the ONU, thereby causing inaccurate DBA allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method and device for sending a bandwidth request, a storage medium, and an electronic device. Background Art

[0002] Passive Optical Network (PON) architecture Figure 1 As shown, it is a point-to-multipoint network architecture, which consists of an optical line terminal (Optical Line Terminal, referred to as OLT), an optical distribution network (Optical Distribute Network, referred to as ODN) and an optical network unit (Optical Network Unit, referred to as ONU). The OLT is connected to multiple optical network units through the ODN.

[0003] The upstream transmission of ONU needs to be coordinated by OLT through bandwidth allocation to avoid conflicts between signals sent by different ONUs. The passive optical network system generally calculates the upstream bandwidth of each ONU through dynamic bandwidth allocation (DBA).

[0004] The traditional DBA algorithm is that the ONU reports the local data to be sent to the OLT, and the OLT allocates bandwidth to the ONU according to the ONU report. The local data to be sent is represented by the upstream dynamic bandwidth request (Dynamic Bandwidth Request upstream, referred to as DBRu). A bandwidth allocation (Allocation) includes DBRu and load payload. In a bandwidth allocation cycle, DBRu is sent first, and then the data carried in the payload will be sent again. The cache data requested for bandwidth allocation in DBRu contains the data carried in the payload to be sent later. Therefore, when the OLT receives DBRu, the ONU data to be sent indicated in DBRu no longer includes the data carried in the payload. At this time, the data to be sent in the ONU obtained by the OLT is inconsistent with the actual data to be sent. That is, the data to be sent in the ONU obtained by the OLT is inaccurate, which leads to inaccurate DBA allocation.

[0005] In the related art, the OLT obtains inaccurate data to be sent in the ONU, which leads to inaccurate DBA allocation. Currently, no effective solution has been proposed. Summary of the invention

[0006] The embodiments of the present disclosure provide a method and device for sending a bandwidth request, a storage medium, and an electronic device, so as to at least solve the problem in the related art that the data to be sent in the ONU obtained by the OLT is inaccurate, thereby causing inaccurate DBA allocation.

[0007] According to an embodiment of the present disclosure, a method for sending a bandwidth request is provided, comprising: in the bandwidth allocation obtained by a transmission container, sending a load and a bandwidth request to an optical line terminal in sequence, wherein the load carries first data, and the bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

[0008] Optionally, in the bandwidth allocation obtained by the transmission container, sending the load and the bandwidth request to the optical line terminal in sequence includes: sending the load to the optical line terminal in the bandwidth allocation obtained by the transmission container; after sending the load to the optical line terminal, sending the bandwidth request at the end position of the bandwidth allocation, wherein the difference between the generation time of the bandwidth request and the sending time of the bandwidth request is less than or equal to a preset difference.

[0009] Optionally, before sending the bandwidth request to the optical line terminal, the method further includes at least one of the following: sending first indication information to the optical line terminal, wherein the first indication information is used to indicate the order of sending the load and the bandwidth request in the bandwidth allocation; receiving second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the order of sending the load and the bandwidth request in the bandwidth allocation.

[0010] According to an embodiment of the present disclosure, a method for sending a bandwidth request is also provided, comprising: in the bandwidth allocation obtained by a transmission container, sending a bandwidth request and a load to an optical line terminal in sequence, wherein the load carries first data, and the bandwidth request carries the data amount of second data, and the data amount of the second data is obtained by subtracting the data amount of the first data from the data amount cached in the transmission container when the bandwidth request is generated.

[0011] Optionally, before sending the bandwidth request and the load to the optical line terminal in sequence, the method further includes at least one of the following: sending first indication information to the optical line terminal, wherein the first indication information is used to indicate the order of sending the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the second data; receiving second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the order of sending the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the second data.

[0012] According to an embodiment of the present disclosure, a method for sending a bandwidth request is also provided, comprising: in the bandwidth allocation obtained by a transmission container, sending a bandwidth request and a load to an optical line terminal in sequence, wherein the load carries first data, and the bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated; the optical line terminal uses the data amount of the second data to subtract the data amount of the first data to obtain the data amount of the third data, and allocates bandwidth according to the data amount of the third data.

[0013] Optionally, in the bandwidth allocation obtained in the transmission container, before sending the bandwidth request and the load to the optical line terminal in sequence, the method further includes: sending first indication information to the optical line terminal, wherein the first indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the third data; receiving second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the third data.

[0014] According to an embodiment of the present disclosure, a method for sending a bandwidth request is also provided, including: an optical network unit and an optical line terminal agree on a sending method for the bandwidth request, wherein the optical network unit includes one or more transmission containers, and the sending method for the bandwidth request includes at least one of the following: in the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sent to the optical line terminal in sequence, wherein the first load carries first data, and the first bandwidth request carries a data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the first bandwidth request is generated; in the bandwidth allocation obtained by the transmission container, a second bandwidth request and a second load are sent to the optical line terminal in sequence, wherein the second load carries third data, and the second bandwidth request carries a data amount of fourth data, and the data amount of the fourth data is determined by the amount of data cached in the transmission container when the second bandwidth request is generated. The amount of data cached in the transmission container is subtracted from the amount of data of the third data; in the bandwidth allocation obtained by the transmission container, a third bandwidth request and a third load are sent to the optical line terminal in sequence, wherein the third load carries the fifth data, and the third bandwidth request carries the amount of data of the sixth data, and the amount of data of the sixth data is: the amount of data cached in the transmission container when the third bandwidth request is generated, and the optical line terminal uses the amount of data of the sixth data to subtract the amount of data of the fifth data to obtain the amount of data of the seventh data, and allocates bandwidth according to the amount of data of the seventh data; in the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sent to the optical line terminal in sequence, wherein the fourth load carries the eighth data, and the amount of data of the ninth data carried in the fourth bandwidth request, and the amount of data of the ninth data is: the amount of data cached in the transmission container when the fourth bandwidth request is generated.

[0015] Optionally, the method for sending the bandwidth request agreed upon between the optical network unit and the optical line terminal includes: the optical network unit sends first indication information to the optical line terminal, wherein the first indication information is used to indicate the method for sending the bandwidth request; and the optical network unit receives second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the method for sending the bandwidth request.

[0016] According to an embodiment of the present disclosure, a device for sending a bandwidth request is also provided, including: a first sending module, used to send a load and a bandwidth request to an optical line terminal in sequence in the bandwidth allocation obtained by a transmission container, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

[0017] According to an embodiment of the present disclosure, a device for sending a bandwidth request is also provided, including: a second sending module, used to send a bandwidth request and a load to an optical line terminal in sequence in the bandwidth allocation obtained by a transmission container, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is obtained by subtracting the data amount of the first data from the data amount cached in the transmission container when the bandwidth request is generated.

[0018] According to an embodiment of the present disclosure, there is further provided a device for sending a bandwidth request, comprising: a third sending module, configured to send a bandwidth request and a load to an optical line terminal in sequence in the bandwidth allocation obtained by a transmission container, wherein the load carries first data, and the bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated; an allocation module, configured to use the data amount of the second data to subtract the data amount of the first data to obtain the data amount of the third data, and allocate bandwidth according to the data amount of the third data.

[0019] According to an embodiment of the present disclosure, a device for sending a bandwidth request is also provided, including: an agreement module, used to agree on a sending method of the bandwidth request between an optical network unit and an optical line terminal, wherein the optical network unit includes one or more transmission containers, and the sending method of the bandwidth request includes at least one of the following: in the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sent to the optical line terminal in sequence, wherein the first load carries first data, and the first bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the first bandwidth request is generated; in the bandwidth allocation obtained by the transmission container, a second bandwidth request and a second load are sent to the optical line terminal in sequence, wherein the second load carries third data, and the second bandwidth request carries the data amount of fourth data, and the data amount of the fourth data is generated by the second bandwidth request The amount of data cached in the transmission container when the transmission container is generated is obtained by subtracting the amount of data of the third data from the amount of data cached in the transmission container; in the bandwidth allocation obtained by the transmission container, a third bandwidth request and a third load are sent to the optical line terminal in sequence, wherein the third load carries the fifth data, and the third bandwidth request carries the amount of data of the sixth data, and the amount of data of the sixth data is: the amount of data cached in the transmission container when the third bandwidth request is generated, and the optical line terminal uses the amount of data of the sixth data to subtract the amount of data of the fifth data to obtain the amount of data of the seventh data, and allocates bandwidth according to the amount of data of the seventh data; in the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sent to the optical line terminal in sequence, wherein the fourth load carries the eighth data, and the amount of data of the ninth data carried in the fourth bandwidth request, and the amount of data of the ninth data is: the amount of data cached in the transmission container when the fourth bandwidth request is generated.

[0020] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for sending a bandwidth request when running.

[0021] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for sending a bandwidth request through the computer program.

[0022] Through the embodiments of the present application, in the bandwidth allocation obtained by the transmission container, a load and a bandwidth request are sent to the optical line terminal in sequence, wherein the load carries the first data, the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the first bandwidth request is generated. By adjusting the sending order of the load and the bandwidth request, when the bandwidth request is sent, the first data carried in the load no longer exists in the current bandwidth allocation, and the data amount of the second data carried in the bandwidth request is closer to the data amount actually required to be sent in the current bandwidth allocation, which solves the problem in the related art that the OLT obtains inaccurate data to be sent in the ONU, thereby causing inaccurate DBA allocation, and improves the accuracy of OLT bandwidth allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 It is a schematic diagram of the architecture of a passive optical network in the related art;

[0025] Figure 2 is a flowchart of an optional method for sending a bandwidth request according to an embodiment of the present application;

[0026] Figure 3 is a flowchart of another optional method for sending a bandwidth request in an embodiment of the present application;

[0027] Figure 4 is a flowchart of another optional method for sending a bandwidth request in an embodiment of the present application;

[0028] Figure 5 is a flowchart of another optional method for sending a bandwidth request in an embodiment of the present application;

[0029] Figure 6 It is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application;

[0030] Figure 7 It is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application;

[0031] Figure 8 It is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application;

[0032] Fig. 9 It is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application;

[0033] Fig.10is a schematic diagram of an optional bandwidth allocation structure according to an embodiment of the present disclosure;

[0034] Fig.11 is a schematic diagram of an optional bandwidth allocation structure according to an embodiment of the present disclosure;

[0035] Fig.12 This is an optional device structure block diagram according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0038] An embodiment of the present application provides a method for sending a bandwidth request. Figure 2 is a flowchart of an optional method for sending a bandwidth request in an embodiment of the present application, such as Figure 2 As shown, the method includes:

[0039] Step S102, in the bandwidth allocation obtained by the transmission container, a load and a bandwidth request are sent to the optical line terminal in sequence, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

[0040] By means of the above method, in the bandwidth allocation obtained by the transmission container, the load and the bandwidth request are sequentially sent to the optical line terminal, wherein the load carries the first data, the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated. By adjusting the sending order of the load and the bandwidth request, when the bandwidth request is sent, the first data carried in the load no longer exists in the current bandwidth allocation, and the data amount of the second data carried in the bandwidth request is closer to the data amount actually required to be sent in the current bandwidth allocation, thereby solving the problem in the related art that the OLT obtains inaccurate data to be sent in the ONU, thereby causing inaccurate DBA allocation, and improving the accuracy of the OLT bandwidth allocation.

[0041] It should be noted that the transmission container can be represented by T-CONT. An ONU includes one or more T-CONTs. The bandwidth request is sent in units of ONUs. Each time the ONU sends a load or bandwidth request to the OLT, each ONU contains the bandwidth allocation of one or more T-CONTs.

[0042] Optionally, in the bandwidth allocation obtained by the transmission container, sending the load and the bandwidth request to the optical line terminal in sequence includes: sending the load to the optical line terminal in the bandwidth allocation obtained by the transmission container; after sending the load to the optical line terminal, sending the bandwidth request at the end position of the bandwidth allocation, wherein the difference between the generation time of the bandwidth request and the sending time of the bandwidth request is less than or equal to a preset difference.

[0043] The closer to the end position of the bandwidth allocation, the closer the data volume of the second data carried in the bandwidth request is to the data volume cached in the bandwidth allocation, and the higher the accuracy of the OLT in allocating resources according to the data volume in the bandwidth request. The difference between the generation time of the bandwidth request and the sending time of the bandwidth request is less than or equal to the preset difference, which can be understood as the smaller the difference between the generation time of the bandwidth request and the sending time of the bandwidth request, the shorter the generation time of the bandwidth request, the faster the generation speed, and the closer the data volume of the second data is to the actual cached data volume in the bandwidth allocation.

[0044] Optionally, before sending a bandwidth request to the optical line terminal, the method further includes at least one of the following: sending first indication information to the optical line terminal, wherein the first indication information is used to indicate the order in which the load and bandwidth requests are sent in bandwidth allocation; and receiving second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the order in which the load and bandwidth requests are sent in bandwidth allocation.

[0045] An agreement needs to be made between the ONU and the OLT. The ONU can send a report message to the OLT, or the OLT can instruct the ONU. After the OLT knows that the order of sending the bandwidth request of the load is to send the load first and then the bandwidth request, it can directly use the data amount of the second data to be sent carried in the bandwidth request to allocate bandwidth.

[0046] According to an embodiment of the present disclosure, a method for sending a bandwidth request is also provided. Figure 3 is a flowchart of another optional method for sending a bandwidth request in an embodiment of the present application, such as Figure 3 As shown, the method includes: including:

[0047] Step S202, in the bandwidth allocation obtained by the transmission container, a bandwidth request and a payload are sequentially sent to the optical line terminal, wherein the payload carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is obtained by subtracting the data amount of the first data from the data amount cached in the transmission container when the bandwidth request is generated.

[0048] It should be noted that when the order of sending the load and bandwidth requests is not changed, the amount of data in the bandwidth request can be obtained by the above calculation method. When sending a bandwidth request, the total amount of data cached in the current bandwidth allocation is subtracted from the first data carried in the subsequently sent load, which can basically obtain the bandwidth actually required by the current bandwidth request.

[0049] Optionally, before sending the bandwidth request and the load to the optical line terminal in sequence, the method further includes at least one of the following: sending first indication information to the optical line terminal, wherein the first indication information is used to indicate the order of sending the load and the bandwidth request in bandwidth allocation, and / or the method for calculating the data amount of the second data; receiving second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the order of sending the load and the bandwidth request in bandwidth allocation, and / or the method for calculating the data amount of the second data.

[0050] According to an embodiment of the present disclosure, a method for sending a bandwidth request is also provided. Figure 4 is a flowchart of another optional method for sending a bandwidth request in an embodiment of the present application, such as Figure 4 As shown, the method includes:

[0051] Step S302, in the bandwidth allocation obtained by the transmission container, a bandwidth request and a payload are sequentially sent to the optical line terminal, wherein the payload carries the first data, and the bandwidth request carries the data volume of the second data, and the data volume of the second data is: the data volume cached in the transmission container when the bandwidth request is generated;

[0052] Step S304: the optical line terminal subtracts the data volume of the first data from the data volume of the second data to obtain the data volume of the third data, and allocates bandwidth according to the data volume of the third data.

[0053] It should be noted that, when sending a bandwidth request, the optical line terminal can be instructed to use the data amount of the second data minus the data amount of the first data to obtain the data amount of the third data, and allocate bandwidth according to the data amount of the third data. It can also be indicated without a bandwidth request. The ONU can instruct the OLT through other report information or indication information, or it can be agreed in advance between the OLT and the ONU, or it can be an indication sent by the OLT to the ONU. The embodiments of the present disclosure are not limited to this.

[0054] When the order of sending the load and bandwidth request in bandwidth allocation is to send the bandwidth request first and then send the load, on the ONU side, when sending the bandwidth request, the amount of data carried in the bandwidth request can be used to subtract the amount of cached data carried in the load, and then the amount of data obtained after the subtraction can be sent to the OLT side to request bandwidth allocation. This is a calculation action performed on the ONU side. It can also be performed on the OLT side, that is, the OMU directly sends the bandwidth request and the load to the OLT side, and then the OLT uses the amount of data carried in the bandwidth request to subtract the amount of cached data carried in the load, and then allocates bandwidth to the ONU according to the amount of data obtained after the subtraction. If the order is to send the load first and then send the bandwidth request, there is no need to perform the subtraction step. After the part of the cached data carried in the load is sent, the amount of data in the bandwidth request no longer includes the part of the cached data carried in the load, and the bandwidth can be directly allocated according to the amount of data carried in the load.

[0055] Optionally, in the bandwidth allocation obtained by the transmission container, before sending the bandwidth request and the load to the optical line terminal in sequence, the method further includes: sending first indication information to the optical line terminal, wherein the first indication information is used to indicate the order of sending the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the third data; receiving second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the order of sending the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the third data.

[0056] There are at least four ways for ONU to send bandwidth requests, and the sending method needs to be agreed or negotiated between the ONU and the OLT, or one party reports or indicates the sending method before the other party can cooperate with the complete calculation process. Figure 5 is a flowchart of another optional method for sending a bandwidth request in an embodiment of the present application, such as Figure 5 As shown, the method includes:

[0057] Step S402: The optical network unit and the optical line terminal agree on a method for sending a bandwidth request, wherein the optical network unit includes one or more transmission containers, and the method for sending the bandwidth request includes at least one of the following:

[0058] In the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sequentially sent to the optical line terminal, wherein the first load carries the first data, the first bandwidth request carries the data volume of the second data, and the data volume of the second data is: the data volume cached in the transmission container when the first bandwidth request is generated;

[0059] In the bandwidth allocation obtained by the transmission container, a second bandwidth request and a second load are sequentially sent to the optical line terminal, wherein the second load carries the third data, and the second bandwidth request carries the data amount of the fourth data, and the data amount of the fourth data is obtained by subtracting the data amount of the third data from the data amount buffered in the transmission container when the second bandwidth request is generated;

[0060] In the bandwidth allocation obtained by the transmission container, a third bandwidth request and a third load are sequentially sent to the optical line terminal, wherein the third load carries fifth data, the third bandwidth request carries the data amount of sixth data, and the data amount of the sixth data is: the data amount cached in the transmission container when the third bandwidth request is generated, the optical line terminal uses the data amount of the sixth data to subtract the data amount of the fifth data to obtain the data amount of the seventh data, and allocates bandwidth according to the data amount of the seventh data;

[0061] In the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sequentially sent to the optical line terminal, wherein the fourth load carries eighth data, and the data amount of ninth data carried in the fourth bandwidth request is: the data amount cached in the transmission container when the fourth bandwidth request is generated.

[0062] Optionally, the method for sending the bandwidth request agreed upon between the optical network unit and the optical line terminal includes: the optical network unit sends first indication information to the optical line terminal, wherein the first indication information is used to indicate the method for sending the bandwidth request; and the optical network unit receives second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the method for sending the bandwidth request.

[0063] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment 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 this understanding, the technical solution of the present application, 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), 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.

[0065] In this embodiment, a device for sending a bandwidth request is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0066] Figure 6 is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application, such as Figure 6 As shown, the device comprises:

[0067] The first sending module 502 is used to send a load and a bandwidth request to the optical line terminal in sequence in the bandwidth allocation obtained by the transmission container, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

[0068] Optionally, the first sending module 502 includes: a first sending unit, used to send the load to the optical line terminal in the bandwidth allocation obtained by the transmission container; a second sending unit, used to send the bandwidth request at the end position of the bandwidth allocation after sending the load to the optical line terminal, wherein the difference between the generation time of the bandwidth request and the sending time of the bandwidth request is less than or equal to a preset difference.

[0069] Optionally, the device also includes: a first indication information sending module, used to send first indication information to the optical line terminal, wherein the first indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation; a first receiving module, used to receive second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation.

[0070] Figure 7 is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application, such as Figure 7 As shown, the device comprises:

[0071] The second sending module 602 is used to send a bandwidth request and a load to the optical line terminal in sequence in the bandwidth allocation obtained by the transmission container, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is obtained by subtracting the data amount of the first data from the data amount cached in the transmission container when the bandwidth request is generated.

[0072] Optionally, the device also includes: a second indication information sending module, used to send first indication information to the optical line terminal, wherein the first indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the second data to be sent; a second receiving module, used to receive second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the second data to be sent.

[0073] Figure 8 is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application, such as Figure 8 As shown, the device comprises:

[0074] The third sending module 702 is used to send a bandwidth request and a payload to the optical line terminal in sequence in the bandwidth allocation obtained by the transmission container, wherein the payload carries the first data, and the bandwidth request carries the data volume of the second data, and the data volume of the second data is: the data volume cached in the transmission container when the bandwidth request is generated;

[0075] The allocation module 704 is configured to obtain a data volume of third data by subtracting a data volume of the first data from a data volume of the second data, and allocate bandwidth according to the data volume of the third data.

[0076] Optionally, the device also includes: a third indication information sending module, used to send first indication information to the optical line terminal, wherein the first indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the third data; a third receiving module, used to receive second indication information sent by the optical line terminal, wherein the second indication information is used to indicate the sending order of the load and the bandwidth request in the bandwidth allocation, and / or the calculation method of the data amount of the third data.

[0077] Fig. 9is a structural block diagram of an optional bandwidth request sending device according to an embodiment of the present application, such as Fig. 9 As shown, the device comprises:

[0078] The agreement module 802 is used to agree on a sending method of a bandwidth request between an optical network unit and an optical line terminal, wherein the optical network unit includes one or more transmission containers, and the sending method of the bandwidth request includes at least one of the following: in the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sent to the optical line terminal in sequence, wherein the first load carries first data, and the first bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the first bandwidth request is generated; in the bandwidth allocation obtained by the transmission container, a second bandwidth request and a second load are sent to the optical line terminal in sequence, wherein the second load carries third data, and the second bandwidth request carries the data amount of fourth data, and the data amount of the fourth data is the data cached in the transmission container when the second bandwidth request is generated. In the bandwidth allocation obtained by the transmission container, a third bandwidth request and a third load are sequentially sent to the optical line terminal, wherein the third load carries fifth data, and the third bandwidth request carries the data amount of sixth data, and the data amount of the sixth data is: the data amount cached in the transmission container when the third bandwidth request is generated, and the optical line terminal uses the data amount of the sixth data to subtract the data amount of the fifth data to obtain the data amount of the seventh data, and allocates bandwidth according to the data amount of the seventh data; in the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sequentially sent to the optical line terminal, wherein the fourth load carries eighth data, and the data amount of ninth data carried in the fourth bandwidth request is, and the data amount of the ninth data is: the data amount cached in the transmission container when the fourth bandwidth request is generated.

[0079] Optionally, the agreement module 802 includes: a sending unit, used to send first indication information to the optical line terminal, wherein the first indication information is used to indicate a sending method of the bandwidth request; and a receiving unit, used to receive second indication information sent by the optical line terminal, wherein the second indication information is used to indicate a sending method of the bandwidth request.

[0080] The above-mentioned bandwidth request sending device includes a processor and a memory. The above-mentioned first sending module 502, second sending module 602, third sending module 702, allocation module 704, agreement module 802, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0081] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set to obtain the corresponding bandwidth allocation by adjusting the order of sending the load and bandwidth request, or by subtracting the amount of data carried in the load from the amount of data carried in the bandwidth request, thereby solving the problem in the related art that the OLT obtains inaccurate data to be sent in the ONU, which leads to inaccurate DBA allocation, and improves the accuracy of OLT bandwidth allocation.

[0082] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0083] In order to better understand the solutions described in the embodiments of the present disclosure, a detailed description is given below with reference to the accompanying drawings.

[0084] Taking X Gigabit-Capable Passive Optical Networks (XG-PON) as an example, the local data to be sent is represented by the upstream dynamic bandwidth request (DBRu). DBRu is sent first in a bandwidth allocation, followed by the data (the data is carried in the XGTC payload). According to the XG-PON standard, DBRu contains the data to be sent subsequently (that is, the data carried in the XGTC payload). This DBRu report contains the data that has been sent, and DBRu is sent at the front of the bandwidth allocation. The data to be sent is not the latest. This DBRu method will report inaccurate local data to be sent to the OLT side, which will lead to inaccurate DBA allocation.

[0085] In order to solve the above problem, an embodiment of the present disclosure provides a method for sending a bandwidth request. Fig.10 is a schematic diagram of an optional bandwidth allocation structure according to an embodiment of the present disclosure, such as Fig.10 As shown in FIG. 1 , the improved DBA reporting method sends data first and then sends DBRu in bandwidth allocation, wherein the generation time of DBRu is as close as possible to or equal to the sending time of DBRu, so that DBRu carries the latest data to be sent. Fig.10As shown, in the uplink frame format, DBRu is placed at the end of the bandwidth allocation Allocation, that is, after the XGTC payload, where the XGTC payload carries the transmitted data. In DBRu, three bytes are used to represent BufOcc, that is, the amount of cached data, and one byte is used to represent the check code CRC.

[0086] Data transmission: After the ONU obtains the corresponding bandwidth of T-CONT, it reserves the bandwidth corresponding to DBRu, sends data, and the data is carried in the XGTC payload to prepare DBRu. The time to prepare DBRu is before the end of the T-CONT bandwidth, and as late as possible to obtain the latest data to be sent in the cache.

[0087] Fig.11 is a schematic diagram of an optional bandwidth allocation structure according to an embodiment of the present disclosure, such as Fig.11 The ONU still uses the old DBRu reporting method, but on the OLT side, after receiving the cache data status in DBRu and the amount of data in the subsequent XGTC payload, the two are subtracted as the cache data status reported by the ONU.

[0088] like Fig.11 As shown, the ONU still uses the old DBRu reporting method, but before the ONU reports, the cache data status obtained and the amount of data sent in the subsequent XGTC payload are subtracted from each other as the cache data status reported by the ONU, which is sent in the DBRu area.

[0089] Fig.11 The transmission structure diagram shown is compatible with the existing DBRu reporting method. The ONU selects the reporting method and indicates which reporting method to use in the upstream frame. In the improved DBA reporting method, in bandwidth allocation, data (load) is sent first, and then DBRu is sent. The generation time of DBRu is as close as possible to or equal to the DBRu sending time, so that DBRu carries the latest data to be sent. Fig.10 As shown, in the uplink frame format, DBRu is placed at the end of the bandwidth allocation Allocation, that is, after the XGTC payload, wherein the XGTC payload carries the transmitted data.

[0090] Data transmission: After the ONU obtains the corresponding bandwidth of T-CONT, it reserves the bandwidth corresponding to DBRu, sends data, and the data is carried in the XGTC payload to prepare DBRu. The time to prepare DBRu is before the end of the T-CONT bandwidth, and as late as possible to obtain the latest data to be sent in the cache.

[0091] The XGTC header of the uplink frame contains a 9-bit Ind field, which is used to indicate the option of sending part of the uplink. The original definition is shown in the following table:

[0092]

[0093]

[0094] The improved Ind is defined as:

[0095]

[0096] When bits 7-6 of the Ind field are 10, it indicates an improvement in the original DBRu reporting method: the ONU still reports DBRu in the original way. On the OLT receiving side, the DBRu minus the amount of data to be sent immediately afterwards is used as the data to be transmitted.

[0097] Above Fig.11 In the sending structure diagram shown, the OLT can also instruct the ONU which DBRu reporting method to use. In the improved DBA reporting method, in bandwidth allocation, data is sent first, and then DBRu is sent, where the generation time of DBRu is as close to or equal to the DBRu sending time as possible, so that DBRu carries the latest data to be sent. In the uplink frame format, DBRu is placed at the end of the bandwidth allocation Allocation, that is, after the XGTC payload, where the XGTC payload carries the data to be sent. Data transmission: After the ONU obtains the corresponding bandwidth of the T-CONT, it reserves the bandwidth corresponding to DBRu, sends data, and the data is carried in the XGTC payload to prepare DBRu. The time to prepare DBRu is before the end of the T-CONT bandwidth, and as late as possible to obtain the latest data to be sent in the cache.

[0098] The XGTC header of the uplink frame contains a 9-bit Ind field, which is used to indicate the option of sending part of the uplink. The original definition is:

[0099] Bits meaning 8 PLOAM queue status, used to report the status of the PLOAM message queue 7-1 Reserved 0 Dying Gasp

[0100] The improved Ind is defined as:

[0101]

[0102] When bits 7-6 of the Ind field are 10, it indicates an improvement in the original DBRu reporting method: the ONU still reports DBRu in the original way. On the OLT receiving side, the DBRu minus the amount of data to be sent immediately afterwards is used as the data to be transmitted.

[0103] The OLT instructs the ONU on which DBRu reporting mode to use in the downstream frame, which can be achieved by modifying the existing PLOAM message Profile, see the definition of bits 34-35 in the table.

[0104]

[0105]

[0106] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the method for sending a bandwidth request is implemented.

[0107] An embodiment of the present application provides a processor, which is used to run a program, wherein the method for sending a bandwidth request is executed when the program is running.

[0108] Fig.12 This is an optional electronic device (equipment) structure block diagram according to an embodiment of the present application. The embodiment of the present application provides a device, which includes at least one processor 1101, at least one memory 1102 connected to the processor, and a bus 1103; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the above-mentioned method for sending the bandwidth request. The device in this article can be a server, PC, PAD, mobile phone, etc.

[0109] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing the following method steps:

[0110] S1, in the bandwidth allocation obtained by the transmission container, sending a load and a bandwidth request to the optical line terminal in sequence, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

[0111] Optionally, the computer program product provided by the present application is also suitable for executing a program having the following method steps:

[0112] S1, in the bandwidth allocation obtained by the transmission container, sending a bandwidth request and a load to the optical line terminal in sequence, wherein the load carries the first data, and the bandwidth request carries the data amount of the second data, and the data amount of the second data is obtained by subtracting the data amount of the first data from the data amount cached in the transmission container when the bandwidth request is generated.

[0113] Optionally, the computer program product provided by the present application is also suitable for executing a program having the following method steps:

[0114] S1, in the bandwidth allocation obtained by the transmission container, sequentially sending a bandwidth request and a load to the optical line terminal, wherein the load carries the first data, the bandwidth request carries the data volume of the second data, and the data volume of the second data is: the data volume cached in the transmission container when the bandwidth request is generated;

[0115] S2, the optical line terminal subtracts the data volume of the first data from the data volume of the second data to obtain the data volume of the third data, and allocates bandwidth according to the data volume of the third data.

[0116] Optionally, the computer program product provided by the present application is also suitable for executing a program having the following method steps:

[0117] S1, an optical network unit and an optical line terminal agree on a method for sending a bandwidth request, wherein the optical network unit includes one or more transmission containers, and the method for sending the bandwidth request includes at least one of the following:

[0118] In the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sent to the optical line terminal in sequence, wherein the first load carries first data, and the first bandwidth request carries the data volume of second data, and the data volume of the second data is: the data volume cached in the transmission container when the first bandwidth request is generated; in the bandwidth allocation obtained by the transmission container, a second bandwidth request and a second load are sent to the optical line terminal in sequence, wherein the second load carries third data, and the second bandwidth request carries the data volume of fourth data, and the data volume of the fourth data is obtained by subtracting the data volume of the third data from the data volume cached in the transmission container when the second bandwidth request is generated; in the bandwidth allocation obtained by the transmission container, A third bandwidth request and a third load are sent, wherein the third load carries fifth data, the third bandwidth request carries the data volume of sixth data, and the data volume of the sixth data is: the data volume cached in the transmission container when the third bandwidth request is generated, the optical line terminal uses the data volume of the sixth data to subtract the data volume of the fifth data to obtain the data volume of the seventh data, and allocates bandwidth according to the data volume of the seventh data; in the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sent to the optical line terminal in sequence, wherein the fourth load carries eighth data, the data volume of the ninth data carried in the fourth bandwidth request, and the data volume of the ninth data is: the data volume cached in the transmission container when the fourth bandwidth request is generated.

[0119] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0120] In a typical configuration, the device includes one or more processors (CPU), memory and bus. The device may also include input / output interface, network interface and the like.

[0121] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0122] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0123] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0124] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0125] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for sending a bandwidth request, characterized in that: include: In the bandwidth allocation obtained by the transmission container, a load and a bandwidth request are sent to an optical line terminal in sequence, including: in the bandwidth allocation obtained by the transmission container, the load is sent to the optical line terminal; after sending the load to the optical line terminal, the bandwidth request is sent at the end of the bandwidth allocation, wherein the difference between the generation time of the bandwidth request and the sending time of the bandwidth request is less than or equal to a preset difference; wherein the load carries the first data, the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

2. The method according to claim 1, characterized in that Before sending the bandwidth request to the optical line terminal, the method further includes at least one of the following: Sending first indication information to the optical line terminal, wherein the first indication information is used to indicate a sending order of the load and the bandwidth request in the bandwidth allocation; Second indication information sent by the optical line terminal is received, wherein the second indication information is used to indicate a sending order of the load and the bandwidth request in the bandwidth allocation.

3. The method according to claim 1, characterized in that include: An optical network unit and an optical line terminal agree on a sending mode of a bandwidth request, wherein the optical network unit includes one or more transmission containers, and the sending mode of the bandwidth request includes at least one of the following: In the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sequentially sent to the optical line terminal, wherein the first load carries first data, the first bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the first bandwidth request is generated; In the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sequentially sent to the optical line terminal, wherein the fourth load carries eighth data, and the data amount of ninth data carried in the fourth bandwidth request is: the data amount cached in the transmission container when the fourth bandwidth request is generated.

4. The method according to claim 3, characterized in that The method further comprises: In the bandwidth allocation obtained by the transmission container, a second bandwidth request and a second load are sequentially sent to the optical line terminal, wherein the second load carries the third data, the second bandwidth request carries the data amount of the fourth data, and the data amount of the fourth data is obtained by subtracting the data amount of the third data from the data amount cached in the transmission container when the second bandwidth request is generated.

5. The method according to claim 4, characterized in that Before sequentially sending the second bandwidth request and the second load to the optical line terminal, the method further includes at least one of the following: Sending first indication information to the optical line terminal, wherein the first indication information is used to indicate a sending order of the second load and the second bandwidth request in the bandwidth allocation, and / or a calculation method of a data amount of the fourth data; Second indication information sent by the optical line terminal is received, wherein the second indication information is used to indicate a sending order of the second load and the second bandwidth request in the bandwidth allocation, and / or a calculation method of a data amount of the fourth data.

6. The method according to claim 3, characterized in that The method further comprises: In the bandwidth allocation obtained by the transmission container, a third bandwidth request and a third load are sequentially sent to the optical line terminal, wherein the third load carries fifth data, the third bandwidth request carries the data amount of sixth data, and the data amount of the sixth data is: the data amount cached in the transmission container when the third bandwidth request is generated; The optical line terminal subtracts the data volume of the fifth data from the data volume of the sixth data to obtain the data volume of the seventh data, and allocates bandwidth according to the data volume of the seventh data.

7. The method according to claim 6, characterized in that In the bandwidth allocation obtained by the transmission container, before sequentially sending the third bandwidth request and the third load to the optical line terminal, the method further includes: Sending first indication information to the optical line terminal, wherein the first indication information is used to indicate a sending order of the third load and the third bandwidth request in the bandwidth allocation, and / or a calculation method of a data amount of the seventh data; Second indication information sent by the optical line terminal is received, wherein the second indication information is used to indicate a sending order of the third load and the third bandwidth request in the bandwidth allocation, and / or a calculation method of a data amount of the seventh data.

8. The method according to claim 3, characterized in that The sending method of the agreed bandwidth request between the optical network unit and the optical line terminal includes: The optical network unit sends first indication information to the optical line terminal, wherein the first indication information is used to indicate a sending method of the bandwidth request; The optical network unit receives second indication information sent by the optical line terminal, wherein the second indication information is used to indicate a sending method of the bandwidth request.

9. A device for sending a bandwidth request, characterized in that: include: The first sending module is used to send a load and a bandwidth request to an optical line terminal in sequence in the bandwidth allocation obtained by a transmission container, including: sending the load to the optical line terminal in the bandwidth allocation obtained by the transmission container; after sending the load to the optical line terminal, sending the bandwidth request at the end of the bandwidth allocation, wherein the difference between the generation time of the bandwidth request and the sending time of the bandwidth request is less than or equal to a preset difference; wherein the load carries the first data, the bandwidth request carries the data amount of the second data, and the data amount of the second data is: the data amount cached in the transmission container when the bandwidth request is generated.

10. The device according to claim 9, characterized in that include: An agreement module is used to agree on a sending mode of a bandwidth request between an optical network unit and an optical line terminal, wherein the optical network unit includes one or more transmission containers, and the sending mode of the bandwidth request includes at least one of the following: In the bandwidth allocation obtained by the transmission container, a first load and a first bandwidth request are sequentially sent to the optical line terminal, wherein the first load carries first data, the first bandwidth request carries the data amount of second data, and the data amount of the second data is: the data amount cached in the transmission container when the first bandwidth request is generated; In the bandwidth allocation obtained by the transmission container, a fourth bandwidth request and a fourth load are sequentially sent to the optical line terminal, wherein the fourth load carries eighth data, and the data amount of ninth data carried in the fourth bandwidth request is: the data amount cached in the transmission container when the fourth bandwidth request is generated.

11. The device according to claim 10, characterized in that include: The second sending module is used to send a second bandwidth request and a second load to the optical line terminal in sequence in the bandwidth allocation obtained by the transmission container, wherein the second load carries the third data, and the second bandwidth request carries the data amount of the fourth data, and the data amount of the fourth data is obtained by subtracting the data amount of the third data from the data amount cached in the transmission container when the second bandwidth request is generated.

12. The device according to claim 10, characterized in that The device also includes: The third sending module sequentially sends a third bandwidth request and a third load to the optical line terminal in the bandwidth allocation obtained by the transmission container, wherein the third load carries fifth data, the third bandwidth request carries the amount of sixth data, and the amount of sixth data is: the amount of data cached in the transmission container when the third bandwidth request is generated The allocation module is configured to obtain a data volume of the seventh data by subtracting a data volume of the fifth data from a data volume of the sixth data, and allocate bandwidth according to the data volume of the seventh data.

13. A computer-readable storage medium, the computer-readable storage medium comprising a stored program, wherein: When the program is executed, the method described in any one of claims 1 to 8 is executed.

14. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 through the computer program.

Citation Information

Patent Citations

  • Dynamic bandwidth allocation method, equipment and system of multi-service transport network

    CN101686177A

  • Bandwidth allocation method and optical line terminal (OLT)

    CN101997761A

  • Dynamic distribution control of upward band width in passive optical network

    CN1614944A