WO2011150649A1 - Method and device for reallocating packet data gateway - Google Patents

Method and device for reallocating packet data gateway Download PDF

Info

Publication number
WO2011150649A1
WO2011150649A1 PCT/CN2010/080250 CN2010080250W WO2011150649A1 WO 2011150649 A1 WO2011150649 A1 WO 2011150649A1 CN 2010080250 W CN2010080250 W CN 2010080250W WO 2011150649 A1 WO2011150649 A1 WO 2011150649A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdn connection
attribute
determining
bearer
allows
Prior art date
Application number
PCT/CN2010/080250
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/CN2010/080250 priority Critical patent/WO2011150649A1/en
Priority to CN2010800033700A priority patent/CN102405658B/en
Publication of WO2011150649A1 publication Critical patent/WO2011150649A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a method and apparatus for packet data gateway reallocation.
  • the 3GPP The 3rd Generation Partnership Project
  • EPS Evolution-based Packet System
  • the P-GW Packet Data Network Gateway
  • the P-GW implements the function of the anchor point when the terminal moves, and is responsible for assigning an IP address to the UE (Using Device Equipment, User Equipment). Both the uplink and downlink data packets of the UE are sent through the P-GW.
  • the UE accesses the access network corresponding to the APN (Access Point Name) through the P-GW.
  • APN Access Point Name
  • each access network has a fixed corresponding P-GW, and the UE is connected through the P-GW. After entering the corresponding access network, the P-GW will not be changed. Even when the UE moves from one P-GW service area to another P-GW service area, only the original P-GW can be used. , unable to initiate P-GW redistribution. If the uplink and downlink data paths of the UE are no longer suitable at this time, as the traffic in the mobile packet network increases, the routing path in the packet network will become worse, and the routing efficiency will decrease. Summary of the invention
  • embodiments of the present invention provide a method and apparatus for packet data gateway reallocation.
  • the technical solution is as follows:
  • a method for packet data gateway reallocation comprising:
  • the PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated, triggering the UE to connect through the second P-GW Into the network.
  • a device for reallocating a packet data gateway comprising: a judging module, configured to determine, when the path between the user equipment UE and the first packet data gateway P-GW is changed, whether there is a second P-GW corresponding to the better path, and the UE and the first P- Whether the packet data network PDN connection between the GWs allows the P-GW to be redistributed;
  • a redistribution module configured to: if the determining module determines that there is a second P-GW corresponding to a better path, and the PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated, triggering The UE accesses the network through the second P-GW.
  • the foregoing technical solution provided by the embodiment of the present invention triggers the UE to pass the first step by judging and allowing the P-GW to be re-allocated when the PDN connection between the UE and the first P-GW is allowed to be re-allocated in the presence of the second P-GW corresponding to the better path.
  • the two P-GWs access the network, thereby realizing the redistribution of the P-GW, solving the problem that the prior art cannot perform P-GW redistribution, and optimizing routing in the packet network, thereby improving routing efficiency.
  • FIG. 1 is a schematic diagram of an EPS network architecture according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for reallocating a packet data gateway according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for reallocating a packet data gateway according to Embodiment 2 of the present invention.
  • FIG. 4 is a flowchart of a method for re-allocating a packet data gateway according to Embodiment 3 of the present invention.
  • FIG. 5 is a flowchart of a method for re-allocating a packet data gateway according to Embodiment 4 of the present invention.
  • FIG. 6 is a structural diagram of an apparatus for reallocating a packet data gateway according to Embodiment 5 of the present invention. detailed description
  • the EPS network architecture mainly includes: a UE, an eNodeB (evolved base station), an MME (Mobility Management Entity), and an S-GW (Serving Gateway). And P-GW.
  • the main functions of the eNodeB include layer entities of the air interface, establishment, management and release of control planes and user planes in the user communication process, and partial radio resource management;
  • the MME is responsible for managing the mobility of the UE, S-GW It is a mobility anchor between the local mobility anchor and the 3GPP when the eNodeB switches, and the P-GW implements the anchor function when the terminal moves.
  • the various embodiments are described in detail below based on the EPS network architecture.
  • this embodiment provides a method for packet data gateway reallocation, including: 101: When a path between the UE and the first P-GW is changed, determining whether there is a second P-GW corresponding to the better path, and whether the PDN connection between the UE and the first P-GW allows P- GW redistribution;
  • the UE is triggered to access the network through the second P-GW.
  • the path change between the UE and the first P-GW includes but is not limited to the following:
  • the UE initiates a location update, the access mode of the UE changes, or the S-GW corresponding to the PDN (Packet Data Network) connection between the UE and the first P-GW changes.
  • PDN Packet Data Network
  • the location update of the UE includes: TAU (Tracking Area Update) or RAU (Routing Area Update).
  • UE access modes include: LTE, 3G, WiMax (Worldwide Interoperability for Microwave Access), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access) Multiple access) and so on.
  • the P-GW reallocation attribute refers to an attribute related to the P-GW, which is used to reflect whether P-GW reallocation is allowed, and may be a specific attribute in the form of a P-GW redistribution indication. Pre-configured, it can also be a common attribute.
  • the PDN is used to connect existing attributes to reflect whether P-GW redistribution is allowed. Specifically, including but not limited to at least one of the following:
  • the obtaining the P-GW redistribution attribute may specifically include at least one of the following:
  • the APN attribute of the PDN connection includes, but is not limited to, a P-GW reallocation indication in the APN attribute of the PDN connection, where the content of the indication is to allow the P-GW to be re-allocated or not to be re-allocated by the P-GW; or, the PDN connection
  • the embodiment of the present invention does not specifically limit whether the LBO (Local Breakout) is allowed in the APN attribute, whether the current APN is an emergency APN or the like.
  • the data service status of the PDN connection includes: Idle state (IDLE) or non-idle state.
  • the attributes carried in the PDN connection include, but are not limited to, a P-GW reallocation indication in the attributes carried in the PDN connection, the content of the indication is to allow the P-GW to be re-allocated or not allowed to be re-allocated by the P-GW; or, the PDN connection
  • the current bearer in the attribute carried in is the GBR (Guaranteed BitRate) bearer or Non-GBR (non-guaranteed bit rate)
  • GBR Guard BitRate
  • Non-GBR non-guaranteed bit rate
  • the foregoing method provided in this embodiment is generally performed by a network side, and may be performed by a single device, or may be performed by an existing device in the network side that integrates the foregoing functions, such as MME, S- in a 3GPP network.
  • the embodiment of the present invention does not specifically limit the GW, the P-GW, the eNobeB, and the like.
  • this embodiment provides a method for re-allocating a packet data gateway, and the obtained P-GW redistribution attribute includes an APN attribute and a data service attribute as an example.
  • the method specifically includes:
  • a better path means that the path between the UE and the second P-GW is better than the path between the UE and the first P-GW. Comparing the two paths can be implemented by using existing methods, such as querying a mapping table in which P-GW and path information are saved, and comparing the parameters to determine a better path and a corresponding P-GW. Do not describe too much about this.
  • the APN attribute of the PDN connection can be obtained from the user subscription database, such as the HSS (Home Subscriber Server). Specifically, the APN attribute of the PDN connection may be transmitted on an interface between the device performing the method and the user subscription database, such as extending a specific APN for P-GW reallocation on the S6 interface between the MME and the HSS. Attributes, such as P-GW Allocation Allowed, etc., are not specifically limited in this embodiment of the present invention.
  • the acquired APN attribute includes a P-GW reallocation indication, and the indication is to allow the P-GW to be reassigned, and if yes, determining that the PDN connection allows the P-GW to be reassigned, if the indication is not allowed P - GW re-allocation, then it is determined that the PDN connection does not allow P-GW to redistribute; or 2) determining whether the LBO is allowed in the acquired APN attribute, if the LBO is allowed, determining that the PDN connection allows the P-GW to be re-allocated, and if the LBO is not allowed, determining that the PDN connection does not allow the P-GW to be re-allocated; or
  • the emergency APN refers to the access network corresponding to the APN used for emergency services.
  • the emergency services have strict delay requirements. Therefore, the emergency APN does not allow the P-GW to be redistributed.
  • the APN attribute in this embodiment may be user granularity or network granularity.
  • User granularity means that an APN attribute is set for each user in the same APN network.
  • the APN attributes may be the same or different. Therefore, different users in the same APN network may have different APN attributes.
  • the user APN attribute allows the P-GW to be reassigned, and some user APN attributes do not allow the P-GW to be reassigned.
  • Network granularity means that an APN attribute is set for each APN network. Therefore, all users in the same APN network have the same APN attribute of P-GW redistribution.
  • the UE can be obtained whether the UE is in an idle state, or is obtained by the S-GW or the eNodeB reporting the data service status of the PDN connection.
  • the idle state of the data service refers to a state in which the UE is idle and has no service. Therefore, the P-GW can be allowed to be redistributed so as not to have any impact on the service.
  • the steps 202 to 203 and 204 to 205 may be reversed, or may be performed simultaneously. Of course, only 202 to 203 may be performed, or only 204 to 205 may be performed. In addition, it is determined whether there is a better path corresponding to The second P-GW, and the sequence of determining whether the PDN connection is allowed to be re-allocated by the P-GW may also be reversed, or may be performed at the same time, which is not specifically limited in this embodiment of the present invention.
  • the foregoing method provided in this embodiment obtains an APN attribute about a P-GW reallocation, and a data service status genus And determining, when determining that the PDN connection allows the P-GW to be re-allocated and there is a second P-GW corresponding to the better path, triggering the UE to access the network through the second P-GW, thereby implementing P-
  • the redistribution of the GW solves the problem that the prior art cannot perform P-GW redistribution, and optimizes the routing in the packet network, thereby improving routing efficiency.
  • this embodiment provides a method for re-allocating a packet data gateway, and the obtained P-GW redistribution attribute includes an APN attribute and a bearer attribute as an example.
  • the method includes:
  • 301 to 303 The same as 201 to 203 in Embodiment 2, and details are not described herein again.
  • the bearer on the PDN connection may be one or more, and may include: a default bearer or a dedicated bearer.
  • the attributes carried in the PDN connection are usually obtained during the establishment of the bearer. If the bearer has been established before the step, the obtaining in this step refers to reading the bearer attribute that has been obtained in the bearer establishment process.
  • the default bearer can be obtained from the user subscription database, such as from the HSS.
  • the bearer attribute of the PDN connection may be transmitted on an interface between the device performing the method and the user subscription database, such as extending a specific attribute on the S6 interface between the MME and the HSS as indicating P-GW reallocation. Attributes hosted in PDN connections, such as Bearer Disconnection Allowed
  • the bearer attribute can be either AF (Application Function) or PCRF (Policy)
  • the Charging Rule Function is configured according to the service type and can be configured on different devices. For example, for the emergency service, the configuration of the bearer attribute is not allowed to be re-allocated by the P-GW. For the voice service, the configuration of the bearer attribute is not Allow P-GW to redistribute. For common Internet services, configure bearer attributes to allow P-GW to redistribute and so on.
  • the bearer attribute needs to be transmitted on the interface of the device performing the method and the device storing the bearer attribute, such as the S11 interface between the MME and the S-GW, in the S-GW and the P -
  • the bearer attribute such as the S11 interface between the MME and the S-GW, in the S-GW and the P -
  • the S5/S8 interface between the GWs, and the Gxx series interface between the GW and the PCRF extending and passing a specific bearer attribute indicating the P-GW reallocation, such as Bearer Disconnection Allowed, indicating that the bearer is allowed to be initiated.
  • P-GW is redistributed.
  • determining whether all bearers on the PDN connection allow P-GW reallocation including:
  • the steps 302 to 303 and the steps 304 to 305 may be reversed, or may be performed simultaneously. Of course, only 302 to 303 may be performed, or only 304 to 305 may be performed. In addition, it is determined whether there is a better path corresponding to the path.
  • the second P-GW, and the sequence of determining whether the PDN connection is allowed to be re-allocated by the P-GW may also be reversed, or may be performed at the same time, which is not specifically limited in this embodiment of the present invention.
  • the foregoing method provided in this embodiment obtains the APN attribute about the P-GW reallocation, and the bearer attribute, and performs corresponding judgment, and determines that the PDN connection allows the P-GW to be redistributed and the second path corresponding to the better path exists.
  • the UE is triggered to access the network through the second P-GW, thereby realizing the redistribution of the P-GW, solving the problem that the prior art cannot perform P-GW redistribution, and making the routing in the packet network more complete. Optimization, improved routing efficiency.
  • the APN attribute and the bearer attribute are used for judgment, which greatly reduces the impact of P-GW redistribution on the service, and avoids P-GW redistribution for inappropriate PDN connection. Or initiate P-GW redistribution at an inappropriate time, greatly improving the user experience.
  • the steps of the triggering UE to access the network by using the second P-GW in the foregoing Embodiments 1 to 3 may specifically include: notifying the UE that the P-GW can be redistributed;
  • the UE After receiving the notification, the UE deletes the PDN connection with the first P-GW;
  • the UE establishes a new PDN connection with the second P-GW, and if there is a service on the deleted PDN connection, the service is restored to the new PDN connection.
  • a 3GPP network is taken as an example, and the process of P-GW redistribution in the foregoing Embodiments 1 to 3 is specifically described. Referring to FIG. 5, the process specifically includes:
  • the UE initiates a location update process, and a path between the UE and the P-GW1 changes.
  • the location update process is a TAU process
  • the location update process is a RAU process
  • the MME receives the corresponding location update request.
  • the MME determines that there is a P-GW2 corresponding to the preferred path, obtains a P-GW reallocation attribute, and determines whether to allow P-GW reallocation according to the P-GW reallocation attribute, and the result of the determination is that P- is allowed. GW redistribution.
  • the MME may adopt any one of Embodiments 1 to 3 to determine whether P-GW re-allocation is allowed.
  • the MME sends a P-GW re-allocation indication to the UE.
  • the MME may send a separate notification message to the UE, or notify the UE by using a response message of the TAU/RAU, which is not specifically limited in this embodiment of the present invention.
  • the UE After receiving the indication from the MME, the UE notifies the upper-layer application that the current PDN connection is about to be interrupted, and the upper-layer application can perform corresponding processing.
  • the UE deletes the PDN connection between the current and the P-GW1.
  • the UE establishes a new PDN connection with the P-GW2.
  • the UE restores the service to the new PDN connection between the UE and the P-GW2. If no service exists, the step may be omitted. End.
  • the foregoing method provided by the embodiment triggers the UE to delete the P-GW by acquiring the P-GW redistribution attribute and performing the corresponding judgment, and when determining that the P-GW is allowed to be re-allocated and there is a second P-GW corresponding to the better path.
  • - PDN connection between GW1, establishing a PDN connection with P-GW2, thereby realizing P-GW redistribution, solving the problem that the prior art cannot perform P-GW redistribution, and making the packet network Routes are optimized to improve routing efficiency.
  • the PDN connection initiates P-GW redistribution or initiates P-GW reallocation at an inappropriate time, greatly improving the user experience.
  • This embodiment provides the application of the foregoing embodiments 1 to 4 in different scenarios.
  • the P-GW is redistributed according to the APN attribute, and the process specifically includes:
  • S11 Users in Shanghai have their UEs attached in Shanghai, and a PDN connection is established between them and P-GW1 through an APN1.
  • the MME obtains the APN attribute of the APN1 from the HSS; the APN is used to carry the normal IMS service, and the LBO is not allowed;
  • S12 The user takes a train from Shanghai to Beijing. After the train starts, the user initiates a voice call through the IMS service;
  • S13 The train drives to Suzhou, and the UE initiates a handover and location update process;
  • S14 The MME receives the TAU request of the UE, and determines whether there is a better P-GW for consideration of route optimization.
  • S15 The MME determines that there is a better P-GW2, and determines whether the PDN connection 1 is allowed to initiate P-GW re-allocation according to the APN attribute. Since the APN1 does not allow the LBO, the MME can determine that the P-GW is not currently allowed to be initiated. Redistribution
  • S17 The UE moves to Nanjing again, and the UE initiates a handover and location update process; the MME receives the TAU request, and determines whether there is a better P-GW3 due to route optimization considerations;
  • the MME determines, according to the APN attribute of the APN2, whether the current PDN connection 2 is allowed to initiate the P-GW re-allocation. Since the APN for the Internet service can initiate the P-GW re-allocation, the MME initiates the P-GW for the PDN connection 2. The process of redistributing, deleting the PDN connection 2 between the UE and the P-GW2, establishing the PDN connection 3 between the UE and the P-GW3, and restoring the Internet service on the PDN connection 2 to the newly created PDN connection 3, the process End.
  • the following is a second scenario, which combines APN attributes and bearer attributes to determine P-GW redistribution.
  • the process specifically includes:
  • S21 The user of Shanghai has its UE attached in Shanghai, and a PDN connection is established between the APN1 and the P-GW1.
  • the MME obtains the APN attribute of the APM and the PDN connection from the HSS.
  • the attributes carried by the province are all allowed to initiate P-GW redistribution;
  • the user takes a train from Shanghai to Beijing. After the train starts, the user initiates a voice call, and the voice call establishes a dedicated bearer, which is used for signaling and media at the same time.
  • the MME obtains the P-GW reallocation attribute of the dedicated bearer from the PCRF to not allow the P-GW to be reassigned.
  • the MME may also obtain the attribute of the dedicated bearer from the service information of the PCRF, for example, the service on the dedicated bearer is For emergency services, the dedicated bearer does not allow P-GW to be redistributed;
  • the MME receives the TAU request, and determines that there is a better P-GW2 for route optimization.
  • the MME determines, according to the APN attribute, that the P-GW re-allocation is allowed to be initiated, but because the dedicated bearer of the emergency service exists, the MME determines that the P-GW redistribution is not initiated.
  • the UE initiates the periodic TAIL MME to determine whether all the bearers on the PDN connection are allowed to initiate the P-GW re-allocation. Since the PDN connection has only the default bearer, and the default bearer allows the P-GW to be re-allocated, therefore, The MME initiates a P-GW redistribution process, which is the same as that in the foregoing embodiment, and details are not described herein again.
  • the following is the third scenario, which combines APN attributes, data service status, and bearer attributes to determine P-GW redistribution.
  • the process specifically includes:
  • S31 The user of Shanghai has its UE attached in Shanghai, and establishes a PDN connection with P-GW1 through an APN.
  • the MME obtains the P-GW redistribution attribute of the APN and the default bearer from the HSS.
  • the APN allows the P-GW to be re-allocated.
  • the default bearer allows the P-GW to be re-allocated in the case of traffic and no traffic.
  • S32 The user takes the train from Shanghai to Beijing; after the train starts, the user initiates the voice. The call, the voice call establishes a dedicated bearer, and the dedicated bearer is used for both signaling and media.
  • the MME obtains the P-GW reallocation attribute of the proprietary bearer from the PCRF.
  • the dedicated bearer does not allow to initiate P-GW reallocation in the case of traffic, and allows P-GW redistribution to be initiated without traffic;
  • S33 The train drives to Suzhou, and the UE initiates a handover and location update process
  • S34 The MME receives the TAU request, and determines that there is a better P-GW2 for route optimization.
  • the MME determines, according to the foregoing APN attribute, that the P-GW re-allocation is allowed to be initiated, and determines whether all the bearers on the PDN connection allow the P-GW to be re-allocated, because the dedicated bearer of the voice call exists, and the dedicated bearer is In the case of traffic, P-GW re-allocation is not allowed to be initiated, so the MME determines not to initiate P-GW reallocation;
  • the UE initiates a periodic TAIL MME to determine whether all bearers on the current PDN connection are allowed to initiate P-GW re-allocation, because the default bearer on the PDN connection has traffic, and the default bearer is allowed in the case of traffic. Initiating a P-GW re-allocation, the dedicated bearer on the PDN connection has no traffic, and the dedicated bearer allows the P-GW to be re-allocated without traffic. Therefore, the MME initiates a P-GW reallocation process, specifically The descriptions in the above embodiments are not described herein again.
  • this embodiment provides a device for reallocating a packet data gateway, including:
  • the determining module 501 is configured to determine, when the path between the UE and the first P-GW changes, whether there is a second P-GW corresponding to the better path, and a PDN connection between the UE and the first P-GW Whether to allow P-GW to redistribute;
  • the redistribution module 502 is configured to: if the determining module 501 determines that there is a second P-GW corresponding to the better path, and the PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated, triggering the UE to pass The second P-GW accesses the network.
  • the path change between the UE and the first P-GW includes:
  • the UE initiates a location update, a change in the access mode of the UE, or a packet data network PDN between the UE and the first P-GW.
  • the connection of the corresponding service gateway S-GW is changed, which is specifically described in the method embodiment.
  • the determining module 501 can include:
  • An obtaining unit configured to acquire a P-GW reallocation attribute of a PDN between the UE and the first P-GW;
  • a determining unit configured to determine, according to the P-GW reallocation attribute, whether the PDN connection allows P-GW to be reassigned.
  • the obtaining unit may include at least one of the following obtaining subunits:
  • a second obtaining subunit configured to acquire a data service state of the foregoing PDN connection
  • the third obtaining subunit is configured to obtain an attribute carried in the PDN connection.
  • the determining unit may include:
  • a first determining sub-unit configured to determine whether the acquired APN attribute includes a P-GW re-allocation indication, and the indication is to allow the P-GW to be re-allocated, and if yes, determining that the PDN connection allows the P-GW to be re-allocated; or ,
  • a second determining sub-unit configured to determine whether the local LBO is allowed in the acquired APN attribute, and if yes, determining that the PDN connection allows the P-GW to be redistributed;
  • the third determining subunit is configured to determine, according to the acquired APN attribute, whether the current APN is an emergency APN, and if not, determine that the PDN connection allows the P-GW to be reassigned.
  • the determining unit may include:
  • the fourth determining subunit is configured to determine whether the data service status of the acquired PDN connection is an idle state, and if yes, determine that the PDN connection allows the P-GW to be reassigned.
  • the determining unit may include:
  • the fifth determining sub-unit is configured to determine, according to the attributes carried in the obtained PDN connection, whether the bearer on the PDN connection allows the P-GW to be re-allocated, and if yes, determine that the PDN connection allows the P-GW to be re-allocated.
  • the above fifth determining subunit may be specifically used for:
  • the bearer of each of the bearers may be determined by using the method determined by the fifth determining subunit, and details are not described herein again.
  • the redistribution module 502 can include: And a redistribution unit, configured to notify the UE to perform re-allocation of the P-GW, so that after receiving the notification, the UE deletes the PDN connection with the first P-GW, and establishes a PDN connection with the second P-GW.
  • the redistribution unit may be further configured to: if there is a service on the PDN connection between the deleted UE and the first P-GW, restore the service to the PDN connection between the UE and the second P-GW. .
  • the foregoing apparatus provided by this embodiment may be integrated in an existing device on the network side, such as an MME, an eNodeB, an S-GW,
  • the P-GW and the like may also be integrated into a single device, which is not specifically limited in this embodiment of the present invention.
  • the foregoing apparatus obtains a P-GW redistribution attribute and performs corresponding judgment, and determines that a PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated and that there is a better path corresponding to the P-GW.
  • the UE is triggered to access the network through the second P-GW, thereby realizing the redistribution of the P-GW, solving the problem that the prior art cannot perform P-GW reallocation, and making the packet network Routes are optimized to improve routing efficiency.
  • the PDN connection initiates a P-GW reallocation or initiates a P-GW reallocation at an inappropriate time, greatly improving the user experience.
  • the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
  • the storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

A method and device for reallocating packet data gateway are provided in the present invention, and relate to a mobile communication technical field. The method includes: when the path between a User Equipment (UE) and a first P-GW is changed, judging whether there is a second P-GW corresponding to a more optimized path or not, and whether the PDN connection between the UE and the first P-GW permits P-GW reallocation(101); if there is the second P-GW, and the PDN connection permits P-GW reallocation, triggering the UE to access a network through the second P-GW(102). The device includes: a judgement module and a reallocation module. The present invention can realize the P-GW reallocation, and more optimize the route in a packet network, improve the route effect by triggering UE to access the network through the second P-GW when there is the second P-GW corresponding to the more optimized path, and the PDN connection between the UE and the first P-GW permits P-GW reallocation.

Description

分组数据网关重分配的方法和装置 技术领域  Method and apparatus for packet data gateway redistribution
本发明涉及移动通信技术领域, 特别涉及一种分组数据网关重分配的方法和装置。 背景技术 说  The present invention relates to the field of mobile communication technologies, and in particular, to a method and apparatus for packet data gateway reallocation. Background art
3GPP (The 3rd Generation Partnership Project, 第三代伙伴计划) 在 LTE (Long Term Evolution,长期演进计划)的指导下定义了新的移动通信网络的架构,称为 EPS(Evolved Packet System, 演进的分组网络)。 在 EPS网络中, P-GW (Packet Data Network Gateway, 分组数据 网关)实现了终端移动时锚点的功能, 负责为 UE (Us书er Equipment, 用户设备)分配 IP地址。 对于 UE的上行和下行数据报文, 均通过 P-GW发送。  The 3GPP (The 3rd Generation Partnership Project) defines the architecture of a new mobile communication network under the guidance of LTE (Long Term Evolution), called EPS (Evolved Packet System). ). In the EPS network, the P-GW (Packet Data Network Gateway) implements the function of the anchor point when the terminal moves, and is responsible for assigning an IP address to the UE (Using Device Equipment, User Equipment). Both the uplink and downlink data packets of the UE are sent through the P-GW.
现有技术中, UE通过 P-GW接入 APN (Access Point Name, 接入点名称) 对应的接入 网络, 通常每个接入网络都有固定对应的 P-GW, UE通过 P-GW接入对应的接入网络后, 就 不会再更改 P-GW, 即使当 UE从一个 P-GW服务的区域移动到另外一个 P-GW服务的区域 时, 也只能使用原有的 P-GW, 无法发起 P-GW的重分配。 如果此时 UE的上行和下行数据 路径已不再适合, 则随着移动分组网络中流量的增加, 分组网络中的路由路径将变得恶化, 路由效率将降低。 发明内容  In the prior art, the UE accesses the access network corresponding to the APN (Access Point Name) through the P-GW. Generally, each access network has a fixed corresponding P-GW, and the UE is connected through the P-GW. After entering the corresponding access network, the P-GW will not be changed. Even when the UE moves from one P-GW service area to another P-GW service area, only the original P-GW can be used. , unable to initiate P-GW redistribution. If the uplink and downlink data paths of the UE are no longer suitable at this time, as the traffic in the mobile packet network increases, the routing path in the packet network will become worse, and the routing efficiency will decrease. Summary of the invention
为了解决现有技术的问题,本发明实施例提供了一种分组数据网关重分配的方法和装置。 所述技术方案如下:  In order to solve the problems in the prior art, embodiments of the present invention provide a method and apparatus for packet data gateway reallocation. The technical solution is as follows:
一种分组数据网关重分配的方法, 所述方法包括:  A method for packet data gateway reallocation, the method comprising:
当用户设备 UE与第一分组数据网关 P-GW之间的路径发生改变时, 判断是否存在更优 的路径对应的第二 P-GW, 以及所述 UE与第一 P-GW之间的分组数据网 PDN连接是否允许 P-GW重分配;  When the path between the user equipment UE and the first packet data gateway P-GW is changed, it is determined whether there is a second P-GW corresponding to the better path, and the group between the UE and the first P-GW Whether the data network PDN connection allows the P-GW to be redistributed;
如果存在更优的路径对应的第二 P-GW, 且所述 UE与第一 P-GW之间的 PDN连接允许 P-GW重分配, 则触发所述 UE通过所述第二 P-GW接入网络。  If there is a second P-GW corresponding to the better path, and the PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated, triggering the UE to connect through the second P-GW Into the network.
一种分组数据网关重分配的装置, 所述装置包括: 判断模块, 用于当用户设备 UE与第一分组数据网关 P-GW之间的路径发生改变时, 判 断是否存在更优的路径对应的第二 P-GW,以及所述 UE与第一 P-GW之间的分组数据网 PDN 连接是否允许 P-GW重分配; A device for reallocating a packet data gateway, the device comprising: a judging module, configured to determine, when the path between the user equipment UE and the first packet data gateway P-GW is changed, whether there is a second P-GW corresponding to the better path, and the UE and the first P- Whether the packet data network PDN connection between the GWs allows the P-GW to be redistributed;
重分配模块, 用于如果所述判断模块判断出存在更优的路径对应的第二 P-GW, 且所述 UE与第一 P-GW之间的 PDN连接允许 P-GW重分配, 则触发所述 UE通过所述第二 P-GW 接入网络。  a redistribution module, configured to: if the determining module determines that there is a second P-GW corresponding to a better path, and the PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated, triggering The UE accesses the network through the second P-GW.
本发明实施例提供的上述技术方案通过判断并在存在更优的路径对应的第二 P-GW 且 UE与第一 P-GW之间的 PDN连接允许 P-GW重分配时,触发 UE通过第二 P-GW接入网络, 从而实现了 P-GW的重分配, 解决了现有技术无法进行 P-GW重分配的问题, 并且使得分组 网络中的路由更加优化, 提高了路由效率。 附图说明  The foregoing technical solution provided by the embodiment of the present invention triggers the UE to pass the first step by judging and allowing the P-GW to be re-allocated when the PDN connection between the UE and the first P-GW is allowed to be re-allocated in the presence of the second P-GW corresponding to the better path. The two P-GWs access the network, thereby realizing the redistribution of the P-GW, solving the problem that the prior art cannot perform P-GW redistribution, and optimizing routing in the packet network, thereby improving routing efficiency. DRAWINGS
图 1是本发明实施例提供的 EPS网络架构示意图;  1 is a schematic diagram of an EPS network architecture according to an embodiment of the present invention;
图 2是本发明实施例 1提供的分组数据网关重分配的方法流程图;  2 is a flowchart of a method for reallocating a packet data gateway according to Embodiment 1 of the present invention;
图 3是本发明实施例 2提供的分组数据网关重分配的方法流程图;  3 is a flowchart of a method for reallocating a packet data gateway according to Embodiment 2 of the present invention;
图 4是本发明实施例 3提供的分组数据网关重分配的方法流程图;  4 is a flowchart of a method for re-allocating a packet data gateway according to Embodiment 3 of the present invention;
图 5是本发明实施例 4提供的分组数据网关重分配的方法流程图;  5 is a flowchart of a method for re-allocating a packet data gateway according to Embodiment 4 of the present invention;
图 6是本发明实施例 5提供的分组数据网关重分配的装置结构图。 具体实施方式  6 is a structural diagram of an apparatus for reallocating a packet data gateway according to Embodiment 5 of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作进 一步地详细描述。  In order to make the objects, the technical solutions and the advantages of the present invention more apparent, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例涉及 EPS网络架构, 参见图 1, EPS网络架构主要包括: UE、 eNodeB (演 进的基站)、 MME (Mobility Management Entity, 移动性管理实体)、 S-GW ( Serving Gateway, 服务网关)和 P-GW。 其中, eNodeB的主要功能包括空中接口的各层实体, 用户通信过程中 的控制面和用户面的建立、 管理和释放, 以及部分无线资源管理; MME负责对 UE的移动 性进行管理, S-GW是 eNodeB之间切换时的本地移动性锚点和 3GPP之间的移动性锚点, P-GW实现了终端移动时锚点的功能。 下面基于 EPS网络架构详细介绍各个实施例。  The embodiment of the present invention relates to an EPS network architecture. Referring to FIG. 1, the EPS network architecture mainly includes: a UE, an eNodeB (evolved base station), an MME (Mobility Management Entity), and an S-GW (Serving Gateway). And P-GW. The main functions of the eNodeB include layer entities of the air interface, establishment, management and release of control planes and user planes in the user communication process, and partial radio resource management; the MME is responsible for managing the mobility of the UE, S-GW It is a mobility anchor between the local mobility anchor and the 3GPP when the eNodeB switches, and the P-GW implements the anchor function when the terminal moves. The various embodiments are described in detail below based on the EPS network architecture.
实施例 1  Example 1
参见图 2, 本实施例提供了一种分组数据网关重分配的方法, 包括: 101: 当 UE与第一 P-GW之间的路径发生改变时, 判断是否存在更优的路径对应的第二 P-GW, 以及 UE与第一 P-GW之间的 PDN连接是否允许 P-GW重分配; Referring to FIG. 2, this embodiment provides a method for packet data gateway reallocation, including: 101: When a path between the UE and the first P-GW is changed, determining whether there is a second P-GW corresponding to the better path, and whether the PDN connection between the UE and the first P-GW allows P- GW redistribution;
102: 如果存在更优的路径对应的第二 P-GW, 且 UE与第一 P-GW之间的 PDN连接允 许 P-GW重分配, 则触发 UE通过第二 P-GW接入网络。  102: If there is a second P-GW corresponding to the better path, and the PDN connection between the UE and the first P-GW allows the P-GW to be reassigned, the UE is triggered to access the network through the second P-GW.
本实施例中, UE与第一 P-GW之间的路径发生改变包括但不限于以下几种:  In this embodiment, the path change between the UE and the first P-GW includes but is not limited to the following:
UE发起位置更新、UE的接入方式发生改变或 UE与第一 P-GW之间的 PDN(Packet Data Network, 分组数据网) 连接对应的 S-GW发生改变。  The UE initiates a location update, the access mode of the UE changes, or the S-GW corresponding to the PDN (Packet Data Network) connection between the UE and the first P-GW changes.
其中, UE的位置更新包括: TAU (Tracking Area Update, 跟踪区更新)或 RAU (Routing Area Update,路由区更新)。 UE的接入方式包括: LTE、 3G、 WiMax ( Worldwide Interoperability for Microwave Access, 全球微波互联接入)、 CDMA (Code Division Multiple Access, 码分多 址)、 WCDMA (Wideband Code Division Multiple Access, 宽带码分多址) 等等。  The location update of the UE includes: TAU (Tracking Area Update) or RAU (Routing Area Update). UE access modes include: LTE, 3G, WiMax (Worldwide Interoperability for Microwave Access), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access) Multiple access) and so on.
本实施例中, P-GW重分配属性是指与 P-GW相关的属性,用来反映是否允许进行 P-GW 重分配, 它可以是一个特定的属性, 以 P-GW重分配指示的形式预先配置好, 也可以是一个 通用的属性, 用 PDN连接已有的属性来反映是否允许进行 P-GW重分配, 具体地, 包括但不 限于下列中的至少一种:  In this embodiment, the P-GW reallocation attribute refers to an attribute related to the P-GW, which is used to reflect whether P-GW reallocation is allowed, and may be a specific attribute in the form of a P-GW redistribution indication. Pre-configured, it can also be a common attribute. The PDN is used to connect existing attributes to reflect whether P-GW redistribution is allowed. Specifically, including but not limited to at least one of the following:
UE与第一 P-GW之间的 PDN连接的 APN属性;  APN attribute of the PDN connection between the UE and the first P-GW;
PDN连接的数据业务状态; 和  Data service status of the PDN connection; and
PDN连接中承载的属性。  The attributes carried in the PDN connection.
因此, 上述获取 P-GW重分配属性, 可以具体包括下列中的至少一种:  Therefore, the obtaining the P-GW redistribution attribute may specifically include at least one of the following:
获取 UE与第一 P-GW之间的 PDN连接的 APN属性;  Obtaining an APN attribute of a PDN connection between the UE and the first P-GW;
获取 PDN连接的数据业务状态; 和  Obtain the data service status of the PDN connection; and
获取 PDN连接中承载的属性。  Get the attributes carried in the PDN connection.
其中, PDN连接的 APN属性包括但不限于: PDN连接的 APN属性中的 P-GW重分配指 示, 该指示的内容为允许 P-GW重分配或者不允许 P-GW重分配; 或者, PDN连接的 APN 属性中的是否允许 LBO (Local Breakout, 本地疏导)、 当前 APN是否为紧急 APN等等, 本 发明实施例对此不做具体限定。  The APN attribute of the PDN connection includes, but is not limited to, a P-GW reallocation indication in the APN attribute of the PDN connection, where the content of the indication is to allow the P-GW to be re-allocated or not to be re-allocated by the P-GW; or, the PDN connection The embodiment of the present invention does not specifically limit whether the LBO (Local Breakout) is allowed in the APN attribute, whether the current APN is an emergency APN or the like.
PDN连接的数据业务状态包括: 空闲状态 (IDLE) 或非空闲状态。  The data service status of the PDN connection includes: Idle state (IDLE) or non-idle state.
PDN连接中承载的属性包括但不限于: PDN连接中承载的属性中的 P-GW重分配指示, 该指示的内容为允许 P-GW重分配或者不允许 P-GW重分配; 或者, PDN连接中承载的属性 中的当前承载是 GBR (Guaranteed BitRate, 保证比特率) 承载或 Non-GBR (非保证比特率) 承载等等, 本发明实施例对此不做具体限定。 The attributes carried in the PDN connection include, but are not limited to, a P-GW reallocation indication in the attributes carried in the PDN connection, the content of the indication is to allow the P-GW to be re-allocated or not allowed to be re-allocated by the P-GW; or, the PDN connection The current bearer in the attribute carried in is the GBR (Guaranteed BitRate) bearer or Non-GBR (non-guaranteed bit rate) The bearer and the like are not specifically limited in this embodiment of the present invention.
本实施例提供的上述方法通常是由网络侧执行的, 可以由一台单独的设备来执行, 也可 以由网络侧中集成上述功能的现有设备来执行, 如 3GPP网络中的 MME、 S-GW、 P-GW或 eNobeB等等, 本发明实施例对此不做具体限定。  The foregoing method provided in this embodiment is generally performed by a network side, and may be performed by a single device, or may be performed by an existing device in the network side that integrates the foregoing functions, such as MME, S- in a 3GPP network. The embodiment of the present invention does not specifically limit the GW, the P-GW, the eNobeB, and the like.
本实施例提供的上述方法通过判断并在存在更优的路径对应的第二 P-GW且 UE与第一 The foregoing method provided by this embodiment determines that the second P-GW corresponding to the better path exists and the UE and the first
P-GW之间的 PDN连接允许 P-GW重分配时, 触发 UE通过第二 P-GW接入网络, 从而实现 了 P-GW的重分配, 解决了现有技术无法进行 P-GW重分配的问题, 并且使得分组网络中的 路由更加优化, 提高了路由效率。 实施例 2 When the PDN connection between the P-GWs allows the P-GW to be reassigned, the UE is triggered to access the network through the second P-GW, thereby realizing the redistribution of the P-GW, and the P-GW redistribution cannot be performed in the prior art. The problem, and the routing in the packet network is more optimized, improving routing efficiency. Example 2
参见图 3, 本实施例提供了一种分组数据网关重分配的方法, 以获取的 P-GW重分配属 性包括 APN属性和数据业务属性为例进行说明, 该方法具体包括:  Referring to FIG. 3, this embodiment provides a method for re-allocating a packet data gateway, and the obtained P-GW redistribution attribute includes an APN attribute and a data service attribute as an example. The method specifically includes:
201: 当 UE与第一 P-GW之间的路径发生改变时, 判断是否存在更优的路径对应的第二 P-GW, 如果是, 则执行 202; 否则, 流程结束。  201: When the path between the UE and the first P-GW is changed, determine whether there is a second P-GW corresponding to the better path, and if yes, execute 202; otherwise, the process ends.
其中, UE与第一 P-GW之间的路径发生改变与实施例 1中的描述相同, 此处不再赘述。 本实施例中, 更优的路径是指 UE到第二 P-GW之间的路径比 UE到第一 P-GW之间的 路径更优。 比较两条路径哪个更优可以采用现有的手段来实现, 如查询保存有 P-GW以及路 径信息的映射表, 比较其中的参数从而确定更优的路径以及对应的 P-GW, 本实施例对此不 做过多描述。  The path change between the UE and the first P-GW is the same as that described in Embodiment 1, and details are not described herein again. In this embodiment, a better path means that the path between the UE and the second P-GW is better than the path between the UE and the first P-GW. Comparing the two paths can be implemented by using existing methods, such as querying a mapping table in which P-GW and path information are saved, and comparing the parameters to determine a better path and a corresponding P-GW. Do not describe too much about this.
202: 获取 UE与第一 P-GW之间的 PDN连接的 APN属性。  202: Obtain an APN attribute of a PDN connection between the UE and the first P-GW.
其中,可以从用户签约数据库, 如 HSS (Home Subscriber Server, 归属签约用户服务器), 获得 PDN连接的 APN属性。 具体地, 可以在执行本方法的设备和用户签约数据库之间的接 口上传递 PDN连接的 APN属性, 如在 MME和 HSS之间的 S6接口上扩展一个特定的用于 P-GW重分配的 APN属性,如 P-GW Allocation Allowed等,本发明实施例对此不做具体限定。  The APN attribute of the PDN connection can be obtained from the user subscription database, such as the HSS (Home Subscriber Server). Specifically, the APN attribute of the PDN connection may be transmitted on an interface between the device performing the method and the user subscription database, such as extending a specific APN for P-GW reallocation on the S6 interface between the MME and the HSS. Attributes, such as P-GW Allocation Allowed, etc., are not specifically limited in this embodiment of the present invention.
203: 根据该 APN属性, 判断上述 PDN连接是否允许 P-GW重分配, 如果是, 则执行 203: Determine, according to the APN attribute, whether the PDN connection allows P-GW to be re-allocated, and if yes, execute
204; 否则, 流程结束。 204; Otherwise, the process ends.
根据该 APN属性, 判断上述 PDN连接是否允许 P-GW重分配, 可以具体如下:  According to the APN attribute, it is determined whether the PDN connection allows the P-GW to be re-allocated, as follows:
1 )判断获取的 APN属性中是否包含 P-GW重分配指示,且该指示为允许 P-GW重分配, 如果是, 则判定上述 PDN连接允许 P-GW重分配, 如果该指示为不允许 P-GW重分配, 则判 定上述 PDN连接不允许 P-GW重分配; 或者, 2 ) 判断获取的 APN属性中是否允许 LBO, 如果允许 LBO, 则判定上述 PDN连接允许 P-GW重分配, 如果不允许 LBO, 则判定上述 PDN连接不允许 P-GW重分配; 或者, 1) determining whether the acquired APN attribute includes a P-GW reallocation indication, and the indication is to allow the P-GW to be reassigned, and if yes, determining that the PDN connection allows the P-GW to be reassigned, if the indication is not allowed P - GW re-allocation, then it is determined that the PDN connection does not allow P-GW to redistribute; or 2) determining whether the LBO is allowed in the acquired APN attribute, if the LBO is allowed, determining that the PDN connection allows the P-GW to be re-allocated, and if the LBO is not allowed, determining that the PDN connection does not allow the P-GW to be re-allocated; or
3 )根据获取的 APN属性判断当前 APN是否为路由到归属网络(Home Routed)的 APN, 如果是, 则判定上述 PDN连接不允许 P-GW重分配, 如果不是, 则判定上述 PDN连接允许 P-GW重分配; 或者,  3) determining, according to the obtained APN attribute, whether the current APN is an APN routed to the Home Routed, and if yes, determining that the PDN connection does not allow P-GW re-allocation, and if not, determining that the PDN connection allows P- GW redistribution; or,
4 ) 根据获取的 APN属性判断当前 APN是否为紧急 APN, 如果是紧急 APN, 则判定上 述 PDN连接不允许 P-GW重分配, 如果不是紧急 APN, 则判定上述 PDN连接允许 P-GW重 分配。  4) It is determined whether the current APN is an emergency APN according to the acquired APN attribute, and if it is an emergency APN, it is determined that the PDN connection does not allow the P-GW to be reassigned, and if it is not an emergency APN, it is determined that the PDN connection allows the P-GW to be reassigned.
本实施例中, 紧急 APN是指该 APN对应的接入网络用于紧急业务, 通常紧急业务都对 时延要求比较严格, 因此, 紧急 APN是不允许 P-GW重分配的。  In this embodiment, the emergency APN refers to the access network corresponding to the APN used for emergency services. Generally, the emergency services have strict delay requirements. Therefore, the emergency APN does not allow the P-GW to be redistributed.
另外, 本实施例中的 APN属性可以是用户粒度的, 也可以是网络粒度的。 其中, 用户粒 度是指为同一个 APN网络中的每个用户都设置一个 APN属性,该 APN属性可以相同也可以 不同, 因此, 同一个 APN网络中的不同用户可以拥有不同的 APN属性, 如有的用户 APN属 性允许 P-GW重分配, 有的用户 APN属性不允许 P-GW重分配。 网络粒度是指为每个 APN 网络设置一个 APN属性, 因此, 同一个 APN网络内的所有用户, 其 P-GW重分配的 APN属 性是相同的。  In addition, the APN attribute in this embodiment may be user granularity or network granularity. User granularity means that an APN attribute is set for each user in the same APN network. The APN attributes may be the same or different. Therefore, different users in the same APN network may have different APN attributes. The user APN attribute allows the P-GW to be reassigned, and some user APN attributes do not allow the P-GW to be reassigned. Network granularity means that an APN attribute is set for each APN network. Therefore, all users in the same APN network have the same APN attribute of P-GW redistribution.
204: 获取 PDN连接的数据业务状态。  204: Obtain the data service status of the PDN connection.
具体地, 可以获取 UE是否处于空闲状态, 或者, 由 S-GW或者 eNodeB上报 PDN连接 的数据业务状态来获得。  Specifically, it can be obtained whether the UE is in an idle state, or is obtained by the S-GW or the eNodeB reporting the data service status of the PDN connection.
205: 判断获取的 PDN连接的数据业务状态是否为空闲状态, 如果是, 则判定上述 PDN 连接允许 P-GW重分配, 执行 206; 否则, 判定上述 PDN连接不允许 P-GW重分配, 流程结 束。  205: Determine whether the acquired data service status of the PDN connection is an idle state, if yes, determine that the PDN connection allows the P-GW to be re-allocated, and perform 206; otherwise, determine that the PDN connection does not allow the P-GW to be re-allocated, and the process ends. .
本实施例中, 数据业务状态为空闲状态是指 UE处于空闲没有任何业务的状态, 因此, 可以允许 P-GW重分配, 从而不会对业务造成任何影响。  In this embodiment, the idle state of the data service refers to a state in which the UE is idle and has no service. Therefore, the P-GW can be allowed to be redistributed so as not to have any impact on the service.
206: 触发 UE通过第二 P-GW接入网络, 流程结束。  206: Trigger the UE accesses the network through the second P-GW, and the process ends.
本实施中, 202至 203步骤与 204至 205步骤可以调换顺序, 也可以同时进行, 当然, 也可以只执行 202至 203, 或者只执行 204至 205 ; 另外, 判断是否存在更优的路径对应的第 二 P-GW, 与判断上述 PDN连接是否允许 P-GW重分配的顺序也可以调换, 或者同时进行, 本发明实施例对此不做具体限定。  In this implementation, the steps 202 to 203 and 204 to 205 may be reversed, or may be performed simultaneously. Of course, only 202 to 203 may be performed, or only 204 to 205 may be performed. In addition, it is determined whether there is a better path corresponding to The second P-GW, and the sequence of determining whether the PDN connection is allowed to be re-allocated by the P-GW may also be reversed, or may be performed at the same time, which is not specifically limited in this embodiment of the present invention.
本实施例提供的上述方法通过获取关于 P-GW重分配的 APN属性,以及数据业务状态属 性, 并进行相应的判断, 在判定 PDN连接允许 P-GW重分配且存在更优的路径对应的第二 P-GW时, 触发 UE通过第二 P-GW接入网络, 从而实现了 P-GW的重分配, 解决了现有技 术无法进行 P-GW重分配的问题, 并且使得分组网络中的路由更加优化, 提高了路由效率。 另外, 在判断是否允许 P-GW重分配时, 依据 APN属性和数据业务状态进行判断, 极大地降 低了 P-GW重分配对业务的影响,避免了对不恰当的 PDN连接发起 P-GW重分配或者在不恰 当的时机发起 P-GW重分配, 极大地提升了用户的体验。 实施例 3 The foregoing method provided in this embodiment obtains an APN attribute about a P-GW reallocation, and a data service status genus And determining, when determining that the PDN connection allows the P-GW to be re-allocated and there is a second P-GW corresponding to the better path, triggering the UE to access the network through the second P-GW, thereby implementing P- The redistribution of the GW solves the problem that the prior art cannot perform P-GW redistribution, and optimizes the routing in the packet network, thereby improving routing efficiency. In addition, when judging whether the P-GW is allowed to be re-allocated, determining according to the APN attribute and the data service state greatly reduces the impact of the P-GW redistribution on the service, and avoids initiating the P-GW for the inappropriate PDN connection. Assigning or initiating P-GW redistribution at an inappropriate time greatly enhances the user experience. Example 3
参见图 4, 本实施例提供了一种分组数据网关重分配的方法, 以获取的 P-GW重分配属 性包括 APN属性和承载属性为例进行说明, 该方法具体包括:  Referring to FIG. 4, this embodiment provides a method for re-allocating a packet data gateway, and the obtained P-GW redistribution attribute includes an APN attribute and a bearer attribute as an example. The method includes:
301至 303 : 与实施例 2中的 201至 203相同, 此处不再赘述。  301 to 303: The same as 201 to 203 in Embodiment 2, and details are not described herein again.
304: 获取 PDN连接中承载的属性。  304: Get the attributes carried in the PDN connection.
本实施例中, PDN连接上的承载可以为一个或多个, 可以包括: 缺省承载或专有承载。  In this embodiment, the bearer on the PDN connection may be one or more, and may include: a default bearer or a dedicated bearer.
PDN连接中承载的属性通常是在承载的建立过程中获取的, 如果本步骤之前承载已经建立完 成, 则本步骤中的获取是指读取已在承载建立过程中获取的承载属性。 The attributes carried in the PDN connection are usually obtained during the establishment of the bearer. If the bearer has been established before the step, the obtaining in this step refers to reading the bearer attribute that has been obtained in the bearer establishment process.
其中, 缺省承载可以从用户签约数据库中获取, 如从 HSS获取。 具体地, 可以在执行本 方法的设备和用户签约数据库之间的接口上传递 PDN连接的承载属性, 如在 MME和 HSS 之间的 S6接口上扩展一个特定的属性作为指示 P-GW重分配的 PDN连接中承载的属性, 如 Bearer Disconnection Allowed  The default bearer can be obtained from the user subscription database, such as from the HSS. Specifically, the bearer attribute of the PDN connection may be transmitted on an interface between the device performing the method and the user subscription database, such as extending a specific attribute on the S6 interface between the MME and the HSS as indicating P-GW reallocation. Attributes hosted in PDN connections, such as Bearer Disconnection Allowed
对于专有承载,承载属性可以由 AF ( Application Function,应用功能)或者 PCRF (Policy For proprietary bearers, the bearer attribute can be either AF (Application Function) or PCRF (Policy)
Charging Rule Function,策略计费规则功能)根据业务类型配置,且可以配置在不同的设备上, 如对于紧急业务, 配置承载属性为不允许 P-GW重分配, 对于语音业务, 配置承载属性为不 允许 P-GW重分配, 对于普通的 Internet业务, 配置承载属性为允许 P-GW重分配等等。 具 体地, 在专有承载建立过程中需要在执行本方法的设备和存储承载属性的设备的接口上传递 承载属性, 如在 MME和 S-GW之间的 S 11接口, 在 S-GW和 P-GW之间的 S5/S8接口, 以 及 GW和 PCRF之间的 Gxx系列接口上,扩展并传递一个特定的用于指示 P-GW重分配的承 载属性, 如 Bearer Disconnection Allowed, 表示该承载允许发起 P-GW重分配。 The Charging Rule Function is configured according to the service type and can be configured on different devices. For example, for the emergency service, the configuration of the bearer attribute is not allowed to be re-allocated by the P-GW. For the voice service, the configuration of the bearer attribute is not Allow P-GW to redistribute. For common Internet services, configure bearer attributes to allow P-GW to redistribute and so on. Specifically, in the dedicated bearer setup process, the bearer attribute needs to be transmitted on the interface of the device performing the method and the device storing the bearer attribute, such as the S11 interface between the MME and the S-GW, in the S-GW and the P - The S5/S8 interface between the GWs, and the Gxx series interface between the GW and the PCRF, extending and passing a specific bearer attribute indicating the P-GW reallocation, such as Bearer Disconnection Allowed, indicating that the bearer is allowed to be initiated. P-GW is redistributed.
305 :根据获取的 PDN连接中承载的属性,判断 PDN连接上的所有承载是否均允许 P-GW 重分配, 如果是, 则判定上述 PDN连接允许 P-GW重分配, 执行 306; 否则, 判定上述 PDN 连接为不允许 P-GW重分配, 流程结束。 其中, 判断 PDN连接上的所有承载是否均允许 P-GW重分配, 包括: 305: Determine, according to the attributes carried in the obtained PDN connection, whether all bearers on the PDN connection allow P-GW reallocation, and if yes, determine that the PDN connection allows P-GW to re-allocate, and perform 306; otherwise, determine the above. The PDN connection does not allow the P-GW to be reassigned, and the process ends. Wherein, determining whether all bearers on the PDN connection allow P-GW reallocation, including:
将 PDN连接上的每一个承载分别作为当前承载执行如下操作:  Perform the following operations for each bearer on the PDN connection as the current bearer:
1 )判断当前承载的承载属性中是否包含 P-GW重分配指示,且该指示为允许 P-GW重分 配, 如果是, 则判定当前承载允许 P-GW重分配, 否则, 判断当前承载不允许 P-GW重分配; 或者,  1) determining whether the P-GW re-allocation indication is included in the bearer attribute of the current bearer, and the indication is to allow the P-GW to be re-allocated, and if yes, determining that the current bearer allows the P-GW to be re-allocated, otherwise, determining that the current bearer is not allowed P-GW redistribution; or,
2)根据当前承载的承载属性判断当前承载是否为 GBR承载, 如果是 GBR承载, 则判定 当前承载不允许 P-GW重分配, 如果是 Non-GBR承载, 则判定当前承载允许 P-GW重分配。  2) Determine whether the current bearer is a GBR bearer according to the bearer attribute of the current bearer. If it is a GBR bearer, it determines that the current bearer does not allow the P-GW to be reassigned. If it is a Non-GBR bearer, it determines that the current bearer allows the P-GW to be reassigned. .
306: 触发 UE通过第二 P-GW接入网络, 流程结束。  306: Trigger the UE accesses the network through the second P-GW, and the process ends.
本实施中, 302至 303步骤与 304至 305步骤可以调换顺序, 也可以同时进行, 当然, 也可以只执行 302至 303, 或者只执行 304至 305; 另外, 判断是否存在更优的路径对应的第 二 P-GW, 与判断上述 PDN连接是否允许 P-GW重分配的顺序也可以调换, 或者同时进行, 本发明实施例对此不做具体限定。  In this implementation, the steps 302 to 303 and the steps 304 to 305 may be reversed, or may be performed simultaneously. Of course, only 302 to 303 may be performed, or only 304 to 305 may be performed. In addition, it is determined whether there is a better path corresponding to the path. The second P-GW, and the sequence of determining whether the PDN connection is allowed to be re-allocated by the P-GW may also be reversed, or may be performed at the same time, which is not specifically limited in this embodiment of the present invention.
本实施例提供的上述方法通过获取关于 P-GW重分配的 APN属性, 以及承载属性, 并进 行相应的判断,在判定上述 PDN连接允许 P-GW重分配且存在更优的路径对应的第二 P-GW 时, 触发 UE通过第二 P-GW接入网络, 从而实现了 P-GW的重分配, 解决了现有技术无法 进行 P-GW重分配的问题, 并且使得分组网络中的路由更加优化, 提高了路由效率。 另外, 在判断是否允许 P-GW重分配时, 依据 APN属性和承载属性进行判断, 极大地降低了 P-GW 重分配对业务的影响,避免了对不恰当的 PDN连接发起 P-GW重分配或者在不恰当的时机发 起 P-GW重分配, 极大地提升了用户的体验。 实施例 4  The foregoing method provided in this embodiment obtains the APN attribute about the P-GW reallocation, and the bearer attribute, and performs corresponding judgment, and determines that the PDN connection allows the P-GW to be redistributed and the second path corresponding to the better path exists. When the P-GW is used, the UE is triggered to access the network through the second P-GW, thereby realizing the redistribution of the P-GW, solving the problem that the prior art cannot perform P-GW redistribution, and making the routing in the packet network more complete. Optimization, improved routing efficiency. In addition, when judging whether P-GW re-allocation is allowed, the APN attribute and the bearer attribute are used for judgment, which greatly reduces the impact of P-GW redistribution on the service, and avoids P-GW redistribution for inappropriate PDN connection. Or initiate P-GW redistribution at an inappropriate time, greatly improving the user experience. Example 4
上述实施例 1至 3中涉及的触发 UE通过第二 P-GW接入网络的步骤,均可以具体包括: 通知 UE可以进行 P-GW的重分配;  The steps of the triggering UE to access the network by using the second P-GW in the foregoing Embodiments 1 to 3 may specifically include: notifying the UE that the P-GW can be redistributed;
UE收到通知后, 删除与第一 P-GW之间的 PDN连接;  After receiving the notification, the UE deletes the PDN connection with the first P-GW;
UE在与第二 P-GW之间建立新的 PDN连接,如果被删除的 PDN连接上存在业务,则将 该业务恢复到新的 PDN连接上。  The UE establishes a new PDN connection with the second P-GW, and if there is a service on the deleted PDN connection, the service is restored to the new PDN connection.
本实施例以 3GPP网络为例, 具体描述上述实施例 1至 3中 P-GW重分配的流程, 参见 图 5, 该流程具体包括:  In this embodiment, a 3GPP network is taken as an example, and the process of P-GW redistribution in the foregoing Embodiments 1 to 3 is specifically described. Referring to FIG. 5, the process specifically includes:
401: UE发起位置更新流程, UE与 P-GW1之间的路径发生改变。  401: The UE initiates a location update process, and a path between the UE and the P-GW1 changes.
具体地, 对于 LTE接入方式, 该位置更新流程是 TAU流程, 而对于 2G/3G接入方式, 其位置更新流程是 RAU流程; MME接收到相应的位置更新请求。 Specifically, for the LTE access mode, the location update process is a TAU process, and for the 2G/3G access mode, The location update process is a RAU process; the MME receives the corresponding location update request.
402: MME判断出存在更优的路径对应的 P-GW2, 则获取 P-GW重分配属性, 根据该 P-GW重分配属性判断是否允许进行 P-GW重分配, 判断的结果为允许 P-GW重分配。  402: The MME determines that there is a P-GW2 corresponding to the preferred path, obtains a P-GW reallocation attribute, and determines whether to allow P-GW reallocation according to the P-GW reallocation attribute, and the result of the determination is that P- is allowed. GW redistribution.
具体地, MME可以采用实施例 1至 3中任一方法来判断是否允许 P-GW重分配。  Specifically, the MME may adopt any one of Embodiments 1 to 3 to determine whether P-GW re-allocation is allowed.
403: MME发送 P-GW重分配指示给 UE。  403: The MME sends a P-GW re-allocation indication to the UE.
具体地, MME可以发送单独的通知消息给 UE,或者利用 TAU/RAU的响应消息通知 UE, 本发明实施例对此不做具体限定。  Specifically, the MME may send a separate notification message to the UE, or notify the UE by using a response message of the TAU/RAU, which is not specifically limited in this embodiment of the present invention.
404: UE收到 MME的指示后, 通知上层应用当前的 PDN连接即将中断, 上层应用可以 执行相应的处理。  404: After receiving the indication from the MME, the UE notifies the upper-layer application that the current PDN connection is about to be interrupted, and the upper-layer application can perform corresponding processing.
405: UE删除当前与 P-GW1之间的 PDN连接。  405: The UE deletes the PDN connection between the current and the P-GW1.
406: UE在与 P-GW2之间建立新的 PDN连接。  406: The UE establishes a new PDN connection with the P-GW2.
407: 如果在 UE与 P-GW1之间的 PDN连接上存在业务, 则 UE将该业务恢复到 UE与 P-GW2之间新的 PDN连接上, 如果不存在业务, 则本步骤可以省略, 流程结束。  407: If there is a service on the PDN connection between the UE and the P-GW1, the UE restores the service to the new PDN connection between the UE and the P-GW2. If no service exists, the step may be omitted. End.
本实施例提供的上述方法通过获取 P-GW重分配属性, 并进行相应的判断, 在判定允许 P-GW重分配且存在更优的路径对应的第二 P-GW时, 触发 UE删除与 P-GW1之间的 PDN 连接, 建立与 P-GW2之间的 PDN连接, 从而实现了 P-GW的重分配, 解决了现有技术无法 进行 P-GW重分配的问题, 并且使得分组网络中的路由更加优化, 提高了路由效率。 另外, 在判断是否允许 P-GW重分配时, 依据 APN属性、数据业务状态和承载属性中的至少一种进 行判断, 极大地降低了 P-GW重分配对业务的影响, 避免了对不恰当的 PDN连接发起 P-GW 重分配或者在不恰当的时机发起 P-GW重分配, 极大地提升了用户的体验。 实施例 5  The foregoing method provided by the embodiment triggers the UE to delete the P-GW by acquiring the P-GW redistribution attribute and performing the corresponding judgment, and when determining that the P-GW is allowed to be re-allocated and there is a second P-GW corresponding to the better path. - PDN connection between GW1, establishing a PDN connection with P-GW2, thereby realizing P-GW redistribution, solving the problem that the prior art cannot perform P-GW redistribution, and making the packet network Routes are optimized to improve routing efficiency. In addition, when determining whether the P-GW is allowed to be re-allocated, determining according to at least one of the APN attribute, the data service status, and the bearer attribute, the impact of the P-GW redistribution on the service is greatly reduced, and the inappropriateness is avoided. The PDN connection initiates P-GW redistribution or initiates P-GW reallocation at an inappropriate time, greatly improving the user experience. Example 5
本实施例提供了上述实施例 1至 4在不同场景下的应用, 在第一个场景中, 根据 APN属 性决策 P-GW重分配, 该流程具体包括:  This embodiment provides the application of the foregoing embodiments 1 to 4 in different scenarios. In the first scenario, the P-GW is redistributed according to the APN attribute, and the process specifically includes:
S11 : 上海的用户其 UE在上海附着, 通过某个 APN1 , 与 P-GW1之间建立了 PDN连接 S11: Users in Shanghai have their UEs attached in Shanghai, and a PDN connection is established between them and P-GW1 through an APN1.
1, 在该 PDN连接 1的建立过程中, MME从 HSS获得 APN1的 APN属性; 该 APN用于承 载普通 IMS业务, 不允许 LBO; 1. During the establishment of the PDN connection 1, the MME obtains the APN attribute of the APN1 from the HSS; the APN is used to carry the normal IMS service, and the LBO is not allowed;
S12: 用户从上海坐火车去北京, 火车开动后, 用户通过 IMS业务发起语音呼叫; S13 : 火车开到苏州境内, UE发起切换和位置更新过程;  S12: The user takes a train from Shanghai to Beijing. After the train starts, the user initiates a voice call through the IMS service; S13: The train drives to Suzhou, and the UE initiates a handover and location update process;
S14: MME收到该 UE的 TAU请求, 出于路由优化的考虑,判断是否存在更优的 P-GW; S15: MME判断出存在更优的 P-GW2, 则根据上述 APN属性判断 PDN连接 1是否允许 发起 P-GW重分配,由于该 APN1不允许 LBO,因此 MME能够确定出当前不允许发起 P-GW 重分配; S14: The MME receives the TAU request of the UE, and determines whether there is a better P-GW for consideration of route optimization. S15: The MME determines that there is a better P-GW2, and determines whether the PDN connection 1 is allowed to initiate P-GW re-allocation according to the APN attribute. Since the APN1 does not allow the LBO, the MME can determine that the P-GW is not currently allowed to be initiated. Redistribution
S16: 上述语音呼叫结束后, 用户通过一个新的 APN2发起一个 PDN连接 2, 该 PDN连 接 2用于进行 Internet浏览; MME从 HSS获得该 APN2的 P-GW重分配属性为允许发起 P-GW 重分配;  S16: After the voice call ends, the user initiates a PDN connection 2 through a new APN2, and the PDN connection 2 is used for Internet browsing. The MME obtains the P-GW redistribution attribute of the APN2 from the HSS to allow the P-GW to be initiated. Assignment
S17: UE再次移动到南京, UE发起切换和位置更新过程; MME收到 TAU请求, 出于 路由优化的考虑, 判断是否存在更优的 P-GW3 ;  S17: The UE moves to Nanjing again, and the UE initiates a handover and location update process; the MME receives the TAU request, and determines whether there is a better P-GW3 due to route optimization considerations;
S18: MME根据 APN2的 APN属性判断当前的 PDN连接 2是否允许发起 P-GW重分配, 由于用于 Internet业务的 APN可以发起 P-GW重分配,因此, MME对该 PDN连接 2发起 P-GW 重分配流程,删除 UE与 P-GW2之间的 PDN连接 2,建立 UE与 P-GW3之间的 PDN连接 3, 并将 PDN连接 2上的该 Internet业务恢复到新建的 PDN连接 3上, 流程结束。  S18: The MME determines, according to the APN attribute of the APN2, whether the current PDN connection 2 is allowed to initiate the P-GW re-allocation. Since the APN for the Internet service can initiate the P-GW re-allocation, the MME initiates the P-GW for the PDN connection 2. The process of redistributing, deleting the PDN connection 2 between the UE and the P-GW2, establishing the PDN connection 3 between the UE and the P-GW3, and restoring the Internet service on the PDN connection 2 to the newly created PDN connection 3, the process End.
下面为第二个场景, 结合 APN属性和承载属性决策 P-GW重分配, 该流程具体包括: The following is a second scenario, which combines APN attributes and bearer attributes to determine P-GW redistribution. The process specifically includes:
S21 : 上海的用户其 UE在上海附着, 通过某个 APN1与 P-GW1之间建立了 PDN连接, 在该 PDN连接的建立过程中, MME从 HSS获得该 APM的 APN属性和该 PDN连接上缺省 承载的属性, 均为允许发起 P-GW重分配; S21: The user of Shanghai has its UE attached in Shanghai, and a PDN connection is established between the APN1 and the P-GW1. During the establishment of the PDN connection, the MME obtains the APN attribute of the APM and the PDN connection from the HSS. The attributes carried by the province are all allowed to initiate P-GW redistribution;
S22: 用户从上海坐火车去北京, 火车开动后, 用户发起语音呼叫, 该语音呼叫建立了一 个专有承载, 该专有承载同时用于信令和媒体, 在该专有承载的建立过程中, MME从 PCRF 获得该专有承载的 P-GW重分配属性为不允许发起 P-GW重分配; 也可以从 PCRF的业务信 息获得该专有承载的属性, 如该专有承载上的业务为紧急业务, 则该专有承载不允许发起 P-GW重分配;  S22: The user takes a train from Shanghai to Beijing. After the train starts, the user initiates a voice call, and the voice call establishes a dedicated bearer, which is used for signaling and media at the same time. The MME obtains the P-GW reallocation attribute of the dedicated bearer from the PCRF to not allow the P-GW to be reassigned. The MME may also obtain the attribute of the dedicated bearer from the service information of the PCRF, for example, the service on the dedicated bearer is For emergency services, the dedicated bearer does not allow P-GW to be redistributed;
S23 : 火车开到苏州境内, UE发起切换和位置更新过程;  S23: The train drives to Suzhou, and the UE initiates a handover and location update process;
S24: MME收到 TAU请求, 出于路由优化的考虑, 判断出存在更优的 P-GW2;  S24: The MME receives the TAU request, and determines that there is a better P-GW2 for route optimization.
S25: MME根据 APN属性判断出允许发起 P-GW重分配, 但是由于存在紧急业务的专 有承载, 因此, MME确定不发起 P-GW重分配;  S25: The MME determines, according to the APN attribute, that the P-GW re-allocation is allowed to be initiated, but because the dedicated bearer of the emergency service exists, the MME determines that the P-GW redistribution is not initiated.
S26: 用户通话结束后, 该语音呼叫建立的专有承载删除, 用户开始进行 Internet浏览, 该 Internet浏览在缺省承载上进行;  S26: After the user's call ends, the dedicated bearer established by the voice call is deleted, and the user starts Internet browsing, and the Internet browsing is performed on the default bearer;
S27: UE发起周期性 TAIL MME判断上述 PDN连接上的所有承载是否均允许发起 P-GW 重分配, 由于该 PDN连接上只有缺省承载, 且缺省承载允许发起 P-GW重分配, 因此, MME 发起 P-GW重分配流程, 具体同上述实施例中的描述, 此处不再赘述。 下面为第三个场景, 结合 APN属性、数据业务状态和承载属性决策 P-GW重分配, 该流 程具体包括: S27: The UE initiates the periodic TAIL MME to determine whether all the bearers on the PDN connection are allowed to initiate the P-GW re-allocation. Since the PDN connection has only the default bearer, and the default bearer allows the P-GW to be re-allocated, therefore, The MME initiates a P-GW redistribution process, which is the same as that in the foregoing embodiment, and details are not described herein again. The following is the third scenario, which combines APN attributes, data service status, and bearer attributes to determine P-GW redistribution. The process specifically includes:
S31 : 上海的用户其 UE在上海附着, 通过某个 APN与 P-GW1建立了 PDN连接, 在该 PDN连接的建立过程中, MME从 HSS获得该 APN和缺省承载的 P-GW重分配属性;该 APN 允许发起 P-GW重分配, 其缺省承载在有流量和无流量的情况下均允许发起 P-GW重分配; S32: 用户从上海坐火车去北京; 火车开动后, 用户发起语音呼叫, 该语音呼叫建立了一 个专有承载, 该专有承载同时用于信令和媒体, 在该专有承载的建立过程中, MME从 PCRF 获得该专有承载的 P-GW重分配属性, 该专有承载在有流量的情况下不允许发起 P-GW重分 配, 在没有流量的情况下允许发起 P-GW重分配;  S31: The user of Shanghai has its UE attached in Shanghai, and establishes a PDN connection with P-GW1 through an APN. During the establishment of the PDN connection, the MME obtains the P-GW redistribution attribute of the APN and the default bearer from the HSS. The APN allows the P-GW to be re-allocated. The default bearer allows the P-GW to be re-allocated in the case of traffic and no traffic. S32: The user takes the train from Shanghai to Beijing; after the train starts, the user initiates the voice. The call, the voice call establishes a dedicated bearer, and the dedicated bearer is used for both signaling and media. During the establishment of the dedicated bearer, the MME obtains the P-GW reallocation attribute of the proprietary bearer from the PCRF. The dedicated bearer does not allow to initiate P-GW reallocation in the case of traffic, and allows P-GW redistribution to be initiated without traffic;
S33 : 火车开到苏州境内, UE发起切换和位置更新过程;  S33: The train drives to Suzhou, and the UE initiates a handover and location update process;
S34: MME收到 TAU请求, 出于路由优化的考虑, 判断出存在更优的 P-GW2;  S34: The MME receives the TAU request, and determines that there is a better P-GW2 for route optimization.
S35: MME根据上述 APN属性判断出允许发起 P-GW重分配, 并判断上述 PDN连接上 的所有承载是否均允许 P-GW重分配, 由于存在语音呼叫的专有承载, 且该专有承载在有流 量的情况下不允许发起 P-GW重分配, 因此 MME确定不发起 P-GW重分配;  S35: The MME determines, according to the foregoing APN attribute, that the P-GW re-allocation is allowed to be initiated, and determines whether all the bearers on the PDN connection allow the P-GW to be re-allocated, because the dedicated bearer of the voice call exists, and the dedicated bearer is In the case of traffic, P-GW re-allocation is not allowed to be initiated, so the MME determines not to initiate P-GW reallocation;
S36: 用户通话结束后, 语音呼叫建立的专有承载继续存在, 该专有承载根据需要可以不 删除, 用户开始进行 Internet浏览, 该 Internet浏览在缺省承载上进行;  S36: After the user's call ends, the dedicated bearer established by the voice call continues to exist, and the private bearer may not be deleted as needed, and the user starts Internet browsing, and the Internet browsing is performed on the default bearer;
S37: UE发起周期性 TAIL MME判断当前 PDN连接上的所有承载是否均允许发起 P-GW 重分配, 由于该 PDN连接上的缺省承载有流量, 且该缺省承载在有流量的情况下允许发起 P-GW重分配, 该 PDN连接上的专有承载没有流量, 且该专有承载在没有流量的情况下允许 发起 P-GW重分配, 因此, MME发起 P-GW重分配流程, 具体同上述实施例中的描述, 此 处不再赘述。 实施例 6  S37: The UE initiates a periodic TAIL MME to determine whether all bearers on the current PDN connection are allowed to initiate P-GW re-allocation, because the default bearer on the PDN connection has traffic, and the default bearer is allowed in the case of traffic. Initiating a P-GW re-allocation, the dedicated bearer on the PDN connection has no traffic, and the dedicated bearer allows the P-GW to be re-allocated without traffic. Therefore, the MME initiates a P-GW reallocation process, specifically The descriptions in the above embodiments are not described herein again. Example 6
参见图 6, 本实施例提供了一种分组数据网关重分配的装置, 包括:  Referring to FIG. 6, this embodiment provides a device for reallocating a packet data gateway, including:
判断模块 501,用于当 UE与第一 P-GW之间的路径发生改变时,判断是否存在更优的路 径对应的第二 P-GW, 以及 UE与第一 P-GW之间的 PDN连接是否允许 P-GW重分配;  The determining module 501 is configured to determine, when the path between the UE and the first P-GW changes, whether there is a second P-GW corresponding to the better path, and a PDN connection between the UE and the first P-GW Whether to allow P-GW to redistribute;
重分配模块 502, 用于如果判断模块 501判断出存在更优的路径对应的第二 P-GW, 且 UE与第一 P-GW之间的 PDN连接允许 P-GW重分配,则触发 UE通过第二 P-GW接入网络。  The redistribution module 502 is configured to: if the determining module 501 determines that there is a second P-GW corresponding to the better path, and the PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated, triggering the UE to pass The second P-GW accesses the network.
本实施例中, UE与第一 P-GW之间的路径发生改变包括:  In this embodiment, the path change between the UE and the first P-GW includes:
UE发起位置更新、 UE的接入方式发生改变或 UE与第一 P-GW之间的分组数据网 PDN 连接对应的服务网关 S-GW发生改变, 具体同方法实施例中的描述。 The UE initiates a location update, a change in the access mode of the UE, or a packet data network PDN between the UE and the first P-GW. The connection of the corresponding service gateway S-GW is changed, which is specifically described in the method embodiment.
本实施例中, 判断模块 501可以包括:  In this embodiment, the determining module 501 can include:
获取单元, 用于获取 UE与第一 P-GW之间的 PDN的 P-GW重分配属性;  An obtaining unit, configured to acquire a P-GW reallocation attribute of a PDN between the UE and the first P-GW;
判断单元, 用于根据该 P-GW重分配属性判断所述 PDN连接是否允许 P-GW重分配。 进一步地, 获取单元可以包括下列获取子单元中的至少一个:  And a determining unit, configured to determine, according to the P-GW reallocation attribute, whether the PDN connection allows P-GW to be reassigned. Further, the obtaining unit may include at least one of the following obtaining subunits:
第一获取子单元, 用于获取上述 PDN连接的接入点名称 APN属性;  a first obtaining subunit, configured to acquire an access point name APN attribute of the PDN connection;
第二获取子单元, 用于获取上述 PDN连接的数据业务状态; 和  a second obtaining subunit, configured to acquire a data service state of the foregoing PDN connection; and
第三获取子单元, 用于获取上述 PDN连接中承载的属性。  The third obtaining subunit is configured to obtain an attribute carried in the PDN connection.
本实施例中, 当获取单元包括第一获取子单元时, 判断单元可以包括:  In this embodiment, when the acquiring unit includes the first acquiring subunit, the determining unit may include:
第一判断子单元,用于判断获取的 APN属性中是否包含 P-GW重分配指示, 且该指示为 允许 P-GW重分配, 如果是, 则判定上述 PDN连接允许 P-GW重分配; 或者,  a first determining sub-unit, configured to determine whether the acquired APN attribute includes a P-GW re-allocation indication, and the indication is to allow the P-GW to be re-allocated, and if yes, determining that the PDN connection allows the P-GW to be re-allocated; or ,
第二判断子单元, 用于判断获取的 APN属性中是否允许本地疏导 LBO, 如果是, 则判 定上述 PDN连接允许 P-GW重分配; 或者,  a second determining sub-unit, configured to determine whether the local LBO is allowed in the acquired APN attribute, and if yes, determining that the PDN connection allows the P-GW to be redistributed; or
第三判断子单元,用于根据获取的 APN属性判断当前 APN是否为紧急 APN,如果不是, 则判定上述 PDN连接允许 P-GW重分配。  The third determining subunit is configured to determine, according to the acquired APN attribute, whether the current APN is an emergency APN, and if not, determine that the PDN connection allows the P-GW to be reassigned.
本实施例中, 当获取单元包括第二获取子单元时, 判断单元可以包括:  In this embodiment, when the obtaining unit includes the second acquiring subunit, the determining unit may include:
第四判断子单元, 用于判断获取的 PDN连接的数据业务状态是否为空闲状态, 如果是, 则判定上述 PDN连接允许 P-GW重分配。  The fourth determining subunit is configured to determine whether the data service status of the acquired PDN connection is an idle state, and if yes, determine that the PDN connection allows the P-GW to be reassigned.
本实施例中, 当获取单元包括第三获取子单元时, 判断单元可以包括:  In this embodiment, when the obtaining unit includes the third acquiring subunit, the determining unit may include:
第五判断子单元, 用于根据获取的 PDN连接中承载的属性, 判断 PDN连接上的承载是 否允许 P-GW重分配, 如果是, 则判定上述 PDN连接允许 P-GW重分配。  The fifth determining sub-unit is configured to determine, according to the attributes carried in the obtained PDN connection, whether the bearer on the PDN connection allows the P-GW to be re-allocated, and if yes, determine that the PDN connection allows the P-GW to be re-allocated.
上述第五判断子单元可以具体用于:  The above fifth determining subunit may be specifically used for:
判断所述承载的属性中是否包含 P-GW重分配指示, 且该指示为允许 P-GW重分配, 如 果是, 则判定所述承载允许 P-GW重分配; 或者, 判断所述承载的属性是否为 GBR承载, 如 果不是 GBR承载, 是 Non-GBR承载, 则判定所述承载允许 P-GW重分配。  Determining whether the P-GW re-allocation indication is included in the attribute of the bearer, and the indication is to allow the P-GW to be re-allocated, and if yes, determining that the bearer allows the P-GW to be re-allocated; or determining the attribute of the bearer Whether it is a GBR bearer, if it is not a GBR bearer, is a Non-GBR bearer, it is determined that the bearer allows P-GW to be redistributed.
本实施例中, 当上述 PDN1连接中有多个承载时, 具体地, 可以判断是否所有承载均允 许 P-GW重分配, 如果是, 则判定上述 PDN连接允许 P-GW重分配, 否则, 判定上述 PDN 连接不允许 P-GW重分配。 其中, 对该所有承载中的每一个承载都可以采用第五判断子单元 采用的方法进行判断, 此处不再赘述。  In this embodiment, when there are multiple bearers in the PDN1 connection, specifically, it may be determined whether all bearers allow P-GW reallocation, and if yes, it is determined that the PDN connection allows P-GW reallocation, otherwise, determining The above PDN connection does not allow P-GW to be redistributed. The bearer of each of the bearers may be determined by using the method determined by the fifth determining subunit, and details are not described herein again.
本实施例中, 重分配模块 502可以包括: 重分配单元,用于通知 UE进行 P-GW的重分配,使得 UE收到通知后,删除与第一 P-GW 之间的 PDN连接, 并在与第二 P-GW之间建立 PDN连接。 In this embodiment, the redistribution module 502 can include: And a redistribution unit, configured to notify the UE to perform re-allocation of the P-GW, so that after receiving the notification, the UE deletes the PDN connection with the first P-GW, and establishes a PDN connection with the second P-GW.
进一步地, 重分配单元还可以用于: 如果被删除的 UE与第一 P-GW之间的 PDN连接上 存在业务, 则将该业务恢复到 UE与第二 P-GW之间的 PDN连接上。  Further, the redistribution unit may be further configured to: if there is a service on the PDN connection between the deleted UE and the first P-GW, restore the service to the PDN connection between the UE and the second P-GW. .
本实施例提供的上述装置可以集成在网络侧的现有设备中, 如 MME、 eNodeB, S-GW、 The foregoing apparatus provided by this embodiment may be integrated in an existing device on the network side, such as an MME, an eNodeB, an S-GW,
P-GW等等, 也可以集成在一台单独的设备中, 本发明实施例对此不做具体限定。 The P-GW and the like may also be integrated into a single device, which is not specifically limited in this embodiment of the present invention.
本实施例提供的上述装置通过获取 P-GW重分配属性, 并进行相应的判断, 在判定 UE 与第一 P-GW之间的 PDN连接允许 P-GW重分配且存在更优的路径对应的第二 P-GW时, 触发 UE通过第二 P-GW接入网络, 从而实现了 P-GW的重分配, 解决了现有技术无法进行 P-GW重分配的问题, 并且使得分组网络中的路由更加优化, 提高了路由效率。 另外, 在判 断是否允许 P-GW重分配时, 依据 APN属性、数据业务状态和承载属性中的至少一种进行判 断,极大地降低了 P-GW重分配对业务的影响,避免了对不恰当的 PDN连接发起 P-GW重分 配或者在不恰当的时机发起 P-GW重分配, 极大地提升了用户的体验。 最后需要说明的是, 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分 流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算机可读 取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储 介质可为磁碟、 光盘、 只读存储记忆体 (ROM) 或随机存储记忆体 (RAM) 等。  The foregoing apparatus provided in this embodiment obtains a P-GW redistribution attribute and performs corresponding judgment, and determines that a PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated and that there is a better path corresponding to the P-GW. When the second P-GW is used, the UE is triggered to access the network through the second P-GW, thereby realizing the redistribution of the P-GW, solving the problem that the prior art cannot perform P-GW reallocation, and making the packet network Routes are optimized to improve routing efficiency. In addition, when determining whether the P-GW is allowed to be re-allocated, determining according to at least one of the APN attribute, the data service status, and the bearer attribute, the impact of the P-GW redistribution on the service is greatly reduced, and the inappropriateness is avoided. The PDN connection initiates a P-GW reallocation or initiates a P-GW reallocation at an inappropriate time, greatly improving the user experience. Finally, it should be understood that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable. In the storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM) or a random access memory (RAM).
本发明实施例中的各功能单元可以集成在一个处理模块中, 也可以是各个单元单独物理 存在, 也可以两个或两个以上单元集成在一个模块中。 上述集成的模块既可以采用硬件的形 式实现, 也可以采用软件功能模块的形式实现。 所述集成的模块如果以软件功能模块的形式 实现并作为独立的产品销售或使用时, 也可以存储在一个计算机可读取存储介质中。 上述提 到的存储介质可以是只读存储器, 磁盘或光盘等。 上述的各装置或系统, 可以执行相应方法 实施例中的方法。  The functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like. Each of the above described devices or systems can perform the methods of the corresponding method embodiments.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则之 内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  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

权 利 要 求 书 Claim
1、 一种分组数据网关重分配的方法, 其特征在于, 所述方法包括: A method for reallocating a packet data gateway, the method comprising:
当用户设备 UE与第一分组数据网关 P-GW之间的路径发生改变时, 判断是否存在更优 的路径对应的第二 P-GW, 以及所述 UE与第一 P-GW之间的分组数据网 PDN连接是否允许 P-GW重分配;  When the path between the user equipment UE and the first packet data gateway P-GW is changed, it is determined whether there is a second P-GW corresponding to the better path, and the group between the UE and the first P-GW Whether the data network PDN connection allows the P-GW to be redistributed;
如果存在更优的路径对应的第二 P-GW, 且所述 PDN连接允许 P-GW重分配, 则触发所 述 UE通过所述第二 P-GW接入网络。  If there is a second P-GW corresponding to the better path, and the PDN connection allows the P-GW to be re-allocated, the UE is triggered to access the network through the second P-GW.
2、根据权利要求 1所述的方法,其特征在于,所述用户设备 UE与第一分组数据网关 P-GW 之间的路径发生改变包括: The method according to claim 1, wherein the path change between the user equipment UE and the first packet data gateway P-GW comprises:
所述 UE发起位置更新、所述 UE的接入方式发生改变或所述 UE与第一 P-GW之间的分 组数据网 PDN连接对应的服务网关 S-GW发生改变。  The UE initiates a location update, the access mode of the UE changes, or the serving gateway S-GW corresponding to the packet data network PDN connection between the UE and the first P-GW changes.
3、 根据权利要求 1所述的方法, 其特征在于, 判断所述 UE与第一 P-GW之间的分组数 据网 PDN连接是否允许 P-GW重分配, 包括: The method according to claim 1, wherein determining whether the packet data network PDN connection between the UE and the first P-GW allows the P-GW to be re-allocated includes:
获取所述 UE与第一 P-GW之间的 PDN的 P-GW重分配属性;  Obtaining a P-GW reallocation attribute of a PDN between the UE and the first P-GW;
根据所述 P-GW重分配属性判断所述 PDN连接是否允许 P-GW重分配。  Determining whether the PDN connection allows P-GW reallocation according to the P-GW reallocation attribute.
4、 根据权利要求 3所述的方法, 其特征在于, 获取所述 UE与第一 P-GW之间的 PDN 的 P-GW重分配属性, 包括下列中的至少一种: The method according to claim 3, wherein the P-GW reallocation attribute of the PDN between the UE and the first P-GW is obtained, including at least one of the following:
获取所述 PDN连接的接入点名称 APN属性;  Obtaining an access point name APN attribute of the PDN connection;
获取所述 PDN连接的数据业务状态; 和  Obtaining a data service status of the PDN connection; and
获取所述 PDN连接中承载的属性。  Get the attributes carried in the PDN connection.
5、根据权利要求 4所述的方法,其特征在于,根据所述 P-GW重分配属性判断所述 PDN 连接是否允许 P-GW重分配, 包括: The method according to claim 4, wherein determining whether the PDN connection allows P-GW re-allocation according to the P-GW reallocation attribute comprises:
判断获取的所述 APN属性中是否包含 P-GW重分配指示,且所述指示为允许 P-GW重分 配, 如果是, 则判定所述 PDN连接允许 P-GW重分配; 或者,  Determining whether the obtained APN attribute includes a P-GW reassignment indication, and the indication is to allow the P-GW to be reassigned, and if yes, determining that the PDN connection allows the P-GW to be reassigned; or
判断获取的所述 APN属性中是否允许本地疏导 LBO, 如果是, 则判定所述 PDN连接允 许 P-GW重分配; 或者, Determining whether the local LBO is allowed to be obtained in the obtained APN attribute, and if yes, determining the PDN connection permission Xu P-GW redistribution; or,
根据获取的所述 APN属性判断当前 APN是否为紧急 APN, 如果不是, 则判定所述 PDN 连接允许 P-GW重分配。  Whether the current APN is an emergency APN is determined according to the obtained APN attribute, and if not, it is determined that the PDN connection allows the P-GW to be reallocated.
6、根据权利要求 4所述的方法,其特征在于,根据所述 P-GW重分配属性判断所述 PDN 连接是否允许 P-GW重分配, 包括: The method according to claim 4, wherein determining whether the PDN connection allows P-GW re-allocation according to the P-GW reallocation attribute comprises:
判断获取的所述 PDN连接的数据业务状态是否为空闲状态, 如果是, 则判定所述 PDN 连接允许 P-GW重分配。  Determining whether the acquired data service status of the PDN connection is an idle state, and if so, determining that the PDN connection allows the P-GW to be reassigned.
7、根据权利要求 4所述的方法,其特征在于,根据所述 P-GW重分配属性判断所述 PDN 连接是否允许 P-GW重分配, 包括: The method according to claim 4, wherein determining whether the PDN connection allows P-GW re-allocation according to the P-GW reallocation attribute comprises:
根据获取的所述 PDN连接中承载的属性, 判断所述 PDN连接上的承载是否允许 P-GW 重分配;  Determining, according to the obtained attributes of the PDN connection, whether the bearer on the PDN connection allows the P-GW to be redistributed;
如果是, 则判定所述 PDN连接允许 P-GW重分配。  If so, it is determined that the PDN connection allows P-GW to be reallocated.
8、根据权利要求 7所述的方法,其特征在于,判断所述 PDN连接上的承载是否允许 P-GW 重分配, 包括: The method according to claim 7, wherein determining whether the bearer on the PDN connection allows the P-GW to be redistributed includes:
判断所述承载的属性中是否包含 P-GW重分配指示, 且所述指示为允许 P-GW重分配, 如果是, 则判定所述承载允许 P-GW重分配; 或者,  Determining whether the P-GW re-allocation indication is included in the attribute of the bearer, and the indication is to allow the P-GW to be re-allocated, and if yes, determining that the bearer allows the P-GW to be re-allocated; or
判断所述承载的属性是否为保证比特率 GBR承载, 如果不是保证比特率承载, 则判定所 述承载允许 P-GW重分配。  It is determined whether the attribute of the bearer is a guaranteed bit rate GBR bearer, and if it is not a guaranteed bit rate bearer, it is determined that the bearer allows P-GW to be reallocated.
9、 根据权利要求 1所述的方法, 其特征在于, 触发所述 UE通过所述第二 P-GW接入网 络, 包括: The method according to claim 1, wherein the triggering the UE to access the network by using the second P-GW includes:
通知所述 UE进行 P-GW的重分配, 使得所述 UE收到通知后, 删除与所述第一 P-GW 之间的 PDN连接, 并在与第二 P-GW之间建立 PDN连接。  Notifying the UE to perform re-allocation of the P-GW, so that after receiving the notification, the UE deletes the PDN connection with the first P-GW, and establishes a PDN connection with the second P-GW.
10、 根据权利要求 9所述的方法, 其特征在于, 触发所述 UE通过所述第二 P-GW接入 网络, 包括: The method according to claim 9, wherein the triggering the UE to access the network by using the second P-GW includes:
如果被删除的所述 UE与第一 P-GW之间的 PDN连接上存在业务,则将该业务恢复到所 述 UE与第二 P-GW之间的 PDN连接上。 If there is a service on the PDN connection between the deleted UE and the first P-GW, the service is restored to the location The PDN connection between the UE and the second P-GW is described.
11、 一种分组数据网关重分配的装置, 其特征在于, 所述装置包括: 11. A device for reallocating a packet data gateway, the device comprising:
判断模块, 用于当用户设备 UE与第一分组数据网关 P-GW之间的路径发生改变时, 判 断是否存在更优的路径对应的第二 P-GW,以及所述 UE与第一 P-GW之间的分组数据网 PDN 连接是否允许 P-GW重分配;  a judging module, configured to determine, when the path between the user equipment UE and the first packet data gateway P-GW is changed, whether there is a second P-GW corresponding to the better path, and the UE and the first P- Whether the packet data network PDN connection between the GWs allows the P-GW to be redistributed;
重分配模块, 用于如果所述判断模块判断出存在更优的路径对应的第二 P-GW, 且所述 PDN连接允许 P-GW重分配, 则触发所述 UE通过所述第二 P-GW接入网络。  a redistribution module, configured to: if the determining module determines that there is a second P-GW corresponding to a better path, and the PDN connection allows P-GW to re-allocate, triggering the UE to pass the second P- The GW accesses the network.
12、 根据权利要求 11所述的装置, 其特征在于, 所述用户设备 UE与第一分组数据网关The device according to claim 11, wherein the user equipment UE and the first packet data gateway
P-GW之间的路径发生改变包括: Changes in the path between P-GWs include:
所述 UE发起位置更新、所述 UE的接入方式发生改变或所述 UE与第一 P-GW之间的分 组数据网 PDN连接对应的服务网关 S-GW发生改变。  The UE initiates a location update, the access mode of the UE changes, or the serving gateway S-GW corresponding to the packet data network PDN connection between the UE and the first P-GW changes.
13、 根据权利要求 11所述的装置, 其特征在于, 所述判断模块包括: The device according to claim 11, wherein the determining module comprises:
获取单元, 用于获取所述 UE与第一 P-GW之间的 PDN的 P-GW重分配属性; 判断单元, 用于根据所述 P-GW重分配属性判断所述 PDN连接是否允许 P-GW重分配。  An obtaining unit, configured to acquire a P-GW reallocation attribute of a PDN between the UE and the first P-GW, and a determining unit, configured to determine, according to the P-GW reallocation attribute, whether the PDN connection allows P- GW redistribution.
14、根据权利要求 13所述的装置, 其特征在于, 所述获取单元包括下列获取子单元中的 至少一个: The apparatus according to claim 13, wherein the acquisition unit comprises at least one of the following acquisition subunits:
第一获取子单元, 用于获取所述 PDN连接的接入点名称 APN属性;  a first obtaining subunit, configured to acquire an access point name APN attribute of the PDN connection;
第二获取子单元, 用于获取所述 PDN连接的数据业务状态; 和  a second obtaining subunit, configured to acquire a data service status of the PDN connection; and
第三获取子单元, 用于获取所述 PDN连接中承载的属性。  And a third obtaining subunit, configured to acquire an attribute carried in the PDN connection.
15、 根据权利要求 14所述的装置, 其特征在于, 所述判断单元包括: The device according to claim 14, wherein the determining unit comprises:
第一判断子单元,用于判断获取的所述 APN属性中是否包含 P-GW重分配指示, 且所述 指示为允许 P-GW重分配, 如果是, 则判定所述 PDN连接允许 P-GW重分配; 或者,  a first determining sub-unit, configured to determine whether the acquired APN attribute includes a P-GW re-allocation indication, and the indication is to allow P-GW to be re-allocated, and if yes, determine that the PDN connection allows P-GW Redistribution; or,
第二判断子单元, 用于判断获取的所述 APN属性中是否允许本地疏导 LBO, 如果是, 则判定所述 PDN连接允许 P-GW重分配; 或者,  a second determining sub-unit, configured to determine whether the local LBO is allowed in the acquired APN attribute, and if yes, determining that the PDN connection allows the P-GW to be re-allocated; or
第三判断子单元, 用于根据获取的所述 APN属性判断当前 APN是否为紧急 APN, 如果 不是, 则判定所述 PDN连接允许 P-GW重分配。 a third determining subunit, configured to determine, according to the obtained APN attribute, whether the current APN is an emergency APN, if If not, then it is determined that the PDN connection allows P-GW to be reallocated.
16、 根据权利要求 14所述的装置, 其特征在于, 所述判断单元包括: The device according to claim 14, wherein the determining unit comprises:
第四判断子单元, 用于判断获取的所述 PDN连接的数据业务状态是否为空闲状态, 如果 是, 则判定所述 PDN连接允许 P-GW重分配。  The fourth determining subunit is configured to determine whether the acquired data service status of the PDN connection is an idle state, and if yes, determine that the PDN connection allows the P-GW to be reassigned.
17、 根据权利要求 14所述的装置, 其特征在于, 所述判断单元包括: The device according to claim 14, wherein the determining unit comprises:
第五判断子单元, 用于根据获取的所述 PDN连接中承载的属性, 判断所述 PDN连接上 的承载是否允许 P-GW重分配, 如果是, 则判定所述 PDN连接允许 P-GW重分配。  a fifth determining subunit, configured to determine, according to the acquired attributes of the PDN connection, whether the bearer on the PDN connection allows P-GW to be reassigned, and if yes, determine that the PDN connection allows the P-GW to be heavy distribution.
18、 根据权利要求 17所述的装置, 其特征在于, 所述第五判断子单元具体用于: 判断所述承载的属性中是否包含 P-GW重分配指示, 且所述指示为允许 P-GW重分配, 如果是, 则判定所述承载允许 P-GW重分配; 或者, 判断所述承载的属性是否为保证比特率 GBR承载, 如果不是保证比特率承载, 则判定所述承载允许 P-GW重分配。 The apparatus according to claim 17, wherein the fifth determining sub-unit is specifically configured to: determine whether a P-GW reallocation indication is included in an attribute of the bearer, and the indication is to allow P- GW re-allocating, if yes, determining that the bearer allows P-GW to re-allocate; or determining whether the bearer attribute is a guaranteed bit rate GBR bearer, and if it is not a guaranteed bit rate bearer, determining that the bearer allows P- GW redistribution.
19、 根据权利要求 11所述的装置, 其特征在于, 所述重分配模块包括: The device according to claim 11, wherein the redistribution module comprises:
重分配单元, 用于通知所述 UE进行 P-GW的重分配, 使得所述 UE收到通知后, 删除 与所述第一 P-GW之间的 PDN连接, 并在与第二 P-GW之间建立 PDN连接。  a redistribution unit, configured to notify the UE to perform a P-GW re-allocation, so that after receiving the notification, the UE deletes a PDN connection with the first P-GW, and is in a second P-GW Establish a PDN connection between them.
20、 根据权利要求 19所述的装置, 其特征在于, 所述重分配单元还用于: The device according to claim 19, wherein the redistribution unit is further configured to:
如果被删除的所述 UE与第一 P-GW之间的 PDN连接上存在业务,则将该业务恢复到所 述 UE与第二 P-GW之间的 PDN连接上。  If there is a service on the PDN connection between the deleted UE and the first P-GW, the service is restored to the PDN connection between the UE and the second P-GW.
PCT/CN2010/080250 2010-12-24 2010-12-24 Method and device for reallocating packet data gateway WO2011150649A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2010/080250 WO2011150649A1 (en) 2010-12-24 2010-12-24 Method and device for reallocating packet data gateway
CN2010800033700A CN102405658B (en) 2010-12-24 2010-12-24 Method and device for reallocating packet data gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2010/080250 WO2011150649A1 (en) 2010-12-24 2010-12-24 Method and device for reallocating packet data gateway

Publications (1)

Publication Number Publication Date
WO2011150649A1 true WO2011150649A1 (en) 2011-12-08

Family

ID=45066142

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080250 WO2011150649A1 (en) 2010-12-24 2010-12-24 Method and device for reallocating packet data gateway

Country Status (2)

Country Link
CN (1) CN102405658B (en)
WO (1) WO2011150649A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869575A (en) * 2014-02-21 2015-08-26 中兴通讯股份有限公司 Optimal path establishing method, MME (Mobility Management Entity) and gateway
CN106304228A (en) * 2016-09-05 2017-01-04 广东工业大学 A kind of PGW method for handover control, system and server

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869660A (en) * 2014-02-21 2015-08-26 中兴通讯股份有限公司 Method, controller and gateway capable of ensuring continuity of business data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031842A2 (en) * 1999-10-26 2001-05-03 Telefonaktiebolaget Lm Ericsson (Publ) System and method for improved resource management in an integrated telecommunications network having a packet-switched network portion and a circuit-switched network portion
CN101552978A (en) * 2008-03-31 2009-10-07 华为技术有限公司 Method, system and device for realizing route optimization
CN101674223A (en) * 2008-09-13 2010-03-17 华为技术有限公司 Gateway equipment load processing method, network equipment and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031842A2 (en) * 1999-10-26 2001-05-03 Telefonaktiebolaget Lm Ericsson (Publ) System and method for improved resource management in an integrated telecommunications network having a packet-switched network portion and a circuit-switched network portion
CN101552978A (en) * 2008-03-31 2009-10-07 华为技术有限公司 Method, system and device for realizing route optimization
CN101674223A (en) * 2008-09-13 2010-03-17 华为技术有限公司 Gateway equipment load processing method, network equipment and network system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869575A (en) * 2014-02-21 2015-08-26 中兴通讯股份有限公司 Optimal path establishing method, MME (Mobility Management Entity) and gateway
EP3062583A4 (en) * 2014-02-21 2016-12-21 Zte Corp Method for establishing optimal path, mme and gateway, and computer storage medium
CN106304228A (en) * 2016-09-05 2017-01-04 广东工业大学 A kind of PGW method for handover control, system and server
CN106304228B (en) * 2016-09-05 2019-10-22 广东工业大学 A kind of PGW method for handover control, system and server

Also Published As

Publication number Publication date
CN102405658A (en) 2012-04-04
CN102405658B (en) 2013-12-04

Similar Documents

Publication Publication Date Title
JP7416368B2 (en) Control plane-based configuration for time-sensitive networking
AU2020244393B2 (en) Network handover method, apparatus and system
WO2018145669A1 (en) Service offloading method and apparatus
WO2019011107A1 (en) Network switching method and apparatus
JP5866132B2 (en) Method for performing detachment procedure and terminal thereof
CN106255152B (en) Assisting mobility management entity overload control functions with traffic load reduction indicators
US20100255808A1 (en) Method and apparatus for implementing emergency calls
WO2015161411A1 (en) Bearer control method and system
WO2017162121A1 (en) User plane serving gateway selection method and system
US9668176B2 (en) Method for selecting shunt gateway and controller
WO2016107404A1 (en) Traffic flow transmission path optimization method, device, and mme
JP6386554B2 (en) Apparatus, device and method for establishing connection with packet data network
WO2012024989A1 (en) Method and system for bearer release
WO2013107240A1 (en) Wireless access capability reporting method, base station and policy control method and system
WO2016000172A1 (en) Network device and method for allocating access point names
WO2010108367A1 (en) Traffic switch method, traffic information control method, corresponding equipment and system
WO2011026391A1 (en) Load reallocation method for serving gateway, system and serving gateway
WO2015100553A1 (en) Method and device for judging service continuity
US10542467B2 (en) Method and device for establishing a bearer
WO2016165307A1 (en) Method for deciding quality of service (qos), network side network element and system
US11303761B2 (en) Service data flow processing method and related device
WO2011150649A1 (en) Method and device for reallocating packet data gateway
WO2019029228A1 (en) Method and device for processing voice service, and storage medium
WO2011140707A1 (en) Method and system for traffic offload, and policy and charging rule function entity
WO2013170437A1 (en) Method and device for removing policy and charging control rule on default bearer

Legal Events

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

Ref document number: 201080003370.0

Country of ref document: CN

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

Ref document number: 10852444

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

Country of ref document: EP

Kind code of ref document: A1