Method for waking up PON (Passive Optical Network) port, energy-saving control method, system and device

By detecting the downlink synchronization state when the ONU is awakened or powered on and sending an optical signal to wake up the PON port of the OLT, the problem of the PON port in the existing technology cannot be awakened in time, and the OLT's energy saving and rapid response to ONU online requests are achieved.

CN120050548APending Publication Date: 2025-05-27FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510138625.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, the PON port cannot wake up in time when it is closed or energy-saving. When the ONU wakes up or the new ONU is powered on, the PON port needs to be wake up in time to respond to the ONU online request, but there is a lack of effective methods.

Method used

By starting the timer when the ONU is awake or powered on, the synchronization state of the downlink is detected. If the timeout is still a signal loss state, an optical signal is generated and sent to the PON port of the OLT through the uplink, so that it can be restored from the energy-saving state to the working state.

Benefits of technology

It realizes energy saving of OLT, and can respond to ONU online requests in a timely manner to avoid affecting user business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050548A_ABST
    Figure CN120050548A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of passive optical networks, and provides a PON port awakening method and an energy-saving control method, system and device, and the method comprises the steps: starting a timer when an ONU is awakened to a working state, is newly powered on and completes software initialization, or is restarted and completes software initialization, and starting the timer within a timing duration, detecting a synchronization state of the downlink; after the timing duration is overtime, determining that the synchronization state of the downlink is still in a signal loss state or an initial state; generating an optical signal; and the optical signal is sent to the PON port of the OLT through the uplink, so that the PON port is recovered from the energy-saving state to the working state. When the ONU under the PON port is awakened or a new ONU is powered on, the optical signal sent by the ONU enables the optical module of the PON port of the OLT to generate the SD signal, the SD signal awakens the PON port, an ONU online request can be responded in time, energy is saved, and the service requirement of a user is not affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the technical field of passive optical networks, and particularly relates to a method for waking up a PON port, an energy-saving control method, a system and a device. Background Art

[0002] A passive optical network (PON) system located on the access side is a typical point-to-multipoint structure. The optical line terminal (OLT) at the central office is connected to the optical network unit / optical network terminal (ONU / ONT) at the user side through an optical distribution network (ODN). PON has the advantages of simple maintenance, low access cost, better energy efficiency, etc., and has been widely deployed, connecting thousands of households. The access rate has increased from 1G PON to 10G PON and then to 50G PON, and the power consumption of the equipment has become larger and larger. Energy conservation and consumption reduction have become one of the most important goals of the equipment.

[0003] There are two ways to save energy and reduce consumption. Way 1: Reduce the design power consumption of the equipment, that is, reduce the rated power consumption of the equipment. Way 2: When the equipment is idle or only needs to operate partially, without affecting the service, reduce the real-time power consumption.

[0004] Currently, when an ONU is connected under a PON port, the PON port and its components need to be turned on, and the PON port and its components need to run at full speed. After the PON port and its components are turned on, even if all ONUs under the PON port are in a sleep state or have no traffic, the PON port and its components still run at full speed. Therefore, it can be considered to reduce the real-time power consumption through Way 2 to achieve energy conservation.

[0005] The existing energy-saving control method is: when no ONU is connected under the PON port, turn off the PON port and its components, such as the optical module, so as to achieve the purpose of energy conservation.

[0006] Problems existing in the above method: When the PON port is in a closed or energy-saving state, once an ONU wakes up or a new ONU is powered on, the PON port needs to be woken up in time. However, there is no method for waking up the PON port in time in the prior art. Summary of the Invention

[0007] To solve the above problems, the present disclosure provides a method for waking up a PON port, an energy-saving control method, a system and a device, which can wake up the PON port in time by sending an optical signal and can achieve energy conservation of the OLT.

[0008] In a first aspect, a method for waking up a PON port is provided, including:

[0009] When the ONU is woken up to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed, start a timer, and within the timing duration, detect the synchronization state of the downstream link;

[0010] After the timing duration expires, determine that the synchronization state of the downstream link is still in the signal loss state or in the initial state;

[0011] Generate an optical signal;

[0012] Send the optical signal to the PON port of the OLT through the upstream link, so that the optical module of the PON port generates an SD signal indicating that an optical signal is detected, and send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port. The control unit controls the PON port to recover from the energy-saving state to the working state based on the SD signal received from the external interrupt pin; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when in the energy-saving state.

[0013] Further, the timing duration is greater than twice the window opening period of the PON port.

[0014] Further, generating an optical signal includes:

[0015] Generate an optical signal.

[0016] Further, the duration of the optical signal is greater than 0 and less than or equal to 125 us.

[0017] In a second aspect, an energy-saving control method is provided, including:

[0018] Determine that the PON port is in the idle state or will be in the idle state;

[0019] Close the downstream link resources and their components of the PON port. At this time, the working state of the PON port changes from the idle state to the energy-saving state;

[0020] Detect the optical signal on the upstream link;

[0021] When an optical signal is detected, generate an SD signal indicating that an optical signal is detected;

[0022] Send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port;

[0023] Based on the SD signal received from the external interrupt pin of the control unit, control the PON port to resume from the energy-saving state to the working state; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when in the energy-saving state.

[0024] Further, it further includes: after determining that the PON port is in the idle state or will be in the idle state, and before closing the downstream link resources and their components of the PON port, the method further includes:

[0025] Send a Ploam message through the downstream link to make all the online ONUs under the PON port enter the sleep state.

[0026] Further, based on the SD signal received from the external interrupt pin of the control unit, controlling the PON port to resume from the energy-saving state to the working state includes:

[0027] Receive the SD signal from the external interrupt pin through the control unit interrupt controller to generate an external interrupt, and based on the external interrupt, turn on the downstream link resources and their components under the PON port.

[0028] In a third aspect, an energy-saving control system is provided, including: an ONU and an OLT;

[0029] The OLT is used to determine that the PON port is in the idle state or will be in the idle state; close the downstream link resources and their components of the PON port, at this time the working state of the PON port changes from the idle state to the energy-saving state; detect the optical signal on the upstream link; when detecting the optical signal, generate an SD signal indicating that the optical signal is detected; send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port; based on the SD signal received from the external interrupt pin of the control unit, control the PON port to resume from the energy-saving state to the working state; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when in the energy-saving state;

[0030] The ONU is used to start a timer when being awakened to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed. During the timing duration, detect the synchronization state of the downstream link; after the timing duration expires, determine that the synchronization state of the downstream link is still in the signal loss state or the initial state; generate an optical signal; send the optical signal to the PON port of the OLT through the upstream link.

[0031] In a fourth aspect, a device for waking up a PON port is provided, including: a detection unit, a status determination unit, an optical signal generation unit, and an optical signal transmission unit;

[0032] A detection unit, configured to start a timer when the ONU is awakened to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed, and detect the synchronization state of the downlink during the timing duration.

[0033] A state determination unit, configured to determine that the synchronization state of the downlink is still in the signal loss state or the initial state after the timing duration expires.

[0034] An optical signal generation unit, configured to generate an optical signal.

[0035] An optical signal transmission unit, configured to transmit the optical signal to the PON port of the OLT through the uplink, so that the optical module of the PON port generates an SD signal indicating that an optical signal is detected, and transmit the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port, and the control unit controls the PON port to resume from the power-saving state to the working state based on the SD signal received from the external interrupt pin; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when in the power-saving state.

[0036] In a fifth aspect, an energy-saving control device is provided, including: a determination unit, a shutdown unit, a detection unit, an optical signal generation unit, an optical signal transmission unit, and a control unit, wherein:

[0037] The determination unit is configured to determine that the PON port is in the idle state or will be in the idle state.

[0038] The shutdown unit is configured to shut down the downlink resources and their components of the PON port, and at this time, the working state of the PON port changes from the idle state to the power-saving state.

[0039] The detection unit is configured to detect the optical signal on the uplink.

[0040] The optical signal generation unit is configured to generate an SD signal indicating that an optical signal is detected.

[0041] The optical signal transmission unit is configured to transmit the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port.

[0042] The control unit is configured to control the PON port to resume from the power-saving state to the working state based on the SD signal received from the external interrupt pin of the control unit; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when in the power-saving state.

[0043] Further, the device further includes:

[0044] A message sending unit, configured to send a Ploam message through a downlink after a determination unit determines that a PON port is in an idle state or will be in an idle state, and before a closing unit closes the downlink resources and their components of the PON port, so that all online ONUs under the PON port are in a sleep state.

[0045] Further, the control unit is specifically configured to receive an SD signal from an external interrupt pin through a control unit interrupt controller, generate an external interrupt, and based on the external interrupt, turn on the downlink resources and their components under the PON port.

[0046] Compared with the prior art, the present disclosure has the following advantages:

[0047] Detect the status of the PON port. When the PON port is in or will be in an idle state, turn off the downlink components of the PON port; when an ONU wakes up or a new ONU is powered on under the PON port, the optical signal sent by the ONU causes the optical module of the OLT's PON port to generate an SD signal, and the SD signal wakes up the PON port, which can timely respond to the ONU online request, achieving both energy saving and not affecting the user's service requirements.

[0048] Other features and advantages of the present disclosure will be described in the following specification, and part of them will be obvious from the specification, or will be understood by implementing the present disclosure. The objectives and other advantages of the present disclosure can be achieved and obtained through the structures pointed out in the specification, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for describing the embodiments or the prior art. Obviously, the following drawings are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0050] Figure 1 Shows a typical PON system networking and SD signal connection diagram;

[0051] Figure 2 Shows a schematic diagram of an SD signal connection diagram under a typical PON system networking according to an embodiment of the present disclosure;

[0052] Figure 3 Shows a flowchart of a method for waking up a PON port according to an embodiment of the present disclosure;

[0053] Figure 4 Shows a flowchart of an energy-saving control method according to an embodiment of the present disclosure;

[0054] Figure 5 The block diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed implementation manners

[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

[0056] In the solution of the embodiments of the present disclosure, in order to wake up the PON port and implement energy-saving control, the connection manner of the detection signal (Signal Detect, SD) signal in the existing typical PON system networking as shown in Figure 1 is changed, and after the change, it is as shown in Figure 2 . Figure 2 The SD signal sent by the optical module in

[0057] Figure 2 is connected not only to the MAC chip but also to the interrupt control pin of the control unit. In an interrupt manner, it is used to activate the PON port and resources in the energy-saving state. It should be noted that the control unit here can be the control unit of the CPU integrated in the MAC chip or the control unit of an external CPU.

[0058] In Figure 2Taking the optical module 1 in [the relevant context] as an example: One port of the MAC chip is connected to the optical module through a gold finger. The gold finger includes the transmit electrical signal Tx1 of the MAC chip port, the receive electrical signal Rx1 of the MAC, and the I2C bus between the MAC chip and the optical module, which is used for the internal control of the optical module and the reading and writing of registers. The SD signal output by the optical module is used to reflect in real time whether an optical signal is detected on the upstream link of the PON port, that is, whether an optical signal from any ONU is detected. Generally speaking, when SD is high, it means that the optical module detects the optical signal sent by the ONU on the upstream link; when SD is low, it means that no optical signal from the ONU is detected. Usually, the SD signal is only connected and input to the MAC chip, and cooperates with the Reset signal sent by the MAC to complete the registration, activation, and service bearing of the ONU. In the embodiment of the present disclosure, in addition to connecting the SD signal to the MAC chip, it is also connected to the interrupt control pin of the line card control unit. When the PON port is in the normal working state, the corresponding external interrupt pin prohibits external interrupts. When the PON port is in the energy-saving state, the corresponding external interrupt pin enables external interrupts.

[0059] The following will further elaborate on the solution of the present invention in conjunction with the attached Figure 3 drawings and embodiments.

[0060] Figure 3 shows a flowchart of a method for waking up a PON port according to an embodiment of the present disclosure. As Figure 3 shown, the method for waking up a PON port in the embodiment of the present disclosure includes the following steps:

[0061] Step 301: When the ONU is woken up to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed, start a timer, and within the timing duration, detect the synchronization state of the downstream link.

[0062] Step 302: After the timing duration times out, determine that the synchronization state of the downstream link is still in the signal loss state or in the initial state.

[0063] If it is detected that the downstream link can be synchronized within the timing duration T1, it means that the PON port of the OLT is in the normal working state rather than the idle state, and the ONU processes the registration authorization Ploam and BWmap bandwidth configuration messages according to the normal process. The ONU does not need to send a short optical signal along the upstream direction of the PON port.

[0064] Preferably, the timing duration is greater than twice the window opening period of the PON port.

[0065] There is a possibility that the ONU is a faulty ONU and can never synchronize with the OLT in the downstream direction. After the ONU is newly powered on or restarted, the timing duration T1 will time out, and the ONU will autonomously emit a short optical signal. At this time, if the PON port of the OLT is in the normal working state rather than the idle state or the energy-saving state, the behavior of this ONU emitting light autonomously is the behavior of an abnormal ONU. Because when the PON port is working normally, the ONU emits light at which time slot and moment is controlled by the bandwidth allocation BWMAP of the OLT, so as to ensure that the light emissions of multiple ONUs do not conflict. The behavior of an abnormal ONU emitting light autonomously will affect the online status or services of other ONUs. Based on the above considerations, when the ONU resumes from the idle state to the working state or after the ONU is restarted, after exceeding the timing duration T1 time period, the ONU emits light only once autonomously, that is to say, T1 is non-periodic. The time of T1 cannot be too short. Within the time of T1, the normally working OLT and ONU must be able to reach the synchronization state. Therefore, in the solution of the embodiments of the present disclosure, the timing duration T1 is more than twice the window opening period of the PON port.

[0066] Step 303: Generate an optical signal.

[0067] Specifically, to avoid the behavior of an abnormal ONU from affecting the online status or services of other ONUs, the ONU generates an optical signal here.

[0068] Preferably, the duration T2 of the optical signal emitted by the ONU is greater than or equal to 0 and less than or equal to 125 us, that is, at most the time of one frame of data. This is because if the duration T2 of the optical signal is too long, the behavior of an abnormal ONU in the case of a fault will interfere with the online urgent services of more ONUs.

[0069] Step 304: Send the optical signal to the PON port of the OLT through the uplink.

[0070] At this time, when the optical module of the PON port of the OLT receives the optical signal, it will generate an SD signal indicating that the optical signal is detected, and send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port. The control unit controls the PON port to resume from the energy-saving state to the working state based on the SD signal received from the external interrupt pin; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when it is in the energy-saving state.

[0071] Based on the above method for waking up the PON port, the embodiments of the present disclosure also provide an energy-saving control method, as Figure 4 shown, including the following steps:

[0072] Step 401: Determine the working state of the PON port. The working states include the idle state and the normal working state. If it is determined that the port will be in the idle state or the port is in the idle state, then execute Step 402; otherwise, still execute this Step 401.

[0073] Specifically, when there is no ONU online on the PON port, or within a certain period of time, there is no traffic on both the downstream link and the upstream link of the PON port, it is determined that the PON port is in the idle state.

[0074] Step 402: Close the downstream link resources and their components of this PON port. At this time, the working state of the PON port changes from the idle state to the energy-saving state.

[0075] In this Step 402, when closing the downstream link resources and their components of the PON port, correspondingly, this PON port is in the energy-saving mode, which reduces the power consumption of the OLT. Correspondingly, the downstream direction components of the optical module corresponding to the PON port stop working, and the laser does not emit light. However, in the upstream direction, the upstream components of the optical module, such as APD, TIA, and limiting amplifier LA, work normally and can detect optical signals.

[0076] In order to reduce the power consumption of the ONU, Ploam messages can also be sent through the downstream link to make all the online ONUs under this PON port enter the sleep state.

[0077] Specifically, the MAC chip makes all the online ONUs enter the sleep state through Ploam downlink. When the PON port is in the energy-saving mode, the ONUs under this PON port are either in the sleep state or in the power-off state. This can reduce the power consumption as much as possible.

[0078] Step 403: Detect the optical signal on the upstream link, and then execute Step 404.

[0079] Here, for the ONU in the sleep state, when it is awakened (for example, awakened through the user interface), first, within the timing duration T1, it detects the synchronization state of the downstream link. If there is no light on the downstream link, the ONU is in the Lost of Signal (LOSi) state, or cannot synchronize downstream and is in the O1 state, then the ONU emits a burst of light. This burst is just an optical signal and can be any content. This burst is not controlled by the OLT and is mainly used to wake up the PON port of the OLT. If the downstream direction can be synchronized, it means that the OLT is in the normal working state rather than the idle energy-saving state, and the ONU processes the registration authorization Ploam and BWmap bandwidth configuration messages according to the normal process.

[0080] After a newly powered-on ONU completes startup, it first detects the downstream synchronization status. Within the timing duration T1, if the downstream direction is always in a no-light state (LOSi state) or a non-synchronized state (O1 state), the ONU emits a burst of light. This burst is just an optical signal and can be anything. If the ONU can quickly synchronize in the downstream direction after power-on, it indicates that the OLT is in a normal working state rather than an idle energy-saving state, and the ONU processes the registration authorization Ploam and BWmap bandwidth configuration messages according to the normal process.

[0081] Step 404: When detecting an optical signal, generate an SD signal indicating that the optical signal is detected.

[0082] Specifically, the above optical signal is a burst of light. After the OLT PON port in the energy-saving state detects the optical signal sent by the ONU, since the receiving direction of the optical module is in a normal working state, the APD (Avalanche Photodiode Detectors), TIA (Trans-impedance amplifier), and LA (Limiting Amplifier) work normally, generating a signal with a high SD.

[0083] Step 405: Send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port.

[0084] Specifically, the optical module of the PON port sends it to the external interrupt pins of the OLT MAC chip and the control unit through the gold fingers of the optical module.

[0085] Step 406: Based on the SD signal received from the external interrupt pin of the control unit, control the PON port to resume from the energy-saving state to the working state; among them, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when it is in the energy-saving state.

[0086] Here, the control unit interrupt controller in the energy-saving state generates an external interrupt, and the interrupt program promptly turns on the resources and components in the energy-saving state under the PON port. At the same time, it turns on the laser in the downstream direction of the optical module, the optical module emits light normally, resumes the MAC to the full-speed working state, the PON port returns to the normal working state, and the control unit control software prohibits the external interrupt corresponding to the SD.

[0087] Under normal working conditions, since ONUs all emit light in a burst mode, the SD of the PON port of the OLT will continuously go high or low. Therefore, when the port is in the normal working state, the interrupt pin connecting the control unit and the SD of the optical module prohibits external interrupts. Only when the PON port is in the idle energy-saving mode, this interrupt pin is interrupt-enabled.

[0088] Step 407: The OLT works normally: Open windows periodically, discover, and perform ranging to activate the ONU. Jump to step 401.

[0089] At this time, the working state of the PON port can be detected and judged periodically.

[0090] The method for waking up the PON port and the energy-saving control method provided by the embodiments of the present disclosure can reduce the power consumption of the OLT when the OLT PON port is idle, but can also respond to the ONU online request in a timely manner without affecting the user's service requirements. It can be applied to all PON systems, including 50G-PON, XGS-PON, XGPON, GPON, 10G EPON, EPON systems, and COMBO-PON systems.

[0091] Based on the above energy-saving control method, the embodiments of the present disclosure further provide a corresponding energy-saving control system, including: an ONU and an OLT;

[0092] The OLT is used to determine that the PON port is in an idle state or will be in an idle state; close the downstream link resources and their components of the PON port. At this time, the working state of the PON port changes from the idle state to the energy-saving state; detect the optical signal on the upstream link; when the optical signal is detected, generate an SD signal indicating that the optical signal is detected; send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port; based on the SD signal received from the external interrupt pin of the control unit, control the PON port to recover from the energy-saving state to the working state; among them, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when in the energy-saving state;

[0093] The ONU is used to start a timer when it is awakened to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed. During the timing duration, detect the synchronization state of the downstream link; after the timing duration times out, determine that the synchronization state of the downstream link is still in the signal loss state or in the initial state; generate an optical signal; send the optical signal to the PON port of the OLT through the upstream link.

[0094] Based on the above method for waking up the PON port, the embodiments of the present disclosure further provide a corresponding device for waking up the PON port, including: a detection unit, a status determination unit, an optical signal generation unit, and an optical signal transmission unit;

[0095] A detection unit, which is configured to start a timer when the ONU is awakened to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed, and detect the synchronization state of the downlink during the timing duration.

[0096] A status determination unit, which is configured to determine that the synchronization state of the downlink is still in the signal loss state or the initial state after the timing duration expires.

[0097] An optical signal generation unit, which is configured to generate an optical signal.

[0098] An optical signal transmission unit, which is configured to transmit the optical signal to the PON port of the OLT through the uplink, so that the optical module of the PON port generates an SD signal indicating that the optical signal is detected, and send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port. The control unit controls the PON port to recover from the power-saving state to the working state based on the SD signal received from the external interrupt pin; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when it is in the power-saving state.

[0099] Based on the above energy-saving control method, an embodiment of the present disclosure further provides a corresponding energy-saving control device, including: a determination unit, a shutdown unit, a detection unit, an optical signal generation unit, an optical signal transmission unit and a control unit, wherein:

[0100] A determination unit, which is configured to determine that the PON port is in the idle state or will be in the idle state.

[0101] A shutdown unit, which is configured to shut down the downlink resources and their components of the PON port. At this time, the working state of the PON port changes from the idle state to the power-saving state.

[0102] A detection unit, which is configured to detect the optical signal on the uplink.

[0103] An optical signal generation unit, which is configured to generate an SD signal indicating that the optical signal is detected.

[0104] An optical signal transmission unit, which is configured to send the SD signal to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port.

[0105] A control unit, which is configured to control the PON port to recover from the power-saving state to the working state based on the SD signal received from the external interrupt pin of the control unit; wherein, the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when it is in the power-saving state.

[0106] Preferably, the device further includes: a message sending unit, configured to send a Ploam message through the downlink after the determining unit determines that the PON port is in an idle state or will be in an idle state, and before the closing unit closes the downlink resources and their components of the PON port, so that all the online ONUs under the PON port are in a sleep state.

[0107] Specifically, the control unit is specifically configured to receive an SD signal from an external interrupt pin through the control unit interrupt controller, generate an external interrupt, and based on the external interrupt, turn on the downlink resources and their components under the PON port.

[0108] Based on the same inventive concept as the above-disclosed content, correspondingly, the present disclosure also provides an electronic device, the block diagram of which is as Figure 5 shown. The electronic device according to an embodiment of the present disclosure includes at least one processor and at least one memory electrically connected, the memory is electrically connected to the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.

[0109] It should be noted that the electrical connections between the above-mentioned various units do not necessarily mean direct connections between the lines. Indirect connection methods can be applied to the embodiments of the present disclosure as long as the purpose of the present disclosure is achieved.

[0110] Based on the same inventive concept, the present disclosure also provides a computer storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0111] Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A method for waking up a PON port, characterized in that: include: When the ONU is awakened to the working state, newly powered on and the software initialization is completed, or restarted and the software initialization is completed, the timer is started, and the synchronization state of the downlink is detected within the timing duration; After the timing duration times out, it is determined that the synchronization state of the downlink is still in a signal loss state or in an initial state; generating an optical signal; An optical signal is sent to the PON port of the OLT via an uplink, so that the optical module of the PON port generates an SD signal indicating that the optical signal is detected, and the SD signal is sent to the MAC chip and the external interrupt pin of the control unit corresponding to the PON port. The control unit controls the PON port to recover from the energy-saving state to the working state based on the SD signal received from the external interrupt pin; wherein the external interrupt pin of the control unit is disabled when the PON port is in a normal working state, and enabled when it is in a energy-saving state.

2. The method according to claim 1, characterized in that The timing duration is greater than twice the windowing period of the PON port.

3. The method according to claim 1, characterized in that Generate optical signals, including: Generates a light signal.

4. The method according to any one of claims 1 to 3, characterized in that: The duration of the optical signal is greater than 0 and less than or equal to 125 us.

5. An energy-saving control method, characterized in that: include: Determining that the PON port is in an idle state or will be in an idle state; The downlink resources and components of the PON port are turned off, and the working state of the PON port changes from an idle state to an energy-saving state; Detecting uplink optical signals; When the optical signal is detected, an SD signal is generated indicating that the optical signal is detected; Sending the SD signal to the MAC chip and the control unit external interrupt pin corresponding to the PON port; Based on the SD signal received from the external interrupt pin of the control unit, the PON port is controlled to recover from the energy-saving state to the working state; wherein the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when it is in the energy-saving state.

6. The method according to claim 5, characterized in that The method further includes: after determining that the PON port is in an idle state or will be in an idle state, and before shutting down the downlink resources and components of the PON port, the method further includes: The Ploam message is sent through the downlink to put all online ONUs under the PON port into sleep state.

7. The method according to claim 5 or 6, characterized in that Based on the SD signal received from the external interrupt pin of the control unit, the PON port is controlled to recover from the energy-saving state to the working state, including: The control unit interrupt controller receives an SD signal from an external interrupt pin, generates an external interrupt, and opens the downlink resources and components under the PON port based on the external interrupt.

8. An energy-saving control system, characterized in that: include: ONU and OLT; The OLT is used to determine that a PON port is in an idle state or will be in an idle state; shut down downlink resources and components of the PON port, and the working state of the PON port is changed from an idle state to an energy-saving state; detect an optical signal of an uplink; when an optical signal is detected, generate an SD signal indicating that the optical signal is detected; send the SD signal to a MAC chip and an external interrupt pin of a control unit corresponding to the PON port; based on the SD signal received from the external interrupt pin of the control unit, control the PON port to recover from the energy-saving state to the working state; wherein the external interrupt pin of the control unit is disabled when the PON port is in a normal working state, and enabled when it is in an energy-saving state; The ONU is used to start a timer when it is awakened to a working state, when it is newly powered on and the software initialization is completed, or when it is restarted and the software initialization is completed, and detect the synchronization state of the downlink within the timing period; after the timing period expires, determine that the synchronization state of the downlink is still in a signal loss state or in an initial state; generate an optical signal; and send the optical signal to the PON port of the OLT through an uplink.

9. A device for waking up a PON port, characterized in that: include: a detection unit, a state determining unit, an optical signal generating unit and an optical signal sending unit; A detection unit, used to start a timer when the ONU is awakened to a working state, when it is newly powered on and software initialization is completed, or when it is restarted and software initialization is completed, and detect the synchronization state of the downlink within a timing duration; A state determination unit, used to determine whether the synchronization state of the downlink is still in a signal loss state or in an initial state after the timing duration has expired; An optical signal generating unit, used for generating an optical signal; An optical signal sending unit is used to send an optical signal to a PON port of an OLT via an uplink, so that an optical module of the PON port generates an SD signal indicating that an optical signal is detected, and the SD signal is sent to a MAC chip and an external interrupt pin of a control unit corresponding to the PON port. The control unit controls the PON port to recover from a power-saving state to a working state based on the SD signal received from the external interrupt pin; wherein the external interrupt pin of the control unit is disabled when the PON port is in a normal working state, and enabled when it is in a power-saving state.

10. An energy-saving control device, characterized in that: include: A determination unit, a closing unit, a detection unit, an optical signal generating unit, an optical signal sending unit and a control unit, wherein: A determination unit, used to determine that the PON port is in an idle state or will be in an idle state; A shut-down unit, used to shut down the downlink resources and components of the PON port, at which time the working state of the PON port changes from an idle state to an energy-saving state; A detection unit, used for detecting an uplink optical signal; an optical signal generating unit, configured to generate an SD signal indicating that an optical signal is detected; An optical signal sending unit, used to send the SD signal to the MAC chip and the control unit external interrupt pin corresponding to the PON port; The control unit is used to control the PON port to recover from the energy-saving state to the working state based on the SD signal received from the external interrupt pin of the control unit; wherein the external interrupt pin of the control unit is disabled when the PON port is in the normal working state and enabled when it is in the energy-saving state.

11. The energy-saving control device according to claim 10, characterized in that: The device also includes: The message sending unit is used to send a Ploam message through a downlink after the determining unit determines that the PON port is in an idle state or will be in an idle state and before the closing unit closes the downlink resources and components of the PON port, so that all online ONUs under the PON port are in a sleep state.

12. The energy-saving control device according to claim 10 or 11, characterized in that: The control unit is specifically used to receive the SD signal from the external interrupt pin through the control unit interrupt controller, generate an external interrupt, and open the downlink resources and components under the PON port based on the external interrupt.