WO2009092237A1 - Method for selecting gateway - Google Patents

Method for selecting gateway Download PDF

Info

Publication number
WO2009092237A1
WO2009092237A1 PCT/CN2008/073553 CN2008073553W WO2009092237A1 WO 2009092237 A1 WO2009092237 A1 WO 2009092237A1 CN 2008073553 W CN2008073553 W CN 2008073553W WO 2009092237 A1 WO2009092237 A1 WO 2009092237A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
mobility management
gateway
management protocol
data gateway
Prior art date
Application number
PCT/CN2008/073553
Other languages
French (fr)
Chinese (zh)
Inventor
Weisheng Jin
Wenruo Zhu
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009092237A1 publication Critical patent/WO2009092237A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/17Selecting a data network PoA [Point of Attachment]

Definitions

  • the embodiments of the present invention relate to the field of mobile communications, and in particular, to a method for implementing gateway selection. Background technique
  • GTP General Packet Radio Service
  • Mobile IP Mobile IP
  • CMIP User Mobile IP
  • PMIP Proxy Mobile IP
  • PDN packet data network
  • APN access point name
  • the network-side entity When the terminal is initially accessed from the 3GPP access network, the network-side entity (generally the mobility management entity) can obtain the network anchor data gateway by querying the APN and parsing the APN through a Domain Name Server (DNS). Address, choose one of them, of course, you can directly configure a fixed data gateway; when the terminal is initially accessed from a non-3GPP access network, the terminal can directly access the core control entity (HSS or AAA Server or AAA Proxy) during access authentication. Obtaining the address of the network anchor data gateway, or querying the DNS by the APN obtained by the non-3GPP access network gateway through access authentication Get the address of the network anchor data gateway. It can be seen that in different access technologies, the way to obtain the network anchor data gateway address is different. When the terminal switches between access networks of different access technologies, the network anchor data gateway allocated by the source network and the target network may be different. This will cause the connection at the user IP level to change, resulting in session interruption and data generation. Lost phenomenon.
  • DNS Domain Name Server
  • a fixed setting is performed by a network configuration method to solve the above problem, and when a user uses a different access technology, a fixed data gateway and a local service gateway are used, so that an access control function entity that controls user access can obtain
  • the mobility protocol support capability of the data gateway indicates that the local service gateway correctly uses the mobility management protocol to establish a bearer with the data gateway.
  • the embodiment of the invention provides a method for gateway selection, which improves the flexibility of network configuration.
  • the embodiment of the present invention further provides a method for gateway selection, where the method includes: an access control function entity selects a gateway according to an APN and a mobility management protocol capability, and obtains an address of the data gateway.
  • the embodiment of the present invention further provides an apparatus for gateway selection, where the apparatus includes a transceiver unit, a query unit, and a processing unit, where the transceiver unit is configured to send a bearer setup request to the local service gateway or the data gateway;
  • the querying unit is configured to query the shared core control entity for the user information according to the APN obtained by the query unit and the mobility management protocol capability of the APN, and is further configured to query the network configuration database or the local core control entity for the APN of the user information.
  • the mobility management protocol capability is also used to query the DNS server for the IP address of the data gateway corresponding to the APN in the user information, and also to query the DNS server for the IP address of the data gateway corresponding to the APN available to the user; and the processing unit.
  • Select data gateway, user-available APN, local service gateway, user Accessing the core network access service mode and is further configured to form an FQDN according to the mobility management protocol capability of the APN and the APN, and configured to send an instruction message to the transceiver unit, where the instruction message indicates that the transceiver unit sends the processing unit to the processing unit
  • the selected data gateway or local service gateway sends a bearer setup request.
  • the access control function entity selects a gateway according to the APN and the mobility management protocol capability to obtain the address of the data gateway, instead of fixing the configuration data gateway as in the prior art, and enhancing the network configuration. flexibility.
  • FIG. 1 is a schematic diagram of a network architecture merged in the prior art
  • FIG. 2 is a schematic diagram of a data gateway naming method in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a naming solution 1 for correspondence between APN and APN mobility management protocol capabilities in an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a naming solution 2 for correspondence between APN and APN mobility management protocol capabilities in an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a naming solution 3 for correspondence between APN and APN mobility management protocol capabilities in an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method 1 for sharing a capability of an APN and an APN mobility management protocol according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a method 2 of sharing a capability of an APN and an APN mobility management protocol according to an embodiment of the present invention
  • Embodiment 8 is a schematic flow chart of Embodiment 1 of the present invention.
  • Embodiment 9 is a schematic flow chart of Embodiment 2 of the present invention.
  • FIG. 10 is a schematic structural diagram of an access control function entity in an embodiment of the present invention. detailed description
  • the shared core control entity in the embodiment of the present invention may be an HSS, and the local core control entity may be an AAA Server or an AAA Proxy.
  • the AAA Proxy controls and manages the user.
  • the AAA Proxy contacts the HSS through the AAA Server to obtain the user and home network information.
  • Data Gateway ⁇ The data gateway of the converged network formed by the early technological evolution of the 3GPP network can support two different mobility management protocols, GTP protocol and MIP.
  • the access control function entity is a mobility management entity, such as an MME or an SGSN, in the 3GPP access network, a local local control entity AAA Server or an AAA Proxy, or a non-3GPP access network gateway in the non-3GPP access network. Or it is composed of a local core control entity of the home location and a non-3GPP access network gateway, or is jointly formed by the visited local core control entity and the non-3GPP access network gateway at the visited place.
  • the user information in the 3GPP network, is stored on the shared core control entity.
  • the user information may be stored in the shared core control entity or stored in the local core control entity.
  • the entity storing the user information in the embodiment of the present invention is collectively referred to as a core control entity.
  • a data gateway supporting a certain mobility management protocol is associated with a unique name that can be used to query an address in the network and is unique within a certain range, and the name may be queried by the name.
  • these data gateways all have the same attributes, that is, they can all be connected to the same PDN and have the same mobility management protocol capabilities (only GTP, mobile IP only, or both).
  • GTP mobility management protocol
  • PDN for a gateway accessing PDN 1, only the data gateway supporting GTP is named PDN.
  • GW NAME A the data gateway that only supports mobile IP is named PDN GW NAME B , and both support the name PDN GW NAME C.
  • This naming method can explicitly indicate a certain protocol support capability, for example, when NAME is named, a field such as GTP or mobile IP is indicated. It is also possible for the data gateway owner (operator) to formulate a table of correspondence between the PDN GW NAME name and the mobility protocol support capability, to explicitly establish the relationship between the data gateway name and the mobility management protocol capability, in different The correspondence table is shared between the access networks or between different carrier networks, for example, using static or dynamic roaming protocols between operators, or using a method in which the access network access control entity separately queries the relationship table owner to indicate To other network entities.
  • a data gateway may connect to multiple PDNs, such as PDN 1 and PDN 2 in Figure 2.
  • the data gateways may have different names, respectively representing access to different PDNs, such as PDN GW4: NAME B-PDN 1 , NAME Y-PDN 2; PDN GW5: NAME C-PDN 1 , NAME X-PDN 2 ).
  • the types of mobility management protocols referred to in the embodiments of the present invention include, but are not limited to, GTP, mobile IP, and the like. These mobility management protocols can be further subdivided if needed.
  • the Mobile IP protocol can be further subdivided into PMIP, CMIP.
  • PMIP Mobile IP
  • CMIP Mobile IP
  • the embodiment of the present invention provides three solutions for naming the correspondence between the capabilities of the APN and the APN mobility management protocol, and the following descriptions are sequentially given.
  • the APN that originally indicated access to a PDN is further subdivided into different APNs according to the mobility management protocol capability of the data gateway.
  • the subdivided APN extends the network ID or carrier ID of the APN to join.
  • the fields of the original APN may remain in the new APN to indicate other information such as the PDN.
  • the network ID or the carrier ID in the APN 1 that originally accessed the PDN 1 is expanded and increased. Gtp, mip, gtp/mip or similar fields.
  • a GPRS Gateway Service Node (GGSN) supporting the GTP protocol may not change the APN corresponding to its address, but only for newly added or New upgraded data gateway (support new The mobility management protocol), changing the APN corresponding to its address.
  • GGSN GPRS Gateway Service Node
  • the access network access control function entity When the access network access control function entity obtains the newly defined APN, it can determine the mobility management protocol capability of the data gateway, and select appropriate data according to the actual situation of the network and the local policy (including the inter-operator agreement).
  • the gateway and the access to the core network for example, when the terminal accesses the service through the non-3GPP access network, if the terminal is in the home location, the inter-gateway interface 3 is directly accessed. If the terminal is in the visited place, the terminal can also pass through the gateway. Interface 1-2 chain access, select the appropriate local service gateway (for 3GPP access network, or non-3GPP access network in the way of using gateway interface 1-2 chain).
  • the address of the data gateway is brought to the target access network.
  • the address of the data gateway is generally transmitted from the original access network to the target access network by the context of the access network type.
  • the information of the data gateway is generally stored in the shared core control entity or the local core control entity.
  • the shared core control entity or the local core control entity obtain.
  • the address of the local service gateway can also be obtained by the above method, but may be reselected due to the configuration of the local service gateway.
  • the access network access control entity selects an appropriate local service gateway based on the subscriber's subscription APN, the data gateway or APN that the user is using, the local policy, the roaming protocol (in the case of roaming), and the like.
  • a data gateway supporting different mobility management protocol capabilities by instructing access to the same PDN by adding different APNs is formed, and a corresponding table as shown in Table 1 is formed.
  • the correspondence table of these APNs and mobility protocol capabilities can be shared between the carrier networks in a static or dynamic manner. The corresponding relationship can also be obtained by using a separate dynamic query.
  • the corresponding network can also be added to the carrier network ID (if APN with carrier network information, there is no such column), PDN column as query Reference.
  • the APN in the corresponding table is the APN (including the default APN) in the user terminal subscription data.
  • the PDN GW 5 can be identified by APN A or APN B, or APN C.
  • the access control function entity When the user terminal accesses from the 3GPP or the non-3GPP access network, the access control function entity obtains the user subscription APN (including the default APN) from the user subscription data, and queries the entity that saves the correspondence table to query the user that needs to be anchored.
  • the APN and mobility management protocol capabilities of the carrier network where the data gateway is located (generally the home network, if the route is optimized, or the visited network is used), obtain the APN support. Mobility management protocol capabilities. If the user plane data is optimized for routing during roaming, and some APNs for route optimization may be configured on the visited network access control function entity, the visited network access control function entity queries the local APN and the protocol support capability. The table can obtain the mobility management protocol capabilities of these locally configured APNs.
  • the mobility management entity selects an appropriate data gateway according to the query result (if there is information such as the PDN information, the carrier network ID, etc.) and the local policy, etc. DNS Server gets the data gateway address), the local service gateway, and instructs the local service gateway to establish a local service
  • the interface between the gateway and the gateway of the anchor point data gateway is 1, the data gateway address and the adopted mobility management protocol type are sent to the local service gateway.
  • the access control function entity synthesizes the information according to the query result (if there is information such as the PDN information, the carrier network ID, etc.) and the local policy (including the inter-operator agreement) Etc., first choose the appropriate way to access the service (and possibly further choose the data gateway), then select the local service gateway (when roaming, if needed), and after selecting the local service gateway, instruct the local service gateway to establish the local service gateway.
  • the interface 1 is connected to the gateway of the anchor point data gateway, the data gateway address and the adopted mobility management protocol type are sent to the local service gateway.
  • the local core control entity sends the APN of the data gateway and the mobility management protocol supported by the APN to the non-3GPP access network gateway data gateway address.
  • the access gateway, the data gateway address may be a determined data gateway address, or a list.
  • the local core control entity sends the APN (including the default APN) that the user terminal can access through the non-3GPP access network and the mobility management protocol capability of the APN to Non-3GPP access network gateway.
  • the APN (including the default APN) and the mobility management protocol capability of the APN can be a list.
  • the access gateway If there is a service initiated by accessing the new APN, it is directly determined at the access gateway whether it is allowed to be established. It may also be that each time a service with a new APN is initiated, the local core control entity decides and sends it to the access network gateway.
  • the APN structure is not changed, and the original APN and PDN are used to support the same PDN by using the defined Fully Qualified Domain Name (FQDN).
  • FQDN Fully Qualified Domain Name
  • Data gateways with different mobility management protocol capabilities The correspondence table of these APN and mobility management protocol capabilities is shared between the carrier networks in a static or dynamic manner (or the corresponding relationship is obtained by means of a separate dynamic query), and the operator network ID column may also be added to the table (if APN) If there is carrier network information, there is no such column), and the PDN column is used as a reference for the query.
  • the data gateway represented by APN in this scheme
  • the mobility protocol capability that can be supported refers to the mobility protocol support capability of all data gateways that can be parsed by the APN, that is, the union of all data gateway capabilities. In the table
  • the APN is the APN (including the default APN) in the subscription data of the user terminal. Combining the parameters required by the prior art method of using APN for DNS query data gateway address
  • the APN supports the mobility protocol's ability to build an FQDN (which can be an extension of the APN's network ID or carrier ID), as shown in Table 2, used to query this from the DNS Server.
  • FQDN which can be an extension of the APN's network ID or carrier ID
  • the above FQDN can also be used by the data network ⁇ 1 T T
  • the p p p-owner is directly stored in the correspondence table of the above-mentioned APN and mobility management protocol capabilities, that is, a column corresponding to the FPN corresponding to each row APN is added to the correspondence table shown in Table 3.
  • the access control entity can directly obtain the FQDN used to query the data gateway address when querying the mobility management protocol capability of the APN.
  • the FQDN in the correspondence table of the APN and mobility management protocol capabilities stored on the data gateway owner may also be a name defined by the network administrator according to actual needs. Table 2
  • the mobility management protocol forms an FQDN for DNS query to obtain the address of the data gateway. It does not need to share the correspondence table of the mobility management protocol capabilities of the APN and the APN between different carrier networks, and does not need to query the capability.
  • the access control function entity When the user terminal accesses from the 3GPP or the non-3GPP access network, the access control function entity obtains the user subscription APN (including the default APN) from the user subscription data, and queries the entity of the storage table 3 for the user to be anchored.
  • the APN and APN mobility management protocol capability correspondence table of the APN and APN of the carrier network where the data gateway is located (generally the home network, if the route is optimized, or the visited network) Mobility management protocol capabilities. If the user plane data is optimized for routing during roaming, and some APNs for route optimization may be configured on the visited network access control function entity, the visited network access control function entity queries the local APN and the mobility management protocol.
  • the capability correspondence table can obtain the mobility management protocol capabilities of these locally configured APNs.
  • the mobility management entity selects the appropriate data gateway, local service gateway, and indicates local service according to the query result (if there is PDN information, carrier network ID and other information, then synthesizes the information) and local policy, etc.
  • the gateway establishes the inter-gateway interface 1 between the local service gateway and the anchor point data gateway, the data gateway address and the adopted mobility management protocol type are sent to the local service gateway.
  • Use the FQDN of APN and mobility management protocol capabilities to query the DNS Server for the address of the relevant data gateway.
  • the access control function entity selects the appropriate access service according to the query result (if there is PDN information, carrier network ID and other information, and then integrates the information) and the local policy (may also further select Good data gateway), then select the local service gateway (when roaming, if needed), and after selecting the local service gateway, when the local service gateway is instructed to establish the inter-gateway interface 1 between the local service gateway and the anchor point data gateway, the data will be
  • the gateway address and the adopted mobility management protocol type are sent to the local service gateway.
  • the address of the relevant data gateway is queried by the DNS server using the FQDN composed of the APN and mobility management protocol capabilities.
  • the APN of the data gateway and the protocol supported by the APN can be sent by the local core control entity to the non-3GPP access network gateway data gateway address. Forced to the access network gateway, the data gateway address can be a determined data gateway address, or a list. If the function of querying the data gateway address is located in the access network gateway, the local core control entity sends the APN (including the default APN) that the user terminal can access through the non-3GPP access network and the protocol capability supported by the APN to the non-3GPP.
  • the access network gateway, the FQDN is constructed by the access network gateway, or may be the FQDN constructed in the mobility management protocol capability correspondence table.
  • the APN (including the default APN) and the mobility management protocol capability (or the constructed FQDN) supported by the APN may be a list. If there is a service to access the new APN, the access gateway determines whether the establishment is allowed. It may also be sent by the local core control entity to the access network gateway each time a service with a new APN is initiated.
  • the APN and APN mobility management protocol capability correspondence tables should include, but are not limited to, the correspondence between APN and APN mobility management protocol capabilities, and may also include information such as the network operator ID and PDN of the APN.
  • the APN here can be the original APN in the sense of a standard definition, or it can be a commonly defined name within a certain range, such as the FQDN.
  • the method for saving the extended new APN is the same as the saving method in the prior art, that is, it is stored in the user's subscription data, inter-operator agreement, carrier local policy, and bearer setup request.
  • Any network node, through the existing method, that is, the name query mechanism, can obtain a determined address list of the data gateway accessing the PDN through a certain mobility management protocol.
  • the newly generated correspondence table can be stored in the inter-operator contract or user subscription data, or can be shared between different operators in a static or dynamic manner, or stored in a separate network entity.
  • the embodiments of the present invention provide methods for obtaining two correspondence tables, which are separately described below.
  • the mobility management protocol capability correspondence table of the APN in the following embodiment is referred to as a correspondence table.
  • the requester of the corresponding table may be an access network control entity, or The local network configuration database of the requestor network corresponding to the table.
  • the responding party (that is, the owner of the corresponding table) may be a shared core control entity or other private/shared network configuration database of the operator network of the control data gateway indicated by the APN in the corresponding table, or may be the requester of the corresponding table.
  • the local core control entity of the network or other private/shared network configuration database may be a shared core control entity or other private/shared network configuration database of the operator network of the control data gateway indicated by the APN in the corresponding table, or may be the requester of the corresponding table.
  • the requester of the corresponding table actively requests the corresponding table information, as shown in FIG. 6, the method includes
  • Step 601 The requester of the corresponding table sends the request network configuration information;
  • the request information may be a display request, that is, a request for separately transmitting an APN and an APN mobility management protocol capability correspondence table; or, the request information is an implicit request, that is, Carry in the existing information to send.
  • the request information may also carry information such as the ID and PDN of the operator to which the APN belongs.
  • Step 602 The owner of the correspondence table sends an APN and APN mobility management protocol capability correspondence table to the requester of the corresponding table.
  • the second method adopts the manner in which the requesting party of the corresponding table actively requests the corresponding table information. As shown in Figure 7, the method includes:
  • Step 701 The owner of the request direction correspondence table of the corresponding table sends an APN (or an APN list) to query the mobility management protocol capability of the APN.
  • Step 702 The owner of the corresponding table queries the DNS server for the IP address of the data gateway corresponding to the APN, and the step is optional;
  • Step 703 The owner of the correspondence table sends the mobility management protocol capability correspondence table of the APN to the requesting party of the corresponding table, and if step 702 is performed, the IP address of the data gateway corresponding to the APN is also sent.
  • the DNS Server can be in the same entity as the network configuration database.
  • the foregoing is a specific implementation method of the APN and APN mobility management protocol capability correspondence table and a method for the network entity to obtain the correspondence table in the embodiment of the present invention.
  • the following describes how to implement the gateway selection by using the correspondence table in the embodiment of the present invention. Since the APN and the APN mobility management protocol capability are implemented in the first solution, the newly extended APN is saved in the same manner as the existing method, so the network entity acquires the APN mobility management protocol capability.
  • the method is the same as the method for obtaining the APN in the existing method, that is, the APN is acquired, and the mobility management protocol capability of the APN is also known.
  • the APN and APN mobility management protocol capability correspondence table that is, the method of the second scheme or the third scheme is used.
  • An embodiment of the present invention provides a method for selecting a gateway by using a mobility management protocol capability correspondence table of an APN and an APN, where the method describes that a user terminal initially accesses from a 3GPP access network or switches from another type of access network to 3GPP.
  • the data gateway and the local service gateway can be located in different carrier networks.
  • FIG. 8 is a schematic flowchart of an embodiment of the present invention, where the process includes:
  • Step 801 The user terminal accesses the mobility management entity.
  • Step 802 The mobility management entity requests user information from the shared core control entity, and the request information may be carried in other messages, or may be sent separately. This step is an optional step.
  • Step 803 The shared core control entity queries the network configuration database for the mobility management protocol capability of the APN in the user information.
  • the network configuration database is located on the user's home network. This step is optional.
  • Step 804 The shared core control entity replies to the mobility management entity with user information or for subscription information. If the query of step 803 is performed (or the subscriber subscription information has APN's mobility management protocol capability), the message may also carry a correspondence table of APN and APN mobility management protocol capabilities. For the handover of the access network type, that is, the handover from the non-3GPP network to the 3GPP access network, the reply message may further carry the IP address of the data gateway that the user stored in the shared core control entity is accessing the service, The mobility management protocol capabilities of the data gateway and/or the mobility management protocol used by the user to connect to the data gateway address being accessed.
  • Step 805 If the query in step 803 is not performed, the mobility management entity in the step queries the network configuration database for the mobility management protocol capability of the APN in the user information, and obtains the mobility management protocol capability correspondence table of the APN and the APN.
  • the network configuration database can be located on the user's home network or on the user's visited network.
  • Step 806 The mobility management entity performs related selection according to a preset policy, that is, if The terminal is the initial access, considering the network configuration, the local policy, and the mobility management protocol capability of the APN in the user information, and selecting the APN that the user can access.
  • a preset policy that is, if The terminal is the initial access, considering the network configuration, the local policy, and the mobility management protocol capability of the APN in the user information, and selecting the APN that the user can access.
  • the service access mode may be allocated by the access network access control entity to the APN of the visited data gateway, and an appropriate local service gateway is selected.
  • the mobility management entity also selects the local service gateway based on the mobility management protocol capabilities of the data gateway that is being accessed by the service and/or accessing the mobility management protocol that the data gateway is using.
  • Step 807 If the terminal is the initial access, the mobility management entity queries the DNS Server for the data gateway address using the APN that the user selected in step 806 can use, and selects the data gateway and/or the mobility management protocol used. If the corresponding table implementation in the second scheme is used, the mobility management entity also needs to form an FQDN for the DNS query, or if the APN and the APN's mobility management protocol capabilities acquired in step 804 or step 805 correspond to The table contains the FQDN, and the mobility management entity directly uses the FQDN for DNS query.
  • Step 808 The mobility management entity sends a message to the local service gateway to indicate the establishment of the bearer, where the message carries the data gateway address and the mobility management protocol used.
  • the message may also carry the address of the data gateway that the mobility management entity obtains from the shared core control entity for the current user's ongoing service access and the type of mobility management protocol being used, possibly Includes the mobility management protocol capabilities of the data gateway.
  • the address of the data gateway that the current user is accessing for the service and the type of mobility management protocol being used are obtained from the mobility context, the mobility context Obtained from the mobility management entity before the switch.
  • Step 809 The user terminal completes bearer establishment to the data gateway.
  • the address of the selected data gateway (for the handover across the access network and the data gateway that is accessing the service) and the mobility management protocol type (and possibly the mobility management protocol capability of the data gateway) are stored in the mobility.
  • Management context The APN and its mobility management protocol capabilities that users are allowed to access when accessing the local mobility management entity in the user subscription information are also stored in mobility. Management context.
  • Step 810 The data gateway may store its own address, mobility management protocol capabilities, and/or the mobility management protocol used by the user to connect to the data gateway being accessed to the shared core control entity. This step is an optional step.
  • the target mobility management entity will obtain the address of the data gateway from which the user is accessing the service, its mobility management protocol capabilities, and/or the user connection from the user mobility management context.
  • the mobility management protocol used by the accessed data gateway and the mobility management protocol capability of the APN and APN that the source mobility management entity allows to access when the user accesses are stored on the shared core control entity.
  • An embodiment of the present invention provides another method for selecting a gateway by using a mobility management protocol capability correspondence table of an APN and an APN, where the method describes that a user terminal initially accesses from a non-3GPP access network or switches from another type of access network.
  • the data gateway and the local service gateway can be located on different carrier networks or not necessarily using the local service gateway.
  • the method of this embodiment is also applicable to internal handover of the same non-3GPP access network.
  • FIG. 9 is a schematic flowchart of Embodiment 2 of the present invention, where the process includes: Step 901: A user terminal accesses an access control function entity.
  • Step 902 The local core control entity requests user information from the shared core control entity, and the message may be carried in other messages, or sent separately. This step is optional.
  • Step 903 The shared core control entity queries the network configuration database for the mobility management protocol capability of the APN in the user information. This step is an optional step.
  • Step 904 The shared core control entity replies to the local core control entity with the user information or for the subscription information. If the query of step 903 is performed (or the subscription information has the APN mobility management protocol capability), the message may also be The APN and the APN mobility management protocol capability correspondence table are carried. For the handover (or roaming) across the access network type, the reply message may also carry the IP address of the data gateway that the user stored in the shared core control entity or the home core control entity is accessing the service and the data gateway. Mobility management protocol capabilities, and/or mobility management protocols used by users when connecting to the data gateway address being accessed.
  • Step 905 If the query of step 903 is not performed, the local core control entity queries the network configuration database for the mobility management protocol capability of the APN in the user information.
  • Step 906 The local core control entity performs related selection according to the preset policy, that is, if the user terminal initially accesses the network, considering the network configuration, the local policy, the roaming protocol, the user subscription, and the mobility management protocol capability of the APN in the user information, Select the mode in which the user accesses the core network to access the service (direct access through the inter-gateway interface 3 in the home location, and through the inter-gateway interface 1-2 chain in the roaming), the APN that the user can access (when roaming)
  • the APN generally points to the home network data gateway.
  • the access network access control entity may allocate the APN to the visited data gateway, and if accessed through the inter-gateway interface 3, Choose an APN that supports MIP protocol capabilities or a data gateway, and choose the appropriate local service gateway (for roaming only). If the user terminal is in a roaming handover scenario, the local core control entity also selects the local service gateway based on the mobility management protocol capabilities of the data gateway that is in the service access and/or the mobility management protocol being accessed by the data gateway.
  • the manner in which the user accesses the core network to access the service and the selection of the local service gateway during roaming may not be performed on the local core control entity but on the access network gateway.
  • the local core control entity sends the APN in the user (subscription) information obtained from the shared core control entity, the IP address of the data gateway in which the user is accessing the service, and the mobility management protocol capability of the data gateway, etc. Network gateway.
  • Step 907 If the local core control entity selects the APN or the data gateway that the user can access, for the initial access, the local core control entity may query the DNS server for the data gateway address by using the APN that the selected user can use, and further select Data gateway. If the correspondence table used herein is implemented by using the corresponding table in the foregoing solution 3, the local core control entity also needs to form an FQDN for DNS query; or if the mobility management protocol capability correspondence table obtained in step 904 or step 905 is The FQDN-column is included, and the local core control entity can directly use the FQDN for DNS. Inquire.
  • Step 908 The local core control entity sends a message to the access network gateway, where the message carries the APN of the user information or the user subscription information, the mobility management protocol capability correspondence table of the APN, and/or the locally accessible APN and the mobility of the APN.
  • the management protocol capability may also carry the APN and the mobility management protocol capability of the local core control entity to allow the user to access. If the local core control entity selects the APN or data gateway that the user can access, and performs the query of step 907,
  • the message may also carry the IP address (or list of IP addresses) of the selected data gateway, the mobility management protocol capabilities of the data gateway, and/or the selected mobility management protocol.
  • the message may also carry the data gateway address and the mobility management protocol capability and/or the user who is accessing the service from the shared core control entity (or the local core control entity storage).
  • the mobility management protocol used when connecting to the data gateway address being accessed may also carry the data gateway address and the mobility management protocol capability and/or the user who is accessing the service from the shared core control entity (or the local core control entity storage).
  • the message sent in this step may also carry the local service gateway address, and may also include the mobility management of the local service gateway. Protocol capability.
  • Step 909 If the query in step 903 or step 905 is not performed, the access network gateway in the step may query the mobility management protocol capability of the APN in the user information.
  • the access network gateway performs related selection according to the preset policy, that is, if the user terminal is the initial access network, consider the network configuration, the local policy, the roaming protocol, and the user subscription.
  • the APN mobility management protocol capability in the user information selects the mode in which the user accesses the core network to access the service (at the home location, through the gateway interface 3 mode, when roaming, the gateway interface 1-2 chain Mode), the APN that the user can access (only access to the APN supporting mobile IP protocol capability when accessing through the inter-gateway interface 3) or the data gateway, and the appropriate local service gateway (only for roaming) can be selected.
  • the access network gateway also selects according to the mobility management protocol capability of the data gateway that is in the service access and/or the mobility management protocol used when the user connects to the data gateway address being accessed. Local service gateway.
  • Step 910 If the query of step 907 is not performed, and the data gateway is selected by the access network gateway, the access network gateway queries the DNS server for the data gateway address by using the APN that the user selected in step 909 can use, and further selects the data gateway. . If the implementation method of the corresponding table in the foregoing solution 2 is used, the access network gateway also needs to form an FQDN for the DNS query, or the APN and the APN mobility management protocol capability correspondence table obtained in step 908 include the FQDN. The access network gateway can directly use the FQDN for DNS query.
  • Step 911 If the data gateway is selected by the visited local core control entity, the visited local core control entity may send the data gateway address and the determined mobility management protocol to the local serving gateway. This step is an optional step.
  • Step 912 The access network gateway initiates a bearer setup request of the interface 2 between the gateways to the local service gateway. If step 911 is not performed, then the access network gateway acquires the local service gateway in step 908.
  • Step 913 After receiving the bearer setup request of the interface 2 between the gateways sent by the access gateway, the local service gateway initiates an inter-gateway interface to the data gateway by using the data gateway address obtained by step 911 or step 912 and the mobility management protocol indication. 1 bearer setup request.
  • Step 914 If it is determined that the manner in which the user accesses the core network access service is through the inter-gateway interface 3 chain (roaming or non-roaming state), the access network gateway initiates a bearer setup request of the inter-gateway interface 3 to the data gateway.
  • the data gateway address can be sent by the local core control entity or by the access network gateway itself.
  • Step 915 The user terminal completes the establishment of the data gateway.
  • the user terminal will select the address of the good data gateway (for the handover across the access network, and the data gateway that is accessing the service) and the type of mobility management protocol selected (which may also include the mobility management protocol capability of the data gateway).
  • the mobility management context stored in the access network.
  • the APN allowed by the user accessing the local access network access control entity and its mobility management protocol capability are also stored in the mobility management context of the access network. This time In the user access, the manner in which the user is allowed to access the core network to access the service may also be stored in the mobility management context of the access network.
  • Step 916 The data gateway may store its own address, mobility management protocol capability, and/or mobility management protocol used by the user to connect to the data gateway being accessed to the shared core control entity (or local core control entity, typically the home location) In the local core control entity). This step is an optional step.
  • the process further includes the following steps:
  • Step 917 The user sends an APN (or APN list) to the access network gateway, indicating the service or PDN to be accessed;
  • Step 918 The access network gateway sends a request to the local core control entity to query the mobility management protocol capability of the APN (or APN list), and the query message may also carry the operator network ID and PDN information to which the APN to be queried belongs.
  • the query message may be sent separately or may be carried in other existing messages;
  • Step 919 The local core control entity queries the DNS server for the IP address of the data gateway corresponding to the APN (or APN list).
  • the query reply message may further carry the IP address of the data gateway corresponding to the APN, and may also carry information such as the network ID and PDN of the operator to which the APN to be queried belongs. Or the FQDN of the data gateway, its mobility management protocol capabilities and/or the chosen mobility management protocol capabilities. This step is optional.
  • Step 920 The local core control entity queries the access network gateway for a reply message, where the message carries a mobility management protocol capability correspondence table of the APN (or APN list). If the step 919 is performed, the reply message may further carry the IP address of the data gateway corresponding to the APN of the query.
  • the target access network access control entity may obtain the address of the data gateway that is accessing the service, the mobility management protocol capability, and/or the user connection from the user mobility management context.
  • the embodiment of the present invention further provides an access control function entity for performing gateway selection. As shown in FIG. 10, the entity includes: a transceiver unit 1001, a query unit 1002, and a processing unit 1003, where
  • the transceiver unit 1001 is configured to send a bearer setup request to the local service gateway or the data gateway.
  • the querying unit 1002 is configured to query the shared core control entity for the user information; and is further configured to query the network configuration database or the local core control entity for the mobility management protocol capability of the APN in the user information; and further, query the DNS for the APN in the user information.
  • the IP address of the corresponding data gateway also used to query the DNS for the IP address of the data gateway corresponding to the APN available to the user.
  • the processing unit 1003 is configured to select, according to the mobility management protocol capability of the APN and the APN acquired by the query unit 1002, any one of a data gateway, an APN available to the user, a local service gateway, and a user access core network access service mode;
  • the FQDN is configured according to the mobility management protocol capability of the APN and the APN, and is used to send an instruction message to the transceiver unit 1001, where the instruction message instructs the sending unit to send a bearer setup request to the data gateway or the local serving gateway selected by the processing unit.
  • the access control function entity When the access control function entity is in a non-3GPP network, it may be composed of a local core control entity of the home location and a non-3GPP access network gateway, or may be visited by the local core control entity and the non-3GPP access network.
  • the gateway is composed of.
  • an access control function entity consists of two entities, both entities have the above functional units and have the same function.
  • the query unit of the access network gateway is further configured to query the local core control entity for the mobility management protocol capability of the APN sent by the user; the transceiver unit of the local core control entity is further configured to send the mobility of the APN to the access network gateway. Management protocol capability and/or IP address of the data gateway corresponding to the APN.
  • the foregoing is a description of a specific embodiment of a method and an apparatus for selecting a gateway according to an embodiment of the present invention, including a method for implementing an APN and APN mobility management protocol capability mapping relationship, including adopting an APN structure, adding an indication, or establishing a corresponding relationship.
  • the data network gateways of the mobility management protocol can be configured to connect to the same PDN. Terminals with different access technologies support access networks with different mobility management protocols. Both roaming and non-roaming scenarios can flexibly select appropriate data gateways and local service gateways, as well as mobility management protocol access services.
  • the present invention can be implemented by hardware or by software plus a necessary general hardware platform.
  • the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

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

Abstract

A method for selecting gateway is provided. The method includes the features that the access control function entity selects a gateway and obtains a data gateway address according to the APN and the mobility management protocol ability. A device for selecting gateway is also provided. The device includes a transceiver unit, an inquiry unit and a process unit. By using the embodiments of the present invention, the data gateway and the local service gateway can be selected smartly, which ensures the continuity of the user service.

Description

一种网关选择的方法 本申请要求于 2008 年 1 月 7 日提交中国专利局、 申请号为 200810065159.6、 发明名称为 "一种网关选择的方法", 以及于 2008 年 3月 19日提交中国专利局、 申请号为 200810087916.X、 发明名称 为 "一种网关选择的方法" 的中国专利申请的优先权, 其全部内容通 过引用结合在本申请中。 技术领域  A method for gateway selection This application claims to be submitted to the Chinese Patent Office on January 7, 2008, the application number is 200810065159.6, the invention name is "a method for gateway selection", and is submitted to the Chinese Patent Office on March 19, 2008. The priority of the Chinese Patent Application No. 200810087916.X, entitled "A Method of Gateway Selection", the entire contents of which is incorporated herein by reference. Technical field
本发明实施例涉及移动通信领域,尤其涉及一种实现网关选择的 方法。 背景技术  The embodiments of the present invention relate to the field of mobile communications, and in particular, to a method for implementing gateway selection. Background technique
无线通信系统中, 不同的无线通信系统针对移动性管理, 设计了 不同的协议, 在如图 1所示的融合的通信网络中, 至少包括了两种移 动性管理的协议, 通用分组无线业务隧道协议(GTP )和移动 IP协 议 (Mobile IP), 其中, 移动 IP包括用户移动 IP ( CMIP )和代理移动 IP ( PMIP )。 终端在附着到一种接入网络后, 将会选择一个数据网关 网络锚点来连接到外部的分组数据网 (PDN ), PDN根据业务和网络 配置可能有多个, 不同的 PDN可以由不同的接入点名 (APN )来标 识,终端使用的 IP地址由数据网关网络锚点分配或由外部的 PDN网 络提供。  In the wireless communication system, different wireless communication systems design different protocols for mobility management. In the converged communication network shown in FIG. 1, at least two mobility management protocols, general packet radio service tunnels are included. Protocol (GTP) and Mobile IP (Mobile IP), where Mobile IP includes User Mobile IP (CMIP) and Proxy Mobile IP (PMIP). After the terminal is attached to an access network, it will select a data gateway network anchor to connect to the external packet data network (PDN). There may be multiple PDNs depending on the service and network configuration. Different PDNs may be different. The access point name (APN) is used to identify that the IP address used by the terminal is allocated by the data gateway network anchor or by the external PDN network.
终端从 3GPP接入网初始接入时, 网络侧实体(一般是移动性管 理实体)可以通过查询 APN的方式,并通过域名服务器( Domain Name Server, DNS )解析 APN来获取网络锚点数据网关的地址, 选择其中 一个, 当然可以直接配置好固定的数据网关; 而终端从非 3GPP接入 网初始接入时, 终端可以在接入鉴权时从核心控制实体(HSS 或者 AAA Server或者 AAA Proxy )直接获取网络锚点数据网关的地址, 或由非 3GPP接入网网关通过接入鉴权时获得的 APN向 DNS查询并 获取网络锚点数据网关的地址。 由此可见, 在不同接入技术中, 获取 网络锚点数据网关地址的方式也是不同的。当终端在不同接入技术接 入网络间切换时,源网络和目标网络为终端分配的网络锚点数据网关 可能就不同, 这就将导致用户 IP层面的连接发生变化, 导致会话中 断, 发生数据丟失现象。 When the terminal is initially accessed from the 3GPP access network, the network-side entity (generally the mobility management entity) can obtain the network anchor data gateway by querying the APN and parsing the APN through a Domain Name Server (DNS). Address, choose one of them, of course, you can directly configure a fixed data gateway; when the terminal is initially accessed from a non-3GPP access network, the terminal can directly access the core control entity (HSS or AAA Server or AAA Proxy) during access authentication. Obtaining the address of the network anchor data gateway, or querying the DNS by the APN obtained by the non-3GPP access network gateway through access authentication Get the address of the network anchor data gateway. It can be seen that in different access technologies, the way to obtain the network anchor data gateway address is different. When the terminal switches between access networks of different access technologies, the network anchor data gateway allocated by the source network and the target network may be different. This will cause the connection at the user IP level to change, resulting in session interruption and data generation. Lost phenomenon.
现有方法中, 通过网络配置的方法进行固定设置来解决上述问 题, 用户在使用不同接入技术时, 使用固定的数据网关和本地服务网 关,从而控制用户接入的接入控制功能实体可以获取数据网关的移动 性协议支持能力,从而指示本地服务网关正确使用移动性管理协议建 立与数据网关间的承载。  In the existing method, a fixed setting is performed by a network configuration method to solve the above problem, and when a user uses a different access technology, a fixed data gateway and a local service gateway are used, so that an access control function entity that controls user access can obtain The mobility protocol support capability of the data gateway indicates that the local service gateway correctly uses the mobility management protocol to establish a bearer with the data gateway.
但现有技术中的方法制约了网络布置的灵活度,降低了用户接入 网络的效率。  However, the methods in the prior art restrict the flexibility of network arrangement and reduce the efficiency of users accessing the network.
发明内容 Summary of the invention
本发明实施例提供了一种网关选择的方法,提高了网络配置的灵 活度。  The embodiment of the invention provides a method for gateway selection, which improves the flexibility of network configuration.
一方面, 本发明实施例还提供了一种网关选择的方法, 该方法包 括: 接入控制功能实体根据 APN和移动性管理协议能力选择网关并 获取数据网关的地址。  In one aspect, the embodiment of the present invention further provides a method for gateway selection, where the method includes: an access control function entity selects a gateway according to an APN and a mobility management protocol capability, and obtains an address of the data gateway.
另一方面, 本发明实施例还提供了一种用于网关选择的装置, 该 装置包括收发单元、 查询单元、 处理单元, 其中收发单元, 用于向本 地服务网关或数据网关发送承载建立请求; 查询单元, 用于根据所述 查询单元获取的 APN和所述 APN的移动性管理协议能力向共用核心 控制实体查询用户信息,还用于向网络配置数据库或者本地核心控制 实体查询用户信息中 APN 的移动性管理协议能力, 还用于向 DNS Server查询用户信息中的 APN对应的数据网关的 IP地址, 还用于向 DNS Server查询用户可用的 APN对应的数据网关的 IP地址;和处理 单元, 用于选择数据网关、 用户可用的 APN、 本地服务网关、 用户 接入核心网访问业务方式中的任意一个,还用于根据 APN和 APN的 移动性管理协议能力组成 FQDN, 用于向收发单元发送指令消息, 该 指令消息指示所述收发单元向所述处理单元选择的数据网关或本地 服务网关发送承载建立请求。 On the other hand, the embodiment of the present invention further provides an apparatus for gateway selection, where the apparatus includes a transceiver unit, a query unit, and a processing unit, where the transceiver unit is configured to send a bearer setup request to the local service gateway or the data gateway; The querying unit is configured to query the shared core control entity for the user information according to the APN obtained by the query unit and the mobility management protocol capability of the APN, and is further configured to query the network configuration database or the local core control entity for the APN of the user information. The mobility management protocol capability is also used to query the DNS server for the IP address of the data gateway corresponding to the APN in the user information, and also to query the DNS server for the IP address of the data gateway corresponding to the APN available to the user; and the processing unit. Select data gateway, user-available APN, local service gateway, user Accessing the core network access service mode, and is further configured to form an FQDN according to the mobility management protocol capability of the APN and the APN, and configured to send an instruction message to the transceiver unit, where the instruction message indicates that the transceiver unit sends the processing unit to the processing unit The selected data gateway or local service gateway sends a bearer setup request.
使用本发明实施例提供的方法和装置, 接入控制功能实体根据 APN和移动性管理协议能力选择网关, 获取数据网关的地址, 而不 是像现有技术那样固定配置数据网关, 增强了网络配置的灵活性。 附图说明  Using the method and apparatus provided by the embodiments of the present invention, the access control function entity selects a gateway according to the APN and the mobility management protocol capability to obtain the address of the data gateway, instead of fixing the configuration data gateway as in the prior art, and enhancing the network configuration. flexibility. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面 将对实施例或现有技术描述中所需要使用的附图作筒单地介绍,显而 易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域 普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这 些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description For some embodiments of the present invention, other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1是现有技术中融合的网络架构示意图;  1 is a schematic diagram of a network architecture merged in the prior art;
图 2是本发明实施例中数据网关命名方法示意图;  2 is a schematic diagram of a data gateway naming method in an embodiment of the present invention;
图 3是本发明实施例中 APN和 APN移动性管理协议能力间对应 关系命名解决方案一的示意图;  3 is a schematic diagram of a naming solution 1 for correspondence between APN and APN mobility management protocol capabilities in an embodiment of the present invention;
图 4是本发明实施例中 APN和 APN移动性管理协议能力间对应 关系命名解决方案二的示意图;  4 is a schematic diagram of a naming solution 2 for correspondence between APN and APN mobility management protocol capabilities in an embodiment of the present invention;
图 5是本发明实施例中 APN和 APN移动性管理协议能力间对应 关系命名解决方案三的示意图;  FIG. 5 is a schematic diagram of a naming solution 3 for correspondence between APN and APN mobility management protocol capabilities in an embodiment of the present invention; FIG.
图 6是本发明实施例中共享 APN和 APN移动性管理协议能力对 应表的方法一的流程示意图;  6 is a schematic flowchart of a method 1 for sharing a capability of an APN and an APN mobility management protocol according to an embodiment of the present invention;
图 7是本发明实施例中共享 APN和 APN移动性管理协议能力对 应表的方法二的流程示意图;  7 is a schematic flowchart of a method 2 of sharing a capability of an APN and an APN mobility management protocol according to an embodiment of the present invention;
图 8是本发明实施例一的流程示意图;  8 is a schematic flow chart of Embodiment 1 of the present invention;
图 9是本发明实施例二的流程示意图;  9 is a schematic flow chart of Embodiment 2 of the present invention;
图 10是本发明实施例中接入控制功能实体的结构示意图。 具体实施方式 FIG. 10 is a schematic structural diagram of an access control function entity in an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方 案进行清楚、 完整地描述, 显然, 所描述的实施例仅是本发明一部分 实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通 技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都 属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中的共用核心控制实体可以是 HSS,本地核心控制 实体可以是 AAA Server或 AAA Proxy。用户终端处于拜访地时, AAA Proxy控制和管理用户, AAA Proxy通过 AAA Server与 HSS取得联 系, 获取用户和归属网络信息。 数据网关 ^^于 3GPP网络的早期技 术演进形成的融合网络的数据网关, 可以支持 GTP协议和 MIP两种 不同的移动性管理协议。接入控制功能实体在 3GPP接入网中是移动 性管理实体, 如 MME或者 SGSN; 在非 3GPP接入网中是归属地本 地核心控制实体 AAA Server或者 AAA Proxy, 或者是非 3GPP接入 网网关, 或者是由归属地的本地核心控制实体和非 3GPP接入网网关 共同组成, 或者是在拜访地由拜访地本地核心控制实体与非 3GPP接 入网网关共同组成。  The shared core control entity in the embodiment of the present invention may be an HSS, and the local core control entity may be an AAA Server or an AAA Proxy. When the user terminal is in the visited area, the AAA Proxy controls and manages the user. The AAA Proxy contacts the HSS through the AAA Server to obtain the user and home network information. Data Gateway ^^ The data gateway of the converged network formed by the early technological evolution of the 3GPP network can support two different mobility management protocols, GTP protocol and MIP. The access control function entity is a mobility management entity, such as an MME or an SGSN, in the 3GPP access network, a local local control entity AAA Server or an AAA Proxy, or a non-3GPP access network gateway in the non-3GPP access network. Or it is composed of a local core control entity of the home location and a non-3GPP access network gateway, or is jointly formed by the visited local core control entity and the non-3GPP access network gateway at the visited place.
本发明实施例中, 在 3GPP网络中, 用户信息存储在共用核心控 制实体上, 在非 3GPP网络中, 用户信息可以存储在共用核心控制实 体或者存储在本地核心控制实体上。 在没有指定哪个网络的情形下, 本发明实施例中将用户信息存储的实体统称为核心控制实体。  In the embodiment of the present invention, in the 3GPP network, the user information is stored on the shared core control entity. In the non-3GPP network, the user information may be stored in the shared core control entity or stored in the local core control entity. In the case where no network is specified, the entity storing the user information in the embodiment of the present invention is collectively referred to as a core control entity.
本发明实施例是将支持某种移动性管理协议的数据网关与一个 在网络中可用于查询地址的,并在一定范围内唯一的名字建立起对应 的关系, 该名字查询出的地址可能有多个, 但这些数据网关都具有相 同的属性, 即都可以连接到相同的 PDN, 并且具有相同的移动性管 理协议能力 (只支持 GTP、 只支持移动 IP、 或两者都支持)。 如图 2 所示, 对于接入 PDN 1的网关, 只支持 GTP的数据网关命名为 PDN GW NAME A, 只支持移动 IP的数据网关命名为 PDN GW NAME B , 两者都支持的命名为 PDN GW NAME C。 该命名方法可以显性指示 某种协议支持能力, 例如, 在 NAME命名时, 标明 GTP或移动 IP 等字段。 也可以由数据网关拥有者 (运营商) 制定一个 PDN GW NAME名称和移动性协议支持能力之间对应关系的表, 以显性的建 立数据网关名字与移动性管理协议能力的关系,在不同的接入网之间 或不同的运营商网络之间共享该对应表,例如使用运营商间静态或者 动态的漫游协议,或采用由接入网接入控制实体向关系表拥有者单独 查询的方式, 指示给其他网络实体。 In the embodiment of the present invention, a data gateway supporting a certain mobility management protocol is associated with a unique name that can be used to query an address in the network and is unique within a certain range, and the name may be queried by the name. However, these data gateways all have the same attributes, that is, they can all be connected to the same PDN and have the same mobility management protocol capabilities (only GTP, mobile IP only, or both). As shown in Figure 2, for a gateway accessing PDN 1, only the data gateway supporting GTP is named PDN. GW NAME A, the data gateway that only supports mobile IP is named PDN GW NAME B , and both support the name PDN GW NAME C. This naming method can explicitly indicate a certain protocol support capability, for example, when NAME is named, a field such as GTP or mobile IP is indicated. It is also possible for the data gateway owner (operator) to formulate a table of correspondence between the PDN GW NAME name and the mobility protocol support capability, to explicitly establish the relationship between the data gateway name and the mobility management protocol capability, in different The correspondence table is shared between the access networks or between different carrier networks, for example, using static or dynamic roaming protocols between operators, or using a method in which the access network access control entity separately queries the relationship table owner to indicate To other network entities.
一个数据网关可能连接多个 PDN, 如图 2中的 PDN 1 , PDN 2。 这时数据网关可以有不同的名字,分别代表接入不同的 PDN,如 PDN GW4: NAME B-PDN 1 , NAME Y-PDN 2; PDN GW5: NAME C-PDN 1 , NAME X-PDN 2 )。  A data gateway may connect to multiple PDNs, such as PDN 1 and PDN 2 in Figure 2. At this time, the data gateways may have different names, respectively representing access to different PDNs, such as PDN GW4: NAME B-PDN 1 , NAME Y-PDN 2; PDN GW5: NAME C-PDN 1 , NAME X-PDN 2 ).
本发明实施例中所指的移动性管理协议类型, 包括但不限于 GTP, 移动 IP等。 而且如果需要, 这些移动性管理协议还可进一步 进行细分, 例如, 移动 IP协议可进一步细分为 PMIP, CMIP。 为表 述方便, 本文以下内容以 GTP和移动 IP ( MIP ) 为例。  The types of mobility management protocols referred to in the embodiments of the present invention include, but are not limited to, GTP, mobile IP, and the like. These mobility management protocols can be further subdivided if needed. For example, the Mobile IP protocol can be further subdivided into PMIP, CMIP. For the sake of convenience, the following content uses GTP and Mobile IP (MIP) as an example.
本发明实施例提供了三种对 APN和 APN移动性管理协议能力间 对应关系进行命名的解决方案, 下面依次给予说明。  The embodiment of the present invention provides three solutions for naming the correspondence between the capabilities of the APN and the APN mobility management protocol, and the following descriptions are sequentially given.
方案一  Option One
如图 3所示,直接将原来指示访问某 PDN的 APN按照数据网关 的移动性管理协议能力再细分为不同的 APN,细分后的 APN对 APN 的网络 ID或运营商 ID进行扩充,加入显性指示移动性管理协议能力 的字段。 原始 APN的字段可以继续留在新的 APN里以指示 PDN等 其它信息。如图 3所示, 对原来访问 PDN 1的 APN 1中的网络 ID或 运营商 ID进行扩展, 增力。 gtp, mip, gtp/mip或类似字段。 当然, 由 于现存网络配置的原因, 对于支持某种移动性管理协议的数据网关, 例如, 支持 GTP协议的 GPRS网关服务节点 (GGSN ), 可以不改变 对应其地址的 APN, 而只针对新增加或新升级的数据网关 (支持新 的移动性管理协议), 改变对应其地址的 APN。 对于一个只有一个地 址而可以同时支持两种移动性管理协议的数据网关,可以被列入只支 持某种协议的 APN中, 也可以单独用不同的 APN标识, 例如, 图 3 中的 PDN GW 5也可以用 APN l_gtp或 APN l_mip标识, 也可以用 APN_gtp_mip标识。 As shown in Figure 3, the APN that originally indicated access to a PDN is further subdivided into different APNs according to the mobility management protocol capability of the data gateway. The subdivided APN extends the network ID or carrier ID of the APN to join. A field that explicitly indicates the capabilities of the mobility management protocol. The fields of the original APN may remain in the new APN to indicate other information such as the PDN. As shown in FIG. 3, the network ID or the carrier ID in the APN 1 that originally accessed the PDN 1 is expanded and increased. Gtp, mip, gtp/mip or similar fields. Of course, due to the existing network configuration, for a data gateway supporting a certain mobility management protocol, for example, a GPRS Gateway Service Node (GGSN) supporting the GTP protocol may not change the APN corresponding to its address, but only for newly added or New upgraded data gateway (support new The mobility management protocol), changing the APN corresponding to its address. For a data gateway that has only one address and can support two mobility management protocols at the same time, it can be listed in an APN that only supports a certain protocol, or it can be identified by a different APN. For example, PDN GW 5 in Figure 3. It can also be identified by APN l_gtp or APN l_mip, or by APN_gtp_mip.
当接入网接入控制功能实体获得这种新定义的 APN时, 就可以 确定数据网关的移动性管理协议能力,并根据网络实际情况以及本地 策略(包括运营商间协议), 选择合适的数据网关、 接入核心网的方 式,例如当终端通过非 3GPP接入网访问业务时,若终端处于归属地, 则选择网关间接口 3直接访问, 若终端处于拜访地, 则终端还可以通 过网关间接口 1-2链的方式访问, 选择合适的本地服务网关 (针对 3GPP接入网, 或者非 3GPP接入网在拜访地使用网关间接口 1-2链 的方式)。  When the access network access control function entity obtains the newly defined APN, it can determine the mobility management protocol capability of the data gateway, and select appropriate data according to the actual situation of the network and the local policy (including the inter-operator agreement). The gateway and the access to the core network, for example, when the terminal accesses the service through the non-3GPP access network, if the terminal is in the home location, the inter-gateway interface 3 is directly accessed. If the terminal is in the visited place, the terminal can also pass through the gateway. Interface 1-2 chain access, select the appropriate local service gateway (for 3GPP access network, or non-3GPP access network in the way of using gateway interface 1-2 chain).
发生切换时, 数据网关的地址被带给目标接入网。 同一接入网类 型内的切换,数据网关的地址一般由该接入网类型的上下文从原接入 网传给目标接入网。 而跨不同接入网类型间的切换, 数据网关的地址 一般被保存在共用核心控制实体或本地核心控制实体,用户终端在目 标接入网接入时, 从共用核心控制实体或本地核心控制实体获得。 本 地服务网关的地址也可以用上述方法获得,但由于本地服务网关的配 置原因, 可能需要重选。 在发生重选时, 接入网接入控制实体根据用 户签约 APN, 用户正在使用的数据网关或 APN、 本地策略、 漫游协 议(在漫游情况下)等选择合适的本地服务网关。  When a handover occurs, the address of the data gateway is brought to the target access network. For the handover within the same access network type, the address of the data gateway is generally transmitted from the original access network to the target access network by the context of the access network type. The information of the data gateway is generally stored in the shared core control entity or the local core control entity. When the user terminal accesses the target access network, the shared core control entity or the local core control entity obtain. The address of the local service gateway can also be obtained by the above method, but may be reselected due to the configuration of the local service gateway. When a reselection occurs, the access network access control entity selects an appropriate local service gateway based on the subscriber's subscription APN, the data gateway or APN that the user is using, the local policy, the roaming protocol (in the case of roaming), and the like.
方案二  Option II
如图 4所示, 不改变 APN的结构, 通过增加不同的 APN来指示 访问同一个 PDN而支持不同移动性管理协议能力的数据网关, 形成 如表 1所示的对应表格。在运营商网络间通过静态或者动态的方式共 享这些 APN和移动性协议能力的对应表, 也可以采用单独动态查询 的方式获知该对应关系, 对应表格里还可加入运营商网络 ID歹 ll (如 果 APN里带有运营商网络信息, 则没有该列)、 PDN列作为查询的 参考。 对应表格中的 APN就是用户终端签约数据里的 APN (包括缺 省 APN )。 对于一个只有一个地址而可以同时支持两种移动性管理协 议的数据网关, 可以被列入只支持某种协议的 APN中, 也可以单独 用不同的 APN标识。 如图 4 所示, PDN GW 5可以用 APN A或者 APN B, 或者 APN C标识。 As shown in FIG. 4, without changing the structure of the APN, a data gateway supporting different mobility management protocol capabilities by instructing access to the same PDN by adding different APNs is formed, and a corresponding table as shown in Table 1 is formed. The correspondence table of these APNs and mobility protocol capabilities can be shared between the carrier networks in a static or dynamic manner. The corresponding relationship can also be obtained by using a separate dynamic query. The corresponding network can also be added to the carrier network ID (if APN with carrier network information, there is no such column), PDN column as query Reference. The APN in the corresponding table is the APN (including the default APN) in the user terminal subscription data. For a data gateway that has only one address and can support two mobility management protocols at the same time, it can be included in an APN that only supports a certain protocol, or it can be identified by a different APN. As shown in FIG. 4, the PDN GW 5 can be identified by APN A or APN B, or APN C.
当用户终端从 3GPP或非 3GPP接入网接入时, 接入控制功能实 体从用户签约数据里获取用户签约 APN (包括缺省 APN ) , 并向保存 对应表的实体查询该用户需要锚定的数据网关所在的运营商网络(一 般是归属地网络, 漫游时, 如果采用路由优化的业务访问方式, 也有 可能是拜访地网络) 的 APN和移动性管理协议能力的对应表, 获得 这些 APN支持的移动性管理协议能力。 如果漫游时用户面数据进行 路由优化,也可能在拜访地网络接入控制功能实体上配置一些用于路 由优化的 APN, 则拜访地网络接入控制功能实体通过查询本地的 APN和协议支持能力对应表可以获得这些本地配置的 APN的移动性 管理协议能力。  When the user terminal accesses from the 3GPP or the non-3GPP access network, the access control function entity obtains the user subscription APN (including the default APN) from the user subscription data, and queries the entity that saves the correspondence table to query the user that needs to be anchored. The APN and mobility management protocol capabilities of the carrier network where the data gateway is located (generally the home network, if the route is optimized, or the visited network is used), obtain the APN support. Mobility management protocol capabilities. If the user plane data is optimized for routing during roaming, and some APNs for route optimization may be configured on the visited network access control function entity, the visited network access control function entity queries the local APN and the protocol support capability. The table can obtain the mobility management protocol capabilities of these locally configured APNs.
也可以将 APN和允许用户使用的移动性管理协议都作为运营商 间签约信息(或用户签约信息)存储在共用核心实体上。 此时, 不需 要在不同运营商网络间共享 APN和协议支持能力的对应表, 也不需 要查询该能力。  It is also possible to store both the APN and the mobility management protocol that the user is allowed to use as the inter-operator contract information (or user subscription information) on the shared core entity. In this case, there is no need to share the correspondence table of APN and protocol support capabilities between different carrier networks, and there is no need to query this capability.
表 1  Table 1
Figure imgf000009_0001
Figure imgf000009_0001
对于用户终端从 3GPP接入网接入的情况, 移动性管理实体根据 查询结果(如果有 PDN信息, 运营商网络 ID等信息, 则综合这些信 息)和本地策略等, 选择合适的数据网关(查询 DNS Server得到数 据网关地址)、 本地服务网关, 并在指示本地服务网关建立本地服务 网关与锚定点数据网关的网关间接口 1时,将数据网关地址和采用的 移动性管理协议类型发给本地服务网关。 For the case where the user terminal accesses from the 3GPP access network, the mobility management entity selects an appropriate data gateway according to the query result (if there is information such as the PDN information, the carrier network ID, etc.) and the local policy, etc. DNS Server gets the data gateway address), the local service gateway, and instructs the local service gateway to establish a local service When the interface between the gateway and the gateway of the anchor point data gateway is 1, the data gateway address and the adopted mobility management protocol type are sent to the local service gateway.
对于用户终端从非 3GPP接入网接入的情况,接入控制功能实体 根据查询结果(如果有 PDN信息, 运营商网络 ID等信息, 则综合这 些信息 )和本地策略(包括运营商间协议 )等, 先选择合适的访问业 务的方式(也可能进一步选择数据网关), 再选择本地服务网关 (在 漫游时, 如果需要), 并在选择本地服务网关后, 在指示本地服务网 关建立本地服务网关与锚定点数据网关的网关间接口 1时,将数据网 关地址和采用的移动性管理协议类型发给本地服务网关。如果查询数 据网关地址的功能位于本地核心控制实体,则在本地核心控制实体发 往非 3GPP接入网网关数据网关地址的同时, 将该数据网关的 APN 及此 APN支持的移动性管理协议发给接入网网关, 数据网关地址可 以是确定的一个数据网关地址, 也可以是一个列表。 如果查询数据网 关地址的功能位于接入网网关,则本地核心控制实体将该用户终端可 以通过该非 3GPP接入网访问的 APN (包括缺省 APN )及此 APN的 移动性管理协议能力发给非 3GPP接入网网关。 APN(包括缺省 APN ) 及此 APN的移动性管理协议能力可以是一个列表, 如果有访问新的 APN 的业务发起, 直接在接入网关判断是否允许建立。 也可以是每 次有访问新的 APN的业务发起时, 由本地核心控制实体判决后发给 接入网网关。  For the case where the user terminal accesses from the non-3GPP access network, the access control function entity synthesizes the information according to the query result (if there is information such as the PDN information, the carrier network ID, etc.) and the local policy (including the inter-operator agreement) Etc., first choose the appropriate way to access the service (and possibly further choose the data gateway), then select the local service gateway (when roaming, if needed), and after selecting the local service gateway, instruct the local service gateway to establish the local service gateway. When the interface 1 is connected to the gateway of the anchor point data gateway, the data gateway address and the adopted mobility management protocol type are sent to the local service gateway. If the function of querying the data gateway address is located in the local core control entity, the local core control entity sends the APN of the data gateway and the mobility management protocol supported by the APN to the non-3GPP access network gateway data gateway address. The access gateway, the data gateway address may be a determined data gateway address, or a list. If the function of querying the data gateway address is located at the access network gateway, the local core control entity sends the APN (including the default APN) that the user terminal can access through the non-3GPP access network and the mobility management protocol capability of the APN to Non-3GPP access network gateway. The APN (including the default APN) and the mobility management protocol capability of the APN can be a list. If there is a service initiated by accessing the new APN, it is directly determined at the access gateway whether it is allowed to be established. It may also be that each time a service with a new APN is initiated, the local core control entity decides and sends it to the access network gateway.
方案三  third solution
如图 5所示, 不改变 APN的结构, 沿用原来的 APN和 PDN的 对应关系, 使用定义好的由 APN扩展成不同的完全合格域名 ( Fully Qualified Domain Name, FQDN )指示访问同一个 PDN而支持不同移 动性管理协议能力的数据网关。在运营商网络间通过静态或者动态的 方式共享这些 APN和移动性管理协议能力的对应表(或采用单独动 态查询的方式获知该对应关系), 表格里还可加入运营商网络 ID 列 (如果 APN里带有运营商网络信息, 则没有该列), PDN列作为查 询的参考。 和第二种方案不同的是, 本方案中 APN代表的数据网关 能够支持的移动性协议能力是指使用该 APN能解析出的所有数据网 关的移动性协议支持能力, 即所有数据网关能力的并集。 该表中的As shown in FIG. 5, the APN structure is not changed, and the original APN and PDN are used to support the same PDN by using the defined Fully Qualified Domain Name (FQDN). Data gateways with different mobility management protocol capabilities. The correspondence table of these APN and mobility management protocol capabilities is shared between the carrier networks in a static or dynamic manner (or the corresponding relationship is obtained by means of a separate dynamic query), and the operator network ID column may also be added to the table (if APN) If there is carrier network information, there is no such column), and the PDN column is used as a reference for the query. Different from the second scheme, the data gateway represented by APN in this scheme The mobility protocol capability that can be supported refers to the mobility protocol support capability of all data gateways that can be parsed by the APN, that is, the union of all data gateway capabilities. In the table
APN就是用户终端的签约数据里的 APN (包括缺省 APN )。 将现有 技术中用 APN进行 DNS查询数据网关地址的方法所需的参数结合该The APN is the APN (including the default APN) in the subscription data of the user terminal. Combining the parameters required by the prior art method of using APN for DNS query data gateway address
APN支持移动性协议的能力, 构建成的 FQDN (可以是对 APN的网 络 ID或运营商 ID的扩展), 如表 2所示, 用于从 DNS Server查询该The APN supports the mobility protocol's ability to build an FQDN (which can be an extension of the APN's network ID or carrier ID), as shown in Table 2, used to query this from the DNS Server.
APN指向的某个确定移动性管理协议能力的数据网关地址, 如表 3 所示, 该列表一般由数据网关拥有者提供。 A data gateway address pointed to by the APN to determine the mobility management protocol capabilities, as shown in Table 3, which is typically provided by the data gateway owner.
G G M M  G G M M
上述 FQDN也可以由数据网 Π 1 T T  The above FQDN can also be used by the data network Π 1 T T
p p p关拥有者直接存储在上述 APN和移 动性管理协议能力的对应表中,即在表 3所示的对应表增加一列表示 各行 APN对应的 FQDN。 这时, 接入控制实体在查询 APN的移动性 管理协议能力时就可直接获得用来查询数据网关地址的 FQDN。  The p p p-owner is directly stored in the correspondence table of the above-mentioned APN and mobility management protocol capabilities, that is, a column corresponding to the FPN corresponding to each row APN is added to the correspondence table shown in Table 3. At this time, the access control entity can directly obtain the FQDN used to query the data gateway address when querying the mobility management protocol capability of the APN.
或者, 数据网关拥有者上存储的 APN和移动性管理协议能力的 对应表中的 FQDN也可以是由网络管理人员按照实际需求定义的一 个名称。 表 2  Alternatively, the FQDN in the correspondence table of the APN and mobility management protocol capabilities stored on the data gateway owner may also be a name defined by the network administrator according to actual needs. Table 2
APN + 协议能力 = FQDN  APN + protocol capability = FQDN
APN 1 FQDN A APN 1 FQDN B APN 2 FQDN D APN 3 IP FQDN E  APN 1 FQDN A APN 1 FQDN B APN 2 FQDN D APN 3 IP FQDN E
表 3  table 3
Figure imgf000011_0001
Figure imgf000011_0001
也可以将 APN和允许用户使用的移动性管理协议都作为签约数 据(运营商间签约信息或用户签约信息)存储在共用核心实体上。 此 时, 接入网接入控制实体只需要将签约信息中的 APN和允许使用的 移动性管理协议组成 FQDN进行 DNS 查询获取数据网关的地址即 可,不需要在不同运营商网络间共享 APN和 APN的移动性管理协议 能力的对应表, 也不需要查询该能力。 It is also possible to store both the APN and the mobility management protocol that the user is allowed to use as subscription data (inter-operator subscription information or user subscription information) on the shared core entity. At this time, the access network access control entity only needs to use the APN in the subscription information and the allowed use. The mobility management protocol forms an FQDN for DNS query to obtain the address of the data gateway. It does not need to share the correspondence table of the mobility management protocol capabilities of the APN and the APN between different carrier networks, and does not need to query the capability.
当用户终端从 3GPP或非 3GPP接入网接入时, 接入控制功能实 体从用户签约数据里获取用户签约 APN (包括缺省 APN ) , 并向保 存表 3的实体查询该用户需要锚定的数据网关所在运营商网络(一般 是归属地网络, 漫游时, 如果采用路由优化的业务访问方式, 也有可 能是拜访地网络)的 APN和 APN的移动性管理协议能力对应表, 获 得这些 APN可以支持的移动性管理协议能力。 如果漫游时用户面数 据进行路由优化,也可能在拜访地网络接入控制功能实体上配置一些 用于路由优化的 APN, 则拜访地网络接入控制功能实体通过查询本 地的 APN 和移动性管理协议能力对应表可以获得这些本地配置的 APN的移动性管理协议能力。  When the user terminal accesses from the 3GPP or the non-3GPP access network, the access control function entity obtains the user subscription APN (including the default APN) from the user subscription data, and queries the entity of the storage table 3 for the user to be anchored. The APN and APN mobility management protocol capability correspondence table of the APN and APN of the carrier network where the data gateway is located (generally the home network, if the route is optimized, or the visited network) Mobility management protocol capabilities. If the user plane data is optimized for routing during roaming, and some APNs for route optimization may be configured on the visited network access control function entity, the visited network access control function entity queries the local APN and the mobility management protocol. The capability correspondence table can obtain the mobility management protocol capabilities of these locally configured APNs.
对于 3GPP接入, 移动性管理实体根据查询结果(如果有 PDN 信息, 运营商网络 ID等信息, 则综合这些信息)和本地策略等, 选 择合适的数据网关, 本地服务网关, 并在指示本地服务网关建立本地 服务网关与锚定点数据网关的网关间接口 1时,将数据网关地址和采 用的移动性管理协议类型发给本地服务网关。 使用 APN和移动性管 理协议能力组成的 FQDN向 DNS Server查询相关数据网关的地址。  For 3GPP access, the mobility management entity selects the appropriate data gateway, local service gateway, and indicates local service according to the query result (if there is PDN information, carrier network ID and other information, then synthesizes the information) and local policy, etc. When the gateway establishes the inter-gateway interface 1 between the local service gateway and the anchor point data gateway, the data gateway address and the adopted mobility management protocol type are sent to the local service gateway. Use the FQDN of APN and mobility management protocol capabilities to query the DNS Server for the address of the relevant data gateway.
对于非 3GPP接入, 接入控制功能实体根据查询结果(如果有 PDN信息,运营商网络 ID等信息, 则综合这些信息)和本地策略等, 先选择合适的访问业务的方式(也可能进一步选择好数据网关), 再 选择本地服务网关 (在漫游时, 如果需要), 并在选择本地服务网关 后,在指示本地服务网关建立本地服务网关与锚定点数据网关的网关 间接口 1时,将数据网关地址和采用的移动性管理协议类型发给本地 服务网关。 使用 APN和移动性管理协议能力组成的 FQDN向 DNS Server查询相关数据网关的地址。如果查询数据网关地址的功能位于 本地核心控制实体, 则在本地核心控制实体发往非 3GPP接入网网关 数据网关地址的同时,将该数据网关的 APN及此 APN支持的协议能 力发给接入网网关, 数据网关地址可以是确定的一个数据网关地址, 也可以是一个列表。 如果查询数据网关地址的功能位于接入网网关, 则本地核心控制实体将该用户终端可以通过该非 3GPP接入网访问的 APN (包括缺省 APN )及此 APN支持的协议能力发给非 3GPP接入 网网关, 由接入网网关构造 FQDN, 也可以是移动性管理协议能力对 应表中构造好的 FQDN。 APN (包括缺省 APN )及此 APN支持的移 动性管理协议能力(或构造好的 FQDN )可以是一个列表, 如果有访 问新的 APN的业务发起, 直接在接入网关判断是否允许建立。 也可 以是每次有访问新的 APN的业务发起时, 由本地核心控制实体判决 后发给接入网网关。 For non-3GPP access, the access control function entity selects the appropriate access service according to the query result (if there is PDN information, carrier network ID and other information, and then integrates the information) and the local policy (may also further select Good data gateway), then select the local service gateway (when roaming, if needed), and after selecting the local service gateway, when the local service gateway is instructed to establish the inter-gateway interface 1 between the local service gateway and the anchor point data gateway, the data will be The gateway address and the adopted mobility management protocol type are sent to the local service gateway. The address of the relevant data gateway is queried by the DNS server using the FQDN composed of the APN and mobility management protocol capabilities. If the function of querying the data gateway address is located in the local core control entity, the APN of the data gateway and the protocol supported by the APN can be sent by the local core control entity to the non-3GPP access network gateway data gateway address. Forced to the access network gateway, the data gateway address can be a determined data gateway address, or a list. If the function of querying the data gateway address is located in the access network gateway, the local core control entity sends the APN (including the default APN) that the user terminal can access through the non-3GPP access network and the protocol capability supported by the APN to the non-3GPP. The access network gateway, the FQDN is constructed by the access network gateway, or may be the FQDN constructed in the mobility management protocol capability correspondence table. The APN (including the default APN) and the mobility management protocol capability (or the constructed FQDN) supported by the APN may be a list. If there is a service to access the new APN, the access gateway determines whether the establishment is allowed. It may also be sent by the local core control entity to the access network gateway each time a service with a new APN is initiated.
方案二和方案三中, APN和 APN移动性管理协议能力对应表应 包括但不限于 APN和 APN移动性管理协议能力的对应关系,还可能 包括该 APN所属网络运营商 ID、 PDN等信息。 这里的 APN可以是 标准定义意义下的原始 APN, 也可以是一个一定范围内有共同定义 的名称, 如 FQDN。  In schemes 2 and 3, the APN and APN mobility management protocol capability correspondence tables should include, but are not limited to, the correspondence between APN and APN mobility management protocol capabilities, and may also include information such as the network operator ID and PDN of the APN. The APN here can be the original APN in the sense of a standard definition, or it can be a commonly defined name within a certain range, such as the FQDN.
上面三种方案具体讲述了 APN和数据网关的移动性管理协议能 力对应的方法, 以及如何获取该信息的方法。 方案一中, 进行扩展后 的新 APN的保存方法与现有技术中的保存方法一样, 即保存在用户 的签约数据、 运营商间协议、 运营商本地策略以及承载建立请求里。 任何网络节点, 通过现有方法, 即名称查询机制, 都可以获得确定的 通过某种移动性管理协议访问该 PDN的数据网关的地址列表。 方案 二和方案三中,由于新生成的对应表可以保存在运营商间签约或用户 签约数据中, 也可以在不同运营商间通过静态或动态的方式共享, 或 者保存在一个独立的网络实体中,因此必须通过适当的方式解决请求 对应表的网络实体如何获得最新的对应表,或不同运营商网络间如何 共享对应表的问题。 本发明实施例提供了两种对应表的获取方法, 下 面分别进行说明。 为说明方便起见, 以下实施例中 APN的移动性管 理协议能力对应表筒称为对应表。  The above three schemes specifically describe the methods corresponding to the mobility management protocol capabilities of the APN and the data gateway, and how to obtain the information. In the first scheme, the method for saving the extended new APN is the same as the saving method in the prior art, that is, it is stored in the user's subscription data, inter-operator agreement, carrier local policy, and bearer setup request. Any network node, through the existing method, that is, the name query mechanism, can obtain a determined address list of the data gateway accessing the PDN through a certain mobility management protocol. In schemes 2 and 3, the newly generated correspondence table can be stored in the inter-operator contract or user subscription data, or can be shared between different operators in a static or dynamic manner, or stored in a separate network entity. Therefore, it is necessary to solve the problem of how the network entity requesting the correspondence table obtains the latest correspondence table or how to share the corresponding table among different operator networks in an appropriate manner. The embodiments of the present invention provide methods for obtaining two correspondence tables, which are separately described below. For convenience of description, the mobility management protocol capability correspondence table of the APN in the following embodiment is referred to as a correspondence table.
这两种方法中, 对应表的请求方可以是接入网控制实体, 或者是 对应表的请求方网络的本地网络配置数据库。 In the two methods, the requester of the corresponding table may be an access network control entity, or The local network configuration database of the requestor network corresponding to the table.
对应表被请求方 (即对应表的拥有者 )可以是对应表中 APN指 示的控制数据网关的运营商网络的共用核心控制实体或者其他私有 / 共有网络配置数据库,也可以是对应表的请求方网络的本地核心控制 实体或者其他私有 /共有网络配置数据库。  The responding party (that is, the owner of the corresponding table) may be a shared core control entity or other private/shared network configuration database of the operator network of the control data gateway indicated by the APN in the corresponding table, or may be the requester of the corresponding table. The local core control entity of the network or other private/shared network configuration database.
方法一采用对应表的请求方主动请求对应表信息的方式, 如图 6 所示, 该方法包括  In the first method, the requester of the corresponding table actively requests the corresponding table information, as shown in FIG. 6, the method includes
步骤 601: 对应表的请求方发送请求网络配置信息; 该请求信息 可以为显示请求,即单独发送一条 APN和 APN移动性管理协议能力 对应表的请求; 或者, 该请求信息为隐式请求, 即携带在现有信息中 发送。该请求信息中还可以携带 APN所属运营商的 ID、PDN等信息。  Step 601: The requester of the corresponding table sends the request network configuration information; the request information may be a display request, that is, a request for separately transmitting an APN and an APN mobility management protocol capability correspondence table; or, the request information is an implicit request, that is, Carry in the existing information to send. The request information may also carry information such as the ID and PDN of the operator to which the APN belongs.
步骤 602: 对应表的拥有者向对应表的请求方发送 APN和 APN 移动性管理协议能力对应表。  Step 602: The owner of the correspondence table sends an APN and APN mobility management protocol capability correspondence table to the requester of the corresponding table.
方法二采用对应表的请求方主动请求对应表信息的方式。 如图 7 所示, 该方法包括:  The second method adopts the manner in which the requesting party of the corresponding table actively requests the corresponding table information. As shown in Figure 7, the method includes:
步骤 701: 对应表的请求方向对应表的拥有者发送 APN (或者为 APN列表), 查询 APN的移动性管理协议能力;  Step 701: The owner of the request direction correspondence table of the corresponding table sends an APN (or an APN list) to query the mobility management protocol capability of the APN.
步骤 702: 对应表的拥有者向 DNS Server查询 APN对应的数据 网关的 IP地址, 该步骤为可选项;  Step 702: The owner of the corresponding table queries the DNS server for the IP address of the data gateway corresponding to the APN, and the step is optional;
步骤 703: 对应表的拥有者向对应表的请求方发送 APN的移动 性管理协议能力对应表, 如果进行了步骤 702, 还发送 APN对应的 数据网关的 IP地址。  Step 703: The owner of the correspondence table sends the mobility management protocol capability correspondence table of the APN to the requesting party of the corresponding table, and if step 702 is performed, the IP address of the data gateway corresponding to the APN is also sent.
这里如果对应表的拥有者为网络配置数据库, 则 DNS Server可 以和该网络配置数据库位于同一个实体中。  Here, if the owner of the corresponding table is a network configuration database, the DNS Server can be in the same entity as the network configuration database.
以上是对本发明实施例中 APN和 APN移动性管理协议能力对应 表的具体实现方法和网络实体获取该对应表的方法,以下说明本发明 实施例中如何利用该对应表实现网关选择的方法。 由于 APN和 APN 移动性管理协议能力对应关系实现方案一中, 新扩展的 APN的保存 方法与现有方法一样, 所以网络实体获取 APN移动性管理协议能力 的方法与现有方法中获取 APN的方法一样, 即获取了 APN, 就同时 知道了 APN的移动性管理协议能力。以下实施例中使用 APN和 APN 移动性管理协议能力对应表, 即方案二或方案三的方法。 The foregoing is a specific implementation method of the APN and APN mobility management protocol capability correspondence table and a method for the network entity to obtain the correspondence table in the embodiment of the present invention. The following describes how to implement the gateway selection by using the correspondence table in the embodiment of the present invention. Since the APN and the APN mobility management protocol capability are implemented in the first solution, the newly extended APN is saved in the same manner as the existing method, so the network entity acquires the APN mobility management protocol capability. The method is the same as the method for obtaining the APN in the existing method, that is, the APN is acquired, and the mobility management protocol capability of the APN is also known. In the following embodiments, the APN and APN mobility management protocol capability correspondence table, that is, the method of the second scheme or the third scheme is used.
本发明实施例提供了一种使用 APN和 APN的移动性管理协议能 力对应表选择网关的方法, 该方法描述了用户终端从 3GPP接入网初 始接入或从其他类型的接入网切换到 3GPP接入网时, 数据网关、 本 地服务网关和移动性管理协议的选择过程。 用户漫游时, 数据网关和 本地服务网关可位于不同的运营商网络。如图 8所示为本发明实施例 的流程示意图, 该流程包括:  An embodiment of the present invention provides a method for selecting a gateway by using a mobility management protocol capability correspondence table of an APN and an APN, where the method describes that a user terminal initially accesses from a 3GPP access network or switches from another type of access network to 3GPP. The process of selecting the data gateway, local service gateway, and mobility management protocol when accessing the network. When the user roams, the data gateway and the local service gateway can be located in different carrier networks. FIG. 8 is a schematic flowchart of an embodiment of the present invention, where the process includes:
步骤 801: 用户终端接入移动性管理实体。  Step 801: The user terminal accesses the mobility management entity.
步骤 802: 移动性管理实体向共用核心控制实体请求用户信息, 该请求信息可以携带在其他消息中发送, 也可以单独发送。 该步骤为 可选步骤。  Step 802: The mobility management entity requests user information from the shared core control entity, and the request information may be carried in other messages, or may be sent separately. This step is an optional step.
步骤 803: 共用核心控制实体向网络配置数据库查询用户信息中 APN的移动性管理协议能力。 该网络配置数据库位于用户归属网络。 该步骤为可选项。  Step 803: The shared core control entity queries the network configuration database for the mobility management protocol capability of the APN in the user information. The network configuration database is located on the user's home network. This step is optional.
步骤 804: 共用核心控制实体向移动性管理实体回复用户信息或 用于签约信息。 若进行了步骤 803 的查询 (或用户签约信息中就有 APN的移动性管理协议能力 ), 则该消息中还可以携带 APN和 APN 移动性管理协议能力的对应表。 对于跨接入网类型的切换, 即从非 3GPP网切换到 3GPP接入网, 则该回复消息中还可以携带存储在共 用核心控制实体中的用户正在进行业务访问的数据网关的 IP地址、 该数据网关的移动性管理协议能力和 /或用户连接此正在访问的数据 网关地址时使用的移动性管理协议。  Step 804: The shared core control entity replies to the mobility management entity with user information or for subscription information. If the query of step 803 is performed (or the subscriber subscription information has APN's mobility management protocol capability), the message may also carry a correspondence table of APN and APN mobility management protocol capabilities. For the handover of the access network type, that is, the handover from the non-3GPP network to the 3GPP access network, the reply message may further carry the IP address of the data gateway that the user stored in the shared core control entity is accessing the service, The mobility management protocol capabilities of the data gateway and/or the mobility management protocol used by the user to connect to the data gateway address being accessed.
步骤 805: 若没有进行步骤 803的查询, 则该步骤中移动性管理 实体向网络配置数据库查询用户信息中 APN 的移动性管理协议能 力, 获取 APN和 APN的移动性管理协议能力对应表。 该网络配置数 据库可位于用户归属网络, 也可位于用户拜访网络。  Step 805: If the query in step 803 is not performed, the mobility management entity in the step queries the network configuration database for the mobility management protocol capability of the APN in the user information, and obtains the mobility management protocol capability correspondence table of the APN and the APN. The network configuration database can be located on the user's home network or on the user's visited network.
步骤 806: 移动性管理实体根据预置策略进行相关选择, 即如果 终端是初始接入,则考虑网络配置情况、本地策略及用户信息中 APN 的移动性管理协议能力,选择用户能够访问的 APN (漫游时,该 APN 一般指向归属地网络数据网关, 如果采用路由优化的业务访问方式, 可由接入网接入控制实体分配指向拜访地数据网关的 APN ), 并选择 合适的本地服务网关。 如果终端是切换到 3GPP网络, 则移动性管理 实体还要根据正在进行业务访问的数据网关的移动性管理协议能力 和 /或访问该数据网关正在使用的移动性管理协议来选择本地服务网 关。 Step 806: The mobility management entity performs related selection according to a preset policy, that is, if The terminal is the initial access, considering the network configuration, the local policy, and the mobility management protocol capability of the APN in the user information, and selecting the APN that the user can access. (When roaming, the APN generally points to the home network data gateway, if route optimization is adopted. The service access mode may be allocated by the access network access control entity to the APN of the visited data gateway, and an appropriate local service gateway is selected. If the terminal is handed over to the 3GPP network, the mobility management entity also selects the local service gateway based on the mobility management protocol capabilities of the data gateway that is being accessed by the service and/or accessing the mobility management protocol that the data gateway is using.
步骤 807:如果终端是初始接入,则移动性管理实体使用步骤 806 中选择的用户可以使用的 APN向 DNS Server查询数据网关地址, 选 择数据网关和 /或使用的移动性管理协议。 如果这里使用的是方案二 中的对应表实现方式,则移动性管理实体还要组成 FQDN,用于 DNS 查询,或者如果在步骤 804或步骤 805中获取的 APN和 APN的移动 性管理协议能力对应表中包含 FQDN,则移动性管理实体直接使用该 FQDN进行 DNS查询。  Step 807: If the terminal is the initial access, the mobility management entity queries the DNS Server for the data gateway address using the APN that the user selected in step 806 can use, and selects the data gateway and/or the mobility management protocol used. If the corresponding table implementation in the second scheme is used, the mobility management entity also needs to form an FQDN for the DNS query, or if the APN and the APN's mobility management protocol capabilities acquired in step 804 or step 805 correspond to The table contains the FQDN, and the mobility management entity directly uses the FQDN for DNS query.
步骤 808: 移动性管理实体向本地服务网关发送消息指示建立承 载, 该消息中携带数据网关地址及使用的移动性管理协议。 对于跨不 同接入网类型的切换,该消息还可以携带移动性管理实体从共用核心 控制实体中获得的当前用户正在进行业务访问的数据网关的地址以 及正在使用的移动性管理协议类型,可能还包括该数据网关的移动性 管理协议能力。 对于 3GPP内部切换, 当前用户正在进行业务访问的 数据网关的地址以及正在使用的移动性管理协议类型(可能还包括该 数据网关的移动性管理协议能力)从移动性上下文中获取, 该移动性 上下文从切换前的移动性管理实体处获得。  Step 808: The mobility management entity sends a message to the local service gateway to indicate the establishment of the bearer, where the message carries the data gateway address and the mobility management protocol used. For handovers across different access network types, the message may also carry the address of the data gateway that the mobility management entity obtains from the shared core control entity for the current user's ongoing service access and the type of mobility management protocol being used, possibly Includes the mobility management protocol capabilities of the data gateway. For 3GPP internal handover, the address of the data gateway that the current user is accessing for the service and the type of mobility management protocol being used (and possibly the mobility management protocol capability of the data gateway) are obtained from the mobility context, the mobility context Obtained from the mobility management entity before the switch.
步骤 809: 用户终端完成到数据网关的承载建立。 将选择好的数 据网关(对于跨接入网的切换, 还有正在访问业务的数据网关)的地 址及移动性管理协议类型(可能还包括该数据网关的移动性管理协议 能力)存入移动性管理上下文。 用户签约信息中用户接入本地移动性 管理实体时允许访问的 APN及其移动性管理协议能力也存入移动性 管理上下文。 Step 809: The user terminal completes bearer establishment to the data gateway. The address of the selected data gateway (for the handover across the access network and the data gateway that is accessing the service) and the mobility management protocol type (and possibly the mobility management protocol capability of the data gateway) are stored in the mobility. Management context. The APN and its mobility management protocol capabilities that users are allowed to access when accessing the local mobility management entity in the user subscription information are also stored in mobility. Management context.
步骤 810: 数据网关可将自己的地址、 移动性管理协议能力和 / 或用户连接正在访问的数据网关时使用的移动性管理协议存储到共 用核心控制实体。 该步骤为可选步骤。  Step 810: The data gateway may store its own address, mobility management protocol capabilities, and/or the mobility management protocol used by the user to connect to the data gateway being accessed to the shared core control entity. This step is an optional step.
对于 3GPP接入网络内部的切换, 载建立完成后, 目标移动性 管理实体将从用户移动性管理上下文中获得用户正在访问业务的数 据网关的地址、 其移动性管理协议能力和 /或用户连接正在访问的数 据网关时使用的移动性管理协议、源移动性管理实体在用户接入时允 许访问的 APN及 APN的移动性管理协议能力存到共用核心控制实体 上。  For handover within the 3GPP access network, after the bearer is established, the target mobility management entity will obtain the address of the data gateway from which the user is accessing the service, its mobility management protocol capabilities, and/or the user connection from the user mobility management context. The mobility management protocol used by the accessed data gateway and the mobility management protocol capability of the APN and APN that the source mobility management entity allows to access when the user accesses are stored on the shared core control entity.
本发明实施例提供了另一种使用 APN和 APN的移动性管理协议 能力对应表选择网关的方法, 该方法描述了用户终端从非 3GPP接入 网初始接入或从其他类型的接入网切换到非 3GPP接入网时, 数据网 关、 本地服务网关和移动性管理协议的选择过程。 用户漫游时, 数据 网关和本地服务网关可位于不同的运营商网络,或者不一定会使用本 地服务网关。 本实施例的方法同样适用于同种非 3GPP接入网的内部 切换。 如图 9所示为本发明实施例二的流程示意图, 该流程包括: 步骤 901: 用户终端接入接入控制功能实体。  An embodiment of the present invention provides another method for selecting a gateway by using a mobility management protocol capability correspondence table of an APN and an APN, where the method describes that a user terminal initially accesses from a non-3GPP access network or switches from another type of access network. The selection process of the data gateway, the local service gateway, and the mobility management protocol when going to the non-3GPP access network. When the user roams, the data gateway and the local service gateway can be located on different carrier networks or not necessarily using the local service gateway. The method of this embodiment is also applicable to internal handover of the same non-3GPP access network. FIG. 9 is a schematic flowchart of Embodiment 2 of the present invention, where the process includes: Step 901: A user terminal accesses an access control function entity.
步骤 902:本地核心控制实体向共用核心控制实体请求用户信息, 该消息可以携带在其他消息中发送, 或者单独发送。 该步骤为可选步 骤。  Step 902: The local core control entity requests user information from the shared core control entity, and the message may be carried in other messages, or sent separately. This step is optional.
步骤 903: 共用核心控制实体向网络配置数据库查询用户信息中 APN的移动性管理协议能力, 该步骤为可选步骤。  Step 903: The shared core control entity queries the network configuration database for the mobility management protocol capability of the APN in the user information. This step is an optional step.
步骤 904: 共用核心控制实体向本地核心控制实体回复用户信息 或用于签约信息,若进行了步骤 903的查询(或签约信息中就有 APN 的移动性管理协议能力 ), 则该消息中还可以携带 APN和该 APN移 动性管理协议能力对应表。 对于跨接入网类型的切换(或漫游), 该 回复消息还可以携带存储在共用核心控制实体或归属地核心控制实 体中的用户正在进行业务访问的数据网关的 IP地址及该数据网关的 移动性管理协议能力, 和 /或用户连接此正在访问的数据网关地址时 使用的移动性管理协议。 Step 904: The shared core control entity replies to the local core control entity with the user information or for the subscription information. If the query of step 903 is performed (or the subscription information has the APN mobility management protocol capability), the message may also be The APN and the APN mobility management protocol capability correspondence table are carried. For the handover (or roaming) across the access network type, the reply message may also carry the IP address of the data gateway that the user stored in the shared core control entity or the home core control entity is accessing the service and the data gateway. Mobility management protocol capabilities, and/or mobility management protocols used by users when connecting to the data gateway address being accessed.
步骤 905: 若没有进行步骤 903的查询, 则本地核心控制实体向 网络配置数据库查询用户信息中 APN的移动性管理协议能力。  Step 905: If the query of step 903 is not performed, the local core control entity queries the network configuration database for the mobility management protocol capability of the APN in the user information.
步骤 906: 本地核心控制实体根据预置策略进行相关选择, 即若 用户终端初始接入网络,则考虑网络配置情况、本地策略、漫游协议、 用户签约以及用户信息中 APN的移动性管理协议能力, 选择用户接 入核心网访问业务的方式(在归属地时通过网关间接口 3方式直接访 问, 在漫游时还可以通过网关间接口 1-2链的方式访问), 用户能够 访问的 APN (漫游时, 该 APN—般指向归属地网络数据网关, 如果 采用路由优化的业务访问方式,可由接入网接入控制实体分配指向拜 访地数据网关的 APN, 若通过网关间接口 3方式访问, 则只能选择 支持 MIP协议能力的 APN )或者数据网关, 并可选择合适的本地服 务网关 (仅对漫游)。 若用户终端处于漫游地的切换场景, 则本地核 心控制实体还要根据正在进行业务访问的数据网关的移动性管理协 议能力和 /或访问该数据网关正在使用的移动性管理协议选择本地服 务网关。  Step 906: The local core control entity performs related selection according to the preset policy, that is, if the user terminal initially accesses the network, considering the network configuration, the local policy, the roaming protocol, the user subscription, and the mobility management protocol capability of the APN in the user information, Select the mode in which the user accesses the core network to access the service (direct access through the inter-gateway interface 3 in the home location, and through the inter-gateway interface 1-2 chain in the roaming), the APN that the user can access (when roaming) The APN generally points to the home network data gateway. If the route-optimized service access mode is adopted, the access network access control entity may allocate the APN to the visited data gateway, and if accessed through the inter-gateway interface 3, Choose an APN that supports MIP protocol capabilities or a data gateway, and choose the appropriate local service gateway (for roaming only). If the user terminal is in a roaming handover scenario, the local core control entity also selects the local service gateway based on the mobility management protocol capabilities of the data gateway that is in the service access and/or the mobility management protocol being accessed by the data gateway.
该步骤中,用户接入核心网访问业务的方式和漫游时本地服务网 关的选择可能不在本地核心控制实体上进行, 而在接入网网关进行。 这时, 本地核心控制实体把从共用核心控制实体获得的用户 (签约) 信息中的 APN, 用户正在进行业务访问的数据网关的 IP地址及该数 据网关的移动性管理协议能力等信息发送给接入网网关。  In this step, the manner in which the user accesses the core network to access the service and the selection of the local service gateway during roaming may not be performed on the local core control entity but on the access network gateway. At this time, the local core control entity sends the APN in the user (subscription) information obtained from the shared core control entity, the IP address of the data gateway in which the user is accessing the service, and the mobility management protocol capability of the data gateway, etc. Network gateway.
步骤 907: 如果由本地核心控制实体选择用户能够访问的 APN 或者数据网关, 则对于初始接入, 本地核心控制实体可以使用上述选 择的用户可以使用的 APN向 DNS Server查询数据网关地址, 并进一 步选择数据网关。如果这里使用的对应表是采用前述方案三中对应表 的实现方式, 则本地核心控制实体还要组成 FQDN , 用于 DNS查询; 或者如果步骤 904或步骤 905中获取的移动性管理协议能力对应表中 包含 FQDN—列,则本地核心控制实体可以直接用该 FQDN进行 DNS 查询。 Step 907: If the local core control entity selects the APN or the data gateway that the user can access, for the initial access, the local core control entity may query the DNS server for the data gateway address by using the APN that the selected user can use, and further select Data gateway. If the correspondence table used herein is implemented by using the corresponding table in the foregoing solution 3, the local core control entity also needs to form an FQDN for DNS query; or if the mobility management protocol capability correspondence table obtained in step 904 or step 905 is The FQDN-column is included, and the local core control entity can directly use the FQDN for DNS. Inquire.
步骤 908: 本地核心控制实体向接入网网关发送消息, 该消息携 带用户信息或用户签约信息中的 APN以及 APN的移动性管理协议能 力对应表和 /或本地可以访问的 APN以及 APN的移动性管理协议能 力, 还可以携带本地核心控制实体所在地允许该用户访问的 APN及 其移动性管理协议能力,如果由本地核心控制实体选择用户能够访问 的 APN或者数据网关, 并进行了步骤 907的查询, 则该消息还可以 携带选择的数据网关的 IP地址(或 IP地址列表)、 该数据网关的移 动性管理协议能力和 /或选择的移动性管理协议。 对于跨接入网类型 的切换, 该消息中还可以携带从共用核心控制实体中获得(或本地核 心控制实体存储)的用户正在进行业务访问的数据网关地址及移动性 管理协议能力和 /或用户连接此正在访问的数据网关地址时使用的移 动性管理协议。  Step 908: The local core control entity sends a message to the access network gateway, where the message carries the APN of the user information or the user subscription information, the mobility management protocol capability correspondence table of the APN, and/or the locally accessible APN and the mobility of the APN. The management protocol capability may also carry the APN and the mobility management protocol capability of the local core control entity to allow the user to access. If the local core control entity selects the APN or data gateway that the user can access, and performs the query of step 907, The message may also carry the IP address (or list of IP addresses) of the selected data gateway, the mobility management protocol capabilities of the data gateway, and/or the selected mobility management protocol. For the handover of the access network type, the message may also carry the data gateway address and the mobility management protocol capability and/or the user who is accessing the service from the shared core control entity (or the local core control entity storage). The mobility management protocol used when connecting to the data gateway address being accessed.
如果用户使用网关间接口 1-2链的方式漫游, 且本地核心控制实 体选择了本地服务网关,则此步骤中发送的消息还可以携带本地服务 网关地址, 还可以包括本地服务网关的移动性管理协议能力。  If the user roams in the way of the inter-gateway interface 1-2 chain, and the local core control entity selects the local service gateway, the message sent in this step may also carry the local service gateway address, and may also include the mobility management of the local service gateway. Protocol capability.
步骤 909: 如果没有进行步骤 903或步骤 905的查询, 则该步骤 中接入网网关可以查询用户信息中 APN的移动性管理协议能力。  Step 909: If the query in step 903 or step 905 is not performed, the access network gateway in the step may query the mobility management protocol capability of the APN in the user information.
如果步骤 906中本地核心控制实体不进行相关选择,则接入网网 关根据预置策略进行相关选择, 即若用户终端是初始接入网络, 则考 虑网络配置情况、 本地策略、 漫游协议、 用户签约、 用户信息中 APN 的移动性管理协议能力选择用户接入核心网访问业务的方式(在归属 地时, 通过网关间接口 3方式, 在漫游地时, 还可以通过网关间接口 1-2链的方式), 用户能够访问的 APN (通过网关间接口 3方式访问 时, 只能选择支持移动 IP协议能力的 APN )或者数据网关, 并可选 择合适的本地服务网关(仅对漫游)。 若终端处于漫游地的切换状态, 则接入网网关还要根据正在进行业务访问的数据网关的移动性管理 协议能力和 /或用户连接此正在访问的数据网关地址时使用的移动性 管理协议选择本地服务网关。 步骤 910: 如果没有进行步骤 907的查询, 并且由接入网网关选 择数据网关, 则接入网网关使用步骤 909 中选择的用户可以使用的 APN向 DNS Server查询数据网关地址, 并进一步选择数据网关。 如 果使用前述方案二中对应表的实现方法, 则接入网网关还要组成 FQDN, 用于 DNS查询, 或者在步骤 908中获取的 APN和 APN的 移动性管理协议能力对应表中含有 FQDN,则接入网网关可以直接使 用该 FQDN来进行 DNS查询。 If the local core control entity does not perform related selection in step 906, the access network gateway performs related selection according to the preset policy, that is, if the user terminal is the initial access network, consider the network configuration, the local policy, the roaming protocol, and the user subscription. The APN mobility management protocol capability in the user information selects the mode in which the user accesses the core network to access the service (at the home location, through the gateway interface 3 mode, when roaming, the gateway interface 1-2 chain Mode), the APN that the user can access (only access to the APN supporting mobile IP protocol capability when accessing through the inter-gateway interface 3) or the data gateway, and the appropriate local service gateway (only for roaming) can be selected. If the terminal is in the switching state of the roaming place, the access network gateway also selects according to the mobility management protocol capability of the data gateway that is in the service access and/or the mobility management protocol used when the user connects to the data gateway address being accessed. Local service gateway. Step 910: If the query of step 907 is not performed, and the data gateway is selected by the access network gateway, the access network gateway queries the DNS server for the data gateway address by using the APN that the user selected in step 909 can use, and further selects the data gateway. . If the implementation method of the corresponding table in the foregoing solution 2 is used, the access network gateway also needs to form an FQDN for the DNS query, or the APN and the APN mobility management protocol capability correspondence table obtained in step 908 include the FQDN. The access network gateway can directly use the FQDN for DNS query.
如果用户漫游,确定用户接入核心网访问业务的方式为通过网关 间接口 1-2链的方式, 则包括以下步骤 911-步骤 913。  If the user roams and determines that the user accesses the core network by means of the 1-2 link between the gateways, the following steps 911-step 913 are included.
步骤 911 : 若由拜访地本地核心控制实体选择数据网关, 则拜访 地本地核心控制实体可以将数据网关地址及确定使用的移动性管理 协议发给本地服务网关。 本步骤为可选步骤。  Step 911: If the data gateway is selected by the visited local core control entity, the visited local core control entity may send the data gateway address and the determined mobility management protocol to the local serving gateway. This step is an optional step.
步骤 912: 接入网网关向本地服务网关发起网关间接口 2的承载 建立请求。 如果不进行步骤 911 , 即接入网网关在步骤 908获取了相 发给本地服务网关。  Step 912: The access network gateway initiates a bearer setup request of the interface 2 between the gateways to the local service gateway. If step 911 is not performed, then the access network gateway acquires the local service gateway in step 908.
步骤 913: 本地服务网关在收到接入网关发来的网关间接口 2的 承载建立请求后,通过 911步或 912步获得的数据网关地址及移动性 管理协议指示, 向数据网关发起网关间接口 1的承载建立请求。  Step 913: After receiving the bearer setup request of the interface 2 between the gateways sent by the access gateway, the local service gateway initiates an inter-gateway interface to the data gateway by using the data gateway address obtained by step 911 or step 912 and the mobility management protocol indication. 1 bearer setup request.
步骤 914: 如果确定用户接入核心网访问业务的方式为通过网关 间接口 3链的方式(漫游或非漫游状态), 则接入网网关向数据网关 发起网关间接口 3的承载建立请求。数据网关地址可以是本地核心控 制实体发送的, 也可以是接入网网关自己选择的。  Step 914: If it is determined that the manner in which the user accesses the core network access service is through the inter-gateway interface 3 chain (roaming or non-roaming state), the access network gateway initiates a bearer setup request of the inter-gateway interface 3 to the data gateway. The data gateway address can be sent by the local core control entity or by the access network gateway itself.
步骤 915: 用户终端完成到数据网关的 载建立。 用户终端将选 择好的数据网关(对于跨接入网的切换, 还有正在访问业务的数据网 关 )的地址及选择使用的移动性管理协议类型(可能还包括数据网关 的移动性管理协议能力)存入该接入网的移动性管理上下文。 用户签 约信息中, 用户接入本地的接入网接入控制实体允许访问的 APN, 及其移动性管理协议能力也存入该接入网的移动性管理上下文。此次 用户接入中,允许用户接入核心网访问业务的方式也可以存入接入网 的移动性管理上下文。 Step 915: The user terminal completes the establishment of the data gateway. The user terminal will select the address of the good data gateway (for the handover across the access network, and the data gateway that is accessing the service) and the type of mobility management protocol selected (which may also include the mobility management protocol capability of the data gateway). The mobility management context stored in the access network. In the user subscription information, the APN allowed by the user accessing the local access network access control entity and its mobility management protocol capability are also stored in the mobility management context of the access network. This time In the user access, the manner in which the user is allowed to access the core network to access the service may also be stored in the mobility management context of the access network.
步骤 916: 数据网关可以将自己的地址、 移动性管理协议能力和 /或用户连接正在访问的数据网关时使用的移动性管理协议存储到共 用核心控制实体(或本地核心控制实体, 一般是归属地本地核心控制 实体) 中。 该步骤为可选步骤。  Step 916: The data gateway may store its own address, mobility management protocol capability, and/or mobility management protocol used by the user to connect to the data gateway being accessed to the shared core control entity (or local core control entity, typically the home location) In the local core control entity). This step is an optional step.
如果终端在接入网络之后发起新的业务请求,则该流程还包括以 下步骤:  If the terminal initiates a new service request after accessing the network, the process further includes the following steps:
步骤 917: 用户向接入网网关发送 APN (或 APN列表), 指示要 接入的业务或 PDN;  Step 917: The user sends an APN (or APN list) to the access network gateway, indicating the service or PDN to be accessed;
步骤 918: 接入网网关向本地核心控制实体发送请求, 查询 APN (或 APN列表) 的移动性管理协议能力, 查询消息中还可以携带要 查询的 APN所属的运营商网络 ID、 PDN信息等, 该查询消息可以单 独发送, 也可以携带在其他现有消息中发送;  Step 918: The access network gateway sends a request to the local core control entity to query the mobility management protocol capability of the APN (or APN list), and the query message may also carry the operator network ID and PDN information to which the APN to be queried belongs. The query message may be sent separately or may be carried in other existing messages;
步骤 919: 本地核心控制实体向 DNS Server查询上述 APN (或 APN列表)对应的数据网关的 IP地址。 则所述查询回复消息中还可 以携带所述 APN对应的数据网关的 IP地址, 也可以携带要查询的 APN所属的运营商的网络 ID、 PDN等信息。或者数据网关的 FQDN, 及其移动性管理协议能力和 /或选择的移动性管理协议能力。 本步骤 为可选项。  Step 919: The local core control entity queries the DNS server for the IP address of the data gateway corresponding to the APN (or APN list). The query reply message may further carry the IP address of the data gateway corresponding to the APN, and may also carry information such as the network ID and PDN of the operator to which the APN to be queried belongs. Or the FQDN of the data gateway, its mobility management protocol capabilities and/or the chosen mobility management protocol capabilities. This step is optional.
步骤 920: 本地核心控制实体向接入网网关查询回复消息, 该消 息中携带 APN (或 APN列表) 的移动性管理协议能力对应表。 若进 行了步骤 919, 则该回复消息还可以携带所述查询的 APN对应的数 据网关的 IP地址。  Step 920: The local core control entity queries the access network gateway for a reply message, where the message carries a mobility management protocol capability correspondence table of the APN (or APN list). If the step 919 is performed, the reply message may further carry the IP address of the data gateway corresponding to the APN of the query.
对于非 3GPP接入技术内部的切换, 目标接入网接入控制实体可 能从用户移动性管理上下文中获得正在访问业务的数据网关的地址、 移动性管理协议能力和 /或用户连接此正在访问的数据网关时使用的 移动性管理协议、原接入网接入控制实体在用户接入时用户能够访问 的 APN以及该 APN的移动性管理协议能力。 本发明实施例还提供了一种用于进行网关选择的接入控制功能 实体, 如图 10所示, 该实体包括: 收发单元 1001、 查询单元 1002、 处理单元 1003, 其中, For handover within the non-3GPP access technology, the target access network access control entity may obtain the address of the data gateway that is accessing the service, the mobility management protocol capability, and/or the user connection from the user mobility management context. The mobility management protocol used by the data gateway, the APN that the original access network access control entity can access when the user accesses, and the mobility management protocol capability of the APN. The embodiment of the present invention further provides an access control function entity for performing gateway selection. As shown in FIG. 10, the entity includes: a transceiver unit 1001, a query unit 1002, and a processing unit 1003, where
收发单元 1001 , 用于向本地服务网关或数据网关发送承载建立 请求。  The transceiver unit 1001 is configured to send a bearer setup request to the local service gateway or the data gateway.
查询单元 1002, 用于向共用核心控制实体查询用户信息; 还用 于向网络配置数据库或者本地核心控制实体查询用户信息中 APN的 移动性管理协议能力;还用于向 DNS查询用户信息中的 APN对应的 数据网关的 IP地址; 还用于向 DNS查询用户可用的 APN对应的数 据网关的 IP地址。  The querying unit 1002 is configured to query the shared core control entity for the user information; and is further configured to query the network configuration database or the local core control entity for the mobility management protocol capability of the APN in the user information; and further, query the DNS for the APN in the user information. The IP address of the corresponding data gateway; also used to query the DNS for the IP address of the data gateway corresponding to the APN available to the user.
处理单元 1003, 用于根据查询单元 1002获取的 APN和 APN的 移动性管理协议能力选择数据网关、 用户可用的 APN、 本地服务网 关、 用户接入核心网访问业务方式中的任意一个; 还用于根据 APN 和 APN的移动性管理协议能力组成 FQDN,用于向收发单元 1001发 送指令消息,该指令消息指示发送单元向处理单元选择的数据网关或 本地服务网关发送承载建立请求。  The processing unit 1003 is configured to select, according to the mobility management protocol capability of the APN and the APN acquired by the query unit 1002, any one of a data gateway, an APN available to the user, a local service gateway, and a user access core network access service mode; The FQDN is configured according to the mobility management protocol capability of the APN and the APN, and is used to send an instruction message to the transceiver unit 1001, where the instruction message instructs the sending unit to send a bearer setup request to the data gateway or the local serving gateway selected by the processing unit.
上述接入控制功能实体在非 3GPP网络中时, 可以为归属地的本 地核心控制实体和非 3GPP接入网网关共同组成, 或者是在拜访地由 拜访地本地核心控制实体与非 3GPP接入网网关共同组成。 当接入控 制功能实体由两种实体组成时, 这两种实体都具有上述功能单元, 并 具有相同的功能。并且接入网网关的查询单元还可以用于向本地核心 控制实体查询用户发送的 APN的移动性管理协议能力; 本地核心控 制实体的收发单元还用于向接入网网关发送上述 APN的移动性管理 协议能力和 /或所述 APN对应的数据网关的 IP地址。  When the access control function entity is in a non-3GPP network, it may be composed of a local core control entity of the home location and a non-3GPP access network gateway, or may be visited by the local core control entity and the non-3GPP access network. The gateway is composed of. When an access control function entity consists of two entities, both entities have the above functional units and have the same function. And the query unit of the access network gateway is further configured to query the local core control entity for the mobility management protocol capability of the APN sent by the user; the transceiver unit of the local core control entity is further configured to send the mobility of the APN to the access network gateway. Management protocol capability and/or IP address of the data gateway corresponding to the APN.
以上是对本发明实施例提供的一种网关选择的方法和装置的具 体实施例的描述,包括 APN和 APN移动性管理协议能力对应关系的 实现方法, 包括通过 APN结构、 增加指示, 或者建立对应关系表, 构造 FQDN, 以及在终端接入或切换过程中, 利用上述对应关系进行 网关(包括数据网关、 本地服务网关)选择的方法, 使得支持不同的 移动性管理协议的数据网网关都可以配置连接到相同的 PDN上。 不 同接入技术的终端, 支持不同移动性管理协议的接入网, 在漫游和非 漫游场景下都可以灵活的选择合适的数据网关和本地服务网关,以及 移动性管理协议访问业务。 The foregoing is a description of a specific embodiment of a method and an apparatus for selecting a gateway according to an embodiment of the present invention, including a method for implementing an APN and APN mobility management protocol capability mapping relationship, including adopting an APN structure, adding an indication, or establishing a corresponding relationship. The method of constructing the FQDN, and selecting the gateway (including the data gateway and the local service gateway) by using the above correspondence in the terminal access or handover process, so that the support is different. The data network gateways of the mobility management protocol can be configured to connect to the same PDN. Terminals with different access technologies support access networks with different mobility management protocols. Both roaming and non-roaming scenarios can flexibly select appropriate data gateways and local service gateways, as well as mobility management protocol access services.
以上是对本发明实施例所提供的一种选择网关的方法的详细介 阐述,以上实施例的说明只是用于帮助理解本发明实施例的方法及其 核心思想; 同时, 对于本领域的一般技术人员, 依据本发明实施例的 思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本 说明书内容不应理解为对本发明实施例的限制。  The foregoing is a detailed description of a method for selecting a gateway provided by an embodiment of the present invention. The description of the above embodiment is only for helping to understand the method and core idea of the embodiment of the present invention. Meanwhile, for those skilled in the art. The present invention is not limited to the embodiments of the present invention. The details of the present invention are not limited to the embodiments of the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明, 可以通过硬件实现, 也可以借助软件加必要的通用硬件平 台的方式来实现。基于这样的理解, 本发明的技术方案可以以软件产 品的形式体现出来, 该软件产品可以存储在一个非易失性存储介质 (可以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得 一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执 行本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Claims

权利要求 Rights request
1、 一种网关选择的方法, 其特征在于, 包括: A method for gateway selection, characterized in that it comprises:
接入控制功能实体根据 APN和移动性管理协议能力选择网关并 获取数据网关的地址。  The access control function entity selects the gateway based on the APN and mobility management protocol capabilities and obtains the address of the data gateway.
2、 如权利要求 1所述的方法, 其特征在于, 所述移动性管理协 议能力是所述 APN的移动性管理协议能力,由所述 APN中的移动性 管理协议能力字段指示;  2. The method according to claim 1, wherein the mobility management protocol capability is a mobility management protocol capability of the APN, indicated by a mobility management protocol capability field in the APN;
所述接入控制功能实体根据所述 APN选择网关, 向 DNS Server 查询所述数据网关的地址。  The access control function entity queries the DNS server for the address of the data gateway according to the APN selection gateway.
3、 如权利要求 2所述的方法, 其特征在于, 所述 APN中的移动 性管理协议能力字段是扩展所述 APN中的扩展运营商 ID或网络 ID。  3. The method according to claim 2, wherein the mobility management protocol capability field in the APN is to extend an extended carrier ID or a network ID in the APN.
4、 如权利要求 1所述的方法, 其特征在于, 所述 APN是用户信 息中的 APN, 所述移动性管理协议能力是所述 APN的移动性管理协 议能力, 包含在 APN的移动性管理协议能力对应表中;  The method according to claim 1, wherein the APN is an APN in user information, and the mobility management protocol capability is a mobility management protocol capability of the APN, and is included in mobility management of an APN. Protocol capability correspondence table;
所述方法还包括所述接入控制功能实体接收核心控制实体发送 的用户信息。  The method also includes the access control function entity receiving user information transmitted by the core control entity.
5、 如权利要求 4所述的方法, 其特征在于, 所述用户信息中还 包含以下参数中的任意一个:用户正在进行业务访问的数据网关的 IP 地址、 该数据网关的移动性管理协议能力、 所述用户连接所述数据网 关时使用的移动性管理协议。  The method according to claim 4, wherein the user information further includes any one of the following parameters: an IP address of a data gateway in which the user is accessing the service, and a mobility management protocol capability of the data gateway. a mobility management protocol used by the user to connect to the data gateway.
6、 如权利要求 4或 5所述的方法, 其特征在于, 所述方法还包 括: 所述接入控制功能实体根据方法一或方法二获取 APN的移动性 管理协议能力;  The method according to claim 4 or 5, wherein the method further comprises: the access control function entity acquiring the mobility management protocol capability of the APN according to the method 1 or the method 2;
所述方法一具体为:所述核心控制实体向网络配置数据库查询所 述 APN的移动性管理协议能力,所述用户信息中携带 APN的移动性 管理协议能力对应表;  The method is specifically as follows: the core control entity queries the network configuration database for the mobility management protocol capability of the APN, where the user information carries an APN mobility management protocol capability correspondence table;
所述方法二具体为:所述接入控制功能实体向所述网络配置数据 库查询并获取所述 APN的移动性管理协议能力对应表。 The method 2 is specifically: the access control function entity queries the network configuration database and acquires a mobility management protocol capability correspondence table of the APN.
7、 如权利要求 4-6 中任意一项权利要求所述的方法, 其特征在 于, 所述方法还包括: The method according to any one of claims 4-6, wherein the method further comprises:
所述接入控制功能实体根据预置策略选择用户能够访问的 APN; 所述预置策略包括用户信息中的 APN和 APN的移动性管理协议 能力。  The access control function entity selects an APN that the user can access according to the preset policy; the preset policy includes a mobility management protocol capability of the APN and the APN in the user information.
8、 如权利要求 7所述的方法, 其特征在于, 所述接入控制功能 实体根据 APN和移动性管理协议能力选择网关具体为: 所述接入控 制功能实体根据所述预置策略选择本地服务网关;  The method of claim 7, wherein the access control function entity selects a gateway according to an APN and a mobility management protocol capability, where: the access control function entity selects a local according to the preset policy. Service gateway
所述预置策略还包括所述用户正在进行业务访问的数据网关的 移动性管理协议能力和 /或正在使用的移动性管理协议。  The preset policy also includes mobility management protocol capabilities of the data gateway for which the user is accessing the service and/or mobility management protocol being used.
9、 如权利要求 7所述的方法, 其特征在于, 所述接入控制功能 实体根据 APN 和移动性管理协议能力选择网关具体为选择数据网 关;  The method according to claim 7, wherein the access control function entity selects a data gateway according to an APN and a mobility management protocol capability, specifically selecting a data gateway;
所述获取数据网关的地址具体为:所述接入控制实体根据所述用 户能够访问的 APN和移动性管理协议向 DNS Server查询数据网关的 地址,或者,若所述 APN的移动性管理协议能力对应表中包含 FQDN, 所述接入控制实体根据所述 FQDN向所述 DNS Server查询数据网关 的地址。  The address of the data gateway is specifically: the access control entity queries the DNS server for the address of the data gateway according to the APN and the mobility management protocol that the user can access, or if the mobility management protocol capability of the APN is The correspondence table includes an FQDN, and the access control entity queries the DNS server for the address of the data gateway according to the FQDN.
10、 如权利要求 1所述的方法, 其特征在于, 所述移动性管理协 议能力具体为允许用户使用的移动性管理协议;  10. The method according to claim 1, wherein the mobility management protocol capability is specifically a mobility management protocol that allows a user to use;
所述接入控制功能实体从签约信息中获取所述 APN和所述允许 用户使用的移动性管理协议。  The access control function entity acquires the APN and the mobility management protocol used by the user from the subscription information.
11、 如权利要求 10所述的方法, 其特征在于, 所述签约信息具 体是运营商间签约或用户签约信息。  The method according to claim 10, wherein the subscription information is an inter-operator contract or a user subscription information.
12、 如权利要求 10所述的方法, 其特征在于, 所述接入控制功 能实体选择网关具体为选择数据网关;  The method according to claim 10, wherein the access control function entity selects a gateway to specifically select a data gateway;
所述接入控制功能实体根据所述允许用户使用的移动性管理协 议和所述 APN向 DNS Server查询并获取数据网关的地址。  The access control function entity queries and obtains an address of the data gateway from the DNS server according to the mobility management protocol allowed by the user and the APN.
13、 如权利要求 9或 12所述的方法, 其特征在于, 所述接入控 制功能实体根据所述 APN和移动性管理协议能力选择数据网关之后 还包括: The method according to claim 9 or 12, wherein the access control After the function entity selects the data gateway according to the APN and the mobility management protocol capability, the method further includes:
所述接入控制功能实体向所述本地服务网关发送承载建立请求, 该指示中携带所述数据网关地址和所述使用的移动性管理协议。  The access control function entity sends a bearer setup request to the local serving gateway, where the indication carries the data gateway address and the used mobility management protocol.
14、 如权利要求 9或 12所述的方法, 其特征在于, 所述接入控 制功能实体选择网关之后还包括:  The method according to claim 9 or 12, wherein the access control function entity further includes:
所述接入控制功能实体把所述用户可以访问的或所述用户信息 中的 APN及移动性管理协议能力、 正在访问的数据网关地址、 该数 据网关的移动性管理协议能力、正在使用的移动性管理协议类型中的 任意一项存入移动性管理上下文中。  The access control function entity has access to the APN and mobility management protocol capabilities in the user information, the data gateway address being accessed, the mobility management protocol capability of the data gateway, and the mobile being used. Any of the types of sexual management protocols are stored in the mobility management context.
15、 如权利要求 9或 12所述的方法, 其特征在于, 所述接入控 制功能实体选择网关之后还可以包括:  The method according to claim 9 or 12, wherein the access control function entity may further include:
所述数据网关将自己的地址、移动性管理协议能力、 所述用户连 接正在访问的所述数据网关地址时使用的移动性管理协议中的任意 一个存储到所述共用核心实体。  The data gateway stores any of its own address, mobility management protocol capabilities, and mobility management protocols used by the user to access the data gateway address being accessed to the shared core entity.
16、 如权利要求 9或 12所述的方法, 其特征在于, 若所述接入 控制功能实体位于 3GPP接入网络中, 所述接入控制功能实体选择网 关之后还可以包括: 目标移动管理实体将所述用户正在访问业务的数 据网关的地址、 该数据网关的移动性管理协议能力、 用户连接正在访 问的数据网关时使用的移动性管理协议、原移动管理实体在用户接入 时允许访问的 APN、 该 APN的移动性管理协议能力中的任意一项存 到共用核心控制实体上。  The method according to claim 9 or 12, wherein, if the access control function entity is located in a 3GPP access network, the access control function entity may further include: a target mobility management entity The address of the data gateway that the user is accessing the service, the mobility management protocol capability of the data gateway, the mobility management protocol used when the user connects to the data gateway being accessed, and the original mobility management entity allowing access when the user accesses The APN, any one of the APN's mobility management protocol capabilities is stored on the shared core control entity.
17、 如权利要求 9或 12所述的方法, 其特征在于, 若所述接入 控制功能实体位于非 3GPP接入网络中, 所述接入控制功能实体是本 地核心控制实体, 或者是接入网网关, 或者是本地核心控制实体和接 入网网关的组合。  The method according to claim 9 or 12, wherein if the access control function entity is located in a non-3GPP access network, the access control function entity is a local core control entity, or is accessed. A network gateway, or a combination of a local core control entity and an access network gateway.
18、 如权利要求 17所述的方法, 其特征在于, 所述接入控制功 能实体根据预置策略选择用户能够访问的 APN还包括选择所述用户 接入正在访问的核心网业务的方式。 The method according to claim 17, wherein the selecting, by the access control function entity, the APN that the user can access according to the preset policy further comprises selecting a manner in which the user accesses the core network service that is being accessed.
19、 如权利要求 17所述的方法, 其特征在于, 若所述接入控制 实体是本地核心控制实体和接入网网关的组合,且所述本地核心控制 实体从核心实体接收用户信息中的 APN以及该 APN的移动性管理协 议能力对应表, 所述方法还包括步骤: 所述本地核心控制实体向所述 接入网网关发送消息, 该消息携带所述用户信息中的 APN及该 APN 的移动性管理协议能力对应表。 The method according to claim 17, wherein if the access control entity is a combination of a local core control entity and an access network gateway, and the local core control entity receives the user information from the core entity. The APN and the mobility management protocol capability correspondence table of the APN, the method further includes the following steps: the local core control entity sends a message to the access network gateway, where the message carries the APN in the user information and the APN Mobility Management Protocol Capability Correspondence Table.
20、 如权利要求 19所述的方法, 其特征在于, 若由所述本地核 心控制实体选择本地服务网关,所述本地核心控制实体向接入网网关 发送的消息还包括本地服务网关地址和 /或所述本地服务网关的移动 性管理协议能力。  The method according to claim 19, wherein if the local serving gateway selects the local serving gateway, the message sent by the local core control entity to the access network gateway further includes a local serving gateway address and/or Or the mobility management protocol capability of the local service gateway.
21、 如权利要求 19所述的方法, 其特征在于, 若由所述本地核 心控制实体选择所述用户能够访问的 APN, 所述本地核心控制实体 发送的消息还携带以下参数中的任意组合:所述用户能够访问的 APN 对应的数据网关的 IP地址、 所述本地核心控制实体所在地允许所述 用户访问的 APN 以及移动性管理协议能力、 所述用户能够访问的 APN、 该 APN的移动性管理协议能力、 选择的数据网关的 IP地址、 该数据网关的移动性管理协议能力、 选择的移动性管理协议。  The method according to claim 19, wherein if the local core control entity selects an APN that the user can access, the message sent by the local core control entity further carries any combination of the following parameters: The IP address of the data gateway corresponding to the APN that the user can access, the APN that the local core control entity is allowed to access by the user, and the mobility management protocol capability, the APN that the user can access, and the mobility management of the APN Protocol capabilities, the IP address of the selected data gateway, the mobility management protocol capabilities of the data gateway, and the selected mobility management protocol.
22、 如权利要求 19-21中任意一项权利要求所述的方法, 其特征 在于, 所述方法还包括:  The method according to any one of claims 19 to 21, wherein the method further comprises:
所述接入网网关接收终端发送的 APN;  The access network gateway receives an APN sent by the terminal;
所述接入网网关获取所述 APN和移动性管理协议能力。  The access network gateway acquires the APN and mobility management protocol capabilities.
23、 如权利要求 22所述的方法, 其特征在于, 所述移动性管理 协议能力为 APN的移动性管理协议能力, 所述接入网网关获取所述 APN的移动性管理协议能力具体为:  The method of claim 22, wherein the mobility management protocol capability is a mobility management protocol capability of the APN, and the access network gateway obtains the mobility management protocol capability of the APN as follows:
所述接入网网关向本地核心控制实体或网络数据库查询并获取 所述 APN的移动性管理协议能力。  The access network gateway queries and acquires the mobility management protocol capability of the APN from the local core control entity or the network database.
24、 如权利要求 23所述的方法, 其特征在于, 所述接入网网关 获取所述 APN的移动性管理协议能力还包括获取所述 APN对应的数 据网关的 IP地址, 具体为: 所述本地核心控制实体或网络数据库根据所述 APN 查询 DNS Sever并获取所述 APN对应的数据网关的 IP地址; The method of claim 23, wherein the obtaining, by the access network gateway, the mobility management protocol capability of the APN further comprises acquiring an IP address of the data gateway corresponding to the APN, specifically: The local core control entity or the network database queries the DNS Sever according to the APN and acquires the IP address of the data gateway corresponding to the APN;
所述本地核心控制实体或网络数据库向所述接入网网关发送所 述 APN的移动性管理协议能力以及所述 APN对应的数据网关的 IP 地址。  The local core control entity or network database sends the mobility management protocol capability of the APN and the IP address of the data gateway corresponding to the APN to the access network gateway.
25、 如权利要求 24所述的方法, 其特征在于, 所述本地核心控 制实体或网络数据库查询所述数据网关的 IP地址具体为:  The method of claim 24, wherein the local core control entity or the network database queries the IP address of the data gateway:
所述本地核心控制实体或网络数据库根据所述 APN和所述 APN 对应的移动性管理协议能力向查询 DNS Server并获取所述数据网关 的 IP地址;  The local core control entity or the network database queries the DNS server according to the mobility management protocol capability corresponding to the APN and the APN, and acquires an IP address of the data gateway;
或者, 所述本地核心控制实体或网络数据库根据所述 APN和该 APN的移动性管理协议能力对应表中的 FQDN向所述 DNS Server查 询所述数据网关的地址。  Alternatively, the local core control entity or the network database queries the DNS server for the address of the data gateway according to the FQDN in the APN and the mobility management protocol capability correspondence table of the APN.
26、 如权利要求 22所述的方法, 其特征在于, 所述移动性管理 协议能力为允许用户使用的移动性管理协议, 所述方法还包括: 所述 接入网网关根据所述 APN和所述允许用户使用的移动性管理协议查 询 DNS Server并获取数据网关的 IP地址。  The method of claim 22, wherein the mobility management protocol capability is a mobility management protocol that allows a user to use, the method further comprising: the access network gateway according to the APN and the The mobility management protocol that allows the user to query the DNS Server and obtain the IP address of the data gateway.
27、 如权利要求 25-26中任意一项权利要求所述的方法, 其特征 在于, 所述网络数据库和 DNS Server位于同一个实体上。  The method according to any one of claims 25-26, wherein the network database and the DNS Server are located on the same entity.
28、 一种用于网关选择的装置, 其特征在于, 包括: 收发单元、 查询单元、 处理单元, 其中:  28. A device for gateway selection, comprising: a transceiver unit, a query unit, and a processing unit, wherein:
收发单元, 用于向本地服务网关或数据网关发送承载建立请求; 查询单元, 用于向共用核心控制实体查询用户信息, 还用于向网 络配置数据库或者本地核心控制实体查询用户信息中 APN的移动性 管理协议能力,还用于向 DNS Server查询用户信息中的 APN对应的 数据网关的 IP地址, 还用于向 DNS Server查询用户可用的 APN对 应的数据网关的 IP地址;  a transceiver unit, configured to send a bearer setup request to the local service gateway or the data gateway; the query unit is configured to query the shared core control entity for user information, and is further configured to query the network configuration database or the local core control entity to query the movement of the APN in the user information. The STP is also used to query the DNS server for the IP address of the data gateway corresponding to the APN in the user information, and is also used to query the DNS server for the IP address of the data gateway corresponding to the APN available to the user.
处理单元,用于根据所述查询单元获取的 APN和所述 APN的移 动性管理协议能力选择数据网关、 用户可用的 APN、 本地服务网关、 用户接入核心网访问业务方式中的任意一个, 还用于使用 APN和移 动性管理协议能力组成 FQDN, 用于向收发单元发送指令消息, 该指 令消息指示所述收发单元向所述处理单元选择的数据网关或本地服 务网关发送 载建立请求。 a processing unit, configured to select, according to the APN acquired by the query unit and the mobility management protocol capability of the APN, a data gateway, an APN available to the user, a local service gateway, The user accesses the core network access service mode, and is further configured to use an APN and a mobility management protocol capability to form an FQDN, configured to send an instruction message to the transceiver unit, where the instruction message instructs the transceiver unit to select the processing unit The data gateway or local service gateway sends a setup request.
29、 如权利要求 28所述的装置, 其特征在于, 所述装置为 3GPP 接入网中的 MME或 SGSN, 或者是非 3GPP接入网中的归属地本地 核心控制实体 AAA Server或 AAA Proxy, 或者是非 3GPP接入网网 关, 或者是非 3GPP网络中的归属地的本地核心控制实体, 或者是非 3GPP网络中的拜访地由拜访地本地核心控制实体。  The device according to claim 28, wherein the device is an MME or an SGSN in a 3GPP access network, or a home local control entity AAA Server or AAA Proxy in a non-3GPP access network, or It is a non-3GPP access network gateway, or a local core control entity of a home location in a non-3GPP network, or a visited local core control entity in a non-3GPP network.
30、 如权利要求 29所述的装置, 其特征在于, 若所述装置为非 3GPP接入网网关时, 则所述查询单元还用于向本地核心控制实体查 询用户发送的 APN的移动性管理协议能力。  The device according to claim 29, wherein, if the device is a non-3GPP access network gateway, the query unit is further configured to query the local core control entity for mobility management of the APN sent by the user. Protocol capability.
31、 如权利要求 29所述的装置, 其特征在于, 若所述装置为本 地核心控制实体,则所述收发单元还用于向接入网网关发送用户发送 的 APN的移动性管理协议能力和 /或所述 APN对应的数据网关的 IP 地址。  The device according to claim 29, wherein, if the device is a local core control entity, the transceiver unit is further configured to send a mobility management protocol capability of the APN sent by the user to the access network gateway. / or the IP address of the data gateway corresponding to the APN.
PCT/CN2008/073553 2008-01-07 2008-12-17 Method for selecting gateway WO2009092237A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200810065159.6 2008-01-07
CN200810065159 2008-01-07
CN200810087916.X 2008-03-19
CN200810087916XA CN101483585B (en) 2008-01-07 2008-03-19 Method for gateway selection

Publications (1)

Publication Number Publication Date
WO2009092237A1 true WO2009092237A1 (en) 2009-07-30

Family

ID=40880525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073553 WO2009092237A1 (en) 2008-01-07 2008-12-17 Method for selecting gateway

Country Status (2)

Country Link
CN (2) CN101483585B (en)
WO (1) WO2009092237A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113987A1 (en) * 2015-12-29 2017-07-06 中兴通讯股份有限公司 Data gateway selection method and device, and mobility management entity

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036219B (en) * 2009-09-30 2016-08-03 中兴通讯股份有限公司 The sending method of local connection information and device
CN102056321B (en) 2009-10-30 2014-07-02 中兴通讯股份有限公司 Method and system for realizing local access
CN102056137B (en) * 2009-11-04 2014-06-11 中兴通讯股份有限公司 Method and system for acquiring local gateway selection information
CN102056129A (en) * 2009-11-05 2011-05-11 中兴通讯股份有限公司 Establishing method and device of local Internet protocol (IP) access connection
CN102056138B (en) * 2009-11-05 2016-08-03 中兴通讯股份有限公司 The management method of local IP access connection and device
CN102111458A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Method and device for obtaining IP address of mobile terminal
CN102469560B (en) * 2010-11-04 2014-07-16 大唐移动通信设备有限公司 Method of selecting wireless access gateway for access equipment and equipment thereof
CN102480714B (en) * 2010-11-25 2014-12-31 中兴通讯股份有限公司 Method for inquiring gateway and system thereof
CN102752830B (en) * 2011-04-20 2017-04-12 中兴通讯股份有限公司 Selection method, implementing device and system for gateways
CN103581351B (en) * 2012-07-27 2019-07-12 腾讯科技(深圳)有限公司 The method and apparatus of network access
CN103973569B (en) * 2013-01-28 2017-04-26 华为技术有限公司 Data message forwarding method, customer premises equipment and system
EP2983414B1 (en) 2013-05-14 2018-01-31 Huawei Technologies Co., Ltd. Method, device and system for processing data service under roaming scenario
DE112016004567T5 (en) 2015-10-06 2018-07-05 Intel IP Corporation DUAL RADIO BETWEEN ACCESS SYSTEMS USING 3GPP RADIO ACCESS TECHNOLOGY
WO2017124003A1 (en) 2016-01-15 2017-07-20 Idac Holdings, Inc. Mobility management for next generation mobile network
CN106973415B (en) * 2017-03-07 2019-09-20 中国联合网络通信集团有限公司 A kind of method and device obtaining PGW FQDN
CN110995783B (en) * 2019-11-05 2022-08-23 河北寰亚泵业股份有限公司 Remote monitoring system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620838A (en) * 2002-01-08 2005-05-25 诺基亚公司 Selecting GGSN in shared mobile network
WO2006095994A1 (en) * 2005-03-07 2006-09-14 Lg Electronics Inc. Providing mobility management protocol information to a mobile terminal for performing handover in a mobile communication system
CN1852304A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method for selecting gateway general packet wireless service support node

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006010382A1 (en) * 2004-07-30 2006-02-02 Telecom Italia S.P.A. Method and system for controlling operation of a communication network, related network and computer program product therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620838A (en) * 2002-01-08 2005-05-25 诺基亚公司 Selecting GGSN in shared mobile network
WO2006095994A1 (en) * 2005-03-07 2006-09-14 Lg Electronics Inc. Providing mobility management protocol information to a mobile terminal for performing handover in a mobile communication system
CN1852304A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method for selecting gateway general packet wireless service support node

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113987A1 (en) * 2015-12-29 2017-07-06 中兴通讯股份有限公司 Data gateway selection method and device, and mobility management entity

Also Published As

Publication number Publication date
CN102307340A (en) 2012-01-04
CN101483585B (en) 2011-09-14
CN101483585A (en) 2009-07-15
CN102307340B (en) 2014-07-30

Similar Documents

Publication Publication Date Title
WO2009092237A1 (en) Method for selecting gateway
US9402175B2 (en) Selection of roaming gateway
EP3599788B1 (en) Method and apparatus for communicating via a gateway
JP5010673B2 (en) Mobile terminal sleep state and service activation
JP5044020B2 (en) Method, system and apparatus for supporting addressing of user static IP address in LTE system
US7733824B2 (en) Fixed access point for a terminal device
JP4992308B2 (en) Communication system, operation control method, location management server, and program
EP2169849B1 (en) Access network switching method, anchor management device, and mobile accessing device
US20110007748A1 (en) Method, system and apparatus for optimizing routes
TWI388165B (en) Wireless communication system and routing method for packet switching service, femto ap using the routing method
WO2014121760A1 (en) Method and device for selecting network apparatus during switching
JP2012209962A (en) Method and apparatus for resource management in handover operation
JP2005525711A (en) Managing packet data interconnection in mobile communications
WO2009094916A1 (en) A control method, system, and device for circuit domain fallback
WO2019242731A1 (en) Method and device for data processing
WO2008151544A1 (en) Method, apparatus and system for establishing bearer connection
JP2003511982A (en) Wide area network mobility for IP-based networks
WO2007147345A1 (en) A method for selecting the user plane entity in network side and the control plane entity
WO2010000174A1 (en) Registration, communication and handover methods for mobile node and the devices thereof
WO2008022597A1 (en) Method and device for terminal handover, method and device for getting address of origin access entity
WO2009155823A1 (en) Method, apparatus and system for selecting gateway
JP2004304476A (en) Software, method and apparatus for voice communication
RU2522683C2 (en) Message transmission method and serving gprs support node
CN115529294B (en) Service processing method, device, equipment and storage medium
WO2009097720A1 (en) A method and an apparatus for discovering home link in mip

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

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

Country of ref document: EP

Kind code of ref document: A1