CN103916261B - Determine the method and control device for entering the quantity of network equipment of energy-saving mode - Google Patents

Determine the method and control device for entering the quantity of network equipment of energy-saving mode Download PDF

Info

Publication number
CN103916261B
CN103916261B CN201310007715.5A CN201310007715A CN103916261B CN 103916261 B CN103916261 B CN 103916261B CN 201310007715 A CN201310007715 A CN 201310007715A CN 103916261 B CN103916261 B CN 103916261B
Authority
CN
China
Prior art keywords
network devices
load
saving mode
sum
energy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310007715.5A
Other languages
Chinese (zh)
Other versions
CN103916261A (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.)
Ningbo Jieti Education Technology Co ltd
Shenzhen Shangge Intellectual Property Service Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310007715.5A priority Critical patent/CN103916261B/en
Publication of CN103916261A publication Critical patent/CN103916261A/en
Application granted granted Critical
Publication of CN103916261B publication Critical patent/CN103916261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of methods and control device for determining the quantity into the network equipment of energy-saving mode, this method comprises: obtaining information relevant to energy conservation, it include the summation of the present load of N number of network equipment, the quantity of the network equipment in operating mode and the load capacity of each network equipment in N number of network equipment to the relevant information of energy conservation, wherein the load capacity of each network equipment is identical;Determination need to enter the quantity of the network equipment of energy-saving mode: x=N-m-ceil (sum (w) × (1+u)/W) according to the following formula.By above disclosure, disclosed technical solution can accurately obtain the quantity that need to enter the network equipment of energy-saving mode, so that accurate power control is carried out, to reach energy saving purpose.

Description

Method for determining number of network devices entering energy-saving mode and control device
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and a control device for determining the number of network devices entering an energy saving mode.
Background
The Gateway device is called a Broadband Network Gateway (Gateway device) in english, and is a Gateway device for small-scale users, such as Broadband home users and small business users, to access the Internet. The basic functions of the device include: and authenticating (authentication), authorizing (authorization) and charging (accounting) the user access, and allocating an IP address to the online user. In addition, the gateway device can also process relatively complex events such as controlling the access bandwidth of the user. The scalability of the gateway device functionality and the importance in the network make it one of the focuses of metropolitan area network research in recent years.
The gateway device is a necessary path for the user to surf the internet, and receives the uplink traffic of the user and simultaneously sends the downlink traffic from the internet to each user. In recent years, due to the continuous rise and popularization of new internet services, intelligent terminals, video and other large-flow services, the demand of users for internet bandwidth increases year by year, resulting in the continuous increase of flow through gateway equipment. Meanwhile, as energy costs continue to increase, the cost of operators is also increasing. The need for solutions to increase energy efficiency without affecting the quality of service is compelling to increase for operators. Reducing power consumption is a direct increase in profit for the operator.
The most direct way to reduce power consumption is to set an idle gateway device as an energy-saving mode, and in the prior art, the gateway device is often set as the energy-saving mode when there is no load at all, so as to reduce power consumption, and other gateway devices loaded with a part of the maximum flow rate that can be loaded by the gateway device need to continue to operate. The control method and the control device of the gateway device in the prior art can only process the gateway device which is not in charge at all, and can not effectively control the working states of other gateway devices which have part of the loadable flow of the gateway device.
Disclosure of Invention
A first aspect provides a method of determining a number of network devices entering an energy saving mode, the method comprising: acquiring information related to energy saving, wherein the information related to energy saving comprises the sum of the current loads of the N network devices, the number of the network devices in the working mode in the N network devices and the load capacity of each network device, and the load capacity of each network device is the same; determining the number of network devices needing to enter the energy-saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W), where x is the number of network devices of the N network devices that need to enter the energy saving mode, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowable load fluctuation coefficient u e [0,1] in the energy saving mode, ceil is an operator that takes an integer, and m is the number of network devices that are allowed to simultaneously fail in the remaining N-x network devices after x network devices enter the energy saving mode.
In a first possible implementation manner, determining the number of network devices to enter the energy saving mode is performed after a first preset condition is met, where the first preset condition includes any one or any combination of sum (W) ≦ (N-2) × W, sum (W) ≦ h, sum (W) ≦ wxi, and the current time is within a first predetermined time period, where h is a preset total load threshold value and I is a preset percentage value.
In a second possible implementation form, according to any one of the implementation forms of the first aspect and the first possible implementation form of the first aspect, the method further includes: determining x source network devices and y target network devices at the N network devices; migrating a load among the x source network devices to the y target network devices; setting x source network devices to be in an energy-saving mode; wherein a load of a first source network device of the x source network devices is equal to a load of a first target network device of the y target network devices, and an energy consumption coefficient of the first source network device is greater than an energy consumption coefficient of the first target network device, or a load of the first source network device of the x source network devices is less than a load of the first target network device of the y target network devices, or a load of any one of the x source network devices is less than a load of any one of the y target network devices.
In a third possible implementation manner, according to any one of the implementation manners of the first aspect, the first possible implementation manner of the first aspect, and the second possible implementation manner of the first aspect, the method further includes: when a second preset condition is met, waking up one or more network devices in an energy-saving mode, wherein the second preset condition comprises: sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
According to any one of the implementation manner of the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, and the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the N network devices are N gateway apparatuses, N single boards belonging to the same gateway apparatus, or N ports belonging to the same single board.
A second aspect provides a control apparatus, the apparatus comprising: the information acquisition module is used for acquiring information related to energy saving, wherein the information related to energy saving comprises the sum of the current loads of the N network devices, the number of the network devices in the working mode in the N network devices and the load capacity of each network device, and the load capacity of each network device is the same; the quantity calculation module is used for determining the quantity of the network devices needing to enter the energy-saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W), where x is the number of network devices of the N network devices that need to enter the energy saving mode, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowable load fluctuation coefficient u e [0,1] in the energy saving mode, ceil is an operator that takes an integer, and m is the number of network devices that are allowed to simultaneously fail in the remaining N-x network devices after x network devices enter the energy saving mode.
According to an implementation manner of the second aspect, in a first possible implementation manner of the second aspect, the device further includes a first determining module, where the first determining module is configured to determine whether the number of network devices that need to enter the energy saving mode meets a first preset condition, and if so, the number calculating module determines the number of network devices that need to enter the energy saving mode; wherein the first preset condition comprises any one or any combination of sum (W) ≦ (N-2). times. W, sum (W) ≦ h, sum (W) ≦ WxI, and the current time within the first predetermined time period, wherein h is the preset total load threshold and I is the preset percentage value.
According to an implementation manner of the second aspect and any one of the first possible implementation manner of the second aspect, in a second possible implementation manner, the apparatus further includes a load migration module, where the load migration module is configured to: determining x source network devices and y target network devices at the N network devices; migrating a load among the x source network devices to the y target network devices; setting x source network devices to be in an energy-saving mode; wherein a load of a first source network device of the x source network devices is equal to a load of a first target network device of the y target network devices, and an energy consumption coefficient of the first source network device is greater than an energy consumption coefficient of the first target network device, or a load of the first source network device of the x source network devices is less than a load of the first target network device of the y target network devices, or a load of any one of the x source network devices is less than a load of any one of the y target network devices.
According to any one of the implementation manners of the second aspect, the first possible implementation manner of the second aspect, and the second possible implementation manner of the second aspect, in a third possible implementation manner, the apparatus further includes a second determining module and a waking module, where the second determining module is configured to determine whether a second preset condition is met, and when the second preset condition is met, the waking module is configured to wake up one or more network apparatuses in an energy saving mode, where the second preset condition includes: sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
According to any one of the implementation manner of the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, and the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the N network devices are N gateway apparatuses, N single boards belonging to the same gateway apparatus, or N ports belonging to the same single board.
Different from the situation in the prior art, the embodiment of the invention can acquire the number of network devices capable of entering the energy-saving mode according to the energy-saving related information, and the determined number of network devices capable of entering the energy-saving mode is more than the number of network devices without load at all, so that more efficient power control can be realized to achieve the purpose of energy saving.
Drawings
Fig. 1 is a flowchart of a method of determining the number of network devices entering an energy saving mode according to a first embodiment of the present invention;
fig. 2 is a schematic system structure diagram of a gateway device according to a first embodiment of the present invention;
fig. 3 is a schematic device configuration diagram of a control device according to a first embodiment of the present invention;
fig. 4 is a flowchart of a method of controlling the determination of the number of network devices entering the power saving mode according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram showing the construction of a control device according to a second embodiment of the present invention;
fig. 6 is a flowchart of a method of determining the number of network devices entering the power saving mode according to the third embodiment of the present invention;
fig. 7 is a flowchart of device interaction for load migration between a source gateway device and a target gateway device in a third embodiment of the present invention;
fig. 8 is a schematic device configuration diagram of a control device according to a third embodiment of the present invention;
FIG. 9 is a basic schematic diagram of an application scenario in which embodiments of the present invention are applied;
fig. 10 is a schematic system structure diagram of a network system composed of the POOL and the existing equipment;
FIG. 11 is a basic schematic diagram of an embodiment of the present invention applied to another application scenario;
fig. 12 is a schematic diagram of a hardware configuration of a control apparatus according to a fourth embodiment of the present invention.
Detailed Description
Fig. 1 is a flowchart of a method of determining the number of network devices entering a power saving mode according to a first embodiment of the present invention. As shown in fig. 1, a first embodiment of the present invention provides a method for determining the number of network devices entering a power saving mode, the method including the steps of:
step 101: information related to energy saving is acquired. Wherein the information related to power saving includes a sum of current loads of the N network devices, a number of network devices in an operation mode among the N network devices, and a load capacity of each network device, wherein the load capacity of each network device is the same.
Step 102: determining the number of network devices needing to enter the energy-saving mode according to the following formula:
x=N-m-ceil(sum(w)×(1+u)/W), (1)
wherein, x is the number of network devices that need to enter the energy-saving mode among the N network devices, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowed load fluctuation coefficient u ∈ [0,1] under the energy-saving mode, ceil is an operator taking an integer, and m is the number of network devices that are allowed to simultaneously fail among the remaining N-x network devices after the x network devices enter the energy-saving mode. Among them, a preferable value of u is 20%.
It is noted that the network devices referred to throughout the present invention include gateway devices, boards belonging to the same gateway device, or ports belonging to the same board. The network device of the invention can be set as specific to the gateway equipment, the single board belonging to the same gateway equipment or the port belonging to the same single board for processing according to the requirement.
In this embodiment, steps 101 and 102 may be executed by the same control device, or may be executed by different control devices. The control device may be integrated in the gateway apparatus or may be independent from the gateway apparatus.
Referring to fig. 2, fig. 2 is a schematic system structure diagram of a gateway device according to a first embodiment of the present invention, and as shown in fig. 2, a gateway device 50 includes a plurality of boards 502, where each board 502 is provided with a plurality of ports 501, and the ports 501 are for network cable insertion connection. The network apparatus of the present invention may be configured to specifically perform processing for the gateway device 50, the board 502 belonging to the same gateway device 50, or the port 501 belonging to the same board 502, as required.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a control device according to a first embodiment of the present invention. As shown in fig. 3, the control device includes an information acquisition module 201 and a number calculation module 202.
The information obtaining module 201 is configured to obtain information related to energy saving, where the information related to energy saving includes a sum of current loads of the N network devices, a number of network devices in an operating mode among the N network devices, and a load capacity of each network device, where the load capacities of each network device are the same; the number calculating module 202 is configured to determine the number of network devices that need to enter the energy saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W) (1).
Wherein, x is the number of network devices that need to enter the energy-saving mode among the N network devices, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowed load fluctuation coefficient u ∈ [0,1] under the energy-saving mode, ceil is an operator taking an integer, and m is the number of network devices that are allowed to simultaneously fail among the remaining N-x network devices after the x network devices enter the energy-saving mode. Among them, a preferable value of u is 20%.
For example:
assuming sum (W) =80, W =100, u =0.2, N =4, m =1, according to equation (1), then x =2, and at this time, the number of network devices required to enter the power saving mode is calculated to be 2, or:
assuming sum (W) =150, W =100, u =0.2, N =4, and m =1, according to equation (1), x is 1, and at this time, the number of network devices required to enter the energy saving mode is calculated to be 1.
Therefore, the first embodiment of the present invention may obtain the number of network devices that can enter the energy saving mode according to the energy saving related information, and determine that the number of network devices that can enter the energy saving mode is greater than the number of network devices that have no load at all, thereby achieving more efficient power control and achieving the purpose of energy saving.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for determining the number of network devices entering the energy saving mode according to a second embodiment of the present invention, and as shown in fig. 4, the method for determining the number of network devices entering the energy saving mode according to the second embodiment of the present invention includes the following steps:
step 301: information related to energy saving is acquired. Wherein the information related to power saving includes a sum of current loads of the N network devices, a number of network devices in an operation mode among the N network devices, and a load capacity of each network device, wherein the load capacity of each network device is the same.
Step 302: and judging whether a first preset condition is met, if so, executing step 303, otherwise, jumping to step 301. Wherein the first preset condition includes any one or any combination of sum (W) ≦ (N-2). times. W, sum (W) ≦ h, sum (W) ≦ WxI, and a current time within the first predetermined time period, specifically sum (W) is a sum of current loads of the N network devices, W is a load capacity of each network device, h is a preset total load threshold, and I is a preset percentage value.
For example, assuming that a total of N =4 loads of gateway devices and sum (W) =150, the load capacity W of each network device = 100. Therefore, if it is calculated that the determination condition sum (w) =150< (4-2) × 100=200 is satisfied, step 303 is executed.
Step 303: determining the number of network devices needing to enter the energy-saving mode according to the following formula:
x=N-m-ceil(sum(w)×(1+u)/W), (1)
wherein, x is the number of network devices which need to enter the energy-saving mode in the N network devices, u is the allowable load fluctuation coefficient u [0,1] under the energy-saving mode, ceil is an integer operator, and m is the number of network devices which are allowed to simultaneously fail in the remaining N-x network devices after the x network devices enter the energy-saving mode.
Referring to fig. 5, wherein fig. 5 is a schematic diagram of a device structure of a control device according to a second embodiment of the present invention, as shown in fig. 4, the control device according to the second embodiment of the present invention includes an information obtaining module 401, a first determining module 402, and a quantity calculating module 403.
The information obtaining module 401 is configured to obtain information related to energy saving, where the information related to energy saving includes a sum of current loads of the N network devices, a number of network devices in an operating mode in the N network devices, and a load capacity of each network device, where the load capacity of each network device is the same.
The first determining module 402 is configured to determine whether the number of network devices that need to enter the energy saving mode meets a first preset condition, if so, the number calculating module determines the number of network devices that need to enter the energy saving mode, and if not, the number calculating module does not perform a calculating action. Wherein the first preset condition comprises any one or any combination of sum (W) ≦ (N-2) × W, sum (W) ≦ h, sum (W) ≦ WxI, and the current time being within the first predetermined time period, specifically sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, h is the preset total load threshold, and I is the preset percentage value.
The number calculating module 403 is configured to determine the number of network devices that need to enter the energy saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W), where x is the number of network devices of the N network devices that need to enter the energy saving mode, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowable load fluctuation coefficient u e [0,1] in the energy saving mode, ceil is an operator that takes an integer, and m is the number of network devices that are allowed to simultaneously fail in the remaining N-x network devices after x network devices enter the energy saving mode. Among them, a preferable value of u is 20%.
In a second embodiment of the present invention, it is determined whether the number of network devices that need to enter the energy saving mode satisfies a first preset condition by setting a determining step, where the first preset condition is specifically defined as comparing the total sum (w) of the current loads with a predetermined threshold, or triggering at regular time. And the number of the network devices which need to enter the energy-saving mode is calculated when the first preset condition is judged to be met, so that unnecessary operation can be reduced, and the overall operation speed is increased.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for determining the number of network devices entering the energy saving mode according to a third embodiment of the present invention, where as shown in fig. 6, the method for determining the number of network devices entering the energy saving mode according to the third embodiment of the present invention includes the following steps:
step 501: acquiring information related to energy saving, the information related to energy saving including a sum of current loads of the N network devices, a number of network devices in an operation mode among the N network devices, and a load capacity of each network device, wherein the load capacity of each network device is the same.
Step 502: and judging whether a first preset condition is met, if so, executing a step 503, otherwise, jumping to the step 501. The first preset condition includes any one or any combination of sum (W) ≦ (N-2) × W, sum (W) ≦ h, sum (W) ≦ wxi, and the current time being within the first predetermined time period, specifically sum (W) being the sum of the current loads of the N network devices, W being the load capacity of each network device, h being a preset total load threshold, and I being a preset percentage value.
Step 503: determining the number of network devices needing to enter the energy-saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W), where x is the number of network devices of the N network devices that need to enter the energy saving mode, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowable load fluctuation coefficient u e [0,1] in the energy saving mode, ceil is an operator that takes an integer, and m is the number of network devices that are allowed to simultaneously fail in the remaining N-x network devices after x network devices enter the energy saving mode.
Step 504: x source network devices are determined at the N network devices and y target network devices are determined.
Step 505: load in the x source network devices is migrated to the y target network devices. Specifically, in this step, taking a network device as an example of a gateway device, the load migration may specifically be performed in a manner as shown in fig. 7, where fig. 7 is a device interaction flow diagram of performing load migration between a source gateway device and a target gateway device in a third embodiment of the present invention. As shown in fig. 7, on the source gateway device side, the following steps may be performed: sending a load migration request to target gateway equipment, wherein the load migration request comprises information of a user to be migrated or the svlan; after the target gateway equipment makes a response capable of receiving the load migration, deactivating a user to be migrated or the svlan; after the target gateway device activates the user to be migrated or the svlan, the switch CR is notified to withdraw the route of the user to be migrated or the svlan. On the side of the target gateway device, the following steps can be executed: receiving a load migration request, and responding after judging that the load migration can be accepted; after the source gateway equipment deactivates the user to be migrated or the svlan, activating the user to be migrated or the svlan; issuing a gratuitous ARP to a switch LSW; issuing a user group sVlan route to a switch CR; carrying out DHCP process with user equipment; performing an ARP process with the user equipment; taking over User Traffic of the User equipment; and (3) handing User Traffic of the User equipment to the switch CR, wherein the normal network flow of the User equipment enters and exits the network through the target gateway equipment, and the User is successfully online.
Step 506: placing x source network devices in an energy-saving mode. Reference may be made in conjunction with fig. 2: when the gateway device 50 needs to enter the energy saving mode, a shutdown command may be issued by the main control board (which is one of the boards 502) to shut down the board/port that satisfies the following conditions:
(1) and the single board is not guaranteed to be logically and fully connected.
(2) And the ports which are connected with the uplink aggregation router but are not guaranteed to be logically and fully connected are arranged on the single board.
The above-mentioned single board and port with guaranteed logical full connection may be used to switch the source gateway device from the power saving mode to the working mode, and therefore, it needs to be kept on, so that the subsequent wake-up step can be performed (as will be described in detail below).
In addition, a load of a first source network device of the x source network devices is equal to a load of a first target network device of the y target network devices, and an energy consumption coefficient of the first source network device is greater than an energy consumption coefficient of the first target network device, or a load of the first source network device of the x source network devices is less than a load of the first target network device of the y target network devices, or a load of any one of the x source network devices is less than a load of any one of the y target network devices.
Step 507: and judging whether a second preset condition is met, if so, executing the step 507 again, and if not, executing the step 508. Wherein the second preset condition comprises: sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
Step 508: waking up one or more network devices in a power saving mode.
Referring to fig. 8, fig. 8 is a schematic diagram of an apparatus structure of a control apparatus according to a third embodiment of the present invention, as shown in fig. 8, the control apparatus according to the third embodiment of the present invention includes an information obtaining module 601, a first determining module 602, a quantity calculating module 603, a load shifting module 604, a second determining module 605, and a waking module 606.
The information obtaining module 601 is configured to obtain information related to energy saving, where the information related to energy saving includes a sum of current loads of the N network devices, a number of network devices in an operating mode in the N network devices, and a load capacity of each network device, where the load capacity of each network device is the same.
The first determining module 602 is configured to determine whether the number of network devices that need to enter the energy saving mode meets a first preset condition, if so, the number calculating module 603 determines the number of network devices that need to enter the energy saving mode, and if not, the number calculating module 603 does not perform a calculating operation. Wherein the first preset condition comprises any one or any combination of sum (W) ≦ (N-2) × W, sum (W) ≦ h, sum (W) ≦ WxI, and the current time being within the first predetermined time period, specifically sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, h is the preset total load threshold, and I is the preset percentage value.
The number calculating module 603 is configured to determine the number of network devices that need to enter the energy saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W), where x is the number of network devices of the N network devices that need to enter the energy saving mode, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowable load fluctuation coefficient u e [0,1] in the energy saving mode, ceil is an operator that takes an integer, and m is the number of network devices that are allowed to simultaneously fail in the remaining N-x network devices after x network devices enter the energy saving mode.
The load migration module 604 is configured to: determining x source network devices and y target network devices at the N network devices; migrating a load among the x source network devices to the y target network devices; placing x source network devices in an energy-saving mode.
The second determining module 605 is configured to: whether the second preset condition is met is judged, if not, the second judging module 605 continues to judge whether the second preset condition is met (in practical application, the judgment is performed after a preset time delay), and if so, the awakening module 606 awakens one or more network devices in the energy-saving mode. Wherein the second preset condition comprises: sum (W) ≧ pxx (N-x-m) xw or the current time is in a second predetermined time period, p e (0, 1), where p is preferably 80%.
In the third embodiment of the present invention, after the number of network devices that need to enter the energy saving mode is obtained, the source network device and the target network device are determined according to the number, the load in the source network device is migrated to the target network device, and the source network device is set to the energy saving mode, so that the network devices that need to enter the energy saving mode are centrally processed and set to the energy saving mode.
In addition, in the third embodiment of the present invention, the network device in the energy saving mode is further awakened by determining whether the second preset condition is met, that is, the network device in the energy saving mode is placed in the working mode, so that the working state of the network device can be dynamically adjusted on the premise that the second preset condition is met, that is, when the network traffic increases or a predetermined time period (such as a network peak time period from six to twelve hours at night), that is, when the total load sum (W) is ≧ px (N-x-m) × W or the current time is in the second predetermined time period, the network device in the energy saving mode is awakened to be in the working state, thereby ensuring the smoothness of the network.
Embodiments of the present invention will be further described with reference to fig. 9 to 11 in conjunction with more specific application scenarios. In this application scenario, the network device specifically selects a gateway device.
Referring first to fig. 9, fig. 9 is a basic schematic diagram of an application scenario in which the present invention is applied. As shown in fig. 8, in this application scenario, loads of multiple gateway devices are dynamically scheduled to achieve green energy saving. It is contemplated that multiple gateway devices 301, 302, 303, 304 located at the same site or at nearby sites may be POOL30, and network traffic required by a user may be concentrated on one or more gateway devices (e.g., gateway device 301) to enable other gateway devices 303, 304 to enter an energy saving mode for energy saving purposes. Therefore, the implementation manner of the present invention applied to this application scenario may be specifically referred to as load sharing in POOL.
Referring to fig. 10, fig. 10 is a schematic diagram of a system structure of a network system formed by a POOL and a conventional device, and as shown in fig. 10, the POOL30 includes a plurality of gateway devices such as a gateway device 302, a gateway device 303, and a gateway device 304. The subscriber devices are accessed (if there are multiple convergence switches with fully interconnected links) through one or more convergence switches (LAN Switch) 315. the convergence Switch 315 is connected downstream to a plurality of digital subscriber loop access Devices (DSLAMs) 316, 317, 318, each DSLAM accessing a plurality of subscriber devices (UPE). The network sides of the gateway device 302, the gateway device 303, and the gateway device 304 are all connected to an IP (Internet Protocol) network, generally speaking, a Core Router.
Acquiring information related to energy saving on each gateway apparatus, when the information related to energy saving shows that the load in POOL30 satisfies the first preset condition as disclosed in the second and third embodiments, such as the number of users decreases at night, determining the number of network devices to enter the energy saving mode according to the formula (1) disclosed in the first, second and third embodiments, further, performing load migration between gateway apparatuses according to the manner disclosed in the third embodiment, and setting the network devices to enter the energy saving mode to the energy saving mode.
The basic principle of the invention applied to another application scenario will be further described below with reference to fig. 11. Fig. 11 is a basic schematic diagram of another application scenario to which the present invention is applied, and as shown in fig. 11, BNG1, BNG2, BNG3, and BNG4 respectively show 4 different gateway devices in a POOL, where BNG1, BNG2, BNG3, and BNG4 start timing at the same time to determine a time reference and maintain synchronization time, and each gateway device exchanges energy saving information with each other and calculates a load according to the energy saving information to determine whether load migration is to be performed, in fig. 11, it is described by taking an example that BNG4 satisfies a load migration condition, and BNG4 determines that it satisfies the load migration condition, specifies a load migration policy, performs load migration to BNG2, BNG3, and BNG4, and enters an energy saving state after the load migration is completed.
Therefore, in this application scenario, since the BNG4 enters the energy saving state, the number of gateway devices operating in the POOL is changed from 4 to 3 after the method of the embodiment of the present invention is performed, thereby effectively reducing the energy consumption.
The device-level energy-saving scheme utilizes the current load condition of each gateway device to be transmitted, each gateway device calculates the load quantity to be transferred through the distributed algorithm, the requirement of an operator on many-to-many energy-saving scenes is met, in addition, the distributed algorithm reduces the communication overhead, and various awakening methods are supported, so the device-level energy-saving scheme has a very wide practical prospect.
As described above, the present application specifically introduces the method and apparatus at the device level, but the idea of the present invention is not limited thereto, and the present invention can be further extended to the board/port level inside the device: that is, when the online users at each port on the gateway device are low, if the load of each board/port in the device meets the condition of entering the energy-saving mode, part of the ports or boards can be closed to achieve the purpose of saving energy.
Referring to fig. 12, fig. 12 is a schematic diagram of a hardware structure of a control device according to a fourth embodiment of the present invention, the control device includes an interface 901, a program memory 902, an operator 903, and a bus 904, wherein the program memory 902, the interface 901, and the operator 903 are respectively coupled to the bus 904;
the program memory 902 stores:
the control interface 901 obtains a first instruction of energy saving-related information, which includes a sum of current loads of N network devices, the number of network devices in an operating mode among the N network devices, and a load capacity of each network device, where the load capacities of each network device are the same;
the control operator 903 determines a second instruction of the number of network devices that need to enter the energy saving mode according to the following formula: x = N-m-ceil (sum (W) x (1+ u)/W), where x is the number of network devices of the N network devices that need to enter the energy saving mode, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is the allowable load fluctuation coefficient u e [0,1] in the energy saving mode, ceil is an operator that takes an integer, and m is the number of network devices that are allowed to simultaneously fail in the remaining N-x network devices after x network devices enter the energy saving mode.
Additionally, the program memory 902 may further store: the control arithmetic unit 903 judges whether the number of the network devices which need to enter the energy-saving mode meets a first preset condition, if so, the control arithmetic unit 903 determines a third instruction of the number of the network devices which need to enter the energy-saving mode; wherein the first preset condition comprises any one or any combination of sum (W) ≦ (N-2). times. W, sum (W) ≦ h, sum (W) ≦ WxI, and the current time within the first predetermined time period, wherein h is the preset total load threshold and I is the preset percentage value.
In addition, the program memory 902 further stores: a fourth instruction for the control arithmetic unit 903 to determine x source network devices in the N network devices, and determine y target network devices, for the control interface 901 to transfer the load in the x source network devices to the y target network devices, and for the control arithmetic unit 903 to set the x source network devices in the energy saving mode;
wherein,
a load of a first source network device of the x source network devices is equal to a load of a first target network device of the y target network devices, and an energy consumption factor of the first source network device is greater than an energy consumption factor of the first target network device,
or,
a load of a first source network device of the x source network devices is less than a load of a first target network device of the y target network devices,
or,
the load of any one of the x source network devices is less than the load of any one of the y target network devices.
In addition, the program memory 902 further stores:
the control arithmetic unit 903 determines whether a second preset condition is met, and when the second preset condition is met, the wake-up module is configured to wake up a fifth instruction of one or more network devices in the energy saving mode, where the second preset condition includes:
sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
It is worth noting that the N network devices are N gateway devices, N single boards belonging to the same gateway device, or N ports belonging to the same single board.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the implementation scheme of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of determining a number of network devices entering a power saving mode, the method comprising:
acquiring information related to energy saving, wherein the information related to energy saving comprises the sum of current loads of N network devices, the number of network devices in an operating mode in the N network devices and the load capacity of each network device, and the load capacity of each network device is the same;
determining the number of network devices needing to enter the energy-saving mode according to the following formula:
x=N-m-ceil(sum(w)×(1+u)/W),
wherein, x is the number of network devices that need to enter the energy saving mode among the N network devices, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is a load fluctuation coefficient u e [0,1] allowed in the energy saving mode, ceil is an operator taking an integer, and m is the number of network devices that are allowed to simultaneously fail among the remaining N-x network devices after x network devices enter the energy saving mode;
the N network devices are N gateway devices, N single boards belonging to the same gateway device or N ports belonging to the same single board.
2. The method of claim 1,
the determination of the number of network devices to enter the energy saving mode is performed after a first preset condition is met, wherein the first preset condition comprises any one or any combination of sum (W) ≦ (N-2) × W, sum (W) ≦ h, sum (W) ≦ WxI, and the current time is within a first preset time period, wherein h is a preset total load threshold value, and I is a preset percentage value.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
determining x source network devices and y target network devices at the N network devices;
migrating a load among the x source network devices to the y target network devices;
setting the x source network devices to an energy-saving mode;
wherein,
a load of a first source network device of the x source network devices is equal to a load of a first target network device of the y target network devices, and an energy consumption coefficient of the first source network device is greater than an energy consumption coefficient of the first destination network device,
or,
a load of a first source network device of the x source network devices is less than a load of a first target network device of the y target network devices,
or,
a load of any one of the x source network devices is less than a load of any one of the y destination network devices.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
waking up one or more network devices in a power saving mode when a second preset condition is satisfied,
wherein the second preset condition comprises:
sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
5. The method of claim 3, further comprising:
waking up one or more network devices in a power saving mode when a second preset condition is satisfied,
wherein the second preset condition comprises:
sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
6. A control device, characterized in that the device comprises:
an information obtaining module, configured to obtain energy saving-related information, where the energy saving-related information includes a sum of current loads of N network devices, a number of network devices in an operating mode among the N network devices, and a load capacity of each network device is the same;
the quantity calculation module is used for determining the quantity of the network devices needing to enter the energy-saving mode according to the following formula:
x=N-m-ceil(sum(w)×(1+u)/W),
wherein, x is the number of network devices that need to enter the energy saving mode among the N network devices, sum (W) is the sum of the current loads of the N network devices, W is the load capacity of each network device, u is a load fluctuation coefficient u e [0,1] allowed in the energy saving mode, ceil is an operator taking an integer, and m is the number of network devices that are allowed to simultaneously fail among the remaining N-x network devices after x network devices enter the energy saving mode;
the N network devices are N gateway devices, N single boards belonging to the same gateway device or N ports belonging to the same single board.
7. The control device according to claim 6, wherein the device further comprises a first determining module, the first determining module is configured to determine whether the number of network devices that are determined to need to enter the energy saving mode meets a first preset condition, and if yes, the number calculating module determines the number of network devices that need to enter the energy saving mode;
wherein the first preset condition comprises any one or any combination of sum (W) ≦ (N-2). times. W, sum (W) ≦ h, sum (W) ≦ WxI, and a current time within a first predetermined time period, wherein h is a preset total load threshold and I is a preset percentage value.
8. The control device of claim 6 or 7, wherein the device further comprises a load migration module configured to:
determining x source network devices and y target network devices at the N network devices;
migrating a load among the x source network devices to the y target network devices;
setting the x source network devices to an energy-saving mode;
wherein,
a load of a first source network device of the x source network devices is equal to a load of a first target network device of the y target network devices, and an energy consumption coefficient of the first source network device is greater than an energy consumption coefficient of the first destination network device,
or,
a load of a first source network device of the x source network devices is less than a load of a first target network device of the y target network devices,
or,
a load of any one of the x source network devices is less than a load of any one of the y destination network devices.
9. The control device according to claim 6 or 7, wherein the device further comprises a second determining module and a waking module, the second determining module is configured to determine whether a second predetermined condition is met, and when the second predetermined condition is met, the waking module is configured to wake up one or more network devices in the energy saving mode,
wherein the second preset condition comprises:
sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
10. The control device according to claim 8, wherein the device further comprises a second determining module for determining whether a second predetermined condition is satisfied, and a wake-up module for waking up one or more network devices in the energy saving mode when the second predetermined condition is satisfied,
wherein the second preset condition comprises:
sum (W) ≧ pxx (N-x-m) xW or the current time is in a second predetermined time period, p ∈ (0, 1).
CN201310007715.5A 2013-01-09 2013-01-09 Determine the method and control device for entering the quantity of network equipment of energy-saving mode Active CN103916261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310007715.5A CN103916261B (en) 2013-01-09 2013-01-09 Determine the method and control device for entering the quantity of network equipment of energy-saving mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310007715.5A CN103916261B (en) 2013-01-09 2013-01-09 Determine the method and control device for entering the quantity of network equipment of energy-saving mode

Publications (2)

Publication Number Publication Date
CN103916261A CN103916261A (en) 2014-07-09
CN103916261B true CN103916261B (en) 2019-03-01

Family

ID=51041682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310007715.5A Active CN103916261B (en) 2013-01-09 2013-01-09 Determine the method and control device for entering the quantity of network equipment of energy-saving mode

Country Status (1)

Country Link
CN (1) CN103916261B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376082A (en) * 2014-08-22 2016-03-02 北京信威通信技术股份有限公司 Cloudization-based core network device power saving method
CN105721170B (en) * 2016-01-25 2018-10-16 北京邮电大学 The power-economizing method and device of multi-controller based on SDN network framework
CN108933687B (en) * 2017-05-25 2020-12-18 华为技术有限公司 Power consumption control method and device
CN108683471B (en) * 2018-04-25 2020-09-04 北京小米移动软件有限公司 Synchronous information processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170685A (en) * 2011-04-14 2011-08-31 北京邮电大学 Energy-saving method of wireless communication system
CN102802246A (en) * 2012-08-06 2012-11-28 电子科技大学 Energy saving method and dormancy decision making system of wireless sensor network
CN107211182A (en) * 2015-05-26 2017-09-26 松下电器(美国)知识产权公司 Display methods and display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170685A (en) * 2011-04-14 2011-08-31 北京邮电大学 Energy-saving method of wireless communication system
CN102802246A (en) * 2012-08-06 2012-11-28 电子科技大学 Energy saving method and dormancy decision making system of wireless sensor network
CN107211182A (en) * 2015-05-26 2017-09-26 松下电器(美国)知识产权公司 Display methods and display device

Also Published As

Publication number Publication date
CN103916261A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN101541068B (en) WLAN network control method and device thereof
Kliazovich et al. DENS: data center energy-efficient network-aware scheduling
Chen et al. Energy-Aware Server Provisioning and Load Dispatching for Connection-Intensive Internet Services.
Jin et al. Joint host-network optimization for energy-efficient data center networking
Zhang et al. HERO: Hierarchical energy optimization for data center networks
CN103916261B (en) Determine the method and control device for entering the quantity of network equipment of energy-saving mode
US20150160983A1 (en) Dynamic Virtual Machine Consolidation
EP3105652B1 (en) Backup power management for computing systems
Qian et al. Latency optimization for cellular assisted mobile edge computing via non-orthogonal multiple access
CN103856512A (en) Cloud computing management server, working host, idle host and resource scheduling method
CN107329811A (en) A kind of power consumption of data center adjusting method and device
WO2016115956A1 (en) Scheduling method and scheduling device for business system based on cloud computing
WO2014008867A1 (en) Method, device and system for migration of virtual machines
Herrería-Alonso et al. How efficient is energy-efficient ethernet?
CN108616906A (en) A kind of LTE base station power-economizing method and device
CN103108039A (en) Service quality guarantee method in low-energy cluster environment
CN109002354A (en) A kind of computing resource cubic elasticity telescopic method and system based on OpenStack
US8046602B2 (en) Controlling connection status of network adapters
CN104411002A (en) Data transmission control method and terminal
CN117519980A (en) Energy-saving data center
US10122653B2 (en) Energy management system for a data center network
WO2011157131A2 (en) Processing method and device based on base band pool
US10152110B2 (en) Clock frequency determining method and device for router card
CN104821895A (en) Energy-saving method and device
TWI781453B (en) Energy dispatch system, apparatus, and method

Legal Events

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

Effective date of registration: 20200715

Address after: Room 716, building C4, Lane 299, Guanghua Road, Ningbo hi tech Zone, Ningbo City, Zhejiang Province

Patentee after: NINGBO JIETI EDUCATION TECHNOLOGY Co.,Ltd.

Address before: 518000 Baoan District Xin'an street, Shenzhen, Guangdong, No. 625, No. 625, Nuo platinum Plaza,

Patentee before: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Effective date of registration: 20200715

Address after: 518000 Baoan District Xin'an street, Shenzhen, Guangdong, No. 625, No. 625, Nuo platinum Plaza,

Patentee after: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.