WO2009155823A1 - 选择网关的方法、装置和系统 - Google Patents

选择网关的方法、装置和系统 Download PDF

Info

Publication number
WO2009155823A1
WO2009155823A1 PCT/CN2009/072161 CN2009072161W WO2009155823A1 WO 2009155823 A1 WO2009155823 A1 WO 2009155823A1 CN 2009072161 W CN2009072161 W CN 2009072161W WO 2009155823 A1 WO2009155823 A1 WO 2009155823A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
service
domain name
target
network element
Prior art date
Application number
PCT/CN2009/072161
Other languages
English (en)
French (fr)
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 WO2009155823A1 publication Critical patent/WO2009155823A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, apparatus, and system for selecting a gateway. Background technique
  • the next-generation mobile packet network includes: a mobility management network element, such as: MME (Mobility Management Entity) or SGSN (Serving GPRS Support Node), responsible for mobile user terminals. Location management, connection management, security authentication, gateway selection, etc., wherein the gateway selection includes a selection service gateway (S-GW, Serving Gateway), a data gateway (P-GW, PDN Gateway), etc., and the S-GW is a user terminal. Local access gateway, P-GW is the gateway for the user terminal to access the external data network. When the user is not roaming access or route optimization, the S-GW and P-GW should be used preferentially to reduce the number of data connection hops and improve the efficiency of forwarding data.
  • MME Mobility Management Entity
  • SGSN Serving GPRS Support Node
  • the inventors have found that the S-GW and the P-GW used in the prior art are usually not a unified gateway for the following reasons:
  • the first case After the UE switches from the SGSN of the Pre-R8 2/3G or the location update to the target mobility management network element, the target mobility management network element only obtains the IP address of the anchored P-GW, and is anchored. IP address information of the P-GW, the target mobility management network element cannot obtain the regional and unified information of the currently anchored P-GW (the unified information refers to: whether the device is a S-GW and a P-GW integrated device), thereby When the target mobility management network element performs S-GW selection during handover or location update, the S-GW that is unified with the anchored P-GW cannot be preferentially selected as the target side S-GW.
  • the second case After the UE attaches to the new network or switches (location update) to the new target side network, the UE will select the S-GW to establish a new service (for example: PDN (Packet Data Network) )), or restore the PDN connection service that has been created on the source side network; when the UE has established one or more PDN connections, the S-GW has been selected, and if the UE requests a new PDN connection, the MME is performing P When the GW is selected, the corresponding P-GW list is selected and selected according to the new APN (Access Point Name), and the P-GW of the current S-GW is not preferentially selected as the new APN. Anchored P-GW.
  • a new service for example: PDN (Packet Data Network)
  • PDN Packet Data Network
  • the target side MME in the handover or location update procedure in which the mobility management network element changes, can obtain the IP address of the source side S-GW before the target side S-GW selects, but only according to the IP address information, the target The MME cannot obtain the accurate location information of the source side S-GW, so that the target MME can determine whether to continue to use the S-GW on the source side according to the network topology, and cannot accurately determine the S-GW used by the UE. It is usually not a gateway with the P-GW. Summary of the invention
  • an embodiment of the present invention provides a method, an apparatus, and a system for selecting a gateway.
  • the technical solution is as follows:
  • a method of selecting a gateway comprising:
  • the service gateway that is unified with the currently used data gateway is selected as the target service gateway;
  • a device for selecting a gateway comprising:
  • a service gateway selection module configured to select a service gateway that is integrated with the currently used data gateway as a target service gateway when selecting a service gateway;
  • the data gateway selection module is configured to select a data gateway that is unified with the currently used service gateway as the current data gateway when selecting the data gateway.
  • a system for selecting a gateway the system comprising:
  • the target mobility management network element when selecting the service gateway, selects the service gateway that is the same as the currently used data gateway as the target service gateway; when selecting the data gateway, selects the data gateway that is the same as the currently used service gateway as the current data. Gateway.
  • the service gateway or the data gateway When the service gateway or the data gateway is selected, based on the currently used gateway, the service gateway or the data gateway that is integrated with the currently used gateway is selected as much as possible, thereby reducing the hop count of the data connection and improving the efficiency of forwarding data.
  • FIG. 1 is a signaling interaction diagram of a method for selecting a gateway in a handover process according to Embodiment 1 of the present invention
  • FIG. 2 is a signaling interaction diagram of a method for selecting a gateway in a location update process according to Embodiment 1 of the present invention
  • FIG. 3 is a signaling interaction diagram of a method for selecting a gateway in a handover procedure according to Embodiment 2 of the present invention
  • FIG. 4 is a signaling interaction diagram of a method for selecting a gateway in a location update procedure according to Embodiment 2 of the present invention
  • FIG. 5 is a signaling interaction diagram of a method for selecting a gateway in a handover process according to Embodiment 3 of the present invention
  • FIG. 6 is a signaling interaction diagram of a method for selecting a gateway in a location update process according to Embodiment 3 of the present invention
  • FIG. 7 is a signaling interaction diagram of a method for selecting a gateway according to Embodiment 4 of the present invention.
  • FIG. 8 is a signaling interaction diagram of a method for selecting a gateway according to Embodiment 5 of the present invention.
  • FIG. 9 is a signaling interaction diagram of a method for selecting a gateway according to Embodiment 6 of the present invention
  • FIG. 10 is a schematic structural diagram of an apparatus for selecting a gateway according to Embodiment 8 of the present invention
  • FIG. 11 is a schematic structural diagram of a system for selecting a gateway according to Embodiment 9 of the present invention.
  • the gateway in which the S-GW and the P-GW are combined is preferentially selected as the current S-GW or the P-GW, which reduces the hop count of the data connection and improves the forwarding data. s efficiency.
  • the S-GW and the P-GW are the same device, and the S-GW and the P-GW are the same device.
  • the device has the functions of the S-GW and the P-GW, and can serve as both the S-GW and the P-GW.
  • this embodiment provides a method for selecting a gateway.
  • the method is described by using the S-GW as an example when the UE switches to the target mobility management network element.
  • the method includes:
  • the source mobility management network element (for example, the MME or the SGSN) receives the handover request message, and selects the target mobility management network element.
  • the selected target mobility management network element may also be the self.
  • the selected target mobility management network element and the source mobility management network element are not the same device as an example;
  • the source mobility management network element forwards the handover request message to the selected target mobility management network element.
  • the target mobility management network element After receiving the handover request message, the target mobility management network element selects a domain name list of the currently available local S-GW and a domain name list of the currently used P-GW when the target mobility management network element decides to select a new S-GW.
  • the gateway domain names corresponding to each other in the two lists correspond to anchor points.
  • the local unified gateway where the P-GW is located should be selected as the target side S-GW.
  • Example ⁇ mouth, P-GW domain is currently used:... Gw.union gw 1. shanghai , operator A 3 ⁇ 4 union.gwl .shanghai operatorA or gwl operatorA, currently available S-GW local domain name: sgw. .... union.gwl shanghai operatorA 3 ⁇ 4 union.gwl .shanghai operatorA or gwl operatorA; P-GW of the current local domain name using the S-GW correspond to each other, two domain names corresponding to the same gateway-one The gateway should be preferentially selected as the target side S-GW.
  • the target mobility management network element will perform selection processing according to the APN priority.
  • the target mobility management network element may obtain the priority of the APN to determine which PDN connection uses the local unified gateway to be preferentially selected as the S-GW, and the priority of the APN may be configured in the
  • the operator policy on the mobility management network element may also be part of the user subscription information stored in the home subscriber server.
  • the APN priority policy is: default APN priority, IMS APN priority or internet APN priority, on different networks. Different APN priority policies can be used in the deployment phase and business mode.
  • the network element may determine according to the APN priority policy: When all the APN priorities corresponding to the currently used P-GW are lower than a specified priority, the target mobility management network element The local unified gateway where these P-GWs are located is not selected as the target side S-GW, and a local unified gateway supporting the high priority PDN connection (APN) is selected as the S-GW, so that subsequent UEs initiate high priority.
  • APN high priority PDN connection
  • the S-GW can be selected as the P-GW to reduce the delay or save the transmission resources.
  • the target mobility management network element compares the currently available local S-GW domain name list with the domain name list of the P-GW that meets the APN priority requirement, and the corresponding gateway domain name in the two lists corresponds to the locality where the P-GW is located.
  • One network Off should be selected as the target S-GW.
  • the target mobility management network element initiates establishment of the target side bearer to the selected S-GW.
  • the method for the target mobility management network element to select the S-GW includes:
  • the target mobility management network element receives a location update request message.
  • the target mobility management network element sends a context request message to the source mobility management network element.
  • the source mobility management network element sends a context response message to the target mobility management entity.
  • the target mobility management network element After receiving the context response message, the target mobility management network element selects the target S-GW.
  • the selection process of the S-GW by the target mobility management network element is similar to that in the 103, and is not described here.
  • the target mobility management network element initiates establishment of the target side bearer to the selected S-GW.
  • the target mobility management network element When the handover or user location update is performed, if the handover request message or the context response message received by the target mobility management network element only includes the IP address of the anchor P-GW, the UE switches from the SGSN of the Pre-R8 2/3G or For example, the location update to the target mobility management network element, the target mobility management network element can use the following methods to obtain the domain name of the anchor P-GW through the IP address of the anchor P-GW:
  • Method 1 Using the DNS (Domain Name Service) resolution method in the handover process 103 and the location update process 204, the target mobility management network element first uses the DNS resolution mechanism to perform the target S-GW selection.
  • the address list of the currently used P-GW obtains the domain name list of the P-GW, for example: ⁇ Forward DNS resolution or reverse DNS resolution mechanism.
  • the target mobility management network element performs DNS resolution on the address of each P-GW. When the resolution fails, the P-GW is considered to be a non-local gateway and cannot be selected as the S-GW. When the resolution is successful, the P- is obtained. GW's domain name.
  • the target mobility management network element may obtain the domain name of the P-GW by sending an inquiry message to the currently used P-GW when performing the target side S-GW selection; For example, the target mobility management network element sends an inquiry message to the currently used P-GW, and the content of the inquiry message includes the domain name of the P-GW, the area of the P-GW, or the unity information, wherein the target mobility management network element can
  • one S-GW is used as the proxy S-GW, and the query message is sent to the anchor P-GW, and the query message may also be sent directly to the anchor P-GW;
  • the currently used P-GW After the currently used P-GW receives the inquiry message, it will return the original to the target mobility management network element.
  • the domain name of the P-GW or the geographical or unity information of the P-GW, and the SI 1 interface address.
  • the corresponding relationship between the IP address of all P-GWs and the P-GW domain name in the PLMN is configured in advance on the mobility management network element, or is configured on the mobility management network element.
  • the target mobility management network element can obtain the domain name list of the internal P-GW of the PLMN through the address list of the currently used P-GW when performing the target S-GW selection.
  • the address list of the S-GW of the unified gateway of the P-GW is compared with the domain name list or the address list of the currently available local S-GW, corresponding to the local unified gateway where the currently used P-GW is located , thus making a preference.
  • the mapping between the addresses of all P-GWs and the P-GW domain name, or the IP addresses of all the unified P-GWs and the S-GW of the unified gateway may be configured.
  • Corresponding relationship of the IP address and is not limited to configuring the address correspondence relationship of the P-GW inside the PLMN to which the mobility management network element belongs on the mobility management network element;
  • the target mobility management network element After obtaining the domain name of the currently used P-GW, the target mobility management network element selects the optimal target S-GW according to the priority selection method of the target side S-GW described in the above 103.
  • this embodiment provides a method for selecting a gateway.
  • the method is as follows:
  • the target mobility management network element selects an S-GW as an example when the UE switches to the target mobility management network element, and the method includes:
  • the source access network element determines to trigger the handover
  • the source access network element sends a handover request message (Handover Request) to the source mobility management network element (the mobility management network element on the source network side);
  • the source mobility management network element After receiving the handover request message, the source mobility management network element selects a mobility management network element of the target network, that is, the target mobility management network element, and sends a Forward Relocation Request message to the target mobility management network element.
  • the message carries the IP address of the anchor P-GW;
  • the selected target mobility management network element may also be the self.
  • the selected target mobility management network element and the source mobility management network element are not the same device as an example;
  • the target mobility management network element determines whether the current source S-GW can continue to serve the UE. If not, reselect a new S-GW as the target S-GW through the existing mechanism. This embodiment re-selects a new one.
  • the S-GW is taken as an example of the target S-GW;
  • the target mobility management network element returns a forward handover response message to the source mobility management network element.
  • the source mobility management network element interacts with the same S-GW to construct an indirect data forwarding channel, and specifically constructs an indirect data forwarding channel including:
  • the source mobility management network element sends a Create Bearer Request message to the source S-GW.
  • the source service network element After receiving the create bearer request message, the source service network element returns a Create Bearer Response message to the source mobility management network element.
  • the source mobility management network element commands the source network to start switching, that is, sends a handover command message (Handover Command) to the source access network network element;
  • Handover Command handover command message
  • the source access network element starts to forward data to the target network.
  • the target access network element discovers that the UE appears on the local network, and confirms that the UE successfully accesses the target network.
  • 311 The target access network element confirms the UE access, and sends a handover notification to the target mobility management network element.
  • the target mobility management network element After receiving the handover notification, the target mobility management network element sends a Forward Relocation Complete message to the source mobility management network element to notify the source mobility management network element to switch successfully.
  • the source mobility management network element After receiving the forward handover complete message, the source mobility management network element returns a Forward Relocation Complete Acknowledge message to the target mobility management network element.
  • the target mobility management network element After receiving the forward handover completion confirmation message, the target mobility management network element sends an update bearer request message to the target S-GW to update the user information.
  • the target S-GW After receiving the update bearer request message, the target S-GW sends an update bearer request message to the anchor P-GW.
  • the anchor P-GW After receiving the update bearer request message, the anchor P-GW returns an update bearer response message (Update Bearer Response) to the target S-GW, where the message carries the domain name information of the P-GW, where the domain name information refers to the P-GW. Domain name, or P-GW geographical and unity information;
  • Update Bearer Response Update Bearer Response
  • the target mobility management network element in 304 decides to continue to use the source S-GW to serve the UE, the foregoing 314a and 314b may be omitted, and the target mobility management network element in the embodiment 304 selects a new S-GW (target) S-GW) serving the UE, need to perform the above 314a and 314b;
  • the target S-GW After receiving the update bearer response message, the target S-GW returns an update bearer response message (Update Bearer Response) to the target mobility management network element, and carries the domain name of the P-GW in the returned message, or carries the P-GW. Geographical and unity information;
  • the target mobility management network element After receiving the update bearer response message, the target mobility management network element reselects the local S-GW that is integrated with the anchor P-GW according to the domain name of the P-GW (or the regional and unified information of the P-GW).
  • Target S-GW After receiving the update bearer response message, the target mobility management network element reselects the local S-GW that is integrated with the anchor P-GW according to the domain name of the P-GW (or the regional and unified information of the P-GW).
  • the target mobility management network element may compare the currently available local S-GW domain name list with the domain name list of the anchor P-GW, and the corresponding gateway domain names in the two lists correspond to the local combination of the anchor point P-GW.
  • a gateway should be selected as the target side S-GW.
  • the specific method of selecting the S-GW is similar to the method provided by 103 in Embodiment 1, and will not be described in detail herein.
  • the target-side mobility management network element initiates the S-GW when appropriate (for example, after the UE transitions to the idle Idle state).
  • Relocation (relocation) process
  • the S-GW Relocation process is an existing technology, that is, the target side bearer established on the previously selected S-GW is switched to the newly selected S-GW (the anchor P-GW is located) On the local unity gateway).
  • the method for the target mobility management network element to select the S-GW includes:
  • the target mobility management network element receives the location update request message.
  • the target mobility management network element After receiving the context response message, the target mobility management network element determines whether the current source S-GW can continue to serve the UE, and if not, reselects a new S-GW as the target S-GW;
  • the target mobility management network element sends a create or update bearer request message to the target S-GW.
  • the target S-GW After receiving the create or update bearer request message, the target S-GW sends an update 7-load request message to the anchor P-GW.
  • the anchor P-GW After receiving the update bearer request message, the anchor P-GW returns an update bearer response message (Update Bearer Response) to the target S-GW, where the message carries the domain name of the anchor P-GW, or Carrying the geographical and unity information of the anchor P-GW;
  • Update Bearer Response Update Bearer Response
  • the target S-GW After receiving the update 7-load response message, the target S-GW returns a Create Bearer Response message or an Update Bearer Response message to the target mobility management network element, and carries an anchor in the returned message. Point the domain name of the P-GW, or carry the geographical and unity information of the anchor P-GW;
  • the target mobility management network element After receiving the create or update bearer response message, the target mobility management network element reselects the local S-GW that is integrated with the anchor P-GW according to the domain name of the P-GW (or the P-GW regional and unified information).
  • the target S-GW the specific selection process of the target S-GW is similar to that in 316, and will not be described in detail here.
  • the target-side mobility management network element initiates the S-GW when appropriate (for example, after the UE transitions to the idle Idle state).
  • Relocation (relocation) process the S-GW Relocation process is an existing technology, that is, the target side bearer established on the previously selected S-GW is switched to the newly selected S-GW (the anchor P-GW is located) On the local unity gateway).
  • the domain name information of the anchor P-GW is obtained by first selecting the S-GW, and then according to the available S-GW domain name in the process of creating or updating the bearer.
  • the domain name information of the information and the anchor P-GW, and the local S-GW that is integrated with the anchor P-GW are preferentially selected as the S-GW of the target side, which reduces the hop count of the data connection and improves the efficiency of forwarding data.
  • this embodiment provides a method for selecting a gateway, where the target mobility management network element selects the S-GW as an example when the UE switches to the target mobility management network element, and the method includes:
  • the source mobility management network element receives the handover request message, and selects the target mobility management network element.
  • the selected target mobility management network element may also be the self.
  • the selected target mobility management network element and the source mobility management network element are not the same device as an example;
  • the source mobility management network element forwards the handover request message to the selected target mobility management network element; the message carries an IP address of the anchor P-GW;
  • the target mobility management network element reselects an S-GW as the target S-GW;
  • the target mobility management network element sends a create bearer request message to the target S-GW to create a bearer on the target S-GW.
  • the target S-GW After receiving the create bearer request message, the target S-GW sends an inquiry message to the anchor P-GW, asks for the domain name, or queries the regional and unity information of the anchor P-GW;
  • the anchor P-GW After receiving the inquiry message, the anchor P-GW returns an inquiry response message to the S-GW, where the response message carries the domain name of the anchor P-GW, or the area and unit information carrying the anchor P-GW, and the returned information.
  • the S11 interface address may be included, where the S11 interface is an interface between the target mobility management network element and the S-GW;
  • the target S-GW After receiving the information returned by the P-GW, the target S-GW selects a new target S-GW according to the domain name of the P-GW (or the regional and unity information of the P-GW), and the specific selection process is as follows:
  • the target S-GW determines whether the current anchor P-GW is a local unified gateway according to the domain name of the P-GW (or the P-GW's regional and unity information). If yes, the gateway is preferentially selected as the new target S-GW. And sending the target mobility management network element to its own S11 interface to create a bearer request message and forwarding it to the local unified gateway where the P-GW is located, to create a bearer on the target S-GW;
  • the P-GW is a local unified gateway, and the mobility management NE can obtain the priority of the APN.
  • the priority may be an operator policy configured on the mobility management NE, or may be saved in the A part of the subscriber subscription information in the home subscriber server), the mobility management network element delivers the APN priority sequence to the target S-GW through the signaling message.
  • the target S-GW will select the optimal unified gateway as the new target S-GW according to the APN priority order, and send the target mobility management network element to its own S11 interface to create a bearer request message and forward it to the P-GW.
  • the local unified gateway is used to create a bearer on the target S-GW. Referring to FIG. 6, when the UE location is updated to the target mobility management network element, the method for the target mobility management network element to select the S-GW includes:
  • the target mobility management network element receives the location update request message.
  • Carrying the address information of the anchor P-GW for example, an IP address
  • the target mobility management network element selects a target S-GW
  • the target mobility management network element sends a create bearer request message to the target S-GW to create a bearer on the target S-GW.
  • 606 - 608 are the same as those in 505-507 and will not be described in detail here.
  • the domain name information of the anchor P-GW is obtained by the selected target S-GW, and then the domain name information of the available S-GW and the domain name information of the anchor P-GW are preferentially selected to be locally associated with the anchor P-GW.
  • the gateway of one reduces the number of hops of the data connection and improves the efficiency of forwarding data.
  • this embodiment provides a method for selecting a gateway.
  • the method is described by using the P-GW as an example when the UE requests a new PDN connection.
  • the method includes:
  • the UE sends a PDN connection request to a mobility management network element (for example, an MME).
  • a mobility management network element for example, an MME
  • the mobility management network element After receiving the PDN connection request, the mobility management network element selects the P-GW according to the new APN corresponding to the new PDN connection in the PDN connection request, if the S-GW has been selected.
  • the S-GW does not change in this embodiment
  • the mobility management network element selects the P-GW, it is processed in the following two cases:
  • the mobile management network element can know whether the anchor S-GW is a unified gateway according to the domain name of the anchor point S-GW, and if so, perform the following processing: parse the new APN corresponding to the PDN connection request, and obtain P -GW's domain name list or address list, find the P-GW's domain name list (or address column) Whether there is an entry matching the domain name of the anchor S-GW (or the unified gateway P-GW address where the anchor S-GW is located), if any, indicating that the S-GW is in the same gateway support
  • the mobility management network element preferentially selects the unified gateway to establish a PDN connection, that is, the data gateway of the unified gateway where the S-GW is located as the current data gateway. If the S-GW is not a unified gateway, the P-GW is selected according to an existing mechanism.
  • the matching entry if any, indicates that the unified gateway where the S-GW is located supports the connection of the new PDN, and the mobility management network element preferentially selects the unified gateway to establish the PDN.
  • the connection is the data gateway of the unified gateway where the S-GW is located as the current data gateway.
  • the S-GW After the S-GW receives the Create Default Bearer Request message, the S-GW forwards the message to the selected P-GW.
  • the method for the mobile management network element to obtain the anchor S-GW domain name is as follows:
  • the domain name of the anchor S-GW is obtained from the context, and the domain name of the anchor S-GW in the context is saved as follows: After the mobile management network element first accesses the network or switches to the network, the S-GW is performed. When the selection is made, the domain name of the S-GW is obtained and saved in the context of the mobility management network element.
  • the mobility management network element when the mobility management network element performs P-GW selection, first uses a DNS resolution machine.
  • the domain name of the anchor S-GW is obtained through the address of the anchor S-GW, such as a forward DNS resolution or a reverse DNS resolution mechanism.
  • the mobility management network element when performing the P-GW selection, the mobility management network element first sends a message to the anchor point S-GW to query the domain name of the S-GW, or queries the regional and unity information of the P-GW, and the S-GW sends the information to the mobility management network.
  • the meta returns its domain name, or returns its unification information and S5 interface address.
  • the mobile management network element is configured with the corresponding relationship between the IP address of all the S-GWs in the PLMN and the S-GW domain name, or the S-GW of all the integrated PLMNs is configured on the mobility management network element.
  • the mobility management network element may obtain the domain name of the anchor S-GW through the address of the anchor S-GW, or the P-GW of the unified gateway where the anchor S-GW is located.
  • the address is then compared with the P-GW domain name (or P-GW address) list obtained by the new APN, and it can be determined whether the local unified gateway where the anchor S-GW is located supports the connection of the new PDN. Thereby making a preference.
  • the mapping between the address of the S-GW and the S-GW domain name, or the IP address of all the unified S-GWs and the P-GW of the unified gateway may be configured.
  • Corresponding relationship of the IP address and is not limited to configuring the address correspondence of the S-GW inside the PLMN to which the mobility management network element belongs on the mobility management network element;
  • the embodiment After receiving the PDN connection request of the UE, the embodiment selects the P-GW connected to the PDN according to the anchor point S-GW, so that the selected P-GW and the anchor point S-GW are combined gateways, which reduces the hop of the data connection. The number improves the efficiency of forwarding data.
  • Example 5
  • this embodiment provides a method for selecting a gateway, where the UE requests a new one.
  • the S-GW selects the P-GW as an example.
  • the method includes: 801: The UE sends a PDN connection request to a mobility management network element (for example, an MME).
  • a mobility management network element for example, an MME
  • the mobile management network element reselects a P-GW when receiving the UE requesting a new PDN connection;
  • the mobility management network element sends a Create Default Bearer Request message to the anchor S-GW, where the message indicates the address of the P-GW that establishes the connection.
  • the anchor S-GW After the anchor S-GW receives the Create Default Bearer Request message, if the PDN service corresponding to the APN included in the received request message is found, the unified gateway where the anchor S-GW itself is located may provide the PDN service. Then, the connection of the P-GW indicated in the request message is no longer established, and the PDN connection is established directly on the unified gateway where the user is located;
  • Anchor S-GW sends a default bearer response message to the mobility management network element (Create
  • the anchor S-GW includes the P-GW address of the unified gateway it is in as the cell.
  • the P-GW of the unified gateway where the gateway is located is used as the P-GW of the PDN connection, so that the selected P-GW and the P-GW are selected.
  • the anchor S-GW is a unified gateway, which reduces the hop count of the data connection and improves the efficiency of forwarding data.
  • this embodiment provides a method for selecting a gateway.
  • the method is described by using the P-GW as an example when the UE requests a new PDN connection.
  • the method includes:
  • the UE sends a PDN connection request to a mobility management network element (for example, an MME).
  • a mobility management network element for example, an MME
  • the mobility management network element After receiving the PDN connection request, the mobility management network element parses the domain name (or address) of the P-GW parsed according to the domain name (or address) of the selected P-GW corresponding to the previously established PDN connection and the APN corresponding to the new PDN. ), select P-GW for the new APN;
  • P-GW The selection process of P-GW is as follows:
  • the mobility management network element first compares the selected P-GW domain name (or address) corresponding to the previously established PDN connection with the P-GW domain name (or address) list obtained by the new APN, if there is a total The same name or address, the mobility management network element preferentially selects the P-GW to establish a new PDN connection;
  • the mobile management network element may obtain the APN by using the APN.
  • Priority this priority may be an operator policy configured on the mobility management network element, or may be part of the subscriber subscription information stored in the home subscriber server) to determine which P-GW used by the PDN connection is preferentially selected as P-GW connected to the new PDN;
  • APN's priority policy is: default APN priority, IMS APN priority or internet APN priority. Different APN priority policies can be used in different network deployment phases and business models.
  • the mobility management network element creates a bearer for the new PDN connection according to the selected P-GW.
  • the specific creation process is similar to the creation process in 703, and is not detailed here.
  • the present embodiment selects the P-type of the new PDN connection according to the domain name of the selected P-GW corresponding to the previously established PDN connection and the domain name of the P-GW parsed by the APN corresponding to the new PDN.
  • the GW enables the newly established PDN service to be established on the P-GW of the existing service, which reduces the number of P-GWs, facilitates unified management of user data, and saves resources of the P-GW.
  • This embodiment provides a method for selecting a gateway.
  • the domain name of the source S-GW in this embodiment is included in the user context.
  • the domain name of the source S-GW is The source mobility management network element sends the target mobility management network element to the target mobility management network element through the context response message or the handover request message, so that the target mobility management network element obtains the accurate location information of the source S-GW, and promptly continues to use the source S-GW. Accurate judgment
  • the target mobility management network element may determine whether the source S-GW can be used according to the accurate regional information; The domain name of the source S-GW does not include the area information, and the target mobility management network element compares the currently available local S-GW domain name list with the domain name of the source S-GW, and determines whether to continue using the source S based on the comparison result.
  • the GW for example, if the domain name list has the same entry as the source S-GW, continues to use the source S-GW, otherwise, the source S-GW is not used.
  • the target mobility management network element When the target network continues to use the source S-GW, after the target mobility management network element knows the domain name of the S-GW, when the UE requests a new PDN connection, the UE selects the unified gateway where the S-GW is located to establish a PDN connection.
  • the domain name of the source S-GW is included in the user context, so that the target mobility management network element can obtain the domain name of the source S-GW, and then determine whether to continue to use the source S-GW. Meanwhile, when the UE requests to establish a new PDN connection. When requesting, the local unified gateway where the source S-GW is located is preferentially established to establish the PDN connection; the selected P-GW and the S-GW are local unified gateways, which reduces the hop count of the data connection and improves the efficiency of forwarding data. .
  • the mobility management network element in the above embodiment refers to a network element entity responsible for user mobility management in the network, such as an MME, an SGSN, an HRPD AN (Access Node, an access node), and the like.
  • Example 8 a network element entity responsible for user mobility management in the network, such as an MME, an SGSN, an HRPD AN (Access Node, an access node), and the like.
  • the embodiment provides an apparatus for selecting a gateway, where the apparatus includes: a service gateway selection module 1001, configured to select a service gateway that is unified with a current anchor data gateway as a target service gateway when selecting a service gateway;
  • the data gateway selection module 1002 is configured to select a data gateway that is integrated with the current anchor service gateway as the current data gateway when selecting the data gateway.
  • the service gateway selection module 1001 can be implemented in various manners.
  • the service gateway selection module 1001 includes:
  • An obtaining unit configured to obtain a domain name list of a current anchor data gateway
  • a first comparison and selection unit configured to compare the domain name list of the anchor data gateway acquired by the obtaining unit with the domain name list of the available service gateway, and select and the current anchor data gateway according to the comparison result
  • the unified service gateway acts as the target service gateway.
  • the service gateway selection module 1001 includes:
  • the address list obtaining unit is configured to obtain a service gateway of the unified gateway where the anchor data gateway is located according to the address correspondence between the address of the data gateway configured in advance on the mobility management network element and the service gateway of the unified gateway where the data gateway is located Address list;
  • the second comparison and selection unit is configured to compare the address list obtained by the address list obtaining unit with the address list of the available service gateway, and select a service gateway that is unified with the current anchor data gateway as the target service gateway according to the comparison result.
  • the obtaining unit may obtain the domain name list of the current anchor data gateway by using one of the following methods:
  • the service gateway selection module 1001 includes:
  • a sending unit configured to: when the user switches or the location update to the target mobility management network element, select a serving gateway as the target serving gateway, and send a create or update bearer request message to the target serving gateway;
  • the domain name information receiving unit is configured to receive a domain name information of the anchor point data gateway returned by the target service gateway, or update the bearer response message, where the domain name information is an anchor point when the target service gateway sends an update bearer request message to the anchor data gateway.
  • a selecting unit configured to select, according to the domain name information received by the domain name information receiving unit, a service gateway that is unified with the current anchor data gateway as a new target serving gateway.
  • the service gateway selection module 1001 includes:
  • the domain name information obtaining unit is configured to receive a create bearer request message sent by the target mobility management network element, send an inquiry message to the current anchor data gateway, and receive an inquiry response message returned by the anchor data gateway, where the query response message carries the anchor Point the domain name information of the data gateway;
  • a selecting unit configured to select, according to the domain name information acquired by the domain name information acquiring unit, a service gateway that is integrated with the anchor data gateway as a new target serving gateway.
  • the data gateway selection module 1002 can also be implemented in various manners.
  • the data gateway selection module 1002 includes:
  • a parsing unit configured to parse the APN corresponding to the PDN connection request, and obtain a domain name list of the data gateway;
  • the selecting unit is configured to find, in the domain name list of the data gateway obtained by the parsing unit, whether there is an entry matching the domain name of the anchor service gateway, and if yes, the data gateway of the unified gateway where the service gateway is located as the current data gateway.
  • the data gateway selection module 1002 includes:
  • a parsing unit configured to parse the APN corresponding to the PDN connection request, and obtain an address list of the data gateway
  • the obtaining unit is configured to obtain, according to an address correspondence between the address of the service gateway configured on the mobility management network element and the address of the data gateway of the unified gateway where the service gateway is located, the address of the data gateway of the unified gateway where the anchor service gateway is located ;
  • the selecting unit is configured to search whether the address list obtained by the parsing unit matches an address matching the address of the data gateway acquired by the obtaining unit, and if yes, the data gateway of the unified gateway where the service gateway is located as the current data gateway.
  • the domain name of the anchor service gateway is obtained by one of the following methods:
  • the domain name of the anchor service gateway is obtained when the anchor service gateway is selected for the first time, and is saved in the context;
  • the domain name of the anchor service gateway is obtained by querying the anchor service gateway.
  • the correspondence between the address of the service gateway and the domain name is configured in advance on the mobility management network element, and the domain name of the anchor service gateway is obtained according to the corresponding relationship.
  • the data gateway selection module may further include:
  • the checking unit is configured to receive a default bearer request message sent by the mobility management network element, and check whether the unified gateway where the mobile device is located can provide the PDN service requested by the mobility management network element;
  • the selecting unit is configured to: when the unchecked gateway of the checking unit can provide the PDN service requested by the mobility management network element, use the unified gateway where the mobile gateway is located as the current data gateway, and set the address of the current data gateway. Notify the mobile management network element.
  • the device further includes:
  • An obtaining module configured to: after receiving the PDN connection request sent by the user, parsing the APN corresponding to the PDN connection request, and obtaining a domain name or an address of the data gateway corresponding to the PDN connection request; and selecting a module, configured to compare the established PDN The relationship between the domain name or address of the corresponding selected data gateway and the domain name or address of the data gateway obtained by the obtaining module is selected, and the data gateway is selected according to the comparison result.
  • the gateway of the current anchor gateway is selected as the basis of the current anchor gateway, thereby reducing the hop count of the data connection and improving the forwarding data. effectiveness.
  • the embodiment provides a system for selecting a gateway.
  • the system includes: a target mobility management network element 1101.
  • selecting a serving gateway selecting a serving gateway that is integrated with a current anchor data gateway as a target serving gateway.
  • selecting a data gateway select the data gateway that is the same as the current anchor service gateway as the current data gateway.
  • system further includes:
  • the source mobility management network element 1102 is configured to: when the user switches or the location is updated to the target mobility management network element Sending, to the target mobility management network element 1101, domain name information of the source service gateway;
  • the above target mobility management network element 1101 further includes:
  • the target service gateway selection module is configured to: after receiving the domain name information of the source service gateway sent by the source mobility management network element 1102, determine whether to continue to use the source service gateway according to the domain name information of the source service gateway, and if yes, use the source service gateway as Target service gateway;
  • the current data gateway selection module is configured to: when receiving the PDN connection request of the user, and the target service gateway selection module selects the source service gateway as the target service gateway, preferentially select the unified gateway where the source service gateway is located as the current data gateway, The current data gateway establishes a PDN connection corresponding to the PDN connection request.
  • the system provided by the present embodiment is based on the current anchor gateway, and selects a gateway that is unified with the current anchor gateway as much as possible, thereby reducing the hop count of the data connection and improving the forwarding data. effectiveness.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Description

选择网关的方法、 装置和系统 本申请要求于 2008 年 6 月 23 日提交中国专利局、 申请号为 200810125266.3、发明名称为"选择网关的方法、装置和系统"的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信领域, 特别涉及一种选择网关的方法、 装置和系统。 背景技术
下一代移动分组网络(EPS, Evolved Packet System ) 中包括: 移动管理 网元, 例如: MME ( Mobility Management Entity, 移动管理实体)或者 SGSN ( Serving GPRS Support Node, 服务 GPRS支持节点), 负责移动用户终端的 位置管理、 连接管理、 安全认证、 网关选择等, 其中, 网关选择包括选择服 务网关(S-GW, Serving Gateway ) 、 数据网关(P-GW, PDN Gateway )等, S-GW是用户终端的本地接入网关, P-GW是用户终端访问外部数据网络的网 关。 在用户非漫游接入、 拜访地路由优化时, 应该优先使用 S-GW与 P-GW 合一的网关, 以减少数据连接跳数, 提高转发数据的效率。
在实现本发明的过程中, 发明人发现现有技术中使用的 S-GW与 P-GW 通常不是合一网关, 原因如下:
第一种情况: 当 UE从 Pre-R8 2/3G的 SGSN切换或者位置更新到目标移 动管理网元后, 目标移动管理网元只获得了锚定的 P-GW的 IP地址, 通过锚 定的 P-GW的 IP地址信息, 目标移动管理网元不能获得当前锚定的 P-GW的 地域和合一信息 (合一信息指: 是否是 S-GW和 P-GW合一的设备) , 从而 在切换或位置更新时, 目标移动管理网元进行 S-GW选择时, 无法优先选择 与锚定的 P-GW合一的 S-GW作为目标侧的 S-GW。 第二种情况: 在 UE 附着到新的网络或者切换(位置更新)到新的目标 侧网络后, UE 将会选择 S-GW 建立新的业务(例如: PDN ( Packet Data Network, 报文数据网络)连接) , 或者恢复已经在源侧网络创建的 PDN连 接业务; 当 UE已经建立了一个或者多个 PDN连接时, 已经选择了 S-GW, 如果 UE请求新的 PDN连接 , 则 MME在进行 P-GW选择时 , 仅仅根据新的 APN ( Access Point Name, 接入点名称 )解析得到对应的 P-GW列表进行选 择,没有优先选择当前的 S-GW合一的 P-GW作为新的 APN的锚定的 P-GW。
第三种情况: 移动管理网元发生改变的切换或者位置更新流程中, 目标 侧 MME在目标侧 S-GW选择之前, 可以获得源侧 S-GW的 IP地址, 但仅根 据 IP地址信息, 目标侧 MME不能获得源侧 S-GW的精确的位置信息, 从而 使目标侧 MME根据网络拓朴判断是否继续使用源侧的 S-GW时, 不能做出 准确的判断, 导致 UE使用的 S-GW与 P-GW通常不是合一网关。 发明内容
为了提高转发数据的效率, 本发明实施例提供了一种选择网关的方法、 装置和系统。 所述技术方案如下:
一种选择网关的方法, 所述方法包括:
选择服务网关时, 选择与当前使用的数据网关合一的服务网关作为目标 服务网关;
选择数据网关时, 选择与当前使用的服务网关合一的数据网关作为当前 数据网关。
一种选择网关的装置, 所述装置包括:
服务网关选择模块, 用于选择服务网关时, 选择与当前使用的数据网关 合一的服务网关作为目标服务网关;
数据网关选择模块, 用于选择数据网关时, 选择与当前使用的服务网关 合一的数据网关作为当前数据网关。 一种选择网关的系统, 所述系统包括:
目标移动管理网元, 用于选择服务网关时, 选择与当前使用的数据网关 合一的服务网关作为目标服务网关; 选择数据网关时, 选择与当前使用的服 务网关合一的数据网关作为当前数据网关。
本发明实施例提供的技术方案的有益效果是:
在进行服务网关或数据网关选择时, 以当前使用的网关为依据, 尽可能 选择与当前使用的网关合一的服务网关或数据网关,减少了数据连接的跳数, 提高了转发数据的效率。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例 1提供的切换过程中选择网关的方法的信令交互图; 图 2是本发明实施例 1提供的位置更新过程中选择网关的方法的信令交 互图;
图 3是本发明实施例 2提供的切换过程中选择网关的方法的信令交互图; 图 4是本发明实施例 2提供的位置更新过程中选择网关的方法的信令交 互图;
图 5是本发明实施例 3提供的切换过程中选择网关的方法的信令交互图; 图 6是本发明实施例 3提供的位置更新过程中选择网关的方法的信令交 互图;
图 7是本发明实施例 4提供的选择网关的方法的信令交互图;
图 8是本发明实施例 5提供的选择网关的方法的信令交互图;
图 9是本发明实施例 6提供的选择网关的方法的信令交互图; 图 10是本发明实施例 8提供的选择网关的装置的结构示意图; 图 11是本发明实施例 9提供的选择网关的系统的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例 , 都属于本发明保护的范围。
本发明实施例进行 S-GW或 P-GW选择时, 优先选择 S-GW与 P-GW合 一的网关作为当前 S-GW或 P-GW, 减少了数据连接的跳数, 提高了转发数 据的效率。
其中, S-GW与 P-GW合一的网关指 S-GW与 P-GW为同一个设备, 该 设备具备 S-GW和 P - GW的功能, 可以同时作为 S-GW和 P - GW。
实施例 1
参见图 1 , 本实施例提供了一种选择网关的方法, 该方法以 UE切换到目 标移动管理网元时, 目标移动管理网元选择 S-GW为例进行说明, 该方法包 括:
101 : 源移动管理网元(例如 MME或者 SGSN )接收切换请求消息, 选 择目标移动管理网元;
其中, 选择的目标移动管理网元也可能为自身, 本实施例以选择的目标 移动管理网元和源移动管理网元不是同一设备为例进行说明;
102: 源移动管理网元将切换请求消息转发给所选择的目标移动管理网 元;
103: 目标移动管理网元接收到切换请求消息后, 当目标移动管理网元决 定选择新的 S-GW 时, 把当前可用的本地 S-GW 的域名列表和当前使用的 P-GW 的域名列表相比较, 两个列表中相互对应的网关域名, 即对应着锚点 P-GW所在的本地合一网关, 应该优先被选择作为目标侧的 S-GW。
例^口 , 当前使用的 P-GW的域名为: gw.union. gw 1. shanghai, operator A ¾ union.gwl .shanghai. operatorA或者 gwl . operatorA, 当前可用的本地 S-GW域 名为: sgw.union.gwl. shanghai. operatorA ¾ union.gwl .shanghai. operatorA或者 gwl . operatorA; 则当前使用的 P-GW的域名与本地 S-GW的域名相互对应, 两个域名对应到同一个合一的网关, 该网关应该优先被选择作为目标侧的 S-GW。
如果存在多个符合与当前使用的 P-GW合一的本地 S-GW, 目标移动管 理网元将根据 APN优先级进行选择处理。
在多 PDN连接的情况下, 目标移动管理网元可以获取 APN的优先级来 确定哪个 PDN连接使用的本地合一的网关应该被优先选择作为 S-GW, 该 APN的优先级可以是配置在该移动管理网元上面的运营商策略, 也可以是保 存在归属用户服务器中的用户签约信息的一部分, 例如 APN 的优先级策略 为: default APN优先、 IMS APN优先或 internet APN优先, 在不同的网络部 署阶段和商业模式下, 可以使用不同的 APN优先级策略。
可选地, 当 UE从 Pre-R8 SGSN或 Non-3gpp网络切换过来, 如果在源网 络不存在高优先级 PDN连接, 而只有低优先级的 PDN连接, 在这种切换情 况下, 目标移动管理网元在进行目标侧 S-GW选择时, 可以根据 APN优先级 策略进行判断: 当所有当前使用的 P-GW对应的 APN优先级都低于某一指定 的优先级时, 目标移动管理网元就不选择这些 P-GW所在的本地合一网关作 为目标侧 S-GW, 而要重新选择一个支持高优先级 PDN连接 ( APN )的本地 合一网关作为 S-GW, 这样后续 UE发起高优先级 APN的连接, 就可以选择 S-GW同时作为 P-GW, 达到减少时延或节约传输资源的目的; 当存在对应的 APN优先级高于某一指定的优先级数目的 P-GW时, 目标移动管理网元把当 前可用的本地 S-GW域名列表和符合 APN优先级要求的 P-GW的域名列表相 比较, 两个列表中相互对应的网关域名, 即对应着 P-GW所在的本地合一网 关, 应该优先被选择作为目标 S-GW。
104: 目标移动管理网元向选择的 S-GW发起目标侧承载的建立。
参见图 2, 当 UE位置更新到目标移动管理网元时, 目标移动管理网元选 择 S-GW的方法包括:
201 : 目标移动管理网元接收位置更新请求消息;
202: 目标移动管理网元发送上下文请求消息给源移动管理网元;
203: 源移动管理网元发送上下文应答消息给目标移动管理实体;
204: 目标移动管理网元收到上下文应答消息后, 选择目标 S-GW;
目标移动管理网元进行 S-GW的选择过程与 103中类似,这里不再赘述; 205: 目标移动管理网元向选择的 S-GW发起目标侧承载的建立。
在上述切换或者用户位置更新时, 如果目标移动管理网元收到的切换请 求消息或者上下文响应消息中只包含锚点 P-GW的 IP地址, 以 UE从 Pre-R8 2/3G的 SGSN切换或位置更新到目标移动管理网元为例, 目标移动管理网元 可以使用下面的几种方法通过锚点 P-GW的 IP地址来获取锚点 P-GW的域 名:
方法一: 使用 DNS ( Domain Name Service, 域名服务)解析方式 在切换流程的 103和位置更新流程的 204中, 目标移动管理网元在进行 目标 S-GW选择时,首先使用 DNS解析的机制来通过当前使用的 P-GW的地 址列表获取 P-GW的域名列表, 例如: 釆用正向 DNS解析或者反向 DNS解 析机制。 目标移动管理网元对每个 P-GW的地址执行 DNS解析, 当解析失败 时, 则认为该 P-GW是非本地网关, 不能选择作为 S-GW; 当解析成功时, 即可得到该 P-GW的域名。
方法二: 直接询问方式
在切换流程的 103和位置更新流程的 204中, 目标移动管理网元在进行 目标侧 S-GW选择时,可以通过向当前使用的 P-GW发送询问消息获取 P-GW 的域名; 例如: 目标移动管理网元向当前使用的 P-GW发送询问消息, 该询问消 息询问的内容有 P-GW的域名、 P-GW的地域或者合一信息等, 其中, 目标 移动管理网元可以任意选择一个 S-GW做为代理 S-GW, 向锚点 P-GW发送 询问消息, 也可以直接向锚点 P-GW发送询问消息;
当前使用的 P-GW 收到询问消息后, 将会向目标移动管理网元返回本
P-GW的域名, 或者返回本 P-GW的地域或合一信息, 以及 SI 1接口地址等。
方法三: 移动管理网元上的相关配置
预先在移动管理网元上配置有所属的 PLMN ( Public Land Mobile Network, 公众陆地移动电话网 ) 内部所有 P-GW的 IP地址和 P-GW域名的 对应关系, 或者是在移动管理网元上配置有所属的 PLMN 内部所有合一的 P-GW的 IP地址和该合一网关上 S-GW的 IP地址的对应关系。这样,在切换 流程的 103和位置更新流程的 204中, 目标移动管理网元在进行目标 S-GW 选择时 , 可以通过当前使用的 P-GW的地址列表获取本 PLMN内部 P-GW的 域名列表或者 P-GW所在合一网关的 S-GW的地址列表, 然后与当前可用的 本地 S-GW的域名列表或者地址列表相比较,就可以对应出当前使用的 P-GW 所在的本地合一网关, 从而做出优先选择。
在移动管理网元上进行相关配置时, 也可以配置所有 P-GW 的地址和 P-GW域名的对应关系, 或者所有合一的 P-GW的 IP地址和该合一网关上 S-GW的 IP地址的对应关系, 而不局限于在移动管理网元上配置该移动管理 网元所属的 PLMN内部的 P-GW的地址对应关系;
获取到当前使用的 P-GW的域名后, 目标移动管理网元按照以上 103中 所述的目标侧 S-GW的优先选择方法选择最优的目标 S-GW。
本实施例进行 S-GW选择时, 优先选择与当前使用的 P-GW合一的本地 网关作为当前的 S-GW, 减少了数据连接的跳数, 提高了转发数据的效率。 实施例 2 参见图 3 , 本实施例提供了一种选择网关的方法, 该方法以 UE切换到目 标移动管理网元时, 目标移动管理网元选择 S-GW为例进行说明, 该方法包 括:
301 : 源接入网网元决定触发切换;
302: 源接入网网元向源移动管理网元(源网络侧的移动性管理网元)发 送切换请求消息 ( Handover Request ) ;
303: 源移动管理网元收到切换请求消息后, 选择目标网络的移动性管理 网元, 即目标移动管理网元, 向该目标移动管理网元发送前转切换请求消息 ( Forward Relocation Request ) , 消息中携带锚点 P-GW的 IP地址;
其中, 选择的目标移动管理网元也可能为自身, 本实施例以选择的目标 移动管理网元和源移动管理网元不是同一设备为例进行说明;
304: 目标移动管理网元决定当前的源 S-GW是否能继续服务于 UE, 如 果不行, 通过现有机制重新选择一个新的 S-GW作为目标 S-GW; 本实施例 以重新选择一个新的 S-GW作为目标 S-GW为例进行说明;
305 : 目标移动管理网元向源移动管理网元返回前转切换响应消息
( Forward Relocation Response ) ;
306: 如果数据转发釆用非直接数据转发, 源移动管理网元同源 S-GW交 互, 构建非直接数据转发通道, 具体构建非直接数据转发通道包括:
306a: 源移动管理网元向源 S-GW发送创建承载请求消息( Create Bearer Request ) ;
306b: 源服务网元收到创建承载请求消息后, 向源移动管理网元返回创 建 载响应消息 ( Create Bearer Response ) ;
如果数据转发釆用直接数据转发, 则可以省略 306中的构建非直接数据 转发通道的过程;
307: 源移动管理网元命令源网络开始切换, 即向源接入网网元发送切换 命令消息 ( Handover Command ) ; 308: 源接入网网元收到切换命令消息后, 向 UE转发切换命令消息, 通 知 UE开始切换;
309: 源接入网网元开始转发数据到目标网络;
310: 目标接入网网元发现 UE在本网出现,确认 UE成功接入目标网络; 311: 目标接入网网元确认 UE接入, 向目标移动管理网元发送切换通知
( Handover Notify ) ;
312a: 目标移动管理网元收到切换通知后, 向源移动管理网元发送前转 切换完成消息 ( Forward Relocation Complete ) , 通知源移动管理网元切换成 功;
312b: 源移动管理网元收到前转切换完成消息后, 向目标移动管理网元 返回前转切换完成确认消息 ( Forward Relocation Complete Acknowledge ) ;
313: 目标移动管理网元收到前转切换完成确认消息后, 向目标 S-GW发 送更新 载请求消息 ( Update Bearer Request ) , 更新用户面 载信息;
314a: 目标 S-GW收到更新承载请求消息后, 向锚点 P-GW发送更新承 载请求消息;
314b: 锚点 P-GW收到更新承载请求消息后, 向目标 S-GW返回更新承 载响应消息 ( Update Bearer Response ) , 该消息中携带 P-GW的域名信息, 该域名信息指 P-GW的域名, 或者 P-GW的地域和合一信息;
其中, 当 304中的目标移动管理网元决定继续使用源 S-GW服务于 UE 时, 上述 314a和 314b可以省略, 本实施例 304中的目标移动管理网元选择 了新的 S-GW (目标 S-GW )服务于 UE, 需要执行上述 314a和 314b;
315: 目标 S-GW收到更新承载响应消息后, 向目标移动管理网元返回更 新承载响应消息 (Update Bearer Response ) , 并在返回的消息中携带 P-GW 的域名, 或者携带 P-GW的地域和合一信息;
316:目标移动管理网元收到更新承载响应消息后,根据 P-GW的域名(或 者 P-GW的地域和合一信息) , 重新选择与锚点 P-GW合一的本地 S-GW作 为目标 S-GW;
目标移动管理网元可以把当前可用的本地 S-GW域名列表和锚点 P-GW 的域名列表相比较, 两个列表中相互对应的网关域名, 即对应着锚点 P-GW 所在的本地合一网关, 应该优先被选择作为目标侧的 S-GW。 选择 S-GW的 具体方法同实施例 1中 103所提供的方法类似, 这里不再详述。
如果优先选择的锚点 P-GW所在的本地合一网关, 和之前选择的 S-GW 不符, 目标侧移动管理网元就在合适的时候(例如 UE转为空闲 Idle态后 ) 发起 S-GW Relocation (重定位) 流程, 该 S-GW Relocation (重定位) 流程 为现有技术, 即将之前选择的 S-GW 上建立的目标侧承载切换到新选择的 S-GW (锚点 P-GW所在的本地合一网关)上。 参见图 4, 当 UE位置更新到目标移动管理网元时, 目标移动管理网元选 择 S-GW的方法包括:
401 : 目标移动管理网元接收位置更新请求消息;
只携带锚点 P-GW地址信息;
404: 目标移动管理网元收到上下文应答消息后, 决定当前的源 S-GW是 否能继续服务于 UE, 如果不行, 重新选择一个新的 S-GW作为目标 S-GW;
405 : 目标移动管理网元向目标 S-GW发送创建或更新承载请求消息
( Create Bearer Request或者 Update Bearer Request ) , 创建或者更新目标侧 S-GW上的承载;
406: 目标 S-GW收到创建或更新承载请求消息后, 向锚点 P-GW发送更 新 7 载请求消息;
407:锚点 P-GW收到更新承载请求消息后, 向目标 S-GW返回更新承载 响应消息 ( Update Bearer Response ) , 该消息中携带锚点 P-GW的域名, 或 者携带锚点 P-GW的地域和合一信息;
408: 目标 S-GW收到更新 7 载响应消息后, 向目标移动管理网元返回创 建承载响应消息 (Create Bearer Response )或者更新承载响应消息 (Update Bearer Response ) , 并在返回的消息中携带锚点 P-GW的域名, 或者携带锚 点 P-GW的地域和合一信息;
409: 目标移动管理网元收到创建或更新承载响应消息后,根据 P-GW的 域名 (或者 P-GW的地域和合一信息) , 重新选择与锚点 P-GW合一的本地 S-GW作为目标 S-GW; 目标 S-GW的具体选择过程与 316中类似,这里不再 详述。
如果优先选择的锚点 P-GW所在的本地合一网关, 和之前选择的 S-GW 不符, 目标侧移动管理网元就在合适的时候(例如 UE转为空闲 Idle态后 ) 发起 S-GW Relocation (重定位) 流程, 该 S-GW Relocation (重定位) 流程 为现有技术, 即将之前选择的 S-GW 上建立的目标侧承载切换到新选择的 S-GW (锚点 P-GW所在的本地合一网关 )上。
本实施例的目标移动管理网元进行 S-GW选择时, 通过先选择 S-GW, 然后在承载创建或者更新过程中获得锚点 P-GW的域名信息, 进而根据可用 的 S-GW的域名信息与锚点 P-GW的域名信息, 优先选择与锚点 P-GW合一 的本地 S-GW作为目标侧的 S-GW, 减少了数据连接的跳数, 提高了转发数 据的效率。 实施例 3
参见图 5, 本实施例提供了一种选择网关的方法, 该方法以 UE切换到目 标移动管理网元时, 目标移动管理网元选择 S-GW为例进行说明, 该方法包 括:
501 : 源移动管理网元(例如 MME或者 SGSN )接收切换请求消息, 选 择目标移动管理网元; 其中, 选择的目标移动管理网元也可能为自身, 本实施例以选择的目标 移动管理网元和源移动管理网元不是同一设备为例进行说明;
502: 源移动管理网元将切换请求消息转发给所选择的目标移动管理网 元; 该消息携带锚点 P-GW的 IP地址;
503: 目标移动管理网元重新选择一个 S-GW作为目标 S-GW;
504: 目标移动管理网元向目标 S-GW发送创建承载请求消息, 创建目标 S-GW上的承载;
505:目标 S-GW收到创建承载请求消息后,向锚点 P-GW发送询问消息, 询问其域名, 或者询问锚点 P-GW的地域和合一信息;
506: 锚点 P-GW收到询问消息后, 向 S-GW返回询问响应消息, 该响应 消息携带锚点 P-GW的域名, 或者携带锚点 P-GW的地域和合一信息, 返回 的信息中还可以包括 S11接口地址等; 其中, S11接口为目标移动管理网元 与 S-GW之间的接口;
507: 目标 S-GW收到 P-GW返回的信息后, 根据 P-GW的域名 (或者 P-GW的地域和合一信息 )选择新的目标 S-GW, 具体选择过程如下:
目标 S-GW根据 P-GW的域名 (或者 P-GW的地域和合一信息 )判断当 前的锚点 P-GW是否为本地合一网关, 如果是, 优先选择该网关作为新的目 标 S-GW, 并将目标移动管理网元发送给自己的 S11接口创建承载请求消息 转发给该 P-GW所在的本地合一网关, 用以创建目标 S-GW上的承载;
如果存在多个符合的锚点 P-GW为本地合一网关, 移动管理网元可以获 取 APN 的优先级(该优先级可以是配置在移动管理网元上面的运营商策略, 也可以是保存在归属用户服务器中的用户签约信息的一部分) , 移动管理网 元通过信令消息传递这个 APN优先级顺序给目标 S-GW。 目标 S-GW将按照 APN优先级顺序选择最优的合一的网关作为新的目标 S-GW, 并将目标移动 管理网元发送给自己的 S11接口创建承载请求消息转发给该 P-GW所在的本 地合一网关, 用以创建目标 S-GW上的承载。 参见图 6, 当 UE位置更新到目标移动管理网元时, 目标移动管理网元选 择 S-GW的方法包括:
601 : 目标移动管理网元接收位置更新请求消息;
携带锚点 P-GW的地址信息, 例如, IP地址;
604: 目标移动管理网元选择目标 S-GW;
605: 目标移动管理网元向目标 S-GW发送创建承载请求消息, 创建目标 S-GW上的承载;
606 - 608与 505-507中的内容相同, 这里不再详述。
本实施例通过选择的目标 S-GW获取锚点 P-GW的域名信息, 进而根据 可用的 S-GW的域名信息与锚点 P-GW的域名信息, 优先选择与锚点 P-GW 本地合一的网关作为目标 S-GW, 减少了数据连接的跳数, 提高了转发数据 的效率。 实施例 4
参见图 7, 本实施例提供了一种选择网关的方法, 该方法以 UE请求新的 PDN连接时, 移动管理网元选择 P-GW为例进行说明, 该方法包括:
701 : UE向移动管理网元(例如, MME )发送 PDN连接请求;
702: 移动管理网元收到 PDN连接请求后, 在 S-GW已经选择的情况下, 根据 PDN连接请求中新 PDN连接对应的新 APN选择 P-GW。
其中, S-GW在本实施例中不发生变化;
移动管理网元选择 P-GW时, 分以下两种情况进行处理:
1 )移动管理网元根据锚点 S-GW的域名可以得知该锚点 S-GW是否是合 一的网关, 如果是, 进行如下处理: 对 PDN连接请求对应的新 APN进行解 析, 得到 P-GW的域名列表或地址列表, 查找 P-GW的域名列表(或地址列 表) 中是否有与锚点 S-GW的域名 (或锚点 S-GW所在的合一网关 P-GW地 址)匹配的表项, 如果有, 则说明该 S-GW所在的合一网关支持新 PDN的连 接, 则移动管理网元优先选择该合一网关建立 PDN连接, 即以该 S-GW所在 的合一网关的数据网关作为当前的数据网关。如果该 S-GW不是合一的网关, 则按照现有机制选择 P-GW。
2 )锚点 S-GW的域名中不包含合一信息, 移动管理网元无法判断 S-GW 是否是合一的网关, 所以直接进行如下处理:
对 PDN连接请求对应的新 APN进行解析, 得到 P-GW的域名列表或地 址列表, 查找 P-GW的域名列表(或地址列表) 中是否有与锚点 S-GW的域 名 (或锚点 S-GW所在的合一网关 P-GW地址 ) 匹配的表项, 如果有, 则说 明该 S-GW所在的合一网关支持新 PDN的连接,则移动管理网元优先选择该 合一网关建立 PDN连接,即以该 S-GW所在的合一网关的数据网关作为当前 的数据网关。
703: 根据选择的 P-GW为新的 PDN连接创建承载, 具体包括: 向锚点 S-GW发送创建缺省承载请求消息, 该消息中包含选择的 P-GW 的地址;
锚点 S-GW 收到创建缺省承载请求消息后, 将该消息转发给选择的 P-GW;
本实施例中, 移动管理网元获取锚点 S-GW域名的方法有:
方法一: 初次选择 S-GW时获取
从上下文中获取锚点 S-GW的域名, 该上下文中的锚点 S-GW的域名是 通过如下方式保存的: 移动管理网元在初次接入网络或者切换到网络后, 在 进行 S-GW的选择时, 获得 S-GW的域名, 并保存在移动管理网元的上下文 中。
方法二: 使用 DNS解析方式
在 702中, 移动管理网元在进行 P-GW选择时, 首先使用 DNS解析的机 制来通过锚点 S-GW的地址获取锚点 S-GW的域名,例如正向 DNS解析或者 反向 DNS解析机制。
方法三: 直接询问方式
在 702中, 移动管理网元在进行 P-GW选择时, 首先向锚点 S-GW发送 消息询问 S-GW的域名, 或者询问 P-GW的地域和合一信息, S-GW向移动 管理网元返回其域名, 或者返回其合一信息和 S5接口地址等。
方法四: 移动管理网元上的相关配置
在移动管理网元上配置有所属的 PLMN 内部所有 S-GW 的 IP地址和 S-GW域名的对应关系, 或者是在移动管理网元上配置有所属的 PLMN内部 所有合一的 S-GW的 IP地址和该合一网关上 P-GW的 IP地址的对应关系。 这样, 在 702中, 移动管理网元在进行 P-GW选择时, 可以通过锚点 S-GW 的地址获取锚点 S-GW的域名, 或者锚点 S-GW所在合一网关的 P-GW的地 址, 然后与新 APN解析得到的 P-GW的域名(或者 P-GW的地址 ) 列表相比 较,就可以判断出锚点 S-GW所在的本地合一网关是否支持该新 PDN的连接, 从而做出优先选择。
在移动管理网元上进行相关配置时, 也可以配置所有 S-GW 的地址和 S-GW域名的对应关系, 或者所有合一的 S-GW的 IP地址和该合一网关上 P-GW的 IP地址的对应关系, 而不局限于在移动管理网元上配置该移动管理 网元所属的 PLMN内部的 S-GW的地址对应关系;
本实施例接收到 UE的 PDN连接请求后, 根据锚点 S-GW选择该 PDN 连接的 P-GW, 使选择的 P-GW与锚点 S-GW为合一网关, 减少了数据连接 的跳数, 提高了转发数据的效率。 实施例 5
参见图 8, 本实施例提供了一种选择网关的方法, 该方法以 UE请求新的
PDN连接时, S-GW选择 P-GW为例进行说明, 该方法包括: 801 : UE向移动管理网元(例如, MME )发送 PDN连接请求;
802: 移动管理网元接收到 UE请求新的 PDN连接时, 重新选择一个 P-GW;
803: 移动管理网元向锚点 S-GW发送创建缺省承载请求消息 (Create Default Bearer Request ) , 该消息指示建立连接的 P-GW的地址;
804: 锚点 S-GW收到创建缺省承载请求消息后, 如果发现收到的请求消 息中包含的 APN对应的 PDN业务, 锚点 S-GW本身所在的合一网关可以提 供该 PDN业务, 则不再继续向请求消息中指示的 P-GW的地址建立连接, 而 直接在自己所在的合一网关上建立 PDN连接;
805: 锚点 S-GW 向移动管理网元发送创建缺省承载响应消息 (Create
Default Bearer Response ) , 锚点 S-GW将其所在的合一网关的 P-GW地址作 为信元包含在该消息中。
本实施例的锚点 S-GW接收到移动管理网元的创建缺省承载请求后, 将 其所在的合一网关的 P-GW作为该 PDN连接的 P-GW,使选择的 P-GW与锚 点 S-GW为合一网关, 减少了数据连接的跳数, 提高了转发数据的效率。 实施例 6
参见图 9, 本实施例提供了一种选择网关的方法, 该方法以 UE请求新的 PDN连接时, 移动管理网元选择 P-GW为例进行说明, 该方法包括:
901 : UE向移动管理网元(例如, MME )发送 PDN连接请求;
902: 移动管理网元收到 PDN连接请求后, 根据之前建立的 PDN连接对 应的已选 P-GW的域名 (或地址 )和新的 PDN对应的 APN解析出的 P-GW 的域名 (或地址) , 为新 APN选择 P-GW;
P-GW的选择过程如下:
移动管理网元首先把之前建立的 PDN连接对应的已选 P-GW域名(或者 地址)与新 APN解析得到的 P-GW域名(或者地址) 列表相比较, 如果有共 同的名字或者地址,则移动管理网元优先选择这个 P-GW来建立新的 PDN连 接;
移动管理网元如果发现新 APN对应的 P-GW的域名 (或地址)列表和当 前已建立业务连接的已选 P-GW的域名 (或地址) 列表有多个相重, 可以通 过获取 APN的优先级(该优先级可以是配置在移动管理网元上面的运营商策 略, 也可以是保存在归属用户服务器中的用户签约信息的一部分) 来确定哪 个 PDN连接使用的 P-GW被优先选择作为新 PDN连接的 P-GW;
例如, APN的优先级策略为: default APN优先、 IMS APN优先或 internet APN优先, 在不同的网络部署阶段和商业模式下, 可以使用不同的 APN优 先级策略。
903: 移动管理网元根据选择的 P-GW为新的 PDN连接创建承载, 具体 创建过程同 703中的创建过程类似, 这里不再详述。
本实施例接收到 UE的 PDN连接请求后, 根据之前建立的 PDN连接对 应的已选 P-GW的域名和新的 PDN对应的 APN解析出的 P-GW的域名 , 选 择新 PDN连接的 P-GW, 使新建的 PDN业务建立到之前已有业务的 P-GW 上, 减少了 P-GW的数目, 有利于用户数据的统一管理和节约了 P-GW的资 源。 实施例 7
本实施例提供了一种选择网关的方法, 本实施例中的源 S-GW的域名包 含在用户上下文中, 在 UE接入网络发生切换或者 UE位置更新情况下, 源 S-GW 的域名由源移动管理网元通过上下文响应消息或者切换请求消息发送 给目标移动管理网元, 从而使目标移动管理网元获得源 S-GW的精确的位置 信息, 对是否继续使用源 S-GW做出迅速准确的判断;
其中, 如果源 S-GW的域名中包含了比较精确的地域信息情况下, 目标 移动管理网元可以根据这个精确的地域信息决定能否继续使用源 S-GW; 如 果源 S-GW的域名中不包含地域信息, 目标移动管理网元将把当前可用的本 地 S-GW域名列表和源 S-GW的域名相比较, 根据比较的结果判断是否继续 使用源 S-GW, 例如, 如果域名列表中有与源 S-GW的域名相同的表项, 则 继续使用源 S-GW, 否则, 不使用源 S-GW。
当目标网络继续使用源 S-GW时, 目标移动管理网元知道 S-GW的域名 后, 在 UE请求新的 PDN连接时, 优先选择该 S-GW所在的合一网关来建立 PDN连接。
本实施例将源 S-GW的域名包含在用户上下文中, 方便目标移动管理网 元获取源 S-GW的域名, 进而判断是否继续使用源 S-GW; 同时, 当 UE请求 建立新的 PDN连接请求时, 优先选择源 S-GW所在的本地合一网关建立该 PDN连接; 使选择的 P-GW与 S-GW为本地合一网关, 减少了数据连接的跳 数, 提高了转发数据的效率。
以上实施例中的移动管理网元指网络中负责用户移动管理的网元实体, 例如 MME、 SGSN、 HRPD AN ( Access Node, 接入节点)等。 实施例 8
参见图 10, 本实施例提供了一种选择网关的装置, 该装置包括: 服务网关选择模块 1001 , 用于选择服务网关时, 选择与当前锚点数据网 关合一的服务网关作为目标服务网关;
数据网关选择模块 1002, 用于选择数据网关时, 选择与当前锚点服务网 关合一的数据网关作为当前数据网关。
进一步地, 服务网关选择模块 1001可以通过多种方式实现, 例如, 服务 网关选择模块 1001包括:
获取单元, 用于获取当前锚点数据网关的域名列表;
第一比较与选择单元, 用于比较获取单元获取的锚点数据网关的域名列 表和可用的服务网关的域名列表, 根据比较的结果选择与当前锚点数据网关 合一的服务网关作为目标服务网关。
或者, 服务网关选择模块 1001包括:
地址列表获取单元, 用于根据预先在移动管理网元上配置的数据网关的 地址与数据网关所在的合一网关的服务网关的地址对应关系, 获取锚点数据 网关所在的合一网关的服务网关的地址列表;
第二比较与选择单元, 用于比较地址列表获取单元获取的地址列表和可 用的服务网关的地址列表, 根据比较的结果选择与当前锚点数据网关合一的 服务网关作为目标服务网关。
其中, 获取单元可以通过如下方式之一获取当前锚点数据网关的域名列 表:
对锚点数据网关的地址列表进行域名服务 DNS解析,得到锚点数据网关 的域名列表;
或者, 通过向锚点数据网关询问的方式获取锚点数据网关的域名列表; 或者,预先在移动管理网元上配置的数据网关的地址与域名的对应关系, 根据对应关系获取锚点数据网关的域名列表。
或者, 服务网关选择模块 1001包括:
发送单元, 用于当用户切换或位置更新到目标移动管理网元时, 选择一 个服务网关作为目标服务网关, 向目标服务网关发送创建或更新承载请求消 息;
域名信息接收单元, 用于接收目标服务网关返回的携带锚点数据网关的 域名信息的创建或更新承载响应消息, 该域名信息为目标服务网关向锚点数 据网关发送更新承载请求消息时, 锚点数据网关返回的更新承载响应消息中 携带的;
选择单元, 用于根据域名信息接收单元收到的域名信息选择与当前锚点 数据网关合一的服务网关作为新的目标服务网关。
或者, 服务网关选择模块 1001包括: 域名信息获取单元, 用于接收目标移动管理网元发送的创建承载请求消 息, 向当前锚点数据网关发送询问消息, 并接收该锚点数据网关返回的询问 响应消息, 该询问响应消息携带该锚点数据网关的域名信息;
选择单元, 用于根据域名信息获取单元获取的域名信息选择与该锚点数 据网关合一的服务网关作为新的目标服务网关。
进一步地, 数据网关选择模块 1002也可以通过多种方式实现, 例如, 数 据网关选择模块 1002包括:
解析单元, 用于对 PDN连接请求对应的 APN进行解析, 得到数据网关 的域名列表;
选择单元, 用于查找解析单元解析得到的数据网关的域名列表中是否有 与锚点服务网关的域名匹配的表项, 如果有, 以该服务网关所在合一网关的 数据网关作为当前数据网关。
或者, 数据网关选择模块 1002包括:
解析单元, 用于对 PDN连接请求对应的 APN进行解析, 得到数据网关 的地址列表;
获取单元, 用于根据在移动管理网元上配置的服务网关的地址与服务网 关所在的合一网关的数据网关的地址对应关系, 获取该锚点服务网关所在的 合一网关的数据网关的地址;
选择单元, 用于查找解析单元解析得到的地址列表中是否有与获取单元 获取的数据网关的地址匹配的表项, 如果有, 以该服务网关所在合一网关的 数据网关作为当前数据网关。
其中, 锚点服务网关的域名是通过如下方式之一获取的:
从上下文中获取锚点服务网关的域名, 锚点服务网关的域名为第一次选 择锚点服务网关时获取的, 并保存在上下文中;
或者, 对锚点服务网关的地址进行域名服务 DNS解析, 得到锚点服务网 关的域名; 或者, 通过向锚点服务网关询问的方式获取锚点服务网关的域名; 或者, 预先在移动管理网元上配置服务网关的地址与域名的对应关系, 根据对应关系获取锚点服务网关的域名。
进一步地, 数据网关选择模块还可以具体包括:
检查单元, 用于接收移动管理网元发送的创建缺省承载请求消息, 检查 自身所在的合一网关是否可以提供该移动管理网元请求的 PDN业务;
选择单元, 用于当检查单元检查的结果是自身所在的合一网关可以提供 该移动管理网元请求的 PDN业务时,将自身所在的合一网关作为当前数据网 关, 并将当前数据网关的地址通知给该移动管理网元。
进一步地, 该装置还包括:
获取模块, 用于收到用户发送的 PDN连接请求后, 对该 PDN连接请求 对应的 APN进行解析,得到该 PDN连接请求对应的数据网关的域名或地址; 选择模块,用于比较已建立的 PDN连接对应的已选数据网关的域名或地 址与获取模块得到的数据网关的域名或地址的关系, 根据比较的结果选择数 据网关。
本实施例提供的装置在进行服务网关或数据网关选择时, 以当前锚点网 关为依据, 尽可能选择与当前锚点网关合一的网关, 减少了数据连接的跳数, 提高了转发数据的效率。 实施例 9
参见图 11 , 本实施例提供了一种选择网关的系统, 该系统包括: 目标移动管理网元 1101 , 用于选择服务网关时, 选择与当前锚点数据网 关合一的服务网关作为目标服务网关; 选择数据网关时, 选择与当前锚点服 务网关合一的数据网关作为当前数据网关。
进一步地, 该系统还包括:
源移动管理网元 1102 , 用于当用户切换或位置更新到目标移动管理网元 时, 向目标移动管理网元 1101发送源服务网关的域名信息;
上述目标移动管理网元 1101进一步包括:
目标服务网关选择模块,用于接收源移动管理网元 1102发送的源服务网 关的域名信息后, 根据源服务网关的域名信息判断是否继续使用所述源服务 网关, 如果是, 以源服务网关作为目标服务网关;
当前数据网关选择模块, 用于当收到用户的 PDN连接请求时, 且目标服 务网关选择模块选择源服务网关作为目标服务网关时, 优先选择源服务网关 所在的合一网关作为当前数据网关,在当前数据网关建立该 PDN连接请求对 应的 PDN连接。
本实施例提供的系统在进行服务网关或数据网关选择时, 以当前锚点网 关为依据, 尽可能选择与当前锚点网关合一的网关, 减少了数据连接的跳数, 提高了转发数据的效率。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, ROM )或随机存 己忆体 ( Random Access Memory, RAM )等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明 的实质和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。

Claims

权 利 要 求
1、 一种选择网关的方法, 其特征在于, 所述方法包括:
选择服务网关时, 选择与当前使用的数据网关合一的服务网关作为目标 服务网关;
选择数据网关时, 选择与当前使用的服务网关合一的数据网关作为当前 数据网关。
2、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当前 使用的数据网关合一的服务网关作为目标服务网关, 包括:
获取当前使用的数据网关的域名列表, 比较所述数据网关的域名列表和 可用的服务网关的域名列表, 根据比较的结果选择与所述当前使用的数据网 关合一的服务网关作为目标服务网关。
3、 如权利要求 2所述的选择网关的方法, 其特征在于, 所述根据比较的 结果选择与所述当前使用的数据网关合一的服务网关作为目标服务网关, 包 括:
当比较的结果有多个与当前使用的数据网关合一的服务网关时, 根据优 先级从多个服务网关中选择一个服务网关作为目标服务网关。
4、 如权利要求 2所述的选择网关的方法, 其特征在于, 所述获取当前使 用的数据网关的域名列表, 包括:
对当前使用的数据网关的地址列表进行域名服务 DNS解析,得到所述数 据网关的域名列表; 列表;
或者, 预先在移动管理网元上配置数据网关的地址与域名的对应关系, 根据所述对应关系获取当前使用的数据网关的域名列表。
5、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当前 使用的数据网关合一的服务网关作为目标服务网关, 包括: 根据预先在移动管理网元上配置的数据网关的地址与所述数据网关所在 的合一网关的服务网关的地址对应关系, 获取所述当前使用的数据网关所在 的合一网关的服务网关的地址列表;
比较所获取的地址列表和可用的服务网关的地址列表, 根据比较的结果 选择与所述当前使用的数据网关合一的服务网关作为目标服务网关。
6、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当前 使用的数据网关合一的服务网关作为目标服务网关, 包括:
当用户切换或位置更新到目标移动管理网元时, 目标移动管理网元选择 一个服务网关作为目标服务网关; 息;
所述目标服务网关收到所述创建或更新承载请求消息后, 向所述当前使 用的数据网关发送更新承载请求消息;
所述当前使用的数据网关收到所述目标服务网关发送的更新承载请求消 息后, 向所述目标服务网关返回的更新承载响应消息, 所述更新承载响应消 息携带所述当前使用的数据网关的域名信息;
所述目标服务网关收到所述当前使用的数据网关返回的更新承载响应消 息后, 向所述目标移动管理网元返回携带所述当前使用的数据网关的域名信 息的创建或更新承载响应消息;
所述目标移动管理网元收到所述目标服务网关返回的创建或更新承载响 应消息后, 根据所述使用的数据网关的域名信息选择与所述使用的数据网关 合一的服务网关作为新的目标服务网关。
7、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当前 使用的数据网关合一的服务网关作为目标服务网关, 包括:
当用户切换或位置更新到目标移动管理网元时, 目标移动管理网元选择 一个服务网关作为目标服务网关; 所述目标服务网关收到所述创建承载请求消息后, 向当前使用的数据网 关发送询问消息, 并接收所述当前使用的数据网关返回的询问响应消息, 所 述询问响应消息携带所述当前使用的数据网关的域名信息;
所述目标服务网关根据所述域名信息选择与所述当前使用的数据网关合 —的服务网关作为新的目标服务网关。
8、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当前 使用的服务网关合一的数据网关作为当前数据网关, 包括:
对 PDN连接请求对应的 APN进行解析, 得到数据网关的域名列表; 查找所述数据网关的域名列表中是否有与当前使用的服务网关的域名匹 配的表项, 如果有, 以选择的服务网关所在的合一网关的数据网关作为当前 的数据网关。
9、 如权利要求 8所述的选择网关的方法, 其特征在于, 所述当前使用的 服务网关的域名是通过如下方式之一获取的:
从上下文中获取当前使用的服务网关的域名, 所述服务网关的域名为第 一次选择所述当前使用的服务网关时获取的, 并保存在所述上下文中;
或者, 对当前使用的服务网关的地址进行域名服务 DNS解析, 得到所述 使用的服务网关的域名; 或者, 预先在移动管理网元上配置服务网关的地址与域名的对应关系, 根据所述对应关系获取当前使用的服务网关的域名;
或者, 当用户切换或位置更新到目标移动管理网元时, 源移动管理网元
10、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当 前使用的服务网关合一的数据网关作为当前数据网关, 包括:
根据预先在移动管理网元上配置的服务网关的地址与所述服务网关所在 的合一网关的数据网关的地址对应关系, 获取所述当前使用的服务网关所在 的合一网关的数据网关的地址; 对 PDN连接请求对应的 APN进行解析, 得到数据网关的地址列表; 查找所述地址列表中是否有与所述数据网关的地址匹配的表项,如果有, 以选择的服务网关所在的合一网关的数据网关作为当前的数据网关。
11、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述选择与当 前使用的服务网关合一的数据网关作为当前数据网关, 包括:
当前使用的服务网关收到移动管理网元发送的创建缺省承载请求消息 后,检查自身所在的合一网关是否可以提供所述移动管理网元请求的 PDN业 务, 如果是, 将自身所在的合一网关作为当前数据网关, 并将所述当前数据 网关的地址通知给所述移动管理网元。
12、 如权利要求 1所述的选择网关的方法, 其特征在于, 所述方法还包 括:
移动管理网元收到用户发送的 PDN连接请求后, 对所述 PDN连接请求 对应的 APN进行解析, 得到所述 PDN连接请求对应的数据网关的域名; 根据已建立的 PDN连接对应的已选数据网关的域名和所述 PDN连接请 求对应的数据网关的域名, 选择数据网关。
13、 如权利要求 1所述的选择网关的方法, 其特征在于, 当所有使用的 数据网关对应的优先级低于第一预设的优先级时, 所述方法还包括:
选择服务网关时, 从可用的服务网关的域名列表中选择一个优先级高于 第二预设的优先级的服务网关, 且所选择的服务网关为本地合一网关。
14、 一种选择网关的装置, 其特征在于, 所述装置包括:
服务网关选择模块, 用于选择服务网关时, 选择与当前使用的数据网关 合一的服务网关作为目标服务网关;
数据网关选择模块, 用于选择数据网关时, 选择与当前使用的服务网关 合一的数据网关作为当前数据网关。
15、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述服务网关 选择模块包括:
获取单元, 用于获取当前使用的数据网关的域名列表; 第一比较与选择单元, 用于比较所述获取单元获取的当前使用的数据网 关的域名列表和可用的服务网关的域名列表, 根据比较的结果选择与所述数 据网关合一的服务网关作为目标服务网关。
16、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述服务网关 选择模块包括:
地址列表获取单元, 用于根据预先在移动管理网元上配置的数据网关的 地址与所述数据网关所在的合一网关的服务网关的地址对应关系, 获取所述 当前使用的数据网关所在的合一网关的服务网关的地址列表;
第二比较与选择单元, 用于比较所述地址列表获取单元获取的地址列表 和可用的服务网关的地址列表, 根据比较的结果选择与所述当前使用的数据 网关合一的服务网关作为目标服务网关。
17、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述服务网关 选择模块包括:
发送单元, 用于当用户切换或位置更新到目标移动管理网元时, 选择一 个服务网关作为目标服务网关, 向所述目标服务网关发送创建或更新承载请 求消息;
域名信息接收单元, 用于接收所述目标服务网关返回的携带所述当前使 用的数据网关的域名信息的创建或更新承载响应消息, 所述域名信息为所述 目标服务网关向所述当前使用的数据网关发送更新承载请求消息时, 所述当 前使用的数据网关返回的更新承载响应消息中携带的;
选择单元, 用于根据所述域名信息接收单元收到的域名信息选择与所述 当前使用的数据网关合一的服务网关作为新的目标服务网关。
18、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述服务网关 选择模块包括:
域名信息获取单元, 用于接收目标移动管理网元发送的创建承载请求消 息, 向当前使用的数据网关发送询问消息, 并接收所述当前使用的数据网关 返回的询问响应消息, 所述询问响应消息携带所述当前使用的数据网关的域 名信息;
选择单元, 用于根据所述域名信息获取单元获取的域名信息选择与所述 当前使用的数据网关合一的服务网关作为新的目标服务网关。
19、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述数据网关 选择模块包括:
解析单元, 用于对 PDN连接请求对应的 APN进行解析, 得到数据网关 的域名列表;
选择单元, 用于查找所述解析单元解析得到的数据网关的域名列表中是 否有与当前使用的服务网关的域名匹配的表项, 如果有, 以选择的服务网关 所在的合一网关的数据网关作为当前的数据网关。
20、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述数据网关 选择模块包括:
解析单元, 用于对 PDN连接请求对应的 APN进行解析, 得到数据网关 的地址列表;
获取单元, 用于根据预先在移动管理网元上配置的服务网关的地址与所 述服务网关所在的合一网关的数据网关的地址对应关系, 获取所述当前使用 的服务网关所在的合一网关的数据网关的地址;
选择单元, 用于查找所述解析单元解析得到的地址列表中是否有与所述 获取单元获取的数据网关的地址匹配的表项, 如果有, 以选择的服务网关所 在的合一网关的数据网关作为当前的数据网关。
21、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述数据网关 选择模块包括:
检查单元, 用于接收移动管理网元发送的创建缺省承载请求消息, 检查 自身所在的合一网关是否可以提供所述移动管理网元请求的 PDN业务; 选择单元, 用于当所述检查单元检查的结果是自身所在的合一网关可以 提供所述移动管理网元请求的 PDN业务时,将自身所在的合一网关作为当前 数据网关, 并将所述当前数据网关的地址通知给所述移动管理网元。
22、 如权利要求 14所述的选择网关的装置, 其特征在于, 所述装置还包 括:
获取模块, 用于收到用户发送的 PDN连接请求后, 对所述 PDN连接请 求对应的 APN进行解析, 得到所述 PDN连接请求对应的数据网关的域名或 地址;
选择模块,用于比较已建立的 PDN连接对应的已选数据网关的域名或地 址与所述获取模块得到的数据网关的域名或地址的关系, 根据比较的结果选 择数据网关。
23、 一种选择网关的系统, 其特征在于, 所述系统包括:
目标移动管理网元, 用于选择服务网关时, 选择与当前使用的数据网关 合一的服务网关作为目标服务网关; 选择数据网关时, 选择与当前使用的服 务网关合一的数据网关作为当前数据网关。
24、 如权利要求 23所述的选择网关的系统, 其特征在于, 所述系统还包 括:
源移动管理网元, 用于当用户切换或位置更新到目标移动管理网元时, 所述目标移动管理网元进一步包括:
目标服务网关选择模块, 用于接收所述源移动管理网元发送的源服务网 关的域名信息后, 根据所述源服务网关的域名信息判断是否继续使用所述源 服务网关, 如果是, 以所述源服务网关作为目标服务网关;
当前数据网关选择模块, 用于当收到用户的 PDN连接请求时, 且所述目 标服务网关选择模块选择源服务网关作为目标服务网关时, 选择所述源服务 网关所在的合一网关作为当前数据网关, 在所述当前数据网关建立所述 PDN 连接请求对应的 PDN连接。
PCT/CN2009/072161 2008-06-23 2009-06-05 选择网关的方法、装置和系统 WO2009155823A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008101252663A CN101616404B (zh) 2008-06-23 2008-06-23 选择网关的方法、装置和系统
CN200810125266.3 2008-06-23

Publications (1)

Publication Number Publication Date
WO2009155823A1 true WO2009155823A1 (zh) 2009-12-30

Family

ID=41444013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072161 WO2009155823A1 (zh) 2008-06-23 2009-06-05 选择网关的方法、装置和系统

Country Status (2)

Country Link
CN (1) CN101616404B (zh)
WO (1) WO2009155823A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012050493A1 (en) * 2010-10-13 2012-04-19 Telefonaktiebolaget L M Ericsson (Publ) Method in a network node of a wireless communications network

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378215B (zh) * 2010-08-26 2015-05-13 中兴通讯股份有限公司 个人网网元的工作模式切换方法、网元和系统
EP2656592B1 (en) * 2010-12-22 2019-04-17 Telefonaktiebolaget LM Ericsson (publ) Node selection in a packet core network
CN102137474A (zh) * 2011-01-28 2011-07-27 华为技术有限公司 服务网关的选择方法及装置
CN103313329B (zh) * 2012-03-07 2016-08-10 中国移动通信集团公司 服务网关选择方法及移动性管理实体
EP3637939B1 (en) 2013-11-01 2021-06-23 Huawei Technologies Co., Ltd. Apparatus, device, and method for establishing connection to packet data network
CN105873024B (zh) * 2015-01-21 2019-09-06 中国移动通信集团辽宁有限公司 一种lte网络中解析网关的方法及装置
CN109788078B (zh) * 2017-11-13 2020-10-16 华为技术有限公司 应用服务器切换方法、设备及系统
CN110166406B (zh) 2018-02-12 2021-10-26 华为技术有限公司 管理媒体传输通路的方法、系统以及相关设备
WO2021017381A1 (en) 2019-07-31 2021-02-04 Huawei Technologies Co., Ltd. Systems and methods for supporting traffic steering through a service function chain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964558A (zh) * 2005-11-11 2007-05-16 华为技术有限公司 一种组播切换方法和设备
DE202007003426U1 (de) * 2006-03-07 2007-08-23 Interdigital Technology Corporation, Wilmington LTE-GTP-basiertes drahtloses Kommunikationssystem
CN101111067A (zh) * 2006-07-21 2008-01-23 华为技术有限公司 移动终端与接入网关的通信方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101128061B (zh) * 2007-09-27 2013-02-27 中兴通讯股份有限公司 移动管理单元、演进基站、确定用户面是否加密的方法和系统
CN101159563B (zh) * 2007-11-02 2011-01-05 中兴通讯股份有限公司 一种策略计费控制服务器的选择方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964558A (zh) * 2005-11-11 2007-05-16 华为技术有限公司 一种组播切换方法和设备
DE202007003426U1 (de) * 2006-03-07 2007-08-23 Interdigital Technology Corporation, Wilmington LTE-GTP-basiertes drahtloses Kommunikationssystem
CN101111067A (zh) * 2006-07-21 2008-01-23 华为技术有限公司 移动终端与接入网关的通信方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012050493A1 (en) * 2010-10-13 2012-04-19 Telefonaktiebolaget L M Ericsson (Publ) Method in a network node of a wireless communications network
US9986496B2 (en) 2010-10-13 2018-05-29 Telefonaktiebolaget Lm Ericsson (Publ) Method in a network node of a wireless communications network
US10375628B2 (en) 2010-10-13 2019-08-06 Telefonaktiebolaget Lm Ericsson (Publ) Method in a network node of a wireless communications network

Also Published As

Publication number Publication date
CN101616404A (zh) 2009-12-30
CN101616404B (zh) 2011-12-21

Similar Documents

Publication Publication Date Title
WO2009155823A1 (zh) 选择网关的方法、装置和系统
US9402175B2 (en) Selection of roaming gateway
WO2009092237A1 (zh) 一种网关选择的方法
WO2011144134A1 (zh) 一种信息推送方法、装置和系统
KR20100053691A (ko) 사용자 고정 ip 어드레스를 어드레싱하는 것을 지원하기 위한 방법, 시스템 및 장치
WO2014121760A1 (zh) 切换过程中选择网络设备的方法和装置
WO2009152773A1 (zh) 接入、获取用户设备上下文及用户设备标识的方法和装置
WO2009000197A1 (fr) Procédé et équipement réseau pour établir et effacer des ressources
WO2008151544A1 (fr) Procédé, appareil et système pour établir une connexion de support
WO2009094916A1 (fr) Procédé, système et dispositif de commande pour redémarrage après défaillance dans le domaine circuit
WO2011098040A1 (zh) 回退到2g/3g网络的方法和相关设备及通信系统
WO2009006848A1 (fr) Procédé de commutation de réseau d'accès, dispositif de gestion d'ancrage, et dispositif d'accès mobile
WO2009089745A1 (fr) Procédé et système de retour arrière s'appliquant au domaine de commutation de circuit afin d'établir un appel vocal
WO2011023086A1 (zh) 一种基于多连接的网络选择方法及装置
WO2009097811A1 (zh) 分组域用户处理电路域业务的方法、装置及系统
WO2014000640A1 (zh) 用于切换网络的方法和装置
WO2009097772A1 (zh) 一种资源释放控制方法及通讯系统以及相关设备
WO2010031353A1 (zh) 服务请求的处理方法、装置及系统
WO2019196785A1 (zh) 语音切换方法和装置、终端及存储介质
WO2008131681A1 (fr) Procédé, système et appareil de mise en œuvre d'un service de sous-système multimédia ip dans un réseau visité
WO2014183696A1 (zh) 一种路径建立的方法、控制器及移动性管理实体
WO2014082603A1 (zh) 一种ue接入网络的选择方法、装置、系统及一种ue
WO2008113235A1 (fr) Procédé pour éviter la libération erronée de ressources pendant une mise à jour de zone de suivi ou un transfert intercellulaire
WO2009117879A1 (zh) 一种指示服务网关承载管理的方法
WO2009046666A1 (en) Addressing method of policy decision function entity, network element and network system

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

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

Country of ref document: EP

Kind code of ref document: A1