Summary of the invention
First aspect provides a kind of method of the quantity of determining the network equipment that enters energy saver mode, the method comprises: obtain and energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical, determine the quantity of the network equipment that need enter energy saver mode: x=N-m-ceil (sum (w) × (1+u)/W) according to following formula, wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m is for entering into after energy saver mode when x platform network equipment, in a remaining N-x network equipment, allow the quantity of the network equipment simultaneously breaking down.
According to the implementation of first aspect, in the possible implementation of the first, definite need enter the quantity of the network equipment of energy saver mode and carry out after the first pre-conditioned being satisfied, first pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time, wherein, h is predefined total load threshold value, and I is predefined percent value.
According to any one in the possible implementation of the first of the implementation of first aspect and first aspect, in the possible implementation of the second, the method also comprises: determine x source network device at N network equipment, and definite y objective network device; By the load migration in x source network device to y objective network device; X source network device is set to energy saver mode; Wherein, the load of the first source network device in x source network device equals the load of y the first object network equipment in objective network device, and the coefficient of energy dissipation of the first source network device is greater than the coefficient of energy dissipation of the first object network equipment, or, the load of the first source network device in x source network device is less than the load of y the first object network equipment in objective network device, or the load of any one the source network device in x source network device is less than the load of any one the objective network device in y objective network device.
According to any one in the possible implementation of the second of the possible implementation of the first of the implementation of first aspect, first aspect and first aspect, in the third possible implementation, the method further comprises: when after the second pre-conditioned being satisfied, wake one or more network equipments in energy saver mode up, wherein, second pre-conditioned comprising: sum (w) >=p × (N-x-m) × W or current time are in the second predetermined amount of time, p ∈ (0,1].
According to any one in the third possible implementation of the possible implementation of the second of the possible implementation of the first of the implementation of first aspect, first aspect, first aspect and first aspect, in the 4th kind of possible implementation, N network equipment be N gateway device, belong to N veneer of same gateway device or belong to N port of same veneer.
Second aspect provides a kind of control device, this device comprises: acquisition of information module, for obtaining and energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical, quantity computing module, for determine the quantity of the network equipment that need enter energy saver mode: x=N-m-ceil (sum (w) × (1+u)/W) according to following formula, wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m is for entering into after energy saver mode when x platform network equipment, in a remaining N-x network equipment, allow the quantity of the network equipment simultaneously breaking down.
According to the implementation of second aspect, in the possible implementation of the first of second aspect, this device further comprises the first judge module, it is first pre-conditioned that the first judge module determines that for judging whether the quantity of the network equipment that need enter energy saver mode meet, if so, quantity computing module is determined the quantity of the network equipment that need enter energy saver mode; Wherein first pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time, wherein, h is predefined total load threshold value, and I is predefined percent value.
According to any one in the possible implementation of the first of the implementation of second aspect and second aspect, in the possible implementation of the second, this device also comprises load migration module, load migration module is used for: determine x source network device at N network equipment, and definite y objective network device; By the load migration in x source network device to y objective network device; X source network device is set to energy saver mode; Wherein, the load of the first source network device in x source network device equals the load of y the first object network equipment in objective network device, and the coefficient of energy dissipation of the first source network device is greater than the coefficient of energy dissipation of the first object network equipment, or, the load of the first source network device in x source network device is less than the load of y the first object network equipment in objective network device, or the load of any one the source network device in x source network device is less than the load of any one the objective network device in y objective network device.
According to the implementation of second aspect, any one in the possible implementation of the implementation that the first of second aspect is possible and the second of second aspect, in the third possible implementation, device further comprises the second judge module and wake module, the second judge module is used for judging whether second is pre-conditioned satisfied, when after the second pre-conditioned being satisfied, wake module is for waking one or more network equipments in energy saver mode up, wherein, second pre-conditioned comprising: sum (w) >=p × (N-x-m) × W or current time are in the second predetermined amount of time, p ∈ (0, 1].
According to any one in the third possible implementation of the possible implementation of the second of the possible implementation of the first of the implementation of second aspect, second aspect, second aspect and second aspect, in the 4th kind of possible implementation, N network equipment be N gateway device, belong to N veneer of same gateway device or belong to N port of same veneer.
Be different from the situation of prior art, the quantity that embodiment of the present invention can enter the network equipment of energy saver mode according to energy-conservation relevant acquisition of information, the quantity of the network equipment of the entered energy saver mode of determining is more than the quantity that does not have loaded network equipment completely, thereby can realize power control more efficiently, to reach energy-conservation object.
Embodiment
Fig. 1 is the flow chart of the method for the quantity of definite network equipment that enters energy saver mode of first embodiment of the invention.As shown in Figure 1, first embodiment of the invention provides a kind of method of the quantity of determining the network equipment that enters energy saver mode, and the method comprises the following steps:
Step 101: obtain and energy-conservation relevant information.Wherein comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical.
Step 102: the quantity of determining the network equipment that need enter energy saver mode according to following formula:
x=N-m-ceil(sum(w)×(1+u)/W), (1)
Wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0,1] allowing under energy saver mode, and ceil is for getting upper integer arithmetic symbol, m, for entering into after energy saver mode when x platform network equipment, allows the quantity of the network equipment simultaneously breaking down in a remaining N-x network equipment.Wherein, the preferred value of u is 20%.
Said network equipment in the whole text that it should be noted that the present invention comprises gateway device, belong to the veneer of same gateway device or belong to the port of same veneer.Network equipment of the present invention can be set to specifically to process for gateway device, the port that belongs to the veneer of same gateway device or belong to same veneer as required.
In the present embodiment, step 101 and 102 can be carried out by same control device, also can be carried out respectively by different control device.Described control device can be integrated in gateway device, also can be independent mutually with gateway device.
And carry out reference incorporated by reference to Fig. 2, the system configuration schematic diagram of the gateway device that wherein Fig. 2 is first embodiment of the invention, as shown in Figure 2, gateway device 50 includes multiple veneers 502, wherein, be provided with multiple ports 501 on each veneer 502, port 501 can insert and connect for netting twine.And network equipment of the present invention can be set to specifically to process for gateway device 50, the port 501 that belongs to the veneer 502 of same gateway device 50 or belong to same veneer 502 as required.
Refer to Fig. 3, Fig. 3 is the apparatus structure schematic diagram of the control device of first embodiment of the invention.As shown in Figure 3, described control device comprises acquisition of information module 201 and quantity computing module 202.
Acquisition of information module 201 is for obtaining and energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical; Quantity computing module 202 is for determining the quantity of the network equipment that need enter energy saver mode: x=N-m-ceil (sum (w) × (1+u)/W) (1) according to following formula.
Wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0,1] allowing under energy saver mode, and ceil is for getting upper integer arithmetic symbol, m, for entering into after energy saver mode when x platform network equipment, allows the quantity of the network equipment simultaneously breaking down in a remaining N-x network equipment.Wherein, the preferred value of u is 20%.
For example:
If sum (w)=80, W=100, u=0.2, N=4, m=1, according to formula (1), x=2, now, to get the quantity of the network equipment that need enter energy saver mode be 2 to gained as calculated, or:
If sum (w)=150, W=100, u=0.2, N=4, m=1, according to formula (1), x=1, now, to get the quantity of the network equipment that need enter energy saver mode be 1 to gained as calculated.
Therefore, the quantity that first embodiment of the invention can enter the network equipment of energy saver mode according to energy-conservation relevant acquisition of information, the quantity of the network equipment of the entered energy saver mode of determining is more than the quantity that does not have loaded network equipment completely, thereby can realize power control more efficiently, to reach energy-conservation object.
Below refer to Fig. 4, wherein Fig. 4 is the flow chart of the method for the quantity of definite network equipment that enters energy saver mode of second embodiment of the invention, as shown in Figure 4, the method for the quantity of definite network equipment that enters energy saver mode of second embodiment of the invention comprises the following steps:
Step 301: obtain and energy-conservation relevant information.Wherein comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical.
Step 302: judge whether to meet first pre-conditioned, if so, perform step 303, if not, skip to step 301.Wherein, first pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time described here, particularly, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, h is predefined total load threshold value, and I is predefined percent value.
For example, establish load and the sum (w)=150 of N=4 gateway device altogether, the load capacity W=100 of each network equipment.Therefore, gained as calculated, it meets Rule of judgment sum (w)=150< (4-2) * 100=200, execution step 303.
Step 303: the quantity of determining the network equipment that need enter energy saver mode according to following formula:
x=N-m-ceil(sum(w)×(1+u)/W), (1)
Wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m, for entering into after energy saver mode when x platform network equipment, allows the quantity of the network equipment simultaneously breaking down in a remaining N-x network equipment.
Below refer to Fig. 5, wherein Fig. 5 is the apparatus structure schematic diagram of the control device of second embodiment of the invention, and as shown in Figure 4, the control device of second embodiment of the invention comprises acquisition of information module 401, the first judge module 402 and quantity computing module 403.
Wherein, acquisition of information module 401 is for obtaining and energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical.
It is first pre-conditioned that the first judge module 402 determines that for judging whether the quantity of the network equipment that need enter energy saver mode meet, if, quantity computing module is determined the quantity of the network equipment that need enter energy saver mode, and if not, quantity computing module can not made and be calculated action.Wherein first pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time, particularly, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, h is predefined total load threshold value, and I is predefined percent value.
Quantity computing module 403 is for determining the quantity of the network equipment that need enter energy saver mode: x=N-m-ceil (sum (w) × (1+u)/W) according to following formula, wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m is for entering into after energy saver mode when x platform network equipment, in a remaining N-x network equipment, allow the quantity of the network equipment simultaneously breaking down.Wherein, the preferred value of u is 20%.
In the second embodiment of the present invention, it is first pre-conditioned whether the quantity of determining the network equipment that need enter energy saver mode by determining step is set meets, wherein, the first pre-conditioned size and predetermined threshold that is specifically defined as the summation sum (w) to present load compares, or clocked flip.And meet first and just calculate the quantity of the network equipment that need enter energy saver mode when pre-conditioned determining, thereby can reduce unnecessary computing, raising overall operation speed.
Below refer to Fig. 6, Fig. 6 is the flow chart of the method for the quantity of definite network equipment that enters energy saver mode of third embodiment of the invention, as shown in Figure 6, the method for the quantity of definite network equipment that enters energy saver mode of third embodiment of the invention comprises the following steps:
Step 501: obtain and energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical.
Step 502: judge whether to meet first pre-conditioned, if so, perform step 503, if not, skip to step 501.First pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time, particularly, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, h is predefined total load threshold value, and I is predefined percent value.
Step 503: the quantity of determining the network equipment that need enter energy saver mode according to following formula: x=N-m-ceil (sum (w) × (1+u)/W), wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m is for entering into after energy saver mode when x platform network equipment, in a remaining N-x network equipment, allow the quantity of the network equipment simultaneously breaking down.
Step 504: determine x source network device at N network equipment, and definite y objective network device.
Step 505: by the load migration in x source network device to y objective network device.Particularly, in this step, take network equipment as example as gateway device, specifically can adopt mode as shown in Figure 7 to carry out load migration, wherein, Fig. 7 is the equipment interaction diagrams that carry out load migration in third embodiment of the invention between source gateway equipment and intended gateway equipment.As shown in Figure 7, at source gateway equipment side, can carry out following steps: send load migration request to intended gateway equipment, load migration request comprises the information of user to be migrated or svlan; Make after the response that can receive load migration at intended gateway equipment, treat migrated users or svlan and carry out deexcitation; After intended gateway equipment is treated migrated users or svlan and activated, notice switch CR cancels the route of user to be migrated or svlan.At intended gateway equipment side, can carry out following steps: receive load migration request, and respond after judgement can be accepted load migration; Treat migrated users or svlan carries out after deexcitation at source gateway equipment, treat migrated users or svlan activates; To switch, LSW issues gratuitous ARP; Issue customer group sVlan route to switch CR; Carry out dhcp process with subscriber equipment; Carry out ARP process with subscriber equipment; Take over the User Traffic of subscriber equipment; Give switch CR by the User Traffic of subscriber equipment, subscriber equipment proper network flow is by intended gateway equipment turnover network, and user reaches the standard grade successfully.
Step 506: x source network device is set to energy saver mode.Can carry out reference in conjunction with Fig. 2: in the time that gateway device 50 need to enter energy saver mode, can send shutdown command by master control borad (it is the one in multiple veneers 502), to close the veneer/port meeting the following conditions:
(1) the full veneer connecting of non-guarantee logic.
(2) connect on the veneer of up convergence router the full port connecting of non-guarantee logic.
The full veneer connecting of above-mentioned guarantee logic and the full port connecting of guarantee logic can be used for described source gateway equipment to switch to mode of operation from energy saver mode, therefore it need be held open, to make follow-up wake-up step be carried out (in below introducing in detail).
In addition, the load of the first source network device in x source network device equals the load of y the first object network equipment in objective network device, and the coefficient of energy dissipation of the first source network device is greater than the coefficient of energy dissipation of the first object network equipment, or, the load of the first source network device in x source network device is less than the load of y the first object network equipment in objective network device, or the load of any one the source network device in x source network device is less than the load of any one the objective network device in y objective network device.
Step 507: judge whether to meet second pre-conditioned, if so, re-execute step 507, if not, execution step 508.Wherein, second pre-conditioned comprising: sum (w) >=p × (N-x-m) × W or current time be in the second predetermined amount of time, p ∈ (0,1].
Step 508: wake one or more network equipments in energy saver mode up.
Below refer to Fig. 8, wherein Fig. 8 is the apparatus structure schematic diagram of the control device of third embodiment of the invention, as shown in Figure 8, the control device of third embodiment of the invention comprises acquisition of information module 601, the first judge module 602, quantity computing module 603, load migration module 604, the second judge module 605 and wake module 606.
Wherein, acquisition of information module 601 is for obtaining and energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical.
It is first pre-conditioned that the first judge module 602 determines that for judging whether the quantity of the network equipment that need enter energy saver mode meet, if, quantity computing module 603 is determined the quantity of the network equipment that need enter energy saver mode, and if not, quantity computing module 603 is not made and calculated action.Wherein first pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time, particularly, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, h is predefined total load threshold value, and I is predefined percent value.
Quantity computing module 603 is for determining the quantity of the network equipment that need enter energy saver mode: x=N-m-ceil (sum (w) × (1+u)/W) according to following formula, wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m is for entering into after energy saver mode when x platform network equipment, in a remaining N-x network equipment, allow the quantity of the network equipment simultaneously breaking down.
Load migration module 604 for: determine x source network device at N network equipment, and definite y objective network device; By the load migration in x source network device to y objective network device; X source network device is set to energy saver mode.
The second judge module 605 for: judge whether to meet second pre-conditioned, if not, the second judge module 605 continue to judge whether meet second pre-conditioned (in actual applications, can after one scheduled time of time delay, judge again), if so, wake module 606 is waken one or more network equipments in energy saver mode up.Wherein, second pre-conditioned comprising: sum (w) >=p × (N-x-m) × W or current time be in the second predetermined amount of time, p ∈ (0,1].Wherein, the preferred value of p is 80%.
In the third embodiment of the present invention, after obtaining the quantity of the network equipment that need enter energy saver mode, determine source network device and objective network device according to this quantity, by the load migration in source network device to objective network device, and source network device is set to energy saver mode, thereby the network equipment that need is entered to energy saver mode focuses on, make it be set to energy saver mode, therefore the technical scheme of the present embodiment can dynamically arrange network equipment to energy-conservation relevant information and work in energy saver mode or non-energy saver mode according to what get, thereby can bring considerable energy conservation.
In addition, in the third embodiment of the present invention, further pre-conditionedly wake one or more network equipments in energy saver mode up by judging whether to meet second, make to be placed in mode of operation in the network equipment of energy saver mode, thereby the operating state of dynamically adjusting network equipment under the second pre-conditioned prerequisite can met, increase or when predetermined amount of time (as this network section in rush hour in 6 o'clock to ten two evening) in network traffics, be that total load sum (w) >=p × (N-x-m) × W or current time are in the time of the second predetermined amount of time, wake one or more network equipments in energy saver mode up so that it is in running order, thereby ensure the smooth and easy of network.
To in conjunction with more concrete application scenarios, the embodiment of the present invention be further described referring to Fig. 9 to Figure 11 below.Wherein, in this application scene, network equipment is specifically selected gateway device.
First refer to Fig. 9, wherein Fig. 9 is the general principle figure that the present invention is applied to an application scenarios.As shown in Figure 8, in this application scene, the load of many gateway devices is carried out dynamic dispatching and is reached the object of green energy conservation.Imagination will be positioned over many gateway devices 301,302,303 of same website or adjacent bus station, 304 one-tenth POOL30(ponds), and network traffics required user are focused on one or many gateway devices (as gateway device 301), make other gateway device 303,304 enter energy saver mode, thereby reach energy-conservation object.Therefore the implementation that, the present invention is applied under this application scenarios can specifically be referred to as the load balancing in POOL.
And refer to Figure 10, and Figure 10 is the system configuration schematic diagram of the network system of POOL and existing equipment composition, as shown in figure 10, POOL30 comprises multiple gateway devices such as gateway device 302, gateway device 303, gateway device 304.Subscriber equipment is assembled switch (LAN Switch) 315 accesses (if many are assembled the words of switch by one or more, assemble between switch and will have complete interconnected link at many), assemble switch and connect multiple DSL access devices (DSLAM) 316,317,318 for 315 times, each DSLAM accesses multiple subscriber equipmenies (UPE:Underlayer Personal equipment).Network side by gateway device 302, gateway device 303, gateway device 304 is all linked into IP(Internet Protocol, interconnection agreement between network) network, typically for being linked into a core router (Core Router).
Obtain on each gateway device and energy-conservation relevant information, when illustrating that to energy-conservation relevant information load in POOL30 meets as second, third embodiment disclosed first when pre-conditioned, number of users reduces as in the night, the formula (1) disclosing according to above first, second and the 3rd embodiment is determined the quantity of the network equipment that need enter energy saver mode, further, the mode that can disclose according to the 3rd embodiment is carried out load migration between gateway device, and the network equipment that need enter energy saver mode is set to energy saver mode.
To further introduce the present invention and be applied to the general principle figure of Another Application scene by Figure 11 below.Wherein Figure 11 is the general principle figure that the present invention is applied to Another Application scene, as shown in figure 11, BNG1, BNG2, BNG3, BNG4 is illustrated respectively in 4 different gateway devices in POOL, wherein, BNG1, BNG2, BNG3, BNG4 starts timing simultaneously, to determine time reference, keep lock in time, and, the mutual exchanging energy-saving information of each gateway device, and according to energy-saving information computational load, to judge whether carrying out load migration, in Figure 11, meeting load migration condition taking BNG4 describes as example, BNG4 determines and self meets load migration condition, given load migration strategy, to BNG2, BNG3, BNG4 carries out load migration, and after load migration, enter power save mode.
Therefore, in this application scenarios, because BNG4 enters power save mode, therefore the gateway device of working in POOL after carrying out the method for the embodiment of the present invention becomes 3 from 4, thus the energy consumption of effectively reducing.
The energy-saving scheme of above-described device level utilizes transmission present load situation separately between gateway device, each gateway device calculates the load capacity that needs migration by distributed algorithm, solve the demand of operator for the energy-conservation scene of multi-to-multi, in addition, distributed algorithm has reduced communication overhead, and support multiple awakening method, therefore there is practical prospect very widely.
As mentioned above, this application scene has specifically been introduced device level method for distinguishing and device, but thinking of the present invention is also not limited to this, the present invention can further extend to veneer/port rank of device interior: when each port on gateway device is reached the standard grade user when lower, if the load of each veneer/port meets the condition that can enter energy saver mode in equipment, also can closed portion port or veneer, to reach energy-conservation object.
Below refer to Figure 12, Figure 12 is the hardware configuration schematic diagram according to the control device of fourth embodiment of the invention, this device comprises interface 901, program storage 902, arithmetic unit 903 and bus 904, and program storage 902, interface 901 and arithmetic unit 903 couple with bus 904 respectively;
Program storage 902 stores:
Control interface 901 obtains the first instruction to energy-conservation relevant information, comprise the quantity of network equipment and the load capacity of each network equipment in mode of operation in the summation, a N network equipment of the present load of N network equipment to energy-conservation relevant information, wherein the load capacity of each network equipment is identical;
Control algorithm device 903 is determined the second instruction of the quantity of the network equipment that need enter energy saver mode: x=N-m-ceil (sum (w) × (1+u)/W) according to following formula, wherein, x is the quantity that needs the network equipment that enters energy saver mode in N network equipment, sum (w) is the summation of the present load of N network equipment, W is the load capacity of each network equipment, u is the fluctuation of load coefficient u ∈ [0 allowing under energy saver mode, 1], ceil is for getting upper integer arithmetic symbol, m is for entering into after energy saver mode when x platform network equipment, in a remaining N-x network equipment, allow the quantity of the network equipment simultaneously breaking down.
In addition, program storage 902 can further store: it is first pre-conditioned that control algorithm device 903 judgement determines whether the quantity of the network equipment that need enter energy saver mode meets, if so, the 3rd instruction of the quantity of control algorithm device 903 definite network equipments that need enter energy saver mode; Wherein first pre-conditioned any one or any one combination comprising during sum (w)≤(N-2) × W, sum (w)≤h, sum (w)≤W × I and current time are in the first predetermined amount of time, wherein, h is predefined total load threshold value, and I is predefined percent value.
In addition, program storage 902 further stores: control algorithm device 903 is determined x source network device at N network equipment, and definite y objective network device, control interface 901 are set to y objective network device, control algorithm device 903 load migration in x source network device the 4th instruction of energy saver mode by x source network device;
Wherein,
The load of the first source network device in x source network device equals the load of y the first object network equipment in objective network device, and the coefficient of energy dissipation of the first source network device is greater than the coefficient of energy dissipation of the first object network equipment,
Or,
The load of the first source network device in x source network device is less than the load of y the first object network equipment in objective network device,
Or,
The load of any one the source network device in x source network device is less than the load of any one the objective network device in y objective network device.
In addition, program storage 902 further stores:
Control algorithm device 903 judges whether second is pre-conditioned satisfied, and when after the second pre-conditioned being satisfied, wake module makes for the five fingers that wake one or more network equipments in energy saver mode up, wherein, and the second pre-conditioned comprising:
Sum (w) >=p × (N-x-m) × W or current time be in the second predetermined amount of time, p ∈ (0,1].
It should be noted that an above-mentioned N network equipment is N gateway device, belongs to N veneer of same gateway device or belong to N port of same veneer.
In the several execution modes that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment execution mode described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment execution mode scheme.
In addition, the each functional unit in each embodiment execution mode of the application can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a computer read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that the application's technical scheme contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment execution mode of the application.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The foregoing is only embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.