Power distribution method and device, equipment and storage medium

By using dynamic power request and notification messages between optical network units and optical network converged switches, the problem of controlling multiple PSE chips in passive optical networks is solved, realizing the passive nature and flexible power allocation of passive optoelectronic splitters, and improving power allocation efficiency and network resource utilization.

CN122054014APending Publication Date: 2026-05-15RUIJIE NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
RUIJIE NETWORKS CO LTD
Filing Date
2024-11-14
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In passive optical networks, traditional power distribution methods require multiple PSE chips to control PD chips, which makes passive devices no longer passive, making it difficult to achieve flexible power distribution and affecting user experience.

Method used

The optical network unit sends a power request, and the optical network converged switch sends a notification message based on the actual value of the allocable power to dynamically adjust the power allocation, thereby avoiding powering the passive optoelectronic splitter and realizing the true passivity of the passive optoelectronic splitter.

Benefits of technology

It improves power allocation efficiency, ensuring that optical network units can continue to operate under power constraints, thereby improving network resource utilization and enabling flexible power allocation and precise power requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122054014A_ABST
    Figure CN122054014A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of communication, in particular to a power allocation method and device, equipment and a storage medium, the method comprising: receiving a first power request from a first optical network unit, the first power request being used for requesting a first power, the first power being a power corresponding to a target working mode of the first optical network unit; and sending a first notification message to the first optical network unit, the first notification message indicating whether to agree the first optical network unit to adopt the first power, the first notification message being determined according to the actual value of the distributable power and the first power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to power distribution methods, apparatus, devices and storage media. Background Technology

[0002] In modern communication networks, power management of Ethernet optical networks is one of the key factors ensuring stable network operation. In traditional networks, Power Over Ethernet (PoE) technology uses Power Sourcing Equipment (PSE) chips and Power Device (PD) chips to control power supply. PSE chips are typically used in PoE switches for power control, while PD chips are generally found in optical access points (APs) or other powered devices. Figure 1 As shown, in order to achieve power control, each port in a PoE switch has a PSE chip, and each PSE chip corresponds to a PD chip, which is used to control the corresponding PD chip.

[0003] Furthermore, in traditional passive optical network (PON) technology, passive devices replace PoE switches to reduce reliance on active devices. Passive devices often employ a microcontroller unit (MCU) combined with a power supply interface (PSE) chip for power control, such as... Figure 2 As shown, since the PSE chip and PD chip are controlled one-to-one, multiple PSE chips are still needed to control the corresponding PD chips in order to control the powered device. The MCU is responsible for controlling multiple PSE chips, and the PSE chips supply power to the powered device where the corresponding PD chip is located according to the instructions of the MCU. However, in the above scenario, it is necessary to supply power to the passive device, which means that the passive device is no longer passive. Summary of the Invention

[0004] This application provides a power distribution method, apparatus, device, and storage medium that enables flexible power distribution.

[0005] In a first aspect, embodiments of this application provide a power allocation method, the method comprising:

[0006] Receive a first power request from a first optical network unit, the first power request being used to request a first power, the first power being the power corresponding to the target operating mode of the first optical network unit;

[0007] A first notification message is sent to the first optical network unit. The first notification message indicates whether the first optical network unit is allowed to use the first power. The first notification message is determined based on the actual value of the allocable power and the first power.

[0008] In this embodiment, when a power request is received from any optical network unit, it can be determined whether to allocate the requested power to the optical network unit based on the actual value of the currently allocable power, and the result of the request can be notified to the optical network unit by sending a first notification message. This improves the power allocation efficiency and eliminates the need to supply power to the passive optoelectronic splitter, thus realizing the true passivity of the passive optoelectronic splitter.

[0009] In one possible embodiment, the actual value of the allocatable power is less than or equal to the maximum value of the allocatable power;

[0010] Before receiving the first power request from the first optical network unit, the process also includes:

[0011] Obtain the maximum value of the allocatable power; wherein the maximum value of the allocatable power is determined based on the rated power supply and power loss of the power module, the power loss is determined based on the transmission path between the power module and one or more optical network units, and the first optical network unit is any one of the one or more optical network units.

[0012] In one possible embodiment, the maximum value of the allocatable power is determined based on the rated power of the power module, the power loss, and the initial power corresponding to the one or more optical network units.

[0013] In one possible embodiment, if the actual value of the allocatable power is greater than or equal to the first power, the first notification message indicates agreement to the first optical network unit using the first power; if the actual value of the allocatable power is less than the first power, the first notification message indicates disagreement with the first optical network unit using the first power.

[0014] In this embodiment, by sending a first notification message to the first optical network unit, the first optical network unit can promptly understand the power request result based on the first notification message, or can promptly adjust its working mode and resend the power request.

[0015] In one possible embodiment, if the actual value of the allocatable power is less than the first power, the first notification message further instructs the first optical network unit to use a second power, wherein the second power is less than the first power.

[0016] In this embodiment, when the first power is greater than the actual value of the allocable power, the optical network convergence switch can allocate the second power to the optical network unit, ensuring that the optical network unit can continue to work even under power constraints, although it may not be in its expected target working mode, but the utilization of network resources can be improved.

[0017] In one possible embodiment, before sending the first notification message to the first optical network unit, the method further includes:

[0018] If the actual value of the allocable power is less than the first power, a power reclamation request is sent to the second optical network unit. The power reclamation request is used to request the second optical network unit to reduce the power used by a first value, which is determined based on the difference between the first power and the actual value of the allocable power.

[0019] Receive a power recovery response, the power recovery response indicating an agreed-upon power reduction of the first value;

[0020] The actual value of the allocable power is updated based on the power recovery response, and the updated actual value of the allocable power is greater than or equal to the first power.

[0021] Sending a first notification message to the first optical network unit, including:

[0022] The first notification message is sent to the first optical network unit, indicating that the first optical network unit is authorized to use the first power.

[0023] In this embodiment, the optical network converged switch can dynamically adjust power allocation and recover power from other optical network units that have already allocated power, so that the first optical network unit can obtain the required power, further improving the efficiency of power allocation.

[0024] In one possible embodiment, when the first notification message indicates agreement to the first optical network unit using the first power, the method further includes:

[0025] The actual value of the allocable power is updated based on the first power, and the difference between the actual value of the allocable power before the update and the actual value of the allocable power after the update is the first power.

[0026] In one possible embodiment, when the first notification message indicates disagreement with the first optical network unit using the first power, the method further includes:

[0027] Send indication information to the first optical network unit, the indication information indicating the actual value of the allocatable power.

[0028] In one possible embodiment, the method further includes:

[0029] After sending the indication information, a second power request is received from the first optical network unit. The second power request is used to request a third power. The actual value of the allocatable power is greater than or equal to the third power. The operating mode corresponding to the third power is different from the operating mode corresponding to the first power.

[0030] A second notification message is sent to the first optical network unit, indicating that the first optical network unit is authorized to use the third power.

[0031] In this embodiment, the optical network converged switch promptly notifies the first optical network unit of the actual value of the allocable power, enabling the optical network unit to understand the latest actual value of the current allocable power in real time. As a result, the first optical network unit adjusts its requested power according to the power required in different operating modes and the actual value of the current allocable power, making a more reasonable power request and making power allocation more accurate and flexible.

[0032] In one possible embodiment, prior to receiving the first power request from the first optical network unit, the method further includes:

[0033] Receive a power query request from the first optical network unit, the power query request being used to request the actual value of the allocatable power;

[0034] A power query response is sent to the first optical network unit, the power query response indicating the actual value of the allocatable power.

[0035] In this embodiment, before sending the first power request, the first optical network unit can first perform a power query with the optical network converged switch. The optical network converged switch can respond to the power query request of the first optical network unit in a timely manner and notify the actual value of the allocable power, ensuring that the first optical network unit can reasonably request power based on the actual value of the allocable power.

[0036] In one possible embodiment, the method further includes:

[0037] A power reserve notification message is sent at preset intervals, the power reserve notification message indicating the actual value of the allocable power.

[0038] In this embodiment, the optical network unit can understand the actual value of the currently allocable power in real time based on the power margin notification message, and send a more reasonable power request.

[0039] Secondly, this application provides a power allocation method, which is applied to a first optical network unit, and the method includes:

[0040] Send a first power request, wherein the first power request is used to request a first power, and the first power is the power corresponding to the target operating mode of the first optical network unit;

[0041] Receive a first notification message, which indicates whether to agree to the first optical network unit using the first power.

[0042] In this embodiment of the application, the first optical network unit can request the power corresponding to the target operating mode from the optical network converged switch according to the desired target operating mode, so that the first optical network unit can accurately obtain the power in the target operating mode.

[0043] In one possible embodiment, before sending the first power request, the method further includes: the first optical network unit is activated and operates in an initial mode, the power required by the initial mode being the minimum power required by the first optical network unit to send the first power request.

[0044] In this embodiment, the first optical network unit starts operating in an initial mode. The power required in the initial mode is only used to ensure that the first optical network unit can complete basic operational requirements and ensure that it can send a first power request.

[0045] In one possible embodiment, sending the first power request includes: sending the first power request when the operating mode of the first optical network unit needs to be switched to the target operating mode.

[0046] In one possible embodiment, sending a first power request includes: sending the first power request when the first power is greater than the initial power.

[0047] In one possible embodiment, when the first notification message indicates disagreement with the first optical network unit using the first power, the method further includes: when the first notification message also indicates that the first optical network unit uses the second power, the first optical network unit uses the second power.

[0048] In one possible embodiment, when the first notification message indicates disagreement with the first optical network unit using the first power, the method further includes: receiving indication information indicating an actual value of the allocable power.

[0049] In one possible embodiment, the method further includes: determining a second power request based on the actual value of the allocable power, wherein the second power request is used to request a third power, the actual value of the allocable power being greater than or equal to the third power, and the operating mode corresponding to the third power being different from the operating mode corresponding to the first power; sending the second power request; and receiving a second notification message indicating agreement to the first optical network unit using the third power.

[0050] In one possible embodiment, before sending the first power request, a power query request is sent, wherein the power query request is used to request a query for the actual value of the allocatable power; and a power query response is received, the power query response indicating the actual value of the allocatable power.

[0051] In one possible embodiment, the method further includes: receiving a power margin notification message at preset intervals, the power margin notification message indicating the actual value of allocable power.

[0052] In one possible embodiment, before sending the first power request, the method further includes: determining the operating mode requested by the first optical network unit based on the actual value of the allocable power; wherein the power corresponding to the operating mode requested by the first optical network unit is the first power, and the first power is less than or equal to the actual value of the allocable power.

[0053] In this embodiment, the first optical network unit can know the latest actual value of the allocable power in real time based on the actual value of the allocable power, and thus dynamically adjust the requested power according to the power required in different working modes and the current actual value of the allocable power, effectively improving the success rate of the first optical network unit requesting power.

[0054] Thirdly, embodiments of this application also provide a power distribution device, the device including a transceiver unit and a processing unit, the processing unit controlling the operation of the transceiver unit;

[0055] The transceiver unit is configured to receive a first power request from a first optical network unit, the first power request being for requesting a first power, the first power being the power corresponding to the operating mode requested by the first optical network unit; the transceiver unit is further configured to send a first notification message to the first optical network unit, the first notification message indicating whether to agree to the first optical network unit using the first power, the first notification message being determined based on the actual value of the allocable power and the first power.

[0056] Fourthly, embodiments of this application also provide a power distribution device, the device including a transceiver unit and a processing unit, the processing unit controlling the operation of the transceiver unit;

[0057] The transceiver unit is configured to send a first power request, wherein the first power request is used to request a first power, and the first power is the power corresponding to the operating mode requested by the first optical network unit; the transceiver unit is further configured to receive a first notification message, wherein the first notification message indicates whether it agrees to allow the first optical network unit to use the first power.

[0058] Fifthly, this application provides a power distribution device, comprising:

[0059] Memory, used to store program instructions;

[0060] A processor is configured to invoke program instructions stored in the memory and execute the steps of the method described in any one of the first aspects according to the obtained program instructions.

[0061] In a sixth aspect, this application provides a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a computer, cause the computer to perform the method described in any one of the first aspects.

[0062] In a seventh aspect, this application provides a computer program product comprising: computer program code, which, when run on a computer, causes the computer to perform the method described in any one of the first aspects.

[0063] Eighthly, this application provides a communication system comprising an optical network converged switch and at least one optical network unit, wherein the optical network converged switch is configured to perform the method described in any one of the first aspects, and the optical network unit is configured to perform the method described in any one of the second aspects. Attached Figure Description

[0064] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0065] Figure 1 This is a schematic diagram of the structure of a traditional technology;

[0066] Figure 2 This is a schematic diagram of the structure of another traditional technology;

[0067] Figure 3A This application provides a schematic diagram of a parallel networking scenario. Figure 1 ;

[0068] Figure 3B This application provides a schematic diagram of a serial networking scenario. Figure 2 ;

[0069] Figure 4 A flowchart of a power allocation method provided in this application embodiment Figure 1 ;

[0070] Figure 5 A flowchart of a power allocation method provided in this application embodiment Figure 2 ;

[0071] Figure 6 Flowchart 3 of a power allocation method provided in an embodiment of this application;

[0072] Figure 7 Schematic diagram of the power distribution device provided in the embodiments of this application Figure 1 ;

[0073] Figure 8 Schematic diagram of the power distribution device provided in the embodiments of this application Figure 2 . Detailed Implementation

[0074] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0075] To facilitate understanding, the following describes the possible networking architectures of optical networks:

[0076] A parallel networking architecture may include a converged optical network switch, a passive optoelectronic splitter, and multiple powered devices. The optical signal transmitted via fiber optic cable from the converged optical network switch is first sent to the passive optoelectronic splitter, which then distributes the received optical signal to each powered device. One passive optoelectronic splitter can connect multiple powered devices. For example... Figure 3AAs shown, the powered equipment can be an optical access point (AP) or an optical network unit (ONU), etc. For example, an optical network converged switch can be deployed in the building's low-voltage room, a passive optoelectronic splitter can be deployed in the low-voltage room on each floor, and the powered equipment can be deployed in each room on each floor.

[0077] A serial networking architecture may include a converged optical network switch, a master passive optical splitter, multiple slave passive optical splitters, and multiple powered devices. The optical signal transmitted by the converged optical network switch via optical fiber is first sent to the master passive optical splitter. The master passive optical splitter transmits the received optical signal to a connected slave passive optical splitter. This slave passive optical splitter transmits a portion of the optical signal to its connected powered device and the remaining optical signal to its connected slave passive optical splitter, and so on. One slave passive optical splitter may correspond to one powered device or multiple powered devices; this application does not limit this. Figure 3B As shown, the powered device can be an optical AP or ONU, etc. For example, an optical network converged switch can be deployed in the building's low-voltage room, the main passive optical splitter can be deployed in the low-voltage room on each floor, and each slave passive optical splitter and powered device can be deployed in each room on each floor.

[0078] For ease of understanding, the technical terms used in this application are explained below:

[0079] Power over Ethernet (PoE) is a technology that allows a network cable to supply power to devices while transmitting data signals. PoE technology is widely used in powering devices such as wireless access points and network printers, especially in environments where it is difficult to lay power cables or where flexible device deployment is required.

[0080] PSE: Also known as a power supply device, it is the power supply device in a PoE system. Before supplying power, the PSE will detect whether the connected device is the corresponding PD and then decide whether to supply power.

[0081] PD: Also known as a power receiving device, it is a device in a PoE system that requires power.

[0082] Optical Network Unit (ONU): This is a device deployed at the user end. It is a terminal device for fiber optic access and can be used in conjunction with an Optical Line Terminal (OLT). It has optical-to-electrical conversion and electrical-to-optical conversion functions.

[0083] Optical network converged switch: also known as a core switch, it can be deployed in the service provider's central computer room. It is responsible for transmitting data through optical fiber to user terminals distributed in different locations. It is also responsible for aggregating and transmitting data from user terminals to the service provider's network. Optical network converged switch can also be replaced by OLT.

[0084] Passive optical splitter: It is usually used to connect optical network converged switches and ONUs. Its main function is to split one optical signal from the optical network converged switch into multiple optical signals and transmit them to multiple ONUs respectively.

[0085] In power control technology, the traditional Ethernet PoE method requires a PSE chip on each network port to provide one-to-one power supply control to the connected PD chip. In addition, although the method of combining MCU and PSE chip uses passive devices to replace traditional switches and reduces the dependence on active devices, in order to control the powered devices, the MCU still needs to be combined with multiple PSE chips to control the PD chip separately. This makes the passive devices no longer passive, makes it difficult to achieve flexible power distribution, and affects the user experience.

[0086] Based on the above issues, such as Figure 4 As shown in the embodiment of this application, a power allocation method is provided. The method is applied to a first optical network unit, and the method specifically includes:

[0087] Step 400: The first optical network unit sends a first power request, wherein the first power request is used to request a first power, the first power is the power corresponding to the target operating mode of the first optical network unit, and the first optical network unit is any one of one or more optical network units.

[0088] Before the first optical network unit sends the first power request, the first optical network unit starts up and operates in the initial mode. The power required for the initial mode is the minimum power required for the first optical network unit to send the first power request.

[0089] In one embodiment, when the first optical network unit is started, it operates in an initial mode. The power required in the initial mode is the minimum power required for the first optical network unit to send a first power request. For example, the power required in the initial mode can guarantee the basic operating requirements and communication functions of the first optical network unit. For instance, the central processing unit (CPU) and memory (Double Data Rate, DDR) operate in a low-frequency mode. Other high-power components are not started, such as wired ports connected to the computer and radio frequency modules.

[0090] The first optical network unit can directly obtain the power required for the initial mode, because the initial mode does not start other high-power components. The power required for the initial mode is only used to ensure that the first optical network unit can complete the basic operating requirements and ensure that it can send the first power request.

[0091] The first optical network unit can also be pre-configured with the power required for different operating modes, so as to request the power required for different operating modes. For example, the different operating modes include, but are not limited to, the following:

[0092] Lowest power mode: This mode is similar to the initial mode. Please refer to the relevant content of the initial mode above for details.

[0093] Low power mode: This is an energy-saving mode suitable for scenarios with low data transmission. In this mode, wired ports and RF modules connected to the computer will be enabled, while the CPU and DDR will operate in low-frequency mode. In addition, port speed will be limited and high wireless speed (Modulation and Coding Scheme, MCS) will be disabled.

[0094] High power mode: Suitable for scenarios with high network performance requirements, such as high-definition video and large data transmission. In this mode, wired ports and RF modules connected to the computer will be enabled to support high bandwidth and high throughput applications. In addition, there are no restrictions on the operating mode of the CPU and DDR.

[0095] In one embodiment, before sending a first power request to the optical network converged switch, the first optical network unit may first send a power query request to the optical network converged switch, wherein the power query request is used to request the actual value of the allocable power; the first optical network unit receives a power query response from the optical network converged switch, the power query response indicating the actual value of the allocable power, and the first optical network unit can determine the operating mode to be adopted (i.e., the target operating mode) based on the actual value of the allocable power, wherein the power corresponding to the operating mode to be adopted by the first optical network unit is a first power, and the first power is less than or equal to the actual value of the allocable power.

[0096] Furthermore, when the first optical network unit determines that it needs to switch to the target operating mode, the first optical network unit sends a first power request to the optical network converged switch, wherein the first power request is used to request a first power, and the first power is the power corresponding to the target operating mode of the first optical network unit.

[0097] In one embodiment, at preset intervals, one or more optical network units may receive a power headroom notification message from the optical network converged switch. The power headroom notification message indicates the actual value of the allocatable power. The first optical network unit can determine the requested operating mode (i.e., the target operating mode) based on the actual value of the allocatable power in the power headroom notification message, and send a first power request to the optical network converged switch, wherein the first power is less than or equal to the actual value of the allocatable power.

[0098] For example, every five minutes, the first optical network unit receives a power margin notification message. In this embodiment of the application, the specific transmission time interval is not limited. The power margin notification message indicates the actual value of the power that the optical network converged switch can currently allocate. After receiving the notification message, the first optical network unit can send a first power request to the optical network converged switch according to the power required in the requested working mode and the actual value of the currently available power.

[0099] Step 410: The first optical network unit receives a first notification message from the optical network convergence switch, the first notification message indicating whether the first optical network unit agrees to use the first power.

[0100] After the first optical network unit sends the first power request to the optical network convergence switch, two scenarios are possible:

[0101] First, the first optical network unit receives a first notification message from the optical network convergence switch, which indicates that the first optical network unit agrees to use the first power.

[0102] Furthermore, the first optical network unit receives the notification message, obtains the first power from the power module, and operates in the target operating mode corresponding to the first power.

[0103] Second, the first optical network unit receives a first notification message from the optical network convergence switch, which indicates that it does not agree to the first optical network unit using the first power.

[0104] In one possible implementation, the first optical network unit receives a first notification message from the optical network convergence switch. When the first notification message indicates disagreement with the first optical network unit using the first power, the first notification message may also instruct the first optical network unit to use the second power, and the first optical network unit uses the second power.

[0105] Furthermore, upon receiving the first notification message, the first optical network unit obtains the second power from the power module, and the first optical network unit operates in the working mode corresponding to the second power.

[0106] In one possible implementation, the first optical network unit receives a first notification message from the optical network convergence switch. When the first notification message indicates disagreement with the first optical network unit using the first power, the first notification message may further include indication information indicating the actual value of the allocable power. Alternatively, when the first notification message indicates disagreement with the first optical network unit using the first power, the first notification message and the information indicating the actual value of the allocable power (i.e., the indication information) may be sent separately.

[0107] In one embodiment, the first optical network unit receives a first notification message from the optical network converged switch, and redetermines the operating mode and required power according to the actual value of the allocatable power indicated by the indication information, and sends a second power request to the optical network converged switch. The second power request is used to request a third power, the requested third power is less than or equal to the actual value of the allocatable power, and the operating mode corresponding to the third power is different from the operating mode corresponding to the first power.

[0108] Furthermore, the first optical network unit receives a second notification message from the optical network convergence switch, indicating that the first optical network unit is authorized to use a third power. The first optical network unit receives the second notification message and obtains the third power allocated by the optical network convergence switch, i.e., it operates in the working mode corresponding to the third power.

[0109] It is known that the first optical network unit can send multiple power requests to the optical network converged switch. These multiple power requests can request different power levels, which can improve the success rate of the first optical network unit's power request and enable flexible power allocation.

[0110] like Figure 5 As shown, this application provides a power allocation method, which specifically includes:

[0111] Step 500: The optical network converged switch receives a first power request from the first optical network unit. The first power request is used to request a first power, which is the power corresponding to the target operating mode of the first optical network unit. The first optical network unit is any one of one or more optical network units.

[0112] Before receiving the first power request from the first optical network unit, the optical network converged switch first obtains the maximum allocatable power. The maximum allocatable power is determined based on the rated power and power loss of the power supply module, with the power loss determined based on the transmission path between the power supply module and one or more optical network units.

[0113] The power module is used to supply power to one or more optical network units. The power module can be deployed in the low-voltage room on each floor or in the low-voltage room of the building. The specific deployment location of the power module is not limited in this application embodiment.

[0114] The maximum allocatable power of the optical network converged switch can be obtained by methods 1 and 2 as described below.

[0115] Method 1: The maximum allocatable power is determined based on the rated power and power loss of the power module. The power loss is determined based on the transmission path between the power module and one or more optical network units. The first optical network unit is any one of the one or more optical network units.

[0116] Power loss can be calculated based on the transmission path between the power module and the corresponding optical network unit. Power loss is the sum of the losses corresponding to each transmission path. The maximum allocatable power is the difference between the rated power supply power of the power module and the power loss.

[0117] Method 2: The maximum allocatable power is determined based on the rated power of the power module, power loss, and the initial power corresponding to one or more optical network units.

[0118] One or more optical network units (ONUs) will operate in an initial mode upon startup. This initial mode ensures the basic operational requirements and communication functions of the ONUs. In this mode, the ONUs' CPU, DDR, and other components operate at low frequencies. Other high-power-consuming components, such as wired ports connected to the computer and RF modules, will not be started. The maximum allocatable power can be the difference between the rated power supply of the power module, its power loss, and the initial power corresponding to each ONU.

[0119] Taking Method 2 as an example, the following embodiment describes the specific process of obtaining the maximum value of allocable power.

[0120] In one embodiment, assuming a parallel networking scenario, combined with Figure 3A The diagram includes an optical network converged switch, a passive optical splitter, a power supply module, and three optical network units, namely ONU1, ONU2, and ONU3. Assuming the power supply module is deployed on the passive optical splitter and its rated power is 100W, determine the transmission paths between the three optical network units and the power supply module, i.e., determine the length of the thick lines. The transmission paths between the three optical network units and the power supply module are the transmission path between the power supply module and ONU1, the transmission path between the power supply module and ONU2, and the transmission path between the passive optical splitter and ONU3, respectively.

[0121] Furthermore, by calculating the losses corresponding to the three transmission paths, the power loss is the sum of the losses corresponding to the three transmission paths, for example, 30W. In addition, the initial power of ONU1, ONU2, and ONU3 is determined, for example, a total of 10W. The maximum allocatable power is obtained by subtracting the rated power from the power loss and the initial power of the three optical network units, for example, 100 - 30 - 10W = 60W. The operator can configure the maximum allocatable power to the optical network converged switch to 60W, meaning the optical network converged switch can allocate a maximum of 60W of power to each optical network unit (e.g., ONU1, ONU2, ONU3).

[0122] In one embodiment, assuming a serial networking scenario, combined with Figure 3B The diagram includes a converged optical network switch, a power module, a main passive optical splitter, three slave passive optical splitters, and three optical network units (ONUs). The power module is deployed on the main passive optical splitter. The three slave passive optical splitters are designated as Slave Passive Optical Splitter 1, Slave Passive Optical Splitter 2, and Slave Passive Optical Splitter 3. The three optical network units are designated as ONU1, ONU2, and ONU3. Assuming the rated power of the power module is 100W, determine the transmission paths between the three optical network units and the three slave passive optical splitters, as well as the transmission path between the power module and the three slave passive optical splitters; that is, determine the length of the thick lines. Figure 3B The transmission paths involved include: the transmission path between the power module and the passive optoelectronic splitter 1, the transmission path between the passive optoelectronic splitter 1 and the passive optoelectronic splitter 2, the transmission path between the passive optoelectronic splitter 2 and the passive optoelectronic splitter 3, the transmission path between the passive optoelectronic splitter 1 and ONU1, the transmission path between the passive optoelectronic splitter 2 and ONU2, and the transmission path between the passive optoelectronic splitter 3 and ONU3.

[0123] Furthermore, by calculating the losses corresponding to the six transmission paths, the power loss is the sum of the losses corresponding to the six transmission paths, for example, 40W. In addition, the initial power of ONU1, ONU2, and ONU3 is determined, for example, a total of 10W. The rated power supply is then subtracted from the power loss and the initial power of the three optical network units to obtain the maximum allocable power of 50W. The operator can configure the optical network converged switch to have a maximum allocable power of 50W, that is, the optical network converged switch can allocate a maximum total power of 50W to each optical network unit.

[0124] After acquiring the maximum allocatable power, the optical network converged switch begins receiving the first power request from the first optical network unit.

[0125] The first optical network unit can be any one of one or more optical network units; the following description uses only the first optical network unit as an example. The first power request is used to request first power.

[0126] In one embodiment, before receiving a first power request from a first optical network unit, the optical network converged switch first receives a power query request from the first optical network unit. The power query request is used to request a query of the actual value of the allocatable power. The optical network converged switch then sends a power query response to the first optical network unit, which indicates the actual value of the allocatable power.

[0127] In one possible implementation, the optical network converged switch can send a power margin notification message to one or more optical network units at preset intervals. The power margin notification message indicates the actual value of the allocable power. Upon receiving the notification message, one or more optical network units can send a power request based on the notification message.

[0128] Step 510: The optical network converged switch sends a first notification message to the first optical network unit. The first notification message indicates whether it agrees to allow the first optical network unit to use the first power. The first notification message is determined based on the actual value of the allocable power and the first power.

[0129] Understandably, after receiving the first power request from the first optical network unit, the optical network converged switch sends a first notification message to the first optical network unit. The first notification message indicates whether it agrees to allow the first optical network unit to use the first power, and there may be two scenarios:

[0130] First, the optical network converged switch sends a first notification message to the first optical network unit, indicating that it agrees to allow the first optical network unit to use the first power.

[0131] In one possible implementation, if the actual value of the allocatable power is greater than or equal to the first power, the first notification message indicates that the first optical network unit is permitted to use the first power.

[0132] In one embodiment, the optical network converged switch receives a first power request from a first optical network unit (ONU), wherein the first power request requests a first power, which is less than or equal to the actual value of the allocatable power. The optical network converged switch sends a first notification message to the first ONU, indicating that it agrees to allow the first ONU to use the first power. After sending the first notification message, the optical network converged switch updates the actual value of the allocatable power based on the first power. The difference between the actual value of the allocatable power before the update and the actual value of the allocatable power after the update is the first power, i.e., the actual value of the allocatable power after the update = the actual value of the allocatable power before the update - the first power.

[0133] In one possible implementation, when the actual value of the allocable power is less than the first power, the optical network convergence switch sends a power reclamation request to the second optical network unit. The power reclamation request is used to request the second optical network unit to reduce the power used by the second optical network unit by a first value, which is determined based on the difference between the first power and the actual value of the allocable power.

[0134] In one embodiment, the optical network converged switch receives a first power request from a first optical network unit (ONU). The first power request requests a first power, which is less than or equal to the actual value of the allocatable power. Instead of sending a first notification message to the first ONU, the optical network converged switch first sends a power reclamation request to a second ONU. The second ONU can be any ONU, or the ONU with the earliest access time among all ONUs, or an ONU with a lower priority for power supply to the power module, etc. Alternatively, the optical network converged switch can send power reclamation requests to multiple other ONUs. This application does not limit the method or number of ONUs selected by the optical network converged switch. The following description only uses sending a power reclamation request to the second ONU as an example.

[0135] The power reclamation request is used to request a reduction in the power used by the second optical network unit (ONU) by a first value. This first value can be at least the difference between the first power and the actual allocable power. For example, if the first power is 15W, the actual allocable power is 10W, and the second ONU uses 20W, then the power used by the second ONU can be reduced by at least 15W - 10W = 5W, meaning the first value can be at least 5W.

[0136] Furthermore, the optical network converged switch receives a power reclamation response from the second optical network unit, which indicates a first power reduction value to be adopted. The optical network converged switch updates the actual value of the allocable power based on the power reclamation response, and the updated actual value of the allocable power is greater than or equal to the first power.

[0137] When the updated actual value of the allocatable power is greater than or equal to the first power, the optical network converged switch sends a first notification message to the first optical network unit, indicating that the first optical network unit is authorized to use the first power.

[0138] In one embodiment, when the optical network converged switch receives a power reclamation response from the second optical network unit, the optical network converged switch updates the actual value of the allocable power according to the first value reduced by the second optical network unit. For example, if the first value is 5W and the actual value of the allocable power before the update is 10W, then the actual value of the allocable power after the update by the optical network converged switch is 10W + 5W = 15W. At this time, the actual value of the updated allocable power is equal to the first power. The optical network converged switch can send a first notification message to the first optical network unit. The first notification message indicates that it agrees to allow the first optical network unit to use the first power and allocates the first power to the first optical network unit.

[0139] Furthermore, the optical network converged switch updates the actual value of the allocable power based on the first power, and the difference between the actual value of the allocable power before the update and the actual value of the allocable power after the update is the first power.

[0140] Second, the optical network converged switch sends a first notification message to the first optical network unit, indicating that it does not agree to the first optical network unit using the first power.

[0141] In one possible implementation, if the actual value of the allocatable power is less than the first power, the first notification message indicates disagreement with the first optical network unit using the first power.

[0142] In one embodiment, when the optical network converged switch receives a first power request sent by the first network unit, and the requested first power is greater than the actual value of the currently allocable power, the optical network converged switch may send a first notification message to the first optical network unit. The first notification message indicates that it does not agree with the first optical network unit using the first power, and the first notification message also indicates that the first optical network unit uses the second power.

[0143] In one possible implementation, when the first notification message indicates disagreement with the first optical network unit using the first power, the first notification message may further include indication information, which may indicate the actual value of the allocatable power. Alternatively, when the first notification message indicates disagreement with the first optical network unit using the first power, the first notification message and the message indicating the actual value of the allocatable power (i.e., the indication information) may be sent separately. After sending the indication information, the optical network converged switch receives a second power request from the first optical network unit, the second power request being used to request a third power, wherein the actual value of the allocatable power is greater than or equal to the third power.

[0144] Furthermore, after receiving the second power request from the first optical network unit, the optical network converged switch sends a second notification message to the first optical network unit, indicating that it agrees to allow the first optical network unit to use the third power.

[0145] like Figure 6 As shown, this application provides a power allocation method, which specifically includes:

[0146] S601: The optical network converged switch determines the maximum amount of power that can be allocated.

[0147] For details, please refer to method 1 and method 2 in step 500 above.

[0148] S602: The first optical network unit starts up and operates in the initial mode. The power required for the initial mode is the minimum power required for the first optical network unit to send the first power request.

[0149] S603: The first optical network unit determines the target operating mode.

[0150] For example, the first optical network unit can determine the target operating mode to be used based on the power query response received from the optical network converged switch or the power margin notification message received from the optical network converged switch. See the relevant content in step 400 above for details.

[0151] S604: The first optical network unit sends a first power request to the optical network converged switch, and the optical network converged switch receives the first power request from the first optical network unit.

[0152] The first power request is used to request a first power, which is the power corresponding to the target operating mode of the first optical network unit. Refer to the relevant content in step 400 above for details.

[0153] S605: The optical network converged switch sends the first notification message to the first optical network unit.

[0154] Specifically, the first notification message indicates agreement to the first optical network unit using the first power, or the first notification message indicates disagreement with the first optical network unit using the first power. Refer to the relevant content in step 510 above for details.

[0155] In summary, this application provides a flexible power allocation method. The optical network converged switch obtains the maximum value of the allocable power. When it receives a power request from any optical network unit, it can determine whether to allocate the requested power to the optical network unit based on the actual value of the current allocable power and promptly notify the optical network unit of the result of the request. This improves the power allocation efficiency and eliminates the need to supply power to the passive optoelectronic splitter, thus realizing the true passivity of the passive optoelectronic splitter.

[0156] Secondly, the optical network converged switch can update the actual value of allocable power by sending power reclamation requests to other optical network units, so that the optical network unit that sent the power request can obtain the required power, further enhancing the efficiency of power allocation.

[0157] Furthermore, the optical network converged switch can proactively send notification messages indicating the actual value of the currently allocable power. This allows the optical network unit (ONU) to understand the latest allocable power in real time, and thus adjust its requested power based on the power required in different operating modes and the actual value of the currently allocable power, making more reasonable power requests and resulting in more accurate and flexible power allocation. In this embodiment, the ONU can send multiple power requests to the optical network converged switch, and these multiple power requests can request different power levels, improving the success rate of the ONU's power requests. This embodiment is applicable to both parallel and serial networking scenarios, demonstrating good versatility.

[0158] Figure 7 and Figure 8 This is a schematic diagram of a possible power distribution device provided in an embodiment of this application. This power distribution device can be used to implement the functions of the optical network converged switch in the above method embodiments.

[0159] like Figure 7 As shown, the power distribution device 700 includes a transceiver unit 710 and a processing unit 720, wherein the processing unit controls the operation of the transceiver unit.

[0160] When the power distribution device 700 is used to achieve Figure 4 The function of the first optical network unit in the method embodiment shown is as follows:

[0161] The processing unit 720 is used to control the operation of the transceiver unit 710;

[0162] The transceiver unit 710 is configured to send a first power request, wherein the first power request is used to request a first power, the first power being the power corresponding to the target operating mode of the first optical network unit; and the transceiver unit 710 is further configured to receive a first notification message, the first notification message indicating whether to agree to the first optical network unit using the first power.

[0163] In one possible implementation, the processing unit 720 is configured to start and operate in an initial mode before sending the first power request, the power required by the initial mode being the minimum power required by the first optical network unit to send the first power request.

[0164] In one possible implementation, the transceiver unit 710 is configured to send the first power request when the operating mode of the first optical network unit needs to be switched to the target operating mode.

[0165] In one possible design, the transceiver unit 710 is configured to send the first power request when the first power is greater than the initial power.

[0166] In one possible implementation, when the first notification message indicates disagreement with the first optical network unit using the first power, and when the first notification message also indicates that the first optical network unit uses the second power, the processing unit 720 is configured to use the second power.

[0167] In one possible implementation, the transceiver unit 710 is configured to receive indication information indicating the actual value of the allocatable power when the first notification message indicates disagreement with the first optical network unit using the first power.

[0168] In one possible implementation, the processing unit 720 is configured to determine a second power request based on the actual value of the allocable power, wherein the second power request is used to request a third power, the actual value of the allocable power is greater than or equal to the third power, and the operating mode corresponding to the third power is different from the operating mode corresponding to the first power; the transceiver unit 710 is further configured to send the second power request; the transceiver unit 710 is further configured to receive a second notification message, the second notification message indicating agreement to the first optical network unit using the third power.

[0169] In one possible implementation, the transceiver unit 710 is configured to send a power query request before sending a first power request, wherein the power query request is used to request a query for the actual value of the allocatable power; and to receive a power query response indicating the actual value of the allocatable power.

[0170] In one possible implementation, the transceiver unit 710 is further configured to receive a power margin notification message at preset intervals, the power margin notification message indicating the actual value of allocable power.

[0171] In one possible implementation, the processing unit 720 is further configured to determine the operating mode requested by the first optical network unit based on the actual value of the allocable power before sending the first power request; wherein the power corresponding to the operating mode requested by the first optical network unit is the first power, and the first power is less than or equal to the actual value of the allocable power.

[0172] When the power distribution device 700 is used to achieve Figure 5 The optical network convergence switch functions as shown in the method embodiment:

[0173] The processing unit 720 is used to control the operation of the transceiver unit 710;

[0174] The transceiver unit 710 is configured to receive a first power request from a first optical network unit, the first power request being for requesting a first power, the first power being the power corresponding to the target operating mode of the first optical network unit; and the transceiver unit 710 is further configured to send a first notification message to the first optical network unit, the first notification message indicating whether to agree to the first optical network unit using the first power, the first notification message being determined based on the actual value of the allocable power and the first power.

[0175] In one possible implementation, the actual value of the allocatable power is less than or equal to the maximum value of the allocatable power; the transceiver unit 710 is further configured to obtain the maximum value of the allocatable power before receiving a first power request from a first optical network unit; wherein the maximum value of the allocatable power is determined based on the rated power supply power and power loss of the power module, the power loss is determined based on the transmission path between the power module and one or more optical network units, and the first optical network unit is any one of the one or more optical network units.

[0176] In one possible implementation, the maximum value of the allocatable power is determined based on the rated power of the power module, the power loss, and the initial power corresponding to the one or more optical network units.

[0177] In one possible implementation, if the actual value of the allocatable power is greater than or equal to the first power, the first notification message indicates agreement to the first optical network unit using the first power; if the actual value of the allocatable power is less than the first power, the first notification message indicates disagreement with the first optical network unit using the first power.

[0178] In one possible implementation, if the actual value of the allocatable power is less than the first power, the first notification message further instructs the first optical network unit to use a second power, wherein the second power is less than the first power.

[0179] In one possible implementation, before sending a first notification message to the first optical network unit, the transceiver unit 710, if the actual value of the allocable power is less than the first power, sends a power reclamation request to the second optical network unit. The power reclamation request requests the second optical network unit to reduce the power by a first value, the first value being determined based on the difference between the first power and the actual value of the allocable power. The transceiver unit 710 then receives a power reclamation response indicating agreement to reduce the power by the first value.

[0180] The processing unit 720 is further configured to update the actual value of the allocable power according to the power recovery response, wherein the updated actual value of the allocable power is greater than or equal to the first power;

[0181] When the transceiver unit sends the first notification information to the first optical network unit, it is specifically configured to: send the first notification information to the first optical network unit, wherein the first notification message indicates that the first optical network unit agrees to use the first power.

[0182] In one possible implementation, the processing unit 720 is further configured to update the actual value of the allocable power according to the first power when the first notification message indicates that the first optical network unit is agreed to use the first power, wherein the difference between the actual value of the allocable power before the update and the actual value of the allocable power after the update is the first power.

[0183] In one possible implementation, when the first notification message indicates disagreement with the first optical network unit using the first power, the transceiver unit 710 is further configured to send indication information to the first optical network unit, the indication information indicating the actual value of the allocatable power.

[0184] In one possible implementation, the transceiver unit 710 is further configured to receive a second power request from the first optical network unit after sending the indication information. The second power request is used to request a third power, the actual value of the allocatable power being greater than or equal to the third power, and the operating mode corresponding to the third power being different from the operating mode corresponding to the first power.

[0185] The transceiver unit 710 is further configured to send a second notification message to the first optical network unit, the second notification message indicating agreement to the first optical network unit using the third power.

[0186] In one possible implementation, the transceiver unit 710, before receiving a first power request from the first optical network unit, receives a power query request from the first optical network unit, the power query request being used to request a query for the actual value of the allocatable power; and sends a power query response to the first optical network unit, the power query response indicating the actual value of the allocatable power.

[0187] In one possible implementation, the transceiver unit 710 is further configured to send a power margin notification message at preset intervals, the power margin notification message indicating the actual value of the allocatable power.

[0188] For a more detailed description of the transceiver unit 710 and the processing unit 720, please refer to [the relevant documentation]. Figure 4 or Figure 5 The relevant descriptions in the method embodiments shown are directly obtained and will not be repeated here.

[0189] like Figure 8 As shown, the power distribution device 800 includes a processor 810 and a communication interface 820. The processor 810 and the communication interface 820 are coupled to each other. It is understood that the communication interface 820 can be a transceiver or an input / output interface. Optionally, the power distribution device 800 may also include a memory 830 for storing instructions executed by the processor 810, or storing input data required by the processor 810 to execute instructions, or storing data generated after the processor 810 executes instructions.

[0190] When the power distribution device 700 is used to achieve Figure 4 or Figure 5 In the method shown, the processor 810 is used to implement the functions of the processing unit 720, and the communication interface 820 is used to implement the functions of the transceiver unit 710.

[0191] The unit division in this embodiment is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into a single processor, exist as separate physical units, or be integrated into a single unit. The integrated units described above can be implemented in hardware or as software functional units.

[0192] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium. The computer program product includes computer program code, which, when executed on a computer, causes the computer to perform any of the power allocation methods discussed above. Since the principle by which the computer-readable storage medium solves the problem is similar to that of the power allocation method, the implementation of the computer-readable storage medium can be found in the implementation of the method; repeated details will not be elaborated further.

[0193] Based on the same inventive concept, this application also provides a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to execute any of the power allocation methods discussed above. Since the principle by which the above-described computer program product solves the problem is similar to that of the power allocation method, the implementation of the above-described computer program product can be referred to the implementation of the method, and repeated details will not be described again.

[0194] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0195] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0196] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0197] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A power distribution method, characterized in that, The method includes: Receive a first power request from a first optical network unit, the first power request being used to request a first power, the first power being the power corresponding to the target operating mode of the first optical network unit; A first notification message is sent to the first optical network unit. The first notification message indicates whether the first optical network unit is allowed to use the first power. The first notification message is determined based on the actual value of the allocable power and the first power.

2. The method as described in claim 1, characterized in that, The actual value of the allocatable power is less than or equal to the maximum value of the allocatable power; Before receiving the first power request from the first optical network unit, the process also includes: Obtain the maximum value of the allocatable power; wherein the maximum value of the allocatable power is determined based on the rated power supply and power loss of the power module, the power loss is determined based on the transmission path between the power module and one or more optical network units, and the first optical network unit is any one of the one or more optical network units.

3. The method as described in claim 2, characterized in that, The maximum value of the allocatable power is determined based on the rated power of the power module, the power loss, and the initial power corresponding to the one or more optical network units.

4. The method as described in claim 1, characterized in that, If the actual value of the allocatable power is greater than or equal to the first power, the first notification message indicates that the first optical network unit is permitted to use the first power; if the actual value of the allocatable power is less than the first power, the first notification message indicates that the first optical network unit is not permitted to use the first power.

5. The method as described in claim 4, characterized in that, If the actual value of the allocatable power is less than the first power, the first notification message also instructs the first optical network unit to use a second power, wherein the second power is less than the first power.

6. The method as described in claim 1, characterized in that, Before sending the first notification message to the first optical network unit, the method further includes: If the actual value of the allocable power is less than the first power, a power reclamation request is sent to the second optical network unit. The power reclamation request is used to request the second optical network unit to reduce the power used by a first value, which is determined based on the difference between the first power and the actual value of the allocable power. Receive a power recovery response, the power recovery response indicating an agreed-upon power reduction of the first value; The actual value of the allocable power is updated based on the power recovery response, and the updated actual value of the allocable power is greater than or equal to the first power. Sending a first notification message to the first optical network unit, including: The first notification message is sent to the first optical network unit, indicating that the first optical network unit is authorized to use the first power.

7. The method as described in claim 1, characterized in that, When the first notification message indicates agreement to the first optical network unit using the first power, the method further includes: The actual value of the allocable power is updated based on the first power, and the difference between the actual value of the allocable power before the update and the actual value of the allocable power after the update is the first power.

8. The method as described in claim 1, characterized in that, When the first notification message indicates disagreement with the first optical network unit using the first power, the method further includes: Send indication information to the first optical network unit, the indication information indicating the actual value of the allocatable power.

9. The method as described in claim 8, characterized in that, The method further includes: After sending the indication information, a second power request is received from the first optical network unit. The second power request is used to request a third power. The actual value of the allocatable power is greater than or equal to the third power. The operating mode corresponding to the third power is different from the operating mode corresponding to the first power. A second notification message is sent to the first optical network unit, indicating that the first optical network unit is authorized to use the third power.

10. The method as described in claim 1, characterized in that, Before receiving the first power request from the first optical network unit, the process also includes: Receive a power query request from the first optical network unit, the power query request being used to request the actual value of the allocatable power; A power query response is sent to the first optical network unit, the power query response indicating the actual value of the allocatable power.

11. The method as described in claim 1, characterized in that, The method further includes: A power reserve notification message is sent at preset intervals, the power reserve notification message indicating the actual value of the allocable power.

12. A power distribution method, characterized in that, The method is applied to a first optical network unit, and the method includes: Send a first power request, wherein the first power request is used to request a first power, and the first power is the power corresponding to the target operating mode of the first optical network unit; Receive a first notification message, which indicates whether to agree to the first optical network unit using the first power.

13. The method as described in claim 12, characterized in that, Before sending the first power request, it also includes: The first optical network unit is activated and operates in an initial mode, the power required by which the initial mode is the minimum power required for the first optical network unit to send the first power request.

14. The method as described in claim 13, characterized in that, Sending the first power request includes: When the operating mode of the first optical network unit needs to be switched to the target operating mode, the first power request is sent.

15. The method as described in claim 13, characterized in that, Send a first power request, including: When the first power is greater than the initial power, the first power request is sent.

16. The method as described in claim 12, characterized in that, When the first notification message indicates disagreement with the first optical network unit using the first power, the method further includes: When the first notification message also instructs the first optical network unit to use the second power, the first optical network unit uses the second power.

17. The method as described in claim 12, characterized in that, When the first notification message indicates disagreement with the first optical network unit using the first power, the method further includes: Receive indication information, which indicates the actual value of the allocatable power.

18. The method as described in claim 17, characterized in that, The method further includes: A second power request is determined based on the actual value of the allocable power, wherein the second power request is used to request a third power, the actual value of the allocable power is greater than or equal to the third power, and the operating mode corresponding to the third power is different from the operating mode corresponding to the first power; Send the second power request; A second notification message is received, indicating agreement to the first optical network unit using the third power.

19. The method as described in claim 12, characterized in that, Also includes: Before sending the first power request, a power query request is sent, wherein the power query request is used to request the actual value of the allocatable power; Receive a power query response, which indicates the actual value of the allocatable power.

20. The method as described in claim 19, characterized in that, Before sending the first power request, the method further includes: The operating mode requested by the first optical network unit is determined based on the actual value of the allocable power; wherein the power corresponding to the operating mode requested by the first optical network unit is the first power, and the first power is less than or equal to the actual value of the allocable power.

21. A power distribution device, characterized in that, The device includes a transceiver unit and a processing unit, wherein the processing unit controls the operation of the transceiver unit. The transceiver unit is configured to receive a first power request from a first optical network unit, the first power request being for requesting a first power, the first power being the power corresponding to the operating mode requested by the first optical network unit; and to send a first notification message to the first optical network unit, the first notification message indicating whether to agree to the first optical network unit using the first power, the first notification message being determined based on the actual value of the allocable power and the first power.

22. A power distribution device, characterized in that, The device includes a transceiver unit and a processing unit; The processing unit controls the operation of the transceiver unit; The transceiver unit is configured to send a first power request, wherein the first power request is used to request a first power, the first power being the power corresponding to the operating mode requested by the first optical network unit; and to receive a first notification message, the first notification message indicating whether to agree to the first optical network unit using the first power.

23. A power distribution device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the steps of the method according to any one of claims 1-20.

24. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a computer, cause the computer to perform the method as described in any one of claims 1-20.

25. A computer program product, characterized in that, The computer program product includes: computer program code, which, when run on a computer, causes the computer to perform the method described in any one of claims 1-20.