WO2015096051A1 - Method and apparatus for load balancing - Google Patents

Method and apparatus for load balancing Download PDF

Info

Publication number
WO2015096051A1
WO2015096051A1 PCT/CN2013/090396 CN2013090396W WO2015096051A1 WO 2015096051 A1 WO2015096051 A1 WO 2015096051A1 CN 2013090396 W CN2013090396 W CN 2013090396W WO 2015096051 A1 WO2015096051 A1 WO 2015096051A1
Authority
WO
WIPO (PCT)
Prior art keywords
list
apn
load
pdn connection
bearers
Prior art date
Application number
PCT/CN2013/090396
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 华为技术有限公司
Priority to PCT/CN2013/090396 priority Critical patent/WO2015096051A1/en
Priority to CN201380002733.2A priority patent/CN105264856B/en
Publication of WO2015096051A1 publication Critical patent/WO2015096051A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/17Selecting a data network PoA [Point of Attachment]

Definitions

  • the present invention relates to the field of network management, and in particular, to a load balancing method and apparatus.
  • the architecture of the SAE (System Arc Hitecture Evo Hit io n) system includes MME (Mobility Management Entity), S - GW (Serving Gateway, Service Gateway Entity), P-GW (Packet Data Network Gateway), and other network element devices for management and accounting functions.
  • MME Mobility Management Entity
  • S - GW Serving Gateway, Service Gateway Entity
  • P-GW Packet Data Network Gateway
  • the SAE system completes user connections through these network element devices. The task of accessing the 3GPP access network and non-3GPP access networks.
  • a network operator's network may provide services for multiple operators at the same time.
  • multiple P-GWs may need to be deployed according to the service characteristics of any carrier.
  • the multiple P-GWs may have the same APN (Access Point Name). Therefore, when the operator establishes a PDN (Packet Data Network) connection according to the APN, multiple carriers will be connected.
  • a P-GW with the same APN is used as the access object.
  • PDN Packet Data Network
  • the MME can select one of the P-GWs to establish a PDN connection according to the throughput capability and the carrying capacity of each P-GW.
  • An embodiment of the present invention provides a method and apparatus for load balancing, which is used to solve the problem that when the MM E requests to access the P-GW, the P-GW is selected according to the weight information of multiple P-GWs having the same APN, thereby establishing a connection.
  • the present invention provides a method for load balancing, which is based on a system architecture evolution SAE system, and specifically includes:
  • the P-GW list includes a P-GW identifier of the first P-GW and a P-GW load capability factor, where the P a GW load capability factor including a resource throughput capability level and a bearer number of the first P-GW, and a resource throughput capability level of the carrier corresponding to the APN on the first PG W and Number of bearers;
  • the P-GW is selected and a PDN connection is established.
  • the selecting a P-GW and establishing a PDN connection according to the P-GW list includes:
  • the high-load state is a state in which the current resource bearer usage of the P-GW exceeds an alarm value. Or, the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the P-GW exceeds the alarm value;
  • the determining, by the second P-GW that is not in a high load state in the P-GW list, is a list of low load P-GWs Includes:
  • the first message carries a P-GW identifier and an APN of a third P-GW in a high load state;
  • the determining, by the second P-GW, the low-load P-GW list that is not in a high-load state in the P-GW list also includes:
  • the second message carries a P-GW identifier and an APN of a fourth P-GW that needs to cancel a high load state;
  • the method further includes:
  • the present invention provides a device for load balancing, the device being applied to a SAE system, including:
  • An obtaining module configured to obtain an access point name APN according to the PDN connection request after receiving a PDN connection request sent by the user equipment;
  • a querying module configured to query a P-GW list formed by the first P-GW corresponding to the APN;
  • the P-GW list includes a P-GW identifier and a P-GW load capability of the first P-GW a factor, the P-GW load capability factor includes a resource throughput capability level and a bearer number of the first P-GW, and an operator that is associated with the APN is subscribed to the first P-GW Resource throughput capability level and number of bearers;
  • the connecting module includes: a determining unit, configured to determine a low-load P-GW list composed of a second P-GW that is not in a high-load state in the P-GW list; the high-load state refers to a current resource bearer usage of the P-GW The state in which the alarm value is exceeded, or the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the P-GW exceeds the alarm value. ;
  • a selecting unit configured to select, according to the resource throughput capability level and the number of bearers of the second P-GW, a plurality of P-GWs having a high throughput capability level and a large carrying capacity from the low load list; Determining, by the operator corresponding to the APN, the resource throughput capability level and the number of bearers signed on the selected P-GW, and determining, from the selected P-GW, one of the selected P-GWs by the operator P-GW with high resource throughput capability and large number of bearers;
  • the connecting unit is configured to select the determined P-GW to establish a PDN connection.
  • the determining unit includes: a receiving subunit, configured to receive a first message; the first message carries a P of a third P-GW in a high load state - GW identity and APN;
  • a locating unit configured to search for a corresponding third P-GW from the P-GW list according to the P-GW identifier and the APN of the third P-GW;
  • a management subunit configured to remove, from the P-GW list, the P-GW identifier and the P-GW load capability factor of the found third P-GW from the P-GW list.
  • the receiving subunit is further used And receiving the second message; the second message carrying the fourth state that needs to cancel the high load state
  • the finding subunit is further configured to search for a corresponding fourth P-GW according to the P-GW identifier of the fourth P-GW and the APN;
  • the management subunit is further configured to add the P-GW identifier and the P-GW load capability factor of the fourth P-GW to the P-GW list.
  • the acquiring module is further configured to: after receiving a PDN connection request sent by the user equipment, acquire an APN according to the PDN connection request; according to the APN from the DNS Obtain a pre-configured P-GW list;
  • the connection module is further configured to select a P-GW and establish a PDN connection according to the obtained P-GW list.
  • the MME obtains the APN by the PDN connection request sent by the user, and queries the corresponding P-GW list according to the resource throughput of the P-GW in the P-GW list.
  • the MME not only selects according to the throughput capability and the number of bearers of the P-GW itself, but also increases the content selected according to the throughput capability and the number of bearers subscribed by the operator on the PG W, so that the MME
  • the P-GW is selected to establish a connection
  • the MME requests access to the P-GW
  • the P-GW is selected to establish a connection only according to the weight information of the multiple P-GWs having the same APN, and the resources signed by the single operator on the P-GW cannot be The problem of balanced use.
  • FIG. 1 is a flowchart of a method for load balancing according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for selecting a P-GW according to a P-GW list according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for determining a low-load P-GW list according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for releasing a high-load state of a P-GW according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a device for load balancing according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a detailed device for load balancing according to an embodiment of the present invention.
  • the embodiment of the present invention provides a load balancing method, which is applied to a SAE system.
  • the execution body of all the steps is an MME, and the method flow is as shown in FIG. 1 , and the specific method includes:
  • the APN may be obtained by parsing the home operator or the MVNO of the user equipment by using the IMSI number carried in the PDN connection request sent by the MME by the MME, or may select the process of requesting the authentication data from the MME to the HSS.
  • the embodiment of the present invention does not impose any limitation on the home operator of the user equipment that is resolved by the HSS.
  • the P-GW list includes a P-GW identifier of the first P-GW and a P-GW load capability factor, where the P-GW load capability factor includes a resource throughput capability of the first P-GW. a level and a number of bearers, and a resource throughput capability level and a number of bearers subscribed by the operator corresponding to the APN on the first P-GW.
  • Each APN corresponds to an identifier of an operator
  • the first P-GW corresponding to the APN refers to an operator corresponding to the APN or all P-GWs subscribed by the MVNO
  • each P-GW identifier corresponds to the P-GW.
  • P-GW load capacity factor of P-GW is a P-GW load capacity factor of P-GW.
  • the P-GW identifier and the P-GW load capacity factor may be pre-configured in the MME, and may be directly searched from the MME when needed, and of course, the P-GW identifier may be selected and The P-GW load capacity factor is pre-configured in the DNS.
  • the MME sends the request information carrying the APN to the DNS, and after searching from the DNS, the response message is returned to the MME, and the present invention does not do more here. limit.
  • the specific P-GW is selected according to the load capacity factor of each P-GW in the P-GW list.
  • the specific process for the description is described in the subsequent method flow, and therefore will not be described here.
  • the MME obtains the APN by the PDN connection request sent by the user, and queries the corresponding P-GW list according to the resource throughput capability of the P-GW in the P-GW list.
  • the MME not only selects according to the throughput capability and the number of bearers of the P-GW itself, but also increases the content selected according to the throughput capability and the number of bearers subscribed by the operator on the PG W, so that the MME
  • the P-GW is selected to establish a connection
  • the weight information of multiple P-GWs of the APN selects the P-GW to establish a connection, resulting in the resources signed by a single operator on these P-GWs. The problem of not being able to be balanced.
  • the embodiment of the present invention further provides an implementation manner of selecting a P-GW and establishing a PDN connection according to the P-GW list. As shown in FIG. 2, the method specifically includes:
  • the high-load state refers to a state in which the current resource bearer usage of the P-GW exceeds the alarm value, or the current resource bearer usage of the P-GW does not exceed the alarm value, but the operator corresponding to the APN is The current resource bearer usage on the P-GW exceeds the state of the alarm value.
  • the setting of the high load state for the P-GW is to avoid the burden of the MME, because when the MME sends a PDN connection request to the P-GW, the bearer capability of the P-GW may occur, or the P-GW corresponds to the P-GW.
  • the carrier has insufficient bearer capacity for signing on the P-GW. If there are insufficient resources of multiple P-GWs at the same time, the MME may need to send multiple PDN connection requests to multiple P-GWs if the PDN connection is successfully established. Therefore, the above situation is avoided by the method in which the P-GW detects whether it is in a high load state and reports it to the MME.
  • the P-GW in the low load state is the currently allowed P-GW, and the P-GW of the high load state is set to limit the load burden of the P-GW itself, or the load burden is not heavy, However, the load of an operator contracted on the P-GW on the P-GW will exceed the amount of the contracted load, so the P-GW can be considered as unavailable for the operator.
  • the P-GW when a PDN connection needs to be established, selects only the low-load P-GW to balance the load of each P-GW and the load of each operator on the subscribed P-GW.
  • the P-GW is selected according to the bearer capability of the P-GW in the low-load list, and the P-GWs with strong bearer capabilities are selected to ensure that the P-GW with strong bearer capability can be preferentially selected.
  • the resources of the P-GW with strong carrying capacity can be fully utilized, as for the selected quantity, it can be set according to specific needs, and no further restrictions are imposed here.
  • the bearer capability of the P-GW selected by the operator in the previous step is selected, and the P-GW with strong bearer capability signed by the operator is selected to ensure that the operator signs the contract.
  • the P-GW with strong carrying capacity can be preferentially selected so that the resources contracted by the operator can be allocated in a balanced manner.
  • the MME needs to go through the S-GW to select
  • the selected P-GW sends a request to create a PDN connection, and then, after receiving the request for the PDN connection, the P-GW performs the relevant PCC process, and returns a PDN connection response to the MME through the S-GW, and finally the MME replies to the user equipment.
  • the PDN connection responds and establishes a PDN connection.
  • the interaction process between devices is simplified by establishing a description of the PDN connection.
  • multiple P-GWs are selected by first determining a low-load P-GW list, and selecting a resource throughput capability level and a bearer number according to the P-GW bearer capability in the low-load list, and from these P- In the GW, a P-GW is determined according to the resource throughput capability level and the number of bearers signed by the operator, and finally the method for establishing the PDN connection by the determined P-GW is selected, so that the MME can select according to the P-GW list, and Determining the unique P-GW to establish a PDN connection provides a selection criterion for the load balancing of the P-GW, thereby providing implementability for the implementation of the load balancing method.
  • the embodiment of the present invention further provides a method for determining a low-load list.
  • the flowchart is as shown in FIG. 3, and specifically includes:
  • the first message is sent by the P-GW to the MME, and when a P-GW detects that the load of the P-GW reaches a preset alarm value, or the load of a certain operator on a certain P-GW When the alarm value of the pre-signed load is reached, the first message is sent to the MME, where the first message carries the P-GW identifier and the APN of the third P-GW in a high load state.
  • the P-GW is configured to notify the P-GW that the MME is in a high load state, where the P-GW identifier is used to identify a P-GW in a high load state, and the operator identifier is used to identify an operator in a high load state,
  • the APN is used to correspond to the corresponding P-GW and operator in the P-GW list.
  • the correspondence between the APN and the P-GW load capacity factor of the P-GW corresponding thereto and the correspondence between all the operators that are subscribed to the corresponding P-GW are stored in the third P-GW list. And the correspondence between the load capacity factors of each operator on the P-GW. Therefore, the corresponding P-GW can be found according to the P-GW identity and the APN.
  • the P-GW identifier and the P-GW load capability factor corresponding to the P-GW are deleted from the P-GW list, and the P-GW list is not available in this manner. Use the P-GW to get rid of it.
  • the identifier of the corresponding P-GW and the P-GW load capacity factor are searched for and deleted from the P-GW list according to the received message including the P-GW identifier and the APN in a high load state.
  • the P-GW in the high load state is removed from the list of PDN connections selected by the P-GW, so that when a certain P-GW is in a high load state, the MME cannot select and establish a PDN connection, and further Select other P-GWs in low load state
  • the P-GW with strong load capability is selected to establish a PDN connection, and the P-GW that the MME learns to be in a high load state is obtained, and the method for the MME to select the P-GW is prohibited, thereby ensuring the implementability of the load balancing.
  • the embodiment of the present invention further provides a method for releasing the high load state of the P-GW. Specifically, as shown in FIG. 4, the method includes:
  • the second message carries the P-G W identifier and the APN of the fourth P-GW that need to cancel the high load state.
  • a P-GW detects that the load has decreased below the alarm value, it sends a message to the MME that cancels the high load state of the P-GW, and carries the P-GW of the P-GW in the message.
  • the GW identifier and APN are used for corresponding lookup.
  • the P-GW identifier and the APN may be searched in the P-GW list of all P-GWs stored in the MME, and when the corresponding P-G W is found, the P-GW load capacity factor may be obtained according to the corresponding relationship.
  • the MME receives a message from the P-GW corresponding to the APN to release the high-load state of the P-GW, and the P-GW identifier and the APN in the message find the corresponding P-GW and P-GW load capacity factor, then the P-GW and its P-GW load energy will be found
  • the manner in which the load factor is stored in the P-GW list enables the MME to reselect the P-GW to establish a PDN connection when the P-GW changes from a high load state to a low load state, thereby releasing the P-GW from the high load state. Implementability and provide real-time availability of low-load PG W lists.
  • Another embodiment of the present invention provides a device for load balancing, which is applied to a S AE system, as shown in FIG. 5 and FIG. 6, to implement the method flow shown in any of FIG. 1 to FIG.
  • the method includes: an obtaining module 51, configured to acquire an access point name APN according to the PDN connection request after receiving a PDN connection request sent by the user equipment.
  • the querying module 52 is configured to query a P-GW list formed by the first P-GW corresponding to the APN; the P-GW list includes a P-GW identifier and a P-GW load of the first P-GW a capability factor, the P-GW load capability factor includes a correspondence between a resource throughput capability level of the first P-GW and a bearer number, and an operator corresponding to the APN is in the first P-GW The resource throughput capability level and number of bearers signed on the board.
  • connection module 53 is configured to select a P-GW according to the P-GW list and establish a PDN connection.
  • the connection module includes:
  • the determining unit 54 is configured to determine a low-load P-GW list composed of a second P-GW that is not in a high-load state in the P-GW list, where the high-load status refers to a current resource bearer number of the P-GW.
  • the selecting unit 55 is configured to select, according to the resource throughput capability level and the number of bearers of the second PG W, a plurality of P-GWs having a high throughput capability level and a large carrying capacity from the low load list; Determining, by the corresponding operator, the resource throughput capability level and the number of bearers signed on the selected P-GW, and determining, from the selected P-GW, one of the selected operators in the selected ⁇ -GW The P-GW with a high level of resource throughput capability and a large number of bearers.
  • the connecting unit 56 is configured to select the determined P-GW to establish a PDN connection.
  • the determining unit includes:
  • the receiving subunit 57 is configured to receive the first message, where the first message carries the P-GW identifier and the ⁇ of the third P-GW in a high load state.
  • the finding subunit 58 is configured to search for a corresponding third P-GW from the P-GW list according to the P-GW identifier of the third P-GW.
  • the management sub-unit 59 is configured to remove, from the P-GW list, the P-GW identifier and the P-GW load capability factor of the found third P-GW from the P-GW list.
  • the receiving subunit 57 is further configured to receive the second message, where the second message carries the P-GW identifier and the APN of the fourth P-GW that need to cancel the high load state.
  • the lookup 58 subunit is further configured to search for the corresponding fourth P-GW according to the P-GW identity of the fourth P-GW and the APN.
  • the management 59 subunit is further configured to add the P-GW identifier and the P-GW load capability factor of the fourth P-GW to the P-GW list.
  • the obtaining module 51 is further configured to: after receiving the PDN connection request sent by the user equipment, acquire an APN according to the PDN connection request; and obtain a pre-configured P-GW list from the DNS according to the APN.
  • the connection module 53 is further configured to select a P-GW and establish a PDN connection according to the obtained P-GW list.
  • the MME obtains the APN by the PDN connection request sent by the user, and queries the corresponding P-GW list according to the resource throughput capability of the P-GW in the P-GW list.
  • the MME not only selects according to the throughput capability and the number of bearers of the P-GW itself, but also increases the content selected according to the throughput capability and the number of bearers subscribed by the operator on the PG W, so that the MME
  • the P-GW is selected to establish a connection
  • the weight information of the plurality of P-GWs of the APN selects the P-GW to establish a connection, and the problem that the resources signed by the single operator on these P-GWs cannot be balancedly utilized.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technique of the present invention The portion of the program that contributes in essence or to the prior art may be embodied in the form of a software product stored in a readable storage medium, such as a computer floppy disk, hard disk or optical disk, etc., including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a method and apparatus for load balancing, which relate to the field of network management and are used to solve the problem of the unbalanced utilization of resources occupied by an individual operator on P-GWs caused by selecting a P-GW merely according to weight information about the plurality of P-GWs having the same APN when an MME requests to access the P-GW. The method provided in the present invention comprises: acquiring an APN according to a PDN connection request, querying a P-GW list composed by P-GWs corresponding to the APN, and selecting a P-GW to establish a PDN connection according to P-GW identifiers of the P-GWs and the resource throughput capability level and bearing amount of the P-GWs in the list, and the resource throughput capability level and bearing amount occupied by an operator corresponding to the APN on the P-GWs. The embodiments of the present invention are mainly applied to a process for establishing a PDN connection.

Description

一种负载均衡的方法和装置  Method and device for load balancing
技术领域 Technical field
本发明涉及网络管理领域, 尤其涉及一种负载均衡方法和装置。  The present invention relates to the field of network management, and in particular, to a load balancing method and apparatus.
背景技术 Background technique
在 3GPP ( 3rd Generation Partner Project , 第三代合作伙伴计划) 中 , SAE ( System Arc hitec ture Evo hit io n , 系统架构演进) 系统的架构包含了 MME ( Mobility Management Entity , 移动性管理实体)、 S-GW ( Serving Gateway, 服务网关实体)、 P-GW ( Packet Data Network Gateway , 分组数 据网络网关实体)以及其它管理、 计费等功能的网元设备, SAE系统通过 这些网元设备, 完成用户连接到 3GPP接入网络和非 3GPP接入网络的任 务。  In 3GPP (3rd Generation Partner Project), the architecture of the SAE (System Arc Hitecture Evo Hit io n) system includes MME (Mobility Management Entity), S - GW (Serving Gateway, Service Gateway Entity), P-GW (Packet Data Network Gateway), and other network element devices for management and accounting functions. The SAE system completes user connections through these network element devices. The task of accessing the 3GPP access network and non-3GPP access networks.
在 SAE系统的基础上, 为了满足不断增大的移动网络流量需求, 网络 运营商为了节约成本, 通过相互租用网络的方式来推出新的业务, 因而出 现了运营商之间网络共享的现象。 这样, 一个网络运营商的网络可能同时 为多个运营商提供服务, 而在为多个运营商部署共享网络的过程中, 根据 任一运营商的业务特点可能需要为其部署多个 P-GW,而这多个 P-GW可能 拥有相同的 APN( Access Point Name , 接入点名称), 因此, 运营商在根据 APN建立 PDN ( Packet Data Network, 分组数据网络) 连接时, 就会将多 个具有相同 APN的 P-GW作为接入的对象, 但是, 由于各个 P-GW负载能力 不同, 因此, 如果按照随机的方式接入 P-GW, 可能会出现一些 P-GW剩余 了大量资源, 而另一些 P-GW资源不足的情况。 On the basis of the SAE system, in order to meet the ever-increasing demand for mobile network traffic, network operators have introduced new services by renting networks to each other in order to save costs. Therefore, network sharing between operators has occurred. In this way, a network operator's network may provide services for multiple operators at the same time. In the process of deploying a shared network for multiple operators, multiple P-GWs may need to be deployed according to the service characteristics of any carrier. The multiple P-GWs may have the same APN (Access Point Name). Therefore, when the operator establishes a PDN (Packet Data Network) connection according to the APN, multiple carriers will be connected. A P-GW with the same APN is used as the access object. However, since each P-GW has different load capabilities, some P-GW residuals may occur if the P-GW is accessed in a random manner. A lot of resources, while other P-GW resources are insufficient.
针对上述问题, 现有技术中提出了一种控制 P-GW接入的方法, 具体 包括:  In the prior art, a method for controlling P-GW access is proposed in the prior art, which specifically includes:
在 DNS提供的 P-GW地址列表中, 增加了 P-G W的吞吐能力和承载量, MME能够根据每个 P-GW的吞吐能力和承载量来选择其中一个 P-GW建立 PDN连接。 在实现上述方法的过程中, 发明人发现现有技术中至少存在如 下问题:  In the P-GW address list provided by the DNS, the throughput and the carrying capacity of the P-G W are increased. The MME can select one of the P-GWs to establish a PDN connection according to the throughput capability and the carrying capacity of each P-GW. In the process of implementing the above method, the inventors found that at least the following problems exist in the prior art:
在共享网络中 , 不同的运营商在不同的 P-GW中签约的吞吐能力及承 载量各不相同, 若仅根据 P-GW的吞吐能力及承载量进行选择, 可能会出 现某一 P-GW总的网络承载量的资源剩余很多,但某一运营商在该 P-GW签 约的承载量的资源已经不足, 而在其它 P-GW上签约的承载量的资源剩余 很多的情况, 从而不能够均衡地利用运营商所签约的资源, 降低了为运营 商提供的服务质量。  In a shared network, different operators have different throughputs and bearers in different P-GWs. If only the P-GW's throughput capacity and capacity are selected, a certain P-GW may appear. There are a lot of resources remaining in the total network capacity, but the resources of a certain carrier's contracted capacity at the P-GW are insufficient, and the resources of the contracted capacity of other P-GWs are still large, and it is impossible to Balanced use of resources contracted by operators reduces the quality of services provided to operators.
发明内容 Summary of the invention
本发明的实施例提供一种负载均衡的方法和装置, 用于解决 MM E请 求接入 P-GW时, 仅根据具有相同 APN的多个 P-GW的权重信息选择 P-GW 建立连接, 造成的单个运营商在这些 P-GW上所签约的资源不能够被均衡 利用的问题。  An embodiment of the present invention provides a method and apparatus for load balancing, which is used to solve the problem that when the MM E requests to access the P-GW, the P-GW is selected according to the weight information of multiple P-GWs having the same APN, thereby establishing a connection. The problem that the resources signed by a single operator on these P-GWs cannot be balancedly utilized.
为达到上述目的, 本发明采用如下技术方案: 第一方面, 本发明提供了一种负载均衡的方法, 所述方法基于系统架 构演进 SAE系统, 具体包括: In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a method for load balancing, which is based on a system architecture evolution SAE system, and specifically includes:
在接收用户设备发送的 PDN连接请求后,根据所述 PDN连接请求获取 接入点名称 APN;  After receiving the PDN connection request sent by the user equipment, acquiring the access point name APN according to the PDN connection request;
查询与所述 APN对应的第一 P-GW所组成的 P-GW列表; 所述 P-GW列 表包括所述第一 P-GW的 P-GW标识和 P-GW负载能力因子,所述 P-GW负载 能力因子包括所述第一 P-GW的资源吞吐量能力等级和承载数, 以及, 与 所述 APN对应的运营商在所述第一 P-G W上所签约的资源吞吐量能力等级 和承载数;  Querying a P-GW list formed by the first P-GW corresponding to the APN; the P-GW list includes a P-GW identifier of the first P-GW and a P-GW load capability factor, where the P a GW load capability factor including a resource throughput capability level and a bearer number of the first P-GW, and a resource throughput capability level of the carrier corresponding to the APN on the first PG W and Number of bearers;
根据所述 P-GW列表, 选择 P-GW并建立 PDN连接。  According to the P-GW list, the P-GW is selected and a PDN connection is established.
结合第一方面, 在第一方面的第一种可能实现的方式中, 所述根据所 述 P-GW列表, 选择 P-GW并建立 PDN连接包括:  With reference to the first aspect, in a first possible implementation manner of the first aspect, the selecting a P-GW and establishing a PDN connection according to the P-GW list includes:
确定所述 P-GW列表中未处于高负载状态的第二 P-GW组成的低负载 P-GW列表;所述高负载状态是指 P-GW当前的资源承载数使用量超过告警 值的状态, 或者, P-GW当前的资源承载数使用量未超过告警值, 但与所 述 APN对应的运营商在 P-GW上的当前的资源承载数使用量超过告警值的 状态;  Determining a low-load P-GW list composed of a second P-GW that is not in a high-load state in the P-GW list; the high-load state is a state in which the current resource bearer usage of the P-GW exceeds an alarm value. Or, the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the P-GW exceeds the alarm value;
根据所述第二 P -GW的资源吞吐量能力等级和承载数, 从所述低负载 列表中选择多个吞吐能力等级高且承载量大的 P-GW; 根据与所述 APN对应的运营商在所述选择出的 P-GW上所签约的资源 吞吐量能力等级和承载数, 从选择出的 P-GW中确定一个所述运营商在所 述选择出的 P-GW上签约的资源吞吐量能力等级高且承载数量大的 P-GW; 选择所确定的 P-GW建立 PDN连接。 And selecting, according to the resource throughput capability level and the number of bearers of the second P-GW, a plurality of P-GWs having a high throughput capability level and a large carrying capacity from the low load list; Determining, according to the resource throughput capability level and the number of bearers signed by the operator corresponding to the APN on the selected P-GW, determining, by the selected P-GW, the operator is selected in the The P-GW with a high resource throughput capability level and a large number of bearers on the P-GW is selected; the determined P-GW is selected to establish a PDN connection.
结合第一方面, 在第一方面的第二种可能的实施方式中, 所述确定所 述 P-GW列表中未处于高负载状态的所述第二 P-GW组成的低负载 P-GW列 表包括:  With reference to the first aspect, in a second possible implementation manner of the first aspect, the determining, by the second P-GW that is not in a high load state in the P-GW list, is a list of low load P-GWs Includes:
接收第一消息; 所述第一消息携带处于高负载状态的第三 P-GW的 P-GW标识和 APN;  Receiving a first message; the first message carries a P-GW identifier and an APN of a third P-GW in a high load state;
根据所述第三 P-GW的 P-GW标识和 APN从所述 P-GW列表中查找对应 的第三 P-GW;  And searching for a corresponding third P-GW from the P-GW list according to the P-GW identifier and the APN of the third P-GW;
从所述 P-GW列表中,将所述查找到的第三 P-GW的 P-GW标识和 P-GW 负载能力因子从所述 P - GW列表中删除。  And deleting, from the P-GW list, the P-GW identifier and the P-GW load capability factor of the found third P-GW from the P-GW list.
结合第一方面, 在第一方面的第三种实现的方式中, 所述确定所述 P-GW列表中未处于高负载状态的所述第二 P-GW组成的低负载 P-GW列 表, 还包括:  With reference to the first aspect, in a third implementation manner of the first aspect, the determining, by the second P-GW, the low-load P-GW list that is not in a high-load state in the P-GW list, Also includes:
接收到的第二消息; 所述第二消息携带需要解除高负载状态的第四 P-GW的 P-GW标识和 APN;  Receiving a second message; the second message carries a P-GW identifier and an APN of a fourth P-GW that needs to cancel a high load state;
根据所述第四 P-GW的 P-GW标识和 APN查找对应的第四 P-GW; 将所述第四 P-GW的 P-GW标识和 P-GW负载能力因子添加到所述 P-GW列表中。 Determining a corresponding fourth P-GW according to the P-GW identifier of the fourth P-GW and the APN; Adding a P-GW identity and a P-GW load capability factor of the fourth P-GW to the P-GW list.
结合第一方面, 在所述第一方面的第四种可能实现的方法中, 所述方 法还包括:  In conjunction with the first aspect, in the fourth possible implementation method of the first aspect, the method further includes:
在接收用户设备发送的 PDN连接请求后,根据所述 PDN连接请求获取 APN;  After receiving the PDN connection request sent by the user equipment, acquiring the APN according to the PDN connection request;
根据所述 APN从 DNS上获取预先配置 P -G W列表;  Obtaining a pre-configured P-G W list from the DNS according to the APN;
根据获取到的 P-GW列表, 选择 P-GW并建立 PDN连接。  According to the obtained P-GW list, select the P-GW and establish a PDN connection.
第二方面, 本发明提供了一种负载均衡的装置, 所述装置应用于 SAE 系统, 包括:  In a second aspect, the present invention provides a device for load balancing, the device being applied to a SAE system, including:
获取模块, 用于在接收用户设备发送的 PDN连接请求后, 根据所述 PDN连接请求获取接入点名称 APN;  An obtaining module, configured to obtain an access point name APN according to the PDN connection request after receiving a PDN connection request sent by the user equipment;
查询模块, 用于查询与所述 APN对应的第一 P-GW所组成的 P-GW列 表; 所述 P-GW列表包括所述第一 P-GW的 P-GW标识和 P-GW负载能力因 子,所述 P-GW负载能力因子包括所述第一 P-GW的资源吞吐量能力等级和 承载数, 以及, 与所述 APN对应的运营商在所述第一 P-GW上所签约的资 源吞吐量能力等级和承载数;  a querying module, configured to query a P-GW list formed by the first P-GW corresponding to the APN; the P-GW list includes a P-GW identifier and a P-GW load capability of the first P-GW a factor, the P-GW load capability factor includes a resource throughput capability level and a bearer number of the first P-GW, and an operator that is associated with the APN is subscribed to the first P-GW Resource throughput capability level and number of bearers;
连接模块, 用于根据所述 P-GW列表, 选择 P-GW并建立 PDN连接。 结合第二方面, 在第一种可能实现的方式中, 所述连接模块包括: 确定单元,用于确定所述 P-GW列表中未处于高负载状态的第二 P-GW 组成的低负载 P-GW列表;所述高负载状态是指 P-GW当前的资源承载数使 用量超过告警值的状态, 或者, P-GW当前的资源承载数使用量未超过告 警值, 但与所述 APN对应的运营商在 P-GW上的当前的资源承载数使用量 超过告警值的状态; And a connection module, configured to select a P-GW and establish a PDN connection according to the P-GW list. With reference to the second aspect, in a first possible implementation manner, the connecting module includes: a determining unit, configured to determine a low-load P-GW list composed of a second P-GW that is not in a high-load state in the P-GW list; the high-load state refers to a current resource bearer usage of the P-GW The state in which the alarm value is exceeded, or the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the P-GW exceeds the alarm value. ;
选择单元,用于根据所述第二 P-GW的资源吞吐量能力等级和承载数, 从所述低负载列表中选择多个吞吐能力等级高且承载量大的 P-GW; 根据 与所述 APN对应的运营商在所述选择出的 P-GW上所签约的资源吞吐量能 力等级和承载数, 从选择出的 P -GW中确定一个所述运营商在所述选择出 的 P -GW上签约的资源吞吐量能力等级高且承载数量大的 P -GW;  a selecting unit, configured to select, according to the resource throughput capability level and the number of bearers of the second P-GW, a plurality of P-GWs having a high throughput capability level and a large carrying capacity from the low load list; Determining, by the operator corresponding to the APN, the resource throughput capability level and the number of bearers signed on the selected P-GW, and determining, from the selected P-GW, one of the selected P-GWs by the operator P-GW with high resource throughput capability and large number of bearers;
连接单元, 用于选择所确定的 P-GW建立 PDN连接。  The connecting unit is configured to select the determined P-GW to establish a PDN connection.
结合第二方面, 在第二种可能实现的方式中, 所述确定单元包括: 接收子单元, 用于接收第一消息; 所述第一消息携带处于高负载状态 的第三 P -GW的 P -G W标识和 APN;  With reference to the second aspect, in a second possible implementation manner, the determining unit includes: a receiving subunit, configured to receive a first message; the first message carries a P of a third P-GW in a high load state - GW identity and APN;
查找子单元, 用于根据所述第三 P-GW的 P-GW标识和 APN从所述 P-GW列表中查找对应的第三 P-GW;  a locating unit, configured to search for a corresponding third P-GW from the P-GW list according to the P-GW identifier and the APN of the third P-GW;
管理子单元, 用于从所述 P-GW列表中, 将所述查找到的第三 P-GW的 P-GW标识和 P-GW负载能力因子从所述 P-GW列表中删除。  And a management subunit, configured to remove, from the P-GW list, the P-GW identifier and the P-GW load capability factor of the found third P-GW from the P-GW list.
结合第二方面, 在第三种可能实现的方式中, 所述接收子单元, 还用 于接收到的第二消息; 所述第二消息携带需要解除高负载状态的第四With reference to the second aspect, in a third possible implementation manner, the receiving subunit is further used And receiving the second message; the second message carrying the fourth state that needs to cancel the high load state
P-GW的 P-GW标识和 APN; P-GW's P-GW identity and APN;
查找子单元,还用于根据所述第四 P-GW的 P-GW标识和 APN查找对应 的第四 P-GW;  The finding subunit is further configured to search for a corresponding fourth P-GW according to the P-GW identifier of the fourth P-GW and the APN;
管理子单元, 还用于将所述第四 P-GW的 P-GW标识和 P-GW负载能力 因子添加到所述 P-GW列表中。  The management subunit is further configured to add the P-GW identifier and the P-GW load capability factor of the fourth P-GW to the P-GW list.
结合第二方面, 在第四种可能实现的方式中, 所述获取模块, 还用于 在接收用户设备发送的 PDN连接请求后, 根据所述 PDN连接请求获取 APN; 根据所述 APN从 DNS上获取预先配置 P-GW列表;  With reference to the second aspect, in a fourth possible implementation manner, the acquiring module is further configured to: after receiving a PDN connection request sent by the user equipment, acquire an APN according to the PDN connection request; according to the APN from the DNS Obtain a pre-configured P-GW list;
连接模块, 还用于根据获取到的 P-GW列表, 选择 P-GW并建立 PDN 连接。  The connection module is further configured to select a P-GW and establish a PDN connection according to the obtained P-GW list.
本发明实施例提供的一种负载均衡的方法和装置中, MME由用户发 送的 PDN连接请求获取 APN, 并查询到对应的 P-GW列表, 根据 P-GW列表 中的 P-GW的资源吞吐量能力等级和承载数, 以及与 APN对应的运营商在 该 P -GW上所签约的资源吞吐量能力等级和承载数,选择 P -G W并建立 P DN 连接。 通过上述方式, 在本发明中 MME不仅根据 P-GW本身的吞吐量能力 和承载数进行选择, 还增加了根据运营商在 P-G W上签约的吞吐量能力和 承载数进行选择的内容, 使得 MME在选择 P-GW建立连接时, 还能够根据 不同的运营商在不同的 P-GW上所签约的吞吐量能力和承载数进行选择 , 解决了 MME请求接入 P-GW时 , 仅根据具有相同 APN的多个 P-GW的权重 信息选择 P-GW建立连接,造成的单个运营商在这些 P-GW上所签约的资源 不能够被均衡利用的问题。 In the load balancing method and device provided by the embodiment of the present invention, the MME obtains the APN by the PDN connection request sent by the user, and queries the corresponding P-GW list according to the resource throughput of the P-GW in the P-GW list. The capacity capability level and the number of bearers, and the resource throughput capability level and number of bearers signed by the operator corresponding to the APN on the P-GW, select the P-GW and establish a PDN connection. In the above manner, in the present invention, the MME not only selects according to the throughput capability and the number of bearers of the P-GW itself, but also increases the content selected according to the throughput capability and the number of bearers subscribed by the operator on the PG W, so that the MME When the P-GW is selected to establish a connection, it is also possible to select according to the throughput capability and the number of bearers signed by different operators on different P-GWs. When the MME requests access to the P-GW, the P-GW is selected to establish a connection only according to the weight information of the multiple P-GWs having the same APN, and the resources signed by the single operator on the P-GW cannot be The problem of balanced use.
附图说明 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例 ,对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。 BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are to be regarded as Other drawings may also be obtained from these drawings without the use of creative labor.
图 1为本发明实施例提供的一种负载均衡的方法的流程图;  FIG. 1 is a flowchart of a method for load balancing according to an embodiment of the present invention;
图 2为本发明实施例提供的另一种根据 P-GW列表选择 P-GW的方法的 流程图;  FIG. 2 is a flowchart of another method for selecting a P-GW according to a P-GW list according to an embodiment of the present invention;
图 3为本发明实施例提供的一种确定低负载 P-GW列表的方法流程图; 图 4为本发明实施例提供的一种解除 P-GW的高负载状态的方法流程 图;  FIG. 3 is a flowchart of a method for determining a low-load P-GW list according to an embodiment of the present invention; FIG. 4 is a flowchart of a method for releasing a high-load state of a P-GW according to an embodiment of the present invention;
图 5为本发明实施例提供的一种负载均衡的的装置示意图;  FIG. 5 is a schematic diagram of a device for load balancing according to an embodiment of the present invention;
图 6为本发明实施例提供的一种负载均衡的详细装置示意图。  FIG. 6 is a schematic diagram of a detailed device for load balancing according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的 范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention. Rather than all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种负载均衡的方法, 应用于 SAE系统中, 在本 发明实施例中, 所有步骤的执行主体为 MME, 其方法流程如图 1所示, 具 体包括:  The embodiment of the present invention provides a load balancing method, which is applied to a SAE system. In the embodiment of the present invention, the execution body of all the steps is an MME, and the method flow is as shown in FIG. 1 , and the specific method includes:
101、 在接收用户设备发送的 PDN连接请求后, 根据所述 PDN连接请 求获取接入点名称 APN。  101. After receiving the PDN connection request sent by the user equipment, obtain the access point name APN according to the PDN connection request.
其中, 所述 APN, 可选择由 MME通过用户设备发送的 PDN连接请求 中携带的 IMSI号解析所述用户设备的归属运营商或 MVNO获得,也可以选 择通过在 MME向 HSS索取鉴权数据的过程中由 HSS解析用户设备的归属 运营商获得, 本发明实施例在此不做更多限制。  The APN may be obtained by parsing the home operator or the MVNO of the user equipment by using the IMSI number carried in the PDN connection request sent by the MME by the MME, or may select the process of requesting the authentication data from the MME to the HSS. The embodiment of the present invention does not impose any limitation on the home operator of the user equipment that is resolved by the HSS.
102、 查询与所述 APN对应的第一 P-GW所组成的 P-GW列表。  102. Query a P-GW list formed by the first P-GW corresponding to the APN.
其中,所述 P-GW列表包括所述第一 P-GW的 P-GW标识和 P-GW负载能 力因子,所述 P-GW负载能力因子包括所述第一 P-GW的资源吞吐量能力等 级和承载数, 以及, 与所述 APN对应的运营商在所述第一 P-GW上所签约 的资源吞吐量能力等级和承载数。其中,每个 APN对应一个运营商的标识 , 所述 APN对应的第一 P -G W是指 APN对应的运营商或者 MVNO的所签约的 所有 P-GW, 每个 P-GW标识都对应着该 P-GW的 P-GW负载能力因子。 其中, 在本发明实施例中, 可优选将 P-GW标识和 P-GW负载能力因子 预先配置在 MME中, 在需要时可直接从 MME中查找到, 当然也可以选择 将 P-GW标识和 P-GW负载能力因子预先配置在 DNS中,在需要时, 由 MME 向所述 DNS发送携带 APN的请求信息,从 DNS中查找到后通过响应消息返 回给 MME, 本发明在此不做更多限制。 The P-GW list includes a P-GW identifier of the first P-GW and a P-GW load capability factor, where the P-GW load capability factor includes a resource throughput capability of the first P-GW. a level and a number of bearers, and a resource throughput capability level and a number of bearers subscribed by the operator corresponding to the APN on the first P-GW. Each APN corresponds to an identifier of an operator, and the first P-GW corresponding to the APN refers to an operator corresponding to the APN or all P-GWs subscribed by the MVNO, and each P-GW identifier corresponds to the P-GW. P-GW load capacity factor of P-GW. In the embodiment of the present invention, the P-GW identifier and the P-GW load capacity factor may be pre-configured in the MME, and may be directly searched from the MME when needed, and of course, the P-GW identifier may be selected and The P-GW load capacity factor is pre-configured in the DNS. When required, the MME sends the request information carrying the APN to the DNS, and after searching from the DNS, the response message is returned to the MME, and the present invention does not do more here. limit.
103、 根据所述 P-GW列表, 选择 P-GW并建立 PDN连接。  103. Select, according to the P-GW list, a P-GW and establish a PDN connection.
其中,根据 P-GW列表中,每个 P-GW的负载能力因子选择合适的 P-GW 进行连接, 对于选择的具体过程在后续的方法流程中进行描述, 故在此不 再赘述。  The specific P-GW is selected according to the load capacity factor of each P-GW in the P-GW list. The specific process for the description is described in the subsequent method flow, and therefore will not be described here.
本发明实施例提供的一种负载均衡的方法中, MME由用户发送的 PDN连接请求获取 APN, 并查询到对应的 P-GW列表, 根据 P-GW列表中的 P-GW的资源吞吐量能力等级和承载数, 以及与 APN对应的运营商在该 P-G W上所签约的资源吞吐量能力等级和承载数, 选择 P -G W并建立 P DN 连接。 通过上述方式, 在本发明中 MME不仅根据 P-GW本身的吞吐量能力 和承载数进行选择, 还增加了根据运营商在 P-G W上签约的吞吐量能力和 承载数进行选择的内容, 使得 MME在选择 P-GW建立连接时, 还能够根据 不同的运营商在不同的 P-GW上所签约的吞吐量能力和承载数进行选择 , 解决了 MME请求接入 P-GW时 , 仅根据具有相同 APN的多个 P-GW的权重 信息选择 P-GW建立连接,造成的单个运营商在这些 P-GW上所签约的资源 不能够被均衡利用的问题。 In the load balancing method provided by the embodiment of the present invention, the MME obtains the APN by the PDN connection request sent by the user, and queries the corresponding P-GW list according to the resource throughput capability of the P-GW in the P-GW list. The level and number of bearers, and the resource throughput capability level and number of bearers signed by the operator corresponding to the APN on the PG W, select the P-GW and establish a P DN connection. In the above manner, in the present invention, the MME not only selects according to the throughput capability and the number of bearers of the P-GW itself, but also increases the content selected according to the throughput capability and the number of bearers subscribed by the operator on the PG W, so that the MME When the P-GW is selected to establish a connection, it is also possible to select according to the throughput capability and the number of bearers subscribed by different operators on different P-GWs, and solve the problem that when the MME requests to access the P-GW, only according to the same The weight information of multiple P-GWs of the APN selects the P-GW to establish a connection, resulting in the resources signed by a single operator on these P-GWs. The problem of not being able to be balanced.
为了进一步描述步骤 103所述的方法, 本发明实施例还提供了一种根 据所述 P-GW列表, 选择 P-GW并建立 PDN连接的实现方式, 如图 2所示, 具体包括:  In order to further describe the method in the step 103, the embodiment of the present invention further provides an implementation manner of selecting a P-GW and establishing a PDN connection according to the P-GW list. As shown in FIG. 2, the method specifically includes:
1031、确定所述 P-G W列表中未处于高负载状态的第二 P-G W组成的低 负载 P-GW列表。  1031. Determine a low load P-GW list consisting of a second P-G W that is not in a high load state in the P-G W list.
所述高负载状态是指 P-GW当前的资源承载数使用量超过告警值的状 态, 或者, P-GW当前的资源承载数使用量未超过告警值, 但与所述 APN 对应的运营商在 P-GW上的当前的资源承载数使用量超过告警值的状态。  The high-load state refers to a state in which the current resource bearer usage of the P-GW exceeds the alarm value, or the current resource bearer usage of the P-GW does not exceed the alarm value, but the operator corresponding to the APN is The current resource bearer usage on the P-GW exceeds the state of the alarm value.
其中, 为 P-GW设定高负载状态是为了避免增加 MME的负担, 因为当 MME向 P-GW发送 PDN连接请求时, 可能出现该 P-GW的承载能力, 或者, 该 P-GW对应的运营商在该 P-GW上签约的承载能力不足,若同时存在多个 P-GW的资源不足, MME成功建立一次 PDN连接可能就需要向多个 P-GW 发送多次 PDN连接请求的情况, 因此通过由 P-GW检测到自身是否处于高 负载状态, 并向 MME上报的方法, 就避免了上述情况。  The setting of the high load state for the P-GW is to avoid the burden of the MME, because when the MME sends a PDN connection request to the P-GW, the bearer capability of the P-GW may occur, or the P-GW corresponds to the P-GW. The carrier has insufficient bearer capacity for signing on the P-GW. If there are insufficient resources of multiple P-GWs at the same time, the MME may need to send multiple PDN connection requests to multiple P-GWs if the PDN connection is successfully established. Therefore, the above situation is avoided by the method in which the P-GW detects whether it is in a high load state and reports it to the MME.
其中, 低负载状态下的 P-GW为当前允许使用的 P-GW, 通过设定高负 载状态的 P-GW来限制当 P-GW本身的负载负担过重 ,或者虽然本身负载负 担不重,但是该 P-GW上所签约的某一运营商在该 P-GW上的负载量将要超 出所签约的负载量了, 因此对于该运营商来说, 该 P-GW可认定为不可用 的 P-GW, 在需要建立 PDN连接时, 只选择低负载的 P-GW, 以此来均衡分 配每个 P-GW的负载, 以及每个运营商在所签约的 P-GW上的负载。 The P-GW in the low load state is the currently allowed P-GW, and the P-GW of the high load state is set to limit the load burden of the P-GW itself, or the load burden is not heavy, However, the load of an operator contracted on the P-GW on the P-GW will exceed the amount of the contracted load, so the P-GW can be considered as unavailable for the operator. The P-GW, when a PDN connection needs to be established, selects only the low-load P-GW to balance the load of each P-GW and the load of each operator on the subscribed P-GW.
1032、 根据所述第二 P-GW的资源吞吐量能力等级和承载数, 从所述 低负载列表中选择多个吞吐能力等级高且承载量大的 P-GW。  1032. Select, according to the resource throughput capability level and the number of bearers of the second P-GW, a plurality of P-GWs having a high throughput capability level and a large carrying capacity from the low load list.
其中, 首先根据低负载列表中的 P-GW本身的承载能力进行选择, 选 出多个本身承载能力强的 P-GW, 是为了能够保证本身的承载能力强的 P-GW能够被优先选中, 以使得承载能力强的 P-GW的资源能够被充分利 用, 至于所选择的数量, 可以根据具体的需要进行设定, 在此不做更多的 限制。  First, the P-GW is selected according to the bearer capability of the P-GW in the low-load list, and the P-GWs with strong bearer capabilities are selected to ensure that the P-GW with strong bearer capability can be preferentially selected. In order to make the resources of the P-GW with strong carrying capacity can be fully utilized, as for the selected quantity, it can be set according to specific needs, and no further restrictions are imposed here.
1033、 根据与所述 APN对应的运营商在所述选择出的 P-GW上所签约 的资源吞吐量能力等级和承载数, 从选择出的 P -GW中确定一个所述运营 商在所述选择出的 P-GW上签约的资源吞吐量能力等级高且承载数量大的 P-GW。  1033. Determine, according to a resource throughput capability level and a number of bearers signed by the operator corresponding to the APN on the selected P-GW, determining, by the selected P-GW, one of the operators in the The selected P-GW has a high resource throughput capability level and a large number of P-GWs.
其中, 在本步骤中, 根据运营商在上一步骤选择出的 P-GW上所签约 的承载能力进行选择, 选出运营商签约的承载能力强的 P-GW, 以保证运 营商所签约的承载能力强的 P -G W能够被优先选中, 以使得运营商签约的 资源能够被均衡地分配。  In this step, the bearer capability of the P-GW selected by the operator in the previous step is selected, and the P-GW with strong bearer capability signed by the operator is selected to ensure that the operator signs the contract. The P-GW with strong carrying capacity can be preferentially selected so that the resources contracted by the operator can be allocated in a balanced manner.
1034、 选择所确定的 P-GW建立 PDN连接。  1034. Select the determined P-GW to establish a PDN connection.
其中, 需要说明的是, MME在选定 P-GW后, 需要经过 S-GW向所选 择的 P-GW发送创建 PDN连接请求,然后由 P-GW在接收到 PDN连接的请求 后, 执行相关的 PCC流程, 并通过 S-GW向 MME回复 PDN连接响应, 最后 再由 MME回复用户设备 PDN连接响应, 建立 PDN连接。 在本发明实施例 中, 为了便于本发明方案的理解, 通过建立 PDN连接的描述对设备间的交 互过程进行了简化。 It should be noted that, after selecting the P-GW, the MME needs to go through the S-GW to select The selected P-GW sends a request to create a PDN connection, and then, after receiving the request for the PDN connection, the P-GW performs the relevant PCC process, and returns a PDN connection response to the MME through the S-GW, and finally the MME replies to the user equipment. The PDN connection responds and establishes a PDN connection. In the embodiment of the present invention, in order to facilitate the understanding of the solution of the present invention, the interaction process between devices is simplified by establishing a description of the PDN connection.
在本发明实施例中, 通过先确定低负载 P-GW列表, 再根据低负载列 表中的 P-GW承载能力选择资源吞吐量能力等级和承载数选择多个 P-GW, 并从这些 P-GW中, 再根据运营商所签约的资源吞吐量能力等级和承载数 确定一个 P-GW,最后选择所确定的 P-GW建立 PDN连接的方法,使得 MME 能够根据 P-GW列表进行选择,并确定唯一的 P-GW建立 PDN连接,为 P-GW 的负载均衡提供了选择的标准,进而为负载均衡的方法的实现提供了可实 施性。  In the embodiment of the present invention, multiple P-GWs are selected by first determining a low-load P-GW list, and selecting a resource throughput capability level and a bearer number according to the P-GW bearer capability in the low-load list, and from these P- In the GW, a P-GW is determined according to the resource throughput capability level and the number of bearers signed by the operator, and finally the method for establishing the PDN connection by the determined P-GW is selected, so that the MME can select according to the P-GW list, and Determining the unique P-GW to establish a PDN connection provides a selection criterion for the load balancing of the P-GW, thereby providing implementability for the implementation of the load balancing method.
进一步的, 为了更清楚地描述步骤 1031所述的方法, 本发明实施例还 提供了确定低负载列表的方法流程, 流程图如图 3所示, 具体包括:  Further, in order to more clearly describe the method in the step 1031, the embodiment of the present invention further provides a method for determining a low-load list. The flowchart is as shown in FIG. 3, and specifically includes:
301、 接收第一消息。  301. Receive the first message.
其中, 所述第一消息由 P-GW发送给 MME, 当某一 P-GW检测到本身 的负载量达到预先设定的告警值, 或者某一运营商在某一 P-GW上的负载 量已经达到预先签约的负载量的告警值时, 就向所述 MME发送第一消息, 所述第一消息携带处于高负载状态的第三 P-GW的 P-GW标识和 APN, 用 于告知 MME处于高负载状态的 P-GW, 其中, 所述 P-GW标识用于标识处 于高负载状态的 P - G W , 所述运营商标识用于标识处于高负载状态的运营 商, 所述 APN用于在 P -GW列表中对应到相应的 P -G W和运营商。 The first message is sent by the P-GW to the MME, and when a P-GW detects that the load of the P-GW reaches a preset alarm value, or the load of a certain operator on a certain P-GW When the alarm value of the pre-signed load is reached, the first message is sent to the MME, where the first message carries the P-GW identifier and the APN of the third P-GW in a high load state. The P-GW is configured to notify the P-GW that the MME is in a high load state, where the P-GW identifier is used to identify a P-GW in a high load state, and the operator identifier is used to identify an operator in a high load state, The APN is used to correspond to the corresponding P-GW and operator in the P-GW list.
302、根据所述第三 P-GW的 P-GW标识和 APN从所述 P-GW列表中查找 对应的第三 P-GW。  302. Search for a corresponding third P-GW from the P-GW list according to the P-GW identifier and the APN of the third P-GW.
其中, 在所述第三 P-GW列表中, 存储了 APN与与其对应的 P-GW的 P-GW负载能力因子的对应关系、与与其对应 P-GW上所签约的所有运营商 的对应关系 , 以及每个运营商在该 P-GW上的负载能力因子的对应关系, 因此, 根据 P-GW标识和 APN就能够查找到对应的 P-GW了。  The correspondence between the APN and the P-GW load capacity factor of the P-GW corresponding thereto and the correspondence between all the operators that are subscribed to the corresponding P-GW are stored in the third P-GW list. And the correspondence between the load capacity factors of each operator on the P-GW. Therefore, the corresponding P-GW can be found according to the P-GW identity and the APN.
303、 从所述 P-GW列表中, 将所述查找到的第三 P-GW的 P-GW标识和 P-GW负载能力因子从所述 P-GW列表中删除。  303. Remove, from the P-GW list, the P-GW identifier and the P-GW load capability factor of the found third P-GW from the P-GW list.
其中, 查找到对应的 P -G W后 ,将该 P -G W对应的 P -G W标识和 P -G W负 载能力因子从所述 P-GW列表中删除,通过这样的方法将 P-GW列表中不可 用的 P-GW剔除出去。  After the corresponding P-GW is found, the P-GW identifier and the P-GW load capability factor corresponding to the P-GW are deleted from the P-GW list, and the P-GW list is not available in this manner. Use the P-GW to get rid of it.
在本发明实施例中 , 通过根据所接收的包含处于高负载状态的 P-GW 标识和 APN的消息, 从 P -GW列表中查找并删除对应的 P -G W的标识和 P-GW负载能力因子的方式, 将处于高负载状态的 P-GW从选择 P-GW进行 PDN连接的列表中剔除出去, 使得当某一 P-GW处于高负载状态时, 不能 够被 MME选择并建立 PDN连接, 进而选择其它处于低负载状态的 P-GW中 选择负载能力强的 P-GW建立 PDN连接, 给出了 MME获知处于高负载状态 的 P-GW, 并禁止 MME选择该 P-GW的方法, 保证了负载均衡的的可实施 性。 In the embodiment of the present invention, the identifier of the corresponding P-GW and the P-GW load capacity factor are searched for and deleted from the P-GW list according to the received message including the P-GW identifier and the APN in a high load state. The P-GW in the high load state is removed from the list of PDN connections selected by the P-GW, so that when a certain P-GW is in a high load state, the MME cannot select and establish a PDN connection, and further Select other P-GWs in low load state The P-GW with strong load capability is selected to establish a PDN connection, and the P-GW that the MME learns to be in a high load state is obtained, and the method for the MME to select the P-GW is prohibited, thereby ensuring the implementability of the load balancing.
进一步的, 为了更清楚地描述步骤 1031所述的方法, 本发明实施例还 提供了解除 P-GW的高负载状态的方法, 具体如图 4所示, 包括:  Further, in order to more clearly describe the method in the step 1031, the embodiment of the present invention further provides a method for releasing the high load state of the P-GW. Specifically, as shown in FIG. 4, the method includes:
401、 接收到的第二消息。  401. Receive a second message.
其中,所述第二消息携带需要解除高负载状态的第四 P -GW的 P -G W标 识和 APN。 当某个 P-GW检测到其负载量已经降低到告警值以下时, 就向 MME发送解除所述解除该 P-GW的高负载状态的消息, 并在消息中携带该 P-GW的 P-GW标识和 APN, 以进行对应查找。  The second message carries the P-G W identifier and the APN of the fourth P-GW that need to cancel the high load state. When a P-GW detects that the load has decreased below the alarm value, it sends a message to the MME that cancels the high load state of the P-GW, and carries the P-GW of the P-GW in the message. The GW identifier and APN are used for corresponding lookup.
402、 根据所述第四 P-GW的 P-GW标识和 APN查找对应的第四 P-GW。 其中, 可以根据 P-GW标识和 APN在 MME中存储所有 P-GW的 P-GW列 表中进行查找,查找到对应的 P -G W时就能够根据对应关系获取其 P -GW负 载能力因子。  402. Search for a corresponding fourth P-GW according to the P-GW identifier of the fourth P-GW and the APN. The P-GW identifier and the APN may be searched in the P-GW list of all P-GWs stored in the MME, and when the corresponding P-G W is found, the P-GW load capacity factor may be obtained according to the corresponding relationship.
403、将所述第四 P-GW的 P-GW标识和 P-GW负载能力因子添加到所述 P-GW列表中。  403. Add a P-GW identifier and a P-GW load capability factor of the fourth P-GW to the P-GW list.
在本发明实施例中 , 通过 MME接收来自 APN对应的 P-GW的解除该 P-GW的高负载状态的消息,并 居消息中的 P-GW标识和 APN查找到对应 的 P-GW及其 P-GW负载能力因子,然后将查找到的 P-GW及其 P-GW负载能 力因子存储到 P-GW列表中的方式, 使得 MME能够在 P-GW从高负载状态 变为低负载状态时, 能够重新选择该 P-GW建立 PDN连接, 为 P-GW解除高 负载状态提供了可实施性, 并提供了低负载 P-G W列表的实时可用性。 In the embodiment of the present invention, the MME receives a message from the P-GW corresponding to the APN to release the high-load state of the P-GW, and the P-GW identifier and the APN in the message find the corresponding P-GW and P-GW load capacity factor, then the P-GW and its P-GW load energy will be found The manner in which the load factor is stored in the P-GW list enables the MME to reselect the P-GW to establish a PDN connection when the P-GW changes from a high load state to a low load state, thereby releasing the P-GW from the high load state. Implementability and provide real-time availability of low-load PG W lists.
本发明的另一实施例提供了一种负载均衡的装置, 应用于 S AE系统, 如图 5、图 6所示, 用以实现图 1至图 4任一所示的方法流程,所述装置包括: 获取模块 51 , 用于在接收用户设备发送的 PDN连接请求后, 根据所述 PDN连接请求获取接入点名称 APN。  Another embodiment of the present invention provides a device for load balancing, which is applied to a S AE system, as shown in FIG. 5 and FIG. 6, to implement the method flow shown in any of FIG. 1 to FIG. The method includes: an obtaining module 51, configured to acquire an access point name APN according to the PDN connection request after receiving a PDN connection request sent by the user equipment.
查询模块 52 ,用于查询与所述 APN对应的第一 P-GW所组成的 P-GW列 表; 所述 P-GW列表包括所述第一 P-GW的 P-GW标识和 P-GW负载能力因 子,所述 P-GW负载能力因子包括所述第一 P-GW的资源吞吐量能力等级和 承载数的对应关系, 以及, 与所述 APN对应的运营商在所述第一 P-GW上 所签约的资源吞吐量能力等级和承载数。  The querying module 52 is configured to query a P-GW list formed by the first P-GW corresponding to the APN; the P-GW list includes a P-GW identifier and a P-GW load of the first P-GW a capability factor, the P-GW load capability factor includes a correspondence between a resource throughput capability level of the first P-GW and a bearer number, and an operator corresponding to the APN is in the first P-GW The resource throughput capability level and number of bearers signed on the board.
连接模块 53 , 用于根据所述 P-GW列表, 选择 P-GW并建立 PDN连接。 可选的是, 所述连接模块包括:  The connection module 53 is configured to select a P-GW according to the P-GW list and establish a PDN connection. Optionally, the connection module includes:
确定单元 54, 用于确定所述 P-GW列表中未处于高负载状态的第二 P-GW组成的低负载 P-GW列表; 所述高负载状态是指 P-GW当前的资源承 载数使用量超过告警值的状态, 或者, P-GW当前的资源承载数使用量未 超过告警值, 但与所述 APN对应的运营商在 P-G W上的当前的资源承载数 使用量超过告警值的状态。 选择单元 55 , 用于根据所述第二 P-G W的资源吞吐量能力等级和承载 数, 从所述低负载列表中选择多个吞吐能力等级高且承载量大的 P-GW; 根据与所述 ΑΡΝ对应的运营商在所述选择出的 P -G W上所签约的资源吞吐 量能力等级和承载数, 从选择出的 P-GW中确定一个所述运营商在所述选 择出的 Ρ - G W上签约的资源吞吐量能力等级高且承载数量大的 P -GW。 The determining unit 54 is configured to determine a low-load P-GW list composed of a second P-GW that is not in a high-load state in the P-GW list, where the high-load status refers to a current resource bearer number of the P-GW. The state in which the quantity exceeds the alarm value, or the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the PG W exceeds the alarm value. . The selecting unit 55 is configured to select, according to the resource throughput capability level and the number of bearers of the second PG W, a plurality of P-GWs having a high throughput capability level and a large carrying capacity from the low load list; Determining, by the corresponding operator, the resource throughput capability level and the number of bearers signed on the selected P-GW, and determining, from the selected P-GW, one of the selected operators in the selected Ρ-GW The P-GW with a high level of resource throughput capability and a large number of bearers.
连接单元 56, 用于选择所确定的 P-GW建立 PDN连接。  The connecting unit 56 is configured to select the determined P-GW to establish a PDN connection.
可选的是, 所述确定单元包括:  Optionally, the determining unit includes:
接收子单元 57, 用于接收第一消息; 所述第一消息携带处于高负载状 态的第三 P-GW的 P-GW标识和 ΑΡΝ。  The receiving subunit 57 is configured to receive the first message, where the first message carries the P-GW identifier and the 第三 of the third P-GW in a high load state.
查找子单元 58 , 用于根据所述第三 P-GW的 P-GW标识和 ΑΡΝ从所述 P-GW列表中查找对应的第三 P-GW。  The finding subunit 58 is configured to search for a corresponding third P-GW from the P-GW list according to the P-GW identifier of the third P-GW.
管理子单元 59, 用于从所述 P-GW列表中, 将所述查找到的第三 P-GW 的 P-GW标识和 P-GW负载能力因子从所述 P-GW列表中删除。  The management sub-unit 59 is configured to remove, from the P-GW list, the P-GW identifier and the P-GW load capability factor of the found third P-GW from the P-GW list.
可选的是, 所述接收子单元 57, 还用于接收到的第二消息; 所述第二 消息携带需要解除高负载状态的第四 P-GW的 P-GW标识和 APN。  Optionally, the receiving subunit 57 is further configured to receive the second message, where the second message carries the P-GW identifier and the APN of the fourth P-GW that need to cancel the high load state.
查找 58子单元,还用于根据所述第四 P-GW的 P-GW标识和 APN查找对 应的第四 P-GW。  The lookup 58 subunit is further configured to search for the corresponding fourth P-GW according to the P-GW identity of the fourth P-GW and the APN.
管理 59子单元, 还用于将所述第四 P-GW的 P-GW标识和 P-GW负载能 力因子添加到所述 P -G W列表中。 可选的是, 所述获取模块 51 , 还用于在接收用户设备发送的 PDN连接 请求后, 根据所述 PDN连接请求获取 APN; 根据所述 APN从 DNS上获取预 先配置 P-GW列表。 The management 59 subunit is further configured to add the P-GW identifier and the P-GW load capability factor of the fourth P-GW to the P-GW list. Optionally, the obtaining module 51 is further configured to: after receiving the PDN connection request sent by the user equipment, acquire an APN according to the PDN connection request; and obtain a pre-configured P-GW list from the DNS according to the APN.
连接模块 53 , 还用于根据获取到的 P-GW列表, 选择 P-GW并建立 PDN 连接。  The connection module 53 is further configured to select a P-GW and establish a PDN connection according to the obtained P-GW list.
本发明实施例提供的一种负载均衡的装置中, MME由用户发送的 PDN连接请求获取 APN, 并查询到对应的 P-GW列表, 根据 P-GW列表中的 P-GW的资源吞吐量能力等级和承载数, 以及与 APN对应的运营商在该 P-G W上所签约的资源吞吐量能力等级和承载数, 选择 P -G W并建立 P DN 连接。 通过上述方式, 在本发明中 MME不仅根据 P-GW本身的吞吐量能力 和承载数进行选择, 还增加了根据运营商在 P-G W上签约的吞吐量能力和 承载数进行选择的内容, 使得 MME在选择 P-GW建立连接时, 还能够根据 不同的运营商在不同的 P-GW上所签约的吞吐量能力和承载数进行选择 , 解决了 MME请求接入 P-GW时 , 仅根据具有相同 APN的多个 P-GW的权重 信息选择 P-GW建立连接,造成的单个运营商在这些 P-GW上所签约的资源 不能够被均衡利用的问题。  In the load balancing device provided by the embodiment of the present invention, the MME obtains the APN by the PDN connection request sent by the user, and queries the corresponding P-GW list according to the resource throughput capability of the P-GW in the P-GW list. The level and number of bearers, and the resource throughput capability level and number of bearers signed by the operator corresponding to the APN on the PG W, select the P-GW and establish a P DN connection. In the above manner, in the present invention, the MME not only selects according to the throughput capability and the number of bearers of the P-GW itself, but also increases the content selected according to the throughput capability and the number of bearers subscribed by the operator on the PG W, so that the MME When the P-GW is selected to establish a connection, it is also possible to select according to the throughput capability and the number of bearers subscribed by different operators on different P-GWs, and solve the problem that when the MME requests to access the P-GW, only according to the same The weight information of the plurality of P-GWs of the APN selects the P-GW to establish a connection, and the problem that the resources signed by the single operator on these P-GWs cannot be balancedly utilized.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软 盘, 硬盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on such understanding, the technique of the present invention The portion of the program that contributes in essence or to the prior art may be embodied in the form of a software product stored in a readable storage medium, such as a computer floppy disk, hard disk or optical disk, etc., including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以所述权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要 求 书 claims
1、 一种负载均衡的方法, 其特征在于, 所述方法基于系统架构演进 SAE系统, 所述方法包括: 1. A load balancing method, characterized in that the method evolves the SAE system based on the system architecture, and the method includes:
在接收用户设备发送的分组数据网络 PDN连接请求后,根据所述 PDN 连接请求获取接入点名称 APN; After receiving the packet data network PDN connection request sent by the user equipment, obtain the access point name APN according to the PDN connection request;
查询与所述 APN对应的第一分组数据网络网关 P-GW所组成的 P-GW 列表; 所述 P-GW列表包括所述第一 P-GW的 P-GW标识和 P-GW负载能 力因子, 所述 P -GW负载能力因子包括所述第一 P-GW的资源吞吐量能力 等级和承载数, 以及, 与所述 APN对应的运营商在所述第一 P-GW上所签 约的资源吞吐量能力等级和承载数; Query the P-GW list composed of the first packet data network gateway P-GW corresponding to the APN; the P-GW list includes the P-GW identification and P-GW load capacity factor of the first P-GW , the P-GW load capability factor includes the resource throughput capability level and number of bearers of the first P-GW, and, the resources contracted by the operator corresponding to the APN on the first P-GW Throughput capability level and number of bearers;
根据所述 P-GW列表, 选择 P-GW并建立 PDN连接。 According to the P-GW list, select a P-GW and establish a PDN connection.
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述 P-GW列 表, 选择 P-GW并建立 PDN连接包括: 2. The method according to claim 1, characterized in that, selecting a P-GW and establishing a PDN connection according to the P-GW list includes:
确定所述 P-GW列表中未处于高负载状态的第二 P-GW组成的低负载 P-GW列表; 所述高负载状态是指 P-GW 当前的资源承载数使用量超过告 警值的状态, 或者, P-GW 当前的资源承载数使用量未超过告警值, 但与 所述 APN对应的运营商在 P-GW上的当前的资源承载数使用量超过告警值 的状态; Determine a low-load P-GW list composed of the second P-GW in the P-GW list that is not in a high-load state; the high-load state refers to a state in which the current resource bearer usage of the P-GW exceeds the alarm value , Or, the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the P-GW exceeds the alarm value;
根据所述第二 P-GW的资源吞吐量能力等级和承载数, 从所述低负载 列表中选择多个吞吐能力等级高且承载量大的 P-GW; According to the resource throughput capability level and number of bearers of the second P-GW, from the low load Select multiple P-GWs with high throughput capabilities and large carrying capacity from the list;
根据与所述 APN对应的运营商在所述选择出的 P -G W上所签约的资源 吞吐量能力等级和承载数, 从选择出的 P-GW中确定一个所述运营商在所 述选择出的 P-GW上签约的资源吞吐量能力等级高且承载数量大的 P-GW; 选择所确定的 P-GW建立 PDN连接。 According to the resource throughput capability level and the number of bearers contracted by the operator corresponding to the APN on the selected P-GW, determine one of the operators from the selected P-GW on the selected P-GW. The P-GW contracted on the P-GW has a high level of resource throughput capability and a large number of bearers; select the determined P-GW to establish a PDN connection.
3、 根据权利要求 2所述的方法, 其特征在于, 所述确定所述 P-GW列 表中未处于高负载状态的所述第二 P-GW组成的低负载 P-GW列表包括: 接收第一消息; 所述第一消息携带处于高负载状态的第三 P-GW 的 P-GW标识和 APN; 3. The method according to claim 2, wherein determining the low-load P-GW list composed of the second P-GW that is not in a high-load state in the P-GW list includes: receiving the second P-GW list that is not in a high-load state. A message; The first message carries the P-GW identification and APN of the third P-GW in a high load state;
根据所述第三 P-GW的 P-GW标识和 APN从所述 P-GW列表中查找对 应的第三 P-GW; Search the corresponding third P-GW from the P-GW list according to the P-GW identification and APN of the third P-GW;
从所述 P-GW列表中, 将所述查找到的第三 P-GW 的 P-GW标识和 P-GW负载能力因子从所述 P-GW列表中删除。 Delete the P-GW identification and P-GW load capacity factor of the found third P-GW from the P-GW list.
4、 根据权利要求 2所述的方法, 其特征在于, 所述确定所述 P-GW列 表中未处于高负载状态的所述第二 P-GW组成的低负载 P-GW列表, 还包 括: 4. The method according to claim 2, wherein the determining a low-load P-GW list composed of the second P-GW in the P-GW list that is not in a high-load state further includes:
接收到的第二消息; 所述第二消息携带需要解除高负载状态的第四 P-GW的 P-GW标识和 APN; The second message received; the second message carries the P-GW identification and APN of the fourth P-GW that needs to be released from the high load state;
根据所述第四 P-GW的 P-GW标识和 APN查找对应的第四 P-GW; 将所述第四 P-GW 的 P-GW标识和 P-GW 负载能力因子添加到所述 P-GW列表中。 Search for the corresponding fourth P-GW according to the P-GW identifier and APN of the fourth P-GW; Add the P-GW identification and P-GW load capability factor of the fourth P-GW to the P-GW list.
5、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 在接收用户设备发送的 PDN连接请求后, 根据所述 PDN连接请求获 取 APN; 5. The method according to claim 1, wherein the method further includes: after receiving the PDN connection request sent by the user equipment, obtaining the APN according to the PDN connection request;
根据所述 APN从 DNS上获取预先配置 P-GW列表; Obtain the pre-configured P-GW list from DNS according to the APN;
根据获取到的 P-GW列表, 选择 P-GW并建立 PDN连接。 According to the obtained P-GW list, select the P-GW and establish a PDN connection.
6、 一种负载均衡的装置, 其特征在于, 所述装置应用于 SAE 系统, 包括: 6. A load balancing device, characterized in that the device is applied to an SAE system, including:
获取模块, 用于在接收用户设备发送的 PDN 连接请求后, 根据所述 PDN连接请求获取接入点名称 APN; An acquisition module, configured to obtain the access point name APN according to the PDN connection request after receiving the PDN connection request sent by the user equipment;
查询模块,用于查询与所述 APN对应的第一 P-GW所组成的 P-GW列 表; 所述 P-GW列表包括所述第一 P-GW的 P-GW标识和 P-GW负载能力 因子, 所述 P-GW负载能力因子包括所述第一 P -GW的资源吞吐量能力等 级和承载数的对应关系,以及,与所述 APN对应的运营商在所述第一 P-GW 上所签约的资源吞吐量能力等级和承载数; Query module, used to query the P-GW list composed of the first P-GW corresponding to the APN; the P-GW list includes the P-GW identification and P-GW load capacity of the first P-GW Factor, the P-GW load capability factor includes the corresponding relationship between the resource throughput capability level and the number of bearers of the first P-GW, and the operator corresponding to the APN on the first P-GW The contracted resource throughput capability level and number of bearers;
连接模块, 用于根据所述 P-GW列表, 选择 P-GW并建立 PDN连接。 A connection module, configured to select a P-GW and establish a PDN connection according to the P-GW list.
7、 根据权利要求 6所述的装置, 其特征在于, 所述连接模块包括: 确定单元,用于确定所述 P-GW列表中未处于高负载状态的第二 P-GW 组成的低负载 P-GW列表; 所述高负载状态是指 P-GW当前的资源承载数 使用量超过告警值的状态, 或者, P-GW 当前的资源承载数使用量未超过 告警值,但与所述 APN对应的运营商在 P-GW上的当前的资源承载数使用 量超过告警值的状态; 7. The device according to claim 6, characterized in that the connection module includes: Determining unit, used to determine a low-load P-GW list composed of a second P-GW that is not in a high-load state in the P-GW list; the high-load state refers to the current resource bearer usage of the P-GW The state of exceeding the alarm value, or the current resource bearer usage of the P-GW does not exceed the alarm value, but the current resource bearer usage of the operator corresponding to the APN on the P-GW exceeds the alarm value. ;
选择单元,用于根据所述第二 P-GW的资源吞吐量能力等级和承载数, 从所述低负载列表中选择多个吞吐能力等级高且承载量大的 P-GW; 根据 与所述 APN对应的运营商在所述选择出的 P-GW上所签约的资源吞吐量能 力等级和承载数, 从选择出的 P-GW中确定一个所述运营商在所述选择出 的 P-GW上签约的资源吞吐量能力等级高且承载数量大的 P-GW; A selection unit configured to select multiple P-GWs with high throughput capability levels and large bearer capacity from the low load list based on the resource throughput capability level and number of bearers of the second P-GW; The resource throughput capability level and number of bearers contracted by the operator on the selected P-GW corresponding to the APN are determined from the selected P-GW. A P-GW with a high resource throughput capability level and a large number of bearers has been contracted;
连接单元, 用于选择所确定的 P-GW建立 PDN连接。 The connection unit is used to select the determined P-GW to establish a PDN connection.
8、 根据权利要求 6所述的装置, 其特征在于, 所述确定单元包括: 接收子单元, 用于接收第一消息; 所述第一消息携带处于高负载状态 的第三 P-GW的 P-GW标识和 APN; 8. The device according to claim 6, wherein the determining unit includes: a receiving subunit, configured to receive a first message; the first message carries the P of the third P-GW in a high load state. -GW logo and APN;
查找子单元, 用于根据所述第三 P-GW的 P-GW标识和 APN从所述 P-GW列表中查找对应的第三 P-GW; A search subunit, configured to search for the corresponding third P-GW from the P-GW list according to the P-GW identification and APN of the third P-GW;
管理子单元, 用于从所述 P-GW列表中, 将所述查找到的第三 P-GW 的 P-GW标识和 P-GW负载能力因子从所述 P-GW列表中删除。 The management subunit is configured to delete the P-GW identifier and the P-GW load capacity factor of the found third P-GW from the P-GW list.
9、 根据权利要求 6所述的装置, 其特征在于, 所述接收子单元, 还用 于接收到的第二消息;所述第二消息携带需要解除高负载状态的第四 P-GW 的 P-GW标识和 APN; 9. The device according to claim 6, characterized in that the receiving subunit also uses Based on the received second message; the second message carries the P-GW identification and APN of the fourth P-GW that needs to be released from the high load state;
查找子单元,还用于根据所述第四 P-GW的 P-GW标识和 APN查找对 应的第四 P-GW; The search subunit is also used to search for the corresponding fourth P-GW according to the P-GW identification and APN of the fourth P-GW;
管理子单元, 还用于将所述第四 P-GW的 P-GW标识和 P-GW负载能 力因子添加到所述 P-GW列表中。 The management subunit is also configured to add the P-GW identification and P-GW load capability factor of the fourth P-GW to the P-GW list.
10、 根据权利要求 1所述的装置, 其特征在于, 所述获取模块, 还用 于在接收用户设备发送的 PDN连接请求后, 根据所述 PDN连接请求获取10. The device according to claim 1, wherein the acquisition module is further configured to obtain the PDN connection request according to the PDN connection request after receiving the PDN connection request sent by the user equipment.
APN; 根据所述 APN从 DNS上获取预先配置 P-GW列表; APN; Obtain the pre-configured P-GW list from DNS according to the APN;
连接模块,还用于根据获取到的 P-GW列表,选择 P-GW并建立 PDN连接。 The connection module is also used to select a P-GW and establish a PDN connection based on the obtained P-GW list.
PCT/CN2013/090396 2013-12-25 2013-12-25 Method and apparatus for load balancing WO2015096051A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/090396 WO2015096051A1 (en) 2013-12-25 2013-12-25 Method and apparatus for load balancing
CN201380002733.2A CN105264856B (en) 2013-12-25 2013-12-25 A kind of method and apparatus of load balancing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/090396 WO2015096051A1 (en) 2013-12-25 2013-12-25 Method and apparatus for load balancing

Publications (1)

Publication Number Publication Date
WO2015096051A1 true WO2015096051A1 (en) 2015-07-02

Family

ID=53477327

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/090396 WO2015096051A1 (en) 2013-12-25 2013-12-25 Method and apparatus for load balancing

Country Status (2)

Country Link
CN (1) CN105264856B (en)
WO (1) WO2015096051A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3200408A1 (en) * 2016-01-29 2017-08-02 Deutsche Telekom AG Method for enhanced load balancing in a mobile communication network, home subscriber server and mobility management entity for enhanced load balancing in a mobile communication network, mobile communication network, program and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1918883A (en) * 2004-02-06 2007-02-21 西门子公司 Method for negotiating bearer properties in ip networks
WO2012136311A1 (en) * 2011-04-05 2012-10-11 Panasonic Corporation Detachment of a mobile terminal from a mobile communication system
CN102917443A (en) * 2012-10-23 2013-02-06 中国联合网络通信集团有限公司 Method and device for selecting gateway and transmitting information, and network system
WO2013176610A1 (en) * 2012-05-24 2013-11-28 Telefonaktiebolaget L M Ericsson (Publ) Peer-to-peer traffic localization

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534497B (en) * 2008-03-10 2010-12-08 大唐移动通信设备有限公司 Method for processing load bearing during packet data network connection and mobile management entity equipment
US8571550B2 (en) * 2009-02-09 2013-10-29 Qualcomm Incorporated Managing access control to closed subscriber groups
CN101990312B (en) * 2009-07-30 2014-03-19 中兴通讯股份有限公司 Connection establishing method of mobile network and system
CN103369510B (en) * 2012-04-10 2016-09-28 中兴通讯股份有限公司 The collocation method of APN information and device
CN102724760A (en) * 2012-06-18 2012-10-10 中兴通讯股份有限公司 Shared resource processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1918883A (en) * 2004-02-06 2007-02-21 西门子公司 Method for negotiating bearer properties in ip networks
WO2012136311A1 (en) * 2011-04-05 2012-10-11 Panasonic Corporation Detachment of a mobile terminal from a mobile communication system
WO2013176610A1 (en) * 2012-05-24 2013-11-28 Telefonaktiebolaget L M Ericsson (Publ) Peer-to-peer traffic localization
CN102917443A (en) * 2012-10-23 2013-02-06 中国联合网络通信集团有限公司 Method and device for selecting gateway and transmitting information, and network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3200408A1 (en) * 2016-01-29 2017-08-02 Deutsche Telekom AG Method for enhanced load balancing in a mobile communication network, home subscriber server and mobility management entity for enhanced load balancing in a mobile communication network, mobile communication network, program and computer program product
US10063483B2 (en) 2016-01-29 2018-08-28 Deutsche Telekom Ag Enhanced load balancing in a mobile communication network

Also Published As

Publication number Publication date
CN105264856A (en) 2016-01-20
CN105264856B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
US11838858B2 (en) System and method for UE context and PDU session context management
CA3151141C (en) Policy control for multiple accesses
US11146986B2 (en) AF initiated always-on PDU session
US20200059761A1 (en) Systems and methods for enabling private communication within a user equipment group
CN110830543B (en) Communication method and communication device
US9456410B2 (en) Method for supporting PDN GW selection
US11172405B2 (en) Method for checking change in wireless connection type of terminal in third-party application server
EP3603208A1 (en) Smf selection based on supported dnn
JP2023500931A (en) Policy-based Access and Mobility Management Function (AMF) selection using Network Slice Selection Assistance Information (NSSAI) availability information
WO2011097911A1 (en) Method, device and system for selecting policy and charging rules function entity
CN114365518B (en) Method for influencing data service route in core network by service application
WO2011054251A1 (en) Method, system and terminal for preventing access from illegal terminals
US9420590B2 (en) Mobile gateway, control method for the same, and radio access network equipped with the same
WO2015096051A1 (en) Method and apparatus for load balancing
WO2013159753A1 (en) Method and device for remote access to local network
WO2013097230A1 (en) Policy control method, device and system
WO2024065793A1 (en) Method and apparatus of selecting a network function of session management
CN106686756B (en) PCC conversation establishing method and system based on position
WO2015054823A1 (en) Method for controlling group to access wireless network and related apparatus
EP3547723B1 (en) Information transmission method and network element selector
WO2020034955A1 (en) Communication method and communication device
JP2023526629A (en) IP address allocation in wireless communication networks
CN116438824A (en) Method, device and system for reallocating core network devices in wireless network

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380002733.2

Country of ref document: CN

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

Ref document number: 13900322

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: 13900322

Country of ref document: EP

Kind code of ref document: A1