Network equipment energy saving method, storage medium and electronic device

By predicting and optimizing network device port traffic in the SDN network, the problem of service interruption caused by link fiber breakage is solved, and energy saving and power consumption are maximized while ensuring normal service communication.

CN120455346APending Publication Date: 2025-08-08ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410170947.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The prior art can easily lead to service interruption in the case of link fiber disconnection, and cannot effectively realize the energy saving of network equipment without affecting service transmission.

Method used

The topological data information of the SDN network predicts the port prediction traffic of each network device port, and obtains the fiber-breaking protection traffic based on the actual port traffic to save energy in the network device.

Benefits of technology

It effectively avoids service interruptions caused by link fiber breakage, and achieves maximum energy saving and power consumption while ensuring normal service communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455346A_ABST
    Figure CN120455346A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a network equipment energy saving method, a storage medium and an electronic device, and the method comprises the steps: predicting and obtaining the port prediction traffic of each network equipment port of an SDN network according to the topological data information of the SDN network; according to the port actual traffic of each network equipment port, obtaining the port maximum traffic of each network equipment port as the broken fiber protection traffic; and carrying out network equipment energy saving on the SDN network according to the port prediction traffic and the broken fiber protection traffic. The problem of service interruption caused by link fiber breakage and the like in related technologies is solved, and the effects of avoiding service interruption caused by link fiber breakage and the like and ensuring user experience are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communications, and in particular, to a network equipment energy-saving method, a storage medium, and an electronic device. Background Art

[0002] Energy consumption of 5G communication equipment accounts for a significant portion of operators' expenses. In line with energy conservation and emission reduction requirements, operators have clearly stated the need to reduce power consumption of bearer equipment, making power consumption control a must-have capability for network equipment. However, energy-saving operations often come with a decrease in equipment processing performance, and in severe cases, can even lead to network service interruptions.

[0003] In recent years, Software Defined Network (SDN) technology has received widespread attention. SDN controllers have the characteristic of separating forwarding and control, and can manage most network devices through SDN controllers.

[0004] Under an SDN controller, network traffic typically uses primary and backup protection to ensure normal service operation. Under normal circumstances, traffic flows along the working path. If the working path becomes unreachable due to a fiber break or other reasons, traffic instantly switches to the backup path. The working and backup paths for a service share the same source and destination network element ports and are composed of a series of network element ports, but they traverse as many different links as possible. Typically, a service has one working path and one backup path; in other cases, multiple working and backup paths may exist.

[0005] Based on the above technical background, it can be inferred that estimating the traffic limit of a single port to achieve device energy conservation is not feasible. This is because, in most cases, the traffic limit of a single port is the traffic limit for the working path and does not take into account backup traffic. If a fiber break occurs, backup traffic will be routed through that port, causing a sudden increase in traffic. Due to device energy conservation limitations, the traffic limit will be reduced, potentially leading to service interruption. Summary of the Invention

[0006] The embodiments of the present invention provide a network equipment energy-saving method, a storage medium, and an electronic device, so as to at least solve the problem of service interruption caused by situations such as link fiber breakage in the related art.

[0007] According to one embodiment of the present invention, a network device energy-saving method is provided, comprising: predicting and obtaining the port predicted traffic of each network device port of a software-defined network (SDN) network based on topology data information of the SDN network; obtaining the maximum port traffic of each network device port as the fiber break protection traffic based on the actual port traffic of each network device port; and performing network device energy saving on the SDN network based on the port predicted traffic and the fiber break protection traffic.

[0008] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.

[0009] According to another embodiment of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

[0010] The present invention provides a network device energy-saving method. This method predicts and obtains the predicted port flow rate of each network device port in the SDN network based on the topological data of the SDN network. Based on the actual port flow rate of each network device port, the maximum port flow rate of each network device port is obtained as the fiber break protection flow rate. Network device energy saving is performed on the SDN network based on the predicted port flow rate and the fiber break protection flow rate. This method solves the problem of service interruption caused by fiber breakage and other conditions in related technologies, achieving the effect of avoiding service interruption caused by fiber breakage and other conditions and ensuring user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a hardware structure block diagram of a computer terminal of a network device energy saving method according to an embodiment of the present invention;

[0012] Figure 2 This is a diagram of a network architecture for running a network device energy-saving method according to an embodiment of the present invention;

[0013] Figure 3 is a flow chart of a network device energy saving method according to an embodiment of the present invention;

[0014] Figure 4 This is a flow chart of a network device energy saving method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0015] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with embodiments.

[0016] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0017] Related technologies rely on manual decision-making to identify equipment resources that are not carrying services, manually power them off, and then manually restore them when services need to be configured. This approach relies on manual decision-making, places high demands on operations and maintenance personnel, is unsuitable for large-scale deployment, and is prone to human error. Furthermore, with limited controllable components, only configurable operations at the operations and maintenance level can be performed, making refined management impossible.

[0018] Related technologies use thresholds based on the volume of traffic transmitted by devices to control energy-saving actions based on one or more thresholds. This approach requires predicting the state of the network and issuing energy-saving instructions to the devices to control their energy conservation. This approach relies on external commands, resulting in delayed response and poor reliability. When network communication failures occur, timely response is unavailable, leading to further losses.

[0019] In the related art, by using energy saving as a routing strategy, this method affects the original routing method; the method adopted by this patent does not affect the original routing strategy, has the least impact on the routing strategy of the SDN controller, and directly acts on energy saving.

[0020] The network device energy-saving method provided by the present invention is implemented based on an SDN controller. It leverages the SDN controller's global view to obtain the maximum flow rate of each device port and then reduces the maximum flow rate of the corresponding network device to an acceptable maximum flow rate range. This method only collects port traffic, not service traffic, resulting in lower energy consumption and wider applicability. It can also support normal service switching in fiber-break scenarios, meeting operators' energy conservation and emission reduction needs, ensuring energy savings without impacting service transmission.

[0021] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 FIG. 1 is a hardware structure diagram of a computer terminal of a network device energy saving method according to an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data. The computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0022] The memory 104 can be used to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the network device energy saving method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0023] The transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communications provider of a computer terminal. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0024] The embodiment of the present application can be run on Figure 2 In the network architecture shown, Figure 2 FIG. 1 is a diagram showing a network architecture for a network device energy-saving method according to an embodiment of the present invention. Figure 2 As shown in FIG, the network architecture includes: network element equipment, SDN controller, and service client, wherein the SDN controller is provided with a southbound interface. Figure 2 As shown in the figure, the service client primarily refers to the service configuration client, which is an upper-layer application module in the SDN network. The SDN controller is an application in the SDN network, responsible for traffic control to ensure an intelligent network. The SDN controller is based on protocols such as Open Flow, allowing servers to tell switches where to send data packets. A network element (NE) is a network unit or node in a network system, such as a router or switch. The southbound interface is the module through which management and control products interact with NEs. It uses protocols to enable the controller to collect information from optical devices.

[0025] The embodiment of the present invention provides a network device energy saving method, Figure 3 FIG. 1 is a flow chart of a network device energy saving method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0026] Step S302: predicting and obtaining the port predicted traffic of each network device port of the SDN network based on the topology data information of the SDN network;

[0027] In an exemplary embodiment, before step S302 , the method further includes: using an SDN controller to obtain topology data information of the SDN network.

[0028] In an exemplary embodiment, the topology data information includes at least one of the following: node information of the SDN network; link information of the SDN network; link bandwidth resource information of the SDN network; historical traffic information of network device ports at a preset minute granularity of the SDN network; network device port information of the working path of the SDN network; and network device port information of the backup path of the SDN network.

[0029] In an embodiment of the present invention, the preset minute-granularity network device port historical traffic information can be the historical traffic information of the selected port at a 15-minute granularity. The 15-minute granularity in the embodiment of the present invention is replaceable, and is mainly used to collect traffic in multiple key time periods throughout the day.

[0030] In an exemplary embodiment, based on the topology data information of the software-defined network (SDN) network, the port predicted traffic of each network device port of the SDN network is predicted and obtained, including: based on the topology data information, predicting and obtaining the receiving traffic and sending traffic of each network device port; obtaining the maximum value of the receiving traffic and the sending traffic as the port predicted traffic.

[0031] In an embodiment of the present invention, the maximum flow of a port at a preset minute granularity in the next day is predicted by historical flow. A mature algorithm in the industry or an algorithm that achieves the same effect can be used for prediction, such as prophet, long short-term memory network (LSTM), etc., mainly using the flow of historical ports to predict the upper limit of the flow at equal intervals in the next day. In the actual implementation process, a physical link connects two ports. In theory, the receiving flow of one port of this pair of ports is equal to the sending flow of the other port. However, due to errors such as actual collection, if the outliers are removed, the two are roughly the same. The flow prediction results are corrected, and the receiving flow and sending flow of the ports at both ends of each link are compared. The maximum value is taken as the receiving flow and sending flow of the final port. The maximum value is equal to the port predicted flow.

[0032] Step S304: obtaining the maximum port flow of each network device port according to the actual port flow of each network device port as the fiber break protection flow;

[0033] In an exemplary embodiment, before step S304, the method further includes: collecting traffic of each network device port in different service combination states to obtain actual port traffic.

[0034] In actual implementation, the actual port traffic is collected, rather than directly using the service traffic at the port as the port traffic. In theory, the total service traffic at the port is equal to the port traffic. In practice, the total service traffic at the port is less than or equal to the port traffic.

[0035] In an exemplary embodiment, based on the actual port flow of each network device port, the maximum port flow of each network device port is obtained as the fiber break protection flow, including: establishing an optimization objective function of the maximum port flow of each network device port in different fiber break states and different service combination states based on the actual port flow; and obtaining the maximum port flow of each network device port as the fiber break protection flow based on the optimization objective function of the maximum port flow.

[0036] In actual implementation, for each port, maximizing the service combination under different fiber-break scenarios is used as the objective function. A linear programming optimization solution is then used to find the maximum value under limited conditions. This yields the maximum possible throughput for the port under different fiber-break scenarios. The maximum value of the fiber-break combination is then taken to determine the fiber-break protection throughput for that port.

[0037] Step S306: Energy saving of network devices in the SDN network is performed based on the port predicted traffic and the fiber break protection traffic.

[0038] In an exemplary embodiment, network equipment energy saving is performed on the SDN network based on the port predicted traffic and the fiber break protection traffic, including: obtaining the actual protection traffic of each network device port based on the port predicted traffic and the fiber break protection traffic; and regulating the network equipment of the SDN network to save energy based on the actual protection traffic.

[0039] During the actual implementation process, the network device controls the corresponding device resources to sleep or cancel the sleep operation according to the actual protection traffic received.

[0040] In an exemplary embodiment, the actual protection flow of each network device port is obtained based on the port predicted flow and the fiber break protection flow, including: obtaining the product of the fiber break protection flow and the preset energy-saving level as the energy-saving protection flow; obtaining the sum of the energy-saving protection flow and the port predicted flow as the actual protection flow.

[0041] Through the above steps, a network device energy-saving method is provided. The method predicts and obtains the predicted port flow rate of each network device port in the SDN network based on the topological data of the SDN network; obtains the maximum port flow rate of each network device port based on the actual port flow rate of each network device port, which serves as the fiber break protection flow rate; and implements network device energy saving in the SDN network based on the predicted port flow rate and the fiber break protection flow rate. This method solves the problem of service interruption caused by fiber breakage and other conditions in related technologies, achieving the effect of avoiding service interruption caused by fiber breakage and other conditions and ensuring user experience.

[0042] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0043] In an embodiment of the present invention, a network device energy-saving device is also provided. This energy-saving device is used to implement the above-mentioned embodiments and preferred embodiments. Details already described are not repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0044] The network device energy-saving device provided in an embodiment of the present invention may include: a prediction module, a protection module, and an energy-saving module. The prediction module is configured to predict and obtain the predicted port flow rate of each network device port in the SDN network based on the topological data information of the SDN network. The protection module is configured to obtain the maximum port flow rate of each network device port based on the actual port flow rate of each network device port, as the fiber break protection flow rate. The energy-saving module is configured to save network device energy in the SDN network based on the predicted port flow rate and the fiber break protection flow rate.

[0045] In the embodiments of the present invention, the module naming and functional division of the above-mentioned network device energy-saving device are for illustration only and are not intended to be limiting. In actual implementation, the module naming and functional division of the network device energy-saving device can be determined based on actual circumstances, as long as the steps of the network device energy-saving method in the above-mentioned embodiments can be implemented.

[0046] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0047] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.

[0048] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0049] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0050] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0051] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0052] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0053] In order to enable those skilled in the art to better understand the technical solution of the present invention, it is described below in conjunction with specific scenario embodiments.

[0054] Example 1

[0055] In this embodiment of the present invention, addressing the need for reduced power consumption in bearer equipment, a network device energy-saving method based on an SDN controller is proposed. This method combines traffic limit prediction with optimization theory to ensure maximum energy savings while maintaining normal service communication. This method can maintain normal service communication even in the event of a single fiber break.

[0056] Figure 4 FIG. 1 is a flow chart of a network device energy saving method according to an embodiment of the present invention. Figure 4 As shown, the following steps are included:

[0057] Step S401: setting the energy saving level through the user interface.

[0058] In actual implementation, the default energy-saving level is level one, and users can select devices to perform energy-saving through the user interface.

[0059] Step S402: collecting topology data information of the SDN network.

[0060] Topology data includes network node information, link information, link bandwidth resource information, historical traffic information for selected ports at a 15-minute granularity, and ports traversed by the working and backup paths. In this embodiment of the present invention, the 15-minute granularity is optional and primarily collects traffic during multiple key time periods throughout the day.

[0061] Step S403: perform traffic prediction based on the topology data information.

[0062] In actual implementation, historical traffic is used to predict the maximum traffic flow of a port at a 15-minute granularity (the same granularity as in step S402) for the next day. This prediction can be performed using a mature industry algorithm or similar algorithms that achieve equivalent results, such as prophet or LSTM. The core is to use historical port traffic to predict the upper limit of traffic flow at equal intervals for the next day.

[0063] Step S404: Correct the traffic of the device port.

[0064] In actual implementation, a physical link connects two ports. Theoretically, the receive traffic of one port equals the send traffic of the other. However, due to errors in actual data collection, the two traffic flows are roughly the same after removing outliers. The traffic prediction results in step S403 are corrected by comparing the receive and send traffic of the ports at both ends of each link. The maximum value is taken as the final receive and send traffic of the port. This maximum value is equal to the predicted traffic flow of the port.

[0065] Step S405: Establish a working path equation group.

[0066] In actual implementation, actual port traffic is collected rather than directly using the traffic at the port as the port traffic. While theoretically, the sum of all traffic at a port equals the port traffic, in practice, the sum of all traffic at the port is assumed to be less than or equal to the port traffic. An equation can be established for each port, summing all traffic flowing through that port to obtain the actual port traffic. This value is less than the port traffic ceiling predicted in the previous step. In this equation, the traffic volume is an unknown quantity.

[0067] Step S406: Simulate the impact of fiber breakage.

[0068] When a fiber break occurs on a link, services on the working path of the broken link are switched to the backup path. This increases the traffic on the ports passing through the backup path. Multiple services may have backup paths passing through the same port. Simulate fiber breaks on all links in sequence and record the traffic patterns on each port under different fiber break conditions.

[0069] Step S407: Calculate the fiber break protection bandwidth.

[0070] For each port, under different fiber-break scenarios, maximizing the service mix is the objective function. Using the working path equations and traffic flow greater than 0 as two known constraints, a linear programming optimization solution is performed. This solution can be implemented using established algorithms or similar algorithms that achieve equivalent results, such as the simplex method or the dual method. The core goal is to find the maximum value under these constraints. This yields the maximum possible traffic flow for the port under different fiber-break scenarios. The maximum value of the fiber-break combination is then taken to determine the fiber-break protection bandwidth (i.e., the fiber-break protection traffic flow) for that port.

[0071] Step S408: Calculate and obtain the actual protection flow of the port.

[0072] In the embodiment of the present invention, the product of the fiber break protection flow and the preset energy-saving level is obtained as the energy-saving protection flow; the sum of the energy-saving protection flow and the port predicted flow is obtained as the actual protection flow.

[0073] Step S409: Send the actual protection traffic to the network device, and the network device performs energy-saving actions.

[0074] According to the received energy-saving bandwidth, that is, the actual protection traffic, the corresponding device resources are controlled to sleep or cancel the sleep operation.

[0075] In summary, the present invention addresses the energy conservation challenges faced by network devices operating under SDN controllers and provides a method for network device energy conservation. This method combines traffic limit prediction with optimization theory to ensure maximum energy conservation and power reduction while maintaining normal service communication. This method can maintain normal service communication even in the event of a single fiber break.

[0076] The network device energy-saving method provided by the embodiments of this invention can be applied to SDN controllers and the network elements they manage. The controller's ability to collect global topology information leverages its global perspective to calculate the maximum flow rate for each port, and the network elements are responsible for achieving energy savings based on this maximum flow rate. In actual implementation, by enabling bandwidth approximately twice the current flow rate while ensuring uninterrupted services, the network device energy-saving method provided by the embodiments of this invention can achieve energy savings of approximately 50% for certain network protocols.

[0077] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A network device energy saving method, characterized in that: include: Predicting and obtaining port predicted traffic of each network device port of the software defined network (SDN) based on topology data information of the SDN network; According to the actual port flow of each network device port, the maximum port flow of each network device port is obtained as the fiber break protection flow; Energy saving of network equipment is performed on the SDN network according to the port predicted traffic and the fiber break protection traffic.

2. The method according to claim 1, characterized in that Before predicting and obtaining the port predicted traffic of each network device port of the software defined network (SDN) based on the topology data information of the SDN network, the method further includes: The SDN controller is used to obtain the topology data information of the SDN network.

3. The method according to claim 1, characterized in that in, The topology data information includes at least one of the following: Node information of the SDN network; Link information of the SDN network; Link bandwidth resource information of the SDN network; Historical traffic information of network device ports at a preset minute granularity of the SDN network; Network device port information of the working path of the SDN network; Network device port information of the backup path of the SDN network.

4. The method according to claim 1, wherein The method of predicting and obtaining the port predicted traffic of each network device port of the software defined network (SDN) according to the topology data information of the SDN network includes: Predicting and obtaining the receiving flow and sending flow of each of the network device ports based on the topology data information; The maximum value of the received flow and the sent flow is obtained as the port predicted flow.

5. The method according to claim 1, wherein Before obtaining the maximum port flow of each network device port according to the actual port flow of each network device port as the fiber break protection flow, the method further includes: The traffic of each of the network device ports in different service combination states is collected to obtain the actual traffic of the port.

6. The method according to claim 1, characterized in that The step of obtaining the maximum port flow of each network device port according to the actual port flow of each network device port as the fiber break protection flow includes: According to the actual traffic of the port, establishing an optimization objective function for the maximum traffic of each port of the network device in different fiber-broken states and different service combination states; According to the optimization objective function of the maximum port flow, the maximum port flow of each of the network device ports is obtained as the fiber break protection flow.

7. The method according to claim 1, characterized in that The performing network device energy saving on the SDN network according to the port predicted traffic and the fiber break protection traffic includes: Obtaining the actual protection flow of each of the network device ports according to the port predicted flow and the fiber break protection flow; According to the actual protection traffic, the network equipment of the SDN network is regulated to save energy.

8. The method according to claim 7, characterized in that The obtaining, according to the port predicted flow and the fiber break protection flow, the actual protection flow of each network device port, includes: Obtaining the product of the fiber break protection flow and the preset energy-saving level as the energy-saving protection flow; The sum of the energy-saving protection flow and the port predicted flow is obtained as the actual protection flow.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the method described in any one of claims 1 to 8 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.