CN113872776A - Energy-saving method, system, storage medium and equipment - Google Patents

Energy-saving method, system, storage medium and equipment Download PDF

Info

Publication number
CN113872776A
CN113872776A CN202110964169.9A CN202110964169A CN113872776A CN 113872776 A CN113872776 A CN 113872776A CN 202110964169 A CN202110964169 A CN 202110964169A CN 113872776 A CN113872776 A CN 113872776A
Authority
CN
China
Prior art keywords
optical
chip
receivers
transmitters
controlling
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.)
Granted
Application number
CN202110964169.9A
Other languages
Chinese (zh)
Other versions
CN113872776B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110964169.9A priority Critical patent/CN113872776B/en
Publication of CN113872776A publication Critical patent/CN113872776A/en
Application granted granted Critical
Publication of CN113872776B publication Critical patent/CN113872776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • 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
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

The invention provides an energy-saving method, an energy-saving system, a storage medium and equipment, wherein the method comprises the following steps: in response to the starting of both the first IT device and the second IT device, controlling the starting of the first IO chip, the first optical module, the first optical transmitter and the first optical receiver, and controlling the starting of the second IO chip, the second optical module, the second optical transmitter and the second optical receiver; sequentially detecting the light power value of each second light receiver, and sequentially judging whether the light power value of each second light receiver exceeds a preset threshold value; if the number of the second optical receivers exceeds the number of the first optical transmitters, recognizing that the second optical receivers are respectively connected with the corresponding first optical transmitters, and controlling the second optical receivers to keep the open state through a second IO chip so as to enable the first IT equipment and the second IT equipment to carry out data transmission; in response to completion of the data transmission, the first IO chip is notified based on the traffic busy level to control one or more of the number of first optical transmitters to remain in an on state while other first optical transmitters are turned off. The invention achieves the purpose of reducing the power consumption of the optical module.

Description

Energy-saving method, system, storage medium and equipment
Technical Field
The present invention relates to the field of IT technologies, and in particular, to an energy saving method, system, storage medium, and device.
Background
When IT equipment is networked, a plurality of network cards are required to be configured for each IT equipment, and an optical module is configured in each network card; or the network card can be directly integrated on the main board of the IT equipment. In either case, an optical module is required. Optical modules have a variety of different package types, for example, SFP +, SFP28, SFP56, SFP112, QSFP +, QSFP28, QSFP56, QSFP112, etc. are all package types of optical modules, and these hot-pluggable optical modules can be used to connect network switches and other IT devices (e.g., servers, storage arrays) for data transmission. As signal transmission rates increase, the power consumption of SFP and QSFP packaged optical modules gradually increases.
The power consumption of the network card mainly comprises a network chip and optical modules, for example, a 400G network card, the chip power consumption is 20W, the total power consumption of the 4 SFP112 optical modules is 10W, and the total power consumption of a single network card is more than 30W, so that a large amount of power consumption is caused. Supposing that when the IT device is actually networked, the network card is configured with 4 SFP112 optical modules, the network port of the butted IT device is not enough or the service is not busy, so that 4 SFP optical modules are not required to be connected with optical fibers, the optical modules which are not connected with the optical fibers cannot transmit signals, but certain power still exists after the optical modules are powered on, and the waste of electric energy is caused. Therefore, a method for reducing power consumption is needed for a board with an optical module to achieve the purpose of saving energy.
Disclosure of Invention
In view of the above, the present invention provides an energy saving method, system, storage medium and device, so as to solve the problem in the prior art that when an IT device is networked, an optical module is in an idle state but is still turned on, which results in power waste.
Based on the above purpose, the invention provides an energy-saving method, comprising the following steps:
in response to the first IT device and the second IT device both starting, enabling a plurality of first optical transmitters and first optical receivers by controlling a plurality of first optical modules connected thereto to be started by a first IO chip of the first IT device, and enabling a plurality of second optical transmitters and second optical receivers by controlling a plurality of second optical modules connected thereto to be started by a second IO chip of the second IT device;
sequentially detecting the light power values of the plurality of second light receivers through the second IO chip, and sequentially judging whether the light power values of the plurality of second light receivers respectively exceed a preset threshold value;
in response to that the optical power values of the second optical receivers exceed a preset threshold value, identifying that the second optical receivers are respectively connected with the corresponding first optical transmitters through optical transmission media, and controlling the second optical receivers to keep on states through a second IO chip so as to enable the first IT equipment and the second IT equipment to perform data transmission;
in response to the first IT device and the second IT device completing data transmission, the first IT device informs the first IO chip based on the traffic busyness to control one or more of the number of first optical transmitters to keep an on state and to turn off other first optical transmitters to achieve energy conservation.
In some embodiments, the method further comprises:
and in response to the optical power value of the second optical receiver not exceeding the preset threshold, controlling a second optical transmitter of a second optical module where the second optical receiver is located to be closed through the second IO chip so as to realize energy conservation, and controlling the second optical receiver to keep an on state.
In some embodiments, controlling the number of second optical receivers to remain in the on state by the second IO chip includes:
and controlling the plurality of second optical receivers and second optical transmitters of second optical modules in which the plurality of second optical receivers are positioned to keep an open state through a second IO chip.
In some embodiments, the method further comprises:
and in response to the first IT equipment informing the first IO chip to control one or more of the plurality of first optical transmitters to keep an on state and to enable other first optical transmitters to be turned off based on the traffic busyness, sequentially detecting optical power values of the plurality of second optical receivers through the second IO chip.
In some embodiments, controlling the plurality of second optical receivers to remain in an on state through the second IO chip so that the first IT device and the second IT device perform data transmission includes:
the second IO chip controls the second light receivers to be kept in an open state, so that the first IO chip and the second IO chip are communicated, and the first IT equipment and the second IT equipment are subjected to data transmission.
In some embodiments, the method further comprises:
in response to a first optical transmitter of a first optical module being turned on and communicating with a first optical transmission medium between the first optical transmitter and a corresponding second optical receiver, receiving, by the second optical receiver, an optical signal transmitted by the first optical transmitter through the first optical transmission medium;
and in response to the second optical receiver receiving the optical signal sent by the first optical transmitter, turning on, by the second IO chip, a second optical transmitter of a second optical module in which the second optical receiver is located.
In some embodiments, the method further comprises:
transmitting, by the second optical transmitter, an optical signal to the first optical receiver over a second optical transmission medium in response to the second optical transmitter being on and in communication with the corresponding first optical receiver over the second optical transmission medium.
In another aspect of the present invention, an energy saving system is further provided, including:
a start module configured to, in response to both the first and second IT devices being started, start the plurality of first optical transmitters and the first optical receivers by controlling the plurality of first optical modules connected thereto by a first IO chip of the first IT device, and start the plurality of second optical transmitters and the second optical receivers by controlling the plurality of second optical modules connected thereto by a second IO chip of the second IT device;
the judging module is configured to sequentially detect the optical power values of the second optical receivers through the second IO chip and sequentially judge whether the optical power values of the second optical receivers respectively exceed a preset threshold;
the data transmission module is configured to respond to the fact that the optical power values of the second optical receivers exceed a preset threshold value, recognize that the second optical receivers are respectively connected with the corresponding first optical transmitters through optical transmission media, and control the second optical receivers to keep an open state through a second IO chip so as to enable the first IT equipment and the second IT equipment to perform data transmission; and
and the energy saving module is configured for responding to the completion of data transmission of the first IT equipment and the second IT equipment, and informing the first IO chip of controlling one or more of the plurality of first optical transmitters to be kept in an open state by the first IT equipment based on the business busyness so as to enable other first optical transmitters to be closed to realize energy saving.
In yet another aspect of the present invention, there is also provided a computer readable storage medium storing computer program instructions which, when executed, implement any one of the methods described above.
In yet another aspect of the present invention, a computer device is provided, which includes a memory and a processor, the memory storing a computer program, the computer program executing any one of the above methods when executed by the processor.
The invention has at least the following beneficial technical effects:
the optical power values of the second optical receivers are sequentially detected through the second IO chip, whether the optical power values of the second optical receivers exceed the preset threshold value or not is sequentially judged, and under the condition that the optical power values of the second optical receivers exceed the preset threshold value, the fact that the second optical receivers are connected with the corresponding first optical transmitters through optical transmission media is known, so that the second optical receivers are controlled to be kept in an opening state to enable the first IT equipment and the second IT equipment to carry out data transmission; under the condition that the first IT device and the second IT device finish data transmission, the first IT device informs the first IO chip to control one or more of the plurality of first optical transmitters to keep an on state and enable other first optical transmitters to be off based on the business busyness degree, so that the power consumption of the optical module at the first IT device end is reduced, and the purpose of saving energy is flexibly achieved under the condition based on business requirements.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an energy saving method provided according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a partial structure of a two IT device networking provided in accordance with an embodiment of the present invention;
FIG. 3 is a schematic flow diagram of the energy saving method provided in accordance with FIG. 2;
FIG. 4 is a schematic diagram of an energy saving system provided in accordance with an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer-readable storage medium for implementing an energy saving method according to an embodiment of the present invention;
fig. 6 is a schematic hardware structure diagram of a computer device for executing an energy saving method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two non-identical entities with the same name or different parameters, and it is understood that "first" and "second" are only used for convenience of expression and should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements does not include all of the other steps or elements inherent in the list.
In view of the above object, a first aspect of an embodiment of the present invention proposes an embodiment of an energy saving method. Fig. 1 is a schematic diagram illustrating an embodiment of the energy saving method provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
step S10, in response to the first IT device and the second IT device both being started, the first IO chip of the first IT device turns on by controlling the plurality of first optical modules connected thereto so as to turn on the plurality of first optical transmitters and the first optical receiver, and the second IO chip of the second IT device turns on by controlling the plurality of second optical modules connected thereto so as to turn on the plurality of second optical transmitters and the second optical receiver;
step S20, sequentially detecting optical power values of the plurality of second optical receivers by the second IO chip, and sequentially determining whether the optical power values of the plurality of second optical receivers respectively exceed a preset threshold;
step S30, in response to the optical power values of the second optical receivers exceeding a preset threshold, recognizing that the second optical receivers are respectively connected with the corresponding first optical transmitters through optical transmission media, and controlling the second optical receivers to keep on states through a second IO chip, so that the first IT equipment and the second IT equipment perform data transmission;
step S40, in response to the first IT device and the second IT device completing data transmission, the first IT device informs the first IO chip based on the traffic busyness to control one or more of the plurality of first optical transmitters to keep on state and make other first optical transmitters close to realize energy saving.
In the embodiment of the invention, IT represents an internet technology, and IT equipment represents equipment applying a computer information technology. IO denotes data Input (Input)/Output (Output).
The embodiment of the invention sequentially detects the optical power value of each second optical receiver through the second IO chip, and sequentially judges whether the optical power value of each second optical receiver exceeds a preset threshold value respectively, under the condition that the optical power value of a plurality of second optical receivers exceeds the preset threshold value, the plurality of second optical receivers are known to be respectively connected with a plurality of corresponding first optical transmitters through optical transmission media, so that the second optical receivers are controlled to be kept in an open state to enable the first IT equipment and the second IT equipment to carry out data transmission; under the condition that the first IT device and the second IT device finish data transmission, the first IT device informs the first IO chip to control one or more of the plurality of first optical transmitters to keep an on state and enable other first optical transmitters to be off based on the business busyness degree, so that the power consumption of the optical module at the first IT device end is reduced, and the purpose of saving energy is flexibly achieved under the condition based on business requirements.
In some embodiments, the method further comprises: and in response to the optical power value of the second optical receiver not exceeding the preset threshold, controlling a second optical transmitter of a second optical module where the second optical receiver is located to be closed through the second IO chip so as to realize energy conservation, and controlling the second optical receiver to keep an on state.
In this embodiment, when the optical power value of the second optical receiver does not exceed the preset threshold, it indicates that the second optical module where the second optical receiver is located is not inserted into the optical transmission medium, and at this time, the corresponding second optical transmitter is turned off, so that the effect of reducing power consumption can be achieved.
In some embodiments, controlling the number of second optical receivers to remain in the on state by the second IO chip includes: and controlling the plurality of second optical receivers and second optical transmitters of second optical modules in which the plurality of second optical receivers are positioned to keep an open state through a second IO chip.
In this embodiment, when the second optical receiver remains in the on state, the second optical transmitter of the second optical module in which the second optical receiver is located also works, because the second optical receiver is used as a receiving end, the second optical transmitter is used as a transmitting end, and the receiving end and the transmitting end are a group and used for receiving and transmitting the optical signal of the second optical module.
In some embodiments, controlling the plurality of second optical receivers to remain in an on state through the second IO chip so that the first IT device and the second IT device perform data transmission includes: the second IO chip controls the second light receivers to be kept in an open state, so that the first IO chip and the second IO chip are communicated, and the first IT equipment and the second IT equipment are subjected to data transmission.
In some embodiments, the method further comprises: in response to a first optical transmitter of a first optical module being turned on and communicating with a first optical transmission medium between the first optical transmitter and a corresponding second optical receiver, receiving, by the second optical receiver, an optical signal transmitted by the first optical transmitter through the first optical transmission medium; and in response to the second optical receiver receiving the optical signal sent by the first optical transmitter, turning on, by the second IO chip, a second optical transmitter of a second optical module in which the second optical receiver is located.
In some embodiments, the method further comprises: transmitting, by the second optical transmitter, an optical signal to the first optical receiver over a second optical transmission medium in response to the second optical transmitter being on and in communication with the corresponding first optical receiver over the second optical transmission medium.
In the above embodiments, the optical transmission medium may be an optical fiber. When the optical fibers are installed, they are generally installed in pairs, so that the first optical transmission medium and the second optical transmission medium are a pair.
In some embodiments, the method further comprises: and in response to the first IT equipment informing the first IO chip to control one or more of the plurality of first optical transmitters to keep an on state and to enable other first optical transmitters to be off based on the busy degree of the traffic, sequentially detecting optical power values of the plurality of second optical receivers through the second IO chip.
Fig. 2 shows a schematic diagram of a partial structure of a two IT device networking. As shown in fig. 2, the two IT devices are an IT device a (first IT device) and an IT device B (second IT device), respectively, wherein the IT device a may be a server and the IT device B may be a storage array. The IO chip a11 (first IO chip) of the IT Device a is at a Host end (Host) of the network protocol, and the IO chip B11 (second IO chip) of the IT Device B is at a terminal (Device) of the network protocol. The IO chip a11 of the host-side IT device a has 2 optical modules (first optical modules) a0 and a1, and the IO chip B11 of the terminal IT device B has 4 optical modules (second optical modules) B0, B1, B2, and B3. Optical module a0 and optical module B0 are connected by optical fibers (optical transmission media), optical module a1 and optical module B1 are also connected by optical fibers, and optical modules B2 and B3 have no optical fiber inserted. The laser transmitter of the IT device A end is a first optical transmitter, and the laser transmitter of the IT device B end is a second optical transmitter.
Fig. 3 is a schematic flow chart of the energy saving method provided according to fig. 2. As shown in fig. 3, an IO chip a11 at the host end first opens a laser transmitter and a laser receiver of an optical module a [1:0], an IO chip B11 at the terminal opens all laser transmitters and laser receivers of an optical module B [3:0], a B11 routinely detects an optical power value received by a B [3:0] laser receiver, if the received optical power exceeds a preset threshold (which may be a value at a milliwatt level), it is determined that an optical fiber is inserted into a corresponding optical module, signals transmitted and received by the optical modules at both ends of the optical fiber are normal, the IO chips at both ends communicate normally, link (connection) is successful, and a CPU (central processing unit) at the host end and the terminal can implement data transmission and service operation. If the received optical power does not exceed the threshold, it is determined that the optical module has no optical fiber insertion, and the terminal IO chip B11 turns off the laser transmitter corresponding to the optical module B [3:2], thereby reducing the power of 2 optical modules. The IO chip B11 keeps the enable (i.e. starting) optical module B [3:2] receiver, for example, the optical power value, ensures that the optical fiber can be automatically identified after being inserted, and simultaneously re-enables the laser transmitter of the optical module B [3:2], and quickly realizes link and data channel establishment between the host end and the terminal.
The CPU a21 of the IT device a at the host end completes processing of large blocks of data, the traffic busyness is reduced, the network bandwidth requirement is reduced, and the CPU a21 notifies the IO chip a11 to close an idle network channel to reduce power consumption, for example, a disable (close) laser transmitter of the optical module a1 reduces the power of the a1 optical module. The IO chip B11 of the terminal IT device B routinely detects the optical power value of the optical module B [3:0] receiver, finds that the optical power received by the optical module B [3:1] does not exceed the threshold value, determines that the optical module B [3:1] has no optical fiber insertion, and the terminal IO chip B11 disables the laser transmitter corresponding to the optical module B [3:1] to reduce the power of 3 optical modules. The IO chip B11 keeps the enable optical module B [3:1] receiver, such as the light power value, ensures that the optical fiber can be automatically identified after being inserted into the optical module or the host end optical module laser transmitter enable, and simultaneously, the laser transmitter of the enable optical module B [3:1] is re-identified, thereby quickly realizing link and data channel establishment between the host end and the terminal.
In a second aspect of the embodiments of the present invention, an energy saving system is also provided. Fig. 4 is a schematic diagram of an embodiment of the energy saving system provided by the present invention. As shown in fig. 4, an energy saving system includes: a start module 10 configured to, in response to both the first and second IT devices starting up, start up by a first IO chip of the first IT device by controlling a plurality of first optical modules connected thereto to turn on a plurality of first optical transmitters and first optical receivers, and start up by a second IO chip of the second IT device by controlling a plurality of second optical modules connected thereto to turn on a plurality of second optical transmitters and second optical receivers; the determining module 20 is configured to sequentially detect optical power values of the plurality of second optical receivers through the second IO chip, and sequentially determine whether the optical power values of the plurality of second optical receivers respectively exceed a preset threshold; the data transmission module 30 is configured to respond that the optical power values of the second optical receivers exceed a preset threshold value, recognize that the second optical receivers are respectively connected with the corresponding first optical transmitters through optical transmission media, and control the second optical receivers to keep an on state through a second IO chip, so that the first IT device and the second IT device perform data transmission; and a power saving module 40 configured to, in response to completion of data transmission by the first and second IT devices, notify the first IO chip, based on the traffic busyness, that one or more of the number of first optical transmitters are controlled to remain in an on state and to turn off the other first optical transmitters to achieve power saving by the first IT device.
The energy-saving system of the invention sequentially detects the light power value of each second light receiver through the second IO chip, and sequentially judges whether the light power value of each second light receiver exceeds the preset threshold value respectively, under the condition that the light power value of a plurality of second light receivers exceeds the preset threshold value, the plurality of second light receivers are known to be respectively connected with a plurality of corresponding first light transmitters through light transmission media, so that the second light receivers are controlled to keep an open state to enable the first IT equipment and the second IT equipment to carry out data transmission; under the condition that the first IT device and the second IT device finish data transmission, the first IT device informs the first IO chip to control one or more of the plurality of first optical transmitters to keep an on state and enable other first optical transmitters to be off based on the business busyness degree, so that the power consumption of the optical module at the first IT device end is reduced, and the purpose of saving energy is flexibly achieved under the condition based on business requirements.
In a third aspect of the embodiment of the present invention, a computer-readable storage medium is further provided, and fig. 5 is a schematic diagram of a computer-readable storage medium for implementing an energy saving method according to an embodiment of the present invention. As shown in fig. 5, the computer-readable storage medium 3 stores computer program instructions 31, the computer program instructions 31 being executable by a processor. The computer program instructions 31 when executed implement the method of any of the embodiments described above.
It shall be understood that all embodiments, features and advantages set forth above for the energy saving method according to the invention apply equally well, without conflict with each other, to the energy saving system and to the storage medium according to the invention.
In a fourth aspect of the embodiments of the present invention, there is further provided a computer device, including a memory 402 and a processor 401, where the memory stores a computer program, and the computer program, when executed by the processor, implements the method of any one of the above embodiments.
Fig. 6 is a schematic hardware structure diagram of an embodiment of a computer device for executing the power saving method according to the present invention. Taking the computer device shown in fig. 6 as an example, the computer device includes a processor 401 and a memory 402, and may further include: an input device 403 and an output device 404. The processor 401, the memory 402, the input device 403 and the output device 404 may be connected by a bus or other means, and fig. 6 illustrates an example of a connection by a bus. The input device 403 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the energy saving system. The output device 404 may include a display device such as a display screen.
The memory 402, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the power saving method in the embodiments of the present application. The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the power saving method, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 402 may optionally include memory located remotely from processor 401, which may be connected to local modules via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 401 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions, and modules stored in the memory 402, that is, implements the energy saving method of the above-described method embodiment.
Finally, it should be noted that the computer-readable storage medium (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. An energy saving method, comprising the steps of:
in response to the first IT device and the second IT device both starting, enabling a plurality of first optical transmitters and first optical receivers by controlling a plurality of first optical modules connected thereto to be started by a first IO chip of the first IT device, and enabling a plurality of second optical transmitters and second optical receivers by controlling a plurality of second optical modules connected thereto to be started by a second IO chip of the second IT device;
sequentially detecting the optical power values of the plurality of second optical receivers through the second IO chip, and sequentially judging whether the optical power values of the plurality of second optical receivers respectively exceed a preset threshold value;
in response to that the optical power values of the second optical receivers exceed a preset threshold, recognizing that the second optical receivers are respectively connected with the corresponding first optical transmitters through an optical transmission medium, and controlling the second optical receivers to keep on states through the second IO chip, so that the first IT equipment and the second IT equipment perform data transmission;
in response to the first IT device and the second IT device completing data transmission, the first IT device informs the first IO chip to control one or more of the number of first optical transmitters to keep an on state and other first optical transmitters to be off based on the traffic busyness so as to realize energy conservation.
2. The method of claim 1, further comprising:
and in response to that the optical power value of the second optical receiver does not exceed the preset threshold, controlling, by the second IO chip, a second optical transmitter of a second optical module where the second optical receiver is located to be closed to save energy, and controlling the second optical receiver to keep an on state.
3. The method of claim 1, wherein controlling the number of second optical receivers to remain in an on state via the second IO chip comprises:
and controlling the plurality of second optical receivers and second optical transmitters of the second optical modules to keep an open state through the second IO chip.
4. The method of claim 1, further comprising:
and in response to the first IT device informing the first IO chip to control one or more of the plurality of first optical transmitters to keep an on state and other first optical transmitters to be off based on the traffic busyness, sequentially detecting optical power values of the plurality of second optical receivers through the second IO chip.
5. The method of claim 1, wherein controlling the plurality of second optical receivers to remain in an on state through the second IO chip so that the first and second IT devices perform data transmission comprises:
and controlling the plurality of second optical receivers to keep an open state through the second IO chip so as to enable the first IO chip and the second IO chip to communicate and enable the first IT equipment and the second IT equipment to carry out data transmission.
6. The method of claim 1, further comprising:
in response to a first optical transmitter of a first optical module being turned on and communicating with a first optical transmission medium between the first optical transmitter and a corresponding second optical receiver, receiving, by the second optical receiver, an optical signal transmitted by the first optical transmitter through the first optical transmission medium;
and in response to the second optical receiver receiving the optical signal sent by the first optical transmitter, turning on, by the second IO chip, a second optical transmitter of a second optical module in which the second optical receiver is located.
7. The method of claim 6, further comprising:
transmitting, by the second optical transmitter, an optical signal to the first optical receiver over a second optical transmission medium in response to the second optical transmitter being on and in communication with the corresponding first optical receiver over the second optical transmission medium.
8. An energy saving system, comprising:
a start module configured to, in response to both the first and second IT devices being started, start the plurality of first optical transmitters and the first optical receivers by controlling the plurality of first optical modules connected thereto by a first IO chip of the first IT device, and start the plurality of second optical transmitters and the second optical receivers by controlling the plurality of second optical modules connected thereto by a second IO chip of the second IT device;
the judging module is configured to sequentially detect optical power values of the plurality of second optical receivers through the second IO chip, and sequentially judge whether the optical power values of the plurality of second optical receivers respectively exceed a preset threshold;
the data transmission module is configured to respond to that the optical power values of the second optical receivers exceed a preset threshold value, recognize that the second optical receivers are respectively connected with the corresponding first optical transmitters through optical transmission media, and control the second optical receivers to keep an on state through the second IO chip so as to enable the first IT equipment and the second IT equipment to perform data transmission; and
and the energy saving module is configured to respond to the completion of data transmission of the first IT device and the second IT device, and inform the first IO chip of controlling one or more of the plurality of first optical transmitters to keep an on state and enable other first optical transmitters to be turned off by the first IT device based on the traffic busyness so as to realize energy saving.
9. A computer-readable storage medium, characterized in that computer program instructions are stored which, when executed, implement the method according to any one of claims 1-7.
10. A computer device comprising a memory and a processor, characterized in that the memory has stored therein a computer program which, when executed by the processor, performs the method according to any one of claims 1-7.
CN202110964169.9A 2021-08-21 2021-08-21 Energy saving method, system, storage medium and equipment Active CN113872776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110964169.9A CN113872776B (en) 2021-08-21 2021-08-21 Energy saving method, system, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110964169.9A CN113872776B (en) 2021-08-21 2021-08-21 Energy saving method, system, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN113872776A true CN113872776A (en) 2021-12-31
CN113872776B CN113872776B (en) 2023-08-18

Family

ID=78988086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110964169.9A Active CN113872776B (en) 2021-08-21 2021-08-21 Energy saving method, system, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN113872776B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337661A (en) * 2015-10-14 2016-02-17 上海斐讯数据通信技术有限公司 Optical communication energy-saving control method and optical communication device
CN106230514A (en) * 2016-09-19 2016-12-14 重庆世纪之光科技实业有限公司 The optical module of a kind of low-power consumption and the power-economizing method of reduction ammeter optical module power consumption
CN107181524A (en) * 2017-07-26 2017-09-19 青岛海信宽带多媒体技术有限公司 A kind of control method and device of optical line terminal optical module
CN107294596A (en) * 2016-03-30 2017-10-24 青岛海信宽带多媒体技术有限公司 Optical signal processing method and optical network unit in optical module
CN111490824A (en) * 2020-03-11 2020-08-04 普联技术有限公司 Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium
CN111601369A (en) * 2019-02-21 2020-08-28 大唐移动通信设备有限公司 Energy-saving control system and method
CN111884951A (en) * 2020-07-07 2020-11-03 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for controlling network node port of switch

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337661A (en) * 2015-10-14 2016-02-17 上海斐讯数据通信技术有限公司 Optical communication energy-saving control method and optical communication device
CN107294596A (en) * 2016-03-30 2017-10-24 青岛海信宽带多媒体技术有限公司 Optical signal processing method and optical network unit in optical module
CN106230514A (en) * 2016-09-19 2016-12-14 重庆世纪之光科技实业有限公司 The optical module of a kind of low-power consumption and the power-economizing method of reduction ammeter optical module power consumption
CN107181524A (en) * 2017-07-26 2017-09-19 青岛海信宽带多媒体技术有限公司 A kind of control method and device of optical line terminal optical module
CN111601369A (en) * 2019-02-21 2020-08-28 大唐移动通信设备有限公司 Energy-saving control system and method
CN111490824A (en) * 2020-03-11 2020-08-04 普联技术有限公司 Energy-saving method and device for optical communication equipment, optical communication equipment and storage medium
CN111884951A (en) * 2020-07-07 2020-11-03 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for controlling network node port of switch

Also Published As

Publication number Publication date
CN113872776B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CA2681995C (en) Communication system and communication method
US20160065298A1 (en) Relay apparatus
US8874816B2 (en) Resolving address conflicts for master-slave communications over a single-wire bus between a master circuit and at least two slave circuits
CN113645049B (en) Network card electrifying method, system, storage medium and equipment
CN107948063B (en) Method for establishing aggregation link and access equipment
CN103490906A (en) Power supply processing method and device and power supply system
WO2014114094A1 (en) Optical interface rate self-adapting method and optical network device
CN114915592B (en) Method, system, storage medium and device for port binding of aggregation group
US8737419B2 (en) Network concentrator and method of controlling the same
CN101393542A (en) Embedded equipment and method for supporting USB interface by GPIO terminal port
CN113094316B (en) Online switching device and method of NCSI (non-volatile memory) signals
CN113872776B (en) Energy saving method, system, storage medium and equipment
CN111064553B (en) Switch and loopback diagnosis method, device and storage medium of management network port thereof
CN114499738A (en) Method, device and system for controlling transmission of top-adjusting signal and multi-channel optical module
CN116488729A (en) Antenna control method and device, storage medium and electronic device
CN108476245B (en) Method for establishing port connection and port chip
CN112787886B (en) Processing method, device driver, readable storage medium and computer for real-time system network device auto-negotiation
CN110990313B (en) Method, equipment and storage medium for processing clock stretching of I3C bus
US20100057961A1 (en) Network device and data transmitting method
US20100279632A1 (en) Communication apparatus
US10122587B2 (en) System and method for automatically determining the optimal topology for multiple networked devices
CN111175589A (en) Communication equipment and validity detection method
CN113037653B (en) Switching device, control method, device, terminal device and storage medium
CN113783762B (en) Data transmission method, system, storage medium and equipment
CN111211810B (en) State transmission method and device

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