CN111490824B - Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium - Google Patents

Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium Download PDF

Info

Publication number
CN111490824B
CN111490824B CN202010165214.XA CN202010165214A CN111490824B CN 111490824 B CN111490824 B CN 111490824B CN 202010165214 A CN202010165214 A CN 202010165214A CN 111490824 B CN111490824 B CN 111490824B
Authority
CN
China
Prior art keywords
signal
optical communication
state
sending
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010165214.XA
Other languages
Chinese (zh)
Other versions
CN111490824A (en
Inventor
张瑞敏
权少强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Lianzhou International Technology Co ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN202010165214.XA priority Critical patent/CN111490824B/en
Publication of CN111490824A publication Critical patent/CN111490824A/en
Application granted granted Critical
Publication of CN111490824B publication Critical patent/CN111490824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses an energy-saving method and device of optical communication equipment, the optical communication equipment and a storage medium, wherein the method comprises the following steps: when detecting that a second device establishing communication connection with a first device supports a power consumption reduction function, if the first device does not transmit data to the second device within a first preset time period, the first device turns off a sending module of the first device and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; after entering the sleep state, if it is determined that the data transceiver of the first device does not send a data sending request within a second preset time period, the idle signal and the sleep signal are stopped being sent to the second device, and a turn-off signal is sent to the second device to enter a turn-off state. The invention can reduce the power consumption of the optical communication equipment.

Description

Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an energy saving method and apparatus for an optical communication device, and a storage medium.
Background
Optical fiber communication technology stands out from optical communication, has become one of the main pillars of modern communication, and plays a very important role in modern telecommunication networks.
The optical fiber communication has time locality, especially when facing household and commercial use, the optical fiber communication shows strong time locality, that is, the optical communication is not continuous and continuous, but can be intermittent, such as an optical port of a company computer, which only transmits data intermittently during working hours, but stops transmitting data at night, and even during working hours, the transmitted data is local, and the mutual transmission of data is not required continuously.
However, in the process of implementing the present invention, the inventor finds that, currently, when part of the optical communication devices stop performing data transmission, their sending modules are still in continuous operation, which results in waste of energy.
Disclosure of Invention
Embodiments of the present invention provide an energy saving method and apparatus for an optical communication device, and a storage medium, which can reduce power consumption of the optical communication device and achieve energy saving with higher efficiency.
In order to achieve the above object, an embodiment of the present invention provides an energy saving method for an optical communication device, including:
when detecting that a second device establishing communication connection with a first device supports a power consumption reduction function, if the first device does not transmit data to the second device within a first preset time period, the first device turns off a sending module of the first device and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; wherein the sleep signal is to instruct the second device to maintain a communication connection with the first device;
after the first device enters the dormant state, if the data transceiver of the first device does not send a data sending request within a second preset time period, stopping sending the idle signal and the sleep signal to the second device, and sending a turn-off signal to the second device to enter a turn-off state; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
As an improvement of the above solution, the first device detects whether the second device with which the communication connection is established supports the power consumption reduction function by:
the first device sending an interrogation signal to the second device; wherein the query signal is to query whether the second device supports a reduced power consumption function;
the first equipment receives a response signal sent by the second equipment; wherein the reply signal is to indicate whether the second device supports a reduced power consumption function;
and the first equipment determines whether the second equipment supports the power consumption reduction function or not according to the response signal.
As an improvement of the above scheme, when it is detected that a second device establishing a communication connection with the first device supports a power consumption reduction function, if it is determined that the first device does not transmit data to the second device within a first preset time period, the first device turns off a sending module of the first device, and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state, specifically including:
when the first device detects that a second device establishing communication connection with the first device supports a power consumption reduction function, if the first device detects that a data transceiver of the first device does not transmit data to the second device currently, whether the data transceiver of the first device transmits data to the second device is detected at a preset detection frequency within a first preset time period;
when the first device detects that the data transceiver of the first device does not transmit data to the second device within the first preset time period, the first device turns off the sending module of the first device and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; wherein the sleep signal is used to instruct the second device to maintain a communication connection with the first device.
As an improvement of the above scheme, the energy saving method of the optical communication device further includes the steps of:
after the first device enters the dormant state, if the data transceiver of the first device is judged to send a data sending request, the sending module of the first device is controlled to be recovered to a normal working state, and the idle signal and the sleep signal are stopped being sent to the second device so as to enter an optical communication state.
As an improvement of the above scheme, the energy saving method of the optical communication device further includes the steps of:
after the first device enters the off state, if the data transceiver of the first device is judged to send a data sending request, the sending module of the first device is controlled to be restored to the normal working state so as to enter the optical communication state.
As an improvement of the above scheme, the energy saving method of the optical communication device further includes the steps of:
after entering an optical communication state, the first device continuously sends starting data to the second device within a third preset time period; wherein the initiation data is used to instruct the second device to start normal communication.
Correspondingly, an embodiment of the present invention further provides an energy saving device for an optical communication device, including:
the first control module is used for turning off a sending module of the first equipment and sending an idle signal and a sleep signal to the second equipment at a preset sending frequency to enter a dormant state if the first equipment is judged not to transmit data to the second equipment within a first preset time period when the second equipment which establishes communication connection with the first equipment supports the power consumption reduction function; wherein the sleep signal is to instruct the second device to maintain a communication connection with the first device;
the second control module is used for stopping sending the idle signal and the sleep signal to the second equipment and sending a turn-off signal to the second equipment to enter a turn-off state if the data transceiver of the first equipment does not send a data sending request within a second preset time period after entering the sleep state; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
An embodiment of the present invention further provides an optical communication device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the processor implements the energy saving method of the optical communication device as described in any one of the above.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the energy saving method of the optical communication apparatus according to any one of the above.
Compared with the prior art, according to the energy saving method and device for the optical communication device, the optical communication device and the storage medium provided by the embodiment of the invention, when the first device detects that the second device establishing communication connection with the first device supports the function of reducing power consumption, if the first device is judged not to transmit data to the second device within a first preset time period, the sending module of the first device is turned off, and an idle signal and a sleep signal are sent to the second device at a preset sending frequency so as to enter a sleep state; after the first device enters the sleep state, if the data transceiver of the first device does not send a data sending request within a second preset time period, the first device stops sending the idle signal and the sleep signal to the second device, and sends a turn-off signal to the second device to enter the turn-off state. In the working process of the optical communication equipment, when the fact that the second equipment which establishes communication connection with the optical communication equipment supports the power consumption reduction function is detected, the sending module of the equipment is controlled to be turned off and signals are controlled to be transmitted according to the current idle time of the equipment, so that the optical communication power consumption of the equipment is reduced, the problem that in the prior art, when the optical communication equipment stops data transmission, the sending module of the optical communication equipment still works continuously, energy is wasted is solved, and energy saving with high efficiency is achieved.
Drawings
Fig. 1 is a flowchart illustrating an energy saving method for an optical communication device according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an optical communication device according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating an energy saving method for an optical communication device according to another embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an energy saving apparatus of an optical communication device according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an optical communication device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flowchart of an energy saving method for an optical communication device according to an embodiment of the present invention.
The energy saving method of the optical communication device provided in the embodiment of the present invention may be executed by an optical communication energy saving control module in the optical communication device, where the optical communication energy saving control module may be embedded in a conventional optical communication driving conversion module (i.e., an optical signal and electrical signal conversion part), or may be integrated into a data transceiver.
The energy saving method for the optical communication device provided by the embodiment of the invention comprises the following steps from S11 to S12:
s11, when detecting that a second device establishing communication connection with a first device supports a power consumption reduction function, if the first device does not transmit data to the second device within a first preset time period, turning off a sending module of the first device, and sending an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; wherein the sleep signal is used to instruct the second device to maintain a communication connection with the first device.
The IDLE signal, i.e. the IDLE signal, may be used to indicate that the first device is in an IDLE state.
It should be noted that, if the second device can also implement the above-mentioned power saving method of the optical communication device, the second device supports the power consumption reduction function. If the second device does not support the reduced power consumption function, the first device operates according to a conventional optical communication strategy.
In this embodiment, if it is determined that the first device does not transmit data to the second device within the first preset time period, the sending module of the first device is turned off, at this time, not only the laser of the sending module stops working, but also the signal amplification unit and the like in the sending module are turned off together, so that the problem of energy waste caused by continuous working of the sending module can be effectively avoided, and the idle signal and the sleep signal are sent to the second device at the preset sending frequency, so that the first device works in the sleep state, and thus the energy consumption of the optical communication device within the short idle time is reduced.
In an optional implementation manner, when detecting that a second device establishing a communication connection with a first device supports a power consumption reduction function, if it is determined that the first device is transmitting data to the second device, the first device starts or maintains a normal operation of a sending module, that is, if the first device is in an optical communication state in a previous state, the first device maintains a normal operation state of the sending module of the first device, and if the first device enters a sleep state in the previous state, the sending module of the first device needs to be controlled to resume the normal operation.
Specifically, the first device detects whether a second device establishing a communication connection with the first device supports a power consumption reduction function by the following steps:
s1111, the first device sends an inquiry signal to the second device; wherein the query signal is to query whether the second device supports a reduced power consumption function;
s1112, the first device receives a response signal sent by the second device; wherein the reply signal is to indicate whether the second device supports a reduced power consumption function;
s1113, the first device determines whether the second device supports the power consumption reduction function according to the response signal.
In an optional embodiment, the step S11 includes steps S1121 through S1122, which are as follows:
s1121, when it is detected that a second device establishing a communication connection with the first device supports a power consumption reduction function, if it is detected that a data transceiver of the first device does not transmit data to the second device currently, detecting, within a first preset time period, whether the data transceiver of the first device transmits data to the second device at a preset detection frequency;
s1122, when detecting that the data transceiver of the first device does not transmit data to the second device within the first preset time period, the first device turns off the sending module of the first device, and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; wherein the sleep signal is used to instruct the second device to maintain a communication connection with the first device.
In particular, the first preset time period and the preset detection frequency may be set according to actual needs, and are not limited herein.
After receiving the sleep signal, the second device may maintain the communication connection state with the first device until the sleep signal is not received after exceeding a preset time interval, where the preset time interval may be set according to actual needs, and is not limited herein, and optionally, the preset time interval may be 0.5 second.
S12, after the first device enters the sleep state, if it is determined that the data transceiver of the first device has not sent a data sending request within a second preset time period, stopping sending the idle signal and the sleep signal to the second device, and sending a shutdown signal to the second device to enter a shutdown state; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
It should be noted that, in a specific implementation, the second preset time period may be set according to an actual situation, and is not limited herein.
Because the embodiment of the invention adopts the interrupt mechanism, after the first device enters the dormant state, if the first device does not need to send communication data for a long time, namely the data transceiver of the first device does not send a data sending request in the second preset time period, the first device can enter the shutdown state instead of sending an idle signal and a sleep signal at a certain frequency, and only starts to send the shutdown signal at the startup of the shutdown state, so that the energy consumption caused by sending the idle signal and the sleep signal at a certain frequency is further reduced, and the purpose of greatly saving the power consumption of the sending module during long-time idling is realized.
In an alternative embodiment, the first device in an embodiment of the present invention is configured as shown in fig. 2. The data transceiver 11 is mainly responsible for receiving and transmitting data signals. The transmitting module 12 is mainly responsible for converting the data signal transmitted from the data transmitter 11 into a driving signal suitable for driving the laser 13, and generally includes units for serial data decoding, amplifying, driving, and the like. The laser 13 is mainly responsible for emitting a corresponding optical signal under the driving of a driving signal. The receiving module 14 is mainly responsible for converting the optical signal input by the laser 13 into an electrical signal, and performing amplification, filtering, conversion, and the like. The optical communication energy saving control module 15 is responsible for implementing the above energy saving method of the optical communication device to reduce the energy consumption of the optical communication, wherein the optical communication energy saving control module 15 receives the response signal of the second device through the receiving module 14 to determine whether the second device supports the power consumption reduction function, determines whether there is a need for data transmission by determining whether a data sending request sent by the data transceiver 11 is received, and controls the sending module 12 to turn off by sending a control signal to the sending module 12.
In the energy saving method for an optical communication device provided in the embodiment of the present invention, when a first device detects that a second device establishing a communication connection with the first device supports a power consumption reduction function, if it is determined that the first device does not transmit data to the second device within a first preset time period, a sending module of the first device is turned off, and an idle signal and a sleep signal are sent to the second device at a preset sending frequency to enter a sleep state; after the first device enters the sleep state, if the data transceiver of the first device does not send a data sending request within a second preset time period, the first device stops sending the idle signal and the sleep signal to the second device, and sends a turn-off signal to the second device to enter the turn-off state. In the working process of the optical communication equipment, when the fact that the second equipment which establishes communication connection with the optical communication equipment supports the power consumption reduction function is detected, the sending module of the equipment is controlled to be turned off and signals are controlled to be transmitted according to the current idle time of the equipment, so that the optical communication power consumption of the equipment is reduced, the problem that in the prior art, when the optical communication equipment stops data transmission, the sending module of the optical communication equipment still works continuously, energy is wasted is solved, and energy saving with high efficiency is achieved.
Preferably, referring to fig. 3, the method for saving power of an optical communication device further includes step S13:
s13, after the first device enters the hibernation state, if it is determined that the data transceiver of the first device sends a data sending request, controlling the sending module of the first device to resume to a normal operating state, and stopping sending the idle signal and the sleep signal to the second device to enter an optical communication state.
After the first device enters the sleep state, the optical communication energy-saving control module still monitors whether the data transceiver needs to send data at any time, if the data transceiver restarts a data sending request, the data sending request is equivalent to an interrupt signal for the optical communication energy-saving control module, and the interrupt signal can enable the optical communication energy-saving control module to enable the sending module to be separated from the sleep state and enter a normal optical communication state.
Preferably, referring to fig. 3, the method for saving power of an optical communication device further includes step S14:
and S14, after the first device enters the off state, if the data transceiver of the first device is judged to send a data sending request, controlling the sending module of the first device to be restored to the normal working state so as to enter the optical communication state.
After the first device enters the off state, the optical communication energy-saving control module still monitors whether the data transceiver needs to send data at any time, if the data transceiver restarts a data sending request, the data sending request is equivalent to an interrupt signal for the optical communication energy-saving control module, and the interrupt signal can enable the optical communication energy-saving control module to enable the sending module to be separated from the off state and enter a normal optical communication state.
Preferably, referring to fig. 3, the method for saving power of an optical communication device further includes step S15:
s15, after the first device enters the optical communication state, starting data are continuously sent to the second device within a third preset time period; wherein the initiation data is used to instruct the second device to start normal communication.
The starting data may be an Idle signal, or may be a data stream in other forms, which is not limited herein. Due to the controlled time delay, when the PHY chip of the first device starts data transmission each time, start data of a period of time needs to be sent to start normal data transmission, where the start data is an initial signal for restarting communication, and it is also convenient for the second device to perform clock recovery work and respond to interrupt trigger before starting normal communication. In a specific implementation, the third preset time period may be set according to an actual situation, for example, set according to a time delay of turning on a PHY chip of the first device, which is not limited herein.
The embodiment of the invention also provides an energy-saving device of the optical communication equipment, which can implement all the processes of the energy-saving method of the optical communication equipment.
Fig. 4 is a schematic structural diagram of an energy saving device of an optical communication apparatus according to an embodiment of the present invention.
The energy-saving device of the optical communication equipment provided by the embodiment of the invention comprises:
the first control module 21 is configured to, when it is detected that a second device establishing a communication connection with the first control module supports a power consumption reduction function, turn off a sending module of the first device and send an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state if it is determined that the first device does not transmit data to the second device within a first preset time period; wherein the sleep signal is to instruct the second device to maintain a communication connection with the first device;
the second control module 22 is configured to, after entering the sleep state, stop sending the idle signal and the sleep signal to the second device and send a shutdown signal to the second device to enter a shutdown state if it is determined that the data transceiver of the first device does not send a data sending request within a second preset time period; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
The principle of the energy saving device of the optical communication device for realizing energy saving of the optical communication device is the same as that of the above embodiment, and is not described herein again.
In the energy saving apparatus for an optical communication device provided in the embodiment of the present invention, when a first device detects that a second device establishing a communication connection with the first device supports a power consumption reduction function, if it is determined that the first device does not transmit data to the second device within a first preset time period, a sending module of the first device is turned off, and an idle signal and a sleep signal are sent to the second device at a preset sending frequency to enter a sleep state; after the first device enters the sleep state, if the data transceiver of the first device does not send a data sending request within a second preset time period, the first device stops sending the idle signal and the sleep signal to the second device, and sends a turn-off signal to the second device to enter the turn-off state. In the working process of the optical communication equipment, when the fact that the second equipment which establishes communication connection with the optical communication equipment supports the power consumption reduction function is detected, the sending module of the equipment is controlled to be turned off and signals are controlled to be transmitted according to the current idle time of the equipment, so that the optical communication power consumption of the equipment is reduced, the problem that in the prior art, when the optical communication equipment stops data transmission, the sending module of the optical communication equipment still works continuously, energy is wasted is solved, and energy saving with high efficiency is achieved.
Fig. 5 is a schematic structural diagram of an optical communication device according to an embodiment of the present invention.
An optical communication device provided in an embodiment of the present invention includes a processor 31, a memory 32, and a computer program stored in the memory 32 and configured to be executed by the processor 31, where the processor 31 implements the energy saving method of the optical communication device according to any of the above embodiments when executing the computer program.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the energy saving method of the optical communication apparatus according to any of the above embodiments.
The processor 31, when executing the computer program, implements the steps in the above-mentioned embodiments of the power saving method for an optical communication apparatus, such as all the steps of the power saving method for an optical communication apparatus shown in fig. 1. Alternatively, the processor 31, when executing the computer program, implements the functions of each module/unit in the energy saving device embodiment of the optical communication apparatus, for example, the functions of each module of the energy saving device of the optical communication apparatus shown in fig. 4.
Illustratively, the computer program may be divided into one or more modules, which are stored in the memory 32 and executed by the processor 31 to accomplish the present invention. The one or more modules may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the optical communication device. For example, the computer program may be divided into a first control module and a second control module, each module having the following specific functions: the first control module is used for turning off a sending module of the first equipment and sending an idle signal and a sleep signal to the second equipment at a preset sending frequency to enter a dormant state if the first equipment is judged not to transmit data to the second equipment within a first preset time period when the second equipment which establishes communication connection with the first equipment supports the power consumption reduction function; wherein the sleep signal is to instruct the second device to maintain a communication connection with the first device; the second control module is used for stopping sending the idle signal and the sleep signal to the second equipment and sending a turn-off signal to the second equipment to enter a turn-off state if the data transceiver of the first equipment does not send a data sending request within a second preset time period after entering the sleep state; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
The optical communication device may include, but is not limited to, a processor 31, a memory 32. It will be understood by those skilled in the art that the schematic diagram is merely an example of an optical communication device and does not constitute a limitation of an optical communication device, and may include more or less components than those shown, or combine certain components, or different components, for example, the optical communication device may also include an input-output device, a network access device, a bus, etc.
The Processor 31 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 31 is a control center of the optical communication device and connects various parts of the whole optical communication device by using various interfaces and lines.
The memory 32 can be used for storing the computer programs and/or modules, and the processor 31 can implement various functions of the optical communication device by running or executing the computer programs and/or modules stored in the memory 32 and calling the data stored in the memory 32. The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the optical communication apparatus, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the integrated module/unit of the optical communication device can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A method for conserving power in an optical communication device, comprising:
when detecting that a second device establishing communication connection with a first device supports a power consumption reduction function, if the first device does not transmit data to the second device within a first preset time period, the first device turns off a sending module of the first device and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; wherein the sleep signal is to instruct the second device to maintain a communication connection with the first device;
after the first device enters the dormant state, if the data transceiver of the first device does not send a data sending request within a second preset time period, stopping sending the idle signal and the sleep signal to the second device, and sending a turn-off signal to the second device to enter a turn-off state; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
2. The power saving method of an optical communication device according to claim 1, wherein the first device detects whether a second device with which a communication connection is established supports a power consumption reduction function by:
the first device sending an interrogation signal to the second device; wherein the query signal is to query whether the second device supports a reduced power consumption function;
the first equipment receives a response signal sent by the second equipment; wherein the reply signal is to indicate whether the second device supports a reduced power consumption function;
and the first equipment determines whether the second equipment supports the power consumption reduction function or not according to the response signal.
3. The method according to claim 1 or 2, wherein when detecting that a second device establishing a communication connection with the first device supports a power consumption reduction function, if it is determined that the first device does not transmit data to the second device within a first preset time period, the first device turns off a sending module of the first device, and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state, specifically comprising:
when the first device detects that a second device establishing communication connection with the first device supports a power consumption reduction function, if the first device detects that a data transceiver of the first device does not transmit data to the second device currently, whether the data transceiver of the first device transmits data to the second device is detected at a preset detection frequency within a first preset time period;
when the first device detects that the data transceiver of the first device does not transmit data to the second device within the first preset time period, the first device turns off the sending module of the first device and sends an idle signal and a sleep signal to the second device at a preset sending frequency to enter a sleep state; wherein the sleep signal is used to instruct the second device to maintain a communication connection with the first device.
4. The power saving method of an optical communication device as claimed in claim 1, further comprising the steps of:
after the first device enters the dormant state, if the data transceiver of the first device is judged to send a data sending request, the sending module of the first device is controlled to be recovered to a normal working state, and the idle signal and the sleep signal are stopped being sent to the second device so as to enter an optical communication state.
5. The power saving method of an optical communication device as claimed in claim 1, further comprising the steps of:
after the first device enters the off state, if the data transceiver of the first device is judged to send a data sending request, the sending module of the first device is controlled to be restored to the normal working state so as to enter the optical communication state.
6. The power saving method of the optical communication device according to claim 4 or 5, further comprising the steps of:
after entering an optical communication state, the first device continuously sends starting data to the second device within a third preset time period; wherein the initiation data is used to instruct the second device to start normal communication.
7. An energy-saving device of an optical communication device, applied to a first device, includes:
the first control module is used for turning off a sending module of the first equipment and sending an idle signal and a sleep signal to the second equipment at a preset sending frequency to enter a dormant state if the first equipment is judged not to transmit data to the second equipment within a first preset time period when the second equipment which establishes communication connection with the first equipment supports the power consumption reduction function; wherein the sleep signal is to instruct the second device to maintain a communication connection with the first device;
the second control module is used for stopping sending the idle signal and the sleep signal to the second equipment and sending a turn-off signal to the second equipment to enter a turn-off state if the data transceiver of the first equipment does not send a data sending request within a second preset time period after entering the sleep state; wherein the turn-off signal is used for indicating that the current state of the first device is a turn-off state.
8. An optical communication device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of saving power of the optical communication device of any one of claims 1-6 when executing the computer program.
9. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method for saving power of an optical communication apparatus according to any one of claims 1 to 6.
CN202010165214.XA 2020-03-11 2020-03-11 Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium Active CN111490824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010165214.XA CN111490824B (en) 2020-03-11 2020-03-11 Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010165214.XA CN111490824B (en) 2020-03-11 2020-03-11 Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111490824A CN111490824A (en) 2020-08-04
CN111490824B true CN111490824B (en) 2021-11-12

Family

ID=71811712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010165214.XA Active CN111490824B (en) 2020-03-11 2020-03-11 Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111490824B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879888A (en) * 2021-01-21 2022-08-09 深圳市万普拉斯科技有限公司 Interaction method, device, system and mobile terminal
CN113872776B (en) * 2021-08-21 2023-08-18 苏州浪潮智能科技有限公司 Energy saving method, system, storage medium and equipment
CN114167504B (en) * 2021-11-01 2024-02-20 北京龙智数科科技服务有限公司 Detector power supply control method, device and system, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938677A (en) * 2010-09-25 2011-01-05 索尔思光电(成都)有限公司 10G EPON (Ethernet Passive Optical Network) single-fiber bidirectional energy-saving optical module
CN102204131A (en) * 2008-11-05 2011-09-28 泰克诺沃斯公司 Epon with power-saving features
CN102402272A (en) * 2010-09-16 2012-04-04 瑞昱半导体股份有限公司 Electronic device with network connecting function and method applied to same
CN102932697A (en) * 2012-10-12 2013-02-13 青岛海信宽带多媒体技术有限公司 Passive optical network and low-power-consumption control method thereof and optical network unit
EP2955932A1 (en) * 2010-04-13 2015-12-16 Mitsubishi Electric Corporation Communication system, station-side optical line terminating apparatus, user-side optical line terminating apparatus, control apparatus, and communication method
CN105357094A (en) * 2009-08-21 2016-02-24 三菱电机株式会社 PON (passive optical network) system, entrant side terminal device, station side terminal device and electric power saving method
CN205584209U (en) * 2016-04-18 2016-09-14 深圳市博力扬光电技术有限公司 Energy -conserving optical transmitter and receiver
CN110492929A (en) * 2019-07-29 2019-11-22 普联技术有限公司 A kind of fiber optic telecommunications module, control method and optical fiber communication equipment
CN110557807A (en) * 2018-05-31 2019-12-10 电信科学技术研究院有限公司 Method for carrying out communication in sleep state of terminal and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873518B (en) * 2010-05-28 2013-01-16 烽火通信科技股份有限公司 Energy saving method of ONU (Optical Network Unit) in XG-PON (10 Gigabit-Capable Passive Optical Network) system or GPON (Gigabit-Capable Passive Optical Network) system
CN101969584A (en) * 2010-10-27 2011-02-09 烽火通信科技股份有限公司 Optical network unit (ONU) energy-saving method for improving bandwidth utilization rate
CN110677903B (en) * 2019-10-28 2022-09-09 华为终端有限公司 Dormancy control method, apparatus, medium and system for wireless access device, and wireless access device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204131A (en) * 2008-11-05 2011-09-28 泰克诺沃斯公司 Epon with power-saving features
CN105357094A (en) * 2009-08-21 2016-02-24 三菱电机株式会社 PON (passive optical network) system, entrant side terminal device, station side terminal device and electric power saving method
EP2955932A1 (en) * 2010-04-13 2015-12-16 Mitsubishi Electric Corporation Communication system, station-side optical line terminating apparatus, user-side optical line terminating apparatus, control apparatus, and communication method
CN102402272A (en) * 2010-09-16 2012-04-04 瑞昱半导体股份有限公司 Electronic device with network connecting function and method applied to same
CN101938677A (en) * 2010-09-25 2011-01-05 索尔思光电(成都)有限公司 10G EPON (Ethernet Passive Optical Network) single-fiber bidirectional energy-saving optical module
CN102932697A (en) * 2012-10-12 2013-02-13 青岛海信宽带多媒体技术有限公司 Passive optical network and low-power-consumption control method thereof and optical network unit
CN205584209U (en) * 2016-04-18 2016-09-14 深圳市博力扬光电技术有限公司 Energy -conserving optical transmitter and receiver
CN110557807A (en) * 2018-05-31 2019-12-10 电信科学技术研究院有限公司 Method for carrying out communication in sleep state of terminal and terminal
CN110492929A (en) * 2019-07-29 2019-11-22 普联技术有限公司 A kind of fiber optic telecommunications module, control method and optical fiber communication equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
节能型SFP EPON ONU模块设计;郭松松;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150415;全文 *

Also Published As

Publication number Publication date
CN111490824A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN111490824B (en) Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium
CN100373299C (en) Method for controlling data communication between two processor and bi-processor device
US9032227B2 (en) Wireless communication apparatus and power management method for the same
CN106358273B (en) Low-power consumption communication device
US8538359B2 (en) Methods and apparatuses of network system with power saving functions
US6934870B1 (en) Clock management scheme for PCI and cardbus cards for power reduction
CN110290574B (en) Data transmission method, device, equipment, system and storage medium
CN110943782A (en) Energy-saving method and device for optical network unit, optical network unit and storage medium
CN107295615A (en) A kind of method of wake on wireless equipment
CN102637139A (en) Method, device and single panel for feeding watchdog by embedded system
JP6785332B2 (en) Bluetooth speaker Data processing method, device and bluetooth speaker
US20190215771A1 (en) Beacon signal processing system and filtering method of reducing wake-up frequency
WO2017063468A1 (en) Power consumption control method, device and computer storage medium
CN114035477A (en) Equipment awakening method, device and system
US11157290B2 (en) Method and circuit for waking up I2C device
JP2009248711A (en) On-vehicle communication system
CN114083984B (en) New energy vehicle static power supply control method and system
CN111246549A (en) Method and device for providing node dormancy and wakeup time
CN112888050B (en) Equipment energy saving method and device and computer storage medium
EP3410736B1 (en) Onu state transition method, onu, and computer storage medium
CN113329471A (en) Method, system, storage medium, and electronic device for establishing peer-to-peer communication
KR101730264B1 (en) Method and Apparatus for Low Power Wireless Sensor Network Communication Using Shared Channel Wake-up Transceiver in Wireless Sensor Networks
CN110621056A (en) NB-IoT terminal mode switching method, device and storage medium
WO2023273855A1 (en) Power consumption control method and apparatus for onu, and electronic device and storage medium
KR100928651B1 (en) Event-based Sensor Node for Low Power and Its Operation Method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220610

Address after: Floor 12-17, unit 1, building 2, No. 466, Xinyu Road, high tech Zone, Chengdu, Sichuan 610000

Patentee after: Chengdu Lianzhou International Technology Co.,Ltd.

Address before: 518000 the 1st and 3rd floors of the south section of building 24 and the 1st-4th floor of the north section of building 28, Shennan Road Science and Technology Park, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: TP-LINK TECHNOLOGIES Co.,Ltd.