WO2009129697A1 - A method and apparatus for deleting the control plane tunnel - Google Patents

A method and apparatus for deleting the control plane tunnel Download PDF

Info

Publication number
WO2009129697A1
WO2009129697A1 PCT/CN2009/000443 CN2009000443W WO2009129697A1 WO 2009129697 A1 WO2009129697 A1 WO 2009129697A1 CN 2009000443 W CN2009000443 W CN 2009000443W WO 2009129697 A1 WO2009129697 A1 WO 2009129697A1
Authority
WO
WIPO (PCT)
Prior art keywords
gtp
tunnel
serving gateway
address
teid
Prior art date
Application number
PCT/CN2009/000443
Other languages
French (fr)
Chinese (zh)
Inventor
熊春山
沈宇希
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2009129697A1 publication Critical patent/WO2009129697A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for deleting a control plane tunnel. Background technique
  • GTPvl General Packet Radio Service tunneling protocol
  • GTP-C General Packet Radio Service Tunneling Protocol Control Plane
  • GTPvl For GTPvl, between the SGSN and the GGSN, there is only one GTP-C for an Access Point Name (APN, Access Point Name) and a User Data (PDP, Packet Data Protocol) address of the User Equipment (UE, User Equipment). Tunnel connection.
  • APN Access Point Name
  • PDP Packet Data Protocol
  • UE User Equipment
  • Tunnel connection For a user terminal (UE), if there is a GTP-C tunnel connection between the SGSN and the SGSN, there can only be one GTP-C tunnel at the same time.
  • the GTP-C tunnel between the SGSN and the GGSN manages the GTP User Plane (GTP-U) tunnel corresponding to the same APN and the PDP Context of the PDP address of the UE.
  • GTP-U GTP User Plane
  • a GTP-C tunnel connection is established between the SGSN and the SGSN only during the context request (Context Request) process and the Forward Relocation process.
  • the traditional 2G/3G does not have the function of the Internet Protocol (IP) always-on, and the establishment of the packet data protocol context (PDP Context) and the establishment of the second packet data protocol context (second PDP Context) by the UE are only
  • the GGSN is allowed to initiate the establishment of the Second PDP Context, and the GGSN is not allowed to initiate the establishment of the PDP Context.
  • IP Internet Protocol
  • the UE initiates the establishment of a PDP Context
  • a GTP-C tunnel connection is established between the SGSN and the GGSN, and a GTP-U tunnel is established for the PDP Context.
  • the corresponding GTP-U tunnel is also deleted.
  • the GTP-C tunnel cannot be deleted;
  • the corresponding GTP-C tunnel must also be retained and cannot be deleted.
  • the SGSN sends a Create PDP Context Request message to the GGSN, if the SGSN has previously assigned a Tunnel End Point Identifier (TEID) to the GTP-C tunnel of the GGSN, The GGSN confirms that the SGSN is not allowed to carry the TEID in this message; otherwise, the SGSN allocates a TEID and is included in this message.
  • TEID Tunnel End Point Identifier
  • the GGSN responds to the SGSN with a Create PDP Context Response message, the same principle is followed. If the GGSN has previously assigned the TEID to the GTP-C tunnel of the SGSN and is confirmed by the SGSN, The GGSN is not allowed to carry the TEID in this message; otherwise, the GGSN allocates a TEID and is included in this message.
  • the TEID used by the GGSN to send the GTP header of the GTP message must be the TEID assigned by the SGSN; otherwise, it must be used.
  • the protocol TS29.060 does not indicate that when the UE shares the same PDP address and all PDP Contexts of the APN are deleted, its corresponding GTP-C tunnel must be deleted.
  • the GTP-C tunnel between the GGSN and the SGSN is deleted as follows: An explicit method is to update the Packet Data Protocol Context (Update PDP Context) procedure, and the GGSN assigns the IP address of the GTP-C tunnel to the old SGSN.
  • the TEID continues to be used by the new SGSN.
  • the old SGSN deletes the context (Context) of the UE by receiving the Cancel Location from the Home Subscriber Server (HSS, Home Subscriber Server), it will be assigned to the GGSN.
  • the IP address of the GTP-C tunnel is released with the TEID.
  • Another non-ambiguous method is that when the UE is detached, the SGSN releases the IP address and TEID of the originally assigned GTP-C tunnel to the GGSN. How does the GGSN release the IP of the originally assigned GTP-C tunnel to the SGSN? The address and TEID are not defined in TS29.060.
  • the new core network architecture is adopted, and the GTPv2 protocol is decided to be used in the EPS system, including the SGSN, Serving GW (Serving Gateway), and mobility management entity.
  • MME Mobility Management Entity
  • PDN GW Packet Data Network Gateway
  • S3, S4, S5, S8, S10, S11 interface uses GTPv2 protocol
  • S8 is S5 roaming interface .
  • whether there is an interface between the SGSN and the PDN GW and whether to use the GTPv2 protocol is not determined; likewise, whether there is an interface between the Serving GW and the GGSN and whether the GTPv2 protocol is used or not is also determined; and, currently, the SGSN and the GGSN The GTPvl protocol is used between them. In the future 3GPP versions, whether or not the GTPv2 protocol will be used is also undetermined.
  • the EPS system is a new type of 3GPP system. It is a big difference from the traditional 2G/3G system. It supports IP always online, that is, once the UE registers with the EPS system, the system assigns an IP address to the UE. And activate an EPS bearer (EPS Bearer).
  • EPS Bearer EPS bearer
  • the EPS system there is only one GTP-C tunnel connection between the SGSN and the Serving GW for one UE, and there is only one GTP-C tunnel connection between the MME and the Serving GW.
  • the embodiment of the present invention provides a method for deleting a control plane tunnel, which is used to delete a GTP-C tunnel between an SGSN and a Serving GW, between an MME and a Serving GW, and between a Serving GW and a PDN GW.
  • An embodiment of the present invention provides a method for deleting a control plane tunnel, including: Detecting the number of bearers managed by a general packet radio service tunneling protocol control plane (GTP-C) tunnel between the local network entity and the peer network entity;
  • GTP-C general packet radio service tunneling protocol control plane
  • IP Internet Protocol
  • TEID Tunnel Endpoint Identifier
  • An embodiment of the present invention further provides an apparatus for deleting a control plane tunnel, including:
  • a detecting unit configured to detect a number of bearers managed by a general packet radio service tunnel protocol control plane (GTP-C) tunnel connected to the local network entity;
  • GTP-C general packet radio service tunnel protocol control plane
  • a release unit configured to release an Internet Protocol (IP) address and a Tunnel Endpoint Identifier (TEID) allocated by the local network entity to the GTP-C tunnel when the number of the bearers changes from greater than zero to zero.
  • IP Internet Protocol
  • TEID Tunnel Endpoint Identifier
  • the embodiment of the invention further provides a service gateway, including:
  • a first release unit configured to release, when the serving gateway detects that an ISR function of a user terminal (UE) is activated, and the serving gateway releases an IP address and a TEID of all GTP-C tunnels with all PDN gateways IP address and TEID of all GTP-C tunnels between the MME and the SGSN;
  • a second release unit configured to release, when the serving gateway detects that an ISR function of the user terminal (UE) is activated, and the serving gateway releases an IP address and a TEID of all GTP-C tunnels between the MME and the SGSN, IP address and TEID of all GTP-C tunnels with all PDN gateways;
  • a third release unit configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and the TEID of all the GTP-C tunnels between all the PDN gateways, IP address and TEID of the GTP-C tunnel with the MME or SGSN;
  • a fourth release unit configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and TEID of the GTP-C tunnel between the MME or the SGSN, release IP address and TEID of all GTP-C tunnels between all PDN gateways.
  • the number of bearers managed by a general packet radio service tunneling protocol control plane (GTP-C) tunnel between the local network entity and the peer network entity is detected, when the number of the bearers changes from greater than zero.
  • GTP-C general packet radio service tunneling protocol control plane
  • IP Internet Protocol
  • TEID Tunnel Endpoint Identifier
  • FIG. 1 is a structural view of an EPS system in the prior art
  • FIG. 2 is a schematic diagram of a method for deleting a GTP-C tunnel according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for deleting a GTP-C tunnel in a network entity handover process according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of an apparatus for deleting a GTP-C tunnel in an embodiment of the present invention. detailed description
  • the user mobility control management entity includes an MME and an SGSN.
  • a PDN connection refers to a collection of all EPS bearers of the UE that use the same APN and the same IP address.
  • An IP address is an IPv4 address, an IPv6 address, or an IPv4 and IPv6 dual address.
  • the EPS session management context (ESM Context, EPS Session Management Context) refers to the session management context (SM Context, Session Management Context) used by the SGSN and the Serving GW, and also refers to the ESM Context used by the MME, the Serving GW, and the PDN GW. That is to say, the ESM Context is not specifically different from the SM Context.
  • An embodiment of the present invention provides a method for deleting a control plane tunnel, including: detecting a general packet radio service tunnel protocol control plane between a local network entity and a peer network entity.
  • GTP-C The number of bearers managed by the tunnel. When the number of bearers changes from greater than zero to zero, the Internet Protocol (IP) address assigned to the GTP-C tunnel and the tunnel endpoint are released. Identification (TEID).
  • IP Internet Protocol
  • the IP addresses and TEIDs of all GTP-C tunnels connected to the local network entity are released. There is no need to notify the tunnel peer network entity.
  • the embodiment of the present invention can be applied to any two network entities in the EPS system that manage the bearer through the GTP-C tunnel, that is, when the local network entity is the MME, the peer network entity is the Serving GW; or when the local network is When the entity is Serving GW, the peer network entity is the MME; or When the local network entity is the SGSN, the peer network entity is the Serving GW; or when the local network entity is the Serving GW, the peer network entity is the SGSN; or when the local network entity is the Serving GW, the peer network entity is PDN GW; or when the local network entity is the PDN GW, the peer network entity is the Serving GW.
  • the bearer is 7 bearers corresponding to an EPS packet bearer context (EPS Bearer Context) or a packet data protocol context (PDP Context), and one bearer corresponds to a packet radio service tunneling protocol user plane (GTP-U) tunnel.
  • EPS Bearer Context EPS Bearer Context
  • PDP Context packet data protocol context
  • GTP-U packet radio service tunneling protocol user plane
  • the GTP-C tunnel corresponding to the S4 interface in FIG. 1, for one UE, when all the EPS Bearer Contexts of the UEs stored by the SGSN and the Serving GW are deleted, or the ESM Context of the UE is deleted, that is, the GTP between the SGSN and the Serving GW.
  • the SGSN and the Serving GW release the IP address and TEID of the GTP-C tunnel between the SGSN and the Serving GW, respectively, without notifying the other party.
  • the MME and the Serving GW store all the EPS Bearer Contexts of the UE or the ESM Context of the UE is deleted, that is, the GTP-C between the MME and the Serving GW.
  • the MME and the Serving GW release the IP addresses and TEIDs of the GTP-C tunnel between the MME and the Serving GW, respectively, without notifying the other party.
  • the specific implementation steps of the GTP-C tunnel deletion method are as follows:
  • step 201 the network entity A and the other network entities establish a GTP-C tunnel connection for the UE, where:
  • Network entity A and network entity B establish a GTP-C tunnel connection for the UE; 201b.
  • Network entity A and network entity C establish a GTP-C tunnel connection for the UE.
  • step 202 when some or all EPS Bearer Contexts of the UE stored by the network entity are deleted or the ESM Context of the UE is deleted, that is, the number of bearers managed by one or all GTP-C tunnels connected to the network entity is from When greater than zero becomes zero, the network entity releases the IP address and TEID of the one or all GTP-C tunnels. details as follows: 202a.
  • the network entity A releases all the IP addresses and TEIDs of all the established GTP-C tunnels, that is, the network entity A is released.
  • the IP address and the TEID of the GTP-C tunnel established for the UE are not required to notify the peer node of the tunnel, that is, the network entity B, and the network entity A releases the IP address of the GTP-C tunnel established for the UE in step 201b.
  • TEID there is no need to notify the peer node of the tunnel, ie network entity C.
  • the network entity B releases all the IP addresses and TEIDs of all the established GTP-C tunnels, that is, the network entity B is released.
  • the IP address and TEID of the GTP-C tunnel established by the UE are not required to notify the peer node of the tunnel, that is, the network entity A.
  • the network entity C releases all the IP addresses and TEIDs of all the established GTP-C tunnels, that is, the network entity C is released.
  • the IP address and TEID of the GTP-C tunnel established for the UE are not required to notify the peer node of the tunnel, that is, the network entity A.
  • the network entity A releases the IP address and TEID of the GTP-C tunnel established for the UE in step 201a without notifying the peer node of the tunnel, that is, the network entity B.
  • the network entity A retains the IP address and TEID of the GTP-C tunnel established for the UE in step 201b without notifying the peer node of the tunnel, that is, the network entity C.
  • the network entity A releases the IP address and TEID of the GTP-C tunnel established for the UE in step 201b without notifying the peer node of the tunnel, that is, the network entity C.
  • the network entity A retains the IP address and TEID of the GTP-C tunnel established for the UE in step 201a without notifying the peer node of the tunnel, that is, the network entity B.
  • the EPS Bearer Context and the ESM Context of the UE stored by the old network entity are deleted, and the EPS Bearer Context and the ESM Context of the UE stored by other network entities connected thereto still exist, and therefore, the network entity that is not relocated
  • the new GTP-C tunnel connection is still established with the new network entity using the IP address of the assigned GTP-C tunnel and the TEID, while the old network entity releases the IP of all GTP-C tunnels it has allocated for this UE. Address and TEID. As shown in FIG.
  • the UE accesses a PDN through the old Serving GW and the PDN GW. Then, the MME does not change and the handover procedure of the Serving GW relocation is performed, and the UE continues to access the original PDN through the new Serving GW and the PDN GW.
  • the specific implementation process is as follows:
  • Step 301 After the UE registers with the MME and activates the EPS Bearer, the UE accesses a PDN through the old Serving GW and the PDN GW. This process is specifically:
  • the MME establishes a GTP-C tunnel with the old Serving GW.
  • the old Serving GW and the PDN GW have established a GTP-C tunnel.
  • step 302 the MME is unchanged, and the handover procedure of the Serving GW relocation is performed. During the handover, the UE switches from the old Serving GW to the new Serving GW.
  • Step 303 The new Serving GW establishes a GTP-C tunnel with the MME and the PDN GW, respectively.
  • the MME since the MME has not changed, and the EPS Bearer Context or ESM Context of the UE stored by the MME is not deleted, the MME does not release the IP address of the GTP-C tunnel allocated to the UE between the old Serving GW and the UE.
  • the TEID With the TEID, these two parameters are respectively used to establish a GTP-C tunnel with the new Serving GW for this UE, that is, step 303a is performed.
  • the EPS Bearer Context or ESM Context of the UE stored in the PDN GW is not deleted, so the PDN GW does not release the IP address and TEID of the GTP-C tunnel allocated to the UE with the old Serving GW.
  • the parameters are respectively used to establish a GTP-C tunnel with the new Serving GW for this UE, that is, step 303b is performed.
  • Step 304 All EPS Bearer Context or ESM Context of the UE stored by the old Serving GW is deleted.
  • Step 305 the old Serving GW release is separated from the MME and all PDN GWs for the UE. IP address and TEID of all GTP-C tunnels.
  • one PDN GW may support multiple APNs, and for the same APN, the PDN GW may assign an IPv4 address, or an IPv6 address, or an IPv4 and an IPv6 address to the UE. (ie assign two IP addresses at the same time).
  • the PDN GW may assign an IPv4 address, or an IPv6 address, or an IPv4 and an IPv6 address to the UE. (ie assign two IP addresses at the same time).
  • the process of deleting the GTP-C tunnel between the PDN GW and the Serving GW includes:
  • the PDN GW releases the IP address and TEID assigned to the GTP-C tunnel, and the reservation The IP address and TEID of other GTP-C tunnels between the PDN GW and the Serving GW.
  • the Serving GW releases the IP address and TEID assigned to the GTP-C tunnel, and the reservation The IP address and TEID of other GTP-C tunnels between the Serving GW and the PDN GW.
  • the GTP-C tunnel between the PDN GW and the Serving GW includes at least two, the entire EPS Bearer Context of the UE managed by any GTP-C tunnel between the PDN GW and the Serving GW is deleted, that is, the GTP-C
  • the PDN GW releases the IP address and TEID allocated to the GTP-C tunnel, and retains the IP of other GTP-C tunnels between the PDN GW and the Serving GW. Address and TEID.
  • the GTP-C tunnel between the Serving GW and the PDN GW includes at least two, the entire EPS Bearer Context of the UE managed by any GTP-C tunnel between the Serving GW and the PDN GW is deleted, that is, the GTP-C
  • the Serving GW releases the IP address and TEID allocated to the GTP-C tunnel, and retains the IP of other GTP-C tunnels between the Serving GW and the PDN GW. Address and TEID.
  • All EPS Bearer Contexts of all GTP-C tunnel managed UEs between the Serving GW and all PDN GWs are deleted, and the Serving GW releases GTP-C between all PDN GWs.
  • the Serving GW detects that the Idle State Signalling Reduction (ISR) function of the UE is not activated or deactivated, that is, when the Serving GW detects that the ISR function of the UE is disabled, Serving The GW releases the IP address and TEID of the GTP-C tunnel connected to the MME or the SGSN.
  • ISR Idle State Signalling Reduction
  • the Serving GW When the Serving GW detects that the ISR function of the UE is not activated or deactivated, after the Serving GW releases the IP address and TEID of the GTP-C tunnel connected to the MME or the SGSN, the Serving GW releases the GTP between the Serving GW and all PDN GWs. IP address and TEID of the C tunnel.
  • Another embodiment of the present invention is applied to an EPS system in which the ISR function of the UE is activated.
  • the UE's ISR function When the UE's ISR function is activated, the UE simultaneously registers with the Universal Terrestrial Radio Access Network (UT AN), GSM/EDGE Radio Access Network (GERAN, GSM/EDGE Radio Access Network) and evolution.
  • the E-TURAN (Evolved Universal Terrestrial Radio Access Network) access system corresponds to the user mobility control management entity, that is, simultaneously registered to the SGSN and the MME.
  • the UE When the UE is in an idle state, the UE does not need to perform general routing area update or general when it moves in the routing area (RA, Routing Area) allocated by the SGSN to the UE and the tracking list (TA List, Tracking Area List) allocated by the MME to the UE. Track area update operation.
  • RA routing area
  • TA List Tracking Area List
  • the Serving GW detects that the ISR function of the user terminal (UE) is activated, there is a GTP-C tunnel between the MME and the Serving GW, and a GTP-C tunnel between the SGSN and the Serving GW, when the Serving GW is in the Serving GW.
  • the Serving GW releases the IP address and TEID of the GTP-C tunnel between the Serving GW and the MME, and retains the GTP between the Serving GW and the SGSN.
  • the Serving GW releases the IP address and TEID of the GTP-C tunnel between the Serving GW and the SGSN. Retaining the IP address and TEID of the GTP-C tunnel between the Serving GW and the MME, and retaining the service gateway and all IP address and TEID of all GTP-C tunnels between PDN GWs.
  • the specific process is as follows:
  • the Serving GW receives all the EPSs sent by the MME or the SGSN to delete the UE.
  • the Serving GW requests the MME or the SGSN to delete all EPS Bearers of the UE
  • the Serving GW releases the IP address and TEID assigned to the GTP-C tunnel between itself and the MME or SGSN.
  • the Serving GW because the Serving GW further stores an ESM Context or an EPS Bearer Context of a UE related to the SGSN or the MME, the Serving GW does not release the IP address of the GTP-C tunnel allocated to the SGSN or the MME. TEID. And because the Serving GW also stores all GTP-C tunnel managed ESM Context or EPS Bearer Context with all PDN GWs, the serving gateway does not release the IP addresses of all GTP-C tunnels with all PDN GWs. With TEID.
  • the MME When the SGSN, the MME, and the Serving GW activate the ISR function of the UE, there is a GTP-C tunnel connection between the SGSN and the Serving GW, between the MME and the Serving GW, and between the PDN GW and the Serving GW;
  • the MME marks the UE as a detached state, and the ESM Context or all EPS Bearer Contexts of the UE are deleted on the MME, and the Serving GW is requested to delete all EPS Bearer Contexts of the UE, at this time, because Serving GW It is detected that the ISR function of the UE has been activated, so the Serving GW only deletes all EPS Bearer Contexts of the UE related to the MME, instead of deleting all EPS Bearer Contexts or ESM Contexts of the entire UE, that is, the Serving GW will also retain the SGSN.
  • the Serving GW will release the IP address and TEID of the GTP-C tunnel allocated to the MME for the UE. After the MME receives the response message of the Serving GW to delete the EPS Bearer Context, the MME releases the allocation allocated for the UE. IP address and TEID of the GTP-C tunnel between Serving GWs.
  • the Serving GW requests to delete all EPS Bearer Contexts of the UE from the two user mobility control entities MME and SGSN of the UE, it is obvious that the Serving GW will release the GTP between the MME and the SGSN. The IP address and TEID of the C tunnel. At the same time, the Serving GW also deletes all EPS Bearer Contexts of the UE, that is, the ESM Context is also deleted. At this time, the Serving GW will also release all GTP-C tunnels with all PDN GWs. IP address and TEID.
  • the Serving GW releases the MME and the allocated MME for the UE. IP address and TEID of the GTP-C tunnel between SGSNs.
  • the specific process may be as follows: After the Serving GW completes the request of the PDN GW to delete the EPS Bearer Context of the UE, if the EPS Bearer Context is deleted, the Serving GW finds that the UE does not have an EPS Bearer Context or an ESM Context, and is deleted.
  • the EPS Bearer Context is the last EPS Bearer Context of the UE, and the Serving GW releases the IP address and TEID of the GTP-C tunnel between the last Serving GW and the PDN GW, and the Serving GW releases the MME and the assigned to the UE. IP address and TEIDo of the GTP-C tunnel between SGSNs
  • the method described in the embodiment of the present invention can still be applied to these interfaces.
  • the embodiment of the present invention further provides an apparatus for deleting a control plane tunnel.
  • the structure thereof is shown in FIG. 4, and includes: a detecting unit 100 and a releasing unit 200.
  • the detecting unit 100 is configured to detect a number of bearers managed by a general packet radio service tunnel protocol control plane (GTP-C) tunnel connected to the local network entity;
  • GTP-C general packet radio service tunnel protocol control plane
  • the releasing unit 200 is configured to release the local network when the number of the bearers changes from greater than zero to zero.
  • IP Internet Protocol
  • TEID Tunnel Endpoint Identifier assigned by the entity to the GTP-C tunnel.
  • the detecting unit 100 includes: a first detecting subunit 110, a second detecting subunit 120, a third detecting subunit 130, and a fourth detecting subunit 140.
  • the first detecting sub-unit 110 is configured to detect the number of loads managed by a GTP-C tunnel connected to the MME.
  • the second detecting sub-unit 120 is configured to detect the number of loadings managed by a GTP-C tunnel connected to the SGSN.
  • the third detecting sub-unit 130 is configured to detect the number of bearers managed by one GTP-C tunnel connected to the Serving GW.
  • the fourth detecting subunit 140 is configured to detect the number of 7
  • the release unit 200 further includes: a first release subunit 210, a second release subunit 220, a third release subunit 230, and a fourth release subunit 240.
  • a first release subunit 210 configured to release an IP address allocated by the MME to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the MME is changed from greater than zero to zero With TEID.
  • a second release subunit 220 configured to release an IP address allocated by the SGSN to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the SGSN changes from greater than zero to zero With TEID.
  • a third release subunit 230 configured to release, when the number of bearers managed by one GTP-C tunnel connected to the Serving GW changes from greater than zero to zero, release the Serving GW to allocate to the GTP-C tunnel IP address and TEID.
  • a fourth release subunit 240 configured to release, when the number of bearers managed by one GTP-C tunnel connected to the PDN GW changes from greater than zero to zero, release the PDN GW to be allocated to the GTP-C tunnel IP address and TEID.
  • the embodiment of the invention also discloses a service gateway, including:
  • a first release unit configured to: when the serving gateway detects that an ISR function of a user terminal (UE) is When activated, and the service gateway releases the IP address and TEID of all GTP-C tunnels with all PDN gateways, the IP address and TEID of all GTP-C tunnels between the MME and the SGSN are released.
  • UE user terminal
  • a second release unit configured to: when the serving gateway detects that an ISR function of the user terminal (UE) is activated, and the serving gateway releases an IP address and a TEID of all GTP-C tunnels between the MME and the SGSN, releasing All GTP-C P lost IP addresses and TEIDs between all PDN gateways.
  • a third release unit configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and the TEID of all the GTP-C tunnels with all the PDN gateways, IP address and TEID of the GTP-C tunnel with the MME or SGSN.
  • a fourth release unit configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and the TEID of the GTP-C tunnel between the MME or the SGSN, release IP address and TEID of all GTP-C tunnels between all PDN gateways.
  • the embodiment of the present invention detects the number of bearers managed by a general packet radio service tunneling protocol control plane (GTP-C) tunnel between the local network entity and the peer network entity, when the number of the bearers changes from greater than zero to zero.
  • GTP-C general packet radio service tunneling protocol control plane
  • IP Internet protocol GTP-C tunnel

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for deleting the control plane tunnel is used to delete the General Packet Radio Service Tunnelling Protocol-Control plane (GTP-C) tunnel which is between the network entities. The method includes: detecting the number of the bearers managed by a GTP-C tunnel which is between a local network entity and an opposite network entity, when the number of the bearers changes from bigger than zero to zero, releasing the Internet Protocol (IP) address and the Tunnel Endpoint Identifier (TEID) of the GTP-C tunnel allocated by the local network entity. Additionally, an apparatus for deleting the control plane tunnel and a serving gateway are also provided.

Description

一种删除控制平面隧道的方法及装置  Method and device for deleting control plane tunnel
技术领域 Technical field
本发明涉及无线通信技术领域, 尤其涉及一种删除控制平面隧道的方法 及装置。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for deleting a control plane tunnel. Background technique
在传统的第二代 /第三代移动通信标准 (2G/3G ) 系统的分组交换(PS , Packet Switch )域中 ,使用的是通用分组无线业务( GPRS, General Packet Radio Service )隧道协议( GTPvl或 GTPvO ), 并且只有两个接口有通用分组无线业 务隧道协议控制平面( GTP-C )隧道连接,一个是服务 GPRS支持节点( SGSN, Serving GPRS Support Node )与网关 GPRS支持节点( GGSN, Gateway GPRS Support Node )之间, 一个是 SGSN与 SGSN之间。 对于 GTPvl , SGSN与 GGSN之间, 对于一个接入点名字( APN, Access Point Name )与一个用户终 端 (UE, User Equipment ) 的分组数据协议 ( PDP, Packet Data Protocol )地 址, 只有一个 GTP-C隧道连接。 对于一个用户终端(UE )而言, 若 SGSN与 SGSN之间有 GTP-C隧道连接, 则在同一个时刻只能有一个 GTP-C隧道。 在 SGSN与 GGSN之间的 GTP-C隧道管理相同的 APN及 UE的 PDP地址的分 组数据协议上下文 ( PDP Context ) 所对应的 GTP用户平面 ( GTP-U ) 隧道。 SGSN与 SGSN之间只有在上下文请求( Context Request )过程及前转重定位 ( Forward Relocation ) 过程中才建立一个 GTP-C隧道连接。  In the packet switching (PS, Packet Switch) domain of the traditional second-generation/third-generation mobile communication standard (2G/3G) system, the General Packet Radio Service (GPRS) tunneling protocol (GTPvl) is used. Or GTPvO), and only two interfaces have a General Packet Radio Service Tunneling Protocol Control Plane (GTP-C) tunnel connection, one is a Serving GPRS Support Node (SGSN) and a Gateway GPRS Support Node (GGSN, Gateway GPRS) Between the Support Nodes, one is between the SGSN and the SGSN. For GTPvl, between the SGSN and the GGSN, there is only one GTP-C for an Access Point Name (APN, Access Point Name) and a User Data (PDP, Packet Data Protocol) address of the User Equipment (UE, User Equipment). Tunnel connection. For a user terminal (UE), if there is a GTP-C tunnel connection between the SGSN and the SGSN, there can only be one GTP-C tunnel at the same time. The GTP-C tunnel between the SGSN and the GGSN manages the GTP User Plane (GTP-U) tunnel corresponding to the same APN and the PDP Context of the PDP address of the UE. A GTP-C tunnel connection is established between the SGSN and the SGSN only during the context request (Context Request) process and the Forward Relocation process.
传统的 2G/3G不具有网际协议( IP , Internet Protocol )永远在线的功能, 并且由 UE发起分组数据协议上下文(PDP Context ) 的建立与第二分组数据 协议上下文( Second PDP Context ) 的建立, 只允许 GGSN发起 Second PDP Context的建立, 不允许 GGSN发起 PDP Context的建立。 这样, 当 UE发起 一个 PDP Context的建立时, SGSN与 GGSN之间建立一个 GTP-C隧道连接, 同时为此 PDP Context建立一个 GTP-U隧道,当后来此 PDP Context被删除时, 则对应的 GTP-U隧道也被删除, 根据协议 TS29.060 , 当 GTP-C隧道所管理 的所有 GTP-U隧道都被删除时, 此 GTP-C隧道不可以被删除; 当 UE的共用 同一个 PDP地址与 APN的所有 PDP Context被删除时, 其对应的 GTP-C隧 道还必须要保留, 不能被删除。 当 SGSN向 GGSN发送建立分组数据协议上 下文请求 ( Create PDP Context Request ) 消息时, 若此前 SGSN为此 UE分配 过隧道端点标识 (TEID, Tunnel End Point Identifier )给到 GGSN的 GTP-C 隧道, 并被 GGSN确认,则 SGSN在此消息中不允许携带 TEID; 否则, SGSN 分配一个 TEID, 并包含在此消息中。 另夕卜, 若此前此 GGSN为此 UE分配过 TEID给到 SGSN的 GTP-C隧道, 并被 SGSN确认, 则 SGSN发送此 GTP消 息的 GTP头所使用的 TEID必须是 GGSN分配的 TEID; 否则 TEID=0。 当 GGSN 向 SGSN 回应建立分组数据协议上下文响应 (Create PDP Context Response ) 消息时, 也遵循相同的道理, 若此前 GGSN为此 UE分配过 TEID 给到 SGSN的 GTP-C隧道, 并被 SGSN确认, 则 GGSN在此消息中不允许携 带 TEID; 否则, GGSN分配一个 TEID, 并包含在此消息中。 另外, 若此前 此 SGSN为此 UE分配过 TEID给到 GGSN的 GTP-C隧道,并被 GGSN确认, 则 GGSN发送此 GTP 消息的 GTP头所使用的 TEID必须是 SGSN分配的 TEID;否则 ,必须使用 SGSN在 Create PDP Context Request中所包含的 TEID。 另外, 协议 TS29.060没有指出当 UE的共用同一个 PDP地址与 APN的所有 PDP Context被删除时, 其对应的 GTP-C隧道必须要删除。 也就是说, 当 UE 的共用同一个 PDP地址与 APN 的所有 PDP Context 被删除时, 其对应的 GTP-C隧道还必须要保留。主要的原因是 UE在后面还可能重新建立一个 PDP Gontext。 The traditional 2G/3G does not have the function of the Internet Protocol (IP) always-on, and the establishment of the packet data protocol context (PDP Context) and the establishment of the second packet data protocol context (second PDP Context) by the UE are only The GGSN is allowed to initiate the establishment of the Second PDP Context, and the GGSN is not allowed to initiate the establishment of the PDP Context. In this way, when the UE initiates the establishment of a PDP Context, a GTP-C tunnel connection is established between the SGSN and the GGSN, and a GTP-U tunnel is established for the PDP Context. When the PDP Context is deleted later, The corresponding GTP-U tunnel is also deleted. According to the protocol TS29.060, when all the GTP-U tunnels managed by the GTP-C tunnel are deleted, the GTP-C tunnel cannot be deleted; When a PDP address and all PDP Contexts of the APN are deleted, the corresponding GTP-C tunnel must also be retained and cannot be deleted. When the SGSN sends a Create PDP Context Request message to the GGSN, if the SGSN has previously assigned a Tunnel End Point Identifier (TEID) to the GTP-C tunnel of the GGSN, The GGSN confirms that the SGSN is not allowed to carry the TEID in this message; otherwise, the SGSN allocates a TEID and is included in this message. In addition, if the GGSN has previously assigned the TEID to the GTP-C tunnel of the SGSN and is confirmed by the SGSN, the TEID used by the SGSN to send the GTP header of the GTP message must be the TEID allocated by the GGSN; otherwise, the TEID =0. When the GGSN responds to the SGSN with a Create PDP Context Response message, the same principle is followed. If the GGSN has previously assigned the TEID to the GTP-C tunnel of the SGSN and is confirmed by the SGSN, The GGSN is not allowed to carry the TEID in this message; otherwise, the GGSN allocates a TEID and is included in this message. In addition, if the SGSN has previously assigned the TEID to the GTP-C tunnel of the GGSN for the UE and is confirmed by the GGSN, the TEID used by the GGSN to send the GTP header of the GTP message must be the TEID assigned by the SGSN; otherwise, it must be used. The TEID contained in the Create PDP Context Request by the SGSN. In addition, the protocol TS29.060 does not indicate that when the UE shares the same PDP address and all PDP Contexts of the APN are deleted, its corresponding GTP-C tunnel must be deleted. That is to say, when the same PDP address shared by the UE and all PDP Contexts of the APN are deleted, the corresponding GTP-C tunnel must also be reserved. The main reason is that the UE may later re-establish a PDP Gontext.
目前, 删除 GGSN与 SGSN之间的 GTP-C隧道有如下方法: 一个明确的 方法是更新分组数据协议上下文( Update PDP Context )过程, GGSN将分配 给旧的 SGSN的 GTP-C隧道的 IP地址与 TEID继续给新的 SGSN使用 , 而旧 的 SGSN因从家乡用户服务器( HSS, Home Subscriber Server )收到取消登陆 ( Cancel Location )而删除 UE的上下文( Context )时,将原来分配的到 GGSN 的 GTP-C隧道的 IP地址与 TEID释放。 另一个非明确的方法是当 UE被去附 着时, SGSN将原来分配的到 GGSN的 GTP-C隧道的 IP地址与 TEID释放, 此时 GGSN如何释放原来分配的到 SGSN的 GTP-C隧道的 IP地址与 TEID没 有在 TS29.060中定义。 Currently, the GTP-C tunnel between the GGSN and the SGSN is deleted as follows: An explicit method is to update the Packet Data Protocol Context (Update PDP Context) procedure, and the GGSN assigns the IP address of the GTP-C tunnel to the old SGSN. The TEID continues to be used by the new SGSN. When the old SGSN deletes the context (Context) of the UE by receiving the Cancel Location from the Home Subscriber Server (HSS, Home Subscriber Server), it will be assigned to the GGSN. The IP address of the GTP-C tunnel is released with the TEID. Another non-ambiguous method is that when the UE is detached, the SGSN releases the IP address and TEID of the originally assigned GTP-C tunnel to the GGSN. How does the GGSN release the IP of the originally assigned GTP-C tunnel to the SGSN? The address and TEID are not defined in TS29.060.
在演进分组系统 ( EPS, Evolved Packet System ) 中, 釆用新的核心网体 系结构,并决定使用 GTPv2协议,在 EPS系统中,包括 SGSN,服务网关( Serving GW, Serving Gateway ),移动性管理实体( MME, Mobility Management Entity ), 分组数据网网关 ( PDN GW, Packet Data Network Gateway ) , 如图 1所示, S3, S4, S5, S8, S10, Sll接口使用 GTPv2协议, S8是 S5的漫游接口。 另夕卜, 目前 SGSN与 PDN GW之间是否有接口以及是否使用 GTPv2协议没有确定; 同样地, Serving GW与 GGSN之间是否有接口以及是否使用 GTPv2协议也没 有确定;还有, 目前 SGSN与 GGSN之间是使用 GTPvl协议,在以后的 3GPP 版本中, 是否会使用 GTPv2协议也没有确定。  In the Evolved Packet System (EPS), the new core network architecture is adopted, and the GTPv2 protocol is decided to be used in the EPS system, including the SGSN, Serving GW (Serving Gateway), and mobility management entity. (MME, Mobility Management Entity), Packet Data Network Gateway (PDN GW), as shown in Figure 1, S3, S4, S5, S8, S10, S11 interface uses GTPv2 protocol, S8 is S5 roaming interface . In addition, whether there is an interface between the SGSN and the PDN GW and whether to use the GTPv2 protocol is not determined; likewise, whether there is an interface between the Serving GW and the GGSN and whether the GTPv2 protocol is used or not is also determined; and, currently, the SGSN and the GGSN The GTPvl protocol is used between them. In the future 3GPP versions, whether or not the GTPv2 protocol will be used is also undetermined.
EPS系统是一种新型的 3GPP系统, 它同传统的 2G/3G系统的一个很大 的区别是支持 IP永远在线, 也就是一旦当 UE注册到 EPS系统中, 系统就分 配一个 IP地址给此 UE并激活一个 EPS承载 ( EPS Bearer )。  The EPS system is a new type of 3GPP system. It is a big difference from the traditional 2G/3G system. It supports IP always online, that is, once the UE registers with the EPS system, the system assigns an IP address to the UE. And activate an EPS bearer (EPS Bearer).
在 EPS系统中, 对于一个 UE , 在 SGSN与 Serving GW之间只有一个 GTP-C 隧道连接, MME与 Serving GW之间也只有一个 GTP-C隧道连接。 Serving GW 与一个 PDN GW之间至少有一个 GTP-C隧道连接, 但目前 MME与 Serving GW 之间的 GTP-C隧道, SGSN与 Serving GW之间的 GTP-C隧道, Serving GW与 PDN  In the EPS system, there is only one GTP-C tunnel connection between the SGSN and the Serving GW for one UE, and there is only one GTP-C tunnel connection between the MME and the Serving GW. There is at least one GTP-C tunnel connection between the Serving GW and a PDN GW, but the GTP-C tunnel between the MME and the Serving GW, the GTP-C tunnel between the SGSN and the Serving GW, the Serving GW and the PDN.
发明内容 Summary of the invention
有鉴于此, 本发明实施例提供了一种删除控制平面隧道的方法, 用以删 除 SGSN与 Serving GW之间, MME与 Serving GW之间, Serving GW与 PDN GW之间的 GTP-C隧道。  In view of this, the embodiment of the present invention provides a method for deleting a control plane tunnel, which is used to delete a GTP-C tunnel between an SGSN and a Serving GW, between an MME and a Serving GW, and between a Serving GW and a PDN GW.
本发明实施例提供一种删除控制平面隧道的方法, 包括: 检测本端网络实体与对端网络实体间的一个通用分组无线业务隧道协议 控制平面 (GTP-C ) 隧道所管理的承载的数目; An embodiment of the present invention provides a method for deleting a control plane tunnel, including: Detecting the number of bearers managed by a general packet radio service tunneling protocol control plane (GTP-C) tunnel between the local network entity and the peer network entity;
当所述承载的数目从大于零变为零时, 释放本端网络实体分配给所述 GTP-C隧道的网际协议 ( IP )地址与隧道端点标识( TEID )。  When the number of bearers changes from greater than zero to zero, the Internet Protocol (IP) address assigned to the GTP-C tunnel by the local network entity and the Tunnel Endpoint Identifier (TEID) are released.
本发明实施例还提供一种删除控制平面隧道的装置, 包括:  An embodiment of the present invention further provides an apparatus for deleting a control plane tunnel, including:
检测单元, 用于检测与本端网络实体连接的一个通用分组无线业务隧道 协议控制平面 (GTP-C ) 隧道所管理的承载的数目;  a detecting unit, configured to detect a number of bearers managed by a general packet radio service tunnel protocol control plane (GTP-C) tunnel connected to the local network entity;
释放单元, 用于当所述承载的数目从大于零变为零时, 释放本端网络实 体分配给所述 GTP-C隧道的网际协议( IP )地址与隧道端点标识 ( TEID )。  And a release unit, configured to release an Internet Protocol (IP) address and a Tunnel Endpoint Identifier (TEID) allocated by the local network entity to the GTP-C tunnel when the number of the bearers changes from greater than zero to zero.
本发明实施例还提供一种服务网关, 包括:  The embodiment of the invention further provides a service gateway, including:
第一释放单元, 用于当所述服务网关检测出用户终端 ( UE ) 的 ISR功能 被激活, 且所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地 址与 TEID时,释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址与 TEID;  a first release unit, configured to release, when the serving gateway detects that an ISR function of a user terminal (UE) is activated, and the serving gateway releases an IP address and a TEID of all GTP-C tunnels with all PDN gateways IP address and TEID of all GTP-C tunnels between the MME and the SGSN;
第二释放单元, 用于当所述服务网关检测出用户终端 ( UE ) 的 ISR功能 被激活,且所述服务网关释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地 址与 TEID时,释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID;  a second release unit, configured to release, when the serving gateway detects that an ISR function of the user terminal (UE) is activated, and the serving gateway releases an IP address and a TEID of all GTP-C tunnels between the MME and the SGSN, IP address and TEID of all GTP-C tunnels with all PDN gateways;
第三释放单元, 用于当所述服务网关检测出用户终端 ( UE ) 的 ISR功能 被关闭, 且所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地 址与 TEID时, 释放与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID;  a third release unit, configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and the TEID of all the GTP-C tunnels between all the PDN gateways, IP address and TEID of the GTP-C tunnel with the MME or SGSN;
第四释放单元, 用于当所述服务网关检测出用户终端 ( UE ) 的 ISR功能 被关闭,且所述服务网关释放与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID时, 释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID。  a fourth release unit, configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and TEID of the GTP-C tunnel between the MME or the SGSN, release IP address and TEID of all GTP-C tunnels between all PDN gateways.
本发明实施例中检测本端网络实体与对端网络实体间的一个通用分组无 线业务隧道协议控制平面(GTP-C )隧道所管理的承载的数目 , 当所述承载的 数目从大于零变为零时 , 释放本端网络实体分配给所述 GTP-C隧道的网际协 议( IP )地址与隧道端点标识( TEID ), 从而节省了网络资源, 同时也保证了 IP永远在线。 附图说明 In the embodiment of the present invention, the number of bearers managed by a general packet radio service tunneling protocol control plane (GTP-C) tunnel between the local network entity and the peer network entity is detected, when the number of the bearers changes from greater than zero. When the time is zero, the Internet Protocol (IP) address and the Tunnel Endpoint Identifier (TEID) allocated by the local network entity to the GTP-C tunnel are released, thereby saving network resources and ensuring that the IP is always online. DRAWINGS
图 1是现有技术中 EPS系统的结构图;  1 is a structural view of an EPS system in the prior art;
图 2是本发明实施例中 GTP-C隧道的删除方法示意图;  2 is a schematic diagram of a method for deleting a GTP-C tunnel according to an embodiment of the present invention;
图 3是本发明实施例中网络实体切换过程中 GTP-C隧道的删除方法示意 图;  3 is a schematic diagram of a method for deleting a GTP-C tunnel in a network entity handover process according to an embodiment of the present invention;
图 4 是本发明实施例中删除 GTP-C隧道的装置结构图。 具体实施方式  4 is a structural diagram of an apparatus for deleting a GTP-C tunnel in an embodiment of the present invention. detailed description
本发明实施例中,用户移动控制管理实体包括 MME和 SGSN。一个 PDN 连接是指 UE的使用相同的 APN及相同的 IP地址的所有 EPS 承载的集合。 IP地址指 IPv4地址, IPv6地址或 IPv4与 IPv6双地址。 EPS会话管理上下文 ( ESM Context, EPS Session Management Context )既指 SGSN和 Serving GW 所使用的会话管理上下文(SM Context, Session Management Context ), 也指 MME, Serving GW和 PDN GW所使用的 ESM Context,也就是说, ESM Context 与 SM Context不作特定区别。  In the embodiment of the present invention, the user mobility control management entity includes an MME and an SGSN. A PDN connection refers to a collection of all EPS bearers of the UE that use the same APN and the same IP address. An IP address is an IPv4 address, an IPv6 address, or an IPv4 and IPv6 dual address. The EPS session management context (ESM Context, EPS Session Management Context) refers to the session management context (SM Context, Session Management Context) used by the SGSN and the Serving GW, and also refers to the ESM Context used by the MME, the Serving GW, and the PDN GW. That is to say, the ESM Context is not specifically different from the SM Context.
本发明实施例提供了一种删除控制平面隧道的方法, 包括: 检测本端网 络实体与对端网络实体间的一个通用分组无线业务隧道协议控制平面 An embodiment of the present invention provides a method for deleting a control plane tunnel, including: detecting a general packet radio service tunnel protocol control plane between a local network entity and a peer network entity.
( GTP-C ) 隧道所管理的承载的数目, 当所述承载的数目从大于零变为零时, 释放本端网络实体分配给所述 GTP-C隧道的网际协议(IP ) 地址与隧道端点 标识 (TEID )。 (GTP-C) The number of bearers managed by the tunnel. When the number of bearers changes from greater than zero to zero, the Internet Protocol (IP) address assigned to the GTP-C tunnel and the tunnel endpoint are released. Identification (TEID).
对于一个 UE, 当所述本端网络实体中所存储的承载上下文的数目从大于 零变为零时,则释放与所述本端网络实体连接的所有的 GTP-C隧道的 IP地址 与 TEID, 而无需通知隧道对端网络实体。  For a UE, when the number of bearer contexts stored in the local network entity changes from greater than zero to zero, the IP addresses and TEIDs of all GTP-C tunnels connected to the local network entity are released. There is no need to notify the tunnel peer network entity.
本发明实施例可应用于 EPS 系统中任何通过 GTP-C 隧道来管理承载的 两个网络实体之间, 即当本端网络实体为 MME时, 对端网络实体为 Serving GW; 或者当本端网络实体为 Serving GW时, 对端网络实体为 MME; 或者当 本端网络实体为 SGSN时, 对端网络实体为 Serving GW; 或者当本端网络实 体为 Serving GW时, 对端网络实体为 SGSN; 或者当本端网络实体为 Serving GW时, 对端网络实体为 PDN GW; 或者当本端网络实体为 PDN GW时, 对 端网络实体为 Serving GW。 The embodiment of the present invention can be applied to any two network entities in the EPS system that manage the bearer through the GTP-C tunnel, that is, when the local network entity is the MME, the peer network entity is the Serving GW; or when the local network is When the entity is Serving GW, the peer network entity is the MME; or When the local network entity is the SGSN, the peer network entity is the Serving GW; or when the local network entity is the Serving GW, the peer network entity is the SGSN; or when the local network entity is the Serving GW, the peer network entity is PDN GW; or when the local network entity is the PDN GW, the peer network entity is the Serving GW.
所述承载为演进分组系统承载上下文 (EPS Bearer Context ) 或分组数据 协议上下文(PDP Context ) 所对应的 7 载, 一个 载对应一个分组无线业务 隧道协议用户平面 (GTP-U ) 隧道。  The bearer is 7 bearers corresponding to an EPS packet bearer context (EPS Bearer Context) or a packet data protocol context (PDP Context), and one bearer corresponds to a packet radio service tunneling protocol user plane (GTP-U) tunnel.
下面结合说明书附图对本发明实施例作进一步详细描述。  The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
图 1中 S4接口对应的 GTP-C隧道,对于一个 UE,当 SGSN与 Serving GW 所存储的 UE的全部 EPS Bearer Context被删除, 或 UE的 ESM Context被删 除, 也就是 SGSN与 Serving GW间的 GTP-C隧道所管理的承载的数目从大 于零变为零时, SGSN与 Serving GW分别释放 SGSN与 Serving GW 间的 GTP-C隧道的 IP地址与 TEID而无需通知对方。  In the GTP-C tunnel corresponding to the S4 interface in FIG. 1, for one UE, when all the EPS Bearer Contexts of the UEs stored by the SGSN and the Serving GW are deleted, or the ESM Context of the UE is deleted, that is, the GTP between the SGSN and the Serving GW. When the number of bearers managed by the -C tunnel changes from greater than zero to zero, the SGSN and the Serving GW release the IP address and TEID of the GTP-C tunnel between the SGSN and the Serving GW, respectively, without notifying the other party.
同样地, 对于 S11接口对应的 GTP-C隧道, 对于一个 UE, 当 MME与 Serving GW所存储的 UE的全部 EPS Bearer Context或 UE的 ESM Context被 删除,也就是 MME与 Serving GW间的 GTP-C隧道所管理的承载的数目从大 于零变为零时, MME与 Serving GW分别释放 MME与 Serving GW间的 GTP-C 隧道的 IP地址与 TEID而无需通知对方。 如图 2所示, GTP-C隧道的删除方 法的具体实现步骤如下:  Similarly, for a GTP-C tunnel corresponding to the S11 interface, for one UE, when the MME and the Serving GW store all the EPS Bearer Contexts of the UE or the ESM Context of the UE is deleted, that is, the GTP-C between the MME and the Serving GW. When the number of bearers managed by the tunnel is changed from greater than zero to zero, the MME and the Serving GW release the IP addresses and TEIDs of the GTP-C tunnel between the MME and the Serving GW, respectively, without notifying the other party. As shown in Figure 2, the specific implementation steps of the GTP-C tunnel deletion method are as follows:
步骤 201中, 网络实体 A与其它的网络实体为 UE建立了 GTP-C隧道连 接, 其中:  In step 201, the network entity A and the other network entities establish a GTP-C tunnel connection for the UE, where:
201a. 网络实体 A与网络实体 B为 UE建立了一个 GTP-C隧道连接; 201b. 网络实体 A与网络实体 C为 UE建立了一个 GTP-C隧道连接。 步骤 202中, 当网络实体所存储的 UE的一些或全部 EPS Bearer Context 被删除或 UE的 ESM Context被删除,也就是与网络实体连接的一个或全部的 GTP-C 隧道所管理的承载的数目从大于零变为零时, 网络实体释放该一个或 全部 GTP-C隧道的 IP地址与 TEID。 具体如下: 202a. 若网络实体 A所存储的 UE的全部 EPS Bearer Context被删除或 UE 的 ESM Context被删除, 则网絡实体 A释放所建立的所有 GTP-C隧道的全部 IP地址与 TEID, 即网络实体 A释放步骤 201a中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧道的对端节点, 即网络实体 B, 同时网络实体 A释放步骤 201b中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知 隧道的对端节点, 即网络实体 C。 201a. Network entity A and network entity B establish a GTP-C tunnel connection for the UE; 201b. Network entity A and network entity C establish a GTP-C tunnel connection for the UE. In step 202, when some or all EPS Bearer Contexts of the UE stored by the network entity are deleted or the ESM Context of the UE is deleted, that is, the number of bearers managed by one or all GTP-C tunnels connected to the network entity is from When greater than zero becomes zero, the network entity releases the IP address and TEID of the one or all GTP-C tunnels. details as follows: 202a. If the entire EPS Bearer Context of the UE stored by the network entity A is deleted or the ESM Context of the UE is deleted, the network entity A releases all the IP addresses and TEIDs of all the established GTP-C tunnels, that is, the network entity A is released. In step 201a, the IP address and the TEID of the GTP-C tunnel established for the UE are not required to notify the peer node of the tunnel, that is, the network entity B, and the network entity A releases the IP address of the GTP-C tunnel established for the UE in step 201b. With TEID, there is no need to notify the peer node of the tunnel, ie network entity C.
202b. 若网络实体 B所存储的 UE的全部 EPS Bearer Context被删除或 UE 的 ESM Context被删除, 则网络实体 B释放所建立的所有 GTP-C隧道的全部 IP地址与 TEID, 即网络实体 B释放步骤 201a中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧道的对端节点, 即网络实体 A。  202b. If the entire EPS Bearer Context of the UE stored in the network entity B is deleted or the ESM Context of the UE is deleted, the network entity B releases all the IP addresses and TEIDs of all the established GTP-C tunnels, that is, the network entity B is released. In step 201a, the IP address and TEID of the GTP-C tunnel established by the UE are not required to notify the peer node of the tunnel, that is, the network entity A.
202c. 若网络实体 C所存储的 UE的全部 EPS Bearer Context被删除或 UE 的 ESM Context被删除, 则网络实体 C释放所建立的所有 GTP-C隧道的全部 IP地址与 TEID, 即网络实体 C释放步骤 201b中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧道的对端节点, 即网络实体 A。  202c. If the entire EPS Bearer Context of the UE stored by the network entity C is deleted or the ESM Context of the UE is deleted, the network entity C releases all the IP addresses and TEIDs of all the established GTP-C tunnels, that is, the network entity C is released. In step 201b, the IP address and TEID of the GTP-C tunnel established for the UE are not required to notify the peer node of the tunnel, that is, the network entity A.
202d. 若网络实体 A与网络实体 B之间的 GTP-C隧道所管理的承载全部 被删除,即若网络实体 A与网络实体 B之间的 GTP-C隧道管理的承载数目从 大于零变为零, 则网絡实体 A释放步骤 201a中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧道的对端节点, 即网络实体 B。 但网络实体 A 保留步骤 201b中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧 道的对端节点, 即网络实体 C。  202d. If the bearers managed by the GTP-C tunnel between the network entity A and the network entity B are all deleted, that is, if the number of bearers managed by the GTP-C tunnel between the network entity A and the network entity B changes from greater than zero If the value is zero, the network entity A releases the IP address and TEID of the GTP-C tunnel established for the UE in step 201a without notifying the peer node of the tunnel, that is, the network entity B. However, the network entity A retains the IP address and TEID of the GTP-C tunnel established for the UE in step 201b without notifying the peer node of the tunnel, that is, the network entity C.
202e. 若网络实体 A与网络实体 C之间的 GTP-C隧道所管理的承载全部 被删除,即若网络实体 A与网络实体 C之间的 GTP-C隧道管理的承载数目从 大于零变为零, 则网络实体 A释放步骤 201b中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧道的对端节点, 即网络实体 C。 但网络实体 A 保留步骤 201a中为 UE建立的 GTP-C隧道的 IP地址与 TEID, 而无需通知隧 道的对端节点, 即网络实体 B。  202e. If the bearers managed by the GTP-C tunnel between the network entity A and the network entity C are all deleted, that is, if the number of bearers managed by the GTP-C tunnel between the network entity A and the network entity C changes from greater than zero If the value is zero, the network entity A releases the IP address and TEID of the GTP-C tunnel established for the UE in step 201b without notifying the peer node of the tunnel, that is, the network entity C. However, the network entity A retains the IP address and TEID of the GTP-C tunnel established for the UE in step 201a without notifying the peer node of the tunnel, that is, the network entity B.
特别地, 在网络切换过程中, 若一个网络实体在切换过程中作了重定位, 则旧的网络实体所存储的 UE的 EPS Bearer Context与 ESM Context被删除, 而与之相连的其它网络实体所存储的 UE 的 EPS Bearer Context 与 ESM Context仍然存在, 因此, 没有被重定位的网络实体仍然使用其分配的 GTP-C 隧道的 IP地址与 TEID与新的网絡实体建立新的 GTP-C隧道连接, 而旧的网 络实体则释放其为此 UE所分配的所有的 GTP-C隧道的 IP地址与 TEID。 如 图 3所示, 是一个 UE注册到 MME并激活 EPS Bearer后, UE通过旧 Serving GW与 PDN GW接入一个 PDN。 然后, MME没有改变而 Serving GW重定位 的切换过程被执行, 则 UE通过新 Serving GW与 PDN GW继续接入原来的 PDN。 具体执行过程如下: In particular, during network switching, if a network entity is relocated during the handover process, The EPS Bearer Context and the ESM Context of the UE stored by the old network entity are deleted, and the EPS Bearer Context and the ESM Context of the UE stored by other network entities connected thereto still exist, and therefore, the network entity that is not relocated The new GTP-C tunnel connection is still established with the new network entity using the IP address of the assigned GTP-C tunnel and the TEID, while the old network entity releases the IP of all GTP-C tunnels it has allocated for this UE. Address and TEID. As shown in FIG. 3, after a UE registers with the MME and activates the EPS Bearer, the UE accesses a PDN through the old Serving GW and the PDN GW. Then, the MME does not change and the handover procedure of the Serving GW relocation is performed, and the UE continues to access the original PDN through the new Serving GW and the PDN GW. The specific implementation process is as follows:
步骤 301 , UE注册到 MME并激活 EPS Bearer后 , UE通过旧 Serving GW 与 PDN GW接入一个 PDN。 此过程具体为:  Step 301: After the UE registers with the MME and activates the EPS Bearer, the UE accesses a PDN through the old Serving GW and the PDN GW. This process is specifically:
301a. MME与旧 Serving GW建立了一个 GTP-C隧道。  301a. The MME establishes a GTP-C tunnel with the old Serving GW.
301b. 旧 Serving GW与 PDN GW建立了一个 GTP-C隧道。  301b. The old Serving GW and the PDN GW have established a GTP-C tunnel.
步骤 302, MME不变, 而 Serving GW重定位的切换过程被执行, 在切 换过程中, UE从旧 Serving GW切换到新 Serving GW。  In step 302, the MME is unchanged, and the handover procedure of the Serving GW relocation is performed. During the handover, the UE switches from the old Serving GW to the new Serving GW.
步骤 303, 新 Serving GW与 MME和 PDN GW分别建立了 GTP-C隧道。 在本步骤中 , 因 MME没有改变 , 且 MME所存储的此 UE的 EPS Bearer Context或 ESM Context没有被删除, MME不释放与旧的 Serving GW之间 为 UE所分配的 GTP-C隧道的 IP地址与 TEID,这两个参数分别用于为此 UE 建立与新的 Serving GW之间的 GTP-C隧道, 即执行步骤 303a。 同样地, PDN GW中所存储的 UE的 EPS Bearer Context或 ESM Context没有被删除, 因此 PDN GW不释放与旧 Serving GW之间为此 UE所分配的 GTP-C隧道的 IP地 址与 TEID, 这两个参数分别用于为此 UE 建立与新的 Serving GW之间的 GTP-C隧道, 即执行步骤 303b。  Step 303: The new Serving GW establishes a GTP-C tunnel with the MME and the PDN GW, respectively. In this step, since the MME has not changed, and the EPS Bearer Context or ESM Context of the UE stored by the MME is not deleted, the MME does not release the IP address of the GTP-C tunnel allocated to the UE between the old Serving GW and the UE. With the TEID, these two parameters are respectively used to establish a GTP-C tunnel with the new Serving GW for this UE, that is, step 303a is performed. Similarly, the EPS Bearer Context or ESM Context of the UE stored in the PDN GW is not deleted, so the PDN GW does not release the IP address and TEID of the GTP-C tunnel allocated to the UE with the old Serving GW. The parameters are respectively used to establish a GTP-C tunnel with the new Serving GW for this UE, that is, step 303b is performed.
步骤 304, 旧 Serving GW所存储的此 UE的所有 EPS Bearer Context或 ESM Context被删除。  Step 304: All EPS Bearer Context or ESM Context of the UE stored by the old Serving GW is deleted.
步骤 305 , 旧 Serving GW释放与 MME及所有 PDN GW之间为 UE所分 配的所有 GTP-C隧道的 IP地址与 TEID。 Step 305, the old Serving GW release is separated from the MME and all PDN GWs for the UE. IP address and TEID of all GTP-C tunnels.
参照图 1 中 S5接口对应的 GTP-C隧道, 一个 PDN GW可能支持多个 APN, 并且对于同一个 APN, PDN GW可能给 UE分配一个 IPv4地址, 或一 个 IPv6地址, 或一个 IPv4与一个 IPv6地址 (即同时分配两个 IP地址)。 这 样, 对于同一个 PDN GW下的同一个 APN, PDN GW与 Serving GW之间有 可能有多个 GTP-C隧道,那么删除 PDN GW与 Serving GW之间的 GTP-C隧 道的过程包括:  Referring to the GTP-C tunnel corresponding to the S5 interface in FIG. 1, one PDN GW may support multiple APNs, and for the same APN, the PDN GW may assign an IPv4 address, or an IPv6 address, or an IPv4 and an IPv6 address to the UE. (ie assign two IP addresses at the same time). In this way, for the same APN under the same PDN GW, there may be multiple GTP-C tunnels between the PDN GW and the Serving GW. The process of deleting the GTP-C tunnel between the PDN GW and the Serving GW includes:
当一个 PDN GW与 Serving GW间的一个 GTP-C隧道所管理的承载的数 目从大于零变为零时, 所述 PDN GW释放分配给所述 GTP-C隧道的 IP地址 与 TEID, 且保留所述 PDN GW和 Serving GW间其它 GTP-C隧道的 IP地址 与 TEID。  When the number of bearers managed by one GTP-C tunnel between a PDN GW and a Serving GW changes from greater than zero to zero, the PDN GW releases the IP address and TEID assigned to the GTP-C tunnel, and the reservation The IP address and TEID of other GTP-C tunnels between the PDN GW and the Serving GW.
当 Serving GW与一个 PDN GW间的一个 GTP-C隧道所管理的承载的数 目从大于零变为零时, 所述 Serving GW释放分配给所述 GTP-C隧道的 IP地 址与 TEID, 且保留所述 Serving GW和 PDN GW间其它 GTP-C隧道的 IP地 址与 TEID。  When the number of bearers managed by one GTP-C tunnel between the Serving GW and one PDN GW changes from greater than zero to zero, the Serving GW releases the IP address and TEID assigned to the GTP-C tunnel, and the reservation The IP address and TEID of other GTP-C tunnels between the Serving GW and the PDN GW.
也就是当 PDN GW与 Serving GW间的 GTP-C隧道包括至少两个时, 当 PDN GW与 Serving GW间的任意一个 GTP-C隧道管理的 UE的全部 EPS Bearer Context被删除,即该 GTP-C隧道所管理的承载的数目从大于零变为零 时, 所述 PDN GW释放分配给所述 GTP-C隧道的 IP地址与 TEID, 保留所述 PDN GW和 Serving GW间其它 GTP-C隧道的 IP地址与 TEID。同样,当 Serving GW与 PDN GW间的 GTP-C隧道包括至少两个时,当 Serving GW与 PDN GW 间的任意一个 GTP-C隧道管理的 UE的全部 EPS Bearer Context被删除,即该 GTP-C隧道所管理的承载的数目从大于零变为零时,所述 Serving GW释放分 配给所述 GTP-C隧道的 IP地址与 TEID, 保留所述 Serving GW和 PDN GW 间其它 GTP-C隧道的 IP地址与 TEID。  That is, when the GTP-C tunnel between the PDN GW and the Serving GW includes at least two, the entire EPS Bearer Context of the UE managed by any GTP-C tunnel between the PDN GW and the Serving GW is deleted, that is, the GTP-C When the number of bearers managed by the tunnel changes from greater than zero to zero, the PDN GW releases the IP address and TEID allocated to the GTP-C tunnel, and retains the IP of other GTP-C tunnels between the PDN GW and the Serving GW. Address and TEID. Similarly, when the GTP-C tunnel between the Serving GW and the PDN GW includes at least two, the entire EPS Bearer Context of the UE managed by any GTP-C tunnel between the Serving GW and the PDN GW is deleted, that is, the GTP-C When the number of bearers managed by the tunnel changes from greater than zero to zero, the Serving GW releases the IP address and TEID allocated to the GTP-C tunnel, and retains the IP of other GTP-C tunnels between the Serving GW and the PDN GW. Address and TEID.
在 Serving GW与所有的 PDN GW间所有 GTP-C隧道管理的 UE的所有 的 EPS Bearer Context被删除, Serving GW释放与所有 PDN GW间的 GTP-C 隧道的 IP地址与 TEID后, 当 Serving GW检测出 UE的空闲状态信令优化 ( ISR, Idle State Signalling Reduction )功能未激活或去激活,即当 Serving GW 检测出 UE的 ISR功能被关闭时, Serving GW释放与 MME或者 SGSN连接 的 GTP-C隧道的 IP地址与 TEID。 All EPS Bearer Contexts of all GTP-C tunnel managed UEs between the Serving GW and all PDN GWs are deleted, and the Serving GW releases GTP-C between all PDN GWs. After the IP address of the tunnel and the TEID, the Serving GW detects that the Idle State Signalling Reduction (ISR) function of the UE is not activated or deactivated, that is, when the Serving GW detects that the ISR function of the UE is disabled, Serving The GW releases the IP address and TEID of the GTP-C tunnel connected to the MME or the SGSN.
当 Serving GW检测出 UE的 ISR功能未激活或去激活时,在 Serving GW 释放与 MME或者 SGSN连接的 GTP-C隧道的 IP地址与 TEID后, Serving GW 释放 Serving GW与所有 PDN GW间的 GTP-C隧道的 IP地址与 TEID。  When the Serving GW detects that the ISR function of the UE is not activated or deactivated, after the Serving GW releases the IP address and TEID of the GTP-C tunnel connected to the MME or the SGSN, the Serving GW releases the GTP between the Serving GW and all PDN GWs. IP address and TEID of the C tunnel.
本发明的另一实施例应用于 EPS系统, 此时 UE的 ISR功能被激活。 当 UE的 ISR功能被激活时,此 UE同时注册到通用陆地无线接入网络( UT AN, Universal Terrestrial Radio Access Network ) / GSM/EDGE 无线接入网络 ( GERAN, GSM/EDGE Radio Access Network ) 与演进通用陆地无线接入网 络 ( E-TURAN, Evolved Universal Terrestrial Radio Access Network )接入系统 所对应的用户移动控制管理实体上, 也就是同时注册到 SGSN与 MME上。 当 UE处于空闲状态时, UE在 SGSN分配给 UE的路由区( RA, Routing Area ) 及 MME分配给 UE的跟踪区列表 ( TA List , Tracking Area List ) 中移动时, 无需作一般路由区更新或一般跟踪区更新操作。 当 UE的 ISR功能被激活时, 处于空闲状态的 UE的用户平面终结点位于 Serving GW。  Another embodiment of the present invention is applied to an EPS system in which the ISR function of the UE is activated. When the UE's ISR function is activated, the UE simultaneously registers with the Universal Terrestrial Radio Access Network (UT AN), GSM/EDGE Radio Access Network (GERAN, GSM/EDGE Radio Access Network) and evolution. The E-TURAN (Evolved Universal Terrestrial Radio Access Network) access system corresponds to the user mobility control management entity, that is, simultaneously registered to the SGSN and the MME. When the UE is in an idle state, the UE does not need to perform general routing area update or general when it moves in the routing area (RA, Routing Area) allocated by the SGSN to the UE and the tracking list (TA List, Tracking Area List) allocated by the MME to the UE. Track area update operation. When the UE's ISR function is activated, the user plane termination point of the UE in the idle state is located at the Serving GW.
当 Serving GW检测出用户终端 ( UE ) 的 ISR功能被激活时, 同时存在 MME与 Serving GW间的 GTP-C隧道和 SGSN与 Serving GW间的 GTP-C隧 道, 当所述 Serving GW中所述 Serving GW和 MME间的 GTP-C隧道所管理 的承载的数目从大于零变为零时, Serving GW释放 Serving GW和 MME间的 GTP-C隧道的 IP地址与 TEID, 保留 Serving GW和 SGSN间的 GTP-C隧道 的 IP地址与 TEID, 以及保留所述服务网关和所有 PDN GW间的所有 GTP-C 隧道的 IP地址与 TEID。 当所述 Serving GW中所述 Serving GW和 SGSN间 的 GTP-C 隧道所管理的承载的数目从大于零变为零时, Serving GW 释放 Serving GW和 SGSN间的 GTP-C隧道的 IP地址与 TEID, 保留 Serving GW 和 MME间的 GTP-C隧道的 IP地址与 TEID, 以及保留所述服务网关和所有 PDN GW间的所有 GTP-C隧道的 IP地址与 TEID。 具体过程如下: When the Serving GW detects that the ISR function of the user terminal (UE) is activated, there is a GTP-C tunnel between the MME and the Serving GW, and a GTP-C tunnel between the SGSN and the Serving GW, when the Serving GW is in the Serving GW. When the number of bearers managed by the GTP-C tunnel between the GW and the MME changes from greater than zero to zero, the Serving GW releases the IP address and TEID of the GTP-C tunnel between the Serving GW and the MME, and retains the GTP between the Serving GW and the SGSN. The IP address and TEID of the -C tunnel, and the IP address and TEID of all GTP-C tunnels between the serving gateway and all PDN GWs. When the number of bearers managed by the GTP-C tunnel between the Serving GW and the SGSN in the Serving GW changes from greater than zero to zero, the Serving GW releases the IP address and TEID of the GTP-C tunnel between the Serving GW and the SGSN. Retaining the IP address and TEID of the GTP-C tunnel between the Serving GW and the MME, and retaining the service gateway and all IP address and TEID of all GTP-C tunnels between PDN GWs. The specific process is as follows:
Serving GW收到 MME或 SGSN发送过来的删除所述 UE的全部 EPS The Serving GW receives all the EPSs sent by the MME or the SGSN to delete the UE.
Bearer Context的请求消息; 或, Bearer Context request message; or,
所述 Serving GW请求所述 MME或 SGSN删除所述 UE的全部 EPS Bearer The Serving GW requests the MME or the SGSN to delete all EPS Bearers of the UE
Context; 则, Context; Then,
所述 Serving GW释放分配给自身与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID。  The Serving GW releases the IP address and TEID assigned to the GTP-C tunnel between itself and the MME or SGSN.
本发明实施例中, 因为所述 Serving GW还存储有与 SGSN或 MME相关 的 UE的 ESM Context或 EPS Bearer Context, 所以所述 Serving GW不释放分 配给 SGSN或 MME的 GTP-C隧道的 IP地址与 TEID。且因为所述 Serving GW 还存储有与所有 PDN GW间的所有 GTP-C隧道管理的 ESM Context或 EPS Bearer Context, 因此所述服务网关不释放与所有 PDN GW间的所有 GTP-C 隧道的 IP地址与 TEID。  In the embodiment of the present invention, because the Serving GW further stores an ESM Context or an EPS Bearer Context of a UE related to the SGSN or the MME, the Serving GW does not release the IP address of the GTP-C tunnel allocated to the SGSN or the MME. TEID. And because the Serving GW also stores all GTP-C tunnel managed ESM Context or EPS Bearer Context with all PDN GWs, the serving gateway does not release the IP addresses of all GTP-C tunnels with all PDN GWs. With TEID.
当 SGSN, MME与 Serving GW激活 UE的 ISR功能时, SGSN与 Serving GW之间, MME与 Serving GW之间, 及 PDN GW与 Serving GW之间都有 GTP-C隧道连接; 当发生 MME发起的非明确去附着过程时, MME将 UE标 记为去附着状态 , MME上此 UE的 ESM Context或所有的 EPS Bearer Context 被删除, 并请求 Serving GW删除此 UE的所有 EPS Bearer Context , 此时, 因 为 Serving GW检测出 UE的 ISR功能已被激活, 所以 Serving GW只是删除 与 MME有关的此 UE的所有 EPS Bearer Context,而不是删除整个 UE的所有 EPS Bearer Context或 ESM Context, 也就是 Serving GW还将保留与 SGSN有 关的此 UE的所有 EPS Bearer Context或 ESM Context。 Serving GW将释放为 此 UE所分配的与 MME之间的 GTP-C隧道的 IP地址与 TEID; 当 MME收 到 Serving GW的删除 EPS Bearer Context的响应消息后, MME释放为此 UE 所分配的与 Serving GW之间的 GTP-C隧道的 IP地址与 TEID。  When the SGSN, the MME, and the Serving GW activate the ISR function of the UE, there is a GTP-C tunnel connection between the SGSN and the Serving GW, between the MME and the Serving GW, and between the PDN GW and the Serving GW; When the detach procedure is clarified, the MME marks the UE as a detached state, and the ESM Context or all EPS Bearer Contexts of the UE are deleted on the MME, and the Serving GW is requested to delete all EPS Bearer Contexts of the UE, at this time, because Serving GW It is detected that the ISR function of the UE has been activated, so the Serving GW only deletes all EPS Bearer Contexts of the UE related to the MME, instead of deleting all EPS Bearer Contexts or ESM Contexts of the entire UE, that is, the Serving GW will also retain the SGSN. All EPS Bearer Context or ESM Context for this UE. The Serving GW will release the IP address and TEID of the GTP-C tunnel allocated to the MME for the UE. After the MME receives the response message of the Serving GW to delete the EPS Bearer Context, the MME releases the allocation allocated for the UE. IP address and TEID of the GTP-C tunnel between Serving GWs.
也就是说, 在 UE的 ISR功能被激活后, 当一个用户移动控制管理实体 MME或 SGSN向 Serving GW发送删除 UE所有的 EPS Bearer Context的请求 消息, 并收到 Serving GW的响应消息时, 因为此用户移动控制管理实体已删 除了此 UE的所有的 EPS Bearer Context, 因此释放所分配给 UE的与 Serving GW间的 GTP-C隧道的 IP地址与 TEID, 而不需要通知 Serving GW。 That is, after the ISR function of the UE is activated, when a user mobility control management entity MME or SGSN sends a request to the Serving GW to delete all EPS Bearer Contexts of the UE. Message, and when receiving the response message from Serving GW, because this user mobility control management entity has deleted all EPS Bearer Contexts of this UE, the IP address of the GTP-C tunnel with the Serving GW allocated to the UE is released. With TEID, there is no need to notify Serving GW.
在 UE的 ISR功能被激活后, 当 Serving GW向 UE的两个用户移动控制 管理实体 MME和 SGSN同时请求删除 UE的所有 EPS Bearer Context时, 显 然, Serving GW将释放与 MME和 SGSN间的 GTP-C隧道的 IP地址与 TEID, 同时, Serving GW也将 UE的所有 EPS Bearer Context删除了,即 ESM Context 也删除了, 此时 Serving GW也将释放与所有 PDN GW之间的所有的 GTP-C 隧道的 IP地址与 TEID。  After the ISR function of the UE is activated, when the Serving GW requests to delete all EPS Bearer Contexts of the UE from the two user mobility control entities MME and SGSN of the UE, it is obvious that the Serving GW will release the GTP between the MME and the SGSN. The IP address and TEID of the C tunnel. At the same time, the Serving GW also deletes all EPS Bearer Contexts of the UE, that is, the ESM Context is also deleted. At this time, the Serving GW will also release all GTP-C tunnels with all PDN GWs. IP address and TEID.
在 UE的 ISR功能被激活后, 当 Serving GW与所有 PDN GW间所有的 GTP-C隧道管理的 UE的所有的 EPS Beare Context被删除时,所述 Serving GW 释放为所述 UE分配的与 MME和 SGSN间的 GTP-C隧道的 IP地址与 TEID。 具体过程可以如下: 在 Serving GW完成了 PDN GW发出的删除 UE的 EPS Bearer Context的请求后, 若此 EPS Bearer Context被删除后, Serving GW发 现此 UE没有 EPS Bearer Context或 ESM Context了, 即被删除的 EPS Bearer Context是 UE的最后的一个 EPS Bearer Context, 则 Serving GW释放最后一 个 Serving GW与 PDN GW间的 GTP-C隧道的 IP地址与 TEID, 并且 Serving GW释放为此 UE所分配的与 MME和 SGSN之间的 GTP-C隧道的 IP地址与 TEIDo  After the ISR function of the UE is activated, when all EPS Beare Contexts of all GTP-C tunnel-managed UEs between the Serving GW and all PDN GWs are deleted, the Serving GW releases the MME and the allocated MME for the UE. IP address and TEID of the GTP-C tunnel between SGSNs. The specific process may be as follows: After the Serving GW completes the request of the PDN GW to delete the EPS Bearer Context of the UE, if the EPS Bearer Context is deleted, the Serving GW finds that the UE does not have an EPS Bearer Context or an ESM Context, and is deleted. The EPS Bearer Context is the last EPS Bearer Context of the UE, and the Serving GW releases the IP address and TEID of the GTP-C tunnel between the last Serving GW and the PDN GW, and the Serving GW releases the MME and the assigned to the UE. IP address and TEIDo of the GTP-C tunnel between SGSNs
当 SGSN与 PDN GW之间有接口, Serving GW与 GGSN之间有接口, 及 SGSN与 GGSN之间的接口使用 GTPv2协议时,本发明实施例所述方法仍 然可以适用到这些接口上。  When the SGSN and the PDN GW have an interface, the Serving GW and the GGSN have an interface, and the interface between the SGSN and the GGSN uses the GTPv2 protocol, the method described in the embodiment of the present invention can still be applied to these interfaces.
本发明实施例还提供一种删除控制平面隧道的装置, 其结构参见图 4, 包 括: 检测单元 100和释放单元 200。  The embodiment of the present invention further provides an apparatus for deleting a control plane tunnel. The structure thereof is shown in FIG. 4, and includes: a detecting unit 100 and a releasing unit 200.
检测单元 100 ,用于检测与本端网络实体连接的一个通用分组无线业务隧 道协议控制平面 (GTP-C ) 隧道所管理的承载的数目;  The detecting unit 100 is configured to detect a number of bearers managed by a general packet radio service tunnel protocol control plane (GTP-C) tunnel connected to the local network entity;
释放单元 200 , 用于当所述承载的数目从大于零变为零时, 释放本端网络 实体分配给所述 GTP-C隧道的网际协议( IP )地址与隧道端点标识( TEID )。 其中, 检测单元 100包括: 第一检测子单元 110, 第二检测子单元 120, 第三检测子单元 130和第四检测子单元 140。 The releasing unit 200 is configured to release the local network when the number of the bearers changes from greater than zero to zero. The Internet Protocol (IP) address and Tunnel Endpoint Identifier (TEID) assigned by the entity to the GTP-C tunnel. The detecting unit 100 includes: a first detecting subunit 110, a second detecting subunit 120, a third detecting subunit 130, and a fourth detecting subunit 140.
第一检测子单元 110, 用于检测与 MME连接的一个 GTP-C隧道所管理 的 ? 载的数目。  The first detecting sub-unit 110 is configured to detect the number of loads managed by a GTP-C tunnel connected to the MME.
第二检测子单元 120, 用于检测与 SGSN连接的一个 GTP-C隧道所管理 的 ^载的数目。  The second detecting sub-unit 120 is configured to detect the number of loadings managed by a GTP-C tunnel connected to the SGSN.
第三检测子单元 130,用于检测与 Serving GW连接的一个 GTP-C隧道所 管理的承载的数目。  The third detecting sub-unit 130 is configured to detect the number of bearers managed by one GTP-C tunnel connected to the Serving GW.
第四检测子单元 140, 用于检测与 PDN GW连接的一个 GTP-C隧道所管 理的 7|载的数目。  The fourth detecting subunit 140 is configured to detect the number of 7|loads managed by one GTP-C tunnel connected to the PDN GW.
释放单元 200进一步包括: 第一释放子单元 210, 第二释放子单元 220, 第三释放子单元 230和第四释放子单元 240。  The release unit 200 further includes: a first release subunit 210, a second release subunit 220, a third release subunit 230, and a fourth release subunit 240.
第一释放子单元 210, 用于当与所述 MME连接的一个 GTP-C隧道所管 理的承载的数目从大于零变为零时, 释放所述 MME分配给所述 GTP-C隧道 的 IP地址与 TEID。  a first release subunit 210, configured to release an IP address allocated by the MME to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the MME is changed from greater than zero to zero With TEID.
第二释放子单元 220, 用于当与所述 SGSN连接的一个 GTP-C隧道所管 理的承载的数目从大于零变为零时, 释放所述 SGSN分配给所述 GTP-C隧道 的 IP地址与 TEID。  a second release subunit 220, configured to release an IP address allocated by the SGSN to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the SGSN changes from greater than zero to zero With TEID.
第三释放子单元 230 ,用于当与所述 Serving GW连接的一个 GTP-C隧道 所管理的承载的数目从大于零变为零时, 释放所述 Serving GW 分配给所述 GTP-C隧道的 IP地址与 TEID。  a third release subunit 230, configured to release, when the number of bearers managed by one GTP-C tunnel connected to the Serving GW changes from greater than zero to zero, release the Serving GW to allocate to the GTP-C tunnel IP address and TEID.
第四释放子单元 240 , 用于当与所述 PDN GW连接的一个 GTP-C隧道所 管理的承载的数目从大于零变为零时, 释放所述 PDN GW分配给所述 GTP-C 隧道的 IP地址与 TEID。  a fourth release subunit 240, configured to release, when the number of bearers managed by one GTP-C tunnel connected to the PDN GW changes from greater than zero to zero, release the PDN GW to be allocated to the GTP-C tunnel IP address and TEID.
本发明实施例还公开了一种服务网关, 包括:  The embodiment of the invention also discloses a service gateway, including:
第一释放单元, 用于当所述服务网关检测出用户终端( UE )的 ISR功能被 激活, 且所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID时, 释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址与 TEID。 a first release unit, configured to: when the serving gateway detects that an ISR function of a user terminal (UE) is When activated, and the service gateway releases the IP address and TEID of all GTP-C tunnels with all PDN gateways, the IP address and TEID of all GTP-C tunnels between the MME and the SGSN are released.
第二释放单元, 用于当所述服务网关检测出用户终端(UE )的 ISR功能被 激活, 且所述服务网关释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址与 TEID时, 释放与所有 PDN 网关间所有的 GTP-C P迷道的 IP地址与 TEID。  a second release unit, configured to: when the serving gateway detects that an ISR function of the user terminal (UE) is activated, and the serving gateway releases an IP address and a TEID of all GTP-C tunnels between the MME and the SGSN, releasing All GTP-C P lost IP addresses and TEIDs between all PDN gateways.
第三释放单元, 用于当所述服务网关检测出用户终端( UE )的 ISR功能被 关闭, 且所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID时, 释放与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID。  a third release unit, configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and the TEID of all the GTP-C tunnels with all the PDN gateways, IP address and TEID of the GTP-C tunnel with the MME or SGSN.
第四释放单元, 用于当所述服务网关检测出用户终端( UE )的 ISR功能被 关闭 , 且所述服务网关释放与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID 时, 释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID。  a fourth release unit, configured to: when the serving gateway detects that the ISR function of the user terminal (UE) is disabled, and the serving gateway releases the IP address and the TEID of the GTP-C tunnel between the MME or the SGSN, release IP address and TEID of all GTP-C tunnels between all PDN gateways.
本发明实施例检测本端网络实体与对端网络实体间的一个通用分组无线 业务隧道协议控制平面(GTP-C )隧道所管理的承载的数目, 当所述承载的数 目从大于零变为零时, 释放本端网络实体分配给所述 GTP-C隧道的网际协议 ( IP )地址与隧道端点标识 (TEID ), 从而保证了 IP 7j远在线, 同时也节省 了网络资源, 提高了系统的整体性能。 The embodiment of the present invention detects the number of bearers managed by a general packet radio service tunneling protocol control plane (GTP-C) tunnel between the local network entity and the peer network entity, when the number of the bearers changes from greater than zero to zero. when releasing the end of the present network entity is assigned to the Internet protocol GTP-C tunnel (IP) address of the tunnel endpoint identifier (the TEID), thus ensuring IP 7 j away online, but also saves network resources and improve the system Overall performance.
虽然通过实施例描绘了本发明, 但本领域普通技术人员知道, 在不脱离 本发明的精神和实质的情况下, 就可使本发明有许多变形和变化, 本发明的 范围由所附的权利要求来限定。  While the invention has been described by the embodiments of the invention in the embodiments of the invention Request to limit.

Claims

权 利 要 求 Rights request
1、 一种删除控制平面隧道的方法, 其特征在于, 包括:  A method for deleting a control plane tunnel, comprising:
检测本端网络实体与对端网络实体间的一个通用分组无线业务隧道协议 控制平面 GTP-C隧道所管理的承载的数目;  Detecting a general packet radio service tunneling protocol between the local network entity and the peer network entity, and controlling the number of bearers managed by the GTP-C tunnel;
当所述承载的数目从大于零变为零时, 释放本端网络实体分配给所述 GTP-C隧道的网际协议 IP地址与隧道端点标识 TEID。  When the number of the bearers changes from greater than zero to zero, the Internet Protocol IP address assigned by the local network entity to the GTP-C tunnel and the tunnel endpoint identifier TEID are released.
2、 如权利要求 1所述的方法, 其特征在于, 当所述本端网络实体为移动 性管理实体 MME时, 所述对端网络实体为服务网关;  2. The method according to claim 1, wherein when the local network entity is a mobility management entity MME, the peer network entity is a serving gateway;
当所述本端网络实体为服务网关时, 所述对端网络实体为 MME;  When the local network entity is a serving gateway, the peer network entity is an MME;
当所述本端网络实体为服务 GPRS服务节点 SGSN时, 所述对端网络实 体为服务网关;  When the local network entity is a serving GPRS serving node SGSN, the peer network entity is a serving gateway;
当所述本端网络实体为服务网关时, 所述对端网络实体为 SGSN;  When the local network entity is a serving gateway, the peer network entity is an SGSN;
当所述本端网络实体为服务网关时, 所述对端网络实体为分组数据网 PDN 网关;  When the local network entity is a serving gateway, the peer network entity is a packet data network PDN gateway;
当所述本端网絡实体为 PDN网关时, 所述对端网络实体为服务网关。  When the local network entity is a PDN gateway, the peer network entity is a serving gateway.
3、 如权利要求 1所述的方法, 其特征在于, 当所述本端网络实体为 PDN 网关,所述对端网络实体为服务网关,且所述 PDN网关和服务网关间的 GTP-C 隧道包括至少两个时,  3. The method according to claim 1, wherein when the local network entity is a PDN gateway, the peer network entity is a serving gateway, and a GTP-C tunnel between the PDN gateway and the serving gateway Including at least two,
如果所述 PDN网关与服务网关间的一个 GTP-C隧道所管理的承载的数目 从大于零变为零, 则释放所述 PDN 网关分配给该 GTP-C 隧道的 IP地址与 TEID, 并保留所述 PDN 网关和服务网关间其它 GTP-C 隧道的 IP 地址与 TEID。  If the number of bearers managed by one GTP-C tunnel between the PDN gateway and the serving gateway is changed from greater than zero to zero, the IP address and TEID assigned by the PDN gateway to the GTP-C tunnel are released, and the reserved The IP address and TEID of other GTP-C tunnels between the PDN gateway and the serving gateway.
4、 如权利要求 1所述的方法, 其特征在于, 当所述本端网络实体为服务 网关, 所述对端网络实体为 PDN 网关, 且所述服务网关和 PDN 网关间的 GTP-C隧道包括至少两个时,  The method according to claim 1, wherein when the local network entity is a serving gateway, the peer network entity is a PDN gateway, and a GTP-C tunnel between the serving gateway and a PDN gateway Including at least two,
如果所述服务网关与 PDN网关间的一个 GTP-C隧道所管理的承载的数目 从大于零变为零, 则释放所述服务网关分配给该 GTP-C 隧道的 IP 地址与 TEID,并保留所述服务网关和 PDN网关间其它 GTP-C隧道的 IP地址与 TEID。 Number of bearers managed by a GTP-C tunnel between the serving gateway and the PDN gateway When it is changed from greater than zero to zero, the IP address and TEID assigned by the serving gateway to the GTP-C tunnel are released, and the IP addresses and TEIDs of other GTP-C tunnels between the serving gateway and the PDN gateway are reserved.
5、 如权利要求 2所述的方法, 其特征在于, 当所述本端网络实体为服务 网关, 所述对端网络实体为 SGSN, 且所述服务网关检测出用户终端 UE的空 闲状态信令优化 ISR功能被激活时,  The method according to claim 2, wherein, when the local network entity is a serving gateway, the peer network entity is an SGSN, and the serving gateway detects idle state signaling of the user terminal UE. When the optimized ISR function is activated,
如果所述服务网关与 SGSN间的 GTP-C隧道所管理的承载的数目从大于 零变为零, 则释放所述服务网关分配给所述 GTP-C隧道的 IP地址与 TEID, 以及  If the number of bearers managed by the GTP-C tunnel between the serving gateway and the SGSN changes from greater than zero to zero, releasing the IP address and TEID assigned by the serving gateway to the GTP-C tunnel, and
保留所述服务网关和 MME间的 GTP-C隧道的 IP地址与 TEID;  Retaining the IP address and TEID of the GTP-C tunnel between the serving gateway and the MME;
保留所述服务网关和所有 PDN 网关间的所有 GTP-C 隧道的 IP地址与 TEIDo  Keep the IP address and TEIDo of all GTP-C tunnels between the service gateway and all PDN gateways
6、 如权利要求 2所述的方法, 其特征在于, 当所述本端网络实体为服务 网关, 所述对端网络实体为 MME, 且所述服务网关检测出 UE的 ISR功能被 激活时,  The method according to claim 2, wherein, when the local network entity is a serving gateway, the peer network entity is an MME, and the serving gateway detects that the ISR function of the UE is activated,
如果所述服务网关和 MME间的 GTP-C隧道所管理的承载的数目从大于 零变为零, 则释放所述服务网关分配给所述 GTP-C隧道的 IP地址与 TEID, 以及  If the number of bearers managed by the GTP-C tunnel between the serving gateway and the MME is changed from greater than zero to zero, releasing the IP address and TEID assigned by the serving gateway to the GTP-C tunnel, and
保留所述服务网关和 SGSN间的 GTP-C隧道的 IP地址与 TEID;  Retaining the IP address and TEID of the GTP-C tunnel between the serving gateway and the SGSN;
保留所述服务网关和所有 PDN 网关间的所有 GTP-C 隧道的 IP地址与 TEID。  The IP address and TEID of all GTP-C tunnels between the service gateway and all PDN gateways are reserved.
7、 如权利要求 2所述的方法, 其特征在于, 当所述本端网络实体为服务 网关, 且所述服务网关检测出 UE的 ISR功能被激活时,  The method according to claim 2, wherein when the local network entity is a serving gateway, and the serving gateway detects that the ISR function of the UE is activated,
如果所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址 与 TEID时, 则所述服务网关释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址与 TEID。  If the serving gateway releases the IP address and TEID of all the GTP-C tunnels with all the PDN gateways, the serving gateway releases the IP addresses and TEIDs of all the GTP-C tunnels between the MME and the SGSN.
8、 如权利要求 2所述的方法, 其特征在于, 当所述本端网络实体为服务 网关, 且所述服务网关检测出 UE的 ISR功能被关闭时, 如果所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址 与 TEID, 则所述服务网关释放与 MME或 SGSN间的 GTP-C隧道的 IP地址 与 TEID。 The method according to claim 2, wherein, when the local network entity is a serving gateway, and the serving gateway detects that the ISR function of the UE is disabled, If the serving gateway releases the IP address and TEID of all GTP-C tunnels with all PDN gateways, the serving gateway releases the IP address and TEID of the GTP-C tunnel with the MME or SGSN.
9、 如权利要求 2所述的方法, 其特征在于, 当所述本端网络实体为服务 网关, 且所述服务网关检测出 UE的 ISR功能被激活时,  The method according to claim 2, wherein, when the local network entity is a serving gateway, and the serving gateway detects that the ISR function of the UE is activated,
如果所述服务网关释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址 与 TEID, 则所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP 地址与 TEID。  If the serving gateway releases the IP address and TEID of all GTP-C tunnels between the MME and the SGSN, the serving gateway releases the IP addresses and TEIDs of all GTP-C tunnels with all PDN gateways.
10、 如权利要求 2 所述的方法, 其特征在于, 当所述本端网络实体为服 务网关, 且所述服务网关检测出 UE的 ISR功能被关闭时,  The method according to claim 2, wherein, when the local network entity is a service gateway, and the serving gateway detects that the ISR function of the UE is disabled,
如果所述服务网关释放与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID,则所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址 与 TEID。  If the serving gateway releases the IP address and TEID of the GTP-C tunnel with the MME or the SGSN, the serving gateway releases the IP addresses and TEIDs of all the GTP-C tunnels with all the PDN gateways.
11、 如权利要求 1-10所述的任一方法, 其特征在于, 所述承载为: 演进分组系统承载下文 EPS Bearer Context或分组数据协议上下文 PDP Context所对应的承载。  The method according to any one of claims 1-10, wherein the bearer is: the evolved packet system carries a bearer corresponding to the EPS Bearer Context or the packet data protocol context PDP Context.
12、 一种删除控制平面隧道的装置, 其特征在于, 包括:  12. A device for deleting a control plane tunnel, comprising:
检测单元, 用于检测与本端网络实体连接的一个通用分组无线业务隧道 协议控制平面 GTP-C隧道所管理的承载的数目;  a detecting unit, configured to detect a number of bearers managed by a general packet radio service tunnel protocol control plane GTP-C tunnel connected to the local network entity;
释放单元, 用于当所述承载的数目从大于零变为零时, 释放本端网络实 体分配给所述 GTP-C隧道的网际协议 IP地址与隧道端点标识 TEID。  And a releasing unit, configured to release the Internet Protocol IP address and the tunnel endpoint identifier TEID allocated by the local network entity to the GTP-C tunnel when the number of the bearers changes from greater than zero to zero.
13、 如权利要求 12所述的装置, 其特征在于, 所述检测单元包括: 第一检测子单元, 用于检测与 MME连接的一个 GTP-C隧道所管理的承 载的数目;  The apparatus according to claim 12, wherein the detecting unit comprises: a first detecting subunit, configured to detect a number of bearers managed by a GTP-C tunnel connected to the MME;
第二检测子单元, 用于检测与 SGSN连接的一个 GTP-C隧道所管理的承 载的数目;  a second detecting subunit, configured to detect a number of bearers managed by a GTP-C tunnel connected to the SGSN;
第三检测子单元, 用于检测与服务网关连接的一个 GTP-C隧道所管理的 承载的数目; a third detecting subunit, configured to detect a GTP-C tunnel managed by the serving gateway Number of bearers;
第四检测子单元, 用于检测与 PDN 网关连接的一个 GTP-C隧道所管理 的承载的数目。  The fourth detecting subunit is configured to detect the number of bearers managed by a GTP-C tunnel connected to the PDN gateway.
14、 如权利要求 12所述的装置, 其特征在于, 所述释放单元包括: 第一释放子单元, 用于当与所述 MME连接的一个 GTP-C隧道所管理的 承载的数目从大于零变为零时, 释放所述 MME分配给所述 GTP-C隧道的 IP 地址与 TEID;  The apparatus according to claim 12, wherein the releasing unit comprises: a first releasing subunit, configured to: when a number of bearers managed by one GTP-C tunnel connected to the MME is greater than zero When it becomes zero, the IP address and TEID allocated by the MME to the GTP-C tunnel are released;
第二释放子单元, 用于当与所述 SGSN连接的一个 GTP-C隧道所管理的 承载的数目从大于零变为零时, 释放所述 SGSN分配给所述 GTP-C隧道的 IP 地址与 TEID;  a second release subunit, configured to release an IP address assigned by the SGSN to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the SGSN changes from greater than zero to zero TEID;
第三释放子单元, 用于当与所述服务网关连接的一个 GTP-C隧道所管理 的承载的数目从大于零变为零时, 释放所述服务网关分配给所述 GTP-C隧道 的 IP地址与 TEID;  a third release subunit, configured to release an IP allocated by the serving gateway to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the serving gateway changes from greater than zero to zero Address and TEID;
第四释放子单元, 用于当与所述 PDN 网关连接的一个 GTP-C隧道所管 理的承载的数目从大于零变为零时, 释放所述 PDN 网关分配给所述 GTP-C 隧道的 IP地址与 TEID。  a fourth release subunit, configured to release an IP allocated by the PDN gateway to the GTP-C tunnel when a number of bearers managed by one GTP-C tunnel connected to the PDN gateway changes from greater than zero to zero Address and TEID.
15、 一种服务网关, 其特征在于, 包括:  15. A service gateway, comprising:
第一释放单元,用于当所述服务网关检测出用户终端 UE的 ISR功能被激 活, 且所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID时, 释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址与 TEID;  a first release unit, configured to release the MME when the serving gateway detects that the ISR function of the user terminal UE is activated, and the serving gateway releases the IP address and the TEID of all the GTP-C tunnels with all the PDN gateways. IP address and TEID of all GTP-C tunnels between the SGSN and the SGSN;
第二释放单元,用于当所述服务网关检测出用户终端 UE的 ISR功能被激 活,且所述服务网关释放与 MME和 SGSN间所有的 GTP-C隧道的 IP地址与 TEID时, 释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID;  a second release unit, configured to: when the serving gateway detects that the ISR function of the user terminal UE is activated, and the serving gateway releases the IP address and TEID of all GTP-C tunnels between the MME and the SGSN, release and all IP address and TEID of all GTP-C tunnels between PDN gateways;
第三释放单元,用于当所述服务网关检测出用户终端 UE的 ISR功能被关 闭, 且所述服务网关释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID时, 释放与 MME或 SGSN间的 GTP-C隧道的 IP地址与 TEID;  a third release unit, configured to release the MME when the serving gateway detects that the ISR function of the user terminal UE is disabled, and the serving gateway releases the IP address and the TEID of all GTP-C tunnels with all the PDN gateways. Or the IP address and TEID of the GTP-C tunnel between the SGSNs;
第四释放单元,用于当所述服务网关检测出用户终端 UE的 ISR功能被关 闭,且所述服务网关释放与 ΜΜΕ或 SGSN间的 GTP-C隧道的 IP地址与 TEID 时, 释放与所有 PDN 网关间所有的 GTP-C隧道的 IP地址与 TEID。 a fourth release unit, configured to: when the serving gateway detects that the ISR function of the user terminal UE is off When the service gateway releases the IP address and TEID of the GTP-C tunnel with the ΜΜΕ or SGSN, the IP address and TEID of all GTP-C tunnels with all PDN gateways are released.
PCT/CN2009/000443 2008-04-25 2009-04-27 A method and apparatus for deleting the control plane tunnel WO2009129697A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810105020XA CN101567843B (en) 2008-04-25 2008-04-25 Method and device for deleting control plane tunnel
CN200810105020.X 2008-04-25

Publications (1)

Publication Number Publication Date
WO2009129697A1 true WO2009129697A1 (en) 2009-10-29

Family

ID=41216411

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/000443 WO2009129697A1 (en) 2008-04-25 2009-04-27 A method and apparatus for deleting the control plane tunnel

Country Status (2)

Country Link
CN (1) CN101567843B (en)
WO (1) WO2009129697A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271419B (en) * 2010-06-04 2016-03-30 重庆重邮信科通信技术有限公司 LTE terminal Non-Access Stratum ESM and EMM intermodule interactive operation method
CN103067937B (en) * 2012-12-04 2016-04-20 大唐移动通信设备有限公司 state information processing method and system
CN105009615B (en) * 2013-09-17 2019-12-24 华为技术有限公司 Method, device and system for establishing public data network
CN111698793B (en) * 2019-03-15 2022-05-20 大唐移动通信设备有限公司 Communication method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001262A (en) * 2006-01-11 2007-07-18 上海原动力通信科技有限公司 IP address release method
CN101018395A (en) * 2006-02-09 2007-08-15 上海原动力通信科技有限公司 Method for recovering the IP address and network resource occupied by the user device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502358C (en) * 2006-02-14 2009-06-17 华为技术有限公司 Method for establishing GTP tunnel in multimedia broadcast/multicast service
CN100531137C (en) * 2006-08-25 2009-08-19 中兴通讯股份有限公司 Method for establishing control side tunnel in mobile communication system multicast service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001262A (en) * 2006-01-11 2007-07-18 上海原动力通信科技有限公司 IP address release method
CN101018395A (en) * 2006-02-09 2007-08-15 上海原动力通信科技有限公司 Method for recovering the IP address and network resource occupied by the user device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP TS29.060 V3.19.0, 3RD GENERATION PARTNERSHIP PROJECT; TECHNICAL SPECIFICATION GROUP CORE NETWORK; GENERAL PACKET RADIO SERVICE(GPRS); GPRS TUNNELLING PROTOCOL(GTP) ACROSS THE GN AND GP INTERFACE (RELEASE 1999), March 2004 (2004-03-01), pages 24 - 25 *

Also Published As

Publication number Publication date
CN101567843A (en) 2009-10-28
CN101567843B (en) 2012-02-01

Similar Documents

Publication Publication Date Title
US10674420B2 (en) Method, apparatus, and system for routing user plane data in mobile network
JP5011396B2 (en) Method and network device for creating and deleting resources
AU2007248861B2 (en) Wireless communication method and system for activating multiple service bearers via efficient packet data protocol context activation procedures
ES2792120T3 (en) Procedure and system for managing a dynamic host configuration protocol internet protocol version 4 address release
US20110007748A1 (en) Method, system and apparatus for optimizing routes
WO2009043209A1 (en) A method for establishing a bearer to an user terminal in an idle mode
WO2011000318A1 (en) Method and device for controlling handover
WO2008052467A1 (en) A handover method and handover system between heterogeneous access systems
WO2014121760A1 (en) Method and device for selecting network apparatus during switching
WO2011023090A1 (en) Method and equipment for femtocell processing paging on accessing scene
WO2010031353A1 (en) A processing method, device and system of service request
WO2011095100A1 (en) Method and system for controlling establishment of local ip access
WO2011140888A1 (en) Communication system and method for enhanced single radio voice call continuity
WO2009152713A1 (en) An information processing method based on the limiting signaling and a related device
WO2010111814A1 (en) Apparatus and method for moving wcdma mobile station in the manner of the least packet loss
WO2014067474A1 (en) Direct handover method and device
WO2008113235A1 (en) A method for avoiding resourece being released mistakenly during tracking area update or handover process
WO2012041073A1 (en) Method and system for carrying out flow transfer
WO2012136098A1 (en) Method for mobility management and for context creation and channel establishment for terminal
WO2010133181A1 (en) Multi-access data connection management method, system and related device
WO2013040980A1 (en) Flow migration method, terminal and packet data network gateway
WO2008110064A1 (en) Method, system and device for releasing internet protocol connecting loading in communication system
WO2010111944A1 (en) Method, apparatus, policy control function and system for releasing access connections
WO2009132582A1 (en) Method and device for deleting bearer
WO2012130018A1 (en) Method and system for ip offload connection mobility support

Legal Events

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

Ref document number: 09733855

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

Country of ref document: EP

Kind code of ref document: A1