Transmission rate control method of ONU, ONU, OLT, electronic device and storage medium

By real-time monitoring of the PON port traffic rate and LAN port negotiation rate of the ONU, the problem of user data loss caused by the mismatch between the ONU LAN port and PON port rates was solved, achieving rate-matched scheduling, avoiding data loss, and improving system efficiency.

CN115567801BActive Publication Date: 2026-07-24ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZTE CORP
Filing Date
2021-06-30
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

The negotiation rate of the ONU LAN port cannot match the increased rate of the PON port, resulting in the loss of user data.

Method used

By real-time monitoring of the PON port traffic rate and LAN port negotiation rate of the ONU, if they do not match, a notification message of the current negotiation rate of the LAN port is reported to the OLT. The OLT then schedules the transmission rate of the downlink service flow based on the notification message.

Benefits of technology

This avoids user data loss due to rate mismatch and improves system operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567801B_ABST
    Figure CN115567801B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communication equipment, and discloses a transmission rate control method of an ONU, the ONU, an OLT, electronic equipment and a storage medium.In the present application, the transmission rate control method of the ONU comprises: real-time detection of the traffic rate of a passive optical network (PON) port of the ONU or the negotiation rate of a local area network (LAN) port; if a mismatch is detected, a notification message carrying the current negotiation rate of the LAN port is reported to an optical line terminal (OLT) for the OLT to schedule the transmission rate of downstream service flow according to the notification message.The negotiation rate of the LAN port and the traffic rate of the PON port can be quickly mastered in the case of mismatch, and the transmission rate of downstream service flow is scheduled to avoid loss of user data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication equipment technology, and in particular to a method for controlling the transmission rate of an ONU, an ONU, an OLT, electronic equipment, and a storage medium. Background Technology

[0002] With the continuous development of optical networks, Fiber to the Home (FTTH) has been fully deployed, and its terminal product, the Optical Network Unit (ONU), has also been widely used. In recent years, with the rapid development of services such as smart homes, VR technology, telemedicine, and 5G fronthaul, telecom operators and home / enterprise users have increasingly higher requirements for the bandwidth and user experience of fiber optic access. Currently, bandwidth can be improved by upgrading to a 10G Passive Optical Network (PON), and the negotiation rate of the ONU Local Area Network (LAN) port is also continuously improving.

[0003] However, the inventors of this invention discovered that the increase in the negotiation rate of the ONULAN port has not kept up with the increase in the PON port rate, which may lead to the loss of user data. Summary of the Invention

[0004] The purpose of this invention is to provide an ONU transmission rate control method, an ONU, an OLT, an electronic device, and a storage medium to avoid the problem of user data loss that may occur when transmitting downlink data due to the mismatch between the negotiated rate of the ONU LAN port and the rate of the PON port.

[0005] To address the above problems, embodiments of the present invention provide a transmission rate control method for an ONU, applied to an ONU, comprising:

[0006] The system performs real-time monitoring of the traffic rate of the passive optical fiber network (PON) port or the negotiation rate of the local area network (LAN) port of the ONU. If a mismatch is detected between the negotiation rate of the LAN port and the traffic rate of the PON port, a notification message carrying the current negotiation rate of the LAN port is reported to the optical line terminal (OLT) so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message.

[0007] The present invention also provides a transmission rate control method for an ONU, applied to an optical line terminal (OLT), comprising:

[0008] Receive notification messages reported by the Optical Network Unit (ONU); the notification message is triggered when the ONU detects a mismatch between the negotiation rate of the ONU's LAN port and the traffic rate of the ONU's PON port, and the notification message carries the current negotiation rate of the LAN port; according to the current negotiation rate of the LAN port carried in the notification message, schedule the transmission rate of the downlink service flow.

[0009] An embodiment of the present invention also provides an ONU, comprising:

[0010] The detection module is used to detect the traffic rate of the passive optical fiber network (PON) port or the negotiation rate of the local area network (LAN) port of the ONU in real time. The reporting module is used to report a notification message carrying the current negotiation rate of the LAN port to the optical line terminal (OLT) if the detected LAN port negotiation rate and PON port traffic rate do not match, so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message.

[0011] Embodiments of the present invention also provide an OLT, comprising:

[0012] The receiving module is used to receive notification messages reported by the Optical Network Unit (ONU). The notification message is triggered when the ONU detects a mismatch between the negotiation rate of the ONU's LAN port and the traffic rate of the ONU's PON port. The notification message carries the current negotiation rate of the LAN port. The scheduling module is used to schedule the transmission rate of the downlink service flow based on the current negotiation rate of the LAN port carried in the notification message.

[0013] Embodiments of the present invention also provide an electronic device, comprising:

[0014] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the aforementioned transmission rate control method of the ONU.

[0015] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described ONU transmission rate control method.

[0016] Compared with the prior art, the embodiments of the present invention perform real-time detection of the traffic rate of the PON port or the negotiation rate of the LAN port of the ONU. When a mismatch is detected between the negotiation rate of the LAN port and the traffic rate of the PON port, a notification message carrying the current negotiation rate of the LAN port is triggered to be reported to the optical line terminal (OLT). This allows the OLT to quickly grasp the situation of mismatch between the negotiation rate of the LAN port and the traffic rate of the PON port, and thus schedule the transmission rate of the downlink service flow to avoid the problem of user data loss. Attached Figure Description

[0017] One or more embodiments are illustrated by way of example with the corresponding pictures in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0018] Figure 1 This is a schematic diagram of the connection structure between the OLT and ONU according to an embodiment of the present invention;

[0019] Figure 2 This is a flowchart of a transmission rate control method applied to an ONU according to an embodiment of the present invention;

[0020] Figure 3 This is a flowchart of a transmission rate control method applied to an OLT according to an embodiment of the present invention;

[0021] Figure 4 This is a schematic diagram of the structure of an ONU according to an embodiment of the present invention;

[0022] Figure 5 This is a schematic diagram of the structure of an OLT according to an embodiment of the present invention;

[0023] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been presented in the various embodiments of the present invention to enable the reader to better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments.

[0025] The ONU is used to selectively receive broadcast data sent by the optical line terminal (OLT). If it needs to receive the data, it responds to the OLT. It also collects and buffers Ethernet data that the user needs to send, and sends the buffered data to the OLT according to the allocated transmission window. The connection structure between the OLT and ONU is as follows: Figure 1 As shown, the ONU connects to the OLT via an Optical Distribution Network (ODN). The OLT is equivalent to a switch or router in a traditional communication network, and also serves as a multi-service platform, providing fiber optic interfaces for user-facing passive optical networks. The ONU is the user-end device in the optical network, located at the user end, and works in conjunction with the OLT to provide voice, data, and multimedia services to the user.

[0026] As PON technology continues to develop and PON speeds increase—from GPON to XG / XGSPON, NGPON2, and then to 50G PON and 100G PON—the negotiation rates of ONU LAN ports mostly remain at 1GE or 10GE. This results in downlink speeds in high-speed PON systems being significantly higher than the negotiation rates of the ONU LAN ports. For example, with a 50G PON OLT connected to a 50G PON ONU, the LAN ports of the 50G PON ONU may be entirely GE ports, or a combination of GE and 10GE ports. However, the negotiation rates of either the GE or 10GE LAN ports cannot match the speeds of the PON ports. This can cause the downlink data transmission of the PON ports to exceed the receiving capacity of the ONU LAN ports, leading to data loss for users. Therefore, in embodiments of the present invention, the traffic rate of the PON port or the negotiation rate of the LAN port of the ONU is detected in real time; if the negotiation rate of the LAN port is detected to be mismatched with the traffic rate of the PON port, a notification message carrying the current negotiation rate of the LAN port is reported to the OLT, so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message, so as to avoid the problem of user data loss that may occur when sending downlink data due to the mismatch between the negotiation rate of the ONU LAN port and the rate of the PON port.

[0027] One embodiment of the present invention relates to a transmission rate control method for an ONU, applied to an ONU, the specific process of which is as follows: Figure 2 As shown. In this embodiment, the downlink service flow of the ONU is normal, but due to a change in the negotiation rate of the ONU LAN port, the downlink service flow rate is greater than the LAN port rate. At this time, the ONU actively reports the change in the negotiation rate of the ONU LAN port to the OLT, and the OLT optimizes the scheduling of downlink services after receiving the report. The following section... Figure 2The process will be explained in detail below:

[0028] Step 201: The ONU performs real-time detection of the traffic rate of the PON port or the negotiation rate of the LAN port. In this embodiment, the ONU is in normal online operation and receives downlink service traffic normally. This step mainly focuses on real-time detection of the negotiation rate of the LAN port.

[0029] Step 202: Based on the detection results, the ONU checks the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port. In one example, due to manual forced negotiation or auto-negotiation of the ONU LAN port, the negotiation rate will change. When the negotiation rate of the ONU LAN port changes, it may cause the PON port rate to be greater than the negotiation rate of the ONU LAN port. This means that the downlink data transmitted by the PON port exceeds the receiving capacity of the ONU LAN port, which may lead to the loss of user data. This rate mismatch needs to be handled. Therefore, in this step, after detecting a change in the negotiation rate of the LAN port, the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is checked.

[0030] In one example, the negotiation rate of the ONU's LAN port is monitored in real time. If a change in the LAN port's negotiation rate is detected, and the changed negotiation rate is lower than the original negotiation rate, a matching test between the LAN port's negotiation rate and the PON port's traffic rate is triggered. Since a decrease in the LAN port's negotiation rate is more likely to cause user data loss under normal downlink traffic conditions, determining that the change in the LAN port's negotiation rate is from high to low before triggering the matching test avoids unnecessary matching checks and improves system efficiency.

[0031] Step 203: If a mismatch is detected between the negotiated rate of the LAN port and the traffic rate of the PON port, a notification message carrying the current negotiated rate of the LAN port is reported to the OLT, so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message. In one example, the ONU reports the changes in the negotiated rate capability of the ONU LAN port to the OLT through the Optical Network Unit Management and Control Interface (OMCI).

[0032] Specifically, if the negotiation rate of the ONU LAN port changes, causing the downlink service flow rate to exceed the LAN port rate, the OMCI will proactively send a message to the OLT to report the change in the negotiation rate of the ONU LAN port. This allows the OLT to schedule the transmission rate of the downlink service flow based on the current negotiation rate of the LAN port carried in the notification message, thereby preventing the loss of user data.

[0033] In another example, it is not necessary to determine whether the negotiated rate after the change is lower than the negotiated rate before the change. As long as the negotiation rate of the LAN port is detected to have changed, the negotiation rate of the LAN port is reported to the OLT to notify the OLT that the rate supported by the LAN port of the ONU has changed, thereby increasing the downlink rate of the PON port.

[0034] In another example, if a mismatch is detected between the negotiated rate of the LAN port and the traffic rate of the PON port, a notification message carrying the current negotiated rate of the LAN port can be reported to the OLT via a Physical Layer Operations Administration and Maintenance (PLOAM) message.

[0035] Since both OMCI and PLOAM messages are mature information exchange mechanisms with the OLT, the ONU can choose to send notification messages via either the OMCI reporting mechanism or the PLOAM message. This ensures that the OLT can successfully receive the notification message carrying the current negotiated rate of the LAN port, thereby optimizing downlink service scheduling and ensuring that the downlink data transmitted through the PON port does not exceed the receiving capacity of the ONU's LAN port. Furthermore, the OLT in this embodiment can support GPON / XGPON / XGSPON / 50GPON, etc., which will not be listed here.

[0036] Another embodiment of the present invention relates to a transmission rate control method for an ONU, applied to an ONU. In this embodiment, the negotiation rate of the LAN port remains unchanged, but the downlink service flow rate of the OLT undergoes a sudden change. When the downlink service flow rate sent by the OLT PON port exceeds the negotiation rate of the ONU LAN port, the ONU detects that the rate exceeds the LAN port's capacity. The ONU proactively reports that this service flow rate is greater than the negotiation rate of the ONU LAN port and notifies the OLT to perform scheduling.

[0037] Specifically, in step 201, the ONU performs real-time detection of the flow rate of the PON port.

[0038] In step 202, the ONU detects the matching degree between the negotiated rate of the LAN port and the traffic rate of the PON port based on the detection results of the traffic rate of the PON port.

[0039] In one example, the traffic rate of the ONU's PON port is monitored in real time. If a change in the PON port traffic rate is detected, and the changed traffic rate is higher than the original rate, the matching degree between the LAN port's negotiated rate and the PON port's traffic rate is checked. Since a change in the ONU PON port's traffic rate may cause the PON port rate to exceed the ONU LAN port's negotiated rate, this means that the downlink data transmitted by the PON port exceeds the ONU LAN port's receiving capacity, potentially leading to user data loss. This rate mismatch needs to be addressed. Therefore, triggering a matching degree check between the LAN port's negotiated rate and the PON port's traffic rate when the PON port's traffic rate increases can prevent user data loss and avoid unnecessary matching checks, thus improving system efficiency.

[0040] In step 203, if it is detected that the downlink service flow rate of the OLT is greater than the negotiation rate of the ONU LAN port, that is, the negotiation rate of the LAN port does not match the traffic rate of the PON port, a notification message carrying the current negotiation rate of the LAN port is reported to the OLT, so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message.

[0041] In one example, the ONU can choose to report the negotiated rates supported by the LAN port to the OLT via the OMCI reporting mechanism, or it can choose to report the negotiated rates supported by the LAN port to the OLT via a PLOAM message. Upon receiving this notification message, the OLT can then optimize the scheduling of downlink bursts to ensure that the downlink data transmitted by the PON port does not exceed the receiving capacity of the ONU LAN port, thereby preventing user data loss.

[0042] Another embodiment of the present invention relates to a transmission rate control method for an ONU, which utilizes an OLT, and the specific process is as follows: Figure 3 As shown.

[0043] Step 301: The OLT receives a notification message reported by the ONU; the notification message is triggered when the ONU detects a mismatch between the negotiated rate of its LAN port and the traffic rate of its PON port, and carries the current negotiated rate of the LAN port. After receiving the notification message, the OLT saves the negotiated rate supported by the ONU's LAN port from the notification message.

[0044] In one example, the OLT receives a message from the ONU reporting a change in the negotiated rate of the ONU LAN port via the OMCI, and saves the information after obtaining the negotiated rate supported by the ONU LAN port.

[0045] In another example, the OLT receives a message from the ONU reporting a change in the negotiated rate of the ONU LAN port via a PLOAM message, and saves the information after obtaining the negotiated rate supported by the ONU LAN port.

[0046] Step 302: The OLT schedules the data transmission based on the speed capabilities supported by the ONU LAN port.

[0047] In one example, after receiving the negotiated rate information supported by the ONU LAN port, the OLT optimizes the scheduling of downlink bursts to ensure that the downlink data transmitted by the PON port does not exceed the receiving capacity of the ONU LAN port.

[0048] In this embodiment, after receiving a notification message carrying the LAN port negotiation rate of the ONU, the OLT schedules the transmission rate of the downlink service flow according to the negotiation rate of the ONU's LAN port to avoid the problem of user data loss.

[0049] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.

[0050] One embodiment of the present invention relates to an ONU, such as Figure 4 As shown, it includes:

[0051] The detection module 401 is used to detect the flow rate of the PON port or the negotiation rate of the LAN port of the ONU in real time.

[0052] The reporting module 402 is used to report a notification message carrying the current negotiated rate of the LAN port to the OLT if it detects that the negotiated rate of the LAN port does not match the traffic rate of the PON port, so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message.

[0053] In one example, the reporting module 402 reports a notification message to the OLT via OMCI; or, it reports a notification message to the OLT via PLOAM message.

[0054] In one example, the detection module 401 performs real-time detection on the negotiation rate of the LAN port of the ONU. If it detects that the negotiation rate of the LAN port has changed and the changed negotiation rate is lower than the original negotiation rate, it then detects the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port.

[0055] In another example, the detection module 401 performs real-time detection of the traffic rate of the PON port of the ONU. If it detects that the traffic rate of the PON port has changed and the changed traffic rate is higher than the original traffic rate, it detects the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port.

[0056] Compared with related technologies, the ONU provided in this embodiment, when it detects a mismatch between the negotiation rate of the LAN port and the traffic rate of the PON port, triggers a notification message carrying the current negotiation rate of the LAN port to the optical line terminal (OLT). This allows the OLT to quickly grasp the mismatch between the negotiation rate of the LAN port and the traffic rate of the PON port, and thus schedule the transmission rate of the downlink service flow to avoid the problem of user data loss.

[0057] One embodiment of the present invention relates to an OLT, such as Figure 5 As shown, it includes:

[0058] The receiving module 501 is used to receive a notification message reported by the ONU; wherein the notification message is triggered to be reported after the ONU detects that the negotiation rate of the ONU's LAN port does not match the traffic rate of the ONU's passive optical network PON port, and the notification message carries the current negotiation rate of the LAN port.

[0059] The scheduling module 502 is used to schedule the transmission rate of downlink service flows based on the current negotiated rate of the LAN port carried in the notification message.

[0060] In one example, the receiving module 501 receives the notification message reported by the ONU through the Optical Network Unit Management and Control Interface (OMCI); or, it receives the notification message reported by the ONU through the Physical Layer Operation Management and Maintenance (PLOAM) message. After receiving the negotiated rate information supported by the ONU LAN port, the downlink burst is scheduled and optimized to ensure that the downlink data transmitted by the PON port does not exceed the receiving capacity of the ONU LAN port.

[0061] Compared with related technologies, the OLT provided in this embodiment, after receiving a notification message carrying the LAN port negotiation rate of the ONU, schedules the transmission rate of the downlink service flow according to the negotiation rate of the ONU's LAN port, thus avoiding the problem of user data loss.

[0062] It is worth mentioning that all modules involved in the above two embodiments of the present invention are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention; however, this does not mean that other units are absent from this embodiment.

[0063] Embodiments of the present invention also provide an electronic device, such as... Figure 6 As shown, it includes at least one processor 601; and a memory 602 communicatively connected to the at least one processor 601; wherein the memory 602 stores instructions executable by the at least one processor 601, the instructions being executed by the at least one processor 601 to enable the at least one processor to perform the above-described transmission method for PHR applied to a base station, or to perform the above-described transmission rate control method applied to an ONU or OLT.

[0064] The memory and processor are connected via a bus, which can include any number of interconnecting buses and bridges, connecting various circuits of one or more processors and memories. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over the wireless medium via an antenna, which further receives data and transmits it to the processor.

[0065] The processor manages the bus and general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory is used to store data used by the processor during operation.

[0066] The above-mentioned products can perform the methods provided in the embodiments of this application, and have the corresponding functional modules and beneficial effects of performing the methods. For technical details not described in detail in this embodiment, please refer to the methods provided in the embodiments of this application.

[0067] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the above-described method embodiments.

[0068] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0069] The above embodiments are provided for those skilled in the art to implement and use the present invention. Those skilled in the art can make various modifications or changes to the above embodiments without departing from the inventive concept of the present invention. Therefore, the protection scope of the present invention is not limited to the above embodiments, but should conform to the maximum scope of the innovative features mentioned in the claims.

Claims

1. A method for controlling the transmission rate of an ONU, characterized in that, Applications in Optical Network Units (ONUs) include: The traffic rate of the passive optical fiber network (PON) port or the negotiation rate of the local area network (LAN) port of the ONU is detected in real time. If it is detected that the negotiation rate of the LAN port does not match the traffic rate of the PON port, a notification message carrying the current negotiation rate of the LAN port is reported to the optical line terminal (OLT), so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message. The real-time detection of the traffic rate of the passive optical network (PON) port or the negotiated rate of the local area network (LAN) port of the ONU includes: The negotiation rate of the ONU's LAN port is monitored in real time. If a change in the LAN port's negotiation rate is detected, and the changed negotiation rate is lower than the original negotiation rate, then the matching degree between the LAN port's negotiation rate and the PON port's traffic rate is checked; or The flow rate of the PON port of the ONU is monitored in real time. If a change in the flow rate of the PON port is detected, and the changed flow rate is higher than the original flow rate, the matching degree between the negotiation rate of the LAN port and the flow rate of the PON port is detected.

2. The ONU transmission rate control method according to claim 1, characterized in that, The notification message reported to the optical line terminal (OLT) carrying the current negotiated rate of the LAN port includes: The notification message is reported to the OLT via the Optical Network Unit Management and Control Interface (OMCI); or... The notification message is reported to the OLT through the physical layer operation management and maintenance PLOAM message.

3. A method for controlling the transmission rate of an ONU, characterized in that, Applications in optical line terminals (OLTs) include: The system receives a notification message reported by an Optical Network Unit (ONU). This notification message is triggered after the ONU detects a mismatch between the negotiation rate of its LAN port and the traffic rate of its PON port. The notification message carries the current negotiation rate of the LAN port. The ONU performs real-time monitoring of the traffic rate of its PON port or the negotiation rate of its LAN port, including: real-time monitoring of the negotiation rate of its LAN port; if a change in the negotiation rate is detected, and the changed negotiation rate is lower than the original negotiation rate, then the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is detected; or real-time monitoring of the traffic rate of its PON port; if a change in the traffic rate of the PON port is detected, and the changed traffic rate is higher than the original traffic rate, then the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is detected. The transmission rate of the downlink service flow is scheduled based on the current negotiated rate of the LAN port carried in the notification message.

4. The ONU transmission rate control method according to claim 3, characterized in that, The notification message reported by the received optical network unit (ONU) includes: Receive the notification message reported by the ONU through the Optical Network Unit Management and Control Interface (OMCI); or, Receive the notification message reported by the ONU through the physical layer operation management and maintenance PLOAM message.

5. An ONU, characterized in that, include: The detection module is used to detect the traffic rate of the passive optical fiber network PON port or the negotiation rate of the local area network LAN port of the ONU in real time. The reporting module is used to report a notification message carrying the current negotiation rate of the LAN port to the optical line terminal (OLT) if it is detected that the negotiation rate of the LAN port does not match the traffic rate of the PON port, so that the OLT can schedule the transmission rate of the downlink service flow according to the notification message. The detection module performs real-time detection on the negotiation rate of the ONU's LAN port. If a change in the negotiation rate of the LAN port is detected, and the changed negotiation rate is lower than the original negotiation rate, then the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is detected; or, the module performs real-time detection on the traffic rate of the ONU's PON port. If a change in the traffic rate of the PON port is detected, and the changed traffic rate is higher than the original traffic rate, then the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is detected.

6. An OLT, characterized in that, include: A receiving module is used to receive notification messages reported by an Optical Network Unit (ONU). The notification message is triggered by the ONU detecting a mismatch between the negotiation rate of its LAN port and the traffic rate of its PON port. The notification message carries the current negotiation rate of the LAN port. The ONU performs real-time detection of the traffic rate of its PON port or the negotiation rate of its LAN port, including: the ONU detecting the negotiation rate of its LAN port in real time; if a change in the negotiation rate of the LAN port is detected, and the changed negotiation rate is lower than the original negotiation rate, then the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is detected; or the ONU detecting the traffic rate of its PON port in real time; if a change in the traffic rate of the PON port is detected, and the changed traffic rate is higher than the original traffic rate, then the matching degree between the negotiation rate of the LAN port and the traffic rate of the PON port is detected. The scheduling module is used to schedule the transmission rate of downlink service flows based on the current negotiated rate of the LAN port carried in the notification message.

7. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform the transmission rate control method of the ONU as described in claim 1 or 2; or enable the at least one processor to perform the transmission rate control method of the ONU as described in claim 3 or 4.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the ONU transmission rate control method according to claim 1 or 2; or, it implements the ONU transmission rate control method according to claim 3 or 4.