Bandwidth adjusting method and related equipment

文档序号:142733 发布日期:2021-10-22 浏览:20次 中文

阅读说明:本技术 一种带宽调整的方法以及相关设备 (Bandwidth adjusting method and related equipment ) 是由 孙亮 向俊凌 龚兆明 于 2020-04-15 设计创作,主要内容包括:本发明实施例公开了一种带宽调整的方法以及相关设备,用于对传输帧所包括的第一净荷分区的带宽进行灵活的调整。本申请实施例方法包括如下步骤:首先,在传输帧的净荷区中确定第一净荷分区和第二净荷分区;其次,确定至少一路业务的带宽和第一净荷分区的带宽不匹配;最后,调整第一净荷分区的带宽,调整后的第一净荷分区的带宽和至少一路业务的带宽匹配。(The embodiment of the invention discloses a bandwidth adjusting method and related equipment, which are used for flexibly adjusting the bandwidth of a first payload partition included in a transmission frame. The method in the embodiment of the application comprises the following steps: firstly, determining a first payload partition and a second payload partition in a payload area of a transmission frame; secondly, determining that the bandwidth of at least one path of service is not matched with the bandwidth of the first payload subarea; and finally, adjusting the bandwidth of the first payload partition, wherein the adjusted bandwidth of the first payload partition is matched with the bandwidth of at least one path of service.)

1. A method of bandwidth adjustment, the method comprising:

determining a first payload partition and a second payload partition in a payload area of a transmission frame, wherein the first payload partition and the second payload partition are divided in different modes, and the first payload partition is divided into a plurality of payload blocks for carrying at least one path of service;

determining that the bandwidth of the at least one service is not matched with the bandwidth of the first payload partition;

and adjusting the bandwidth of the first payload partition, wherein the adjusted bandwidth of the first payload partition is matched with the bandwidth of the at least one path of service.

2. The method of claim 1, wherein the adjusting the bandwidth of the first payload partition comprises: and if the bandwidth of the at least one path of service is greater than the bandwidth of the first payload partition, distributing partial bandwidth of the second payload partition to the first payload partition.

3. The method of claim 2, wherein after adjusting the bandwidth of the first payload partition, the method further comprises:

acquiring a first quantity, wherein the first quantity is the quotient of the bandwidth of the first payload partition and the bandwidth of the payload block;

increasing the number of payload blocks included in each transmission period in the first payload partition to the first number.

4. The method of claim 3, further comprising:

acquiring a first indication message, where the first indication message is used to indicate a first bandwidth of a first service, and the first service is a path of service with increased bandwidth in the at least one path of service;

after increasing the number of payload blocks included in each transmission cycle in the first payload partition to the first number, the method further includes:

and according to the first indication message, determining the payload blocks for carrying the first service in each transmission period, wherein the bandwidth of the payload blocks for carrying the first service is greater than or equal to the first bandwidth.

5. The method of claim 1, wherein prior to determining that the bandwidth of the at least one traffic and the bandwidth of the first payload section do not match, the method further comprises:

acquiring a second indication message, where the second indication message is used to indicate a second bandwidth of a second service, and the second service is a service with a reduced bandwidth in the at least one service;

and according to the second indication message, reducing the number of the payload blocks used for carrying the second service in each transmission period in the first payload partition to a second number, wherein the bandwidth of the payload blocks with the second number is greater than or equal to the second bandwidth.

6. The method of claim 5, wherein after determining that the bandwidth of the at least one traffic and the bandwidth of the first payload section do not match, the method further comprises:

if the bandwidth of the at least one path of service is smaller than the bandwidth of the first payload partition, acquiring a third number, wherein the bandwidth of the payload blocks with the third number is greater than or equal to the bandwidth of the at least one path of service;

reducing the number of payload blocks included in each transmission cycle in the first payload partition to the third number.

7. The method of claim 6, wherein the adjusting the bandwidth of the first payload partition comprises:

allocating a portion of the bandwidth of the first payload partition to the second payload partition.

8. The method of any of claims 1 to 7, wherein the second payload partition is divided into a plurality of slots, a plurality of code blocks, or a plurality of bytes.

9. The method according to any of claims 1 to 8, wherein the transmission frame is an Optical Transport Unit (OTU) frame, a passive optical network transmission convergence (GTC) frame or an optical burst packet.

10. A digital processing chip, said chip comprising a processor and a memory, said memory and said processor interconnected by a line, said memory having stored therein instructions, said processor being configured to perform a method of bandwidth adjustment as claimed in any one of claims 1 to 9.

11. A network device, comprising:

the system comprises a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor calls a program code in the memory to execute the following steps:

determining a first payload partition and a second payload partition in a payload area of a transmission frame, wherein the first payload partition is divided into a plurality of payload blocks for bearing at least one path of service, and the division modes of the first payload partition and the second payload partition are different;

determining that the bandwidth of the at least one service is not matched with the bandwidth of the first payload partition;

and adjusting the bandwidth of the first payload partition, wherein the adjusted bandwidth of the first payload partition is matched with the bandwidth of the at least one path of service.

12. The network device of claim 11, wherein the processor, in adjusting the bandwidth of the first payload partition, is specifically configured to:

and if the bandwidth of the at least one path of service is greater than the bandwidth of the first payload partition, distributing partial bandwidth of the second payload partition to the first payload partition.

13. The network device of claim 12, wherein the processor is further configured to:

acquiring a first quantity, wherein the first quantity is the quotient of the bandwidth of the first payload partition and the bandwidth of the payload block;

increasing the number of payload blocks included in each transmission period in the first payload partition to the first number.

14. The network device of claim 13, wherein the processor is further configured to:

acquiring a first indication message, where the first indication message is used to indicate a first bandwidth of a first service, and the first service is a path of service with increased bandwidth in the at least one path of service;

and according to the first indication message, determining the payload blocks for carrying the first service in each transmission period, wherein the bandwidth of the payload blocks for carrying the first service is greater than or equal to the first bandwidth.

15. The network device of claim 11, wherein the processor is further configured to:

acquiring a second indication message, where the second indication message is used to indicate a second bandwidth of a second service, and the second service is a service with a reduced bandwidth in the at least one service;

and according to the second indication message, reducing the number of the payload blocks used for carrying the second service in each transmission period in the first payload partition to a second number, wherein the bandwidth of the payload blocks with the second number is greater than or equal to the second bandwidth.

16. The network device of claim 15, wherein the processor is further configured to:

if the bandwidth of the at least one path of service is smaller than the bandwidth of the first payload partition, acquiring a third number, wherein the bandwidth of the payload blocks with the third number is greater than or equal to the bandwidth of the at least one path of service;

reducing the number of payload blocks included in each transmission cycle in the first payload partition to the third number.

17. The network device of claim 16, wherein the processor, in adjusting the bandwidth of the first payload section, is specifically configured to:

allocating a portion of the bandwidth of the first payload partition to the second payload partition.

18. The network device of any of claims 11 to 17, wherein the second payload partition is divided into a plurality of slots, a plurality of code blocks, or a plurality of bytes.

19. The network device according to any of claims 11 to 18, wherein the transmission frame is an optical transport unit, OTU, passive optical network transmission convergence, GTC, frame or an optical burst packet.

Technical Field

The present application relates to the field of optical communications, and in particular, to a method for adjusting bandwidth and a related device.

Background

In an existing optical communication network, a transmission frame for carrying a service includes a first payload partition and a second payload partition. Wherein the first payload partition is divided into a plurality of Payload Blocks (PB).

The total number of payload blocks within each transmission period in the first payload section is fixed. One or more services are mapped to the payload blocks included in the transmission period. If the bandwidth of one or more of the services is reduced, part of the payload blocks included in the transmission period may be underutilized. The utilization rate of bandwidth resources of the transmission frame is reduced. If the bandwidth of one or more paths of services is increased and is greater than the bandwidth of the first payload partition, the services cannot be mapped into the first payload partition, and service transmission fails.

Disclosure of Invention

The embodiment of the application provides a bandwidth adjusting method and related equipment, which are used for flexibly adjusting the bandwidth of a first payload partition of a transmission frame.

In a first aspect, an embodiment of the present invention provides a method for adjusting a bandwidth. The method comprises the following steps: first, the network device determines a first payload partition and a second payload partition in a payload region of a transmission frame. The first payload partition and the second payload partition are divided differently. The first payload partition is divided into a plurality of payload blocks for carrying at least one path of service. The service carried by the first payload partition is different from the service carried by the second payload partition. Subsequently, the network device determines that the bandwidth of the at least one service does not match the bandwidth of the first payload partition. Finally, the network device adjusts the bandwidth of the first payload partition, and the adjusted bandwidth of the first payload partition is matched with the bandwidth of the at least one path of service.

The first payload partition and the second payload partition are divided in different manners, which means that an object divided by the first payload partition and an object divided by the second payload partition are different. The division object of the first payload partition is a payload block. The objects divided by the second payload partition are time slots or code blocks. The different division modes of the first payload partition and the second payload partition may also mean that the number of bytes included in the object divided by the first payload partition and the object divided by the second payload partition are different. The different division modes of the first payload partition and the second payload partition may also mean that the arrangement modes of the objects divided by the first payload partition and the objects divided by the second payload partition are different. The payload blocks of one transmission cycle as comprised by the first payload section are arranged in the horizontal direction. The time slots included in the second payload section are arranged in a vertical direction.

In this embodiment, the network device is capable of simultaneously carrying different traffic based on the first payload partition and the second payload partition. The time delay for processing the service is effectively reduced. The number of the single boards required to be set by the network equipment is reduced, and the utilization rate of the slot positions of the network equipment is improved. And the network equipment can flexibly adjust the bandwidth of the first payload subarea of the transmission frame according to the bandwidth of the at least one path of service. The successful transmission of the at least one path of service and the utilization rate of the bandwidth resource are effectively ensured.

Based on the first aspect, in an optional implementation manner, the adjusting the bandwidth of the first payload partition includes: if the bandwidth of the at least one service is greater than the bandwidth of the first payload partition, the network device allocates part of the bandwidth of the second payload partition to the first payload partition. The network equipment adjusts the bandwidth by distributing partial bandwidth of the second payload subarea to the first payload subarea, thereby effectively ensuring the successful transmission of the service.

Based on the first aspect, in an optional implementation manner, the method further includes: the network device obtains a first number. The first number is a quotient between a bandwidth of the first payload partition and a bandwidth of the payload block. The network device increases the number of the payload blocks included in each transmission period in the first payload partition to the first number. And the network equipment adjusts the payload blocks included in each transmission period according to the first quantity, so that the adjusted transmission period can successfully bear the at least one path of service.

Based on the first aspect, in an optional implementation manner, the method further includes: the network device acquires the first indication message. The first indication message is used for indicating a first bandwidth of the first service. The first service is a path of service with bandwidth increased in the at least one path of service. And the network equipment determines the payload block for carrying the first service in each transmission period according to the first indication message. The bandwidth of the payload block for carrying the first service is greater than or equal to the first bandwidth.

In this embodiment, after the network device adjusts the bandwidth of the first payload partition, the number of payload blocks corresponding to the first service is further adjusted. The successful bearing of the first service with changed bandwidth by the transmission frame is effectively ensured.

Based on the first aspect, in an optional implementation manner, the method further includes: the network device acquires the second indication message. The second indication message is used for indicating a second bandwidth of the second service. The second service is one path of service with reduced bandwidth in the at least one path of service. And the network equipment reduces the number of the payload blocks used for bearing the second service in each transmission period in the first payload partition to a second number according to the second indication message. The bandwidth of the payload blocks having the second number is greater than or equal to the second bandwidth. The number of the payload blocks corresponding to the second service is adjusted, so that the successful bearing of the transmission frame to the second service with the changed bandwidth is effectively ensured.

Based on the first aspect, in an optional implementation manner, the method further includes: and if the bandwidth of the at least one path of service is smaller than the bandwidth of the first payload partition, the network equipment acquires a third quantity. The bandwidth of the payload blocks with the third number is greater than or equal to the bandwidth of the at least one service. The network device reduces the number of payload blocks included in each transmission cycle in the first payload section to the third number. In this embodiment, the network device adjusts the number of payload blocks included in each transmission period to ensure that the transmission frame can successfully carry the at least one service.

In an optional implementation form according to the first aspect, the network device allocates a part of the bandwidth of the first payload partition to the second payload partition. In this embodiment, when the bandwidth of the service to be transmitted is smaller than the bandwidth of the first payload partition, the network device performs bandwidth adjustment by allocating a part of the bandwidth of the first payload partition to the second payload partition. Bandwidth utilization of the first payload partition is improved.

In an optional implementation manner based on the first aspect, the second payload partition is divided into a plurality of slots, a plurality of code blocks, or a plurality of bytes.

Based on the first aspect, in an optional implementation manner, the transmission frame is an optical transport unit OTU frame, a passive optical network transmission convergence GTC frame, or an optical burst packet.

In a second aspect, embodiments of the invention provide a digital processing chip that includes a processor and a memory. The memory and the processor are interconnected by a line, the memory stores instructions, and the processor is configured to perform the method for bandwidth adjustment according to any one of the first aspect. For the description of the beneficial effects, see the above description of the first aspect, no further description is given.

In a third aspect, an embodiment of the present invention provides a network device, including: a processor and a memory. Wherein the processor and the memory are interconnected by a line, and the processor calls the program code in the memory to execute the method according to any one of the above first aspects. For a description of the advantageous effects, reference is made to the description related to the first aspect above.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the method shown in any one of the above first aspects.

In a fifth aspect, embodiments of the present invention provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects described above.

Drawings

Fig. 1 is a schematic structural diagram of an optical communication network according to an embodiment of the present invention;

FIG. 2 is a flowchart illustrating steps of a method for adjusting bandwidth according to a first embodiment of the present invention;

fig. 3 is a diagram illustrating a first frame structure of a transmission frame according to an embodiment of the present invention;

fig. 4 is a diagram illustrating a second frame structure of a transmission frame according to an embodiment of the present invention;

fig. 5 is a diagram illustrating a third frame structure of a transmission frame according to an embodiment of the present invention;

FIG. 6 is a flowchart illustrating steps of a method for adjusting bandwidth according to a second embodiment of the present invention;

fig. 7 is a schematic diagram of mapping a service provided by an embodiment of the present invention to a first payload partition;

FIG. 8 is a flowchart illustrating steps of a method for adjusting bandwidth according to a third embodiment of the present invention;

fig. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention.

Detailed Description

To better understand the method for adjusting bandwidth provided in the present application, an optical communication network to which the method shown in the present application is applied will be described below with reference to fig. 1. Fig. 1 is a schematic structural diagram of an optical communication network according to an embodiment of the present invention.

The optical communication network shown in fig. 1 includes a Passive Optical Network (PON) 110. The PON110 includes an Optical Line Terminal (OLT) 111, an Optical Distribution Network (ODN) 112, and a plurality of Optical Network Units (ONUs) 113. The OLT111 is connected to the ODN 112. The OLT111 connects a plurality of ONUs 113 in a point-to-multipoint fashion through the ODN 112.

The optical communication network also includes an Optical Transport Network (OTN) 120. The OTN120 includes a plurality of interconnected OTN devices 121. One OTN device 121 in the OTN120 is connected to the OLT111 to implement service interaction. For example, the OTN device 121 may send traffic to the PON110 through the OLT 111. As another example, the ONU113 may send traffic to the OTN120 sequentially through the ODN112 and the OLT 111.

Based on the optical communication network shown in fig. 1, a specific implementation procedure of the method for adjusting bandwidth provided in the present application is described below with reference to fig. 2. Fig. 2 is a flowchart illustrating steps of a method for adjusting a bandwidth according to a first embodiment of the present invention.

Step 201, the network device determines a first payload partition and a second payload partition in a payload region of a transmission frame.

The frame structure of the transmission frame shown in this embodiment is a hybrid multiplexing frame structure. The hybrid multiplexing frame structure specifically refers to: the payload region of the transmission frame includes a first payload partition and a second payload partition. The first payload partition and the second payload partition are divided differently. The present embodiment does not limit the specific number of the first payload partition and the second payload partition. The present embodiment exemplifies that the payload area of the transmission frame includes a first payload partition and a second payload partition. For better understanding, several cases of transmitting frames are described below:

case 1: the network device is an OTN device, and the transmission frame is an Optical Transport Unit (OTU) frame. Fig. 3 is a schematic diagram of a first frame structure of a transmission frame according to an embodiment of the present invention.

The payload region 300 of the OTU frame comprises two parts, a first payload partition 301 and a second payload partition 302. The first payload partition 301 is divided into a plurality of payload blocks for carrying traffic. The payload block shown in this application is a frame structure including a specific number of bytes, and may also be referred to as a sub-frame, a data block, or a sub-block, which is not specifically limited in this application. The present embodiment does not limit the specific number of payload blocks included in the first payload partition 301. The second payload partition 302 is divided into a plurality of time slots or code blocks for carrying traffic. For example, the second payload partition includes a plurality of slots of 1.25G size. A code block refers to a series of bits having a fixed length and a fixed format. A code block with a fixed format includes bits for carrying a synchronization header, bits for carrying a type identifier, and bits for carrying data. The length of the code block is not limited in this embodiment, and for example, the length of the code block is 66 bits, 256 bits, 257 bits, or 512 bits.

The present embodiment is exemplified by the case where the first payload partition 301 includes payload blocks and the second payload partition 302 includes slots. The time slots 303 in the second payload section 302 are used to carry traffic M. The payload blocks 304 in the first payload partition 301 are used to carry traffic N. The number of the services M and N is not limited in this example. Service N is the service mapped to the first payload partition. The service M may be a service mapped to the second payload partition based on a General Mapping Process (GMP), an Asynchronous Mapping Process (AMP), a bit-synchronous mapping process (BMP), an Idle Mapping Process (IMP), or the like.

It can be seen that the hybrid multiplexing structure of the transmission frame can simultaneously carry the service N and the service M. The network device does not need to set an independent single board for the transmission frame for carrying the service N and the transmission frame for carrying the service M to realize the service carrying. The network device can simultaneously realize the bearing of the service M and the service N only by one single board. The time delay for processing the service is effectively reduced. The number of the single boards required to be set by the network equipment is reduced, and the utilization rate of the slot positions of the network equipment is improved.

The different partitioning shown in this case may also be that the arrangement of payload blocks in the first payload partition 301 is different from the arrangement of time slots in the second payload partition 302. For example, payload blocks located within one transmission period shown in fig. 3 are arranged in the horizontal direction in the first payload section 301. The slots are arranged vertically in the second payload section 302. And the transmission cycle carries the service to be transmitted through the payload blocks.

Case 2: the network device is an OLT, and the transmission frame is a passive optical network transmission convergence (GTC) frame. Fig. 4 is a diagram illustrating a second frame structure of a transmission frame according to an embodiment of the present invention.

The payload area 400 of the GTC frame includes a first payload partition 401 and a second payload partition 402. For the dividing manner of the first payload partition 401, please refer to the dividing manner of the first payload partition 301 shown in fig. 3, which is not described in detail herein. The second payload section 402 is divided into a plurality of sections for carrying a passive optical network encapsulation method (GEM) frame in number of bytes. In this case, the first payload partition 401 and the second payload partition are divided differently, which means that the payload blocks divided by the first payload partition 401 and the portion of the second payload partition for carrying the GEM frame have different byte numbers.

Case 3: the network equipment is an ONU, and the transmission frame is a plurality of optical burst packets sent to the OLT in a time-sharing manner. Fig. 5 is a diagram illustrating a third frame structure of a transmission frame according to an embodiment of the present invention.

In a plurality of optical burst packets 500 transmitted by the ONU, a payload region of each optical burst packet 500 includes a first payload partition 501 and a second payload partition 502. The first payload partition 501 is divided in the manner shown in fig. 3 for the first payload partition 301. The dividing manner of the second payload partition 502 please refer to the description of the second payload partition 402 shown in fig. 4, which is not described in detail.

Step 202, the network device determines that the bandwidth of the service to be transmitted does not match the bandwidth of the first payload partition.

The service to be transmitted is the service to be transmitted by the network equipment through the first payload partition. The service to be transmitted comprises one or more paths of services. The embodiment does not limit the specific number of the services included in the service to be transmitted.

The mismatch condition shown in this embodiment may be: the bandwidth of the service to be transmitted is greater than the bandwidth of the first payload partition. The mismatch may also be: the bandwidth of the service to be transmitted is less than that of the first payload partition.

Step 203, the network device adjusts the bandwidth of the first payload partition.

And under the condition that the network equipment determines that the bandwidth of the service to be transmitted is not matched with the bandwidth of the first payload partition, the network equipment adjusts the bandwidth of the first payload partition. For example, if the bandwidth of the traffic to be transmitted is greater than the bandwidth of the first payload partition, the network device allocates a portion of the bandwidth of the second payload partition to the first payload partition. And carrying the service to be transmitted by increasing the bandwidth of the first payload partition. For another example, if the bandwidth of the service to be transmitted is smaller than the bandwidth of the first payload partition, a part of the bandwidth of the first payload partition is allocated to the second payload partition. The utilization rate of the bandwidth resource of the first payload partition is improved by reducing the bandwidth of the first payload partition. Therefore, the adjusted bandwidth of the first payload partition is ensured to be matched with the bandwidth of the service to be transmitted by adjusting the bandwidth of the first payload partition.

By adopting the method shown in the embodiment, the bandwidth of the first payload partition of the transmission frame can be flexibly adjusted according to the bandwidth of the service to be transmitted. And under the condition that the bandwidth of the service to be transmitted is smaller than that of the first payload partition, the bandwidth utilization rate of the first payload partition can be improved. And under the condition that the bandwidth of the service to be transmitted is greater than that of the first payload partition, the successful transmission of the service can be ensured.

The following describes a specific process of the network device performing bandwidth adjustment when the bandwidth of the service to be transmitted is greater than the bandwidth of the first payload partition. Fig. 6 is a flowchart illustrating steps of a method for adjusting bandwidth according to a second embodiment of the present invention.

Step 601, the network device determines a first payload partition and a second payload partition in a payload region of a transmission frame.

The detailed description of step 601 shown in this embodiment refers to the description of step 201 in fig. 2, which is not repeated herein.

Step 602, the network device determines that the bandwidth of the service to be transmitted is greater than the bandwidth of the first payload partition.

The network device may determine, according to the bandwidth increase message, that the bandwidth of the service to be transmitted is greater than the bandwidth of the first payload section. The source of the bandwidth increase message is not limited in this embodiment. The bandwidth increase message may be sent by a network management device connected to the network device. The bandwidth increase message may also be sent by an upstream network device to a network device. The upstream network device is used for sending the service to be transmitted to the network device. If the network device is an OTN device, the upstream network device may be another OTN device or an OLT. If the network device is an OLT, the upstream network device may be an OTN device or an ONU. And if the network equipment is the ONU, the upstream network equipment is the OLT.

The bandwidth increase message may also be generated locally by the network device. Specifically, when the network device obtains the bandwidth of the service to be transmitted, the network device compares the bandwidth of the service to be transmitted with the bandwidth of the first payload partition. And generating the bandwidth increasing message under the condition that the bandwidth of the service to be transmitted is determined to be larger than the bandwidth of the first payload partition.

The embodiment does not limit the specific content of the bandwidth increasing message, as long as the network device can determine that the bandwidth of the service to be transmitted is greater than the bandwidth of the first payload partition according to the bandwidth increasing message. For example, the bandwidth increase message is used to indicate an event that increases the bandwidth of the first payload partition and the bandwidth of the traffic to be transmitted.

Step 603, the network device adjusts the bandwidth of the first payload partition.

In this embodiment, the network device allocates a part of the bandwidth of the second payload partition to the first payload partition according to the bandwidth increase message. So as to ensure that the bandwidth of the allocated first payload partition is matched with the bandwidth of the service to be transmitted. The following exemplary adjustment procedure for the first payload partition with respect to a specific frame structure:

as shown in fig. 3, the second payload partition 302 of the OTU frame includes a fixed number of 2.5G slots as an example. The network device assigns a 2.5G slot originally belonging to the second payload section to the first payload section 301 according to the bandwidth increase message. It can be seen that if the bandwidth of the original first payload partition 301 is 2.5G, the bandwidth of the adjusted first payload partition 301 is 5G.

As shown in fig. 4, the second payload partition 402 of the GTC frame includes a plurality of bytes. The network equipment (OLT) assigns the set of bytes originally belonging to the second payload section to the first payload section 401 according to the bandwidth increase message. Wherein the set of bytes comprises a plurality of bytes originally located in the second payload section 402 and having consecutive positions. For example, if the first payload section 401 includes N bytes and the set of bytes assigned by the network device to the first payload section 401 includes M bytes, then the assigned first payload section 401 includes N + M bytes.

In this example, the bandwidth increase message is specifically used to indicate the number of bytes included in the set of bytes and the location of the starting byte of the set of bytes in the second payload section 402. As can be seen, when the network device acquires the bandwidth increasing message, the byte set may be allocated to the first payload partition 401 according to the bandwidth increasing message. To ensure that the allocated first payload partition 401 can successfully transmit the service to be transmitted.

As shown in fig. 5, the second payload partition 502 of each optical burst packet 500 includes a number of bytes. The network device (ONU) allocates the bandwidth originally belonging to the second payload partition 502 to the first payload partition 501 according to the bandwidth increasing message, which is shown in fig. 4 and is not described again.

Step 604, the network device adjusts each transmission period in the first payload partition.

In this embodiment, after the bandwidth of the first payload partition is increased, the number of payload blocks included in each transmission cycle included in the first payload partition needs to be adjusted.

Specifically, the network device adjusts the transmission period based on the first number. The first number is the number of payload blocks included in each transmission cycle in the first payload partition. In order to guarantee the successful transmission of the service to be transmitted, it should be guaranteed that the bandwidth of the transmission period is greater than or equal to the bandwidth of the service to be transmitted in the case that the transmission period has the first number of payload blocks.

The source of the first number is not limited in this embodiment, for example, the source of the first number may refer to the description of the source of the bandwidth increasing message shown in fig. 3, and details thereof are not repeated.

The present embodiment exemplifies that the first number is calculated locally by the network device to be acquired. Specifically, the network device performs calculation according to the formula shown below to obtain the first number.

PN is a first number, floor represents a rounded-down, RN is the bandwidth of the adjusted first payload partition, and PBN is the bandwidth of a single payload block.

Before the bandwidth of the first payload partition is not adjusted, the bandwidth of the first payload partition is smaller than the bandwidth of the service to be transmitted. The transmission period before the bandwidth of the first payload partition is not adjusted cannot bear the service to be transmitted. The transmission period includes P payload blocks. In order to successfully transmit the service to be transmitted, the network device increases the number of payload blocks included in each transmission cycle in the first payload partition to the first number PN. As can be seen, PN > P.

In the case where the network device adjusts the number of payload blocks of the transmission cycle included in the first payload partition to the first number PN, the network device completes the adjustment of the transmission cycle. To ensure that the downstream network device can successfully demap the traffic from the transmission frame, it is necessary that the downstream network device can accurately determine the position of each transmission cycle in the first payload section. The downstream network device is used for receiving the service to be transmitted from the network device.

To ensure that the downstream network device determines the location of each transmission cycle in the first payload section, the network device sends a multiframe indication message to the downstream network device. The multiframe indication message is used for indicating a multiframe period and the number of transmission periods included in the multiframe period. The downstream network device may perform service demapping based on the multiframe period. Specifically, the first byte and the last byte in a plurality of transmission periods included in the multiframe period coincide with the start position and the end position of the multiframe period, respectively.

The present embodiment does not limit the specific manner in which the network device sends the multiframe indication message to the downstream network device. For example, the network device carries the multiframe indication message in the overhead of the transmission frame included in the multiframe period. In another example, the network device carries the multiframe indication message through an idle payload block in the multiframe period. In this embodiment, the network device may repeatedly send the multiframe indication message for multiple times, so as to ensure that the downstream network device can successfully receive the multiframe indication message.

Optionally, in the case that the downstream network device successfully acquires the multiframe indication message, the downstream network device may return an acknowledgement message to the network device. The network device may determine from the acknowledgement message that the downstream network device can successfully demap traffic from the multiframe period.

Step 605, the network device acquires the first indication message.

The first indication message is used for indicating a first bandwidth of the first service. The first service is a path of service with increased bandwidth in the service to be transmitted. The number of the first services is not limited in this embodiment. For the description of the source of the first indication message, refer to the description of the source of the bandwidth increasing message in step 602, which is not described in detail.

Step 606, the network device determines a payload block for carrying the first service.

The network device shown in this embodiment determines the payload block for carrying the first service in the transmission period according to the first indication message. In this embodiment, the number of payload blocks for carrying the first service is not limited as long as the bandwidth of the payload blocks for carrying the first service is greater than or equal to the first bandwidth. The following is described with reference to a specific frame structure.

Fig. 7 is a schematic diagram of mapping a service to a first payload partition according to an embodiment of the present invention. The service to be transmitted includes service 1, service 2 to service N. In a state that the bandwidth of the first payload partition is not adjusted, taking service 1 as an example, the network device maps service 1 into C1 flexible optical service units (OSUflex) 701. The consecutive C1 OSUflex701 are remapped into a flexible tributary unit (TUflex) 702. The TUflex 702 includes C1 payload blocks. One OSUflex701 corresponds to one payload block. By analogy, the network device maps service 2 into a TUflex703 with C2 payload blocks. The network device maps traffic N into a TUflex704 having CN payload blocks. The network device may uniformly intersperse the N TUflex within one transmission period 705 of the first payload section based on Sigma-delta algorithm or the like. The transmission period 705 before adaptation includes P payload blocks.

The network device may map each TUflex to a flexible optical data unit (ODUflex) frame. The network device then maps the ODUflex frame to the first payload partition. Alternatively, the network device may also map each TUflex directly into the first payload partition.

When the service to be transmitted includes the first service with the increased bandwidth, for example, the first service is service N shown in fig. 7. The network device increases the bandwidth of the first payload partition based on the steps described above. Such that the transmission period 706 after adaptation comprises a first number P' of payload blocks.

However, the bandwidth of the CN payload blocks corresponding to the service N in the first payload partition is smaller than the bandwidth of the service N. In order to realize the transmission of the service N, the number CN of payload blocks corresponding to the service N needs to be adjusted. Specifically, the network device adds CN payload blocks to CM payload blocks within the first payload partition according to the first bandwidth indicated by the first indication message. As can be seen, CM is greater than CN. The bandwidths of the CM payload blocks are greater than or equal to the first bandwidth of the service N, so that the carrying of the transmission frame to the service to be transmitted is effectively ensured.

Optionally, the first indication message may also be used to indicate an adjustment step size of X gigabits per second (Gbps). The network device gradually adjusts the number of payload blocks corresponding to the first service. And each adjustment increases the bandwidth of the payload block corresponding to the first service by the adjustment step length X until the bandwidth of the adjusted payload block is greater than or equal to the first bandwidth.

Step 607, the network device maps the service to be transmitted to the transmission frame.

In this embodiment, after the network device completes the processes shown in steps 601 to 606, it may send an adjustment completion indication message to the network management device or the upstream network device. And the network management equipment or the upstream network equipment determines that the network equipment finishes adjusting the bandwidth of the first payload partition according to the adjustment finishing indication message.

The following is an exemplary description of the process of mapping the service to be transmitted by the network device:

example 1: the network device is an intermediate node in the traffic transmission path. The service transmission path refers to a path formed by network devices through which the service to be transmitted sequentially passes in the transmission process.

The network device receives a transmission frame from an upstream network device. The network device de-maps a payload block from a transmission frame from the upstream network device, where the payload block already carries the traffic to be transmitted. For example, if the traffic to be transmitted is used for transmitting from an OTN to a PON, the network device may be an OTN device, the upstream network device may be another OTN device, and the downstream network device may be an OLT device. The network device may map payload blocks for transmission to the same downstream network device into the first payload partition of the transmission frame.

Example 2: the network device is a first node in a service transmission path. The network device first receives a service to be transmitted. The network device then maps the traffic to be transmitted into payload blocks. The network device finally maps the payload block into a first payload partition of the transmission frame. The specific process can be seen in fig. 7, which is not described in detail. For example, if the traffic to be transmitted is used for transmitting from the PON to the OTN, the network device may be an ONU. The network device receives a service to be transmitted from a user-side device (e.g., a computer, a telephone, a television, or the like). The downstream network device may be an OLT.

Step 608, the network device sends the transmission frame to the downstream network device.

And the network equipment can send the transmission frame to the downstream network equipment under the condition that the first payload partition of the transmission frame successfully bears the service to be transmitted. Thereby effectively ensuring the successful transmission of the service.

By adopting the method shown in this embodiment, the network device increases the bandwidth of the first payload partition when the bandwidth of the service to be transmitted, which needs to be transmitted by the network device, is greater than the bandwidth of the first payload partition. Therefore, the adjusted first payload partition can successfully bear the service to be transmitted, and the successful transmission of the service is ensured. Thereby, flexible adjustment of the bandwidth of the first payload section is achieved.

The following describes a specific process of adjusting the bandwidth by the network device when the bandwidth of the service to be transmitted by the network device is smaller than the bandwidth of the first payload partition. Fig. 8 is a flowchart illustrating steps of a method for adjusting bandwidth according to a third embodiment of the present invention.

Step 801, the network device determines a first payload partition and a second payload partition in a payload region of a transmission frame.

The description of step 801 shown in this embodiment refers to the description of step 601 shown in fig. 6, which is not repeated herein.

Step 802, the network device obtains a second indication message.

The second indication message is used for indicating a second bandwidth of the second service. The second service is a path of service with reduced bandwidth in the service to be transmitted. The number of the second services included in the service to be transmitted is not limited in this embodiment. For the description of the source of the second indication message, refer to the description of the source of the bandwidth increasing message in step 602, which is not described in detail.

Step 803, the network device reduces the number of payload blocks for carrying the second service in each transmission period to a second number.

In this embodiment, the network device determines, according to the second indication message, that the bandwidth of the second service in the services to be transmitted is reduced, and the network device reduces the number of payload blocks used for carrying the second service in each transmission period in the first payload partition to the second number. The present embodiment does not limit the specific size of the second number, as long as the bandwidth of the payload blocks having the second number is greater than or equal to the second bandwidth. For a better understanding, the following description is continued with reference to the illustration in fig. 7:

in the case that the bandwidth of the first payload partition is not adjusted, how the service 1, the service 2, and the service N are mapped to the transmission cycle 705 is shown in step 606, and details thereof are not described herein.

In this embodiment, the service N is taken as the second service as an example for explanation. And under the condition that the bandwidth of the service N is reduced, the bandwidth of CN payload blocks corresponding to the service N in the first payload partition is greater than the bandwidth of the service N. If the service N is carried by CN payload blocks, idle payload blocks not carrying the service may appear in the CN payload blocks, which may reduce the utilization rate of bandwidth resources of the transmission frame.

In order to guarantee the utilization rate of the bandwidth resource of the transmission frame, the network device reduces the CN payload blocks in the first payload partition to the CM payload blocks according to the second bandwidth indicated by the second indication message. As can be seen, CM is less than CN. Wherein the bandwidth of the CM payload blocks is greater than or equal to the second bandwidth of the traffic N. Therefore, the utilization rate of bandwidth resources is effectively improved under the condition of ensuring the bearing of the transmission frame.

Step 804, the network device determines that the bandwidth of the service to be transmitted is smaller than the bandwidth of the first payload partition.

The network device may determine, according to the bandwidth reduction message, that the bandwidth of the service to be transmitted is smaller than the bandwidth of the first payload section. For a description of the source of the bandwidth reduction message, please refer to the description of the source of the bandwidth increase message in step 602 of fig. 6, which is not described in detail herein.

The embodiment does not limit the specific content of the bandwidth reduction message, as long as the network device can determine that the bandwidth of the service to be transmitted is smaller than the bandwidth of the first payload partition according to the bandwidth reduction message. For example, the bandwidth reduction message is used to indicate an event that reduces the bandwidth of the first payload partition and the bandwidth of the traffic to be transmitted.

Step 805, the network device adjusts the transmission period of the first payload partition.

In this embodiment, when the bandwidth of the service to be transmitted is smaller than the bandwidth of the first payload partition, the transmission cycle of the first payload partition needs to be adjusted. The description of the transmission period refers to the description of step 604 in fig. 6, and is not repeated herein.

Specifically, the network device adjusts the transmission period based on the third number. The network device adjusts the number of payload blocks included in each transmission cycle of the first payload partition to the third number. In this embodiment, the sources of the third quantity are not limited, and the details of the sources of the third quantity are shown in step 604 of fig. 6, and are not repeated herein.

The present embodiment exemplifies that the third number is calculated locally by the network device to be acquired. For a specific calculation process, please refer to the process of obtaining the first quantity by the network device calculation shown in step 604 of fig. 6, which is not described in detail herein.

Before the first payload partition is adjusted, the bandwidth of the first payload partition is greater than the bandwidth of the service to be transmitted. The transmission period before the bandwidth of the first payload partition is not adjusted is shown to include idle payload blocks carrying no traffic. In order to improve the utilization rate of the payload blocks, the network device reduces the number of the payload blocks included in each transmission cycle in the first payload partition to a third number. It can be seen that the number of payload blocks included in each adjusted transmission period is smaller than the number of payload blocks included in the transmission period before the adjustment. The number of idle payload blocks included in each transmission period is effectively reduced.

The network device sends a multiframe indication message to the downstream network device, and please refer to step 604 in fig. 6 for a description of the multiframe indication message, which is not described in detail.

Step 806, the network device adjusts the bandwidth of the first payload section.

In this embodiment, the network device allocates a part of the bandwidth of the first payload partition to the second payload partition according to the bandwidth reduction message, so as to improve the utilization rate of the bandwidth resource of the first payload partition. The following exemplary adjustment procedure for the first payload partition with respect to a specific frame structure:

as shown in fig. 3, the second payload partition 302 of the OTU frame includes a fixed number of 2.5G slots as an example. The network device (OTN device) allocates one 2.5G timeslot originally belonging to the first payload section 301 to the second payload section 302 according to the bandwidth reduction message. It can be seen that if the bandwidth of the original second payload partition 302 is 2.5G, the bandwidth of the adjusted second payload partition 302 is 5G.

As shown in fig. 4, the second payload partition 402 of the GTC frame includes a plurality of bytes. The network equipment (OLT) assigns the set of bytes originally belonging to the first payload section 401 to the second payload section 402 according to the bandwidth reduction message. Wherein the byte set comprises a plurality of bytes originally located in the first payload section 401 and having consecutive positions. For example, if the second payload section 402 includes N bytes and the set of bytes assigned by the network device to the second payload section 402 includes M bytes, then the assigned second payload section 402 includes N + M bytes.

In this example, the bandwidth reduction message is specifically used to indicate the number of bytes included in the set of bytes and the location of the starting byte of the set of bytes in the first payload section 401. As can be seen, when the network device obtains the bandwidth reduction message, the byte set may be allocated to the second payload partition 402 according to the bandwidth reduction message. To increase the utilization of bandwidth resources of the first payload section 401.

As shown in fig. 5, the second payload partition 502 of each optical burst packet 500 includes a number of bytes. The network device (ONU) allocates the bandwidth originally belonging to the first payload partition 501 to the second payload partition 502 according to the bandwidth reduction message, as shown in fig. 4, which is not described herein again.

Step 807, the network device maps the service to be transmitted to the transmission frame.

Step 808, the network device sends a transmission frame to the downstream network device.

The specific process of steps 807 and 808 is shown in steps 607 to 608 of fig. 6, and will not be described in detail.

By adopting the method shown in this embodiment, when the bandwidth of the service to be transmitted, which needs to be transmitted by the network device, is smaller than the bandwidth of the first payload partition, the network device determines that the first payload partition of the transmission frame includes an idle payload block. The network device reduces the bandwidth of the first payload partition. Therefore, the adjusted first payload partition can successfully bear the service to be transmitted, and meanwhile, the utilization rate of the bandwidth resource of the first payload partition can be improved.

Fig. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention. The network device includes a processor 901, memory 902, and an optical transceiver 903. The processor 901, memory 902, and optical transceiver 903 are interconnected by wires. Memory 902 is used to store, among other things, program instructions and data.

The memory 902 of the network device stores program instructions and data that support execution by the network device in the steps shown in fig. 2, 6 and 8. The processor 901 and the optical transceiver 903 are configured to perform the method steps shown in any of the embodiments of fig. 2, 6, and 8. In fig. 2, a processor 901 is configured to execute step 201 to step 203. In fig. 6, a processor 901 is configured to execute steps 601 to 607. The optical transceiver 903 is configured to perform step 608. In fig. 8, processor 901 is configured to execute steps 801 to 807. The optical transceiver 903 is configured to perform step 808.

The embodiment of the application also provides a digital processing chip. Integrated with circuitry and one or more interfaces to implement the functions of the processor 901 as described above. When integrated with memory, the digital processing chip may perform the method steps of any one or more of the preceding embodiments. When the digital processing chip is not integrated with the memory, the digital processing chip can be connected with the external memory through an interface. The digital processing chip implements the actions performed by the network device in the above embodiments according to the program codes stored in the external memory.

The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:业务处理方法、装置、网络设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!