CN115022260A - Energy-saving control method and equipment for white box switch and storage medium - Google Patents

Energy-saving control method and equipment for white box switch and storage medium Download PDF

Info

Publication number
CN115022260A
CN115022260A CN202210607258.2A CN202210607258A CN115022260A CN 115022260 A CN115022260 A CN 115022260A CN 202210607258 A CN202210607258 A CN 202210607258A CN 115022260 A CN115022260 A CN 115022260A
Authority
CN
China
Prior art keywords
link
state
box switch
white box
flow
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.)
Pending
Application number
CN202210607258.2A
Other languages
Chinese (zh)
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 CN202210607258.2A priority Critical patent/CN115022260A/en
Publication of CN115022260A publication Critical patent/CN115022260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • 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)
  • Optical Communication System (AREA)

Abstract

The application discloses an energy-saving control method of a white box switch, which is used for solving the technical problems that optical modules cannot be reasonably arranged and deployed when the existing white box switch is used, and on the basis of not influencing the operation of a system, the module loss is reduced and the energy waste is reduced. The method comprises the following steps: judging the current link states of all links on the white box switch; wherein the link state includes: normal state, backup state, closed state; monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value; and controlling the optical module to be opened or closed according to the switching condition of each link state. According to the method and the device, the link and the optical module are automatically closed when the white box switch is idle, the energy consumption of the white box switch is saved, the idle link flow is forwarded to the replaceable link, the link resources on the white box switch are fully utilized, the loss of the optical module is reduced, and the service life of the optical module is prolonged.

Description

Energy-saving control method and equipment for white box switch and storage medium
Technical Field
The present application relates to the field of switch technologies, and in particular, to an energy saving control method and device for a white box switch, and a storage medium.
Background
The white box switch is a flexible and efficient network device, has the function of decoupling software, can reduce the cost, constructs different components and modules for the special requirements of manufacturers, is popular among various manufacturers and data centers, and is widely applied to large-scale data switching centers particularly. The main function of the switch is to forward network traffic, and in a data center environment, because data traffic is large, an optical module and an optical fiber device are generally used to transmit data between switches or between a switch and a server by using an optical signal as a carrier.
When the switch transmits data, the optical module is required to convert an electric signal in the switch into an optical signal, the optical signal is required to be converted into the electric signal again after receiving the electric signal, and each port needs one optical module, so that the overall power consumption of the switch caused by the power consumption of the optical module is greatly increased, the number of the ports is increased, and the increased power is increased. However, under the current trends of energy conservation, environmental protection and energy waste reduction, no corresponding scheme is adopted to reasonably arrange and deploy the optical modules, so that the module loss is reduced and the energy waste is reduced on the basis of not influencing the system operation.
Disclosure of Invention
The embodiment of the application provides an energy-saving control method, equipment and a storage medium of a white box switch, which are used for solving the technical problems that optical modules cannot be reasonably arranged and deployed when the existing white box switch is used, the module loss is reduced and the energy waste is reduced on the basis of not influencing the system operation.
In one aspect, an embodiment of the present application provides an energy saving control method for a white box switch, where the white box switch includes an optical module and an optical fiber device, and transmits data in the form of optical signals through a plurality of links, and the method includes: judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state; monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value; and controlling the optical module to be opened or closed according to the link state switching condition of each link.
In an implementation manner of the present application, controlling the link to be switched from the normal state to the backup state based on a preset flow threshold specifically includes: judging whether the flow of a link to be controlled within a first preset time threshold is lower than a first preset flow threshold or not; if the flow rate is lower than a first preset flow rate threshold value, searching an alternative link on the local machine; closing the link and the light emitting end of the optical module; and transferring the original flow of the link to be controlled to the alternative link.
In an implementation manner of the present application, the finding of the alternative link on the local machine specifically includes: and searching a Mac table through a two-layer port of the white box switch, and searching a routing table through a three-layer port of the white box switch to determine the alternative link.
In one implementation manner of the present application, after the transferring the original traffic of the link to be controlled to the alternative link, the method further includes: backing up the configuration information when the link is closed to a system; wherein the backup information includes: mac table information, routing table information, VLAN information.
In an implementation manner of the present application, the controlling the link route backup state to be switched to the closed state based on the preset flow threshold specifically includes: judging whether the flow of the link to be controlled within a second preset time threshold is lower than a second preset flow threshold or not; and if the current value is lower than a second preset flow threshold value, the power supply of the optical module is turned off.
In an implementation manner of the present application, the link route closing state is controlled to be switched to a normal state based on a preset flow threshold, specifically: detecting a flow value transferred to the alternative link; if the flow value is higher than a third preset flow threshold value, a light emitting end of the optical module is started; and if the flow value is increased from the third preset flow threshold to a fourth preset flow threshold, reading the configuration information backed up in the system, and then turning on the power supply of the optical module.
In one implementation of the present application, the method further comprises: setting a buffer area in the memory of the white box switch; and judging whether the optical module normally operates, and if the optical module does not normally operate, storing the original flow of the link to be controlled into the buffer area.
In one implementation manner of the present application, before the determining the link states of all links currently located on the white box switch, the method further includes: determining the setting state of a link to be controlled; wherein the setting state includes: manual setting state and automatic setting state; and if the setting state of the link to be controlled is the manual setting state, locking the current link state of the link to be controlled.
On the other hand, the embodiment of the present application further provides an energy saving control device for a white box switch, where the device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to: judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state; monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value; and controlling the optical module to be opened or closed according to the link state switching condition of each link.
In addition, an embodiment of the present application further provides a non-volatile computer storage medium for power saving control of a white box switch, where computer-executable instructions are stored, and the computer-executable instructions are configured to: judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state; monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value; and controlling the optical module to be opened or closed according to the link state switching condition of each link.
According to the energy-saving control method for the white box switch, the three link states of all links on the white box switch are recorded, the flow forwarding condition of each link in a preset time period is monitored, and each link of the white box switch is switched among the three states. By automatically closing the link and the optical module when the white box switch is idle, the energy consumption of the white box switch is saved, and by setting the link flow to be transmitted to the replaceable link, the link resource on the white box switch is fully utilized, and the resource waste is reduced. The light-emitting end of the optical module is turned off in idle time or the power supply of the optical module is turned off integrally, so that the optical module is not in an on state for a long time, the loss of the optical module is reduced, and the service life of the optical module is prolonged. The energy-saving control method of the white box switch provided by the embodiment of the application realizes the maximum energy-saving control on the basis of not influencing the normal operation of the system.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of an energy saving control method for a white box switch according to an embodiment of the present application;
fig. 2 is a schematic diagram of an energy-saving control device of a white box switch according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, 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 application.
The white box switch is a flexible and efficient network device, and a user can deploy different applications and services with personalized characteristics on the same hardware system according to needs. The software decoupling module has the function of decoupling software, can reduce the cost and improve the use flexibility, constructs different components and modules for the special requirements of manufacturers, and is popular among various manufacturers and data centers. Particularly in large data centers. The switch has the most important function of forwarding network traffic, and in a data center environment, because data traffic is large, an optical module and an optical fiber device are generally used to transmit data between switches or between a switch and a server by using an optical signal as a carrier.
When the switch transmits data, the optical module is required to convert an electric signal in the switch into an optical signal, the optical signal is required to be converted into the electric signal again after receiving the electric signal, and each port needs one optical module, so that the overall power consumption of the switch caused by the power consumption of the optical module is greatly increased, the number of the ports is increased, and the increased power is increased. However, under the current trends of energy conservation, environmental protection and energy waste reduction, no corresponding scheme is adopted to reasonably arrange and deploy the optical modules, so that the module loss is reduced and the energy waste is reduced on the basis of not influencing the system operation.
Meanwhile, in a data center, all switch links can transmit network traffic under full load ideally, and the utilization rate of all port links is 100%. However, in actual operation, in order to prevent sudden failure or bandwidth increase, links in a data center are designed to be redundant to some extent, and there is often more than one data link connecting two devices. In addition, in some cases, the utilization rate of the link bearing some services is low, and the link can be migrated to other links. But in the above cases, the link is normally still on and made immediately operational, which also causes extra power consumption. Even in the case of a link backup, the ports are simply turned off inside the switch, and the light emitters inside the optical modules are turned off, and the internal power supply of the optical modules is not processed.
The embodiment of the application provides an energy-saving control method of a white box switch, which is used for solving the technical problems that optical modules cannot be reasonably arranged and deployed when the existing white box switch is used, and on the basis of not influencing the operation of a system, the module loss is reduced, and the energy waste is reduced.
The technical solutions proposed in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an energy saving control method of a white box switch according to an embodiment of the present application. As shown in fig. 1, a method for controlling energy saving of a white box switch provided in an embodiment of the present application mainly includes the following steps:
and step 101, judging the current link states of all links.
In the embodiment of the application, the white box switch transmits data in the form of optical signals through an internal optical module and an optical fiber device. The energy-saving control is carried out on the white box switch, firstly, software and hardware technical support is needed, and all port optical modules support independent control of a power supply by using a VR voltage control chip. And the power on and power off of the individual optical modules can be controlled through software in a mode that NOS software is used for operating VR device registers.
In the embodiment of the present application, the energy consumption of the switch is adjusted by defining the link state of the white box switch, and specifically three link states are defined: normal state, backup state, off state. The white box switch realizes marking and monitoring of all link states through corresponding program control, and specifically judges the link states through the flow conditions forwarded by the links.
In the embodiment of the present application, all links of the white box switch support the manual setting state as well as the automatic setting state. The manual setting state realizes the corresponding function of the white box switch by adjusting the link state through technicians, does not participate in automatic judgment and conversion of the state, and the state of the white box switch is always kept unchanged, and the energy consumption of the white box switch can be adjusted and controlled according to the method and the process provided by the embodiment of the application unless the state is set to be the automatic setting state again.
And 102, monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value.
In the embodiment of the application, the forwarding condition of the traffic on each link is monitored through a program capable of carrying out traffic statistics, and the link is switched among a normal state, a backup state and a closed state through whether the traffic forwarding reaches a corresponding traffic threshold value within a preset time period.
Specifically, in a normal use state, link flow is forwarded normally, and an optical module power supply is normal; under the condition of backup, the internal port of the switch is closed, and the whole power supply is reduced; in the shutdown case, the switch internal ports are closed.
Firstly, whether the flow of a link to be controlled within a first preset time threshold is lower than a first preset flow threshold is detected, if the flow is lower than the first preset flow threshold, namely, only a small amount of flow exists, a Mac table is searched through a two-layer port and a routing table is searched through a three-layer port of the white box switch so as to determine other alternative links existing on the white box switch, and the flow is forwarded to the alternative links. At the same time, the link is directly closed. And the system background judges that the link on the white box switch is switched from the normal state to the backup state.
It should be noted that the system adjusts the VR chip to reduce the power consumption of the whole device, and transfers the original traffic to an alternative link in a Redirect or Mirror image manner. Then, backing up the configuration information when the link to be controlled is closed to the system; wherein, the backup information comprises: mac table information, routing table information, VLAN information. And the flow is directly issued after being restarted when the related flow is increased. If no alternative link is found, the normal usage mode is maintained unless an alternative link is found to ensure that normal traffic is not interrupted.
If the link has no flow or only receives the broadcast message which is not required to be forwarded, the port link is directly closed, and the VR chip is adjusted to reduce the power consumption.
Secondly, whether the flow of the link to be controlled within a second preset time threshold is lower than a second preset flow threshold is judged, and if the flow of the link to be controlled within the second preset time threshold is lower than the second preset flow threshold, the flow of the link to be controlled within the second preset time threshold is judged. The control link on the computer is switched from the backup state to the closed state, and the background of the system records and marks the situation.
And then, after the port is automatically converted into a backup or closed state, the flow transferred by the Redirect redirection or Mirror image function is still monitored, and if the monitored flow rises and rises to a third preset flow threshold, for example, 15% of the flow, the closed state link is restored to the backup state. When the flow further rises to a fourth preset flow threshold, for example, 30% of bandwidth, or when the flow is too large and affects the data forwarding of other links, the backup link information in the system is read, and is re-issued, a port in the backup state is opened, the Redirect redirection or Mirror image of the flow by the system is cancelled, and the normal use state of the link is recovered.
In the embodiment of the present application, for a case where traffic suddenly rises, in order to prevent service interruption, at this time, a link needs to be immediately converted from a closed state to an open state, because the opening of the link relates to optical module control, generally, this control process is implemented by a low-speed bus, for example, an Inter-Integrated Circuit (IIC) bus, where the speed is much slower than the speed of a port inside a switch, a buffer area may be set in an internal memory of the switch, and if an optical module does not normally operate after the port is opened, a content that needs to be forwarded may be stored in the buffer area, and the optical module continues to be forwarded after the optical module normally operates.
And 103, controlling the optical module to be opened or closed according to the link state switching condition of each link.
In the embodiment of the present application, the link state of the white box switch is controlled in step 102, and to realize energy saving, the optical module also needs to be adjusted and controlled, and the optical module includes a light emitting end and a receiving end, which respectively correspond to the emission and the reception of the optical signal.
Specifically, when the white box switch link is switched among a normal state, a backup state, and an off state, the corresponding optical modules are turned on or off differently.
In the embodiment of the application, the link on the white box switch is switched from the normal state to the backup state, and when the traffic is forwarded to the alternative link, the light emitting end of the optical module of the link is turned off. When the link has no flow or only receives the broadcast message which is not required to be forwarded, the light-emitting end of the optical module of the link is also closed.
And if the flow of the link to be controlled in the second preset time threshold is lower than the second preset flow threshold, closing the whole power supply of the optical module, namely switching the link to a closed state.
And if the monitored flow rate rises and reaches a third preset flow rate threshold value, the VR chip turns on the power supply of the optical module, and the link is restored to the backup state from the off state.
According to the energy-saving control method for the white box switch, the three link states of all links on the white box switch are recorded, the flow forwarding condition of each link in a preset time period is monitored, and each link of the white box switch is switched among the three states. The energy consumption of the white box switch is saved by automatically closing the link and the optical module when the white box switch is idle, and the idle link flow is forwarded to the replaceable link by setting, so that the link resources on the white box switch are fully utilized, and the waste of the resources is reduced. The light-emitting end of the optical module is turned off in idle time or the power supply of the optical module is turned off integrally, so that the optical module is not in an on state for a long time, the loss of the optical module is reduced, and the service life of the optical module is prolonged. The energy-saving control method of the white box switch provided by the embodiment of the application realizes the maximum energy-saving control on the basis of not influencing the normal operation of the system.
The foregoing is an embodiment of an energy saving control method for a white box switch provided in an embodiment of the present application, and based on the same inventive concept, an embodiment of the present application further provides an energy saving control apparatus for a white box switch, where the apparatus includes: at least one processor 201; and a memory 202 communicatively coupled to the at least one processor 201; wherein the memory 202 stores instructions executable by the at least one processor 201 to cause the at least one processor 201 to: judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state; monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value; and controlling the optical module to be opened or closed according to the link state switching condition of each link.
Meanwhile, the embodiment of the application also provides a nonvolatile computer storage medium for energy-saving control of the white box switch, which stores the executable instructions for computing. The computer-executable instructions are configured to: judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state; monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value; and controlling the optical module to be opened or closed according to the link state switching condition of each link.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for controlling power saving of a white box switch, wherein the white box switch comprises an optical module and an optical fiber device, and data is transmitted in the form of optical signals through a plurality of links, the method comprising:
judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state;
monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value;
and controlling the optical module to be opened or closed according to the link state switching condition of each link.
2. The method according to claim 1, wherein the controlling the link to switch from the normal state to the backup state based on a preset traffic threshold specifically comprises:
judging whether the flow of a link to be controlled within a first preset time threshold is lower than a first preset flow threshold or not;
if the flow rate is lower than a first preset flow rate threshold value, searching an alternative link on the local machine;
closing the link and the light emitting end of the optical module;
and transferring the original flow of the link to be controlled to the alternative link.
3. The method according to claim 2, wherein the finding of the alternative link on the local machine is specifically:
and searching a Mac table through a two-layer port of the white box switch, and searching a routing table through a three-layer port of the white box switch to determine the alternative link.
4. The method according to claim 2, wherein after the transferring the original traffic of the link to be controlled to the alternative link, the method further comprises:
backing up the configuration information when the link is closed to a system; wherein the backup information includes: mac table information, routing table information, VLAN information.
5. The method according to claim 1, wherein the controlling the link route backup state to be switched to the off state based on the preset traffic threshold specifically comprises:
judging whether the flow of the link to be controlled within a second preset time threshold is lower than a second preset flow threshold or not;
and if the current value is lower than a second preset flow threshold value, the power supply of the optical module is turned off.
6. The energy-saving control method of the white box switch according to claim 1 or 2, wherein the link route closed state is controlled to be switched to a normal state based on a preset flow threshold, specifically:
detecting a flow value transferred to the alternative link;
if the flow value is higher than a third preset flow threshold value, a light emitting end of the optical module is started;
and if the flow value is increased from the third preset flow threshold to a fourth preset flow threshold, reading the configuration information backed up in the system, and then turning on the power supply of the optical module.
7. The method of claim 1, further comprising:
setting a buffer area in the memory of the white box switch;
and judging whether the optical module normally operates, and if the optical module does not normally operate, storing the original flow of the link to be controlled into the buffer area.
8. The method according to claim 1, wherein before said determining the link status of all links currently on the white-box switch, the method further comprises:
determining the setting state of a link to be controlled; wherein the setting state includes: manual setting state and automatic setting state;
and if the setting state of the link to be controlled is the manual setting state, locking the current link state of the link to be controlled.
9. An energy-saving control apparatus of a white-box switch, the apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to:
judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state;
monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value;
and controlling the optical module to be opened or closed according to the link state switching condition of each link.
10. A non-volatile computer storage medium for power-saving control of a white-box switch, storing computer-executable instructions, the computer-executable instructions configured to: judging the current link states of all links on the white box switch; wherein the link state comprises: normal state, backup state, closed state;
monitoring the flow of each link in a preset time period in real time, and controlling each link to be switched among a normal state, a backup state and a closed state based on a preset flow threshold value;
and controlling the optical module to be opened or closed according to the link state switching condition of each link.
CN202210607258.2A 2022-05-31 2022-05-31 Energy-saving control method and equipment for white box switch and storage medium Pending CN115022260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210607258.2A CN115022260A (en) 2022-05-31 2022-05-31 Energy-saving control method and equipment for white box switch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210607258.2A CN115022260A (en) 2022-05-31 2022-05-31 Energy-saving control method and equipment for white box switch and storage medium

Publications (1)

Publication Number Publication Date
CN115022260A true CN115022260A (en) 2022-09-06

Family

ID=83070532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210607258.2A Pending CN115022260A (en) 2022-05-31 2022-05-31 Energy-saving control method and equipment for white box switch and storage medium

Country Status (1)

Country Link
CN (1) CN115022260A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105814949A (en) * 2013-12-05 2016-07-27 华为技术有限公司 Energy saving method and apparatus for heterogeneous network
CN105991474A (en) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 Traffic scheduling method, traffic scheduling device and network device
CN111884951A (en) * 2020-07-07 2020-11-03 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for controlling network node port of switch
CN114257499A (en) * 2021-12-20 2022-03-29 北京创世云科技股份有限公司 Network fault recovery method and device and electronic equipment
CN114363180A (en) * 2021-12-17 2022-04-15 苏州浪潮智能科技有限公司 Energy-saving control method, device, terminal and storage medium for aggregated link flow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105814949A (en) * 2013-12-05 2016-07-27 华为技术有限公司 Energy saving method and apparatus for heterogeneous network
CN105991474A (en) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 Traffic scheduling method, traffic scheduling device and network device
CN111884951A (en) * 2020-07-07 2020-11-03 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for controlling network node port of switch
CN114363180A (en) * 2021-12-17 2022-04-15 苏州浪潮智能科技有限公司 Energy-saving control method, device, terminal and storage medium for aggregated link flow
CN114257499A (en) * 2021-12-20 2022-03-29 北京创世云科技股份有限公司 Network fault recovery method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN101557315B (en) Method, device and system for active-standby switch
US20100217965A1 (en) Method of centralized ethernet network shutdown
CN101459573B (en) Method, router and communication network for router smoothly restarting
WO2021213239A1 (en) Optical module and monitoring method thereof, fronthaul system, electronic device, and computer-readable storage medium
US20110231539A1 (en) Device Connection Routing for Controllers
CN111200541B (en) Network data processing method and device
CN101641745A (en) Progressive power control of a multi-port memory device
CN100474271C (en) Multi-level buffering type memory system and method therefor
US20100287390A1 (en) Device, system and method for computer network traffic monitoring, distribution and power management
US8295290B2 (en) Energy efficient control of data link groups
CN102739453A (en) Master-standby switching method, device and system
JP4927784B2 (en) Network relay device and network relay system
EP3544228B1 (en) Selective modification of power states based on conditions
TW201640271A (en) Computer system and computer-implemented method for managing power consumption of storage subsystem
JP2005354549A (en) Communication device, communication system, communication device management method, and program
CN101448290B (en) Method for receiving MCCH communication channel through TD-MBMS terminal
US20210351610A1 (en) Power over ethernet integrated with or into a premises security system
CN115022260A (en) Energy-saving control method and equipment for white box switch and storage medium
CN101330404A (en) Method, system and equipment for managing network appliance port state
CN115663979A (en) Voltage balancing method of battery pack, battery energy storage and power supply system and electronic device
US9769059B2 (en) Fast interlayer forwarding
CN111314408B (en) Local edge calculation and Internet of things management method based on communication layer multi-data item caching task
CN114499762A (en) Communication system, multi-path forwarding method under 5G network and communication equipment
US20150253843A1 (en) Dynamic energy savings for digital signal processor modules using plural energy savings states
CN112532543A (en) Switch control method, device, equipment and computer readable storage medium

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