Method and device for adjusting bandwidth and passive optical network system

By adjusting the bandwidth of GEM frames, the problem of bandwidth adjustment in the OSU Over PON system is solved, achieving lossless data transmission and improving system performance.

CN120614253APending Publication Date: 2025-09-09HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410268458.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2025-09-09

AI Technical Summary

Technical Problem

In the OSU Over PON system, the bandwidth of the OSU frame cannot be adjusted to the target bandwidth, resulting in packet loss or congestion in the service and failing to meet the real-time on-demand bandwidth adjustment requirements.

Method used

By adjusting the bandwidth of GEM frames, the bandwidth of data frames can be ensured to meet service requirements, including carrying indication information in the overhead area of ​​data frames or OAM messages, or directly indicating bandwidth adjustment in GEM frames to achieve lossless transmission of data frames.

Benefits of technology

It achieves lossless adjustment of OSU bandwidth, avoids service transmission congestion, and improves system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120614253A_ABST
    Figure CN120614253A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for adjusting bandwidth and a passive optical network system, which can be applied to a PON (Passive Optical Network) system to ensure lossless adjustment of data frame bandwidth so as to ensure the integrity of service data transmission and further ensure the performance of the system. The method comprises: a first device obtaining a destination bandwidth of a data frame, the destination bandwidth being greater than a bandwidth of a first GEM frame, and the data frame being mapped in the first GEM frame; the first device sends first information, the first information indicates that the first device reserves the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame, the bandwidth of the second GEM frame is greater than or equal to the target bandwidth, and the bandwidth of the second GEM frame is greater than the bandwidth of the first GEM frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical access, and more particularly, to a method and device for adjusting bandwidth and a passive optical network system. Background Art

[0002] While retaining the advantages of traditional optical transport network (OTN) hard pipes and rich operations, administration, and maintenance (OAM), optical service unit (OSU) technology can provide finer time slot granularity, a simpler bandwidth lossless adjustment mechanism, and support efficient transport of customer services at rates from 2M to 100Gbps. With the ability to be deployed from the backbone core to the access terminal, the deployment of OSUs into passive optical networks (PONs) is of great significance.

[0003] Currently, for some key industries and fields, private network services have high requirements for real-time on-demand bandwidth adjustment. Therefore, how to achieve lossless adjustment of OSU bandwidth in OSU-based PON technology is a problem that needs to be solved. Summary of the Invention

[0004] The present application provides a method, device and passive optical network system for adjusting bandwidth, which can ensure lossless adjustment of data frame bandwidth, thereby ensuring the integrity of business data transmission and further ensuring system performance.

[0005] In a first aspect, an embodiment of the present application provides a method for adjusting bandwidth. The method can be executed by a first device or by a component of the first device (such as a chip or a chip system, etc.), and the present application does not limit this. The method includes: the first device obtains a destination bandwidth of a data frame, the destination bandwidth is greater than the bandwidth of a first gigabit passive optical network GPON encapsulation mode GEM frame, and the data frame is mapped in the first GEM frame; the first device sends first information, the first information instructs the first device to reserve the bandwidth of the first GEM frame of the ONU device as the bandwidth of a second GEM frame, the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the bandwidth of the second GEM frame is greater than the bandwidth of the first GEM frame.

[0006] Based on the solution of the present application, when the bandwidth of the data frame mapped in the GEM frame needs to be increased and is greater than the bandwidth of the GEM frame, the present application increases and reserves the bandwidth of the GEM frame, so that the bandwidth of subsequent data frames is no longer limited by the GEM frame bandwidth and can be adjusted to the bandwidth required by the service. In other words, the solution of the present application adjusts the frame bandwidth of the service layer that carries the data frame to ensure that the bandwidth of the data frame mapped to the service layer frame is adjusted, thereby ensuring the integrity of service transmission, avoiding congestion that may occur during service transmission, and achieving the purpose of improving system performance.

[0007] In combination with the first aspect, in certain implementations of the first aspect, the first information is carried in the bandwidth adjustment field of the overhead area of ​​the data frame, or the first information is carried in an operation, administration and maintenance OAM message, or the first information is carried in the first GEM frame.

[0008] It should be noted that, in the solution of the present application, the data frame may be an OSU frame or an fgODU frame. When the data frame is an fgODU frame, the first information is carried in the bandwidth adjustment field of the overhead area of ​​the fgODU frame, or carried in an indication field for indicating the first information in a GEM frame mapped with the fgODU frame, and the indication field may be located in the overhead area of ​​the GEM frame and include at least one bit; when the data frame is an OSU frame, the first information is carried in an operation, administration, and maintenance OAM message, or carried in an indication field for indicating the first information in a GEM frame mapped with the OSU frame, and the indication field may be located in the overhead area of ​​the GEM frame and include at least one bit.

[0009] In combination with the first aspect, in some implementations of the first aspect, mapping the data frame into the first GEM frame includes: mapping the data frame into a payload area of ​​the first GEM frame.

[0010] In combination with the first aspect, in certain implementations of the first aspect, the destination bandwidth is the bandwidth required after the service data carried by the data frame changes.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the first device receives request information from the ONU device, the request information requesting that the bandwidth of the data frame be adjusted to the destination bandwidth; the first device sends response information to the ONU device, the response information indicating that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth; the first device receives second information from the ONU device, the second information indicating that the ONU device is ready to adjust the bandwidth of the data frame to the destination bandwidth.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the first device adjusts the bandwidth of the first GEM frame of the ONU device to the bandwidth of the second GEM frame based on the second information; the first device sends third information to the ONU device, and the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

[0013] In combination with the first aspect, in some implementations of the first aspect, the first device obtaining the destination bandwidth includes: the first device receiving the destination bandwidth from a network management device; or, the first device receiving the destination bandwidth from the ONU device.

[0014] In combination with the first aspect, in certain implementations of the first aspect, when the first device receives the destination bandwidth from the network management device, the method also includes: the first device sends fourth information to the network management device, and the fourth information is used to report that the ONU device has adjusted the bandwidth of the data frame to the destination bandwidth.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the first device receives the destination bandwidth from the ONU device, including: the first device receives an operation, administration, and maintenance OAM message or an optical network terminal management and control interface OMCI message from the ONU device, and the OAM message or the OMCI message carries the destination bandwidth.

[0016] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first device starts a timer; the first device adjusts the bandwidth of the data frame of the first device to the destination bandwidth; the first device sends fifth information to the downstream device, the fifth information indicating that the bandwidth of the data frame of the first device has been adjusted to the destination bandwidth; the first device receives sixth information from the downstream device, the sixth information indicating that the downstream device confirms the fifth information; the first device turns off the timer.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the data frame is an optical service unit (OSU) frame or a small-granularity optical transport network (fgOTN) frame.

[0018] In combination with the first aspect, in some implementations of the first aspect, the first device is an optical line terminal OLT device or a wavelength division multiplexing device.

[0019] In a second aspect, an embodiment of the present application provides a method for adjusting bandwidth. The method can be executed by a first device or by a component of the first device (such as a chip or a chip system, etc.), and the present application does not limit this. The method includes: the first device obtains a destination bandwidth of a data frame, the destination bandwidth is less than the bandwidth of a first gigabit passive optical network GPON encapsulation mode GEM frame, and the data frame is mapped in the first GEM frame; the first device sends first information, the first information instructs the first device to reduce the bandwidth of the first GEM frame of the ONU device to the bandwidth of a second GEM frame, the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the bandwidth of the second GEM frame is less than the bandwidth of the first GEM frame.

[0020] Based on the solution of the present application, when the bandwidth of the data frame mapped in the GEM frame needs to be reduced, the present application can achieve the purpose of saving the GEM frame bandwidth by reducing and reserving the bandwidth of the GEM frame.

[0021] In combination with the second aspect, in certain implementations of the second aspect, the first information is carried in the bandwidth adjustment field of the overhead area of ​​the data frame, or the first information is carried in an operation, administration and maintenance OAM message, or the first information is carried in the first GEM frame.

[0022] In combination with the second aspect, in some implementations of the second aspect, mapping the data frame into the first GEM frame includes: mapping the data frame into a payload area of ​​the first GEM frame.

[0023] In combination with the second aspect, in certain implementations of the second aspect, the destination bandwidth is the bandwidth required after the service data carried by the data frame changes.

[0024] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: the first device receives request information from the ONU device, the request information requests that the bandwidth of the data frame be adjusted to the destination bandwidth; the first device sends response information to the ONU device, the response information indicates that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth; the first device receives second information from the ONU device, the second information indicates that the ONU device is ready to adjust the bandwidth of the data frame to the destination bandwidth.

[0025] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: the first device adjusts the bandwidth of the first GEM frame of the ONU device to the bandwidth of the second GEM frame based on the second information; the first device sends third information to the ONU device, and the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

[0026] In combination with the second aspect, in some implementations of the second aspect, the first device obtaining the destination bandwidth includes: the first device receiving the destination bandwidth from the network management device; or, the first device receiving the destination bandwidth from the ONU device.

[0027] In combination with the second aspect, in certain implementations of the second aspect, when the first device receives the destination bandwidth from the network management device, the method also includes: the first device sends fourth information to the network management device, and the fourth information is used to report that the ONU device has adjusted the bandwidth of the data frame to the destination bandwidth.

[0028] In combination with the second aspect, in certain implementations of the second aspect, the first device receives the destination bandwidth from the ONU device, including: the first device receives an operation, administration, and maintenance OAM message or an optical network terminal management and control interface OMCI message from the ONU device, and the OAM message or the OMCI message carries the destination bandwidth.

[0029] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the first device starts a timer; the first device adjusts the bandwidth of the data frame of the first device to the destination bandwidth; the first device sends fifth information to the downstream device, and the fifth information indicates that the bandwidth of the data frame of the first device has been adjusted to the destination bandwidth; the first device receives sixth information from the downstream device, and the sixth information indicates that the downstream device confirms the fifth information; the first device turns off the timer.

[0030] In combination with the second aspect, in certain implementations of the second aspect, the data frame is an optical service unit (OSU) frame or a small-granularity optical transport network (fgOTN) frame.

[0031] In conjunction with the second aspect, in some implementations of the second aspect, the first device is an optical line terminal OLT device or a wavelength division multiplexing device

[0032] In a third aspect, an embodiment of the present application provides a method for adjusting bandwidth. The method can be performed by an optical network unit (ONU) device or by a component of the ONU device (such as a chip or chip system, etc.), and the present application does not limit this. The method includes: the ONU device receives first information from a first device, the first information instructing the first device to reserve the bandwidth of a first gigabit passive optical network (GPON) encapsulation mode (GEM) frame of the ONU device as the bandwidth of a second GEM frame, the bandwidth of the first GEM frame is less than the destination bandwidth of the data frame, the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the data frame is mapped in the first GEM frame; the ONU device determines, based on the first information, that the first device reserves the first GEM bandwidth as the second GEM bandwidth.

[0033] In combination with the third aspect, in certain implementations of the third aspect, the first information is carried in the bandwidth adjustment field of the overhead area of ​​the data frame, or the first information is carried in an operation, administration and maintenance OAM message, or the first information is carried in the first GEM frame.

[0034] In combination with the third aspect, in certain implementations of the third aspect, mapping the data frame into the first GEM frame includes: mapping the data frame into a payload area of ​​the first GEM frame.

[0035] In combination with the third aspect, in certain implementations of the third aspect, the destination bandwidth is the bandwidth required after the service data carried by the data frame changes.

[0036] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the ONU device sends a request message to the first device, the request message requesting that the bandwidth of the data frame be adjusted to the destination bandwidth; the ONU device receives a response message from the first device, the response message indicating that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth; the ONU device sends a second message to the first device based on the response message, the second information indicating that the ONU device is ready to adjust the bandwidth of the data frame to the destination bandwidth.

[0037] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the ONU device receives third information from the first device, and the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

[0038] In combination with the third aspect, in some implementations of the third aspect, the method further includes: the ONU device sends an operation, administration and maintenance OAM message or an optical network terminal management control interface OMCI message to the first device, and the OAM message or the OMCI message carries the destination bandwidth.

[0039] In combination with the third aspect, in certain implementations of the third aspect, the data frame is an optical service unit (OSU) frame or a small-grained optical transport network (fgOTN) frame.

[0040] In a fourth aspect, an embodiment of the present application provides a method for adjusting bandwidth. The method can be performed by an optical network unit (ONU) device or by a component of the ONU device (such as a chip or chip system, etc.), and the present application does not limit this. The method includes: the ONU device receives first information from a first device, the first information instructing the first device to reduce the bandwidth of a first gigabit passive optical network (GPON) encapsulation mode (GEM) frame of the ONU device to the bandwidth of a second GEM frame, the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, the bandwidth of the second GEM frame is less than the bandwidth of the first GEM frame, and the data frame is mapped in the first GEM frame; the ONU device determines, based on the first information, that the first device reduces the first GEM bandwidth to the second GEM bandwidth.

[0041] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first information is carried in the bandwidth adjustment field of the overhead area of ​​the data frame, or the first information is carried in an operation, administration and maintenance OAM message, or the first information is carried in the first GEM frame.

[0042] In combination with the fourth aspect, in certain implementations of the fourth aspect, mapping the data frame into the first GEM frame includes: mapping the data frame into a payload area of ​​the first GEM frame.

[0043] In combination with the fourth aspect, in certain implementations of the fourth aspect, the destination bandwidth is the bandwidth required after the service data carried by the data frame changes.

[0044] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method further includes: the ONU device sends a request message to the first device, the request message requesting that the bandwidth of the data frame be adjusted to the destination bandwidth; the ONU device receives a response message from the first device, the response message indicating that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth; the ONU device sends a second message to the first device based on the response message, the second information indicating that the ONU device is ready to adjust the bandwidth of the data frame to the destination bandwidth.

[0045] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method further includes: the ONU device receives third information from the first device, and the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

[0046] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method further includes: the ONU device sends an operation, administration, and maintenance OAM message or an optical network terminal management control interface OMCI message to the first device, and the OAM message or the OMCI message carries the destination bandwidth.

[0047] In combination with the fourth aspect, in certain implementations of the fourth aspect, the data frame is an optical service unit OSU frame or a small-grained optical transport network fgOTN frame.

[0048] In a fifth aspect, an embodiment of the present application provides a device for adjusting bandwidth. The device is used to perform the method provided in the first or second aspect above. Specifically, the device for adjusting bandwidth may include units and / or modules for performing the method provided in the first aspect or any one of the above implementations of the first aspect, or may include units and / or modules, such as a processing module and a transceiver module, for performing the method provided in the second aspect or any one of the above implementations of the second aspect.

[0049] In one implementation, the bandwidth adjustment apparatus may include units and / or modules for executing the method provided in the first aspect or any one of the aforementioned implementations of the first aspect, or units and / or modules for executing the method provided in the second aspect or any one of the aforementioned implementations of the second aspect, and is an OLT device. The transceiver module may be a transceiver or an input / output interface. The processing module may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.

[0050] In another implementation, the bandwidth adjustment device is a chip, chip system, or circuit in the OLT device. The transceiver module can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit. The processing module can be at least one processor, processing circuit, or logic circuit.

[0051] In a sixth aspect, embodiments of the present application provide a device for adjusting bandwidth. The device is used to perform the method provided in the third or fourth aspects above. Specifically, the device for adjusting bandwidth may include units and / or modules for performing the method provided in the third aspect, or, alternatively, units and / or modules for performing the method provided in the fourth aspect, such as a processing module and a transceiver module.

[0052] In one implementation, the bandwidth adjustment device is an ONU. The transceiver may be a transceiver or an input / output interface. The processing module may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.

[0053] In another implementation, the bandwidth adjustment device is a chip, chip system, or circuit in the ONU device. The transceiver module can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit. The processing module can be at least one processor, processing circuit, or logic circuit.

[0054] In a seventh aspect, an embodiment of the present application provides a processor for executing the methods provided in the above aspects.

[0055] For the operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or if they do not conflict with their actual functions or internal logic in the relevant descriptions, they can be understood as processor output, reception, input and other operations, and can also be understood as sending and receiving operations performed by the radio frequency circuit and antenna. This application does not limit this.

[0056] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium storing program code for execution by a device, the program code including a method for executing any one of the implementations of the first, second, third, or fourth aspects.

[0057] In a ninth aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is caused to execute the method provided by any one of the implementations of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0058] In the tenth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The processor reads instructions stored in the memory through the communication interface and executes the method provided by any one of the implementation methods of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0059] Optionally, as an implementation method, the chip also includes a memory, in which a computer program or instructions are stored, and the processor is used to execute the computer program or instructions stored in the memory. When the computer program or instructions are executed, the processor is used to execute the method provided by any one of the implementation methods of the above-mentioned first aspect, second aspect, third aspect or fourth aspect.

[0060] In an eleventh aspect, an embodiment of the present application provides a communication system, comprising a device for adjusting bandwidth as described in at least one of the fifth and sixth aspects above.

[0061] The beneficial effects brought about by the above-mentioned second to eleventh aspects can be specifically referred to the description of the beneficial effects in the first or second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 This is a schematic diagram of the first PON system architecture applicable to the embodiments of the present application.

[0063] Figure 2 This is a schematic diagram of the second PON system architecture applicable to the embodiments of the present application.

[0064] Figure 3 A schematic diagram of a first bandwidth adjustment method 300 provided in an embodiment of the present application.

[0065] Figure 4 The first device provided in the embodiment of the present application is a schematic system diagram of an OLT device.

[0066] Figure 5 The first device provided in the embodiment of the present application is a schematic system diagram of a wavelength division device.

[0067] Figure 6 This is a schematic diagram of a PON board service model on an OLT device applicable to an embodiment of the present application.

[0068] Figure 7 A schematic diagram of a second bandwidth adjustment method 700 provided in an embodiment of the present application.

[0069] Figure 8 A schematic diagram of the process of adjusting the system bandwidth provided in an embodiment of the present application.

[0070] Figure 9 A schematic block diagram of a bandwidth adjustment apparatus 900 provided in an embodiment of the present application.

[0071] Figure 10 A schematic block diagram of a bandwidth adjustment apparatus 1000 provided in an embodiment of the present application.

[0072] Figure 11A schematic structural diagram of a bandwidth adjustment device 1100 provided in an embodiment of the present application.

[0073] Figure 12 A schematic diagram of a chip system 1200 is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0074] The technical solution in this application will be described below with reference to the accompanying drawings.

[0075] In order to facilitate understanding of the embodiments of the present application, the following explanations are provided.

[0076] First, the terms "first," "second," and various numbers in the text descriptions or drawings of the embodiments of the present application shown below are merely distinctions for ease of description and are not intended to limit the scope of the embodiments of the present application. For example, they may be used to distinguish between different information, different bandwidths, and so on.

[0077] Second, the terms "including" and "having" and any variations thereof in the embodiments of the present application shown below are intended to cover non-exclusive inclusions. For example, a system, product or device that includes a series of units is not necessarily limited to those units explicitly listed, but may include other units that are not explicitly listed or are inherent to these products or devices.

[0078] Third, in the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or descriptions. An embodiment or design described as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner to facilitate understanding.

[0079] Fourth, unless otherwise defined, all terms (including technical and scientific terms) used in this application have the same meaning as commonly understood by ordinary technicians in the field to which this application belongs.

[0080] Fifth, the embodiment of the present application is described by adjusting the bandwidth of an OSU frame (also known as a flexible optical service unit (OSUflex) frame) as an example, but the solution of the present application is not limited to this. The method for adjusting bandwidth provided by the present application can be extended to apply to the frame structure of other small-grain protocols, such as the fine-grain flexible optical data unit (fgODUflex) frame in the fine-grain Optical Transport Network (fgOTN), or the fine-grain flexible optical transponder unit (fgOTUflex) frame, thereby realizing the fgOTN over PON system.

[0081] Sixth, in this application, "indication" can include direct indication, indirect indication, explicit indication, and implicit indication. When describing that a certain indication information is used to indicate A, it can be understood that the indication information carries A, directly indicates A, or indirectly indicates A.

[0082] Seventh, in this application, "sending" and "receiving" indicate the direction of signal transmission. For example, "receiving information from YY" can be understood as the source of the information being YY, which can include receiving directly from YY through the air interface, or indirectly receiving from YY through other units or modules through the air interface. "Sending" can also be understood as the "output" of the chip interface, and "receiving" can also be understood as the "input" of the chip interface. In other words, sending and receiving can be performed between devices, for example, between an OLT device and an ONU device, or can be performed within a device, for example, sending or receiving between components, modules, chips, software modules, or hardware modules within the device through a bus, trace, or interface.

[0083] Figure 1This is a schematic diagram of the first PON system architecture applicable to the embodiments of the present application. PON technology is a point-to-multipoint fiber access technology. The PON system includes a master device, an optical distribution network (ODN) device, and at least one slave device. Specifically, the master device can be an OLT device, a main FTTR unit (MFU) in a fiber to the room (FTTR) system, and the slave device can be an ONU, an optical network terminal (ONT), or a sub-FTTR unit (SFU) in a FTTR system. Among them, the OLT device is connected to the ODN device, and the ODN device is connected to multiple ONU devices. The OLT device provides a network-side interface, the OLT device is connected to the upper-layer network-side device (such as a switch, router, etc.), and the lower layer is connected to one or more ODN devices. Generally, the OLT device is usually located in a central office (CO), and the ONU device is located at or near the user's home. The ONU device provides a user-side interface and is connected to the ODN device at the same time. If an ONU also provides user interface functions, such as an Ethernet user interface or a plain old telephone service (POTS) user interface, it is called an optical network terminal (ONT). The ODN device includes a passive optical splitter for optical power distribution, a trunk fiber connecting the passive optical splitter and the OLT, and branch fibers connecting the passive optical splitter and the ONU. When transmitting downstream data, the ODN device transmits the downstream data from the OLT to each ONU via the optical splitter. When transmitting upstream data, the ODN device combines multiple upstream data channels from multiple ONUs into a single optical signal using time division multiplexing (TDM). The principle is to divide the upstream transmission time into several time slots Ti (i = 1, 2, 3, ..., 32, ...). In each time slot, only one ONU is assigned to send data in packets to the OLT. Each ONU sends data in the order specified by the OLT. TDM requires the OLT to measure the distance to each ONU and then implement strict transmission timing for each ONU. Each ONU obtains timing information from the downstream signal sent by the OLT and sends upstream packet data within the time slot specified by the OLT, thus avoiding conflicts between ONUs.

[0084] It is understandable that Figure 1This is just a schematic diagram. The PON system can also include other devices, such as wavelength division equipment, more ONU equipment, etc. Figure 1 Not drawn in the middle.

[0085] Figure 2 This is a schematic diagram of the second PON system architecture applicable to the embodiment of this application. Figure 1 This can be considered a fiber-to-the-home (FTTH) architecture. Building on FTTH, to address Wi-Fi coverage issues in home networks, fiber can be extended further into residents' homes. Optical terminals providing Wi-Fi access are installed inside the homes, reducing the distance between the user terminal and the Wi-Fi access point and improving signal quality. This application scenario is called FTTR. FTTR and FTTH networks can be considered cascaded PON systems. The OLT in FTTH is deployed in the central equipment room, while the ONU is deployed in the home's information box. The master device in the FTTR can replace the ONU in the FTTH and be deployed in the home's information box. In FTTR scenarios, this master device performs similar functions to the OLT in FTTH scenarios, and can also perform similar functions to the ONU in FTTH scenarios. In other words, the master device in the FTTR combines the functions of both the OLT and ONU, serving as a connecting network device between FTTH and FTTR. The slave device in FTTR can be deployed in each room of the home to connect to the user terminal. The slave device is essentially a similar network device to the ONU in FTTH.

[0086] With the development of the Fifth Generation Fixed Network (F5G), OSU technology, based on OTN, provides flexible bandwidth pipes for efficient transport in metropolitan area networks. It can efficiently carry services with granularity ranging from 10Mbit / s to 100Gbit / s and high-quality dedicated line transport for different bandwidth levels. As OTN continues to sink deeper into the transmission network, an increasing number of OLT sites are co-located with OTN, meeting the requirements for connecting the transmission network with the access network. Therefore, OSU over PON technology, which can achieve the integration and efficient transport of multiple networks, has become a research hotspot. This technology can carry different network signals through different OSU pipes, effectively ensuring the secure isolation between different services. At the same time, it solves the end-to-end network configuration and management issues in the PON system, driving the improvement of the operation and maintenance efficiency of the entire network.

[0087] Currently, in OSU over PON systems, the adjustment of OSU pipe bandwidth is limited by the bandwidth of Gigabit Passive Optical Network (GPON) encapsulation mode (GEM) frames. Therefore, in some service scenarios with high bandwidth requirements, the bandwidth of OSU frames cannot be adjusted to the target bandwidth, which in turn leads to packet loss or congestion in the service. In view of this, the present application provides a bandwidth adjustment method that can not only be applied to OSU over PON systems to achieve lossless adjustment of OSU bandwidth, but can also be applied to other fgOTN protocols under PON systems, such as fgODUflex or fgOTUflex, and supports fgOTN over PON systems.

[0088] Figure 3 Schematic diagram of the first bandwidth adjustment method 300 provided in the embodiment of the present application. Figure 3 As shown, the schematic flowchart is shown by taking the information interaction between the first device and the ONU device as an example, wherein the steps performed by the first device and / or the ONU device can be performed by a module or unit in the first device and / or the ONU device, for example, by a chip in the first device and / or the ONU device. Figure 3 The method 300 shown may include the following steps.

[0089] S301: A first device obtains a destination bandwidth of a data frame. The destination bandwidth is greater than a bandwidth of a first GEM frame. The data frame is mapped into the first GEM frame.

[0090] It is understandable that the bandwidth of a data frame refers to the ability of a data frame to transmit business data, or refers to the data volume of the business carried, or the physical resources occupied when transmitting business data. The bandwidth of a data frame has the same numerical value as the transmission rate of a data frame, and is only described from a different perspective. Optionally, in the present application, the data frame is an OSU frame or an fgOTN frame, etc., which is not limited in this application. Among them, the destination bandwidth of a data frame refers to the bandwidth required after the business changes. For example, if the data frame is an OSU frame, when the business changes and the business data increases, the destination bandwidth of the OSU frame will increase compared to before the business changes.

[0091] It should be noted that, in the solution of the present application, the data frame used to carry service data is mapped in the payload area of ​​the first GEM frame. For example, when the data frame is an OSU frame, the OSU frame is mapped in the payload area of ​​the first GEM frame. Mapping the OSU frame in the first GEM frame means that both the overhead area and the payload area of ​​the OSU frame are carried in the payload area of ​​the first GEM frame.

[0092] It should also be noted that the present application does not limit the manner in which the first device obtains the destination bandwidth of the data frame. In some embodiments, the first device obtains the destination bandwidth by receiving a message from the network management device. For example, when the network management device detects that the service on the ONU device side has changed and the bandwidth of the data frame carrying the service data needs to be increased, the network management device sends a message carrying the destination bandwidth to the first device. In other embodiments, the first device obtains the destination bandwidth by receiving a message from the ONU device. For example, when the ONU device detects an increase in service data from the client, the ONU device reports a message carrying the destination bandwidth to the first device. Optionally, the message carrying the destination bandwidth is an OAM message sent by the ONU device to the first device, or the message carrying the destination bandwidth is an optical network terminal management and control interface (OMCI) message sent by the ONU device to the first device, etc., which is not limited in the present application.

[0093] S302: The first device sends first information to the ONU device, where the first information instructs the first device to reserve the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame, where the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the bandwidth of the second GEM frame is greater than the bandwidth of the first GEM frame.

[0094] Specifically, after the first device determines a bandwidth of the second GEM frame that is greater than or equal to the target bandwidth based on the acquired target bandwidth, it reserves the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame and sends the first information to the ONU device to inform the ONU device. In response, the ONU device receives the first information. It is understood that the bandwidth of the first GEM frame is the bandwidth of the GEM frame to which the data frame is mapped before the service change, and the bandwidth of the second GEM frame is the bandwidth of the GEM frame to which the data frame is mapped after the service change.

[0095] Optionally, the first information is carried in a bandwidth adjustment field in an overhead area of ​​a data frame, or the first information is carried in an operation, administration, and maintenance (OAM) message, or the first information is carried in a first GEM frame. Exemplarily, if the data frame is an fgODU frame, the first information may be carried in a resizing control overhead (RCOH) overhead of the fgODU frame, or carried in an indication field for indicating the first information in a first GEM frame mapped with the fgODU frame. The indication field may be located in the overhead area of ​​the first GEM frame and include at least one bit. If the data frame is an OSU frame, the first information is carried in a bandwidth adjustment OAM frame, or carried in an indication field for indicating the first information in a first GEM frame mapped with the OSU frame. The indication field may be located in the overhead area of ​​the GEM frame and include at least one bit.

[0096] S303: The ONU device determines, based on the first information, that the first device reserves the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame.

[0097] Exemplarily, if the data frame is an OSU frame, after the ONU device receives the first GEM frame from the first device, it demaps the OSU frame from the payload area of ​​the first GEM frame, and sends a bandwidth adjustment OAM frame from the ONU device to the first device or obtains the first information from the first GEM frame. According to the first information, it is learned that the first device has increased the bandwidth of the first GEM frame of this station, so that the bandwidth of the OSU frame after the service change can be adjusted to a larger target bandwidth.

[0098] It is understandable that after the first device obtains the destination bandwidth of the data frame, the first device needs to determine whether the destination bandwidth is greater than the bandwidth of the first GEM frame. When the destination bandwidth is greater than the bandwidth of the first GEM frame, the first device will reserve the bandwidth of the first GEM frame as the bandwidth of the second GEM. Therefore, optionally, before the first device sends the first information, method 300 also includes the following steps.

[0099] S304: The first device determines that the destination bandwidth is greater than the bandwidth of the first GEM frame, and reserves the bandwidth of the first GEM frame as the bandwidth of the second GEM.

[0100] It should be noted that in the present application, the GPON system involved in the GEM frame can be a PON system with different rates, such as 1G PON, 10GPON, 25GPON, 50G PON, and 100GPON. In other words, the bandwidth adjustment solution of the present application does not limit the rate of the applied PON system, which can be 10G PON, 50G PON, etc.

[0101] It should also be noted that, in this solution, the first device can be an OLT device or a wavelength division device. Specifically, when the first device is an OLT device, this solution can be applied to Figure 4 When the first device is a wavelength division device, this solution can be applied to Figure 5 The PON system shown in FIG. Figure 4 In the process, the Ethernet packet services of the client side services are encapsulated into OSU frames through ONU, and then the OSU frames are mapped to the payload of the GEM frames of the PON system to realize the OSU over PON encapsulation of the client side services. Then the ONU is connected to the OLT, and finally connected to the wavelength division equipment through the OTU upstream board that supports OSU frames in the OLT. For example, in Figure 5 In the case that the data frame is still an OSU frame, after the OSU over PON encapsulation of the client-side service is realized on the ONU device, the information is forwarded with the ONU device through the PON board on the wavelength division device, and finally the GEM linkage bandwidth adjustment is completed. It can be understood that the above Figure 4 and Figure 5 This is only an example. The solution of this application can be applied to all devices that support OSU over PON, including but not limited to the above Figure 4 and Figure 5 OSU over PON equipment and networking.

[0102] Based on the solution of the present application, when the bandwidth of the data frame mapped in the GEM frame needs to be increased and exceeds the bandwidth of the GEM frame, the present application increases and reserves the bandwidth of the GEM frame, thereby ensuring that the bandwidth of subsequent data frames is no longer limited by the GEM frame bandwidth and is adjusted to the bandwidth required by the service. In other words, the solution of the present application adjusts the frame bandwidth of the service layer carrying the data frame to ensure that the bandwidth of the data frame mapped to the service layer frame is adjusted, thereby ensuring the integrity of service transmission, avoiding possible congestion during service transmission, and achieving the goal of improving system performance. For example, when the data frame mapped in the GEM frame is an OSU frame, if the service data carried by the OSU frame increases, the solution of the present application first reserves and increases the bandwidth of the GEM frame, thereby ensuring a lossless bandwidth increase for the OSU frame.

[0103] It should be noted that the above Figure 3 The solution shown is a solution when the destination bandwidth of the data frame is increased. When the destination bandwidth of the data frame is smaller than the GEM bandwidth, the solution of the present application can also reduce the GEM bandwidth, thereby achieving the purpose of saving resources.

[0104] In addition, see Figure 6As shown in the PON board service model on the OLT device, the upper layer of the GEM frame in the PON system is the transmission container (TCONT) frame. This means that the bandwidth adjustment of the GEM frame is limited by the bandwidth of the TCONT frame. Therefore, the solution of this application can also be applied to the bandwidth adjustment of GEM frames. Specifically, when the bandwidth required by the GEM frame is greater than the bandwidth of the TCONT frame, the TCONT frame bandwidth is first increased, and then the GEM frame bandwidth is increased, thereby alleviating network congestion and ensuring data transmission accuracy. Similarly, the TCONT frame bandwidth can be reduced first, and then the GEM frame bandwidth can be reduced, thereby conserving resources.

[0105] Figure 7 Schematic diagram of the second bandwidth adjustment method 700 provided in the embodiment of the present application. Figure 7 As shown, the schematic flowchart is shown by taking the information interaction between the first device and the ONU device as an example, wherein the steps performed by the first device and / or the ONU device can be performed by a module or unit in the first device and / or the ONU device, for example, by a chip in the first device and / or the ONU device. Figure 7 The illustrated method 700 may include the following steps.

[0106] It should be noted that the above Figure 3 The bandwidth adjustment process shown can be regarded as the configuration process of the bandwidth reservation phase. Figure 3 Compared to the method 300 shown, Figure 7 The method 700 shown includes not only the process of the bandwidth reservation phase, but also the process of the bandwidth adjustment phase and the process of the confirmation phase. Specifically, Figure 7 The method 700 shown may include the following steps, wherein S701-S704 may refer to the above-mentioned steps respectively. Figure 3 The description of S301-S304 in the above description will not be repeated here.

[0107] It can be understood that after the first device reserves the first GEM bandwidth of the ONU device as the second GEM bandwidth, the ONU device will perform bandwidth adjustment and confirmation steps.

[0108] S705: The ONU device sends a request message to the first device, where the request message requests to adjust the bandwidth of the data frame to the destination bandwidth.

[0109] Specifically, after receiving the first information, the ONU device sends a request message to the first device based on the first information, requesting that the current bandwidth of the data frame of the local station be adjusted to the destination bandwidth.

[0110] It should be noted that this application does not limit the message that carries the request information, for example, it can be an OAM message.

[0111] S706: The first device sends response information to the ONU device, where the response information indicates that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth.

[0112] It should be noted that this application does not limit the message that carries the response information, for example, it can be an OAM message.

[0113] S707: The ONU device sends second information to the first device based on the response information. The second information instructs the ONU device to prepare to adjust the service bandwidth to the destination bandwidth.

[0114] Specifically, after receiving the response information, the ONU device sends the second information to the first device, and correspondingly, the first device receives the second information.

[0115] S708: The first device adjusts the bandwidth of the first GEM frame of the ONU device to the bandwidth of the second GEM frame based on the second information.

[0116] It can be understood that, after the first device adjusts the first GEM bandwidth of the ONU device to the second GEM bandwidth, the first device can synchronously adjust the bandwidth of the data frame of the ONU device to the destination bandwidth.

[0117] S709: The first device sends third information to the ONU device, where the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

[0118] Figure 8 Schematic diagram of the process of adjusting the system bandwidth provided in the embodiment of the present application. Figure 8 As shown, the schematic flow chart is based on Figure 4 The illustrated system is an example of an interaction process between an OLT device, an ONU device, a wavelength division multiplexing device, and a network management device. The steps performed by the OLT device, the ONU device, the wavelength division multiplexing device, and the network management device can be performed by modules or units in the OLT device, the ONU device, the wavelength division multiplexing device, and the network management device, for example, by chips in the OLT device, the ONU device, the wavelength division multiplexing device, and the network management device. Figure 8 The process shown may include the following steps.

[0119] It should be noted that in some of the following steps, the OLT device is used to perform operations on the ONU device. This is because the host of the OLT device is used to manage the ONU device. That is, in the bandwidth adjustment step of the ONU device, there are operations performed by the host of the ONU device on the OLT device. This application does not limit whether the host of the ONU device and the host of the OLT device are integrated together. Figure 8 For clarity of description only, the host of the ONU device and the host of the OLT device are separated. In some application scenarios, the host of the OLT device can be integrated with the host of the ONU device. In this case, a processor or chip of the OLT device manages both the OLT device and the ONU device.

[0120] S801: The network management device sends the target bandwidth to the OLT device.

[0121] Specifically, when the network management device needs to increase the destination bandwidth, the network management device sends the required destination bandwidth of the data frame to the host of the ONU device on the OLT device, and correspondingly, the host of the ONU device on the OLT device receives the destination bandwidth.

[0122] S802: The OLT device determines that the destination bandwidth is greater than the bandwidth of the first GEM frame.

[0123] Specifically, after receiving the destination bandwidth sent by the network management device, the host of the ONU device on the OLT device compares the destination bandwidth with the bandwidth of the first GEM frame currently mapping service data and determines that the destination bandwidth is greater than the bandwidth of the current first GEM frame.

[0124] S803: The OLT device reserves the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame.

[0125] Specifically, after the host of the ONU device on the OLT device determines that the destination bandwidth is greater than the bandwidth of the current first GEM frame, the host reserves the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame.

[0126] It should be noted that due to changes in services, the host of the ONU device on the OLT device reserves GEM frames while also reserving other service-related bandwidths, such as Ethernet services, packet services, and layer 1 and layer 2 bandwidths.

[0127] S804: The OLT device sends first information to the ONU device. The first information indicates that the bandwidth of the first GEM frame of the ONU device is reserved as the bandwidth of the second GEM frame. The bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the bandwidth of the second GEM frame is greater than the bandwidth of the first GEM frame.

[0128] Specifically, the host of the ONU device on the OLT device sends first information to the ONU device through the PON board, where the first information instructs the host of the ONU device on the OLT device to reserve the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame. Correspondingly, the ONU device receives the first information.

[0129] S805: The ONU device starts a first timer.

[0130] Specifically, after the ONU device receives the first information from the OLT device, it determines that the destination bandwidth of the data frame that needs to be adjusted is greater than the bandwidth of the first GEM frame currently carrying the data frame, and it determines that the host of the ONU device on the OLT device has reserved the bandwidth of the first GEM frame of the ONU device as the bandwidth of the second GEM frame. The ONU device triggers a first timer. It should be noted that the first timer can be either countdown or countup, which is not limited in this application. In addition, the duration of the first timer can be configured by the network management device for the ONU device or agreed upon by the ONU device and other site devices, which is not limited in this application.

[0131] S806: The ONU device sends a request message to the OLT device, where the request message requests to adjust the bandwidth of the current data frame of the ONU device to the target bandwidth.

[0132] Specifically, the ONU device sends request information to the OLT device through the PON board on the OLT device, and correspondingly, the OLT device receives the request information from the ONU device through the PON board.

[0133] Optionally, the request information is carried in the BW_ADJ_REQ field of the OAM message. Exemplarily, when the request information is carried in the OAM message, the number of bits carrying the request information may be 3 bits, where 000 is used to request bandwidth rollback; 001 is used to request bandwidth increase; 010 is used to request bandwidth reduction, and 011 is used to indicate confirmation of bandwidth increase.

[0134] It should be noted that the request information can be sent once or multiple times.

[0135] S807: The OLT device sends first response information to the ONU device. The first response information indicates that the ONU device can adjust the bandwidth of the current data frame of the ONU device to the destination bandwidth.

[0136] Specifically, after receiving the request information from the ONU device, the OLT device sends first response information to the ONU device through the PON board. Correspondingly, the ONU device receives the first response information.

[0137] Optionally, the first response information is carried in a BW_ADJ_ACK field in an OAM message. Exemplarily, when the first response information is carried in an OAM message, the number of bits carrying the first response information may be 3 bits, where 000 is used to indicate a bandwidth fallback response; 001 is used to indicate a bandwidth increase response; 010 is used to indicate a bandwidth decrease response; 011 is used to indicate a bandwidth increase confirmation response; and 100 is used to indicate no bandwidth increase response.

[0138] S808: The ONU device sends second information to the OLT device. The second information instructs the ONU device to prepare to adjust the bandwidth of the current data frame to the destination bandwidth.

[0139] Specifically, the ONU device sends second information to the host of the ONU device on the OLT device, instructing the host of the ONU device to start adjusting the bandwidth of the data frame.

[0140] S809: The OLT device adjusts the bandwidth of the first GEM frame of the ONU device to the bandwidth of the second GEM frame based on the second information.

[0141] Specifically, after the host of the ONU device on the OLT device receives the second information, the host of the ONU device on the OLT device adjusts the bandwidth of the first GEM frame of the ONU device to the bandwidth of the second GEM frame. It is understandable that at this time, the host of the ONU device on the OLT device also adjusts the bandwidth of the data frame to the destination bandwidth and adjusts other service-related bandwidths.

[0142] S810: The OLT device sends third information to the ONU device. The third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

[0143] Specifically, after the host of the ONU device on the OLT device adjusts the bandwidth of the data frame to the destination bandwidth, the host of the ONU device on the OLT device sends third information to the ONU device to notify the ONU device that the bandwidth of the data frame has been adjusted.

[0144] S811 : The ONU device sends fourth information to the OLT device. The fourth information is used to notify the OLT device that the ONU device has adjusted the bandwidth of the data frame to the destination bandwidth.

[0145] Specifically, after the ONU adjusts the bandwidth of the data frame to the target bandwidth, it sends a fourth message to the OLT via the PON board, notifying the OLT that the bandwidth of the data frame on the ONU has been adjusted to the target bandwidth. It should be noted that after receiving the fourth message, the OLT forwards the fourth message to the wavelength division multiplexing device (i.e., S826).

[0146] Optionally, the fourth information is carried in a BW_ADJ_REQ field in an OAM message.

[0147] S812: The OLT device sends second response information to the ONU device. The second response information is used to notify the ONU device that the OLT device confirms receipt of the fourth information.

[0148] Specifically, after receiving the fourth information, the OLT device sends a second response message to the ONU device. Optionally, the second response message is carried in the BW_ADJ_ACK field of the OAM message. It should be noted that the second response message sent by the OLT device to the ONU device is the second response message sent by the wavelength division multiplexing device to the OLT device in S827. After receiving the fourth information, the OLT device forwards the fourth information to the ONU device.

[0149] S813: The ONU device sends fifth information to the OLT device. The fourth information is used to notify the OLT device that the second response information has been received.

[0150] Specifically, after receiving the second response information, the ONU device sends the fifth information to the host of the ONU device on the OLT device, so as to notify the host of the ONU device that the second response information has been received.

[0151] S814 , the OLT device sends third response information to the ONU device, where the third response information is used to notify the ONU device that the OLT device confirms receipt of the fifth information.

[0152] Specifically, after receiving the fifth information, the host of the ONU device on the OLT device sends third response information to the ONU device.

[0153] S815: The ONU device stops the first timer.

[0154] Specifically, after receiving the third response information, the ONU device stops the first timer.

[0155] S816: The OLT device sends sixth information to the network management device. The sixth information is used to report to the network management device that the ONU device has adjusted the bandwidth of the data frame to the destination bandwidth.

[0156] Specifically, after the ONU device stops the first timer, the host of the ONU device on the OLT device sends sixth information to the network management device, for reporting that the bandwidth of the data frame on the ONU device has been adjusted to the target bandwidth.

[0157] So far, the bandwidth of the data frame of the ONU device has been adjusted to the target bandwidth. Next, the bandwidth adjustment of the OLT device will be described.

[0158] S817: The OLT device determines that the destination bandwidth is greater than the bandwidth of the first GEM frame.

[0159] Specifically, after receiving the request information from the ONU device in S806 , the OLT device compares the destination bandwidth with the bandwidth of the first GEM frame currently mapping the service data, and determines that the destination bandwidth is greater than the bandwidth of the current first GEM frame.

[0160] S818: The OLT device reserves the bandwidth of the first GEM frame of the OLT device as the bandwidth of the second GEM frame.

[0161] Specifically, after the OLT device determines that the destination bandwidth is greater than the bandwidth of the current first GEM frame, the bandwidth of the first GEM frame of the OLT device is reserved as the bandwidth of the second GEM frame.

[0162] It should be noted that, due to changes in services, the OLT device reserves GEM frames as well as other bandwidths related to the services.

[0163] S819 , the OLT device sends seventh information to the wavelength division device. The seventh information is used to notify the wavelength division device that the OLT device reserves the bandwidth of the first GEM frame as the bandwidth of the second GEM frame.

[0164] It is understood that after the OLT device reserves the first GEM frame as the second GEM frame, it also sends the reservation result to the N2 board of the wavelength division equipment via the N1 board, notifying the wavelength division equipment via the N2 board that the OLT device has reserved the bandwidth of the first GEM frame as the bandwidth of the second GEM frame. The seventh information is carried in the overhead area of ​​the data frame, or in a bandwidth adjustment OAM frame, or in the first GEM frame. It is understood that the seventh information can be carried in different locations depending on the data frame.

[0165] S820: The OLT device sends a second request message to the wavelength division device. The second request message requests to adjust the bandwidth of the current data frame of the OLT device to the target bandwidth.

[0166] Specifically, the OLT device sends a second request message to the wavelength division device via the N1 board, requesting that the bandwidth of the current data frame of the OLT device be adjusted to the target bandwidth. Correspondingly, the wavelength division device receives the second request message.

[0167] S821: The wavelength division device sends fourth response information to the OLT device. The fourth response information indicates that the OLT device can adjust the bandwidth of the current data frame to the target bandwidth.

[0168] Specifically, the wavelength division device sends the fourth response information to the N1 board of the OLT device via the N2 board. Correspondingly, the OLT device receives the fourth response information. It should be noted that after receiving the fourth response message, the OLT device executes S807.

[0169] S821: The OLT device starts a first timer.

[0170] Specifically, after the OLT device receives the fourth response information from the wavelength division multiplexing device, the OLT device triggers a second timer. It is understood that this second timer can be either countdown or countup, and this application does not limit this. Furthermore, the duration of this second timer can be configured by the network management device for the OLT device or agreed upon between the OLT device and other site devices, and this application does not limit this.

[0171] S822: The OLT device adjusts the bandwidth of the first GEM frame of the OLT device to the bandwidth of the second GEM frame based on the second information.

[0172] Specifically, after the OLT device starts the first timer, it adjusts the bandwidth of the first GEM frame of the OLT device to the bandwidth of the second GEM frame. It is understandable that at this time, the OLT device also adjusts the bandwidth of the data frame to the destination bandwidth and adjusts other service-related bandwidths.

[0173] S823: The OLT device sends eighth information to the wavelength division device. The eighth information notifies the OLT device that the data frame bandwidth of the OLT device has been adjusted to the destination bandwidth.

[0174] Specifically, after the OLT device adjusts the bandwidth of the local station data frame to the destination bandwidth, the OLT device sends the eighth information to the wavelength division device.

[0175] S824 , the wavelength division device sends ninth information to the OLT device, where the ninth information indicates that the wavelength division device confirms receipt of the eighth information.

[0176] S825: The OLT device stops the second timer.

[0177] Specifically, after the OLT device completes the bandwidth adjustment, it stops the second timer.

[0178] It should be understood that the size of the serial numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0179] Regarding the above Figure 3 、 Figure 7 and Figure 8 In the embodiment, it should be noted that:

[0180] (1) The step numbers in the flowcharts described in the embodiments are merely examples of the execution process and do not limit the order in which the steps are executed. In the embodiments of the present application, there is no strict execution order for steps that have no temporal dependencies. Furthermore, not all steps shown in the flowcharts are mandatory steps, and steps may be added or deleted based on actual needs.

[0181] (2) The above embodiments utilize messages and parameters from the OTN system. However, in actual implementation, different messages or message names may be used, and the present embodiments do not limit this. Furthermore, in some of the above embodiments, data frames from existing OTN systems are used as examples for illustration. It should be understood that the present embodiments do not limit the specific form of data frames. For example, data frames that can achieve the same function in the future are applicable to the present embodiments.

[0182] (3) In the above-mentioned various method embodiments, the methods and operations implemented by a device (such as a sending device or a receiving device) may also be implemented by components of the device (such as a chip or a circuit), without limitation.

[0183] Above, combined Figure 3 、 Figure 7 and Figure 8 The method provided in the embodiment of the present application is described in detail. Figures 9 to 12 The device and chip system provided by the embodiments of the present application are described in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment. Therefore, for matters not described in detail, please refer to the method embodiment above. For the sake of brevity, they are not repeated here.

[0184] Figure 9 A schematic block diagram of a device 900 for adjusting bandwidth provided in an embodiment of the present application. For example, it is a first device, and it can also be a module (such as a chip) applied to the first device. Specifically, the device 900 for adjusting bandwidth includes a receiving module 901, and the receiving module 901 can be used to implement the corresponding receiving function. The receiving module 901 can also be called a receiving unit. The device 900 for adjusting bandwidth also includes a processing module 902, and the processing module 902 can be used to implement the corresponding processing function. The device 900 for adjusting bandwidth also includes a sending module 903, and the sending module 903 can be used to implement the corresponding sending function, and the sending module 903 can also be called a sending unit. The receiving module 901 and the sending module 903 can also be called communication interfaces or communication units.

[0185] Optionally, the device 900 for adjusting bandwidth also includes a storage unit, which can be used to store instructions and / or data. The processing unit 902 can read the instructions and / or data in the storage unit so that the device 900 for adjusting bandwidth implements the actions of the first device in the aforementioned method embodiment.

[0186] The bandwidth adjustment device 900 can be used to perform the above Figure 3 、 Figure 7 and Figure 8 The action performed by the first device in the method embodiment, at this time, the device 900 for adjusting the bandwidth can be a component of the first device, the receiving module 901 is used to perform the reception-related operations of the first device in the above method embodiment, and the processing module 902 is used to perform the above Figure 3 、 Figure 7 and Figure 8 In the method embodiment, the first device performs the processing related operations, and the sending module 903 is used to execute the above method Figure 3 、 Figure 7 and Figure 8 The sending-related operations of the first device in the embodiment.

[0187] In one embodiment, the apparatus 900 for adjusting bandwidth may be used to perform the above Figure 3 、 Figure 7 and Figure 8 For example:

[0188] Processing module 902 is configured to obtain a destination bandwidth of the data frame, where the destination bandwidth is greater than the bandwidth of the first GEM frame, and the data frame is mapped into the first GEM frame. Processing module 902 is further configured to reserve the bandwidth of the first GEM frame as the bandwidth of a second GEM frame, where the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the bandwidth of the second GEM frame is greater than the bandwidth of the first GEM frame.

[0189] The sending module 903 is configured to send first information to the ONU device, where the first information instructs the first device to reserve the bandwidth of the first GEM frame as the bandwidth of the second GEM frame.

[0190] It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0191] In addition, the receiving module 901 , the processing module 902 and the sending module 903 in the apparatus for adjusting bandwidth 900 may also implement other operations or functions of the OLT in the above method, which will not be described in detail here.

[0192] Optionally, bandwidth adjustment apparatus 900 may be a device comprising a first device, or a component configured in the first device, such as a chip of the first device. In this case, receiving module 901 and transmitting module 903 may be interface circuits, pins, etc. Specifically, the interface circuit may include input circuits and output circuits, wherein receiving module 901 may include input circuits, transmitting module 903 may include output circuits, and processing module 902 may include processing circuits.

[0193] Figure 10 The present invention provides a schematic block diagram of a device 1000 for adjusting bandwidth provided in an embodiment of the present application. For example, it is an OTN device at the receiving end, or it can be a module (such as a chip) applied to an ONU. Specifically, the device 1000 for adjusting bandwidth includes a receiving module 1001, which can be used to implement a corresponding receiving function. The receiving module 1001 can also be referred to as a receiving unit. The device 1000 for adjusting bandwidth also includes a processing module 1002, which can be used to implement a corresponding processing function. The device 1000 for adjusting bandwidth also includes a sending module 1003, which can be used to implement a corresponding sending function, and the sending module 1003 can also be referred to as a sending unit. The receiving module 1001 and the sending module 1003 can also be referred to as communication interfaces or communication units.

[0194] Optionally, the device 1000 for adjusting bandwidth further includes a storage unit, which can be used to store instructions and / or data. The processing unit 1002 can read the instructions and / or data in the storage unit so that the device 1000 for adjusting bandwidth implements the actions of the ONU in the aforementioned various method embodiments.

[0195] The bandwidth adjustment device 1000 can be used to perform the above Figure 3 、 Figure 7 and Figure 8 The actions performed by the ONU in the method embodiment, at this time, the device 1000 for adjusting the bandwidth can be a component of the ONU, the receiving module 1001 is used to perform the reception-related operations of the ONU in the above method embodiment, and the processing module 1002 is used to perform the above Figure 3 、 Figure 7 and Figure 8 In the method embodiment, the processing-related operations of the ONU are performed by the sending module 1003. Figure 3 、 Figure 7 and Figure 8 The ONU transmission-related operations in the method embodiment.

[0196] In one embodiment, the apparatus 1000 for adjusting bandwidth may be used to perform the above Figure 3 、 Figure 7 and Figure 8For example:

[0197] The receiving module 1001 is configured to receive first information from a first device, where the first information instructs the first device to reserve bandwidth of a first GEM frame as bandwidth of a second GEM frame, where the bandwidth of the first GEM frame is less than a destination bandwidth of a data frame, where the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and where the data frame is mapped into the first GEM frame.

[0198] The processing module 1002 determines, based on the first information, that the first device reserves the first GEM bandwidth as the second GEM bandwidth.

[0199] It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0200] In addition, the receiving module 1001, the processing module 1002 and the sending module 1003 in the apparatus 1000 for adjusting bandwidth may also implement other operations or functions of the ONU in the above method, which will not be described in detail here.

[0201] Optionally, the bandwidth adjustment apparatus 1000 may be a device including an ONU, or a component configured in the ONU, such as an ONU chip. In this case, the receiving module 1001 and the sending module 1003 may be interface circuits, pins, etc. Specifically, the interface circuit may include an input circuit and an output circuit, wherein the receiving module 1001 may include an input circuit, the sending module 1003 may include an output circuit, and the processing module 1002 may include a processing circuit.

[0202] Figure 11 This is a schematic structural diagram of a bandwidth adjustment device 1100 provided in an embodiment of the present application. The bandwidth adjustment device 1100 includes a processor 1101 and a transceiver 1102. The transceiver 1102 is configured to exchange information via a transmission medium. Optionally, the transceiver 1103 may be an interface, a bus, a circuit, or a device capable of performing transceiver functions. Optionally, the device in the transceiver 1102 that performs the receiving function may be considered a receiving module, and the device in the transceiver 1102 that performs the transmitting function may be considered a transmitting module, i.e., the transceiver 1102 includes a receiver and a transmitter.

[0203] The transceiver 1102 may also be sometimes referred to as a transceiver, a transceiver module, or a transceiver circuit, etc. The receiver may also be sometimes referred to as a receiver, a receiving module, or a receiving circuit, etc. The transmitter 1102 may also be sometimes referred to as a transmitter, a transmitter, a transmitting module, or a transmitting circuit, etc.

[0204] For example, in one embodiment, the processor 1101 is configured to perform other operations or functions of a chip of the first device. The transceiver 1102 is configured to implement information exchange between the apparatus 1100 for adjusting bandwidth and the ONU.

[0205] In another embodiment, the processor 1101 is configured to perform other operations or functions of the ONU chip. The transceiver 1102 is configured to implement information exchange between the apparatus 1100 for adjusting bandwidth and the first device.

[0206] The device 1100 for adjusting bandwidth may further include a memory 1103 for storing computer programs or instructions or and / or data. The memory 1103 is coupled to the processor 1101, and the processor 1101 is configured to execute the computer programs or instructions and / or data stored in the memory 1103, so that one of the methods 300 to 1100 in the above method embodiments is executed. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 1101 may operate in conjunction with the memory 1103.

[0207] Optionally, the apparatus 1100 for adjusting bandwidth may include one or more processors 1101 and one or more memories 1103 .

[0208] Optionally, the memory 1103 may be integrated with the processor 1101 or provided separately.

[0209] The specific connection medium between the processor 1101, the transceiver 1102 and the memory 1103 is not limited in the embodiment of the present application. Figure 11 The processor 1101, the transceiver 1102 and the memory 1103 are connected via a bus 1104. Figure 11 The connections between the other components are shown by bold lines, which are only for illustration and not limiting. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0210] It should be understood that for ease of representation, Figure 11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0211] Figure 12 A schematic diagram of a chip system 1200 is provided for an embodiment of the present application. The chip system 1200 (or also referred to as a processing system) includes a logic circuit 1210 and an input / output interface 1220 .

[0212] Logic circuit 1210 may be a processing circuit within chip system 1200. Logic circuit 1210 may be coupled to a storage unit and invoke instructions within the storage unit, enabling chip system 1200 to implement the methods and functions of various embodiments of the present application. Input / output interface 1220 may be an input / output circuit within chip system 1200, outputting information processed by chip system 1200 or inputting data or signaling information to be processed into chip system 1200 for processing.

[0213] Alternatively, the logic circuit 1210 may be implemented by one or more processors, including the one or more processors or a processing portion in the one or more processors.

[0214] Optionally, the input / output interface 1220 may include a transceiver circuit, a transceiver, an input / output circuit, or a communication interface.

[0215] As a solution, the chip system 1200 is used to implement the operations performed by the first device or the ONU device in the above various method embodiments.

[0216] Specifically, the logic circuit 1210 is used to implement the processing-related operations performed by the first device or ONU device in the above method embodiment; the input / output interface 1220 is used to implement the sending and / or receiving-related operations performed by the first device or ONU device in the above method embodiment.

[0217] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions for implementing the methods executed by the first device or the ONU device in the above-mentioned method embodiments.

[0218] For example, when the computer program is executed by a computer, the computer can implement the method performed by the first device or the ONU device in each embodiment of the above method.

[0219] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed by a computer, implement the methods performed by the first device or the ONU device in the above-mentioned method embodiments.

[0220] The embodiment of the present application also provides a communication system, which includes the ONU device and / or the first device in the above embodiments. For example, the system includes Figure 1 The ONU and OLT devices in the system.

[0221] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, which will not be repeated here.

[0222] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0223] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. For example, the computer can be a personal computer, a server, or a network device, etc. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). For example, the aforementioned available medium includes, but is not limited to, various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0224] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for adjusting bandwidth, characterized in that: Applied to a first device, the method includes: The first device acquires a destination bandwidth of a data frame, where the destination bandwidth is greater than a bandwidth of a first gigabit passive optical network (GPON) encapsulation mode (GEM) frame, and the data frame is mapped into the first GEM frame; The first device sends first information, where the first information instructs the first device to reserve the bandwidth of the first GEM frame of the ONU device as the bandwidth of a second GEM frame, where the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the bandwidth of the second GEM frame is greater than the bandwidth of the first GEM frame.

2. The method according to claim 1, characterized in that The first information is carried in a bandwidth adjustment field in an overhead area of ​​the data frame, or the first information is carried in an operation, administration, and maintenance (OAM) message, or the first information is carried in the first GEM frame.

3. The method according to claim 1 or 2, characterized in that Mapping the data frame into the first GEM frame includes: mapping the data frame into the payload area of ​​the first GEM frame.

4. The method according to any one of claims 1 to 3, characterized in that The target bandwidth is the bandwidth required after the service data carried by the data frame changes.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The first device receives a request message from the ONU device, wherein the request message requests adjusting the bandwidth of the data frame to the destination bandwidth; The first device sends response information to the ONU device, where the response information indicates that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth; The first device receives second information from the ONU device, where the second information instructs the ONU device to prepare to adjust the bandwidth of the data frame to the destination bandwidth.

6. The method according to claim 5, characterized in that The method further comprises: The first device adjusts the bandwidth of the first GEM frame of the ONU device to the bandwidth of the second GEM frame based on the second information; The first device sends third information to the ONU device, where the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

7. The method according to any one of claims 1 to 6, characterized in that The first device acquiring the target bandwidth includes: The first device receives the destination bandwidth from the network management device; or, The first device receives the destination bandwidth from the ONU device.

8. The method according to claim 7, characterized in that When the first device receives the destination bandwidth from the network management device, the method further includes: The first device sends fourth information to the network management device, where the fourth information is used to report that the ONU device has adjusted the bandwidth of the data frame to the destination bandwidth.

9. The method according to claim 7, characterized in that The first device receiving the destination bandwidth from the ONU device includes: The first device receives an operation, administration, and maintenance OAM message or an optical network terminal management and control interface OMCI message from the ONU device, where the OAM message or the OMCI message carries the destination bandwidth.

10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: The first device starts a timer; The first device adjusts the bandwidth of the data frame of the first device to the destination bandwidth; fifth information sent by the first device to the downstream device, where the fifth information indicates that the bandwidth of the data frame of the first device has been adjusted to the destination bandwidth; The first device receives sixth information from the downstream device, where the sixth information indicates that the downstream device confirms the fifth information; The first device turns off the timer.

11. The method according to any one of claims 1 to 10, characterized in that The data frame is an optical service unit OSU frame or a small-granularity optical transport network fgOTN frame.

12. The method according to any one of claims 1 to 11, characterized in that The first device is an optical line terminal OLT device or a wavelength division multiplexing device.

13. A method for adjusting bandwidth, characterized in that: Applied to an optical network unit (ONU) device, the method includes: The ONU device receives first information from a first device, where the first information instructs the first device to reserve a bandwidth of a first gigabit passive optical network (GPON) encapsulation mode (GEM) frame of the ONU device as a bandwidth of a second GEM frame, where the bandwidth of the first GEM frame is less than a destination bandwidth of a data frame, the bandwidth of the second GEM frame is greater than or equal to the destination bandwidth, and the data frame is mapped into the first GEM frame; The ONU device determines, based on the first information, that the first device reserves the first GEM bandwidth as the second GEM bandwidth.

14. The method according to claim 13, characterized in that The first information is carried in a bandwidth adjustment field in an overhead area of ​​the data frame, or the first information is carried in an operation, administration, and maintenance (OAM) message, or the first information is carried in the first GEM frame.

15. The method according to claim 13 or 14, characterized in that Mapping the data frame into the first GEM frame includes: mapping the data frame into the payload area of ​​the first GEM frame.

16. The method according to any one of claims 13 to 15, characterized in that The target bandwidth is the bandwidth required after the service data carried by the data frame changes.

17. The method according to any one of claims 13 to 16, characterized in that The method further comprises: The ONU device sends a request message to the first device, wherein the request message requests adjusting the bandwidth of the data frame to the destination bandwidth; The ONU device receives response information from the first device, where the response information indicates that the ONU device can adjust the bandwidth of the data frame to the destination bandwidth; The ONU device sends second information to the first device based on the response information, where the second information instructs the ONU device to prepare to adjust the bandwidth of the data frame to the destination bandwidth.

18. The method according to claim 17, characterized in that The method further comprises: The ONU device receives third information from the first device, where the third information is used to notify the ONU device that the bandwidth of the data frame has been adjusted to the destination bandwidth.

19. The method according to any one of claims 13 to 18, characterized in that The method further comprises: The ONU device sends an operation, administration, and maintenance OAM message or an optical network terminal management and control interface OMCI message to the first device, where the OAM message or the OMCI message carries the destination bandwidth.

20. The method according to any one of claims 13 to 19, characterized in that The data frame is an optical service unit OSU frame or a small-granularity optical transport network fgOTN frame.

21. A device for adjusting bandwidth, characterized in that: include: A module for performing the method according to any one of claims 1 to 12, or a module for performing the method according to any one of claims 13 to 21.

22. A chip, characterized in that: The chip includes a processor and a communication interface, the communication interface is used to receive data frames and transmit them to the processor or send data frames to other communication devices other than the communication device including the chip, and the processor is used to execute the method as described in any one of claims 1 to 12, or the method as described in any one of claims 13 to 21.

23. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which, when executed on a computer, enable the method according to any one of claims 1 to 12 or the method according to any one of claims 13 to 21 to be performed.

24. A computer program product, characterized in that The computer program product comprises a computer program code which, when run on a computer, causes the method of any one of claims 1 to 12 or the method of any one of claims 13 to 21 to be performed.