CN105208632A - Energy-saving method and apparatus for boards - Google Patents
Energy-saving method and apparatus for boards Download PDFInfo
- Publication number
- CN105208632A CN105208632A CN201410262127.0A CN201410262127A CN105208632A CN 105208632 A CN105208632 A CN 105208632A CN 201410262127 A CN201410262127 A CN 201410262127A CN 105208632 A CN105208632 A CN 105208632A
- Authority
- CN
- China
- Prior art keywords
- board card
- wake
- awakening
- threshold value
- load
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 102
- 230000002618 waking effect Effects 0.000 claims description 29
- 230000001960 triggered effect Effects 0.000 claims description 7
- 230000007958 sleep Effects 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an energy-saving method for boards. The method includes: an awakening priority of the boards is set; when the load of the operating boards reaches an awakening threshold and the reception business rate is lower than the reception business rate threshold, hibernated boards are awakened in sequence according to the awakening priority of the boards, and the awakening process is stopped until the load of the operating boards is lower than the awakening threshold. The invention also discloses an energy-saving apparatus for the boards.
Description
Technical Field
The present invention relates to an energy saving technology for core network equipment, and in particular, to an energy saving method and apparatus for a board card in core network equipment.
Background
In the prior art, in order to reduce the power consumption of a device, a threshold size is usually set for a traffic load of the device to control the device to go to sleep or be woken up. However, in the case of a sleep, if an extra-large load suddenly comes, the equipment cannot process a sudden large service due to the fact that the board needs a certain amount of time for waking up or the board fails to wake up, and thus the risk of equipment downtime is caused.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide an energy saving method and an energy saving device for a board, which can wake up the board reliably, thereby reducing the loss of the board and effectively saving energy.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides an energy-saving method for a board card, which comprises the steps of setting the awakening priority of the board card; the method further comprises the following steps:
and when the load of the running board card is determined to reach the awakening threshold value and the receiving service rate is smaller than the receiving service rate threshold value, awakening the dormant board cards in sequence according to the awakening priority of the board cards, and stopping the awakening process until the load of the running board card is lower than the awakening threshold value.
In the foregoing solution, before determining that the load of the running board card reaches the wakeup threshold and the received service rate is smaller than the received service rate threshold, the method further includes: setting a wakeup threshold value, a wakeup redundancy amount, a receiving service rate threshold value and a wakeup duration threshold value of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
In the above scheme, waking up the sleeping board cards in sequence according to the wake-up priorities of the board cards, and stopping the wake-up process until the load of the running board cards is lower than the wake-up threshold includes:
waking up a first dormant board card according to the wake-up priority of the board card from high to low, judging whether the first dormant board card is woken up normally, if the first dormant board card is woken up normally, distributing wireless service to the running board card in average, judging whether the load of the running board card reaches a wake-up threshold value, waking up a second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, and repeating the judging and processing operation until the load of the running board card is lower than the wake-up threshold value, and stopping the wake-up process.
In the scheme, when all the dormant board cards are awakened and the load of the running board cards still reaches an awakening threshold value, the wireless service limitation is triggered;
or, when the load of the running board card reaches the maximum processing capacity of the running board card before the sleeping board card is awakened, the wireless service limitation is triggered.
The embodiment of the invention also provides an energy-saving device of the board card, which comprises: the device comprises a first setting module and a first processing module; wherein,
the first setting module is used for setting the awakening priority of the board card;
the first processing module is configured to determine that a load of the running board card reaches an awakening threshold value, and when the receiving service rate is smaller than the receiving service rate threshold value, sequentially awaken the sleeping board cards according to the awakening priority of the board cards, and stop the awakening process until the load of the running board card is smaller than the awakening threshold value.
In the above scheme, the first setting module is further configured to set a wakeup threshold, a wakeup redundancy amount, a received service rate threshold, and a wakeup duration threshold of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
In the above scheme, the first processing module sequentially wakes up the sleeping board cards according to the wake-up priorities of the board cards, and the stopping of the wake-up process until the load of the running board cards is lower than the wake-up threshold includes:
the first processing module wakes up the first dormant board card according to the wake-up priority of the board card from high to low, judges whether the first dormant board card is woken up normally, distributes wireless services to the running board card on average if the first dormant board card is woken up normally, judges whether the load of the running board card reaches a wake-up threshold value, wakes up the second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, and repeats the judging and processing operation until the load of the running board card is lower than the wake-up threshold value, and stops the wake-up process.
In the above scheme, the first processing module is further configured to trigger the wireless service restriction when all the sleeping board cards are awakened and the load of the running board cards still reaches an awakening threshold value;
or, before waking up the sleeping board card, triggering the wireless service restriction when the load of the running board card reaches the maximum processing capacity of the running board card.
The embodiment of the invention also provides an energy-saving method of the board card, which sets the awakening priority of the board card; the method further comprises the following steps:
and triggering wireless service restriction when the load of the running board card reaches an awakening threshold value and the receiving service rate reaches a receiving service rate threshold value, awakening the dormant board cards in sequence according to the awakening priority of the board cards, stopping the awakening process until the load of the running board card is lower than the awakening threshold value, and removing the wireless service restriction.
In the foregoing solution, before determining that the load of the running board card reaches the wakeup threshold and the receiving service rate reaches the receiving service rate threshold, the method further includes: setting a wakeup threshold value, a wakeup redundancy amount, a receiving service rate threshold value and a wakeup duration threshold value of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
In the above scheme, waking up the sleeping board cards in sequence according to the wake-up priorities of the board cards, stopping the wake-up process until the load of the running board cards is lower than the wake-up threshold, and removing the wireless service restriction includes:
waking up the first dormant board card according to the wake-up priority of the board card from high to low, judging whether the first dormant board card is woken up normally, if the first dormant board card is woken up normally, distributing wireless service to the running board card in average, judging whether the load of the running board card reaches a wake-up threshold value, waking up the second dormant board card when the load of the running board card reaches the wake-up threshold value or the first dormant board card is not woken up normally, repeating the judging and processing operation, stopping the wake-up process until the load of the running board card is lower than the wake-up threshold value, and sending a notice for removing the wireless service limit to.
In the above scheme, when all the sleeping board cards are awakened and the load of the running board cards still reaches the awakening threshold value, the wireless service restriction is maintained.
The embodiment of the invention also provides an energy-saving device of the board card, which comprises: the second setting module and the second processing module; wherein,
the second setting module is used for setting the awakening priority of the board card;
the second processing module is configured to determine that a load of the running board card reaches an awakening threshold, trigger wireless service restriction when a receiving service rate reaches the receiving service rate threshold, and awaken the dormant board cards in sequence according to the awakening priority of the board cards, stop an awakening process until the load of the running board card is lower than the awakening threshold, and remove the wireless service restriction.
In the above scheme, the second setting module is further configured to set a wakeup threshold, a wakeup redundancy amount, a received service rate threshold, and a wakeup duration threshold of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
In the above scheme, the second processing module wakes up the sleeping board cards in sequence according to the wake-up priorities of the board cards, stops waking up the flow until the load of the running board cards is lower than the wake-up threshold value, and removing the wireless service restriction includes:
the second processing module wakes up the first dormant board card according to the wake-up priority of the board card from high to low, judges whether the first dormant board card is woken up normally, distributes wireless services to the running board card on average if the first dormant board card is woken up normally, judges whether the load of the running board card reaches a wake-up threshold value, wakes up the second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, repeats the judging and processing operation, stops a wake-up process until the load of the running board card is lower than the wake-up threshold value, and sends a notice of removing the wireless service limitation to the wireless equipment.
In the foregoing solution, the second processing module is further configured to keep the wireless service limited when all the sleeping board cards are woken up and the load of the running board card still reaches the wake-up threshold.
The energy-saving method and the device for the board card provided by the embodiment of the invention set the awakening priority of the board card; when determining that the load of the running board card reaches an awakening threshold value and the receiving service rate is less than the receiving service rate threshold value, sequentially awakening the dormant board cards according to the awakening priority of the board cards, and stopping the awakening process until the load of the running board card is less than the awakening threshold value; or when the load of the running board card is determined to reach the awakening threshold value and the receiving service rate reaches the receiving service rate threshold value, triggering wireless service restriction, and awakening the dormant board cards in sequence according to the awakening priority of the board cards until the load of the running board card is lower than the awakening threshold value, stopping the awakening process and removing the wireless service restriction. Therefore, the reliability of the board card in the dormant state can be effectively ensured to be awakened, the loss of the board card is reduced on the basis of ensuring the safety of equipment, and the energy is effectively saved.
Drawings
Fig. 1 is a schematic flow chart of an energy saving method for a board card according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an energy saving method of a second board card according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of an energy saving method for a tri-board card according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an energy saving method for four boards according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a composition structure of an energy saving device of a board card according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an energy saving device of a second board card according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, the awakening priority of the board card is set; when determining that the load of the running board card reaches an awakening threshold value and the receiving service rate is less than the receiving service rate threshold value, sequentially awakening the dormant board cards according to the awakening priority of the board cards, and stopping the awakening process until the load of the running board card is less than the awakening threshold value; or when the load of the running board card is determined to reach the awakening threshold value and the receiving service rate reaches the receiving service rate threshold value, triggering wireless service restriction, and awakening the dormant board cards in sequence according to the awakening priority of the board cards until the load of the running board card is lower than the awakening threshold value, stopping the awakening process and removing the wireless service restriction.
Wherein, the wireless service restriction means informing the wireless device to transmit the current limit to the wireless service.
Fig. 1 is a schematic flow chart of an energy saving method for a board card according to an embodiment of the present invention, and as shown in fig. 1, the flow of the energy saving method for the board card according to the embodiment includes:
step 101: setting the awakening priority of the board card;
here, the setting of the wake-up priority of the board may be based on a sleep sequence of the board, that is: the rule setting according to the highest wake-up priority of the board which sleeps first and the lowest wake-up priority of the board which sleeps last can be set according to other rules according to actual needs, such as the importance degree of the board and the like.
Step 102: when determining that the load of the running board card reaches an awakening threshold value and the receiving service rate is less than the receiving service rate threshold value, sequentially awakening the dormant board cards according to the awakening priority of the board cards, and stopping the awakening process until the load of the running board card is less than the awakening threshold value;
here, there may be one or more running boards, there may be one or more sleeping boards, and the processing capacities of the running boards and the sleeping boards are the same;
before determining that the load of the running board card reaches the wakeup threshold and the receiving service rate is less than the receiving service rate threshold, the method further comprises:
setting a wakeup threshold value X, a wakeup redundancy quantity Y, a receiving service rate threshold value V and a wakeup duration threshold value T of the board card; the sum of the awakening threshold value X and the awakening redundancy Y is the maximum processing capacity L of the board card;
here, the setting of the wakeup threshold X, the wakeup redundancy amount Y, the received service rate threshold V, and the wakeup duration threshold T of the board card may be set according to actual needs;
awakening the dormant board cards in sequence according to the awakening priority of the board cards, and stopping the awakening process until the load of the running board cards is lower than the awakening threshold value comprises the following steps:
waking up a first dormant board card according to the wake-up priority of the board card from high to low, judging whether the first dormant board card is woken up normally, if the first dormant board card is woken up normally, distributing wireless service to the running board card in average, judging whether the load of the running board card reaches a wake-up threshold value, waking up a second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, and repeating the judging and processing operation until the load of the running board card is lower than the wake-up threshold value X, and stopping a wake-up process; here, the not being awakened normally includes: when the wake-up time threshold is reached, the currently awakened dormant board card is not awakened, or the currently awakened dormant board card is not awakened due to the fault;
if the ith sleeping board card is awakened suddenly and is not awakened by the normally awakened sleeping board card before the ith sleeping board card is awakened (i is more than 1 and less than or equal to the total number of the sleeping board cards), the embodiment of the invention interrupts the awakening of the ith sleeping board card, firstly distributes wireless services to the running board card on average, judges whether the load of the running board card reaches an awakening threshold value, and continues to awaken the ith sleeping board card if the load of the running board card reaches the awakening threshold value; if the value is smaller than the awakening threshold value, stopping the awakening process;
correspondingly, in order to monitor whether a sleeping board card which is not normally wakened up is suddenly wakened up in real time, the embodiment of the invention at least comprises two parallel processes: a process is used for completing the process of awakening the dormant board card; and the other process is used for monitoring whether the sleeping board card which is not woken up normally suddenly waken up in real time, if so, an interrupt event with the highest priority is immediately generated, and the process of wakening up the sleeping board card is interrupted.
When all dormant board cards are awakened and the load of the running board cards still reaches an awakening threshold value, triggering wireless service restriction, sending a wireless service restriction notice to the wireless equipment so that the wireless equipment receiving the notice sends a flow limit to the service, and removing the wireless service restriction when the load of the running board cards is lower than the awakening threshold value; here, the wireless traffic restriction notification includes: suspending the notification of the wireless service transmission or the notification of the transmission rate reduction;
or when the load of the running board card reaches the maximum value of the processing capacity of the running board card before the dormant board card is awakened, triggering wireless service limitation;
fig. 2 is a schematic flow chart of an energy saving method for a second board card according to an embodiment of the present invention, and as shown in fig. 2, the flow of the energy saving method for the board card according to the embodiment includes:
step 201: setting the awakening priority of the board card;
here, the wake-up priority of the board card may be set according to the sleep order of the board cards, that is, according to a rule that the board card which sleeps first has the highest wake-up priority and the board card which sleeps last has the lowest wake-up priority, or according to other rules according to actual needs, such as the importance of the board card.
Step 202: when the load of the board card which is determined to be operated reaches an awakening threshold value and the receiving service rate reaches a receiving service rate threshold value, triggering wireless service restriction, and awakening the dormant board cards in sequence according to the awakening priority of the board cards until the load of the board card which is determined to be operated is lower than the awakening threshold value, stopping an awakening process and removing the wireless service restriction;
here, there may be one or more running boards, there may be one or more sleeping boards, and the processing capacities of the running boards and the sleeping boards are the same;
before determining that the load of the running board card reaches the awakening threshold value and the receiving service rate reaches the receiving service rate threshold value, the method further comprises:
setting a wakeup threshold value X, a wakeup redundancy quantity Y, a receiving service rate threshold value V and a wakeup duration threshold value T of the board card; the sum of the awakening threshold value X and the awakening redundancy Y is the maximum processing capacity L of the board card; here, the setting of the wakeup threshold X, the wakeup redundancy amount Y, the received service rate threshold V, and the wakeup duration threshold T of the board card may be set according to actual needs;
awakening the dormant board cards in sequence according to the awakening priority of the board cards, stopping the awakening process until the load of the running board cards is lower than the awakening threshold value, and removing the wireless service limitation comprises the following steps:
waking up a first dormant board card according to a wake-up priority of the board card from high to low, judging whether the first dormant board card is woken up normally, if the first dormant board card is woken up normally, distributing wireless services to the running board card in an average manner, judging whether the load of the running board card reaches a wake-up threshold value, waking up a second dormant board card when the load of the running board card reaches the wake-up threshold value or the first dormant board card is not woken up normally, repeating the judging and processing operation, stopping a wake-up process until the load of the running board card is lower than the wake-up threshold value, removing the wireless service limitation, namely sending a notification of removing the wireless service limitation to wireless equipment, so that the wireless equipment receiving the notification resumes normal; here, the wireless traffic restriction notification includes: suspending the notification of the wireless service transmission or the notification of the transmission rate reduction; the not being woken up normally includes: when the wake-up time threshold is reached, the currently awakened dormant board card is not awakened, or the currently awakened dormant board card is not awakened due to the fault;
if the ith sleeping board card is awakened suddenly and is not awakened by the normally awakened sleeping board card before the ith sleeping board card is awakened (i is more than 1 and less than or equal to the total number of the sleeping board cards), the embodiment of the invention interrupts the awakening of the ith sleeping board card, firstly distributes wireless services to the running board card on average, judges whether the load of the running board card reaches an awakening threshold value, and continues to awaken the ith sleeping board card if the load of the running board card reaches the awakening threshold value; if the value is smaller than the awakening threshold value, stopping the awakening process;
correspondingly, in order to monitor whether a sleeping board card which is not normally wakened up is suddenly wakened up in real time, the embodiment of the invention at least comprises two parallel processes: a process is used for completing the process of awakening the dormant board card; and the other process is used for monitoring whether the sleeping board card which is not woken up normally suddenly waken up in real time, if so, an interrupt event with the highest priority is immediately generated, and the process of wakening up the sleeping board card is interrupted. When all the dormant board cards are awakened and the load of the running board cards still reaches an awakening threshold value, the wireless service restriction state is kept;
and stopping the awakening process and removing the wireless service limit when the load of the running board card is lower than the awakening threshold value before the dormant board card is awakened.
Fig. 3 is a schematic flow chart of an energy saving method for a three-board card according to an embodiment of the present invention, where the present embodiment includes an operating board card 1 and a dormant board card 2, and processing capacities of the board card 1 and the board card 2 are the same, as shown in fig. 3, the flow of the energy saving method for the board card of the present embodiment includes:
step 301: setting the awakening priority, the awakening threshold value X, the awakening redundancy Y, the receiving service rate threshold value V and the awakening duration threshold value T of the board card;
here, since there is only one sleep board, that is, the board 2, the wake-up priority of the board 2 is set to be the highest, and here, the setting of the wake-up priority can also be cancelled;
because the processing capacities of the board card 1 and the board card 2 are the same, setting a wakeup threshold value X, a wakeup redundancy Y, a receiving service rate threshold value V and a wakeup duration threshold value T which are the same for the board card 1 and the board card 2; the sum of the awakening threshold value X and the awakening redundancy Y is the maximum processing capacity L of the board card;
the setting of the wakeup threshold value X, the wakeup redundancy amount Y, the received service rate threshold value V, and the wakeup duration threshold value T of the board card can be set according to the actual situation.
Step 302: judging whether the load of the board card 1 reaches a wakeup threshold value X, and if so, executing a step 303; if not, step 314 is performed.
Step 303: judging whether the receiving service rate of the board card 1 is smaller than a receiving service rate threshold value V, if so, executing a step 304; otherwise, step 309 is performed.
Step 304: the board card 2 is woken up.
Step 305: judging whether the board card 2 is awakened normally, and if so, executing step 306; if not, go to step 308;
here, the not being awakened normally includes: when the wake-up time threshold value T is reached, the sleeping board card 2 is not waken up, or the sleeping board card 2 is not waken up due to a fault;
in the embodiment of the invention, besides the process for completing the process of waking up the sleeping board card, another process can be used for monitoring whether the sleeping board card which is not woken up normally is suddenly waken up in real time, if so, an interrupt event with the highest priority is immediately generated, and the process of waking up the sleeping board card is interrupted;
when the load reaches the maximum processing capacity of the board card 1 before the board card 2 is awakened normally, the wireless service limitation is triggered directly, and the wireless service limitation is removed after the board card 2 is awakened;
and stopping waking the board card 2 when the load of the board card 1 is reduced to be lower than the wake-up threshold value X before the board card 2 is woken up normally, and ending the processing flow.
Step 306: the wireless traffic is evenly distributed to board 1 and board 2.
Step 307: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing a step 308; if not, step 314 is performed.
Step 308: triggering wireless service restriction and executing step 314;
here, the triggering wireless traffic restriction includes: sending a wireless service restriction notification to the wireless device, so that the wireless device receiving the notification sends a restriction to the service; wherein the wireless traffic restriction notification comprises: suspending the notification of the wireless service transmission or the notification of the decrease in the transmission rate;
because the sleeping board 2 is not woken up normally to trigger the wireless service restriction, if the sleeping board 2 is woken up or repaired during the period of wireless service restriction, the wireless service restriction is removed.
Step 309: triggering the wireless service restriction and waking up the board 2.
Step 310: judging whether the board card 2 is awakened normally, if so, executing step 311; if not, step 314 is performed.
Step 311: the wireless traffic is evenly distributed to board 1 and board 2.
Step 312: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing a step 308; if not, step 313 is performed.
Step 313: releasing the wireless service restriction;
the method specifically comprises the following steps: a notification of the release of the wireless service restriction is sent to the wireless device.
Step 314: the processing flow is ended.
Fig. 4 is a schematic flow chart of an energy saving method for four boards according to an embodiment of the present invention, where the present embodiment includes an operating board 1, a sleep board 2, and a sleep board 3, and the processing capabilities of the board 1, the board 2, and the board 3 are the same, as shown in fig. 3, the energy saving method for the boards according to the present embodiment includes:
step 401: setting the awakening priority, the awakening threshold value X, the awakening redundancy Y, the receiving service rate threshold value V and the awakening duration threshold value T of the board card;
here, because the processing capacities of the board 1, the board 2, and the board 3 are the same, it is set that the board 1, the board 2, and the board 3 have the same wake-up threshold value X, wake-up redundancy Y, reception service rate threshold value V, and wake-up duration threshold value T; the wake-up priority of the board card is set according to the sleep sequence of the board card, and the wake-up priority of the sleep board card 2 is higher than that of the sleep board card 3 in this embodiment.
Step 402: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing a step 403; if not, step 422 is performed.
Step 403: judging whether the service receiving rate of the running board card is less than a service receiving rate threshold value V, if so, executing a step 404; otherwise, step 413 is executed.
Step 404: and awakening the sleeping board card 2.
Step 405: judging whether the board card 2 is awakened normally, if so, executing step 406; if not, go to step 408;
here, the not being awakened normally includes: when the wake-up time threshold value T is reached, the sleeping board card 2 is not waken up, or the sleeping board card 2 is not waken up due to a fault;
in the embodiment of the invention, besides the process for completing the process of waking up the sleeping board card, another process can be used for monitoring whether the sleeping board card which is not woken up normally is suddenly waken up in real time, if so, an interrupt event with the highest priority is immediately generated, and the process of waking up the sleeping board card is interrupted;
when the load reaches the maximum processing capacity of the board 1 before the board 2 is awakened normally, the wireless service restriction is triggered directly, and the wireless service restriction is removed after the board 2 is awakened normally.
Step 406: and distributing the wireless service to the running board card on average.
Step 407: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing step 408; if not, step 422 is performed.
Step 408: the board 3 is woken up.
Step 409: judging whether the board card 3 is awakened normally, if so, executing the step 410; if not, go to step 412;
triggering wireless service restriction when the load reaches the maximum value of the processing capacity of the running board card before the board card 3 is awakened normally, and removing the wireless service restriction after the board card 3 is awakened;
the board 2 is not awakened normally, and the executed awakening board 3 awakens or repairs the board 2 before the board 3 is awakened normally, then the awakening of the board 3 is stopped, wireless services are evenly distributed to the board 1 and the board 2, whether the load of the running board reaches an awakening threshold value X or not is judged, and if the load of the running board reaches the awakening threshold value X, the board 3 is awakened; if not, the process flow is ended.
Step 410: and distributing the wireless service to the running board card on average.
Step 411: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing a step 412; if not, step 422 is performed.
Step 412: triggering wireless service restriction and executing step 422;
here, the triggering wireless traffic restriction includes: sending a wireless service restriction notification to the wireless device, so that the wireless device receiving the notification sends a restriction to the service; wherein the wireless traffic restriction notification comprises: suspending the notification of the wireless service transmission or the notification of the decrease in the transmission rate;
because the board card 3 is not woken up normally to trigger the wireless service restriction, in the period of the wireless service restriction, if the board card 3 is woken up or recovered, the wireless service restriction is removed, the wireless service is distributed to the operation module on average, whether the load of the operating board card reaches a woken-up threshold value X is judged, if yes, the wireless service restriction is triggered again, and the processing flow is ended; otherwise, the processing flow is directly ended.
Step 413: triggering the wireless service restriction and waking up the board 2.
Step 414: judging whether the board card 2 is awakened normally, and if so, executing a step 419; if not, step 415 is performed.
Step 415: the board 3 is woken up.
Step 416: judging whether the board card 3 is awakened normally, and if so, executing a step 417; if not, step 422 is performed.
Step 417: and distributing the wireless service to the running board card on average.
Step 418: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing a step 422; if not, step 421 is performed.
Step 419: and distributing the wireless service to the running board card on average.
Step 420: judging whether the load of the running board card reaches a wakeup threshold value X, and if so, executing a step 415; if not, step 421 is performed.
Step 422: the processing flow is ended.
Fig. 5 is a schematic view of a composition structure of an energy saving device of a board card according to an embodiment of the present invention, and as shown in fig. 5, the composition structure of the energy saving device of the board card according to the embodiment of the present invention includes: a first setting module 51 and a first processing module 52; wherein,
the first setting module 51 is configured to set a wake-up priority of the board card;
the first processing module 52 is configured to determine that the load of the running board card reaches an awakening threshold, and when the receiving service rate is smaller than the receiving service rate threshold, sequentially awaken the sleeping board cards according to the awakening priority of the board cards, and stop the awakening process until the load of the running board card is smaller than the awakening threshold.
Further, the first setting module 51 is further configured to set an awake threshold, an awake redundancy amount, a received service rate threshold, and an awake duration threshold of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
Further, when the first processing module 52 determines that the load of the running board card reaches the wakeup threshold and the received service rate is smaller than the received service rate threshold, sequentially waking up the dormant board cards according to the wakeup priority of the board cards, and stopping the wakeup process until the load of the running board card is smaller than the wakeup threshold includes:
the first processing module 52 wakes up the first sleeping board card first according to the wake-up priority of the board card from high to low, and determines whether the first sleeping board card is woken up normally, and if the first sleeping board card is woken up normally, allocates the wireless service to the running board card on average, determines whether the load of the running board card reaches a wake-up threshold, and wakes up the second sleeping board card when determining that the wake-up threshold is reached or the first sleeping board card is not woken up normally, and repeats the above determination processing operation until the load of the running board card is lower than the wake-up threshold, and stops the wake-up process.
Further, the first processing module 52 is further configured to trigger a wireless service restriction when all the sleeping board cards are woken up and the load of the running board card still reaches a wake-up threshold value, that is, send a wireless service restriction notification to the wireless device;
or, before waking up the sleeping board card, when the load of the running board card reaches the maximum processing capacity of the running board card, triggering the wireless service mechanism.
Fig. 6 is a schematic diagram of a composition structure of an energy saving device of a second board card according to an embodiment of the present invention, and as shown in fig. 6, the composition structure of the energy saving device of the board card of this embodiment includes: a second setting module 61 and a second processing module 62; wherein,
the second setting module 61 is configured to set a wake-up priority of the board card;
the second processing module 62 is configured to determine that the load of the running board card reaches the wakeup threshold, trigger the wireless service restriction when the receiving service rate reaches the receiving service rate threshold, and sequentially wake up the dormant board cards according to the wakeup priority of the board cards, stop the wakeup process until the load of the running board card is lower than the wakeup threshold, and remove the wireless service restriction.
Further, the second setting module 61 is further configured to set an awake threshold, an awake redundancy amount, a received service rate threshold, and an awake duration threshold of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
Further, the second processing module 62 sequentially wakes up the dormant board cards according to the wake-up priorities of the board cards until the load of the running board cards is lower than the wake-up threshold, and the removing of the wireless service restriction includes:
the second processing module 62 wakes up the first dormant board card according to the wake-up priority of the board card from high to low, determines whether the first dormant board card is woken up normally, distributes the wireless service to the running board card on average if the first dormant board card is woken up normally, determines whether the load of the running board card reaches a wake-up threshold, wakes up the second dormant board card when the wake-up threshold is reached or the first dormant board card is not woken up normally, repeats the above determination processing operation, stops the wake-up process until the load of the running board card is lower than the wake-up threshold, and sends a notification of releasing the wireless service restriction to the wireless device.
Further, the second processing module 62 is further configured to stop the wake-up process and remove the wireless service restriction when the load of the running board card is lower than the wake-up threshold before the sleep board card is woken up.
In practical applications, the first setting module 51, the first processing module 52, the second setting module 61, and the second processing module 62 may be implemented by software, or implemented by a Central Processing Unit (CPU) in a server, or a microprocessor unit (MPU), or a Digital Signal Processor (DSP), or a programmable gate array (FPGA).
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (16)
1. An energy-saving method of a board card is characterized in that the awakening priority of the board card is set; the method further comprises the following steps:
and when the load of the running board card is determined to reach the awakening threshold value and the receiving service rate is smaller than the receiving service rate threshold value, awakening the dormant board cards in sequence according to the awakening priority of the board cards, and stopping the awakening process until the load of the running board card is lower than the awakening threshold value.
2. The method of claim 1, wherein before determining that the load of the running board card reaches the wake-up threshold and the received traffic rate is less than the received traffic rate threshold, the method further comprises: setting a wakeup threshold value, a wakeup redundancy amount, a receiving service rate threshold value and a wakeup duration threshold value of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
3. The method of claim 1, wherein the waking up the sleeping boards in sequence according to the wake-up priorities of the boards until the load of the running board is lower than the wake-up threshold comprises:
waking up a first dormant board card according to the wake-up priority of the board card from high to low, judging whether the first dormant board card is woken up normally, if the first dormant board card is woken up normally, distributing wireless service to the running board card in average, judging whether the load of the running board card reaches a wake-up threshold value, waking up a second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, and repeating the judging and processing operation until the load of the running board card is lower than the wake-up threshold value, and stopping the wake-up process.
4. The method of claim 1, wherein when all sleeping boards are woken up and the load of the running board still reaches a wake-up threshold, the wireless service restriction is triggered;
or, when the load of the running board card reaches the maximum processing capacity of the running board card before the sleeping board card is awakened, the wireless service limitation is triggered.
5. An energy saving device for a board card, the device comprising: the device comprises a first setting module and a first processing module; wherein,
the first setting module is used for setting the awakening priority of the board card;
the first processing module is configured to determine that a load of the running board card reaches an awakening threshold value, and when the receiving service rate is smaller than the receiving service rate threshold value, sequentially awaken the sleeping board cards according to the awakening priority of the board cards, and stop the awakening process until the load of the running board card is smaller than the awakening threshold value.
6. The apparatus according to claim 5, wherein the first setting module is further configured to set a wake-up threshold, a wake-up redundancy amount, a received service rate threshold, and a wake-up duration threshold of the board; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
7. The apparatus of claim 5, wherein the first processing module sequentially wakes up the sleeping board cards according to the wake-up priorities of the board cards, and stopping the wake-up process until the load of the running board cards is lower than the wake-up threshold comprises:
the first processing module wakes up the first dormant board card according to the wake-up priority of the board card from high to low, judges whether the first dormant board card is woken up normally, distributes wireless services to the running board card on average if the first dormant board card is woken up normally, judges whether the load of the running board card reaches a wake-up threshold value, wakes up the second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, and repeats the judging and processing operation until the load of the running board card is lower than the wake-up threshold value, and stops the wake-up process.
8. The apparatus of claim 5, wherein the first processing module is further configured to trigger the wireless service restriction when all the sleeping boards are woken up and the load of the running board still reaches a wake-up threshold;
or, before waking up the sleeping board card, triggering the wireless service restriction when the load of the running board card reaches the maximum processing capacity of the running board card.
9. An energy-saving method of a board card is characterized in that the awakening priority of the board card is set; the method further comprises the following steps:
and triggering wireless service restriction when the load of the running board card reaches an awakening threshold value and the receiving service rate reaches a receiving service rate threshold value, awakening the dormant board cards in sequence according to the awakening priority of the board cards, stopping the awakening process until the load of the running board card is lower than the awakening threshold value, and removing the wireless service restriction.
10. The method of claim 9, wherein before determining that the load of the running board card reaches the wake-up threshold and the receiving traffic rate reaches the receiving traffic rate threshold, the method further comprises: setting a wakeup threshold value, a wakeup redundancy amount, a receiving service rate threshold value and a wakeup duration threshold value of the board card; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
11. The method of claim 9, wherein the waking up the sleeping boards in sequence according to the wake-up priorities of the boards, and stopping a wake-up process until a load of a running board is lower than a wake-up threshold, and the removing the wireless service restriction includes:
waking up the first dormant board card according to the wake-up priority of the board card from high to low, judging whether the first dormant board card is woken up normally, if the first dormant board card is woken up normally, distributing wireless service to the running board card in average, judging whether the load of the running board card reaches a wake-up threshold value, waking up the second dormant board card when the load of the running board card reaches the wake-up threshold value or the first dormant board card is not woken up normally, repeating the judging and processing operation, stopping the wake-up process until the load of the running board card is lower than the wake-up threshold value, and sending a notice for removing the wireless service limit to.
12. The method of claim 9, wherein the wireless traffic limit is maintained when all sleeping cards are awake and the load on the active card still reaches the awake threshold.
13. An energy saving device for a board card, the device comprising: the second setting module and the second processing module; wherein,
the second setting module is used for setting the awakening priority of the board card;
the second processing module is configured to determine that a load of the running board card reaches an awakening threshold, trigger wireless service restriction when a receiving service rate reaches the receiving service rate threshold, and awaken the dormant board cards in sequence according to the awakening priority of the board cards, stop an awakening process until the load of the running board card is lower than the awakening threshold, and remove the wireless service restriction.
14. The apparatus according to claim 13, wherein the second setting module is further configured to set a wake-up threshold, a wake-up redundancy amount, a received service rate threshold, and a wake-up duration threshold of the board; and the sum of the awakening threshold value and the awakening redundancy is the maximum processing capacity of the board card.
15. The apparatus of claim 14, wherein the second processing module sequentially wakes up the sleeping board cards according to the wake-up priorities of the board cards, and stops the wake-up process until the load of the running board cards is lower than a wake-up threshold, and the removing the wireless service restriction includes:
the second processing module wakes up the first dormant board card according to the wake-up priority of the board card from high to low, judges whether the first dormant board card is woken up normally, distributes wireless services to the running board card on average if the first dormant board card is woken up normally, judges whether the load of the running board card reaches a wake-up threshold value, wakes up the second dormant board card when the wake-up threshold value is reached or the first dormant board card is not woken up normally, repeats the judging and processing operation, stops a wake-up process until the load of the running board card is lower than the wake-up threshold value, and sends a notice of removing the wireless service limitation to the wireless equipment.
16. The apparatus of claim 14, wherein the second processing module is further configured to maintain the wireless service restriction when all the sleeping cards are woken up and the load of the running card still reaches a wake-up threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410262127.0A CN105208632B (en) | 2014-06-12 | 2014-06-12 | A kind of power-economizing method and device of board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410262127.0A CN105208632B (en) | 2014-06-12 | 2014-06-12 | A kind of power-economizing method and device of board |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105208632A true CN105208632A (en) | 2015-12-30 |
CN105208632B CN105208632B (en) | 2019-10-15 |
Family
ID=54955975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410262127.0A Active CN105208632B (en) | 2014-06-12 | 2014-06-12 | A kind of power-economizing method and device of board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105208632B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106856433A (en) * | 2016-12-28 | 2017-06-16 | 深圳Tcl新技术有限公司 | Equipment awakening method, device and system |
CN109639441A (en) * | 2019-01-31 | 2019-04-16 | 烽火通信科技股份有限公司 | A method of realizing that power consumption adjusts in real time based on business board |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616473A (en) * | 2009-07-27 | 2009-12-30 | 普天信息技术研究院有限公司 | The power-economizing method and the device of radio network controller in a kind of TD-SCDMA system |
CN101625586A (en) * | 2008-07-09 | 2010-01-13 | 联想(北京)有限公司 | Method, equipment and computer for managing energy conservation of storage device |
CN101662370A (en) * | 2008-08-26 | 2010-03-03 | 华为技术有限公司 | Dormancy/wakening method for server and server with dormancy/wakening function |
CN101964754A (en) * | 2010-11-01 | 2011-02-02 | 南京邮电大学 | Point to point (P2P) service identification-based quality of service (QoS) routing method |
US20110059763A1 (en) * | 2009-09-07 | 2011-03-10 | Hideya Yoshiuchi | Communication control apparatus |
EP2407855A1 (en) * | 2009-03-09 | 2012-01-18 | Huawei Technologies Co., Ltd. | Single board energy-saving device, method thereof, and single board |
-
2014
- 2014-06-12 CN CN201410262127.0A patent/CN105208632B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101625586A (en) * | 2008-07-09 | 2010-01-13 | 联想(北京)有限公司 | Method, equipment and computer for managing energy conservation of storage device |
CN101662370A (en) * | 2008-08-26 | 2010-03-03 | 华为技术有限公司 | Dormancy/wakening method for server and server with dormancy/wakening function |
EP2407855A1 (en) * | 2009-03-09 | 2012-01-18 | Huawei Technologies Co., Ltd. | Single board energy-saving device, method thereof, and single board |
CN101616473A (en) * | 2009-07-27 | 2009-12-30 | 普天信息技术研究院有限公司 | The power-economizing method and the device of radio network controller in a kind of TD-SCDMA system |
US20110059763A1 (en) * | 2009-09-07 | 2011-03-10 | Hideya Yoshiuchi | Communication control apparatus |
CN101964754A (en) * | 2010-11-01 | 2011-02-02 | 南京邮电大学 | Point to point (P2P) service identification-based quality of service (QoS) routing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106856433A (en) * | 2016-12-28 | 2017-06-16 | 深圳Tcl新技术有限公司 | Equipment awakening method, device and system |
CN109639441A (en) * | 2019-01-31 | 2019-04-16 | 烽火通信科技股份有限公司 | A method of realizing that power consumption adjusts in real time based on business board |
CN109639441B (en) * | 2019-01-31 | 2021-03-30 | 烽火通信科技股份有限公司 | Method for realizing real-time adjustment of power consumption based on service board card |
Also Published As
Publication number | Publication date |
---|---|
CN105208632B (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110996380B (en) | Terminal wake-up period adjusting method and device, storage medium and electronic equipment | |
TWI439850B (en) | Electronic device and platform management method | |
WO2017075995A1 (en) | Electric quantity monitoring device, navigation system, and vehicle | |
US9329671B2 (en) | Power-efficient inter processor communication scheduling | |
CN109857243B (en) | System-on-chip, universal serial bus master device, system and awakening method | |
CN109982417B (en) | Sensor control method, sensor control device, sensor, and storage medium | |
EP2640136A2 (en) | Application processor wake-up suppression | |
CN106358273B (en) | Low-power consumption communication device | |
CN106648849A (en) | Process freezing method and mobile terminal | |
TW201029496A (en) | Power management method for a wireless communication device and wireless communication device | |
EP3190771B1 (en) | Method and device for managing instant communication application program, and mobile terminal thereof | |
CN113923137A (en) | Whole vehicle bus network abnormity monitoring method and system | |
CN102572119A (en) | Mobile terminal and power-saving method thereof | |
WO2013013527A1 (en) | Base station and energy-saving method thereof | |
CN105208632B (en) | A kind of power-economizing method and device of board | |
CN103577306A (en) | Active-detecting high-availability software operating method in cloud platform | |
CN112398661B (en) | Equipment dormancy processing method and device, ioT equipment and storage medium | |
CN102130772A (en) | Energy-saving method of service single board, main control board, service single board and access equipment | |
CN105100125B (en) | A kind of dormancy control method of virtual desktop, apparatus and system | |
CN110475321A (en) | The economize on electricity optimization method and device of wireless local area network AP | |
CN110990066B (en) | Sleep awakening method of communication terminal | |
CN109729575B (en) | Method, device, equipment and medium for determining working mode | |
TWI386019B (en) | Reciprocal wake-up system for handheld devices with insert type wireless communication module and a method therefore | |
CN114327023B (en) | Energy saving method, system, computer medium and electronic equipment of Kubernetes cluster | |
TW201931901A (en) | Beacon signal processing device |
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 |