A bandwidth adjustment method and apparatus
By setting bandwidth adjustment indicators in the optical transport network, the service container size of the data unit frame can be quickly adjusted, solving the problem of slow bandwidth adjustment speed in the prior art and realizing fast and effective bandwidth adjustment.
Patent Information
- Application Number
- CN202380076844.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-11-22
- Filing Date
- 2023-11-20
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2043-11-20
AI Technical Summary
In existing optical transport networks, when the OSU rate increases, the bandwidth adjustment speed is slow, and rapid bandwidth adjustment cannot be achieved.
By setting a first indication in the data unit frame to indicate the bandwidth adjustment position, and adjusting the size of the service container on the network node according to the indication, the bandwidth can be quickly adjusted from the first bandwidth to the second bandwidth. The data unit frame is mapped in the OTN frame using the GMP mapping method.
The bandwidth adjustment rate has been improved, enabling the conversion from the first bandwidth to the second bandwidth in a single operation, thus avoiding FIFO overflow or read-empty anomalies.
Smart Images

Figure CN120167112B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202211469162.0, filed on November 22, 2022, entitled "A Bandwidth Adjustment Method and Apparatus", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of optical communication technology, and in particular to a bandwidth adjustment method and apparatus. Background Technology
[0004] Optical transport networks (OTNs) have become the mainstream technology for transport networks due to their high bandwidth, large capacity, high reliability, and low latency. OTNs are widely used in backbone, metropolitan area core, and aggregation networks, and are currently expanding into access networks. OTNs can currently provide high-bandwidth transmission capabilities such as n*1.25Gbps and n*5Gbps, and can also provide smaller bandwidth transmission capabilities, such as using Optical Service Units (OSUs). When transmitting service signals, the service signals are mapped to the OSUs, and then the OSUs are mapped to the payload area of Flexible Optical Data Units (ODUflex) for transmission.
[0005] In some scenarios, the OSU rate may increase due to business requirements. Currently, the scheme of adjusting by one byte every 125µs does not support rapid bandwidth adjustment. Summary of the Invention
[0006] This application provides a bandwidth adjustment method and apparatus for improving bandwidth adjustment rate.
[0007] In a first aspect, embodiments of this application provide a bandwidth adjustment method applied to a first network node. The bandwidth adjustment method includes: acquiring service data; mapping the service data to multiple data unit frames (Data Unit Frames), where the payload area of the multiple Data Unit Frames carries the service data; when it is determined that the bandwidth of the service data needs adjustment, setting a first indication carried in a first Data Unit Frame of the multiple Data Unit Frames to a set value; when the first indication is a set value, it indicates the bandwidth adjustment position of the service data in the multiple Data Unit Frames; determining a first position on the first network node where the bandwidth of the multiple Data Unit Frames changes from a first bandwidth to a second bandwidth based on the bandwidth adjustment position; mapping the portion of the multiple Data Unit Frames located before the first position to a first service container of an Optical Transport Network (OTN) frame, and mapping the portion of the multiple Data Unit Frames located after the first position to a second service container of the OTN frame; and transmitting the OTN frame.
[0008] In this embodiment, the size of the service container is adjusted according to the bandwidth (or rate) of the OSU. When the source node determines that the bandwidth of the service data needs to be adjusted, it updates the value of the first indicator in the data unit frame to indicate the bandwidth adjustment position. Based on the bandwidth adjustment position, the actual starting position of the bandwidth change can be determined, mapping the position before the actual starting position to the service container before adjustment, and mapping the position after the actual starting position to the service container before adjustment. Compared to the existing method of adjusting one byte every 125µs, this application only requires one adjustment from the first bandwidth to the second bandwidth, improving the bandwidth adjustment rate.
[0009] In one possible design, the overhead area of the first data unit frame also carries a second indication. This second indication is used to indicate the number of network nodes traversed by the plurality of data unit frames. The traversed network nodes are those that have completed the mapping to OTN frames at the service layer for the plurality of data unit frames.
[0010] In one possible design, determining the first position where the bandwidth of the plurality of data unit frames on the first network node changes from the first bandwidth to the second bandwidth based on the bandwidth adjustment position includes: adjusting the value of the second indicator in the first data unit frame by incrementing by 1, and determining the first position based on the bandwidth adjustment position and the adjusted value of the second indicator.
[0011] In the above design, the actual bandwidth adjustment position is determined according to the second instruction, thereby adjusting the FIFO waterline of the current node used for caching OSUs to prevent FIFO overflow or FIFO readout from causing anomalies.
[0012] In one possible design, the first position satisfies:
[0013] W = y + HA * n;
[0014] Where W represents the first position, y represents the bandwidth adjustment position, HA represents the second indication, and n is a preset value.
[0015] In one possible design, n is related to the bandwidth difference between the first and second bandwidths. n can be the number of time slots corresponding to the bandwidth difference.
[0016] In one possible design, mapping the portion of the plurality of data unit frames located before the first position to a first service container of the OTN frame, and mapping the portion of the plurality of data unit frames located after the first position to a second service container of the OTN frame, includes:
[0017] The boundary point between the first service container and the second service container in the OTN frame is determined based on the first position, the first bandwidth, and the second bandwidth. Based on the boundary point, the portion of the plurality of data unit frames located before the first position is mapped to the first service container of the OTN frame, and the portion of the plurality of data unit frames located after the first position is mapped to the second service container of the OTN frame.
[0018] In one possible design, the dividing point satisfies:
[0019] in
[0020] or,
[0021] in
[0022] Wherein, Y represents the boundary point, y represents the bandwidth adjustment position, X represents the mapping position of the first indication in the first data unit frame to the OTN frame, x represents the position of the first indication in the plurality of data unit frames, W represents the first position, P represents the size of the first service container or the size of the second server container, and C m (M) represents the number of data blocks mapped from the multiple data unit frames to the service container of the OTN frame before bandwidth adjustment, and celling() represents rounding up.
[0023] The above design provides an efficient way to map the actual bandwidth adjustment location to the actual OTN location.
[0024] In one possible design, the overhead region of the OTN frame includes the overhead region corresponding to each time slot in the payload region of the OTN frame. The overhead region of the last time slot included in the first service container carries the mapping overhead of the plurality of data unit frames to the first service container.
[0025] In one possible design, mapping the portion of the plurality of data unit frames located before the first position to a first service container of the OTN frame, and mapping the portion of the plurality of data unit frames located after the first position to a second service container of the OTN frame, includes:
[0026] The portions of the plurality of data unit frames preceding the first position are mapped to M time slots of the OTN frame, and the portions of the plurality of data unit frames following the first position are mapped to M+N or MN time slots of the OTN frame. The first service container consists of the M time slots, and the first bandwidth corresponds to the bandwidth of the M time slots. The second service container consists of either the M+N time slots or the MN time slots, and the second bandwidth corresponds to the bandwidth of either the M+N or MN time slots.
[0027] In one possible design, the data unit frame is an optical service unit (OSU), and / or the OTN frame is an optical data unit (ODU) frame.
[0028] In one possible design, the first service container includes M time slots, and the first bandwidth corresponds to the bandwidth of the M time slots. The second service container consists of M+N time slots or MN time slots, and the second bandwidth corresponds to the bandwidth of the M+N or MN time slots. The overhead area of the OTN frame includes the overhead region corresponding to each time slot in the payload area of the OTN frame, and the overhead regions corresponding to the N time slots are used to carry the interactive information required for bandwidth adjustment.
[0029] In one possible design, the interactive information includes one or more of the following: Adjustment Protocol (RP), Tributary Time Slot Connectivity Detection (TSCC), Tributary Port Number (TPID), Control Information (CTRL), and Tributary Time Slot Group Status (TSGS).
[0030] In one possible design, the first network node is the source node on the transmission path of the service data.
[0031] Secondly, embodiments of this application provide another bandwidth adjustment method, applied to a second network node. The method includes: receiving an Optical Transport Network (OTN) frame, the OTN frame carrying multiple data unit frames (Data Units), the payload area of the multiple Data Unit frames carrying service data; demapping a first Data Unit frame from a first service container of the OTN frame, the first Data Unit frame carrying a first indication, which is a set value, indicating the bandwidth adjustment position of the service data within the multiple Data Unit frames; determining a first position where the bandwidth of the multiple Data Unit frames changes from a first bandwidth to a second bandwidth based on the bandwidth adjustment position; continuing to demapping the portion of the multiple Data Unit frames located before the first position from the first service container of the OTN frame, and demapping the portion of the multiple Data Unit frames located after the first position from the second service container of the OTN frame.
[0032] In one possible design, the overhead area of the first data unit frame also carries a second indication, which indicates the number of network nodes traversed by the plurality of data unit frames, wherein the traversed network nodes are those that need to be mapped to OTN frames at the service layer for the plurality of data unit frames.
[0033] In one possible design, determining the first position where the bandwidth of the plurality of data unit frames changes from the first bandwidth to the second bandwidth based on the bandwidth adjustment position includes:
[0034] The first position is determined based on the bandwidth adjustment position and the value of the second indication.
[0035] In one possible design, the first position satisfies:
[0036] W = y + HA * n;
[0037] Where W represents the first position, y represents the bandwidth adjustment position, HA represents the second indication, and n is a preset value.
[0038] In one possible design, continuing to demap the portions of the plurality of data unit frames preceding the first position from the first service container of the OTN frame, and demap the portions of the plurality of data unit frames following the first position from the second service container of the OTN frame, includes:
[0039] The boundary point between the first service container and the second service container in the OTN frame is determined based on the first location, the first bandwidth, and the second bandwidth.
[0040] Based on the demarcation point, continue demapping the portion of the plurality of data unit frames located before the first position from the first service container of the OTN frame, and demapping the portion of the plurality of data unit frames located after the first position from the second service container of the OTN frame.
[0041] In one possible design, the dividing point satisfies:
[0042] in
[0043] or,
[0044] in
[0045] Wherein, Y represents the boundary point, y represents the bandwidth adjustment position, X represents the mapping position of the first indication in the first data unit frame to the OTN frame, x represents the position of the first indication in multiple data unit frames, W represents the first position, P represents the size of the first service container or the size of the second server container, and C m (M) represents the number of data blocks that the OSU data unit frame is mapped to in the service container of the OTN frame before bandwidth adjustment, and celling() means rounding up.
[0046] In one possible design, the overhead region of the OTN frame includes the overhead region corresponding to each time slot in the payload region of the OTN frame, and the overhead region of the last time slot included in the first service container carries the mapping overhead of the plurality of data unit frames to the first service container.
[0047] In one possible design, the data unit frame is an optical service unit (OSU) frame, and / or the OTN frame is an optical data unit (ODU).
[0048] In one possible design, the first service container consists of M time slots, and the first bandwidth corresponds to the bandwidth of the M time slots. The second service container consists of M+N time slots or MN time slots, and the second bandwidth corresponds to the bandwidth of the M+N time slots or the MN time slots.
[0049] In one possible design, the overhead region of the OTN frame includes the overhead region corresponding to each time slot in the payload region of the OTN frame. The overhead regions corresponding to the N time slots are used to carry the interactive information required for bandwidth adjustment.
[0050] In one possible design, the interactive information includes one or more of the following: Adjustment Protocol (RP), Tributary Time Slot Connectivity Detection (TSCC), Tributary Port Number (TPID), Control Information (CTRL), and Tributary Time Slot Group Status (TSGS).
[0051] In one possible design, the first network node is a destination node or intermediate node on the transmission path of the service data.
[0052] Thirdly, embodiments of this application provide a bandwidth adjustment device applied to a network node. The device includes a processor and an optical transceiver. The processor is configured to execute the method described in the first aspect or any design of the first aspect, or to execute the method described in the second aspect or any design of the second aspect, and to receive and transmit OTN frames via the optical transceiver.
[0053] Fourthly, embodiments of this application provide a bandwidth adjustment device applied to a network node. The device includes a processor and a memory. The memory stores program code. The processor reads and executes the program code stored in the memory to implement the method described in the first aspect or any design of the first aspect, or to implement the method described in the second aspect or any design of the second aspect.
[0054] Fifthly, this application also provides a computer storage medium. The storage medium stores a software program that, when read and executed by one or more processors, can implement the method provided by either the first or second aspect of the design, or implement the method provided by either the second aspect or any of the designs of the second aspect.
[0055] In a sixth aspect, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the method provided by any design of the first aspect or to perform the method provided by any design of the second aspect.
[0056] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor. The processor is configured to perform the method provided in any of the designs of the first aspect, or to perform the method provided in any of the designs of the second aspect.
[0057] In one possible design, the chip also includes a communication interface that is coupled to the processor.
[0058] In one possible design, the chip is connected to a memory for reading and executing software programs stored in the memory to implement the method provided by any of the designs in the first aspect, or to implement the method provided by any of the designs in the second aspect.
[0059] Based on the implementations provided in the above aspects, this application can be further combined to provide more implementations. Attached Figure Description
[0060] Figure 1 This is a schematic diagram of a network architecture;
[0061] Figure 2 This is a schematic diagram of the hardware structure of a network device.
[0062] Figure 3 This is a schematic diagram of a TS distribution using GMP mapping;
[0063] Figure 4 This is a schematic flowchart of a bandwidth adjustment method provided in an embodiment of this application;
[0064] Figure 5 This is a schematic diagram of a possible OSU structure provided in an embodiment of this application;
[0065] Figure 6 A schematic diagram illustrating the changes in the service container provided in this application embodiment;
[0066] Figure 7 A schematic diagram of the structure of an RCOH provided in an embodiment of this application;
[0067] Figure 8 This is a schematic diagram of the ODU0 overhead region distribution provided in an embodiment of this application;
[0068] Figure 9 A schematic diagram of the overhead region of the last time slot of a first service container provided in an embodiment of this application;
[0069] Figure 10 A schematic diagram of the time slot overhead regions corresponding to even-numbered and odd-numbered multiframes provided in the embodiments of this application;
[0070] Figure 11 This is a schematic flowchart of a bandwidth adjustment method provided in an embodiment of this application;
[0071] Figure 12 This is a schematic diagram of a service data transmission path provided in an embodiment of this application;
[0072] Figure 13 This is a schematic flowchart of a bandwidth adjustment method for a bandwidth increase scenario provided in an embodiment of this application;
[0073] Figure 14 A schematic diagram of the end-to-end bandwidth adjustment process provided in an embodiment of this application;
[0074] Figure 15 This is a schematic diagram of the structure of a possible bandwidth adjustment device in an embodiment of this application;
[0075] Figure 16 This is a schematic diagram of another possible bandwidth adjustment device according to an embodiment of this application. Detailed Implementation
[0076] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0077] In the description of this application, unless otherwise stated, "multiple" means two or more. Additionally, " / " indicates that the related objects are in an "or" relationship; for example, A / B can represent A or B. "And / or" in this application merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different. It should also be noted that, unless specifically stated, the specific description of some technical features in one embodiment can also be used to explain the corresponding technical features mentioned in other embodiments.
[0078] The network architecture and service scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those skilled in the art will understand that, with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0079] The technical solutions provided in this application are applicable to optical networks, such as OTN. An OTN is typically composed of multiple OTN devices connected by optical fibers, and can be configured into different topologies such as linear, ring, and mesh according to specific needs.
[0080] Figure 1 This is a schematic diagram of a network architecture. (Example) Figure 1The OTN shown includes two OTN networks (OTN Network 1 and OTN Network 2). Each OTN network includes a certain number of network devices (also called OTN equipment). Links between network devices within an OTN network are intra-domain links, while links between network devices in different OTN networks are inter-domain links. Depending on actual needs, a network device may possess one or more functions. Generally, network devices are categorized into optical layer devices, electrical layer devices, and hybrid optoelectronic devices. Optical layer devices refer to devices capable of processing optical layer signals, such as optical amplifiers (OA). Electrical layer devices refer to devices capable of processing electrical layer signals, such as devices capable of processing ODU signals. Hybrid optoelectronic devices refer to devices capable of processing both optical and electrical layer signals. It should be noted that, depending on specific integration requirements, a single network device can integrate multiple different functions. The technical solution provided in this application is applicable to network devices of different forms and levels of integration. See also... Figure 1 As shown, the OTN network can also connect customer equipment, such as... Figure 1 The network includes a first client device connected to network device 1 and a second client device connected to network device 3. The number of client devices connected to the OTN network is not specifically limited in this embodiment. Client devices can be user equipment or servers; for example, the second client device could be a cloud server. Figure 1 Taking a single server connected to an OTN network as an example, it is used to provide business services to users. For instance, Figure 1 The network device 7 in the OTN network is connected to the server. Network devices in the OTN network are used to transmit service data from client devices. For example, a network device can receive service data from a client device, then map the service data into an OSU frame, further map the OSU frame into an OTN frame, and send it to other network devices. For example, the service data can be data from a constant bit rate (CBR) service, data from a packet or group type (PKT) service, or data from a synchronous transport module-N (STM-N) service. It should be noted that in this embodiment, the network device can also be referred to as a network node.
[0081] In some embodiments, different OTN networks can be managed by different network management devices. Figure 1 Taking the example of network management device 1 managing OTN network 1 and network management device 2 managing OTN network 2.
[0082] Figure 2This is a schematic diagram of the hardware structure of a network device. Specifically, a network device includes a power supply, a fan, auxiliary boards, and may also include tributary boards, line boards, cross-connect boards, and system control and communication boards. The line boards may also include optical layer processing boards. It should be noted that the specific types and numbers of boards included in each device may vary depending on specific needs. For example, a network device acting as a core node may not have tributary boards. A network device acting as an edge node may have multiple tributary boards. The power supply is used to power the network device and may include primary and backup power supplies. The fan is used to dissipate heat from the device. Auxiliary boards are used to provide auxiliary functions such as external alarms or access to external clocks. Tributary boards, cross-connect boards, and line boards are mainly used to process OTN electrical layer signals (hereinafter referred to as OTN frames). The tributary boards are used to implement the reception and transmission of various customer services, such as Synchronous Digital Hierarchy (SDH) services, packet services, Ethernet services, and fronthaul services. Furthermore, the tributary board can be divided into customer-side optical modules and signal processors. The customer-side optical module can be an optical transceiver used to receive and / or transmit customer signals. The signal processor is used to perform mapping and demapping of customer signals to OTN frames. The cross-connect board is used to switch OTN frames, completing the switching of one or more types of OTN frames. The line board mainly implements the processing of line-side OTN frames. Specifically, the line board can be divided into a line-side optical module and a signal processor. The line-side optical module can be a line-side optical transceiver used to receive and / or transmit OTN frames. The signal processor is used to perform multiplexing and demultiplexing, or mapping and demapping, of line-side OTN frames. System control and communication boards are used to implement system control and communication. Specifically, information can be collected from different boards through the backplane, or control commands can be sent to the corresponding boards. Unless otherwise specified, a specific component (e.g., a tributary board) can be one or more, and this application does not impose any limitations. It should be noted that the embodiments of this application do not limit the types of boards included in the device or the specific functional design and quantity of the boards.
[0083] The technical concepts involved in the embodiments of this application will be explained below.
[0084] 1) A network node can be simply called a node or a network device, such as an OTN device.
[0085] 2) A data unit frame consists of an integer number of bytes or bits. A data unit frame may also be called an optical service unit (OSU) frame, flexible optical service unit (OSUflex), optical service data unit frame, optical service unit, payload block, payload block, switching unit or switching block, or first OTN frame; this application does not specifically limit this. Data unit frames may also be other frame types, and the rate of a data unit frame is lower than the rate of the mapped OTN frame. Figure 3 The diagram shows a possible structure of a data unit frame. Figure 3 As shown, a data unit frame includes an overhead area and a payload area. The overhead may include, but is not limited to, at least one of the following: service frame header indicator, trail trace identifier (TTI), X-bit interleaved parity (BIP-X), backward error indication (BEI), backward defect indication (BDI), status indicator (STAT), timestamp, sequence identifier, and mapping overhead. The payload area is used to carry service data. For example, a data unit frame can be 8 bytes (B) or an integer multiple of 16 bytes, such as 16B, 32B, 64B, 128B, 196B, 256B, or 512B, etc., and this application embodiment does not limit this.
[0086] 3) OTN Frames: Used to carry various service data, enabling the management and monitoring of this data. OTN frames can be optical data units (ODU)k, ODUn, ODUflex, or optical transport units (OTU)k, OTUCn, or optical payload units (OPU), or flexible OTN (FlexO) frames, etc. OTN frames can also be ODU multiframes, OTU multiframes, or OPU multiframes, etc. OTN frames can also be other frame structures suitable for optical networks.
[0087] 4) Generic Mapping Procedure (GMP) is a generic mapping procedure for OTN. Specifically, it generates the number of customer entities Cm and clock information in each service frame period, then calculates the distribution pattern of customer data in the payload area using the "sigma-delta" algorithm, and maps the number of customer data of Cm to the corresponding positions in the distribution pattern.
[0088] Data unit frames can be mapped to OTN frames using GMP mapping. Each data unit frame occupies several time slots (tributary slots or time slots, TS) within the OTN frame.
[0089] As an example, Figure 3 This is a schematic diagram of a TS distribution using GMP mapping. Figure 3 In GMP OH, the overhead region is indicated. Figure 3 A service container consisting of one or more TSs is used to transmit OSUs. Figure 3 In this example, ODU0 is an OTN frame. ODU0 consists of 119 10M time slots. The ODU0 payload area is divided into 119 10M time slots. The time slot interleaving granularity is 16 bytes. Figure 3 Each block in the OSU is 16 bytes, and each time slot in each OSU frame consists of eight 16-byte blocks. 32 OSUs constitute a multiframe. The size of an OSU is a multiple of 16 bytes. When mapping OSUs into the service container, they can be placed row by row from top to bottom, with each row placed from left to right. After the corresponding time slot of a row is full, a similar operation is performed in the corresponding time slot of the next row. See also... Figure 3 As shown, for example, the service container occupies 3 time slots, taking TS#1, TS#2, and TS#k as examples, with a mapping granularity of 16 bytes. The mapping granularity can be called a data block, meaning the size of a data block is 16 bytes. Therefore, after filling the first row with the bits in the order TS#1, TS#2, TS#k, TS#1, TS#2, TS#k, the OSU bitstream is then added to the second row in the same order.
[0090] 5) The asynchronous mapping procedure (AMP) is a mapping procedure for OTN. AMP determines the value of the positive justification opportunity (PJO) or negative justification opportunity (NJO) byte based on the signal rate on the client side, thereby determining whether the content in the justification byte is a padding byte or a client signal, ensuring that the service layer signal rate matches the client layer signal rate.
[0091] Because packet traffic is subject to irregular fluctuations, the bandwidth of the OSU (Optical Service Unit) is adjusted at different times to accommodate varying traffic volumes. Adjusting the OSU bandwidth involves adjusting the bandwidth occupied by the OTN frame when carrying the OSU, which is essentially adjusting the time slots within the OTN frame. The service container is the space that carries the OSU, and it consists of multiple time slots within the OTN frame.
[0092] Current lossless bandwidth adjustment schemes (based on the G.HAO protocol) use periodic delay indicators, which prevents rapid bandwidth adjustment. GMP adjusts bandwidth by one byte every 125µs, but this method is slow.
[0093] This application provides a bandwidth adjustment method and apparatus. During the bandwidth adjustment process, the size of the service container is adjusted synchronously with the change in the rate (or bandwidth) of the data unit frame. This application uses an OSU frame as an example for illustration. For ease of description, the OSU frame will be abbreviated as OSU. The following example illustrates a change in the bandwidth of the OSU from a first bandwidth to a second bandwidth. For instance, in a scenario where bandwidth is increased, the first bandwidth is less than the second bandwidth. In a scenario where bandwidth is decreased, the first bandwidth is greater than the second bandwidth.
[0094] For example, in the scenario of increasing bandwidth, the first bandwidth corresponds to the bandwidth of M time slots. The second bandwidth corresponds to the bandwidth of M+N time slots. In the scenario of decreasing bandwidth, the first bandwidth corresponds to the bandwidth of M time slots, and the second bandwidth corresponds to the bandwidth of MN time slots. M and N are both positive integers.
[0095] For ease of description, in this application, the service container corresponding to the OSU carrying the first bandwidth is referred to as the first service container, and the service container corresponding to the OSU carrying the second bandwidth is referred to as the second service container. In some scenarios, the size of the service container is adjusted simultaneously with the bandwidth adjustment. For example, the first service container consists of M time slots; in a scenario where the bandwidth increases, the second service container consists of M+N time slots; and in a scenario where the bandwidth decreases, the second service container consists of MN time slots. The first service container can also be understood as an optical service tributary unit (OSTU.M), where M represents the number of time slots. The second service container can be understood as OTU.M+N or OTU.MN.
[0096] In other scenarios, the size of the service container can be increased before bandwidth is increased, and then reduced after bandwidth is decreased. That is, the first and second service containers can be understood as OTU.M+N or OTU.MN.
[0097] In this embodiment of the application, to inform each network node of the bandwidth adjustment location of the OSU during the bandwidth adjustment process, a first indication is proposed to be added to the OSU. This first indication is used to indicate the bandwidth adjustment location of the OSU. The first indication can also be called a rate change indication, bandwidth change indication, or bandwidth adjustment indication (BWR_IND), and other names can be used; this embodiment of the application does not specifically limit its naming.
[0098] The mapping process of each network node on the transmission path based on the first indication will be explained below.
[0099] See Figure 4 The diagram shown is a schematic flowchart of a bandwidth adjustment method provided in an embodiment of this application. This bandwidth adjustment method is applicable to the source node. The source node can also be referred to as the first node.
[0100] 401, retrieve business data.
[0101] 402, Mapping business data to multiple OSUs. The payload areas of these multiple OSUs are used to carry the business data.
[0102] The frame overhead of the plurality of OSUs includes a first indication. When the bandwidth of the service data needs to be adjusted, the OSU bandwidth also needs to be adjusted, which can be understood as the OSU rate needing to be adjusted. When the OSU bandwidth needs to be adjusted, or before the OSU rate changes, the first indication carried in the first OSU of the plurality of OSUs is set to a set value. When the first indication is set to a set value, it indicates the position of bandwidth adjustment for the service data in the plurality of OSUs, or in other words, it indicates the position of rate adjustment for the plurality of OSUs.
[0103] In one example, the setting bit of the first indicator changes from 0 to 1, indicating that the bandwidth needs to be adjusted. The other bits of the first indicator indicate the bandwidth adjustment position.
[0104] In another example, when the value of the first indicator changes from 0 to 1, it indicates that the bandwidth needs to be adjusted. The distance between the bit where the first indicator is located and the bandwidth adjustment position is a set distance. The determination of this set distance is related to the structure of the OSU. For example, different set distances are configured for different OSU structures. Thus, the bandwidth adjustment position can be determined based on the position of the first indicator among multiple OSUs and the structure of the OSU.
[0105] Therefore, after executing 402, 403 can be executed.
[0106] 403. When it is determined that the bandwidth of the service data needs to be adjusted, the first indication carried in the first OSU of the plurality of OSUs is set to a set value. When the first indication is set to a set value, the bandwidth adjustment position of the service data in the plurality of OSUs is indicated.
[0107] It should be noted that the first indication is located in the plurality of OSUs before the bandwidth adjustment location.
[0108] The size of an OSU can be a multiple of 16 bytes. See, for example... Figure 5 The diagram shown is a possible OSU structure provided in an embodiment of this application. Figure 5 Taking an OSU with 4 rows and 960 columns as an example, the OSU includes an overhead area and a payload area. The overhead area of the OSU includes a first indicator. For example, the first indicator can be categorized as resize control overhead (RCOH). RCOH is located in the overhead area of the OSU, for example, the high 4 bits of the 8th column in the 1st to 3rd row. The distance between the position of the RCOH in one OSU and the starting position of the next OSU is 120 16-byte bytes. For example, the first indicator in the overhead area of one OSU can indicate that bandwidth adjustment should begin in the next OSU. The specific size of the OSU and the location of the resize control overhead are not specifically constrained; the location of the resize control overhead can differ in OSUs of different sizes. The distance between the position x of the first indicator and the bandwidth adjustment position y indicated by the first indicator can also differ depending on the size of the OSU.
[0109] 404, Based on the bandwidth adjustment position, determine the first position where the bandwidth of multiple OSUs on the first network node changes from the first bandwidth to the second bandwidth.
[0110] 405, mapping the portion of the plurality of OSUs located before the first position to the first service container of the OTN frame, and mapping the portion of the plurality of OSUs located after the first position to the second service container of the OTN frame.
[0111] 406, Send OTN frame.
[0112] For example, mapping the portion of multiple OSUs located before the first position to the first service container of the OTN frame, and mapping the portion of multiple OSUs located after the first position to the second service container of the OTN frame, can be implemented in the following manner:
[0113] The portion of multiple OSUs located before the first position is mapped to M time slots of the OTN frame, and the portion of multiple OSUs located after the first position is mapped to M+N or MN time slots of the OTN frame;
[0114] The first service container includes at least the M time slots, the first bandwidth corresponds to the bandwidth of the M time slots, the second service container is composed of the M+N time slots or the MN time slots, and the second bandwidth corresponds to the bandwidth of the M+N time slots or the MN time slots.
[0115] In one possible implementation, in a bandwidth increase scenario (i.e., when the first bandwidth is less than the second bandwidth), before adjusting the bandwidth (or rate) of the OSU, each network node can be instructed to increase the size of the service container, i.e., increase the size of the service container from M time slots to M+N time slots. Then, starting from the source node, each network node gradually begins to adjust the bandwidth of the OSU according to the path sequence. In this case, upon receiving the first instruction, the bandwidth of the service container is the increased bandwidth. Furthermore, after determining the first position, the portion of the multiple OSUs located before the first position is mapped to the service container of the OTN frame after the size adjustment (occupying M+N time slots), and the portion of the multiple OSUs located after the first position is mapped to the service container of the OTN frame after the size adjustment (occupying M+N time slots).
[0116] In one example, in a scenario with reduced bandwidth, where the first bandwidth is greater than the second bandwidth, the bandwidth of each network node can be gradually reduced starting from the source node and proceeding sequentially along the path. Then, each network node can be instructed to increase the size of the service container. In this case, upon receiving the first instruction, the bandwidth of the service container is still the first bandwidth. The source node can subsequently instruct each network node to reduce the size of the service container. Therefore, after determining the first position, the portion of multiple OSUs located before the first position is mapped to M time slots of the OTN frame, and the portion of multiple OSUs located after the first position is mapped to the M time slots of the OTN frame. Then, following a specific instruction, starting from the source node, the OSUs received after the specific instruction are mapped to the MN time slots of the OTN frame.
[0117] In another possible implementation, the bandwidth of the first service container is a first bandwidth, and the bandwidth of the second service container is a second bandwidth. In this implementation, the size of the service containers is adjusted synchronously with the adjustment of the bandwidth (transmission rate) of the OSU.
[0118] As an example, let's take an OTN frame as an ODU frame. See [link / reference] Figure 6 The diagram shown illustrates the changes in the service container provided in this application embodiment. Taking ODU0 containing 119 10M time slots as an example, 32 frames of ODU0 constitute a multiframe, and its payload area is divided into 119 10M time slots, with a time slot interleaving granularity of 16 bytes. Figure 6 Each block in the time slot is 16 bytes; each time slot contains 256 16-byte blocks.
[0119] The first service container OSTU.M consists of M time slots, and the size of the first service container OSTU.M is determined by P. M This indicates that the first service container, OTU.M, consists of M*256 16-byte segments. The second service container, OTU.M+N, consists of M+N time slots. The size of the second service container, OTU.M+N, is determined by P. M+N The second service container, OTU.M+N, consists of (M+N)*256 16-byte blocks. The first service container occupies TS#1, TS#2, and TS#k. The second service container occupies TS#1, TS#2, TS#k, TS#i, TS#j, and TS#119. Figure 6 The filled pattern portion at the midpoint corresponds to the first service container. When an OSU is mapped in the first service container, the OSU's rate is R. M , representing M 10M bit rates. Figure 6 The filled pattern with the middle slash corresponds to the second service container. When the OSU is mapped in the second service container, the OSU's rate is R. M+N , representing M+N 10M bit rates.
[0120] Taking GMP mapping as an example. Before the bandwidth change, GMP based on C... m (M) Information is uniformly mapped from OSU to the first service container according to the sigma-delta algorithm. The size of the first service container is the first Y-1 16 bytes of OSU.M. Where C m (M) represents the number of 16 bytes that need to be mapped from OSU to OSTU.M. Y indicates the mapping position of the first position within the service container, i.e., the boundary point between the first and second service containers in the OTN frame.
[0121] After bandwidth changes, GMP based on C is adopted. m The (M+N) information is uniformly mapped from OSU to the second service container according to the sigma-delta algorithm. When bandwidth changes, the size of this second service container is the last Z 16 bytes of OSU.M+N. Where C... m (M+N) represents the number of 16 bytes that need to be mapped from OSU to OTU.M+N.
[0122] In one possible implementation, when bandwidth increases, each network node along the transmission path needs to complete the bandwidth increase sequentially from the source node to the destination node. Therefore, the more upstream network nodes there are, the greater the delay in completing the bandwidth increase at that node. This embodiment of the application indicates the number of upstream network nodes for each network node via a second indication before bandwidth adjustment. The second indication can also be called hop count accumulation (HOPACC), or other names are not specifically limited in this embodiment. The second indication is used to indicate the number of network nodes traversed by the OSU transmission, wherein the traversed network nodes are those that have completed the mapping to OTN frames at the service layer for the plurality of data unit frames. For example, the second indication is carried in the overhead area of the first OSU. For example, the second indication is carried in the RCOH of the first OSU. See also Figure 7 The diagram shown is a schematic representation of the RCOH structure located in an OSU frame according to an embodiment of this application. In some scenarios, HOPACC may not be transmitted.
[0123] Before each network node performs mapping at the service layer, it increments the value of the second indicator, HOPACC, by 1. Increasing HOPACC by 1 adjusts the waterline of the FIFO (First Input First Output) device used to buffer OSU data at the current network node; typically, the more time slots occupied, the higher the waterline setting. To ensure uninterrupted bitstream transmission, a FIFO device is deployed in the network node to buffer the OSUs. For example, the FIFO device can use a buffer. Before each network node performs mapping, when determining the first point where the OSU rate actually changes, a delay of n data block sizes is applied relative to the position of the input bitstream change. Figure 6 For example, the data block size is 16 bytes. Therefore, the delayed data of n 16-byte OSUs is buffered in the FIFO device for adjusting the FIFO waterline of the current network node.
[0124] In this implementation, when determining the first position according to the first instruction, the value of the second instruction can be incremented by 1 first, and then the first position can be determined according to the bandwidth adjustment position indicated by the first instruction and the adjusted value of the second instruction.
[0125] For example, the first position satisfies the condition shown in formula (1) below.
[0126] W=y+HA*n formula (1).
[0127] Where W represents the first position, y represents the width adjustment position indicated by the first indicator, HA represents the value of the second indicator, and n is a preset value. For example, n is related to the bandwidth difference between the first bandwidth and the second bandwidth. For instance, n can be equal to the difference between the number of time slots corresponding to the second bandwidth and the number of time slots corresponding to the first bandwidth. In some scenarios, n can also be equal to 0.
[0128] In some scenarios, where HOPACC transmission is not required, the bandwidth adjustment position indicated by the first indication can be understood as the first position, i.e., W = y.
[0129] The following explains how the boundary point between the first and second service containers is determined. The boundary point can also be understood as the mapping position of the OSU's rate change location (i.e., the first location) onto the OTN frame. For example, the boundary point between the first and second service containers in the OTN frame can be determined based on the first location, the first bandwidth, and the second bandwidth. Therefore, based on the boundary point, the portion of the multiple OSUs located before the first location is mapped to the first service container of the OTN frame, and the portion of the multiple OSUs located after the first location is mapped to the second service container of the OTN frame.
[0130] For example, the dividing point satisfies the conditions shown in formula (2) or formula (3).
[0131] in
[0132] in
[0133] Wherein, Y represents the boundary point, X represents the mapping position of the first indication in the first OSU to the OTN frame, x represents the position of the first indication in the first OSU, W represents the first position, P represents the size of the first service container or the size of the second server container, and C m (M) represents the number of data blocks that the OSU is mapped to in the service container of the OTN frame before bandwidth adjustment, and celling() means rounding up.
[0134] Combining formula (1), formula (2) and formula (3) can be transformed into formula (4) and formula (5).
[0135] in
[0136] in
[0137] As an example, continuing from the above Figure 6 For example, P can be equal to P M Or P M+N P M =M*256, P M+N = (M+N)*256.
[0138] Once the location of the dividing point is determined, if the bandwidth changes, the size of the second service container OTU.M+N in the OTN frame is represented by Z, and Z satisfies the condition shown in the following formula (6).
[0139]
[0140] floor() means rounding down, and M+N means the number of time slots occupied by the second service container in the scenario of increased bandwidth.
[0141] Combination Figure 6 For example, when the bandwidth changes, the area within the bold black box represents the second service container OTU.M+N in the OTN frame. That is, the size of the second service container OTU.M+N in the OTN frame is Z data blocks.
[0142] This application embodiment is applicable to both GMP mapping and asynchronous AMP mapping. For example, formulas (2)-(5) above are applicable to GMP mapping. When using AMP mapping, the principle for determining the boundary point is similar to that when using GMP mapping. When using AMP, the boundary point can be determined by calculating the number of fixed padding data blocks required to be inserted when mapping OSU to the service container based on yx or y+HOPACC*nx. Therefore, appropriate modifications can be made to formulas (2)-(5) above.
[0143] In some possible scenarios, overhead information is transmitted via OTN frames. The overhead area of an OTN frame includes the overhead area corresponding to each time slot of the OTN frame payload area.
[0144] As an example, let's take an OTN frame as ODU0. 32 ODU0s constitute a multiframe. The payload area of ODU0 is divided into 119 10M time slots, with a time slot interleaving granularity of 16 bytes. Figure 8 The diagram shown is a schematic diagram of the ODU0 overhead region distribution provided in an embodiment of this application. Figure 8 In ODU0, each time slot comprises 256 data blocks. Each data block is 16 bytes in size. For example, each time slot allocates a 12-bit overhead region in ODU0, which could be either the high 4 bits or the low 4 bits located in the 15th column of rows 1-3 of the ODU0 overhead region. Alternatively, it could be either the high 4 bits or the low 4 bits located in the 16th column of rows 1-3 of the ODU0 overhead region. See [link to documentation]. Figure 8 As shown. TSOH represents the time slot overhead region. TSOH1-TSOH119 correspond to the overhead regions of TS#1-TS#119, respectively.
[0145] For example, column 15 of the ODU0 overhead area may also include a payload structure identifier (PSI), and column 16 may also include a reserved bit (RES).
[0146] In some embodiments, the overhead information may include the mapping overhead from OSU to OTN frames, such as the C-frames transmitted in the case of GMP mapping. m Incremental information regarding changes. When mapping an OSU to a first service container OTU.M, the mapping overhead of the OSU to the first service container can be carried over the overhead region of the last time slot included in the first service container. See also Figure 9 The diagram shown is a schematic representation of the overhead region of the last time slot of a first service container according to an embodiment of this application. Figure 9 In some embodiments, CRC-4 stands for Cyclic Redundancy Check. The mapping overhead to the first service container can also carry the overhead of other time slots included in the first service container. C1-C6 represent 6-bit OSU counts. II indicates an increment indicator, and DI indicates a decrement indicator.
[0147] In some embodiments, during bandwidth adjustment, the overhead region may include interaction protocol information required for the bandwidth adjustment process. When bandwidth increases, the interaction protocol information can be carried in the overhead region corresponding to the time slot to be added. When bandwidth decreases, the interaction protocol information can be carried in the overhead region corresponding to the time slot to be deleted. For example, a first service container includes at least M time slots, and a first bandwidth corresponds to the bandwidth of the at least M time slots. A second service container consists of M+N time slots or MN time slots, and the second bandwidth corresponds to the bandwidth of the M+N time slots or the MN time slots. The overhead region of the OTN frame, corresponding to the N time slots of the second service container, is used to carry the interaction protocol information required for bandwidth adjustment.
[0148] For example, the interaction protocol information includes at least one of the following:
[0149] Adjustment protocol (RP), tributary slot connectivity check (TSCC), tributary port ID (TPID), control information (CTRL), or tributary slot group status (TSGS).
[0150] Next Figure 8 The example shown illustrates the slot overhead region of ODU0, where 32 ODU0 frames constitute a multiframe. For instance, the high 5 bits of RP, TSCC, and TPID can be carried in the slot overhead region of even-numbered frames within the multiframe. The low 5 bits of CTRL, TSGS, and TPID can be carried in the slot overhead region of odd-numbered frames within the multiframe. See [link to documentation]. Figure 10 As shown. Figure 10 The diagram shows the time slot overhead regions corresponding to even-numbered and odd-numbered multiframes provided in this embodiment of the application. In some scenarios, two multiframes (i.e., 64 ODU0 frames) complete the transmission of one set of interactive protocol information.
[0151] The following explains the demapping process of each network node along the transmission path.
[0152] Figure 11 This is a schematic flowchart illustrating a bandwidth adjustment method provided in an embodiment of this application. This bandwidth adjustment method is applicable to intermediate nodes or destination nodes. The number of intermediate nodes on the transmission path of service data can be one or more. In some scenarios, the transmission path of service data may not include intermediate nodes.
[0153] 1101, Receive the high-order optical transport network (OTN) frame, which is used to carry multiple data unit frames.
[0154] 1102, the first OSU is demapped from the first service container of the OTN frame. The payload area of the first OSU is used to carry service data, and the overhead area of the first OSU carries a first indication set to a value, which is used to indicate the bandwidth adjustment position of the service data in multiple OSUs.
[0155] 1103, Based on the bandwidth adjustment position, determine the first position where the bandwidth of multiple OSUs changes from the first bandwidth to the second bandwidth.
[0156] The method for determining the first position is as described above and will not be repeated here.
[0157] 1104, Continue to demap the portion of the plurality of OSUs located before the first position from the first service container of the OTN frame, and demap the portion of the plurality of OSUs located after the first position from the second service container of the OTN frame.
[0158] In some embodiments, the determination of the starting position of the second service container, or the boundary point between the first and second service containers, is as described above and will not be repeated here. Based on this, step 1104 can be specifically implemented as follows: determine the boundary point between the first and second service containers in the OTN frame based on the first position, the first bandwidth, and the second bandwidth. Then, based on the boundary point, the portion of multiple OSUs located before the first position can be demapped from the first service container of the OTN frame, and the portion of multiple OSUs located after the first position can be demapped from the second service container of the OTN frame.
[0159] In some embodiments, when the network node executing the bandwidth adjustment method is a destination node, the destination node can perform demapping of service data from multiple OSUs after executing step 1104.
[0160] In other embodiments, when the network node executing the bandwidth adjustment method is an intermediate node, after executing step 1104, the intermediate node continues to execute the mapping process, redetermines the first position based on the bandwidth adjustment position, maps the portion of the multiple OSUs located before the first position to the first service container of the OTN frame, and maps the portion of the multiple OSUs located after the first position to the second service container of the OTN frame. The OTN frame is then sent. The process of the intermediate node executing OSU mapping to OTN is similar to that of the first node, as can be seen in steps 404-405.
[0161] The following is combined with Figure 12 , Figure 13 and Figure 14 The bandwidth adjustment method provided in the embodiments of this application will be described in detail. Figure 12 This is a schematic diagram of a service data transmission path provided in an embodiment of this application. The service path includes a source node NE1, an intermediate node NE2, and a destination node NE3. The service path may or may not include intermediate nodes. Figure 12 The example uses only one intermediate node. Figure 13 This is a schematic flowchart of a bandwidth adjustment method for a bandwidth increase scenario provided in an embodiment of this application. Figure 14 This is a schematic diagram illustrating an end-to-end bandwidth adjustment process provided in an embodiment of this application. The specific bandwidth adjustment steps can be implemented by a processor, chip, chip system, or module with processing capabilities on a network node.
[0162] The processing of NE1 of the source node includes A0 processing and A1 processing. In some embodiments, A0 processing may include steps 1301-1302.
[0163] 1301, NE1 maps the received service data to multiple OSUs.
[0164] NE1 can receive bandwidth adjustment commands from network management devices or customer devices, and determine whether the OSU's rate is adjusted from the first bandwidth to the second bandwidth. The rate R corresponding to the first bandwidth. M The rate corresponding to the second bandwidth is R. M+N .
[0165] Before the OSU's rate changes, NE1 sets the first indicator in the OSU to be mapped to a set value, denoted as BWR_IND in this example. BWR_IND is located at position x on the OSU. BWR_IND is a set value used to indicate the bandwidth adjustment position y.
[0166] To facilitate differentiation, the OSU with the first indicator set to a predetermined value among multiple OSUs is referred to as the first OSU. Optionally, a second indicator is added to the first OSU; here, the first indicator is called HOPACC, and HOPACC = 0. HOPACC records the number of network nodes traversed by the OSU.
[0167] Before the bandwidth adjustment position y in multiple OSUs, the bandwidth is the first bandwidth. Starting from the bandwidth adjustment position y, the bandwidth becomes the second bandwidth.
[0168] 1302, NE1 adjusts the OSU bandwidth (or bitstream rate) at the bandwidth adjustment position y. For example, at the start of the next OSU frame after BWR_IND, the OSU rate will be adjusted from R. M Adjust to R M+N For example, BWR_IND is carried in the OSU#i frame. Before and during the OSU#i frame, the OSU rate is R. M The OSU bandwidth is the first bandwidth; after OSU#i frame, the OSU rate is R. M+N The OSU bandwidth is the second bandwidth.
[0169] The A1 process includes steps 1303-1304. The A1 process is used to map the OSU to the output OTN frame. Here, the OTN frame is taken as the ODU frame as an example.
[0170] 1303, Determine the first position 1 according to the first instruction. That is, the actual change position of the bandwidth of the OSU's bitstream. The method for determining the first position 1 is as described above, and will not be repeated here.
[0171] Specifically, NE1 increments the value of HOPACC by 1, sets the value of HOPACC to 1, and then re-inserts it into the first OSU. For example, if the value of HOPACC is represented as HA, then the actual bandwidth change position is y + HA*n = y + 1*n.
[0172] In some scenarios, where the OSU does not include a second instruction, meaning there is no need to perform the increment operation, then the first bit being 1 indicates the bandwidth adjustment position specified by the first instruction.
[0173] 1304, generates the mapping position Y1 corresponding to the actual bandwidth change location of the OSU. The method for determining the mapping position Y1 has been described above and will not be repeated here.
[0174] 1305, based on the mapping position Y1 as the dividing point, the portion of multiple OSUs located before the first position 1 is mapped to the first service container (OSTU.M) of the ODU frame, and the portion of multiple OSUs located after the first position 1 is mapped to the second service container (OSTU.M+N) of the ODU frame.
[0175] 1306, send an ODU frame to NE2.
[0176] The processing at intermediate node NE2 includes B1 processing and B2 processing. B1 processing involves demapping OSUs from ODU frames. B2 processing involves mapping the demappinged OSUs back into ODU frames.
[0177] For example, B1 includes steps 1307-1310.
[0178] 1307, Demap the first OSU from the first service container of the received ODU frame.
[0179] NE2 detects BWR_IND from the OSUs carried in the received ODU frames. BWR_IND changes from 0 to 1. Based on BWR_IND, it determines that the OSU's rate is about to change at position y. For example, BWR_IND is detected from the first OSU.
[0180] Optionally, the value of HOPACC can be obtained from the first OSU, where the value of HOPACC is 1.
[0181] 1308. The first position is determined as 1 based on the position of BWR_IND in multiple OSUs and the value of HOPACC. The first position 1 determined by NE2 during the demapping process is the same as the first position 1 during the mapping of NE1, that is, the first position is y + HA*n = y + 1*n.
[0182] In some scenarios, when the OSU does not include a second instruction, the first position 1 is the bandwidth adjustment position y indicated by the first instruction.
[0183] 1309, Generate the demapping position Y1 corresponding to the first position 1.
[0184] 1310, based on the demapping position Y1, continue to demapping the portion of multiple OSUs located before the first position 1 from the first service container (OSTU.M) of the ODU frame, and demapping the portion of multiple OSUs located after the first position 1 from the second service container (OSTU.M+N) of the ODU frame.
[0185] For example, different demappings are performed based on the demapping position Y1 as the dividing point. Before the OSU rate change position, the OSU before the rate change is demapped from the first service container (OSTU.M); after the OSU rate change position, the OSU after the rate change is demapped from the second service container (OSTU.M+N).
[0186] For example, the B2 process includes steps 1311-1314. The B2 process is used to map the OSU to the output ODU frame.
[0187] 1311, Determine the first position 2 according to the first instruction. That is, the actual change position of the OSU bandwidth. The method for determining the first position 2 is as described above, and will not be repeated here.
[0188] Specifically, NE1 increments the value of HOPACC by 1, updates the value of HOPACC to 2, and re-inserts it into the first OSU. Therefore, the actual bandwidth change position is y + HA*n = y + 2*n.
[0189] 1312, the mapping position Y2 corresponding to the actual bandwidth change location of the generated OSU. The method for determining the mapping position Y2 is as described above, and will not be repeated here.
[0190] In some scenarios, where the OSU does not include a second instruction, there is no need to perform the increment operation. The first position 2 is the bandwidth adjustment position y indicated by the first instruction, and therefore the mapping position Y2 is the same as the mapping position Y1.
[0191] 1313, based on the mapping position Y2 as the dividing point, the portion of multiple OSUs located before the first position 2 is mapped to the first service container (OSTU.M) of the ODU frame, and the portion of multiple OSUs located after the first position 2 is mapped to the second service container (OSTU.M+N) of the ODU frame.
[0192] 1314, send an ODU frame to NE3.
[0193] The processing at the destination node NE3 includes C1 processing and C0 processing. C1 processing involves demapping the OSU from the ODU frame. C0 processing involves demapping the service data from the OSU.
[0194] For example, C1 includes steps 1315-1318.
[0195] 1315, Demap the first OSU from the first service container of the received ODU frame.
[0196] NE3 detects BWR_IND from the OSUs carried in the received ODU frames. BWR_IND changes from 0 to 1, indicating that the OSU's rate is about to change at position y. For example, BWR_IND is detected from the first OSU.
[0197] Optionally, the value of HOPACC is obtained from the first OSU, where the value of HOPACC is HA=2.
[0198] 1316. The first position 2 is determined based on the position of BWR_IND in multiple OSUs and the value of HOPACC. The first position 2 determined by NE2 during the demapping process is the same as the first position 2 during the mapping of NE1, that is, the first position 2 is y + HA*n = y + 2*n.
[0199] 1317, generate the demapping position Y2 corresponding to the first position 2.
[0200] In some scenarios, when the OSU does not include the second indication, the first position 2 is the bandwidth adjustment position y indicated by the first indication, and the mapping position Y2 is the same as the mapping position Y1.
[0201] 1318, based on the demapping position Y2, continue to demapping the portion of multiple OSUs located before the first position 2 from the first service container (OSTU.M) of the ODU frame, and demapping the portion of multiple OSUs located after the first position 2 from the second service container (OSTU.M+N) of the ODU frame.
[0202] For example, different demappings are performed based on the demapping position Y2 as the dividing point. Before the OSU rate change position, the OSU before the rate change is demapped from the first service container (OSTU.M); after the OSU rate change position, the OSU after the rate change is demapped from the second service container (OSTU.M+N).
[0203] C0 processing includes step 1319: demapping business data from the OSU.
[0204] This application also provides a system that includes a source node and a destination node, and may also include intermediate nodes.
[0205] This application also provides a bandwidth adjustment device. The method, device, and system are based on the same inventive concept. Since the principles by which the method, device, and system solve problems are similar, embodiments of the device and method can be referred to interchangeably, and repeated details will not be repeated. This device can be used in OTN devices, specifically it can be a processor, chip, chip system, or a module within a processor in the OTN device. This device can be... Figure 2 Implemented in the branch board and / or circuit board. Figure 15 This is a schematic diagram of a possible bandwidth adjustment device in an embodiment of this application. Figure 15 As shown, the device includes a processing unit 1501, a receiving unit 1502, and a transmitting unit 1503. The processing unit 1501 is used in the bandwidth adjustment method described in any of the above embodiments, such as performing a mapping operation or a demapping operation. For example, it performs steps 402-405. Or, for example, it performs steps 1102-1104. The receiving unit 1502 is used to perform the receiving action of the network node in any of the above embodiments, such as receiving OTN frames or receiving service data. The transmitting unit 1503 is used to perform the transmitting action of the network node in any of the above embodiments, such as transmitting OTN frames. Optionally, the above three units may also perform other related optional steps performed by the network device mentioned in any of the foregoing embodiments, which will not be elaborated here.
[0206] The unit division in this embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into a single processor, exist as separate physical units, or be integrated into a single unit. The integrated units described above can be implemented in hardware or as software functional units.
[0207] Figure 16 This is a schematic diagram of another possible bandwidth adjustment device according to an embodiment of this application. Figure 16 As shown, device 1600 includes a communication interface 1610 and a processor 1620. Device 1600 can be applied to OTN devices. Device 1600 may also include a memory 1630.
[0208] Figure 15 The processing unit 1501, receiving unit 1502, and transmitting unit 1503 shown can all be implemented by the processor 1620. For example, the processor 1620 can be... Figure 2 The signal processor in the circuit board and / or the signal processor in the tributary board shown. Processor 1620 transmits and receives OTN frames or service data via communication interface 1610, used for implementation... Figure 4 , Figure 11, Figure 13 or Figure 14 The methods executed by network nodes (source nodes, intermediate nodes, or destination nodes) in the process. During implementation, each step of the processing flow can be accomplished through integrated logic circuits in the hardware of the processor 1620 or through software instructions. Figure 4 , Figure 11 , Figure 13 or Figure 14 The methods executed by network nodes in the network.
[0209] The communication interface 1610 can be a circuit, bus, transceiver, or any other device that can be used for information exchange. For example, this other device can be a device connected to the device 1600, such as a client device or other OTN device.
[0210] Processor 1620 can be a general-purpose processor, digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of hardware processors, or executed by a combination of hardware and software units in the processor. The program code executed by processor 1620 to implement the above methods can be stored in memory 1630. Memory 1630 and processor 1620 are coupled. The coupling in the embodiments of this application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, used for information interaction between devices, units, or modules. Processor 1620 may operate in conjunction with memory 1630. Memory 1630 can be non-volatile memory, such as a hard disk drive (HDD) or solid-state drive (SSD), or it can be volatile memory, such as random-access memory (RAM). The memory 1630 is any other medium capable of carrying or storing program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto.
[0211] This application embodiment does not limit the specific connection medium between the communication interface 1610, processor 1620, and memory 1630. This application embodiment... Figure 16 The memory 1630, processor 1620, and communication interface 1610 are connected via a bus. The bus is... Figure 16The connections between other components are shown in bold and are for illustrative purposes only, not as limiting information. The bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, Figure 16 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0212] Based on the above embodiments, this application also provides a computer storage medium storing a software program. When read and executed by one or more processors, the software program can implement the methods provided in any one or more of the above embodiments. The computer storage medium may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory, and a random access memory.
[0213] Based on the above embodiments, this application also provides a chip. The chip includes a processor for implementing the functions involved in any one or more of the above embodiments, such as receiving, sending, or processing protocol frames involved in the above methods. Optionally, the chip further includes a memory for storing necessary program instructions and data executed by the processor. The chip may be composed of individual chips or may include chips and other discrete devices.
[0214] One embodiment of this application provides a computer-readable medium for storing a computer program, the computer program including functions for executing... Figure 4 , Figure 11 , Figure 13 or Figure 14 The instructions for the method steps in the corresponding method embodiment.
[0215] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, etc.) containing computer-usable program code.
[0216] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0217] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A bandwidth adjustment method, characterized in that, The method includes: The overhead of the first data unit frame carries a first indication, which is used to indicate the bandwidth adjustment position of the first data unit frame; The bytes in the first data unit frame located before the bandwidth adjustment position are mapped to the first service container of the second data unit frame, and the bytes in the first data unit frame located after the bandwidth adjustment position are mapped to the second service container of the second data unit frame. The first service container and the second service container occupy different numbers of time slots in the second data unit frame.
2. The method as described in claim 1, characterized in that, The first indication is mapped to the position X of the second data unit frame, and the byte at the bandwidth adjustment position is mapped to the position Y of the second data unit frame, where Y is related to X.
3. The method as described in claim 1 or 2, characterized in that, The first indication is the bandwidth adjustment indication BWR_IND.
4. The method as described in claim 3, characterized in that, The BWR_IND value being 1 indicates that the rate of the first data unit frame needs to be adjusted.
5. The method according to any one of claims 1-4, characterized in that, Both the first data unit frame and the second data unit frame are Optical Transport Network (OTN) frames.
6. The method according to any one of claims 1-5, characterized in that, The step of mapping the bytes in the first data unit frame located before the bandwidth adjustment position to the first service container of the second data unit frame, and mapping the bytes in the first data unit frame located after the bandwidth adjustment position to the second service container of the second data unit frame, includes: The bytes in the first data unit frame located before the bandwidth adjustment position are mapped to M time slots of the second data unit frame, and the bytes in the first data unit frame located after the bandwidth adjustment position are mapped to M+N or MN time slots of the second data unit frame.
7. The method according to any one of claims 1-6, characterized in that, The overhead region of the second data unit frame includes the overhead region corresponding to each time slot in the payload region of the second data unit frame, and the overhead region of the last time slot included in the first service container carries the mapping overhead of the first data unit frame to the first service container.
8. The method according to any one of claims 1-7, characterized in that, The first service container includes M time slots, the second service container includes M+N time slots or MN time slots, the overhead area of the second data unit frame includes the overhead area corresponding to each time slot in the payload area of the second data unit frame, and the overhead areas corresponding to the N time slots are used to carry bandwidth adjustment interaction information.
9. The method as described in claim 8, characterized in that, The interactive information includes one or more of the following: Adjustment Protocol (RP), Branch Time Slot Connectivity Detection (TSCC), Branch Port Number (TPID), Control Information (CTRL), and Branch Time Slot Group Status (TSGS).
10. A bandwidth adjustment method, characterized in that, The method includes: Receive the second data unit frame and demap the first data unit frame from the second data unit frame; A first indication is demapped from the overhead of the first data unit frame, the first indication being used to indicate the bandwidth adjustment position of the first data unit frame; The first service container of the second data unit frame demaps out a portion of the bytes in the first data unit frame that are located before the bandwidth adjustment position, and the second server of the second data unit frame demaps out a portion of the bytes in the first data unit frame that are located after the bandwidth adjustment position. The first service container and the second service container occupy different numbers of time slots in the second data unit frame.
11. The method as described in claim 10, characterized in that, The first indication is demapped from position X of the second data unit frame, and the byte at the bandwidth adjustment position is demapped from position Y of the second data unit frame, where Y is related to X.
12. The method as described in claim 10 or 11, characterized in that, The first indication is the bandwidth adjustment indication BWR_IND.
13. The method as described in claim 12, characterized in that, The BWR_IND value being 1 indicates that the rate of the first data unit frame needs to be adjusted.
14. The method according to any one of claims 10-13, characterized in that, Both the first data unit frame and the second data unit frame are Optical Transport Network (OTN) frames.
15. The method according to any one of claims 10-14, characterized in that, The step of demapping the portion of bytes in the first data unit frame located before the bandwidth adjustment position from the first service container of the second data unit frame, and demapping the portion of bytes in the first data unit frame located after the bandwidth adjustment position from the second server of the second data unit frame, includes: Demap the bytes in the first data unit frame located before the bandwidth adjustment position from the M time slots of the second data unit frame, and demap the bytes in the first data unit frame located after the bandwidth adjustment position from the M+N or MN time slots of the second data unit frame.
16. The method according to any one of claims 10-15, characterized in that, The overhead region of the second data unit frame includes the overhead region corresponding to each time slot in the payload region of the second data unit frame, and the overhead region of the last time slot included in the first service container carries the mapping overhead of the first data unit frame to the first service container.
17. The method according to any one of claims 10-16, characterized in that, The first service container includes M time slots, the second service container includes M+N time slots or MN time slots, the overhead area of the second data unit frame includes the overhead area corresponding to each time slot in the payload area of the second data unit frame, and the overhead areas corresponding to the N time slots are used to carry bandwidth adjustment interaction information.
18. The method as described in claim 17, characterized in that, The interactive information includes one or more of the following: Adjustment Protocol (RP), Branch Time Slot Connectivity Detection (TSCC), Branch Port Number (TPID), Control Information (CTRL), and Branch Time Slot Group Status (TSGS).
19. A bandwidth adjustment device, characterized in that, The device includes: The overhead generation unit is used to generate a first indication, which is carried in the overhead of the first data unit frame. The first indication is used to indicate the bandwidth adjustment position of the first data unit frame. A mapping unit is used to map a portion of bytes in the first data unit frame located before the bandwidth adjustment position to the first service container of the second data unit frame, and to map a portion of bytes in the first data unit frame located after the bandwidth adjustment position to the second service container of the second data unit frame. The first service container and the second service container occupy different numbers of time slots in the second data unit frame.
20. The apparatus as claimed in claim 19, characterized in that, The first indication is mapped to the position X of the second data unit frame, and the byte at the bandwidth adjustment position is mapped to the position Y of the second data unit frame, where Y is related to X.
21. The apparatus as claimed in claim 19 or 20, characterized in that, The first indication is the bandwidth adjustment indication BWR_IND.
22. The apparatus as claimed in claim 21, characterized in that, The BWR_IND value being 1 indicates that the rate of the first data unit frame needs to be adjusted.
23. The apparatus according to any one of claims 19-22, characterized in that, Both the first data unit frame and the second data unit frame are Optical Transport Network (OTN) frames.
24. The apparatus according to any one of claims 19-23, characterized in that, The mapping unit is used for: The bytes in the first data unit frame located before the bandwidth adjustment position are mapped to M time slots of the second data unit frame, and the bytes in the first data unit frame located after the bandwidth adjustment position are mapped to M+N or MN time slots of the second data unit frame.
25. The apparatus according to any one of claims 19-24, characterized in that, The overhead region of the second data unit frame includes the overhead region corresponding to each time slot in the payload region of the second data unit frame, and the overhead region of the last time slot included in the first service container carries the mapping overhead of the first data unit frame to the first service container.
26. The apparatus according to any one of claims 19-25, characterized in that, The first service container includes M time slots, the second service container includes M+N time slots or MN time slots, the overhead area of the second data unit frame includes the overhead area corresponding to each time slot in the payload area of the second data unit frame, and the overhead areas corresponding to the N time slots are used to carry bandwidth adjustment interaction information.
27. The apparatus as claimed in claim 26, characterized in that, The interactive information includes one or more of the following: Adjustment Protocol (RP), Branch Time Slot Connectivity Detection (TSCC), Branch Port Number (TPID), Control Information (CTRL), and Branch Time Slot Group Status (TSGS).
28. A bandwidth adjustment device, characterized in that, The device includes: The receiving unit is used to receive the second data unit frame; A demapping unit is used to demap the first data unit frame from the second data unit frame; The demapping unit is used to demapping out a first indication from the overhead of the first data unit frame, the first indication being used to indicate the bandwidth adjustment position of the first data unit frame; The demapping unit is further configured to demap a portion of bytes in the first data unit frame located before the bandwidth adjustment position from the first service container of the second data unit frame, and to demap a portion of bytes in the first data unit frame located after the bandwidth adjustment position from the second server of the second data unit frame, wherein the first service container and the second service container occupy different numbers of time slots in the second data unit frame.
29. The apparatus as claimed in claim 28, characterized in that, The demapping unit is used to demap the first indication from position X of the second data unit frame and demap the byte at the bandwidth adjustment position from position Y of the second data unit frame, where Y is related to X.
30. The apparatus as claimed in claim 28 or 29, characterized in that, The first indication is the bandwidth adjustment indication BWR_IND.
31. The apparatus as claimed in claim 30, characterized in that, The BWR_IND value being 1 indicates that the rate of the first data unit frame needs to be adjusted.
32. The apparatus according to any one of claims 28-31, characterized in that, Both the first data unit frame and the second data unit frame are Optical Transport Network (OTN) frames.
33. The apparatus according to any one of claims 28-32, characterized in that, The demapping unit is used for: Demap the bytes in the first data unit frame located before the bandwidth adjustment position from the M time slots of the second data unit frame, and demap the bytes in the first data unit frame located after the bandwidth adjustment position from the M+N or MN time slots of the second data unit frame.
34. The apparatus according to any one of claims 28-33, characterized in that, The overhead region of the second data unit frame includes the overhead region corresponding to each time slot in the payload region of the second data unit frame, and the overhead region of the last time slot included in the first service container carries the mapping overhead of the first data unit frame to the first service container.
35. The apparatus according to any one of claims 28-34, characterized in that, The first service container includes M time slots, the second service container includes M+N time slots or MN time slots, the overhead area of the second data unit frame includes the overhead area corresponding to each time slot in the payload area of the second data unit frame, and the overhead areas corresponding to the N time slots are used to carry bandwidth adjustment interaction information.
36. The apparatus as claimed in claim 35, characterized in that, The interactive information includes one or more of the following: Adjustment Protocol (RP), Branch Time Slot Connectivity Detection (TSCC), Branch Port Number (TPID), Control Information (CTRL), and Branch Time Slot Group Status (TSGS).
37. A chip, characterized in that, The chip includes a processor for implementing the method as described in any one of claims 1-9.
38. A chip, characterized in that, The chip includes a processor for implementing the method as described in any one of claims 10-18.
Citation Information
Patent Citations
Lossless adjustment method of ODUflex channel bandwidth and optical transport network
CN103973265A
Method for multiplexing data, and method and device for demultiplexing data
WO2022233025A1