CN-122001482-A - Bandwidth adjustment method and device
Abstract
A bandwidth adjusting method and device relates to the technical field of optical communication and is used for improving the bandwidth adjusting rate. The size of the service container in the present application is adjusted to follow the bandwidth (or rate) of the OSU frame. When the source node determines that the bandwidth of the service data needs to be adjusted, updating the value of the first indication in the data unit frame to indicate the bandwidth adjustment position, further determining the actual starting position of the bandwidth change based on the bandwidth adjustment position, mapping the part of the data unit frame before the actual starting position into the service container before adjustment, and mapping the part of the data unit frame after the actual starting position into the service container after adjustment. Compared with the prior scheme of adjusting one byte every 125us, the application can realize the adjustment from the first bandwidth to the second bandwidth by only adjusting once, thereby improving the bandwidth adjustment rate.
Inventors
- SU WEI
- SUN LIANG
- ZHENG SHUQIAN
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20231120
- Priority Date
- 20221122
Claims (20)
- 1. A method of bandwidth adjustment, the method comprising: Carrying a first indication in the overhead of a first data unit frame, wherein the first indication is used for indicating that the bandwidth of the first data unit frame needs to be adjusted; mapping a part of bytes, which are positioned before a bandwidth adjustment position, of the first data unit frame into a first service container of a second data unit frame, mapping a part of bytes, which are positioned after the bandwidth adjustment position, of the first data unit frame into a second service container of the second data unit frame, wherein the number of time slots occupied by the first service container and the second service container in the second data unit frame is different, and a set distance is reserved between the bandwidth adjustment position and the position where the first indication is positioned.
- 2. The method of claim 1, wherein the first indication is carried in an adjustment overhead RCOH.
- 3. The method of claim 2, wherein a distance between the location of the RCOH and the bandwidth adjustment location is a plurality of 16 bytes.
- 4. A method as claimed in claim 2 or 3, wherein the RCOH is located in lines 1 to 3 of the first data unit frame.
- 5. The method according to any of claims 1-4, wherein the first indication is 1, indicating that the rate of the first data unit frame needs to be adjusted.
- 6. The method of any of claims 1-5, wherein the first indication changing from 0 to 1 indicates that a rate of the first data unit frame needs to be adjusted.
- 7. The method of any of claims 1-6, wherein the second data unit frame comprises a plurality of 10M time slots.
- 8. The method of claim 7, wherein the slot granularity is 16 bytes.
- 9. The method of any of claims 1-8, wherein each slot of the second data unit frame comprises 256 data blocks.
- 10. The method of any of claims 1-9, wherein each slot of the second data unit frame comprises a 12-bit first overhead area.
- 11. The method according to any of claims 1-10, wherein the second data unit frame comprises a second overhead area, the upper 5 bits and the lower 5 bits of the tributary port number TPID being carried in the second overhead area of different second data unit frames, respectively.
- 12. A method of bandwidth adjustment, the method comprising: Receiving a second data unit frame, and demapping a first data unit frame from the second data unit frame, wherein the overhead of the first data unit frame carries a first indication, and the first indication is used for indicating that the bandwidth of the first data unit frame needs to be adjusted; And the partial bytes of the first data unit frame, which are positioned before the bandwidth adjustment position, are demapped from a first service container of the second data unit frame, the partial bytes of the first data unit frame, which are positioned after the bandwidth adjustment position, are demapped from a second server of the second data unit frame, the number of time slots occupied by the first service container and the second service container in the second data unit frame is different, and a set distance is reserved between the bandwidth adjustment position and the position where the first indication is positioned.
- 13. The method of claim 12, wherein the first indication is carried in an adjustment overhead RCOH.
- 14. The method of claim 13, wherein a distance between the location of the RCOH and the bandwidth adjustment location is a plurality of 16 bytes.
- 15. The method of claim 13 or 14, wherein the RCOH is located in line 1 to line 3 of the first data unit frame.
- 16. The method according to any of claims 12-15, wherein the first indication is 1, indicating that the rate of the first data unit frame needs to be adjusted.
- 17. The method of any of claims 12-16, wherein the first indication changes from 0 to 1 indicating that a rate of the first data unit frame needs to be adjusted.
- 18. A method as claimed in any one of claims 12 to 17, wherein the second data unit frame comprises a plurality of 10M time slots.
- 19. The method of claim 18, wherein the slot granularity is 16 bytes.
- 20. The method of any of claims 12-19, wherein each slot of the second data unit frame comprises 256 data blocks.
Description
Bandwidth adjustment method and device The present application is a divisional application, the application number of the original application is 202380076844.1, the original application date is 2023, 11 and 20, and the whole content of the original application is incorporated by reference. Cross Reference to Related Applications The present application claims priority from the chinese patent application entitled "a bandwidth adjustment method and apparatus" filed in the national intellectual property office of the people's republic of China, application number 202211469162.0, day 22, 11, 2022, the entire contents of which are incorporated herein by reference. Technical Field The present application relates to the field of optical communications technologies, and in particular, to a bandwidth adjustment method and apparatus. Background Optical transport networks (optical transport network, OTN) have become the dominant technology adopted by transport networks due to their high bandwidth, large capacity, high reliability, low latency, etc. OTN is widely used in networks such as backbones, metropolitan area cores, and convergence, and is currently expanding further towards access networks. OTN can currently provide n1.25Gbps、nA large bandwidth transmission capability of 5Gbps, etc., may provide a smaller bandwidth transmission capability, such as with an Optical Service Unit (OSU). When transmitting service signals, the service signals are mapped into OSUs, and then the OSUs is mapped into a payload area of a flexible optical channel data unit (ODUflex) for transmission. In some scenarios, the OSU rate may increase due to traffic demand. The current scheme of adjusting one byte every 125us does not support fast bandwidth adjustment. Disclosure of Invention The embodiment of the application provides a bandwidth adjusting method and device, which are used for improving the bandwidth adjusting rate. In a first aspect, an embodiment of the present application provides a bandwidth adjustment method, which is applied to a first network node. The bandwidth adjustment method comprises the step of obtaining service data. Mapping the service data to a plurality of data unit frames, wherein the payload areas of the plurality of data unit frames are used for bearing the service data. And when the bandwidth of the service data is determined to need to be adjusted, setting a first indication carried in a first data unit frame of the plurality of data unit frames as a set value. And when the first indication is a set value, indicating the bandwidth adjustment position of the service data in the plurality of data unit frames. And determining a first position of the bandwidth of the plurality of data unit frames at the first network node from a first bandwidth to a second bandwidth according to the bandwidth adjustment position. The method comprises the steps of mapping a portion of the plurality of data unit frames located before the first location to a first service container of an optical transport network, OTN, frame, and mapping a portion of the plurality of data unit frames located after the first location to a second service container of the OTN frame. And sending the OTN frame. In an embodiment of the application, the size of the service container is adjusted to follow the bandwidth (or rate) of the OSU. When the source node determines that the bandwidth of the service data needs to be adjusted, updating the value of the first indication in the data unit frame to indicate the bandwidth adjustment position, further determining the actual starting position of the bandwidth change based on the bandwidth adjustment position, mapping the previous actual starting position into the service container before adjustment, and mapping the next actual starting position into the service container before adjustment. Compared with the prior art that one byte is adjusted every 125us, the method can realize the adjustment from the first bandwidth to the second bandwidth only once, and improves the bandwidth adjustment rate. In one possible design, the overhead area of the first data unit frame also carries a second indication. The second indication is for indicating a number of network nodes through which the plurality of data unit frames pass. Wherein the passing network node is a network node which completes mapping to the OTN frame at the service layer for the plurality of data unit frames. In one possible design, determining a first location at the first network node where the bandwidth of the plurality of data unit frames is converted from a first bandwidth to a second bandwidth based on the bandwidth adjustment location includes adjusting a value accumulation 1 of a second indication in the first data unit frame and determining the first location based on the bandwidth adjustment location and the adjusted value of the second indication. In the design, the actual adjustment position of the bandwidth is determined according to the