CN-122001485-A - Energy-saving state control method, device, equipment, system and medium
Abstract
Discloses a control method, a device, equipment, a system and a medium for an energy-saving state, belonging to the technical field of optical communication. The method is performed by a master device that is connected to a plurality of slave devices via optical fibers. The method comprises the steps that a master device determines that a plurality of slave devices connected with the master device are in an energy-saving state, and sends energy-saving indication information to the plurality of slave devices, wherein the energy-saving indication information is used for indicating the slave devices to set the energy-saving state based on energy-saving configuration information, and the energy-saving configuration information comprises duration of a sleep state and duration of an awake state. The method can reduce the synchronization of the energy-saving states of a plurality of slave devices.
Inventors
- LI HONGBO
- CHU YUNSHENG
- LI JING
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (20)
- 1. A control method for an energy saving state, applied to a master device, the master device being connected to a plurality of slave devices through optical fibers, comprising: determining that at least two slave devices in a power saving state exist in the plurality of slave devices; And sending energy-saving indication information to the at least two slave devices, wherein the energy-saving indication information is used for indicating the slave devices to set an energy-saving state based on energy-saving configuration information, and the energy-saving configuration information comprises the duration of a sleep state and the duration of an awake state.
- 2. The method of claim 1, wherein the power saving indication message is a sleep enable message.
- 3. A method according to claim 1 or 2, characterized in that the power saving indication message is used to force the slave device into a power saving state.
- 4. The method of claim 3, wherein the power saving indication message is used to force the slave device to enter an awake state in a last power saving state, or to force the slave device to enter a doze awake state, or to force the slave device to enter a sleep awake state.
- 5. The method according to any one of claims 1 to 4, further comprising: And before the energy saving indication message is sent to the at least two slave devices, a wake-up message is sent to the at least two slave devices.
- 6. The method of claim 5, wherein the wake-up message is a sleep enable off message or a forced wake-up indication.
- 7. The method according to claim 5 or 6, characterized in that the method further comprises: And sending the energy-saving configuration information to the at least two slave devices.
- 8. The method of claim 7, wherein the transmitting power saving configuration information to the plurality of slave devices comprises: transmitting an OMCI message to the at least two slave devices, wherein the OMCI message carries the energy-saving configuration information, or And sending a physical layer operation management and maintenance PLOAM message to the at least two slave devices, wherein the PLOAM message carries the energy-saving configuration information.
- 9. The method of claim 8, wherein the sending OMCI messages to the plurality of slave devices comprises: The OMCI message is sent to the at least two slave devices after the wake-up message is sent to the at least two slave devices and before the power saving indication message is sent to the at least two slave devices.
- 10. The method according to any one of claims 1 to 4, wherein the power saving indication message includes a first time, the power saving indication message being used for indicating that the slave device takes the first time as a start time of a first awake state, the first awake state being a next awake state of an awake state in which the slave device receives the power saving indication message; or the energy saving indication message comprises a second time, and the energy saving indication message indicates that the slave device takes the second time as the ending time of the second wake-up state.
- 11. The method according to any one of claims 1 to 4 and claim 10, further comprising: And sending the energy-saving configuration information to the at least two slave devices.
- 12. The method of claim 11, wherein the transmitting the power saving configuration information to the at least two slave devices comprises: and sending an OMCI message of an optical network unit management control interface to the at least two slave devices, wherein the OMCI message carries the energy-saving configuration information.
- 13. The method according to any one of claims 1 to 12, further comprising: upon receiving a sleep power save request sent by one of the plurality of slave devices, determining whether there are at least two slave devices in a power save state for the plurality of slave devices, or Periodically determining whether there are at least two slave devices in a power saving state for the plurality of slave devices.
- 14. A method of controlling a power saving state, applied to a first slave device, the method comprising: Receiving an energy-saving indication message, wherein the energy-saving indication message is sent by a master device after determining that at least two slave devices in an energy-saving state exist in a plurality of slave devices, the master device is connected with the plurality of slave devices through optical fibers, the first slave device is one of the at least two slave devices, and the energy-saving indication message is used for indicating the slave device to set the energy-saving state based on energy-saving configuration information, and the energy-saving configuration information comprises duration of a sleep state and duration of an awake state; and setting an energy-saving state according to the energy-saving indication message.
- 15. The method of claim 14, wherein the power saving indication message is a sleep enable message.
- 16. A method according to claim 14 or 15, wherein the power saving indication message is used to force the slave device into a power saving state.
- 17. The method of claim 16, wherein the power saving indication message is used to force the slave device to enter an awake state in a last power saving state, or to force the slave device to enter a doze awake state, or to force the slave device to enter a sleep awake state.
- 18. The method according to any one of claims 14 to 17, further comprising: And receiving a wake-up message, wherein the wake-up message is sent by the main device before the energy-saving indication message is sent.
- 19. The method of claim 18, wherein the wake-up message is a sleep enable off message or a forced wake-up indication.
- 20. The method according to claim 18 or 19, characterized in that the method further comprises: And receiving the energy-saving configuration information sent by the main equipment.
Description
Energy-saving state control method, device, equipment, system and medium Technical Field The present application relates to the field of optical communications technologies, and in particular, to a method, an apparatus, a device, a system, and a medium for controlling an energy saving state. Background In an optical access network, the problem of power consumption of optical communication devices is receiving a great deal of attention. In the related art, some energy-saving management policies are formulated for ONUs in a PON (passive optical network) system. In case the optical line terminal (opticallineterminal, OLT) allows the optical network unit (opticalnetworkunit, ONU) to enter the power saving state, if the ONU needs to enter the power saving state, a sleep request message is sent to the OLT to enter the power saving state. And in the energy-saving state, the ONU is circularly switched between an awake state and a low-power-consumption state, wherein in the low-power-consumption state, part of modules of the ONU are fixedly closed, and part of modules are periodically opened, so that the power consumption of the ONU is reduced. However, since the time at which each ONU enters the power saving state is different, the duration of the awake state and the duration of the low power consumption state may also be different, and thus the power saving states of the respective ONUs are unsynchronized. Disclosure of Invention The application provides a control method, a device, equipment, a system and a medium for an energy-saving state, which can realize the synchronization of the energy-saving states of a plurality of slave devices. In a first aspect, the present application provides a method for controlling an energy saving state. The control method of the power saving state is performed by the master device. The master device is connected to a plurality of slave devices through optical fibers. The control method of the energy-saving state comprises the steps that a master device determines that at least two slave devices in the energy-saving state exist in the plurality of slave devices, and energy-saving indication information is sent to the at least two slave devices in the energy-saving state, wherein the energy-saving indication information is used for indicating the slave devices to set the energy-saving state based on energy-saving configuration information, and the energy-saving configuration information comprises duration of a sleep state and duration of a wake-up state. After the plurality of slave devices receive the energy-saving indication message, the energy-saving state is set based on the energy-saving configuration information, so that the synchronization of the energy-saving states of the plurality of slave devices can be realized. That is, the present application can achieve synchronization of the power saving state of at least part of the slave devices connected to the master device. Here, synchronization of the power saving states of the plurality of slave devices means that the plurality of slave devices simultaneously enter the power saving state, simultaneously enter the sleep state from the awake state, and simultaneously transition from the sleep state to the awake state. Optionally, the power saving state of the slave device includes a sleep state, a sleep awake state, a doze state, and a doze awake state. The slave device is in a sleep state and a doze state, at least part of the modules of the slave device are turned off to reduce the power consumption of the slave device. The sleeping state and the dozing state have the same duration, and the sleeping wake-up state and the dozing wake-up state have the same duration. When the slave device is in the sleep state and the doze state, the master device needs to store downlink data of the slave device, and the downlink data is sent to the slave device after the slave device enters the sleep awake state or the doze awake state. Therefore, when the sleep state is long and the energy-saving states of the slave devices are not synchronous, if the downlink data of the plurality of slave devices need to be queued for transmission, the slave devices corresponding to the downlink data received first may be in the sleep state or the doze state, so that the downlink data received later cannot be transmitted to the corresponding slave devices. The downlink data transmission of the plurality of slave devices is blocked, so that the data amount required to be stored by the master device is larger, and the storage capacity requirement of the master device is higher. By synchronizing the energy-saving states of the slave devices, the application can send out the downlink data of each slave device in the wake-up state, thereby avoiding the situation of downlink data blocking and further reducing the requirement on the storage capacity of the master device. Optionally, the energy saving indication message is a sleep permission message. The energy-sav