WO2010028595A1 - Packet gateway and method for saving power consumption - Google Patents

Packet gateway and method for saving power consumption Download PDF

Info

Publication number
WO2010028595A1
WO2010028595A1 PCT/CN2009/073833 CN2009073833W WO2010028595A1 WO 2010028595 A1 WO2010028595 A1 WO 2010028595A1 CN 2009073833 W CN2009073833 W CN 2009073833W WO 2010028595 A1 WO2010028595 A1 WO 2010028595A1
Authority
WO
WIPO (PCT)
Prior art keywords
service processing
power consumption
processing module
service
processing modules
Prior art date
Application number
PCT/CN2009/073833
Other languages
French (fr)
Chinese (zh)
Inventor
郭�东
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010028595A1 publication Critical patent/WO2010028595A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a packet gateway and a method for saving power consumption. Background technique
  • W-CDMA Wide-Bell Code Division Multiplex Access
  • CDMA Code Division Multiplex Access
  • WiMAX Worldwide Interoperability for Microwave Access
  • GGSN GPRS Gateway Support Node
  • PDSN Packet Data Serving Node
  • ASN GW Access Service Gateway
  • the three types of packet gateways described above are generally composed of a plurality of working modules.
  • the number of working modules needs to meet the maximum load of the gateway, but the time when the gateway runs to achieve the maximum service load is small.
  • the variety of services and the increasing data traffic more and more packet gateways need to be deployed. Therefore, the energy consumed by these gateways themselves and the cooling of the air conditioners required after the heat generation make the energy consumption increase sharply, and the global energy conservation and emission reduction In the background, how to save power becomes an urgent problem to be solved.
  • the embodiment of the present invention provides a packet gateway and a method for saving power consumption.
  • the technical solution is as follows:
  • a packet gateway, the packet gateway includes:
  • a management control module configured to determine a quantity of service processing modules that need to work normally in the multiple service processing modules of the packet gateway, set the determined number of service processing modules to a normal working state, and set the remaining number of service processing modules
  • the power consumption control state is used for reducing power consumption.
  • the multiple service processing modules are configured to process the uplink and downlink signaling of the terminal user and process and forward the data packet of the terminal user packet service.
  • a method for saving power by a packet gateway comprising:
  • the service processing module set to the normal working state processes the uplink and downlink signaling of the terminal user and processes and forwards the data packet of the terminal user packet service.
  • FIG. 1 is a schematic diagram of a GGSN gateway in the prior art
  • FIG. 2 is a schematic diagram of a PDSN gateway in the prior art
  • FIG. 3 is a schematic diagram of an ASN GW gateway in the prior art
  • FIG. 4 is a schematic diagram of a packet gateway provided by Embodiment 1 of the present invention
  • 5 is a schematic structural diagram of reducing packet impact in a packet gateway according to Embodiment 1 of the present invention
  • FIG. 6 is a flowchart of a method for saving power consumption of a packet gateway according to Embodiment 2 of the present invention
  • FIG. 7 is a second embodiment of the present invention
  • a flow chart of a method for dynamically saving power of a packet gateway is provided.
  • FIG. 8 is a flowchart of a method for reducing impact on a service in a method for saving power of a packet gateway according to Embodiment 2 of the present invention.
  • the packet gateway described in the embodiment of the present invention may be a GGSN, a PDSN, or an ASN GW.
  • the structure of various packet gateways will be first described below to better understand the embodiments of the present invention.
  • Figure 1 is a schematic diagram of a GGSN gateway.
  • the GGSN mainly has Gn, G i, Gp, Gy, Ga, Gmb logical interfaces.
  • Figure 2 is a schematic diagram of a PDSN gateway.
  • the PDSN mainly has RP and P i logical interfaces
  • Figure 3 is a schematic diagram of the ASN GW gateway.
  • the ASN GW mainly has R6, R4, and R3 logical interfaces.
  • the communication parties on all the logical interfaces of the above-mentioned packet gateways are identified by IP addresses. Through these logical interfaces, the packet gateway interacts with surrounding network elements to complete Packet service of mobile terminal users.
  • a relatively common method for saving power in a packet gateway is to dynamically reduce the power consumption of each CPU in the gateway, that is, when the CPU usage is low, adjust the CPU running speed, so that the CPU It can operate at lower frequency or lower voltage to save power.
  • This technology works in the same way as the energy-saving mode provided by Windows on a personal PC.
  • the power consumption of the CPU is only a part of it, so even the packet gateway All CPUs are dynamically power-controlled, and the power consumption can be reduced compared with the original total power consumption.
  • the embodiment of the present invention reduces the power consumption and heat dissipation of the device by controlling the working state of the service processing module to achieve a power saving effect.
  • Example 1 Referring to FIG. 4, an embodiment of the present invention provides a packet gateway, where the packet gateway determines the number of service processing modules that need to work normally, sets a determined number of service processing modules to a normal working state, and the remaining number of service processing modules. Set to the power control state, which significantly reduces the power consumption and heat dissipation of the device itself, achieving good energy saving effect.
  • the packet gateway 1 includes a route distribution module 2, a plurality of service processing modules 3, and a management control module 4;
  • the route distribution module 2 is configured to send out a physical interface, configure an IP address of each physical interface, and receive and distribute the packet outside the packet gateway, and send the packet processed by the packet gateway to the outside;
  • All the IP packets received by the packet gateway 1 first enter the route distribution module 2.
  • the route distribution module 2 analyzes the destination IP address. The address is accurately distributed to the service processing module 3 or the management control module 4, and the corresponding module performs packet processing.
  • All the IP packets sent by the packet gateway 1 that is, the packets generated by the service processing module 3 or the management control module 4 are first sent to the route distribution module 2 and sent out by the route distribution module 2 .
  • the route distribution module 2 After the route distribution module 2 receives a packet, if the destination IP address of the packet is not the IP address of each logical interface in the packet gateway 1, the route distribution module 2 automatically forwards the packet to the destination IP address according to the routing table. One hop device.
  • the plurality of service processing modules 3 are configured to complete the uplink and downlink network signaling processing of the terminal user and the data packet processing and forwarding when performing the packet service according to a standard communication protocol.
  • each service processing module runs the same service software.
  • the software processes the uplink and downlink signaling processing of the terminal user and the data packet processing and forwarding of the packet service according to the standard communication protocol.
  • the packets processed by the service processing module may be referred to as service packets.
  • the uplink and downlink network signaling of the terminal user refers to that the terminal user needs the signaling interaction between the terminal and the neighboring device to ensure that the terminal user implements the Internet or the network.
  • Each service processing module is configured with a set of logical interface IP addresses, and the surrounding network element sends a service packet to the local gateway.
  • the destination IP address of the service packet is the IP address of the corresponding logical interface in the gateway.
  • the service packets are sent first.
  • the route distribution module After the route distribution module receives the packet, the route distribution module forwards the packet to the corresponding service processing module according to the destination IP address of the service packet. After receiving the service packet, the service processing module processes the packet, and generates a local packet after the processing. The source IP address of the local packet is also the IP address of the corresponding logical interface, and then the service processing module sends the local packet to the route distribution module. After the route distribution module receives the next hop corresponding to the destination IP address according to the routing table. The device sends.
  • each service processing module presents a separate packet gateway logical functional entity to the surrounding network element with a set of logical interface IP addresses configured.
  • the management control module 4 is configured to process non-service packets such as routing protocols, operation and maintenance, and perform operation management on the entire device.
  • the management control module 4 also configures a logical interface IP address, and the peripheral network element sends a non-service packet to the packet gateway 1.
  • the destination IP address of the non-service packet is the IP address of the logical interface, and the non-service packets are sent first.
  • the route distribution module 2 forwards the message to the management control module 4, and after receiving the non-service>3 ⁇ 4 text, the management control module 4 processes the local message, and the local message is generated.
  • the source IP address is also the IP address of the logical interface, and then the management control module 4 sends the local packet to the route distribution module 2, and after receiving the route, the route distribution module 2 sends the next hop device corresponding to the destination IP address according to the routing table. .
  • the packet gateway 1 may receive the packet, process, respond, and then send it to other network elements, or may generate a local packet and send it to other network elements, and then receive the response before processing.
  • the neighboring network element interacts with the packet gateway 1 to obtain corresponding routing information, which can be ensured by dynamic route learning or manual configuration to ensure the IP addresses of the various logical interfaces of the service processing module 3 and the management control module 4 in the packet gateway 1.
  • the IP address of the physical interface of the address and route distribution module becomes one megabyte adjacent.
  • the management control module 4 is further configured to determine the number of service processing modules that need to work normally in the multiple service processing modules of the packet gateway, set the determined number of service processing modules to a normal working state, and the remaining number of service processing The module is set to the power control state.
  • the management control module 4 specifically includes:
  • the determining unit is configured to read a preset power consumption control rule, and directly determine the number of service processing modules that need to work normally according to the preset power consumption control rule.
  • the preset power consumption control rule specifies how many service processing modules need to work normally in the current time period.
  • the packet gateway has six service processing modules, and the power consumption control rule specifies 23: 00-7: 00 per day.
  • the time period requires two service processing modules. Therefore, the determining unit can directly determine two service processing modules that need to work normally according to the power consumption control rule in the daily period of 23: 00-7: 00.
  • a setting unit configured to set the determined number of service processing modules to a normal working state according to the number of service processing modules determined to be working normally determined by the determining unit, and set the remaining number of service processing modules to be in a power consumption control state.
  • the remaining number refers to the number of the plurality of service processing modules except the determined number of service processing modules that need to work normally.
  • the setting unit sets the determined two service processing modules to the normal working state, and the remaining number of service processing modules, that is, the four service processing modules, are set to the power consumption control state.
  • the management control module further includes:
  • a recording unit configured to record the number of times that all service processing modules are controlled by power consumption
  • the setting unit when configured to set the remaining number of service processing modules to a power consumption control state, the service processing module with the least number of power consumption control times is preferentially set to a power consumption control state.
  • Such a gateway that determines the number of service processing modules that need to work normally by reading a preset power consumption control rule may be referred to as a static power saving packet gateway.
  • the management control module 4 may further include:
  • a determining unit configured to read a preset power consumption control rule, and determine whether the current time period needs to be entered Line power control.
  • This power control rule specifies whether power consumption control is required for the current time period. For example, power control is not required from 7:00 to 23:00 during the daytime, and power control is required from 3:00 to 7:00 in the night. Of course, it is also possible to use real-time power consumption control without making time judgments.
  • the following describes a dynamic power-saving packet gateway that calculates the number of service processing modules that need to work properly.
  • the maximum traffic load that the gateway is allowed to run can be recorded as MaxLoad, which matches the gateway hardware capabilities.
  • the maximum service load that each service processing module can carry is recorded as sing le-MaxLoad.
  • the service load currently carried by each service processing module is recorded as sing le-Rea lLoad, and the actual current total service load is recorded as Rea lLoad.
  • the total number of processing modules is recorded as Tota lN.
  • the number of service processing modules that need to work normally for the current service is recorded as NeedNum.
  • the number of service processing modules currently working normally is recorded as Rea lN.
  • This embodiment assumes that the maximum service load s ing le-MaxLoad that each service processing module can carry is the same. Generally, the maximum service load s ingle-MaxLoad that each service processing module can carry is the same.
  • the management control module 4 specifically includes:
  • the first calculating unit is configured to calculate a maximum service load s ing le-MaxLoad sum that can be carried by all the service processing modules.
  • the management control module 4 first reads a default license file, which records the maximum service load MaxLoad that the gateway is allowed to run. By reading the default license file, the maximum service load MaxLoad allowed by the packet gateway is obtained, for example: The number of users hosted, throughput, and more. Before, after or at the same time, the service processing module of the packet gateway reports the maximum service load sing le-MaxLoad that can be carried by the packet to the management control module 4, and the first of the management control module 4 The calculation unit calculates the sum of the maximum service load sing le-MaxLoad that can be carried by all the service processing modules, and rejects the service that is greater than the maximum service load MaxLoad defined by the default license file.
  • the first computing unit is further configured to load the traffic load currently carried by each service processing module After the s ing le-Rea lLoad is reported to the management control module 4, the current total service load of the packet gateway is calculated.
  • the second calculating unit is configured to calculate, according to the current total service load Rea lLoad calculated by the first calculating unit and the maximum service load MaxLoad that the gateway is allowed to run, calculate the number of service processing modules that need to work normally, NeedNum, and the service that needs to work normally
  • the number of processing modules NeedN is used as the first quantity; the specific calculation formula is: RealLoad
  • NeedNum is a function of Rea lLoad.
  • the obtaining unit is configured to obtain the number of service processing modules that are currently working normally, Rea lNum, and make the number of service processing modules that are currently working normally Rea lN as the second quantity;
  • a comparing unit configured to compare the first quantity and the second quantity, and calculate a difference between the first quantity and the second quantity; that is, calculate a difference between the NeedNum and the Rea lNum.
  • a first control unit configured to: when the first quantity is greater than the second quantity, the service processing module that is currently in the power consumption control state, and the service processing module of the difference quantity calculated by the comparison unit is set to a normal working state;
  • NeedNum is greater than Rea 1N
  • the number of (NeedNum-RealNum) service processing modules in the power consumption control state is set to the normal working state.
  • the second control unit is configured to: when the first quantity is less than the second quantity, the service processing module that is currently in the normal working state, and the service processing module of the difference quantity calculated by the comparison unit is set to the power consumption control state.
  • the service processing module in which the number of (RealNum-NeedNum) is in a normal working state is set to the power consumption control state.
  • the second control unit may further include:
  • a reading subunit configured to read a preset power consumption control rule when the first quantity is less than the second quantity Then, obtaining a power consumption control type corresponding to the service processing module of the first quantity and the second quantity difference value in the service processing module that is currently in a normal working state;
  • a first setting subunit configured to: when the first quantity is less than the second quantity, according to a power consumption control type obtained by the reading subunit, the service processing module currently in a normal working state, the first quantity and the second quantity The difference processing service module is set to the corresponding power control state.
  • the second calculating unit may specifically include:
  • the redundancy calculation sub-unit is configured to: after calculating the current total service load calculated by the first calculation unit and the maximum service load allowed by the gateway, calculating the number of service processing modules that need to work normally, and processing the service that needs to work normally The number of modules plus the preset amount of redundancy, and the number of redundant service processing modules that need to work properly is taken as the first quantity.
  • NeedN The number of calculated business processing modules that need to work normally NeedN allows the addition of redundancy to prevent the shortage of NeedN when burst traffic occurs.
  • the power control rule may be manually preset or modified in real time.
  • the power control rule includes: defining whether a certain time period needs power control, and the number of service processing modules that need to work normally. The amount of redundancy, the type of power control operation set according to different time periods.
  • the types of power control include power-down, sleep, and dynamic frequency-down. These three types of power control are well known in the art and will not be described here.
  • the gateway operates normally; 12 to 14 points, power control, you can The power control type is set to dynamic frequency reduction; power control from 8 to 24 points, the power control type can be set to sleep; power control is performed from 24 to 8 am, set to power off, the energy saving effect is most obvious .
  • the second control unit may further include:
  • the locking subunit 11 is configured to: when the first quantity is less than the second quantity, the service processing module that is currently in the normal working state, and the service processing module of the difference quantity calculated by the comparison unit is set to the power consumption control state, The difference processing service module is locked;
  • the meaning of the lock is to continue to carry the existing services, but no longer accept new services.
  • the frequency reduction sub-unit 12 is configured to dynamically down-clock the service processing module locked by the locking sub-unit 11; the selecting sub-unit 13 is configured to select a service processing module from the service processing module in a normal working state as a proxy service processing.
  • the backup subunit 14 is configured to back up the service to the proxy service processing module selected by the selecting subunit 13 when the load of the currently carried service on the locked service processing module is less than a preset threshold, and Modifying the distribution information on the route distribution module 2, so that the service on the locked service processing module reaches the proxy service processing module correctly;
  • the threshold is pre-configured in the power consumption control rule.
  • the second setting subunit 15 is configured to set the service processing module locked by the locking subunit 11 to a power-off state or a sleep state.
  • the second control unit further includes:
  • a determining subunit configured to determine whether a sum of a load of the service currently carried by the proxy service processing module and a load of the service carried by the locked service processing module is less than a maximum service load of the proxy service processing module, and if so, the locked The service carried by the service processing module is backed up to the proxy service processing module. Otherwise, a service processing module can be selected from the service processing module in the normal working state as the proxy service processing module, and then the service of the service that cannot be backed up is located. All services on the processing module are backed up to the reselected proxy service processing module.
  • the second control unit may further include:
  • the reclaiming sub-unit is configured to reclaim the service backed up to the proxy service processing module to the service processing module that has been powered off or hibernated, and modify the routing distribution module 2 when the service processing module that has been powered off or hibernated needs to work normally.
  • the distribution information so that the distribution information is back to the service processing module that has been powered off or hibernated;
  • Unlocking the stator unit after the reclaiming subunit retracts the service backed up to the proxy service processing module to the service processing module that has been powered off or hibernated, and causes the locked service processing module to carry the service originally backed up to the proxy service processing module. Then, the service processing module that has been powered off or hibernated is unlocked, so that the service processing module that has been powered off or hibernated resumes accepting new service requests.
  • management control module 4 may further include:
  • a recording unit configured to record the number of times that all the service processing modules 3 are controlled by power consumption
  • the second control unit is configured to: in the service processing module that is currently in the normal working state, when the service processing module of the difference quantity calculated by the comparing unit is set to the power consumption control state, the power consumption control priority is preferentially The least business processing module is set to the power control state.
  • each business processing module is almost equal in power consumption control, which can extend the life of the hardware.
  • the management control module 4 can separately control the running status of each service processing module in the service processing module 3.
  • the gateway provided in this embodiment includes a management control module 4 and a route distribution module 2, which can also be combined into one physical module in an actual application.
  • the specific changes are obvious and will not be described here.
  • the service processing module that needs to perform power consumption control when the service reliability requirement is not high, may be directly powered off, dormant, or dynamically down-converted, without considering the impact on the user service after power-off or sleep.
  • the service reliability requirement when the service reliability requirement is high, you need to consider the impact on the user service after power-off or sleep. You can first dynamically down-clock the service processing module that needs to perform power consumption control.
  • the load of the service processing module is less than a preset threshold, the service processing module that needs to perform power consumption control is backed up to another normal working service processing module, and then the power consumption control is required for the power processing module.
  • the service processing module is powered off or hibernated.
  • the present invention can also be applied to a broadband access server of a fixed network, and is applied to a PDN device in the future LTE and SAE systems of 3GPP, and the specific working principle is the same.
  • the beneficial effects of the embodiment of the present invention are: the management control module sets a determined number of service processing modules to a normal working state by determining the number of service processing modules that need to work normally, and sets the remaining number of service processing modules to a power consumption control state.
  • the energy saving effect of the gateway is very significant. Under normal circumstances, the total service load of the gateway currently running in the middle of the night from 1: 00 to 7: 00 is only about 15% ⁇ 20% of its maximum business load. When power consumption is applied to the gateway, the power consumption can be directly saved by about 20% per day.
  • the equipment's heat dissipation can save 20% energy consumption.
  • the power consumption control for directly powering down or sleeping the service processing module that needs to perform power consumption control is reduced. After that, the user's business may be interrupted.
  • an embodiment of the present invention provides a method for saving power consumption by a packet gateway. First, determining the number of service processing modules that need to work normally, setting the determined number of service processing modules to a normal working state, and remaining number of The business processing module is set to the power control state. The method includes:
  • Step 101 Determine the number of business processing modules that need to work normally.
  • Step 102 Set the determined number of service processing modules to a normal working state according to the determined number of service processing modules that need to work normally, and set the remaining number of service processing modules to be in a power consumption control state.
  • the remaining number refers to the number of the plurality of service processing modules that the packet gateway has, except for the determined number of service processing modules that need to work normally.
  • the number of service processing modules that need to be determined to work normally includes:
  • the preset power consumption control rule specifies how many service processing modules need to work normally in the current time period.
  • the packet gateway has six service processing modules, and the power consumption control rule specifies 23: 00-7: 00 per day. Two business processing modules are required, so according to the power consumption control rules, At 23: 00-7: 00 every day, directly determine the number of business processing modules that need to work normally.
  • This method of determining the number of service processing modules that need to be functioning by reading a preset power consumption control rule may be referred to as a method of statically saving gateway consumption.
  • the number of service processing modules that need to be working normally is determined.
  • the method further includes: first, the maximum service load allowed to be operated by the packet gateway is recorded as MaxLoad, and the maximum service load MaxLoad matches the hardware capability of the packet gateway. .
  • the maximum service load that each service processing module can carry is recorded as sing le-MaxLoad.
  • the service load currently carried by each service processing module is recorded as sing le-Rea lLoad, and the actual current total service load is recorded as Rea lLoad.
  • the total number of processing modules is recorded as Tota lNum.
  • the number of service processing modules that need to work normally for the current service is recorded as NeedNum.
  • the number of service processing modules currently working normally is recorded as Rea IN.
  • This embodiment assumes that the maximum service load s ing le-MaxLoad that each service processing module can carry is the same. Generally, the maximum service load s ing le-MaxLoad that each service processing module can
  • the following is a detailed description of the method for dynamic power saving of the packet gateway.
  • the method determines the number of service processing modules that need to work normally.
  • Step 201 When the packet gateway is started, the default license file is read.
  • the default license file records the maximum service load MaxLoad that the gateway is allowed to run.
  • the maximum service load MaxLoad allowed by the packet gateway is obtained, such as : Number of users hosted, throughput, and more.
  • the service processing module of the packet gateway reports the maximum service load si ng 1 e-MaxLoad that can be carried by the packet to the management control module, and the management control module calculates all service processing. Maximum business load reported by the module
  • the startup includes the initial startup and restart.
  • Step 202 After the packet gateway is running, the periodic timer is started, and each service processing module periodically reports the traffic load s ing le-Rea lLoad that is currently carried by the service processing module to the management control module.
  • the interval of the periodic timer can be set to 1 minute.
  • Step 203 After receiving the service load sing le-Rea lLoad of the current bearer reported by each service processing module, the management control module periodically calculates the current total service load of the packet gateway, Rea lLoad 0.
  • Step 204 The management control module obtains the maximum service according to the maximum service The load MaxLoad and the current total service load Rea lLoad calculation requires the number NedN drawing of the number of service processing modules that work normally, and the number NedN of the service processing modules that need to work normally is given as the first quantity.
  • NeedNum is a function of Rea lLoad. TotalNum.
  • the service processing module of the determined quantity is set to a normal working state, and the remaining number of service processing modules are set to a power consumption control state according to the determined number of the service processing modules that need to be working normally.
  • Step 205 The management control module obtains the number of service processing modules that are currently working normally, Rea lNum, and sets the number of service processing modules Rea 1N that is working normally as the second quantity.
  • Step 206 The management control module compares the first quantity and the second quantity, and calculates a difference between the first quantity and the second quantity, that is, calculates a difference between NeedNum and Rea lNum. If NeedNum is greater than Rea lNum, step 207 is performed, if NeedNum If it is less than Rea 1N, step 208 is performed. If NeedNum is equal to Rea lN, the process returns to step 203.
  • Step 207 The management control module is in a service processing module in a power control state, and the service processing module of the first quantity and the second quantity difference quantity is set to a normal working state, that is,
  • the (NeedNum-RealNum) number of service processing modules in the power consumption control state are set to the normal working state, and then, return to step 203.
  • Step 208 The management control module sets the service processing module of the first quantity and the second quantity of the difference quantity into a power consumption control state, that is, the number of ( ealNum-NeedNum) is in the service processing module that is currently in the normal working state.
  • the service processing module in the normal working state performs power consumption control, and then returns to step 203.
  • the management control module is based on the maximum service load MaxLoad obtained and the current total service
  • the load Rea lLoad calculates the number of business processing modules that need to work properly. NeedN is allowed.
  • the method also includes:
  • the preset power consumption control rule can be read to determine whether power consumption control is required in the current time period, wherein the preset power consumption control rule specifies whether current power consumption is required for the current time period, for example, during normal daytime 7 No power control is required from point 23 to 23, and power control is required from 23 to 7 in the night.
  • the management control module can directly determine whether the current time period requires power consumption control by reading the power consumption control rules.
  • the service processing module that is in the normal working state, when the service processing module of the difference between the first quantity and the second quantity is set to the power consumption control state specifically includes:
  • NeedNum which is the first quantity, and includes:
  • the number of business processing modules is the first quantity.
  • the number of calculated business processing modules that need to work normally NeedN allows the addition of redundancy to prevent the shortage of NeedN when burst traffic occurs.
  • the power control state includes a power-down state, a sleep state, and a dynamic frequency-down state, wherein the dynamic frequency-down refers to dynamically selecting an operating frequency according to a CPU load.
  • the power consumption control rule may be manually preset or manually modified.
  • the power consumption control rules include: defining whether a certain time period requires power consumption control, and how much redundancy the NeedN allows, according to different The type of power control operation set by the time period.
  • the service on the service processing module that needs to perform power consumption control can be backed up to another normal working service.
  • the service processing module that is currently in the normal working state the service module of the first quantity and the second quantity of the difference is set to the power consumption control state, and may specifically include:
  • Step 301 Lock the service processing module of the first quantity and the second quantity of the difference quantity in the service processing module that is currently in the normal working state.
  • the embodiment of the present invention uses the service processing module A as a service processing module in the service processing module of the first quantity and the second quantity difference, as an example, that is, the service processing module A is a service processing that needs to perform power consumption control. Module.
  • Step 302 Dynamically down-clock the locked service processing module.
  • Step 303 Select a service processing module from the service processing module in a normal working state as a proxy service processing module.
  • the service processing module B is used as the proxy service processing module selected from the service processing module in the normal working state.
  • Step 304 When the load of the service carried on the locked service processing module is less than a preset threshold, start the backup of the service processing module A to the proxy service processing module B, and back up the service from the service processing module A to the proxy service. Process module B, and modify the distribution information so that the packets of the service reach the proxy service processing module correctly.
  • the threshold is pre-configured in the power consumption control rule.
  • Step 305 Set the locked service processing module to a power-off state or a sleep state.
  • the method further includes:
  • a service processing module can be selected from the service processing module in the normal working state as the proxy service processing module, and then all the services on the service processing module where the service that is not backed up is located Back up to the reselected proxy service processing module.
  • the service backed up to the proxy service processing module is reclaimed to the service processing module that has been powered off or hibernated, and the distribution information is modified, so that the distribution information refers to
  • the service processing module that has been powered off or hibernated is then unlocked, and the service processing module that has been powered off or hibernated is unlocked, so that the service processing module that has been powered off or hibernated resumes accepting new service requests.
  • the number of times that all the service processing modules in the packet gateway are controlled by the power consumption may be recorded, and the service processing module that is currently in the normal working state is set, and the service processing module of the difference quantity calculated by the comparing unit is set to In the power control state, the service processing module with the least number of power control times is preferentially set to the power control state.
  • each business processing module is almost equal in power consumption control, which can extend the life of the hardware.
  • the embodiment of the present invention assumes that the maximum service load of each service processing module is the same. Generally, the maximum service load of each service processing module is the same, but the maximum service load of the service processing module may be different due to some special circumstances. . For this situation, you can set the maximum weight of the maximum service load in each service processing module to be 1, and the maximum service load in the remaining service processing modules is proportionally weighted, for example, there are 10 service processing modules, and the third The maximum service load that can be carried on the service processing module is 100, and the weight is set to 1. The maximum service load that can be carried on the fifth service processing module is 80, the weight is set to 0. 8, and so on. , according to When calculating the number of service processing modules that need to work normally in Embodiment 2, each service processing module after weighting processing may be considered. The specific calculation method changes are obvious and will not be described here.
  • the service processing module that needs to perform power consumption control when the service reliability requirement is not high, may be directly powered off, dormant, or dynamically down-converted, without considering the impact on the user service after power-off or sleep.
  • the service reliability requirement when the service reliability requirement is high, you need to consider the impact on the user service after power-off or sleep. You can first dynamically down-clock the service processing module that needs to perform power consumption control.
  • the load of the service processing module is less than a preset threshold, the service processing module that needs to perform power consumption control is backed up to another normal working service processing module, and then the power consumption control is required for the power processing module.
  • the service processing module is powered off or hibernated.
  • the invention can also be applied to a broadband access server of a fixed network, and is applied to a PDN device in the future LTE and SAE systems of 3GPP.
  • the specific process is the same and will not be described here.
  • the beneficial effects of the embodiments of the present invention are: setting a determined number of service processing modules to a normal working state by determining the number of service processing modules that need to work normally, and setting the remaining number of service processing modules to a power consumption control state, so that the gateway
  • the energy saving effect is very significant.
  • the total service load of the gateway currently running in the middle of the night from 1: 00 to 7: 00 is only about 15% ⁇ 20% of its maximum business load.
  • the power consumption can be directly saved by approximately 20% per day. At the same time, it can save 20% of the equipment's heat dissipation, which can save 20% energy consumption.
  • Embodiments of the invention may be implemented in software, and the corresponding software program may be stored in a readable storage medium, such as a hard disk, a cache, or an optical disk of a computer.
  • a readable storage medium such as a hard disk, a cache, or an optical disk of a computer.

Abstract

A packet gateway and a method for saving power consumption are provided. The packet gateway comprises: a service processing module used for processing on-line and off-line signaling of a terminal user and processing and retransmitting the data message of packet service of the terminal user; a management control module used for determining the number of the service processing modules needed to work normally, setting the determined quantitative service processing modules in a normal work state, and setting the rest of service processing modules in a power consumption control state. The method for saving power consumption comprises that: the number of the service processing modules needed to work normally is determined, the determined quantitative service processing modules are set in the normal work state, and the rest of service processing modules are set in the power consumption control state. Application of the present invention reduces the energy consumption of the gateway obviously.

Description

分组网关及节省功耗的方法 本申请要求于 2008 年 09 月 12 日提交中国专利局、 申请号为 200810222253.8、 发明名称为"一种分组网关及节省功耗的方法"的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Packet gateway and method for saving power consumption This application claims priority to Chinese patent application filed on September 12, 2008, the Chinese Patent Office, Application No. 200810222253.8, entitled "A Packet Gateway and Power Saving Method" The entire contents of which are incorporated herein by reference. Technical field
本发明涉及通信技术领域, 特别涉及一种分组网关及节省功耗的方法。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a packet gateway and a method for saving power consumption. Background technique
随着互联网与移动终端的日益普及, 分组网络以高效、 低成本的优势迅 猛发展。 目前主要有宽带码分多址(Wide-brand Code Division Multiplex Access , W-CDMA ) 、 码分多址 ( Code Division Multiplex Access , CDMA ) 和全球微波互联接入 ( Worldwide Interoperability for Microwave Access, WiMAX) 这三种分组网络, 这三种网络中, 负责完成分组业务的网关分别是 GPRS 网关支撑节点 (Gateway GPRS Support Node, GGSN ) 、 分组数据服务 节点 ( Packet Data Serving Node, PDSN )和接入业务网关 ( Access Service Network Gateway, ASN GW ) 。 这三种网关在网络中都是位于接入网络与公用 分组数据网络之间,其功能都是完成移动终端与公用分组数据网络的 IP设备 通信的信道建立以及业务数据传输。 这三种设备可以统称为分组网关。  With the increasing popularity of the Internet and mobile terminals, packet networks are rapidly evolving with the advantages of high efficiency and low cost. Currently, there are mainly Wide-Bell Code Division Multiplex Access (W-CDMA), Code Division Multiplex Access (CDMA) and Worldwide Interoperability for Microwave Access (WiMAX). Three kinds of packet networks, among which the gateways responsible for completing the packet service are a GPRS Gateway Support Node (GGSN), a Packet Data Serving Node (PDSN), and an Access Service Gateway ( Access Service Network Gateway, ASN GW). These three gateways are located between the access network and the public packet data network in the network, and their functions are to complete the channel establishment and service data transmission of the IP device communication between the mobile terminal and the public packet data network. These three devices can be collectively referred to as a packet gateway.
如上所述的三种分组网关, 其一般都是由许多工作模块组成的, 工作模 块的配置数量需要满足网关的最大负荷, 但是网关运行时达到最大业务负荷 的时间很少。 而且由于分组业务的迅速发展, 业务种类日益丰富、 数据流量 日益加大, 需要部署的分组网关越来越多。 因此, 这些网关本身消耗的电能 以及发热后所需的空调降温, 使得能源消耗急剧增大, 在全球节能减排的大 背景下, 如何节省功耗成为一个迫切需要解决的问题。 The three types of packet gateways described above are generally composed of a plurality of working modules. The number of working modules needs to meet the maximum load of the gateway, but the time when the gateway runs to achieve the maximum service load is small. Moreover, due to the rapid development of packet services, the variety of services and the increasing data traffic, more and more packet gateways need to be deployed. Therefore, the energy consumed by these gateways themselves and the cooling of the air conditioners required after the heat generation make the energy consumption increase sharply, and the global energy conservation and emission reduction In the background, how to save power becomes an urgent problem to be solved.
现有技术中对网关中的各个 CPU进行动态降频的这种功耗控制方法节省 功耗的效果不明显, 不能达到理想的节省功耗的目的。 发明内容  In the prior art, the power consumption control method for dynamically down-clocking each CPU in the gateway does not have obvious effect of saving power, and the ideal power saving cannot be achieved. Summary of the invention
为了提高网关降低消耗的程度, 本发明实施例提供了一种分组网关及节 省功耗的方法, 所述技术方案如下:  In order to improve the degree of consumption of the gateway, the embodiment of the present invention provides a packet gateway and a method for saving power consumption. The technical solution is as follows:
一种分组网关, 所述分组网关包括:  A packet gateway, the packet gateway includes:
管理控制模块, 用于确定所述分组网关的多个业务处理模块中需要正常 工作的业务处理模块的数量, 将所述确定数量的业务处理模块设置为正常工 作状态, 其余数量的业务处理模块设置为用于降低功耗的功耗控制状态; 多个业务处理模块, 用于对终端用户的上下网信令进行处理及对终端用 户分组业务的数据报文进行处理与转发。  a management control module, configured to determine a quantity of service processing modules that need to work normally in the multiple service processing modules of the packet gateway, set the determined number of service processing modules to a normal working state, and set the remaining number of service processing modules The power consumption control state is used for reducing power consumption. The multiple service processing modules are configured to process the uplink and downlink signaling of the terminal user and process and forward the data packet of the terminal user packet service.
一种分组网关节省功耗的方法, 所述方法包括:  A method for saving power by a packet gateway, the method comprising:
确定分组网关的多个业务处理模块中需要正常工作的业务处理模块的数 量;  Determining the number of service processing modules that need to work normally in multiple service processing modules of the packet gateway;
将所述确定数量的业务处理模块设置为正常工作状态, 其余数量的业务 处理模块设置为用于降低功耗的功耗控制状态;  Setting the determined number of service processing modules to a normal working state, and setting the remaining number of service processing modules to a power consumption control state for reducing power consumption;
设置为正常工作状态的业务处理模块对终端用户的上下网信令进行处理 及对终端用户分组业务的数据报文进行处理与转发。 附图说明  The service processing module set to the normal working state processes the uplink and downlink signaling of the terminal user and processes and forwards the data packet of the terminal user packet service. DRAWINGS
图 1是现有技术中 GGSN网关示意图;  1 is a schematic diagram of a GGSN gateway in the prior art;
图 2是现有技术中 PDSN网关示意图;  2 is a schematic diagram of a PDSN gateway in the prior art;
图 3是现有技术中 ASN GW网关示意图;  3 is a schematic diagram of an ASN GW gateway in the prior art;
图 4是本发明实施例 1提供的分组网关示意图; 图 5是本发明实施例 1提供的分组网关中减小对业务影响的结构示意图; 图 6是本发明实施例 2提供的分组网关节省功耗的方法流程图; 图 7是本发明实施例 2提供的分组网关动态节省功耗的方法流程图; 图 8是本发明实施例 2提供的分组网关节省功耗的方法中减小对业务影 响的方法流程图。 具体实施方式 4 is a schematic diagram of a packet gateway provided by Embodiment 1 of the present invention; 5 is a schematic structural diagram of reducing packet impact in a packet gateway according to Embodiment 1 of the present invention; FIG. 6 is a flowchart of a method for saving power consumption of a packet gateway according to Embodiment 2 of the present invention; FIG. 7 is a second embodiment of the present invention; A flow chart of a method for dynamically saving power of a packet gateway is provided. FIG. 8 is a flowchart of a method for reducing impact on a service in a method for saving power of a packet gateway according to Embodiment 2 of the present invention. detailed description
本发明实施例中所述的分组网关可以为 GGSN、 PDSN或 ASN GW。 下面首 先对各种分组网关的结构进行说明, 以对本发明实施例有更好的了解。 图 1 是 GGSN网关示意图, GGSN主要有 Gn、 G i、 Gp、 Gy、 Ga、 Gmb逻辑接口, 图 2 是 PDSN网关示意图, PDSN主要有 R-P、 P i逻辑接口, 图 3是 ASN GW网关示 意图, ASN GW主要有 R6、 R4、 R3逻辑接口, 上述各分组网关的所有这些逻 辑接口上的通讯双方都是用 IP地址进行标识的, 通过这些逻辑接口, 分组网 关与周边的网元进行交互, 完成移动终端用户的分组业务。  The packet gateway described in the embodiment of the present invention may be a GGSN, a PDSN, or an ASN GW. The structure of various packet gateways will be first described below to better understand the embodiments of the present invention. Figure 1 is a schematic diagram of a GGSN gateway. The GGSN mainly has Gn, G i, Gp, Gy, Ga, Gmb logical interfaces. Figure 2 is a schematic diagram of a PDSN gateway. The PDSN mainly has RP and P i logical interfaces, and Figure 3 is a schematic diagram of the ASN GW gateway. The ASN GW mainly has R6, R4, and R3 logical interfaces. The communication parties on all the logical interfaces of the above-mentioned packet gateways are identified by IP addresses. Through these logical interfaces, the packet gateway interacts with surrounding network elements to complete Packet service of mobile terminal users.
现有技术中, 分组网关中比较普遍的节省功耗方法是对网关中的各个 CPU进行动态降频的功耗控制, 即当 CPU 占用率较低的时候, 调整 CPU的指 令运行速度, 使得 CPU可以运行在较低频率或者较低电压的工作状态, 达到 节省功耗的目的,这一技术和个人 PC上 Windows提供的节省能源模式的工作 原理基本一致。 但是, 实际应用中由于分组网关的每个工作单元中除了 CPU 外, 还有存储介质、 FPGA逻辑、 硬件加速芯片、 外围控制电路等, 而 CPU的 功耗只占其中一部分, 因此, 即使分组网关中所有的 CPU都进行了动态功耗 控制, 能节省的功耗与原有总功耗相比也较小, 而且只要 CPU上电, 就会有 一定的功耗, 这部分是无法通过动态降频的功耗控制来节省的。 为此, 本发 明实施例通过对业务处理模块的工作状态进行控制, 降低设备的电能消耗和 散热, 以达到节电效果。  In the prior art, a relatively common method for saving power in a packet gateway is to dynamically reduce the power consumption of each CPU in the gateway, that is, when the CPU usage is low, adjust the CPU running speed, so that the CPU It can operate at lower frequency or lower voltage to save power. This technology works in the same way as the energy-saving mode provided by Windows on a personal PC. However, in practical applications, in addition to the CPU in each working unit of the packet gateway, there are storage medium, FPGA logic, hardware acceleration chip, peripheral control circuit, etc., and the power consumption of the CPU is only a part of it, so even the packet gateway All CPUs are dynamically power-controlled, and the power consumption can be reduced compared with the original total power consumption. As long as the CPU is powered up, there will be a certain amount of power consumption. This part cannot pass the dynamic drop. Frequency power control to save. To this end, the embodiment of the present invention reduces the power consumption and heat dissipation of the device by controlling the working state of the service processing module to achieve a power saving effect.
实施例 1 参见图 4 , 本发明实施例提供了一种分组网关, 所述分组网关确定需要 正常工作的业务处理模块的数量, 将确定的数量的业务处理模块设置为正常 工作状态, 其余数量的业务处理模块设置为功耗控制状态, 从而显著降低设 备自身的电能消耗与散热, 达到良好的节能效果。 Example 1 Referring to FIG. 4, an embodiment of the present invention provides a packet gateway, where the packet gateway determines the number of service processing modules that need to work normally, sets a determined number of service processing modules to a normal working state, and the remaining number of service processing modules. Set to the power control state, which significantly reduces the power consumption and heat dissipation of the device itself, achieving good energy saving effect.
所述分组网关 1 包括路由分发模块 2、 多个业务处理模块 3和管理控制 模块 4;  The packet gateway 1 includes a route distribution module 2, a plurality of service processing modules 3, and a management control module 4;
路由分发模块 2 , 用于对外出物理接口, 配置各个物理接口的 IP地址, 并接收和分发所述分组网关外部的报文, 并向外发送所述分组网关处理过的 报文;  The route distribution module 2 is configured to send out a physical interface, configure an IP address of each physical interface, and receive and distribute the packet outside the packet gateway, and send the packet processed by the packet gateway to the outside;
该分组网关 1接收的所有 IP报文, 首先进入路由分发模块 2 , 当所接收 的报文的目的 IP地址是本分组网关 1 内逻辑接口的 IP地址时, 路由分发模 块 2才艮据该目的 IP地址, 准确分发到业务处理模块 3或管理控制模块 4 , 由 相应的模块进行报文处理。  All the IP packets received by the packet gateway 1 first enter the route distribution module 2. When the destination IP address of the received message is the IP address of the logical interface in the packet gateway 1, the route distribution module 2 analyzes the destination IP address. The address is accurately distributed to the service processing module 3 or the management control module 4, and the corresponding module performs packet processing.
该分组网关 1向外发送的所有 IP报文,即业务处理模块 3或管理控制模 块 4产生的报文, 首先发送到路由分发模块 2 , 由路由分发模块 2向外发送。  All the IP packets sent by the packet gateway 1 , that is, the packets generated by the service processing module 3 or the management control module 4 are first sent to the route distribution module 2 and sent out by the route distribution module 2 .
路由分发模块 2收到一个报文后,如果这个报文的目的 IP地址不是本分 组网关 1内各个逻辑接口 IP地址,则路由分发模块 2 自动按照路由表将其转 发到目的 IP地址对应的下一跳设备。  After the route distribution module 2 receives a packet, if the destination IP address of the packet is not the IP address of each logical interface in the packet gateway 1, the route distribution module 2 automatically forwards the packet to the destination IP address according to the routing table. One hop device.
多个业务处理模块 3 , 用于按照标准的通讯协议完成终端用户的上下网 信令处理、 以及进行分组业务时的数据报文处理与转发。  The plurality of service processing modules 3 are configured to complete the uplink and downlink network signaling processing of the terminal user and the data packet processing and forwarding when performing the packet service according to a standard communication protocol.
该分组网关中存在多个业务处理模块, 每个业务处理模块运行相同的业 务软件。 这些软件按照标准的通讯协议完成终端用户的上下网信令处理、 以 及进行分组业务时的数据报文处理与转发, 业务处理模块处理的这些报文可 以称为业务报文。 其中, 所述的终端用户的上下网信令即是指终端用户需要 网关通过与周边的设备的信令交互可确保终端用户实现上网或下网。 每个业务处理模块分别配置有一组逻辑接口 IP地址, 周边网元向本网关 发送业务报文,该业务报文的目的 IP地址为本网关内相应逻辑接口的 IP地址, 这些业务报文首先发送给路由分发模块,路由分发模块收到后根据该业务报文 的目的 IP地址转发给相应的业务处理模块, 业务处理模块收到这个业务报文 后, 进行处理, 处理完后产生本地报文, 该本地报文的源 IP地址也是相应逻 辑接口的 IP地址, 然后业务处理模块将这个本地报文发送给路由分发模块, 路由分发模块收到后, 按照路由表向目的 IP地址对应的下一跳设备发送。 There are multiple service processing modules in the packet gateway, and each service processing module runs the same service software. The software processes the uplink and downlink signaling processing of the terminal user and the data packet processing and forwarding of the packet service according to the standard communication protocol. The packets processed by the service processing module may be referred to as service packets. The uplink and downlink network signaling of the terminal user refers to that the terminal user needs the signaling interaction between the terminal and the neighboring device to ensure that the terminal user implements the Internet or the network. Each service processing module is configured with a set of logical interface IP addresses, and the surrounding network element sends a service packet to the local gateway. The destination IP address of the service packet is the IP address of the corresponding logical interface in the gateway. The service packets are sent first. After the route distribution module receives the packet, the route distribution module forwards the packet to the corresponding service processing module according to the destination IP address of the service packet. After receiving the service packet, the service processing module processes the packet, and generates a local packet after the processing. The source IP address of the local packet is also the IP address of the corresponding logical interface, and then the service processing module sends the local packet to the route distribution module. After the route distribution module receives the next hop corresponding to the destination IP address according to the routing table. The device sends.
所以, 每个业务处理模块以其配置的一组逻辑接口 IP地址, 对周边网元 呈现一个独立的分组网关逻辑功能实体。这些业务处理流程已经是通讯标准, 此处不再详述。  Therefore, each service processing module presents a separate packet gateway logical functional entity to the surrounding network element with a set of logical interface IP addresses configured. These business process flows are already communication standards and will not be detailed here.
管理控制模块 4 , 用于处理路由协议、 操作维护等非业务报文, 并对整 个设备进行运行管理。  The management control module 4 is configured to process non-service packets such as routing protocols, operation and maintenance, and perform operation management on the entire device.
管理控制模块 4也配置一个逻辑接口 IP地址, 周边网元向该分组网关 1 发送非业务报文,这个非业务报文的目的 IP地址为这个逻辑接口的 IP地址, 这些非业务报文首先发送给路由分发模块 2 , 路由分发模块 2收到后转发给 管理控制模块 4 , 管理控制模块 4收到这个非业务>¾文后, 进行处理, 处理 完后产生本地报文,这个本地报文的源 IP地址也是这个逻辑接口的 IP地址, 然后管理控制模块 4将这个本地报文发送给路由分发模块 2 ,路由分发模块 2 收到后, 按照路由表向目的 IP地址对应的下一跳设备发送。  The management control module 4 also configures a logical interface IP address, and the peripheral network element sends a non-service packet to the packet gateway 1. The destination IP address of the non-service packet is the IP address of the logical interface, and the non-service packets are sent first. After the route distribution module 2 receives the route, the route distribution module 2 forwards the message to the management control module 4, and after receiving the non-service>3⁄4 text, the management control module 4 processes the local message, and the local message is generated. The source IP address is also the IP address of the logical interface, and then the management control module 4 sends the local packet to the route distribution module 2, and after receiving the route, the route distribution module 2 sends the next hop device corresponding to the destination IP address according to the routing table. .
其中, 该分组网关 1可以是先接收到报文, 进行处理、 回应, 然后发送 给其他网元, 也可以是先产生本地报文, 发送给其他网元, 收到回应后再进 行处理。  The packet gateway 1 may receive the packet, process, respond, and then send it to other network elements, or may generate a local packet and send it to other network elements, and then receive the response before processing.
周边网元与该分组网关 1通过交互, 获得相应的路由信息, 具体可以通 过动态路由学习或手工配置的方式, 保证该分组网关 1 中业务处理模块 3、 管理控制模块 4各种逻辑接口的 IP地址与路由分发模块的物理接口 IP地址 成为相邻的一兆。 其中, 管理控制模块 4还用于确定该分组网关的多个业务处理模块中需 要正常工作的业务处理模块的数量, 将该确定的数量的业务处理模块设置为 正常工作状态, 其余数量的业务处理模块设置为功耗控制状态。 The neighboring network element interacts with the packet gateway 1 to obtain corresponding routing information, which can be ensured by dynamic route learning or manual configuration to ensure the IP addresses of the various logical interfaces of the service processing module 3 and the management control module 4 in the packet gateway 1. The IP address of the physical interface of the address and route distribution module becomes one megabyte adjacent. The management control module 4 is further configured to determine the number of service processing modules that need to work normally in the multiple service processing modules of the packet gateway, set the determined number of service processing modules to a normal working state, and the remaining number of service processing The module is set to the power control state.
管理控制模块 4具体包括:  The management control module 4 specifically includes:
确定单元, 用于读取预设的功耗控制规则, 根据该预设的功耗控制规则 直接确定需要正常工作的业务处理模块的数量。  The determining unit is configured to read a preset power consumption control rule, and directly determine the number of service processing modules that need to work normally according to the preset power consumption control rule.
其中, 该预设的功耗控制规则规定了当前时间段需要多少个业务处理模 块正常工作, 例如, 分组网关具有 6个业务处理模块, 该功耗控制规则规定 每天的 23: 00-7: 00时间段需要 2个业务处理模块, 因此确定单元可以根据该 功耗控制规则, 在每天的 23: 00-7: 00时间段, 直接确定需要正常工作的业务 处理模块为 2个。  The preset power consumption control rule specifies how many service processing modules need to work normally in the current time period. For example, the packet gateway has six service processing modules, and the power consumption control rule specifies 23: 00-7: 00 per day. The time period requires two service processing modules. Therefore, the determining unit can directly determine two service processing modules that need to work normally according to the power consumption control rule in the daily period of 23: 00-7: 00.
设置单元, 用于根据确定单元确定的需要正常工作的业务处理模块的数 量, 将该确定的数量的业务处理模块设置为正常工作状态, 其余数量的业务 处理模块设置为功耗控制状态。  And a setting unit, configured to set the determined number of service processing modules to a normal working state according to the number of service processing modules determined to be working normally determined by the determining unit, and set the remaining number of service processing modules to be in a power consumption control state.
其中, 其余数量是指多个业务处理模块中除去确定出的需要正常工作的 业务处理模块的数量之外的数量。 继续上述的例子, 设置单元将确定出的 2 个业务处理模块设置为正常工作状态, 其余数量的业务处理模块即 4个业务 处理模块设置为功耗控制状态。  The remaining number refers to the number of the plurality of service processing modules except the determined number of service processing modules that need to work normally. Continuing with the above example, the setting unit sets the determined two service processing modules to the normal working state, and the remaining number of service processing modules, that is, the four service processing modules, are set to the power consumption control state.
该管理控制模块还包括:  The management control module further includes:
记录单元, 用于记录所有业务处理模块被功耗控制的次数;  a recording unit, configured to record the number of times that all service processing modules are controlled by power consumption;
相应的,所述设置单元用于将所述其余数量的业务处理模块设置为功耗控 制状态时, 优先将被功耗控制次数最少的业务处理模块设置为功耗控制状态。  Correspondingly, when the setting unit is configured to set the remaining number of service processing modules to a power consumption control state, the service processing module with the least number of power consumption control times is preferentially set to a power consumption control state.
上述这种通过读取预设的功耗控制规则来确定需要正常工作的业务处理 模块的数量的网关可以称为静态节省功耗的分组网关。  Such a gateway that determines the number of service processing modules that need to work normally by reading a preset power consumption control rule may be referred to as a static power saving packet gateway.
其中, 该管理控制模块 4还可以包括:  The management control module 4 may further include:
判断单元, 用于读取预设的功耗控制规则, 判断目前时间段是否需要进 行功耗控制。 a determining unit, configured to read a preset power consumption control rule, and determine whether the current time period needs to be entered Line power control.
该功耗控制规则中规定了目前时间段是否需要进行功耗控制, 例如, 平 时白天 7点至 23点不需要进行功耗控制, 夜里 23点至 7点需要进行功耗控 制。 当然, 也可以不进行时间的判断, 而采用实时的功耗控制。  This power control rule specifies whether power consumption control is required for the current time period. For example, power control is not required from 7:00 to 23:00 during the daytime, and power control is required from 3:00 to 7:00 in the night. Of course, it is also possible to use real-time power consumption control without making time judgments.
下面介绍一种动态节省功耗的分组网关, 该分组网关通过计算来确定需 要正常工作的业务处理模块的数量。  The following describes a dynamic power-saving packet gateway that calculates the number of service processing modules that need to work properly.
为了描述清楚, 可以将网关允许运行的最大业务负荷记为 MaxLoad, 该最 大业务负荷 MaxLoad与网关硬件能力相匹配。每个业务处理模块自身可以承载 的最大业务负荷记为 s ing le-MaxLoad, 每个业务处理模块当前承载的业务负 荷记为 s ing le-Rea lLoad, 实际当前总业务负荷记为 Rea lLoad, 业务处理模块 总数量记为 Tota lN讓, 承载当前业务需要正常工作的业务处理模块数量记为 NeedNum, 当前正在正常工作的业务处理模块数量记为 Rea lN讓。 该实施例假 定每个业务处理模块可以承载的最大业务负荷 s ing le-MaxLoad相同, 通常情 况下,每个业务处理模块可以承载的最大业务负荷 s ingle-MaxLoad是相同的。  For the sake of clarity, the maximum traffic load that the gateway is allowed to run can be recorded as MaxLoad, which matches the gateway hardware capabilities. The maximum service load that each service processing module can carry is recorded as sing le-MaxLoad. The service load currently carried by each service processing module is recorded as sing le-Rea lLoad, and the actual current total service load is recorded as Rea lLoad. The total number of processing modules is recorded as Tota lN. The number of service processing modules that need to work normally for the current service is recorded as NeedNum. The number of service processing modules currently working normally is recorded as Rea lN. This embodiment assumes that the maximum service load s ing le-MaxLoad that each service processing module can carry is the same. Generally, the maximum service load s ingle-MaxLoad that each service processing module can carry is the same.
该管理控制模块 4具体包括:  The management control module 4 specifically includes:
第一计算单元, 用于计算所有业务处理模块上报的自身可以承载的最大 业务负荷 s ing le-MaxLoad总和。  The first calculating unit is configured to calculate a maximum service load s ing le-MaxLoad sum that can be carried by all the service processing modules.
其中, 管理控制模块 4首先读取默认许可文件, 该默认许可文件记录有 网关允许运行的最大业务负荷 MaxLoad, 通过读取该默认许可文件, 获得该 分组网关允许运行的最大业务负荷 MaxLoad, 如: 承载的用户数、 吞吐量等 等。 在读取该默认许可文件之前、 之后或同时, 该分组网关中的每个业务处 理模块把自身可以承载的最大业务负荷 s ing le-MaxLoad 上报给管理控制模 块 4 , 管理控制模块 4 的第一计算单元计算所有业务处理模块上报的自身可 以承载的最大业务负荷 s ing le-MaxLoad总和,对大于默认许可文件定义的最 大业务负荷 MaxLoad的业务拒绝处理。  The management control module 4 first reads a default license file, which records the maximum service load MaxLoad that the gateway is allowed to run. By reading the default license file, the maximum service load MaxLoad allowed by the packet gateway is obtained, for example: The number of users hosted, throughput, and more. Before, after or at the same time, the service processing module of the packet gateway reports the maximum service load sing le-MaxLoad that can be carried by the packet to the management control module 4, and the first of the management control module 4 The calculation unit calculates the sum of the maximum service load sing le-MaxLoad that can be carried by all the service processing modules, and rejects the service that is greater than the maximum service load MaxLoad defined by the default license file.
第一计算单元还用于在每个业务处理模块将自身当前承载的业务负荷 s ing le-Rea lLoad上报给管理控制模块 4之后, 计算分组网关当前总业务负 荷 Rea lLoad。 The first computing unit is further configured to load the traffic load currently carried by each service processing module After the s ing le-Rea lLoad is reported to the management control module 4, the current total service load of the packet gateway is calculated.
第二计算单元, 用于根据第一计算单元计算出的当前总业务负荷 Rea lLoad和网关允许运行的最大业务负荷 MaxLoad, 计算需要正常工作的业 务处理模块的数量 NeedNum , 将该需要正常工作的业务处理模块的数量 NeedN讓作为第一数量; 具体的计算公式为: RealLoad  The second calculating unit is configured to calculate, according to the current total service load Rea lLoad calculated by the first calculating unit and the maximum service load MaxLoad that the gateway is allowed to run, calculate the number of service processing modules that need to work normally, NeedNum, and the service that needs to work normally The number of processing modules NeedN is used as the first quantity; the specific calculation formula is: RealLoad
NeedNum « .  NeedNum « .
MaxLoad  MaxLoad
TotalNum 其中, NeedNum是 Rea lLoad的函数。  TotalNum where NeedNum is a function of Rea lLoad.
获取单元, 用于获取目前正在正常工作的业务处理模块的数量 Rea lNum, 将目前正在正常工作的业务处理模块的数量 Rea lN讓作为第二数量;  The obtaining unit is configured to obtain the number of service processing modules that are currently working normally, Rea lNum, and make the number of service processing modules that are currently working normally Rea lN as the second quantity;
比较单元, 用于比较第一数量和第二数量, 并计算第一数量和第二数量 的差值; 即计算 NeedNum和 Rea lNum的差值。  And a comparing unit, configured to compare the first quantity and the second quantity, and calculate a difference between the first quantity and the second quantity; that is, calculate a difference between the NeedNum and the Rea lNum.
第一控制单元, 用于当第一数量大于第二数量时, 将当前处于功耗控制 状态的业务处理模块中, 比较单元计算出的差值数量的业务处理模块设置为 正常工作状态;  a first control unit, configured to: when the first quantity is greater than the second quantity, the service processing module that is currently in the power consumption control state, and the service processing module of the difference quantity calculated by the comparison unit is set to a normal working state;
即当 NeedNum大于 Rea 1N讓时 , 将(NeedNum-RealNum )数量的处于功耗控 制状态的业务处理模块设置为正常工作状态。  That is, when NeedNum is greater than Rea 1N, the number of (NeedNum-RealNum) service processing modules in the power consumption control state is set to the normal working state.
第二控制单元, 用于当第一数量小于第二数量时, 将当前处于正常工作 状态的业务处理模块中, 比较单元计算出的差值数量的业务处理模块设置为 功耗控制状态。  The second control unit is configured to: when the first quantity is less than the second quantity, the service processing module that is currently in the normal working state, and the service processing module of the difference quantity calculated by the comparison unit is set to the power consumption control state.
即当 NeedN画小于 Rea lNum时, 将(RealNum-NeedNum )数量处于正常工作 状态的业务处理模块设置为功耗控制状态。  That is, when the NeedN draw is smaller than Rea lNum, the service processing module in which the number of (RealNum-NeedNum) is in a normal working state is set to the power consumption control state.
其中, 第二控制单元还可以包括:  The second control unit may further include:
读取子单元, 用于当第一数量小于第二数量时, 读取预设的功耗控制规 则, 获得当前处于正常工作状态的业务处理模块中, 第一数量和第二数量的 差值数量的业务处理模块对应的功耗控制类型; a reading subunit, configured to read a preset power consumption control rule when the first quantity is less than the second quantity Then, obtaining a power consumption control type corresponding to the service processing module of the first quantity and the second quantity difference value in the service processing module that is currently in a normal working state;
第一设置子单元, 用于当第一数量小于第二数量时, 根据读取子单元获 得的功耗控制类型, 将当前处于正常工作状态的业务处理模块中, 第一数量 和第二数量的差值数量的业务处理模块设置为对应的功耗控制状态。  a first setting subunit, configured to: when the first quantity is less than the second quantity, according to a power consumption control type obtained by the reading subunit, the service processing module currently in a normal working state, the first quantity and the second quantity The difference processing service module is set to the corresponding power control state.
其中, 第二计算单元可以具体包括:  The second calculating unit may specifically include:
冗余计算子单元, 用于在根据第一计算单元计算出的当前总业务负荷和 网关允许运行的最大业务负荷,计算需要正常工作的业务处理模块的数量后, 给该需要正常工作的业务处理模块的数量加上预设的冗余量, 并将加上冗余 量的需要正常工作的业务处理模块的数量作为第一数量。  The redundancy calculation sub-unit is configured to: after calculating the current total service load calculated by the first calculation unit and the maximum service load allowed by the gateway, calculating the number of service processing modules that need to work normally, and processing the service that needs to work normally The number of modules plus the preset amount of redundancy, and the number of redundant service processing modules that need to work properly is taken as the first quantity.
对计算出的需要正常工作的业务处理模块的数量 NeedN讓加上冗余量是 防止突发流量发生时 NeedN画不足的问题。  The number of calculated business processing modules that need to work normally NeedN allows the addition of redundancy to prevent the shortage of NeedN when burst traffic occurs.
其中, 功耗控制规则可以是人工预先设定好的, 也可以实时修改, 该功 耗控制规则包括: 定义某个时间段是否需要进行功耗控制、 需要正常工作的 业务处理模块数量 NeedN讓的冗余量的多少、 根据不同时间段设置的功耗控 制操作类型。 其中功耗控制的类型包括下电、 休眠、 动态降频, 这三种功耗 控制类型为本领域公知, 这里不再赘述。  The power control rule may be manually preset or modified in real time. The power control rule includes: defining whether a certain time period needs power control, and the number of service processing modules that need to work normally. The amount of redundancy, the type of power control operation set according to different time periods. The types of power control include power-down, sleep, and dynamic frequency-down. These three types of power control are well known in the art and will not be described here.
例如, 可以设定周一至周五上午 8 : 00到 1 2点和下午 14点到 1 8点, 不 需要进行功耗控制, 网关正常运行; 12点到 14点, 进行功耗控制, 可以将 功耗控制类型设置为动态降频; 8点到 24点进行功耗控制, 可以将功耗控制 类型设置为休眠; 24点到凌晨 8点进行功耗控制, 设置为下电, 节能效果最 明显。  For example, you can set Monday to Friday 8:00 am to 12:00 and 14:00 to 1 8:00, no power control is required, the gateway operates normally; 12 to 14 points, power control, you can The power control type is set to dynamic frequency reduction; power control from 8 to 24 points, the power control type can be set to sleep; power control is performed from 24 to 8 am, set to power off, the energy saving effect is most obvious .
为了减小对分组网关实行下电或休眠的功耗控制后, 给用户的业务带来 的影响, 可以通过将需要进行功耗控制的业务处理模块上的业务备份到另一 个正常工作的业务处理模块上, 因此, 参见图 5 , 第二控制单元还可以具体 包括: 锁定子单元 11 , 用于当第一数量小于第二数量时, 将当前处于正常工作 状态的业务处理模块中, 比较单元计算出的差值数量的业务处理模块设置为 功耗控制状态时, 将所述差值数量的业务处理模块锁定; In order to reduce the impact on the user's service after power-off or power-down of the packet gateway, the service on the service processing module that needs to perform power consumption control can be backed up to another normal service. On the module, therefore, referring to FIG. 5, the second control unit may further include: The locking subunit 11 is configured to: when the first quantity is less than the second quantity, the service processing module that is currently in the normal working state, and the service processing module of the difference quantity calculated by the comparison unit is set to the power consumption control state, The difference processing service module is locked;
其中, 锁定的含义是继续承载已经存在的业务, 但不再接受新的业务。 降频子单元 12 ,用于对锁定子单元 11锁定的业务处理模块进行动态降频; 选择子单元 13 , 用于从处于正常工作状态的业务处理模块中选出一个业 务处理模块作为代理业务处理模块;  The meaning of the lock is to continue to carry the existing services, but no longer accept new services. The frequency reduction sub-unit 12 is configured to dynamically down-clock the service processing module locked by the locking sub-unit 11; the selecting sub-unit 13 is configured to select a service processing module from the service processing module in a normal working state as a proxy service processing. Module
备份子单元 14 , 用于当被锁定的业务处理模块上当前承载的业务的负荷 小于预先设定的阈值时,将该业务备份到所述选择子单元 13选择出的代理业 务处理模块上, 并修改路由分发模块 2上的分发信息, 使被锁定的业务处理 模块上的业务正确到达代理业务处理模块上;  The backup subunit 14 is configured to back up the service to the proxy service processing module selected by the selecting subunit 13 when the load of the currently carried service on the locked service processing module is less than a preset threshold, and Modifying the distribution information on the route distribution module 2, so that the service on the locked service processing module reaches the proxy service processing module correctly;
其中, 该阈值预先配置在功耗控制规则中。  The threshold is pre-configured in the power consumption control rule.
第二设置子单元 15 ,用于将锁定子单元 11锁定的业务处理模块设置为下 电状态或休眠状态。  The second setting subunit 15 is configured to set the service processing module locked by the locking subunit 11 to a power-off state or a sleep state.
其中, 第二控制单元还包括:  The second control unit further includes:
判断子单元, 用于判断代理业务处理模块当前承载的业务的负荷与被锁 定的业务处理模块承载的业务的负荷之和是否小于该代理业务处理模块的最 大业务负荷, 如果是, 将该被锁定的业务处理模块承载的业务备份到该代理 业务处理模块上, 否则, 可以从处于正常工作状态的业务处理模块中再选择 一个业务处理模块作为代理业务处理模块, 然后将备份不下的业务所在的业 务处理模块上的所有业务备份到重新选择出的代理业务处理模块上。  a determining subunit, configured to determine whether a sum of a load of the service currently carried by the proxy service processing module and a load of the service carried by the locked service processing module is less than a maximum service load of the proxy service processing module, and if so, the locked The service carried by the service processing module is backed up to the proxy service processing module. Otherwise, a service processing module can be selected from the service processing module in the normal working state as the proxy service processing module, and then the service of the service that cannot be backed up is located. All services on the processing module are backed up to the reselected proxy service processing module.
其中, 第二控制单元还可以包括:  The second control unit may further include:
收回子单元, 用于当已经下电或休眠的业务处理模块需要正常工作时, 将备份到代理业务处理模块上的业务收回到已经下电或休眠的业务处理模 块, 并修改路由分发模块 2上的分发信息, 使该分发信息重新指回已经下电 或休眠的业务处理模块; 解锁定子单元, 用于在收回子单元将备份到代理业务处理模块上的业务 收回到已经下电或休眠的业务处理模块后, 使被锁定的业务处理模块承载原 来备份到代理业务处理模块的业务, 然后对该已经下电或休眠的业务处理模 块解锁定,令该已经下电或休眠的业务处理模块重新开始接受新的业务请求。 The reclaiming sub-unit is configured to reclaim the service backed up to the proxy service processing module to the service processing module that has been powered off or hibernated, and modify the routing distribution module 2 when the service processing module that has been powered off or hibernated needs to work normally. The distribution information, so that the distribution information is back to the service processing module that has been powered off or hibernated; Unlocking the stator unit, after the reclaiming subunit retracts the service backed up to the proxy service processing module to the service processing module that has been powered off or hibernated, and causes the locked service processing module to carry the service originally backed up to the proxy service processing module. Then, the service processing module that has been powered off or hibernated is unlocked, so that the service processing module that has been powered off or hibernated resumes accepting new service requests.
另外, 该管理控制模块 4还可以包括:  In addition, the management control module 4 may further include:
记录单元, 用于记录所有业务处理模块 3被功耗控制的次数;  a recording unit, configured to record the number of times that all the service processing modules 3 are controlled by power consumption;
相应的, 第二控制单元用于将当前处于正常工作状态的业务处理模块中, 所述比较单元计算出的差值数量的业务处理模块设置为功耗控制状态时, 优 先将被功耗控制次数最少的业务处理模块设置为功耗控制状态。  Correspondingly, the second control unit is configured to: in the service processing module that is currently in the normal working state, when the service processing module of the difference quantity calculated by the comparing unit is set to the power consumption control state, the power consumption control priority is preferentially The least business processing module is set to the power control state.
这样各个业务处理模块被进行功耗控制的几率差不多相等, 可以延长硬 件的使用寿命。  In this way, each business processing module is almost equal in power consumption control, which can extend the life of the hardware.
其中, 管理控制模块 4可以单独控制业务处理模块 3中每个业务处理模 块的运行状态。  The management control module 4 can separately control the running status of each service processing module in the service processing module 3.
本实施例提供的网关包含一个管理控制模块 4和一个路由分发模块 2 , 实 际应用中也可以把这两个逻辑模块合成一个物理模块。 具体的变化情况是显 而易见的, 此处不再赘述。  The gateway provided in this embodiment includes a management control module 4 and a route distribution module 2, which can also be combined into one physical module in an actual application. The specific changes are obvious and will not be described here.
本发明实施例中, 对于业务可靠性要求不高时, 可以直接对需要进行功 耗控制的业务处理模块进行下电、 休眠或动态降频, 不用考虑下电或休眠后 对用户业务产生的影响; 对于业务可靠性要求较高时, 需要考虑实现下电或 休眠后对用户业务产生的影响, 则可以先对需要进行功耗控制的业务处理模 块进行动态降频, 当该需要进行功耗控制的业务处理模块的业务的负荷小于 预先设定的阈值时, 将该需要进行功耗控制的业务处理模块的业务备份到另 外一个正常工作的业务处理模块上, 然后对该需要进行功耗控制的业务处理 模块进行下电或休眠。  In the embodiment of the present invention, when the service reliability requirement is not high, the service processing module that needs to perform power consumption control may be directly powered off, dormant, or dynamically down-converted, without considering the impact on the user service after power-off or sleep. When the service reliability requirement is high, you need to consider the impact on the user service after power-off or sleep. You can first dynamically down-clock the service processing module that needs to perform power consumption control. When the load of the service processing module is less than a preset threshold, the service processing module that needs to perform power consumption control is backed up to another normal working service processing module, and then the power consumption control is required for the power processing module. The service processing module is powered off or hibernated.
本发明还可应用到固网的宽带接入服务器, 应用到 3GPP未来的 LTE、 SAE 体系中的 PDN设备, 具体的工作原理是相同的。 本发明实施例的有益效果是: 管理控制模块通过确定需要正常工作的业 务处理模块的数量, 将确定的数量的业务处理模块设置为正常工作状态, 其 余数量的业务处理模块设置为功耗控制状态 ,使得网关的节能效果非常显著。 一般情况下, 深夜 1 : 00 ~ 7: 00的 6个小时内, 网关当前运行的总业务负荷 仅为其最大业务负荷的 15% ~ 20%左右。 当对网关采取了功耗控制时, 大约每 天可以直接节省电能消耗为 20%。 同时也可以节省 20%的设备散热, 使得空调 耗能也可以节省 20%。 而且通过将需要实现功耗控制的业务处理模块上的业务 备份到另外一个正常工作的业务处理模块上,减小了直接对需要进行功耗控制 的业务处理模块进行下电或休眠的功耗控制后, 用户业务可能会中断的影响。 The present invention can also be applied to a broadband access server of a fixed network, and is applied to a PDN device in the future LTE and SAE systems of 3GPP, and the specific working principle is the same. The beneficial effects of the embodiment of the present invention are: the management control module sets a determined number of service processing modules to a normal working state by determining the number of service processing modules that need to work normally, and sets the remaining number of service processing modules to a power consumption control state. The energy saving effect of the gateway is very significant. Under normal circumstances, the total service load of the gateway currently running in the middle of the night from 1: 00 to 7: 00 is only about 15% ~ 20% of its maximum business load. When power consumption is applied to the gateway, the power consumption can be directly saved by about 20% per day. At the same time, it can save 20% of the equipment's heat dissipation, which can save 20% energy consumption. Moreover, by backing up the service on the service processing module that needs to implement power consumption control to another normal working service processing module, the power consumption control for directly powering down or sleeping the service processing module that needs to perform power consumption control is reduced. After that, the user's business may be interrupted.
实施例 2  Example 2
参见图 6 , 本发明实施例提供了一种分组网关节省功耗的方法, 首先确定 需要正常工作的业务处理模块的数量, 将该确定的数量的业务处理模块设置 为正常工作状态, 其余数量的业务处理模块设置为功耗控制状态。 该方法包 括:  Referring to FIG. 6, an embodiment of the present invention provides a method for saving power consumption by a packet gateway. First, determining the number of service processing modules that need to work normally, setting the determined number of service processing modules to a normal working state, and remaining number of The business processing module is set to the power control state. The method includes:
步骤 101 : 确定需要正常工作的业务处理模块的数量。  Step 101: Determine the number of business processing modules that need to work normally.
步骤 102: 根据确定的需要正常工作的业务处理模块的数量, 将该确定的 数量的业务处理模块设置为正常工作状态, 其余数量的业务处理模块设置为 功耗控制状态。  Step 102: Set the determined number of service processing modules to a normal working state according to the determined number of service processing modules that need to work normally, and set the remaining number of service processing modules to be in a power consumption control state.
其中, 其余数量是指该分组网关具有的多个业务处理模块中除去确定出 的需要正常工作的业务处理模块的数量之外的数量。  The remaining number refers to the number of the plurality of service processing modules that the packet gateway has, except for the determined number of service processing modules that need to work normally.
其中, 确定需要正常工作的业务处理模块的数量具体包括:  The number of service processing modules that need to be determined to work normally includes:
可以通过读取预设的功耗控制规则, 直接确定出当前需要正常工作的业 务处理模块的数量。  You can directly determine the number of service processing modules that need to work normally by reading the preset power control rules.
其中, 该预设的功耗控制规则规定了当前时间段需要多少个业务处理模 块正常工作, 例如, 分组网关具有 6个业务处理模块, 该功耗控制规则规定 每天的 23: 00-7: 00 需要 2个业务处理模块, 因此可以根据该功耗控制规则, 在每天的 23: 00-7: 00, 直接确定需要正常工作的业务处理模块为 2个。 The preset power consumption control rule specifies how many service processing modules need to work normally in the current time period. For example, the packet gateway has six service processing modules, and the power consumption control rule specifies 23: 00-7: 00 per day. Two business processing modules are required, so according to the power consumption control rules, At 23: 00-7: 00 every day, directly determine the number of business processing modules that need to work normally.
这种通过读取预设的功耗控制规则确定需要正常工作的业务处理模块的 数量的方法可以称为静态节省网关消耗的方法。  This method of determining the number of service processing modules that need to be functioning by reading a preset power consumption control rule may be referred to as a method of statically saving gateway consumption.
其中, 确定需要正常工作的业务处理模块的数量, 参见图 7 , 还可以具体 包括: 首先将该分组网关允许运行的最大业务负荷记为 MaxLoad, 该最大业 务负荷 MaxLoad与该分组网关硬件能力相匹配。 每个业务处理模块自身可以 承载的最大业务负荷记为 s ing le-MaxLoad, 每个业务处理模块当前承载的业 务负荷记为 s ing le-Rea lLoad, 实际当前总业务负荷记为 Rea lLoad, 业务处 理模块总数量记为 Tota lNum, 承载当前业务需要正常工作的业务处理模块数 量记为 NeedNum, 当前正在正常工作的业务处理模块数量记为 Rea IN讓。 该实 施例假定每个业务处理模块可以承载的最大业务负荷 s ing le-MaxLoad相同, 通常情况下,每个业务处理模块可以承载的最大业务负荷 s ing le-MaxLoad是 相同的。  The number of service processing modules that need to be working normally is determined. Referring to FIG. 7, the method further includes: first, the maximum service load allowed to be operated by the packet gateway is recorded as MaxLoad, and the maximum service load MaxLoad matches the hardware capability of the packet gateway. . The maximum service load that each service processing module can carry is recorded as sing le-MaxLoad. The service load currently carried by each service processing module is recorded as sing le-Rea lLoad, and the actual current total service load is recorded as Rea lLoad. The total number of processing modules is recorded as Tota lNum. The number of service processing modules that need to work normally for the current service is recorded as NeedNum. The number of service processing modules currently working normally is recorded as Rea IN. This embodiment assumes that the maximum service load s ing le-MaxLoad that each service processing module can carry is the same. Generally, the maximum service load s ing le-MaxLoad that each service processing module can carry is the same.
下面具体介绍分组网关动态节省功耗的方法, 该方法通过计算来确定需 要正常工作的业务处理模块的数量。  The following is a detailed description of the method for dynamic power saving of the packet gateway. The method determines the number of service processing modules that need to work normally.
步骤 201 : 分组网关启动时, 读取默认许可文件, 该默认许可文件记录有 网关允许运行的最大业务负荷 MaxLoad, 通过读取该默认许可文件, 获得该 分组网关允许运行的最大业务负荷 MaxLoad, 如: 承载的用户数、 吞吐量等 等。 在读取该默认许可文件之前、 之后或同时, 该分组网关中的每个业务处 理模块把自身可以承载的最大业务负荷 s i ng 1 e-MaxLoad上报给管理控制模 块, 管理控制模块计算所有业务处理模块上报的最大业务负荷  Step 201: When the packet gateway is started, the default license file is read. The default license file records the maximum service load MaxLoad that the gateway is allowed to run. By reading the default license file, the maximum service load MaxLoad allowed by the packet gateway is obtained, such as : Number of users hosted, throughput, and more. Before, after or at the same time, the service processing module of the packet gateway reports the maximum service load si ng 1 e-MaxLoad that can be carried by the packet to the management control module, and the management control module calculates all service processing. Maximum business load reported by the module
s ing le-MaxLoad总和, 对大于许可文件定义的最大业务负荷 MaxLoad的业务 拒绝处理。 s ing le-MaxLoad sum, for the maximum business load defined by the license file MaxLoad's business is rejected.
其中, 启动包括初次启动和重新启动。  Among them, the startup includes the initial startup and restart.
步骤 202: 分组网关运行后, 启动周期性定时器, 每个业务处理模块定时 将自身当前承载的业务负荷 s ing le-Rea lLoad上报给管理控制模块。 其中, 周期性定时器的时间间隔可以设置为 1分钟。 Step 202: After the packet gateway is running, the periodic timer is started, and each service processing module periodically reports the traffic load s ing le-Rea lLoad that is currently carried by the service processing module to the management control module. The interval of the periodic timer can be set to 1 minute.
步骤 203: 管理控制模块收到每个业务处理模块上报的当前承载的业务负 荷 s ing le-Rea lLoad后, 定时计算分组网关当前总业务负荷 Rea lLoad0 步骤 204: 管理控制模块根据获取的最大业务负荷 MaxLoad和当前总业务 负荷 Rea lLoad计算需要正常工作的业务处理模块的数量 NeedN画, 将该需要 正常工作的业务处理模块的数量 NeedN讓作为第一数量。 Step 203: After receiving the service load sing le-Rea lLoad of the current bearer reported by each service processing module, the management control module periodically calculates the current total service load of the packet gateway, Rea lLoad 0. Step 204: The management control module obtains the maximum service according to the maximum service The load MaxLoad and the current total service load Rea lLoad calculation requires the number NedN drawing of the number of service processing modules that work normally, and the number NedN of the service processing modules that need to work normally is given as the first quantity.
RealLoad  RealLoad
NeedNum « .  NeedNum « .
MaxLoad  MaxLoad
其中, NeedNum是 Rea lLoad的函数。 TotalNum 。 其中, 根据确定的需要正常工作的业务处理模块的数量, 将该确定的数 量的业务处理模块设置为正常工作状态, 其余数量的业务处理模块设置为功 耗控制状态, 参见图 7 , 具体包括:  Among them, NeedNum is a function of Rea lLoad. TotalNum. The service processing module of the determined quantity is set to a normal working state, and the remaining number of service processing modules are set to a power consumption control state according to the determined number of the service processing modules that need to be working normally.
步骤 205: 管理控制模块获取目前正在正常工作的业务处理模块的数量 Rea lNum, 将该正常工作的业务处理模块的数量 Rea 1N讓作为第二数量。  Step 205: The management control module obtains the number of service processing modules that are currently working normally, Rea lNum, and sets the number of service processing modules Rea 1N that is working normally as the second quantity.
步骤 206: 管理控制模块比较第一数量和第二数量, 并计算第一数量和第 二数量的差值, 即计算 NeedNum和 Rea lNum的差值, 如果 NeedNum大于 Rea lNum, 执行步骤 207 , 如果 NeedNum小于 Rea 1N讓, 执行步骤 208 , 如果 NeedNum等于 Rea lN讓, 返回步骤 203。  Step 206: The management control module compares the first quantity and the second quantity, and calculates a difference between the first quantity and the second quantity, that is, calculates a difference between NeedNum and Rea lNum. If NeedNum is greater than Rea lNum, step 207 is performed, if NeedNum If it is less than Rea 1N, step 208 is performed. If NeedNum is equal to Rea lN, the process returns to step 203.
步骤 207: 管理控制模块将处于功耗控制状态的业务处理模块中, 第一数 量和第二数量差值数量的业务处理模块设置为正常工作状态, 即  Step 207: The management control module is in a service processing module in a power control state, and the service processing module of the first quantity and the second quantity difference quantity is set to a normal working state, that is,
(NeedNum-RealNum )数量的处于功耗控制状态的业务处理模块设置为正常工 作状态, 然后, 返回步骤 203。 The (NeedNum-RealNum) number of service processing modules in the power consumption control state are set to the normal working state, and then, return to step 203.
步骤 208: 管理控制模块将当前处于正常工作状态的业务处理模块中, 第 一数量和第二数量的差值数量的业务处理模块设置为功耗控制状态, 即对 ( ealNum-NeedNum)数量的处于正常工作状态的业务处理模块进行功耗控制 , 然后, 返回步骤 203。  Step 208: The management control module sets the service processing module of the first quantity and the second quantity of the difference quantity into a power consumption control state, that is, the number of ( ealNum-NeedNum) is in the service processing module that is currently in the normal working state. The service processing module in the normal working state performs power consumption control, and then returns to step 203.
其中, 在管理控制模块根据获取的最大业务负荷 MaxLoad和当前总业务 负荷 Rea lLoad计算需要正常工作的业务处理模块的数量 NeedN讓之前,该方 法还包括: Wherein, the management control module is based on the maximum service load MaxLoad obtained and the current total service The load Rea lLoad calculates the number of business processing modules that need to work properly. NeedN is allowed. The method also includes:
可以读取预设的功耗控制规则, 判断目前时间段是否需要进行功耗控制, 其中, 该预设的功耗控制规则中规定了目前时间段是否需要进行功耗控制, 例如, 平时白天 7点至 23点不需要进行功耗控制, 夜里 23点至 7点需要进 行功耗控制。 管理控制模块通过读取功耗控制规则可直接判断出目前时间段 是否需要进行功耗控制。  The preset power consumption control rule can be read to determine whether power consumption control is required in the current time period, wherein the preset power consumption control rule specifies whether current power consumption is required for the current time period, for example, during normal daytime 7 No power control is required from point 23 to 23, and power control is required from 23 to 7 in the night. The management control module can directly determine whether the current time period requires power consumption control by reading the power consumption control rules.
其中, 将当前处于正常工作状态的业务处理模块中, 第一数量与第二数 量的差值数量的业务处理模块设置为功耗控制状态时, 具体包括:  The service processing module that is in the normal working state, when the service processing module of the difference between the first quantity and the second quantity is set to the power consumption control state, specifically includes:
读取预设的功耗控制规则, 获得当前处于正常工作状态的业务处理模块 中 , 第一数量和第二数量的差值数量的业务处理模块对应的功耗控制类型; 根据该功耗控制类型, 将该差值数量的业务处理模块设置为对应的功耗 控制状态。  Reading a preset power consumption control rule to obtain a power consumption control type corresponding to the service processing module of the first quantity and the second quantity difference value in the current service processing module; according to the power consumption control type And setting the difference quantity of the service processing module to a corresponding power consumption control state.
其中, 计算需要正常工作的业务处理模块的数量 NeedNum即第一数量, 具体包括:  The number of service processing modules that need to work normally is NeedNum, which is the first quantity, and includes:
根据当前总业务负荷计算需要正常工作的业务处理模块的数量 NeedNum, 给所述需要正常工作的业务处理模块的数量 NeedN讓加上预设的冗余量; 将加上冗余量的需要正常工作的业务处理模块的数量作为第一数量。 对计算出的需要正常工作的业务处理模块的数量 NeedN讓加上冗余量是 防止突发流量发生时 NeedN画不足的问题。  Calculate the number of service processing modules that need to work normally according to the current total service load, NeedNum, and add the preset redundancy amount to the number of service processing modules that need to work normally; the need to add redundancy needs to work normally. The number of business processing modules is the first quantity. The number of calculated business processing modules that need to work normally NeedN allows the addition of redundancy to prevent the shortage of NeedN when burst traffic occurs.
其中, 功耗控制状态包括下电状态、 休眠状态、 动态降频状态, 其中, 动态降频是指根据 CPU负载动态选取运行频率。  The power control state includes a power-down state, a sleep state, and a dynamic frequency-down state, wherein the dynamic frequency-down refers to dynamically selecting an operating frequency according to a CPU load.
其中, 功耗控制规则可以是人工预先设定好的, 也可以人为实时修改, 功耗控制规则包括: 定义某个时间段是否需要进行功耗控制、 NeedN讓 的冗 余量的多少、 根据不同时间段设置的功耗控制操作类型。  The power consumption control rule may be manually preset or manually modified. The power consumption control rules include: defining whether a certain time period requires power consumption control, and how much redundancy the NeedN allows, according to different The type of power control operation set by the time period.
例如, 可以设定周一至周五上午 8 : 00到 12点和下午 14点到 18点, 不 需要进行功耗控制, 网关正常运行; 12点到 14点, 进行功耗控制, 可以将 功耗控制类型设置为动态降频; 8点到 24点进行功耗控制, 可以将功耗控制 类型设置为休眠; 24点到凌晨 8点进行功耗控制, 设置为下电, 节能效果最 明显。 For example, you can set Monday to Friday 8:00 am to 12:00 am and 14 pm to 18:00 pm, no Power control is required, the gateway operates normally; power control is performed from 12 o'clock to 14 o'clock, and the power control type can be set to dynamic down-conversion; power control is performed from 8 o'clock to 24 o'clock, and the power control type can be set. For sleep; power control from 24 o'clock to 8 am, set to power off, the most energy-saving effect.
为了减小对该分组网关进行下电或休眠的功耗控制后, 给用户的业务带 来的影响, 可以通过将需要进行功耗控制的业务处理模块上的业务备份到另 一个正常工作的业务处理模块上, 因此, 参见图 8 , 将当前处于正常工作状 态的业务处理模块中, 第一数量和第二数量的差值数量的业务处理模块设置 为功耗控制状态, 可以具体包括:  In order to reduce the impact on the service of the user after powering off or sleeping the packet gateway, the service on the service processing module that needs to perform power consumption control can be backed up to another normal working service. On the processing module, therefore, referring to FIG. 8, the service processing module that is currently in the normal working state, the service module of the first quantity and the second quantity of the difference is set to the power consumption control state, and may specifically include:
步骤 301 : 将当前处于正常工作状态的业务处理模块中, 第一数量和第二 数量的差值数量的业务处理模块进行锁定。  Step 301: Lock the service processing module of the first quantity and the second quantity of the difference quantity in the service processing module that is currently in the normal working state.
本发明实施例以业务处理模块 A作为第一数量和第二数量的差值数量的 业务处理模块中的一个业务处理模块为例进行说明, 即业务处理模块 A为需 要进行功耗控制的业务处理模块。  The embodiment of the present invention uses the service processing module A as a service processing module in the service processing module of the first quantity and the second quantity difference, as an example, that is, the service processing module A is a service processing that needs to perform power consumption control. Module.
其中, 锁定的含义是继续承载已经存在的业务, 但不再接受新的业务。 步骤 302: 对被锁定的业务处理模块进行动态降频。  The meaning of the lock is to continue to carry the existing services, but no longer accept new services. Step 302: Dynamically down-clock the locked service processing module.
步骤 303:从处于正常工作状态的业务处理模块中选出一个业务处理模块 作为代理业务处理模块。  Step 303: Select a service processing module from the service processing module in a normal working state as a proxy service processing module.
本发明实施例中, 以业务处理模块 B作为从处于正常工作状态的业务处 理模块中选出的代理业务处理模块。  In the embodiment of the present invention, the service processing module B is used as the proxy service processing module selected from the service processing module in the normal working state.
步骤 304: 当被锁定的业务处理模块上承载的业务的负荷小于预先设定的 阈值时, 启动业务处理模块 A向代理业务处理模块 B的备份, 将该业务从业 务处理模块 A备份到代理业务处理模块 B, 并修改分发信息, 使该业务的报 文正确到达代理业务处理模块。  Step 304: When the load of the service carried on the locked service processing module is less than a preset threshold, start the backup of the service processing module A to the proxy service processing module B, and back up the service from the service processing module A to the proxy service. Process module B, and modify the distribution information so that the packets of the service reach the proxy service processing module correctly.
其中, 该阈值预先配置在功耗控制规则中。  The threshold is pre-configured in the power consumption control rule.
步骤 305: 将被锁定的业务处理模块设置为下电状态或休眠状态。 其中, 当被锁定的业务处理模块上承载的业务的负荷小于预先设定的阈 值时, 将该业务备份到代理业务处理模块之前, 还包括: Step 305: Set the locked service processing module to a power-off state or a sleep state. When the load of the service carried on the locked service processing module is less than a preset threshold, before the service is backed up to the proxy service processing module, the method further includes:
判断代理业务处理模块当前承载的业务的负荷与被锁定的业务处理模块 上承载的业务的负荷之和是否小于该代理业务处理模块的最大业务负荷, 如 果是, 将被锁定的业务处理模块上承载的业务备份到代理业务处理模块上, 否则, 可以从处于正常工作状态的业务处理模块中再选择一个业务处理模块 作为代理业务处理模块, 然后将备份不下的业务所在的业务处理模块上的所 有业务备份到重新选择出的代理业务处理模块上。  Determining whether the sum of the load of the service currently carried by the proxy service processing module and the load of the service carried on the locked service processing module is less than the maximum service load of the proxy service processing module, and if so, the service processing module to be locked The service is backed up to the proxy service processing module. Otherwise, a service processing module can be selected from the service processing module in the normal working state as the proxy service processing module, and then all the services on the service processing module where the service that is not backed up is located Back up to the reselected proxy service processing module.
其中, 当下电或休眠的业务处理模块需要重新进入正常工作状态时, 将 备份到代理业务处理模块上的业务收回到已经下电或休眠的业务处理模块, 并修改分发信息, 令该分发信息指回已经下电或休眠的业务处理模块, 然后 对已经下电或休眠的业务处理模块进行解锁定, 令该已经下电或休眠的业务 处理模块重新开始接受新的业务请求。  When the power-down or dormant service processing module needs to re-enter the normal working state, the service backed up to the proxy service processing module is reclaimed to the service processing module that has been powered off or hibernated, and the distribution information is modified, so that the distribution information refers to The service processing module that has been powered off or hibernated is then unlocked, and the service processing module that has been powered off or hibernated is unlocked, so that the service processing module that has been powered off or hibernated resumes accepting new service requests.
本发明实施例中, 可以记录分组网关中所有业务处理模块被功耗控制的 次数, 将当前处于正常工作状态的业务处理模块中, 所述比较单元计算出的 差值数量的业务处理模块设置为功耗控制状态时, 优先将被功耗控制次数最 少的业务处理模块设置为功耗控制状态。  In the embodiment of the present invention, the number of times that all the service processing modules in the packet gateway are controlled by the power consumption may be recorded, and the service processing module that is currently in the normal working state is set, and the service processing module of the difference quantity calculated by the comparing unit is set to In the power control state, the service processing module with the least number of power control times is preferentially set to the power control state.
这样各个业务处理模块被进行功耗控制的几率差不多相等, 可以延长硬 件的使用寿命。  In this way, each business processing module is almost equal in power consumption control, which can extend the life of the hardware.
本发明实施例假设每个业务处理模块的最大业务负荷相同, 通常情况下, 每个业务处理模块的最大业务负荷是相同的, 但由于某些特殊情况, 业务处 理模块的最大业务负荷可能不相同。 针对这种情况, 可以设定各个业务处理 模块中最大业务负荷中最大值权重为 1 , 而其余业务处理模块中最大业务负 荷分别按比例加权, 比如, 有 1 0个业务处理模块, 第三个业务处理模块上可 以承载的最大业务负荷最大, 为 100 , 将其权重设置为 1 , 第五个业务处理模 块上可以承载的最大业务负荷为 80 , 将其权重设置为 0. 8 , 以此类推, 按照 实施例 2中计算需要正常工作的业务处理模块数量时,可以考虑加权处理后的 每个业务处理模块即可。 具体的计算方法改动是显而易见的, 此处不再描述。 The embodiment of the present invention assumes that the maximum service load of each service processing module is the same. Generally, the maximum service load of each service processing module is the same, but the maximum service load of the service processing module may be different due to some special circumstances. . For this situation, you can set the maximum weight of the maximum service load in each service processing module to be 1, and the maximum service load in the remaining service processing modules is proportionally weighted, for example, there are 10 service processing modules, and the third The maximum service load that can be carried on the service processing module is 100, and the weight is set to 1. The maximum service load that can be carried on the fifth service processing module is 80, the weight is set to 0. 8, and so on. , according to When calculating the number of service processing modules that need to work normally in Embodiment 2, each service processing module after weighting processing may be considered. The specific calculation method changes are obvious and will not be described here.
本发明实施例中, 对于业务可靠性要求不高时, 可以直接对需要进行功 耗控制的业务处理模块进行下电、 休眠或动态降频, 不用考虑下电或休眠后 对用户业务产生的影响; 对于业务可靠性要求较高时, 需要考虑实现下电或 休眠后对用户业务产生的影响, 则可以先对需要进行功耗控制的业务处理模 块进行动态降频, 当该需要进行功耗控制的业务处理模块的业务的负荷小于 预先设定的阈值时, 将该需要进行功耗控制的业务处理模块的业务备份到另 外一个正常工作的业务处理模块上, 然后对该需要进行功耗控制的业务处理 模块进行下电或休眠。  In the embodiment of the present invention, when the service reliability requirement is not high, the service processing module that needs to perform power consumption control may be directly powered off, dormant, or dynamically down-converted, without considering the impact on the user service after power-off or sleep. When the service reliability requirement is high, you need to consider the impact on the user service after power-off or sleep. You can first dynamically down-clock the service processing module that needs to perform power consumption control. When the load of the service processing module is less than a preset threshold, the service processing module that needs to perform power consumption control is backed up to another normal working service processing module, and then the power consumption control is required for the power processing module. The service processing module is powered off or hibernated.
本发明还可应用到固网的宽带接入服务器, 应用到 3GPP未来的 LTE、 SAE 体系中的 PDN设备。 具体的过程是相同的, 此处不再赘述。  The invention can also be applied to a broadband access server of a fixed network, and is applied to a PDN device in the future LTE and SAE systems of 3GPP. The specific process is the same and will not be described here.
本发明实施例的有益效果是: 通过确定需要正常工作的业务处理模块的 数量, 将确定的数量的业务处理模块设置为正常工作状态, 其余数量的业务 处理模块设置为功耗控制状态, 使得网关的节能效果非常显著。 一般情况下, 深夜 1 : 00 ~ 7: 00的 6个小时内, 网关当前运行的总业务负荷仅为其最大业 务负荷的 15% ~ 20%左右。 当对分组网关采取了功耗控制时, 大约每天可以直 接节省电能消耗为 20%。 同时也可以节省 20%的设备散热, 使得空调耗能也可 以节省 20%。 而且通过将需要实现功耗控制的业务处理模块上的业务备份到 另外一个正常工作的业务处理模块上, 减小了直接对需要进行功耗控制的业 务处理模块进行下电或休眠的功耗控制后, 用户业务可能会中断的影响。  The beneficial effects of the embodiments of the present invention are: setting a determined number of service processing modules to a normal working state by determining the number of service processing modules that need to work normally, and setting the remaining number of service processing modules to a power consumption control state, so that the gateway The energy saving effect is very significant. Under normal circumstances, the total service load of the gateway currently running in the middle of the night from 1: 00 to 7: 00 is only about 15% ~ 20% of its maximum business load. When power control is applied to the packet gateway, the power consumption can be directly saved by approximately 20% per day. At the same time, it can save 20% of the equipment's heat dissipation, which can save 20% energy consumption. Moreover, by backing up the service on the service processing module that needs to implement power consumption control to another service processing module that is working normally, power consumption control for directly powering down or sleeping the service processing module that needs to perform power consumption control is reduced. After that, the user's business may be interrupted.
本发明实施例可以利用软件实现, 相应的软件程序可以存储在可读取的 存储介质中, 例如, 计算机的硬盘、 緩存或光盘中。  Embodiments of the invention may be implemented in software, and the corresponding software program may be stored in a readable storage medium, such as a hard disk, a cache, or an optical disk of a computer.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 Rights request
1、 一种分组网关, 其特征在于, 所述分组网关包括:  A packet gateway, wherein the packet gateway comprises:
管理控制模块, 用于确定所述分组网关的多个业务处理模块中需要正常 工作的业务处理模块的数量, 将所述确定数量的业务处理模块设置为正常工 作状态, 其余数量的业务处理模块设置为用于降低功耗的功耗控制状态; 所述多个业务处理模块, 用于对终端用户的上下网信令进行处理及对终 端用户分组业务的数据报文进行处理与转发。  a management control module, configured to determine a quantity of service processing modules that need to work normally in the multiple service processing modules of the packet gateway, set the determined number of service processing modules to a normal working state, and set the remaining number of service processing modules The power consumption control state is used to reduce the power consumption. The multiple service processing modules are configured to process the uplink and downlink signaling of the terminal user and process and forward the data packet of the terminal user packet service.
2、根据权利要求 1所述的分组网关, 其特征在于, 所述管理控制模块还 包括:  The packet gateway according to claim 1, wherein the management control module further comprises:
判断单元, 用于读取预设的功耗控制规则, 判断目前预定时间段是否需 要进行功耗控制。  The determining unit is configured to read a preset power consumption control rule, and determine whether the power consumption control is required for the current predetermined time period.
3、 根据权利要求 1所述的分组网关, 其特征在于, 所述管理控制模块具 体包括:  3. The packet gateway according to claim 1, wherein the management control module comprises:
确定单元, 用于读取预设的功耗控制规则, 根据所述功耗控制规则确定 所述分组网关的多个业务处理模块中需要正常工作的业务处理模块的数量; 设置单元, 用于根据所述确定单元确定的需要正常工作的业务处理模块 的数量, 将所述确定数量的业务处理模块设置为正常工作状态, 其余数量的 业务处理模块设置为用于降低功耗的功耗控制状态。  a determining unit, configured to read a preset power consumption control rule, and determine, according to the power consumption control rule, a quantity of service processing modules that need to work normally in the multiple service processing modules of the packet gateway; The determining unit determines the number of service processing modules that need to work normally, sets the determined number of service processing modules to a normal working state, and sets the remaining number of service processing modules to a power consumption control state for reducing power consumption.
4、 根据权利要求 1所述的分组网关, 其特征在于, 所述管理控制模块具 体包括:  4. The packet gateway according to claim 1, wherein the management control module comprises:
第一计算单元, 用于计算当前总业务负荷;  a first calculating unit, configured to calculate a current total service load;
第二计算单元, 用于根据所述第一计算单元计算出的当前总业务负荷和 网关允许运行的最大业务负荷, 计算需要正常工作的业务处理模块的数量, 将所述需要正常工作的业务处理模块的数量作为第一数量;  a second calculating unit, configured to calculate, according to the current total service load calculated by the first calculating unit and the maximum service load that the gateway is allowed to run, calculate the number of service processing modules that need to work normally, and process the service that needs to work normally The number of modules as the first quantity;
获取单元, 用于获取目前正在正常工作的业务处理模块的数量, 将所述 目前正在正常工作的业务处理模块的数量作为第二数量; 比较单元, 用于比较所述第一数量和第二数量, 并计算所述第一数量和 第二数量的差值; An obtaining unit, configured to obtain the number of service processing modules that are currently working normally, and use the number of the service processing modules that are currently working normally as the second quantity; a comparing unit, configured to compare the first quantity and the second quantity, and calculate a difference between the first quantity and the second quantity;
第一控制单元, 用于当所述第一数量大于第二数量时, 将当前处于功耗 控制状态的业务处理模块中, 所述比较单元计算出的差值数量的业务处理模 块设置为正常工作状态;  a first control unit, configured to: when the first quantity is greater than the second quantity, the service processing module that is currently in the power consumption control state, and the service processing module that is calculated by the comparison unit is set to work normally State
第二控制单元, 用于当所述第一数量小于第二数量时, 将当前处于正常 工作状态的业务处理模块中, 所述比较单元计算出的差值数量的业务处理模 块设置为用于降低功耗的功耗控制状态。  a second control unit, configured to: when the first quantity is less than the second quantity, the service processing module that is currently in a normal working state, the service processing module of the difference quantity calculated by the comparing unit is set to be used for lowering Power consumption control state of power consumption.
5、 根据权利要求 4所述的分组网关, 其特征在于, 所述第二控制单元具 体包括:  The packet gateway according to claim 4, wherein the second control unit comprises:
读取子单元, 用于当所述第一数量小于第二数量时, 读取预设的功耗控 制规则, 获得当前处于正常工作状态的业务处理模块中, 所述差值数量的业 务处理模块对应的功耗控制类型;  a reading subunit, configured to: when the first quantity is less than the second quantity, read a preset power consumption control rule, and obtain a service processing module that is currently in a normal working state, and the difference quantity service processing module Corresponding power control type;
第一设置子单元, 用于根据所述读取子单元获得的功耗控制类型, 将当 前处于正常工作状态的业务处理模块中, 所述差值数量的业务处理模块设置 为对应的功耗控制状态。  a first setting subunit, configured to set, according to a power consumption control type obtained by the reading subunit, a service processing module that is currently in a normal working state, and set the service processing module of the difference quantity to a corresponding power consumption control status.
6、 根据权利要求 4所述的分组网关, 其特征在于, 所述第二计算单元具 体包括:  The packet gateway according to claim 4, wherein the second computing unit comprises:
冗余计算子单元, 用于在根据所述第一计算单元计算出的当前总业务负 荷和网关允许运行的最大业务负荷, 计算需要正常工作的业务处理模块的数 量后, 给所述需要正常工作的业务处理模块的数量加上预设的冗余量, 并将 加上冗余量的需要正常工作的业务处理模块的数量作为第一数量。  a redundancy calculation sub-unit, configured to calculate the number of service processing modules that need to work normally after calculating the current total service load calculated according to the first calculation unit and the maximum service load allowed by the gateway, and then work normally The number of service processing modules plus the preset amount of redundancy, and the number of redundant service processing modules that need to work properly is taken as the first quantity.
7、 根据权利要求 4或 6所述的分组网关, 其特征在于, 所述第二控制单 元具体包括:  The packet gateway according to claim 4 or 6, wherein the second control unit specifically includes:
锁定子单元, 用于当所述第一数量小于第二数量时, 将当前处于正常工 作状态的业务处理模块中, 所述比较单元计算出的差值数量的业务处理模块 设置为功耗控制状态时, 将所述差值数量的业务处理模块锁定; 降频子单元, 用于对所述锁定子单元锁定的业务处理模块进行动态降频; 选择子单元, 用于从处于正常工作状态的业务处理模块中选出一个业务 处理模块作为代理业务处理模块; a locking subunit, configured to: when the first quantity is less than the second quantity, the service processing module that is currently in a normal working state, and the comparison unit calculates the difference quantity of the service processing module When the power consumption control state is set, the service processing module of the difference quantity is locked; the frequency reduction subunit is configured to dynamically down-clock the service processing module locked by the locking subunit; and the subunit is selected for Selecting a service processing module as a proxy service processing module in a service processing module in a normal working state;
备份子单元, 用于当所述被锁定的业务处理模块上当前承载的业务的负 荷 d、于预先设定的阈值时, 将所述业务备份到所述选择子单元选择出的代理 业务处理模块上, 并修改路由分发模块上的分发信息, 所述路由分发模块用 于接收和分发所述分组网关外部的报文;  a backup subunit, configured to back up the service to a proxy service processing module selected by the selecting subunit when a load d of a service currently carried on the locked service processing module is at a preset threshold Up, and modifying the distribution information on the route distribution module, where the route distribution module is configured to receive and distribute the message outside the packet gateway;
第二设置子单元, 用于将所述被锁定的业务处理模块设置为下电状态或 休眠状态。  And a second setting subunit, configured to set the locked service processing module to a power-off state or a sleep state.
8、 根据权利要求 3或 4所述的分组网关, 其特征在于, 所述管理控制模 块还包括:  The grouping gateway according to claim 3 or 4, wherein the management control module further comprises:
记录单元, 用于记录所有业务处理模块被功耗控制的次数;  a recording unit, configured to record the number of times that all service processing modules are controlled by power consumption;
相应的, 在将业务处理模块设置为功耗控制状态时, 优先将被功耗控制 次数最少的业务处理模块设置为功耗控制状态。  Correspondingly, when the service processing module is set to the power consumption control state, the service processing module with the least number of power control times is preferentially set to the power consumption control state.
9、 一种分组网关节省功耗的方法, 其特征在于, 所述方法包括: 确定分组网关的多个业务处理模块中需要正常工作的业务处理模块的数 量;  A method for saving power consumption by a packet gateway, the method comprising: determining a quantity of a service processing module that needs to work normally in a plurality of service processing modules of a packet gateway;
将所述确定数量的业务处理模块设置为正常工作状态, 其余数量的业务 处理模块设置为用于降低功耗的功耗控制状态;  Setting the determined number of service processing modules to a normal working state, and setting the remaining number of service processing modules to a power consumption control state for reducing power consumption;
设置为正常工作状态的业务处理模块对终端用户的上下网信令进行处理 及对终端用户分组业务的数据报文进行处理与转发。  The service processing module set to the normal working state processes the uplink and downlink signaling of the terminal user and processes and forwards the data packet of the terminal user packet service.
10、 根据权利要求 9所述的分组网关节省功耗的方法, 其特征在于, 在 所述确定分组网关的多个业务处理模块中需要正常工作的业务处理模块的数 量之前, 还包括:  The method for saving power consumption of the packet gateway according to claim 9, wherein before determining the number of service processing modules that need to work normally in the plurality of service processing modules of the packet gateway, the method further includes:
读取预设的功耗控制规则, 判断目前预设时间段是否需要进行功耗控制。 Read the preset power control rules to determine whether the current preset time period requires power control.
11、 根据权利要求 9所述的分组网关节省功耗的方法, 其特征在于, 确 定分组网关的多个业务处理模块中需要正常工作的业务处理模块的数量, 具 体包括: The method for saving power consumption of the packet gateway according to claim 9, wherein the number of service processing modules that need to work normally in the plurality of service processing modules of the packet gateway is determined, which specifically includes:
读取预设的功耗控制规则, 根据所述功耗控制规则确定所述分组网关的 多个业务处理模块中需要正常工作的业务处理模块的数量。  The preset power consumption control rule is read, and the number of service processing modules that need to work normally in the multiple service processing modules of the packet gateway is determined according to the power consumption control rule.
12、 根据权利要求 9所述的分组网关节省功耗的方法, 其特征在于, 所 述确定分组网关的多个业务处理模块中需要正常工作的业务处理模块的数 量, 具体包括:  The method for saving power consumption of the packet gateway according to claim 9, wherein the number of service processing modules that need to work normally in the plurality of service processing modules of the determining packet gateway includes:
根据所述当前总业务负荷和网关允许运行的最大业务负荷计算需要正常 工作的业务处理模块的数量, 将计算出的所述需要正常工作的业务处理模块 的数量作为第一数量;  And calculating, according to the current total service load and the maximum service load that the gateway is allowed to run, the number of service processing modules that need to work normally, and determining the number of the service processing modules that need to work normally as the first quantity;
所述将所述确定的数量的业务处理模块设置为正常工作状态, 其余数量 的业务处理模块设置为用于降低功耗的功耗控制状态, 具体包括:  And setting the determined number of service processing modules to a normal working state, and setting the remaining number of service processing modules to a power consumption control state for reducing power consumption, specifically:
将目前正在正常工作的业务处理模块的数量作为第二数量;  The number of business processing modules currently working normally is taken as the second quantity;
当所述第一数量大于第二数量时, 将当前处于功耗控制状态的业务处理 模块中, 所述第一数量和第二数量的差值数量的业务处理模块设置为正常工 作状态;  When the first quantity is greater than the second quantity, the service processing module that is currently in the power consumption control state, the service processing module of the first quantity and the second quantity difference quantity is set to a normal working state;
当所述第一数量小于第二数量时, 将当前处于正常工作状态的业务处理 模块中, 所述第一数量和第二数量的差值数量的业务处理模块设置为功耗控 制状态。  When the first quantity is less than the second quantity, the service processing module that is currently in the normal working state is set to the power consumption control state by the first quantity and the second quantity difference value.
1 3、 根据权利要求 12所述的分组网关节省功耗的方法, 其特征在于, 所 述将当前处于正常工作状态的业务处理模块中, 所述第一数量和第二数量的 差值数量的业务处理模块设置为功耗控制状态, 具体包括:  The method for saving power consumption of the packet gateway according to claim 12, wherein, in the service processing module that is currently in a normal working state, the first quantity and the second quantity of the difference quantity are The service processing module is set to a power control state, and specifically includes:
读取预设的功耗控制规则, 获得当前处于正常工作状态的业务处理模块 中, 所述第一数量和第二数量的差值数量的业务处理模块对应的功耗控制类 型; 根据所述功耗控制类型, 将所述差值数量的业务处理模块设置为对应的 功耗控制状态。 Reading a preset power consumption control rule, and obtaining a power consumption control type corresponding to the service processing module of the first quantity and the second quantity difference value in the service processing module that is currently in a normal working state; And according to the power control type, setting the difference quantity of the service processing module to a corresponding power consumption control state.
14、 根据权利要求 12所述的分组网关节省功耗的方法, 其特征在于, 计 算所述第一数量, 具体包括:  The method for saving power consumption of the packet gateway according to claim 12, wherein the calculating the first quantity comprises:
根据所述当前总业务负荷和网关允许运行的最大业务负荷计算需要正常 工作的业务处理模块的数量, 给所述需要正常工作的业务处理模块数量加上 预设的冗余量;  Calculating, according to the current total service load and the maximum service load allowed by the gateway, the number of service processing modules that need to work normally, and adding a preset redundancy amount to the number of service processing modules that need to work normally;
将加上冗余量的需要正常工作的业务处理模块数量作为第一数量。  The number of redundant service processing modules that need to work normally is taken as the first quantity.
15、 根据权利要求 12或 14所述的分组网关节省功耗的方法, 其特征在 于, 所述将当前处于正常工作状态的业务处理模块中, 所述第一数量和第二 数量的差值数量的业务处理模块设置为功耗控制状态, 具体包括:  The method for saving power consumption of a packet gateway according to claim 12 or 14, wherein the number of the difference between the first quantity and the second quantity in the service processing module that is currently in a normal working state The service processing module is set to a power control state, and specifically includes:
将所述第一数量和第二数量的差值数量的业务处理模块锁定;  Locking the first number and the second number of difference number of service processing modules;
对所述被锁定的业务处理模块进行动态降频;  Dynamically down-clocking the locked service processing module;
从处于正常工作状态的业务处理模块中选出一个业务处理模块作为代理 业务处理模块, 当所述被锁定的业务处理模块上承载的业务的负荷小于预先 设定的阈值时, 将所述业务备份到所述代理业务处理模块上, 并修改分发信 息;  Selecting a service processing module from the service processing module in a normal working state as a proxy service processing module, and when the load of the service carried on the locked service processing module is less than a preset threshold, the service is backed up. Go to the proxy service processing module and modify the distribution information;
将所述被锁定的业务处理模块设置为下电状态或休眠状态。  The locked service processing module is set to a power-off state or a sleep state.
16、 根据权利要求 9所述的分组网关节省功耗的方法, 其特征在于, 将 其余数量的业务处理模块设置为用于降低功耗的功耗控制状态, 具体包括: 记录所有业务处理模块被功耗控制的次数, 在所述其余数量的需要设置 为功耗控制状态的业务处理模块中, 优先将被功耗控制次数最少的业务处理 模块设置为功耗控制状态。  The method for saving power consumption of a packet gateway according to claim 9, wherein the remaining number of service processing modules are set to a power consumption control state for reducing power consumption, specifically comprising: recording all service processing modules by The number of power control times, in the remaining number of service processing modules that need to be set to the power consumption control state, the service processing module that is least controlled by the power consumption is preferentially set to the power consumption control state.
PCT/CN2009/073833 2008-09-12 2009-09-09 Packet gateway and method for saving power consumption WO2010028595A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810222253.8 2008-09-12
CN2008102222538A CN101360075B (en) 2008-09-12 2008-09-12 Grouped gateway and method for saving power consumption

Publications (1)

Publication Number Publication Date
WO2010028595A1 true WO2010028595A1 (en) 2010-03-18

Family

ID=40332416

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073833 WO2010028595A1 (en) 2008-09-12 2009-09-09 Packet gateway and method for saving power consumption

Country Status (2)

Country Link
CN (1) CN101360075B (en)
WO (1) WO2010028595A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360075B (en) * 2008-09-12 2011-02-09 华为技术有限公司 Grouped gateway and method for saving power consumption
WO2010094119A1 (en) * 2009-02-23 2010-08-26 Sierra Wireless, Inc. Apparatus providing plural wireless transceivers within a desired power budget and associated method
CN104412548B (en) * 2013-12-31 2017-09-08 华为技术有限公司 The method and apparatus for keeping user equipment (UE) IP address to fix
CN104917799B (en) * 2014-03-13 2018-12-07 中国移动通信集团广西有限公司 A kind of resource sharing method, resource gateway, first node and second node
CN105282048B (en) * 2014-06-27 2020-09-29 南京中兴新软件有限责任公司 Service channel management method and device and optical transmission equipment
CN104363167A (en) * 2014-10-30 2015-02-18 成都康特电子高新科技有限责任公司 Gateway structure based on broadcast television network system
WO2018010766A1 (en) * 2016-07-12 2018-01-18 Huawei Technologies Co., Ltd. Apparatus and method for backing up data of computing devices in a computer network
CN108738115A (en) * 2017-04-25 2018-11-02 中兴通讯股份有限公司 A kind of power consumption control method and terminal
CN108512727A (en) * 2018-04-02 2018-09-07 北京天融信网络安全技术有限公司 A kind of determination method and device of central processing unit utilization rate
CN111800208B (en) * 2020-07-08 2021-04-06 温州职业技术学院 Working frequency self-adaptive system applied to AP

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010011092A (en) * 1999-07-26 2001-02-15 정선종 Method for reducing power consumption of CDMA mobile station in no service area
CN1394016A (en) * 2001-06-27 2003-01-29 华为技术有限公司 Cascade communication method for repeaters of WCDMA wireless communication system and its equipment
US20080095091A1 (en) * 2006-10-19 2008-04-24 Surineni Shravan K Power save enhancements for wireless communication
CN101360075A (en) * 2008-09-12 2009-02-04 华为技术有限公司 Grouped gateway and method for saving power consumption

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU4775100A (en) * 1999-06-01 2000-12-18 Markport Limited A short message gateway
CN1235384C (en) * 2003-02-26 2006-01-04 艾威梯软件技术(北京)有限公司 An automatic call transfer method for Bluetooth earphone
CN1897060A (en) * 2005-07-14 2007-01-17 海尔集团公司 Network household electrical-appliance with related-controlling function and controlling method
CN101110701B (en) * 2007-08-02 2010-08-25 杭州华三通信技术有限公司 Energy-saving method, system and equipment for distributed system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010011092A (en) * 1999-07-26 2001-02-15 정선종 Method for reducing power consumption of CDMA mobile station in no service area
CN1394016A (en) * 2001-06-27 2003-01-29 华为技术有限公司 Cascade communication method for repeaters of WCDMA wireless communication system and its equipment
US20080095091A1 (en) * 2006-10-19 2008-04-24 Surineni Shravan K Power save enhancements for wireless communication
CN101360075A (en) * 2008-09-12 2009-02-04 华为技术有限公司 Grouped gateway and method for saving power consumption

Also Published As

Publication number Publication date
CN101360075A (en) 2009-02-04
CN101360075B (en) 2011-02-09

Similar Documents

Publication Publication Date Title
WO2010028595A1 (en) Packet gateway and method for saving power consumption
CN101637053B (en) Sleep optimization for mobile devices in a broadband network
Panarello et al. Energy saving and network performance: a trade-off approach
Christensen et al. The next frontier for communications networks: power management
US8811208B2 (en) Method and apparatus for reducing power consumption in a telecommunication network
Gunaratne et al. Managing energy consumption costs in desktop PCs and LAN switches with proxying, split TCP connections, and scaling of link speed
Bolla et al. The potential impact of green technologies in next-generation wireline networks: Is there room for energy saving optimization?
US9059861B2 (en) System and method for extending battery life
US8977876B2 (en) Method and apparatus for implementing low power consumption for data switching device, and data switching device thereof
US8234510B2 (en) System and method for energy savings through emulation of wake on LAN in energy efficient ethernet
Chiasserini et al. Combining paging with dynamic power management
CN102150103A (en) Architecture to enable energy savings in networked computers
Chiasserini et al. Improving energy saving in wireless systems by using dynamic power management
US8407332B1 (en) System and method for in-network power management
JP2023112928A (en) Communication apparatus, communication program, communication method, and communication system
CN102164044A (en) Networking method and system
CN102316137A (en) Network booting or waking module and boot or wake method thereof
JP5150598B2 (en) Network management device
Saidu et al. An efficient battery lifetime aware power saving (EBLAPS) mechanism in IEEE 802.16 e networks
EP2375631B1 (en) System and method for energy efficient ethernet enhanced information technology power management tools
CN201742446U (en) Automatic starting up or awakening set-top box
Jo et al. Green routing using renewable energy for IP networks
CN102299818B (en) Method for managing computer working condition based on network access data
Jo et al. Cost-Effective and Eco-Friendly Green Routing Using Renewable Energy
US10342062B2 (en) Technologies for a local network power management protocol

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09812661

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09812661

Country of ref document: EP

Kind code of ref document: A1