WO2010121495A1 - Method and system for assigning internet protocol address - Google Patents

Method and system for assigning internet protocol address Download PDF

Info

Publication number
WO2010121495A1
WO2010121495A1 PCT/CN2010/000559 CN2010000559W WO2010121495A1 WO 2010121495 A1 WO2010121495 A1 WO 2010121495A1 CN 2010000559 W CN2010000559 W CN 2010000559W WO 2010121495 A1 WO2010121495 A1 WO 2010121495A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
local network
type
base station
ipv6
Prior art date
Application number
PCT/CN2010/000559
Other languages
French (fr)
Chinese (zh)
Inventor
熊春山
艾明
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2010121495A1 publication Critical patent/WO2010121495A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an Internet Protocol (IP) address allocation method and system.
  • IP Internet Protocol
  • IPv4 In the Evolved Packet System (EPS), version 4 of the Internet Protocol (IPv4) and version 6 of the Internet Protocol (IPv6) are supported.
  • IPv4 In the Evolved Packet System (EPS), version 4 of the Internet Protocol (IPv4) and version 6 of the Internet Protocol (IPv6) are supported.
  • a scheme for a user equipment (UE) to obtain an IP address in the prior art includes:
  • the UE initiates establishment of a PDN connection of the SGi interface or the Gi interface;
  • the UE sends the type information of the IP address that is requested to be allocated to the network side, that is, the UE requests the network side to allocate an IPv4 address and/or an IPv6 address.
  • the network-side user mobility control management entity may further modify the type information of the IP address that the UE requests to allocate according to the subscription data of the UE and the configuration of the network.
  • PDN GW Packet Data Network Gateway
  • GPRS General Packet Radio Service
  • GGSN GPRS support node
  • IPv4v6 The types of IP addresses that the UE requests to be allocated are classified into three types: IPv4, IPv6, version 4, and version 6 Internet Protocol (IPv4v6).
  • IPv4v6 When the type of the IP address requested by the UE is IPv4v6, due to the PDN GW or GGSN IPv4v6 may not be supported, and only IPv4 or IPv6 addresses may be assigned to the UE, and the UE may be requested to apply for another version of the IP address again.
  • the bearer is associated with both an IPv4 address and an IPv6 address.
  • the bearer can only be associated with one IPv4 address.
  • the bearer can be associated with only one IPv6 address.
  • the type information of the IP address to be requested is set to IPv4v6;
  • the type information of the IP address to be assigned is set to IPv4; if the UE has only IPv6 capability, the type information of the IP address to be requested is set to IPv6.
  • the bearer established by the UE is to use the SGi or Gi interface, because the type of the IP address allocated to the UE can be determined only by the PDN GW or the GGSN, and the UE is assigned the IP address of the type.
  • the current 3GPP specification puts new demands on the version 9 (R9) home base station (Home eNodeB or Home NodeB) in the TS22.220 standard, indicating that IP-capable UEs should be able to support IP capabilities through home base stations and homes.
  • the devices are connected to each other, and in the home network, the PDN GW or GGSN in the core network is not used, so the UE cannot be assigned an IP address.
  • An embodiment of the present invention provides an IP address allocation method and system for determining, by a user mobility control management entity, a type of an IP address allocated by a local network for a UE in a local network without a PDN GW and a GGSN in a core network. And assign the UE an IP address of this type.
  • the information of the local network that the user mobility control management entity requests to access according to the user equipment UE The home base station accesses the local network by establishing a radio bearer of the local network for the UE; the user mobility control management entity determines the type of the IP address allocated by the local network for the UE, and instructs the UE to obtain the information from the home base station. IP address of this type;
  • the home base station allocates an IP address according to the request sent by the UE, and allocates an IP address to the UE.
  • An apparatus for controlling an Internet Protocol IP address allocation includes: an access local network indication unit, configured to indicate, according to information of a local network that the user equipment UE requests to access, to indicate that the home base station establishes a local network for the UE Radio bearer, accessing the UE to the local network;
  • An IP address type determining unit configured to determine a type of an IP address allocated by the local network to the UE, and an IP address obtaining indication unit, configured to instruct the UE to acquire, from the home base station, an IP address of the type determined by the IP address type determining unit for the UE .
  • a bearer establishing unit configured to establish, according to an indication sent by the user mobility control management entity, a bearer of the local network for the user equipment UE, to establish a radio bearer of the local network for the UE;
  • a receiving requesting unit configured to receive a message that is sent by the UE to request an Internet Protocol ⁇ >address
  • an IP address allocating unit configured to allocate an IP address according to the request sent by the UE, and allocate an IP address to the UE.
  • the user mobility control management entity is configured to: according to the information of the local network that the user equipment UE requests to access, instruct the home base station to establish the radio bearer of the local network for the UE, and access the local network to the local network;
  • the home base station is configured to establish, according to the user mobility control management entity, an indication of establishing a bearer of the local network for the UE, establish a wireless bearer of the local network for the UE, and allocate an IP address message according to the request sent by the UE, where The UE allocates an IP address.
  • a letter for a local network requesting access by the user equipment The information is sent to the home base station, and accesses the local network by using the radio bearer of the local network established by the home base station for the user equipment;
  • An IP address type obtaining unit configured to receive an indication of a user mobility control management entity, and obtain, from the medium network type, an IP address type assigned by the local network determined by the user mobility control management entity to the user equipment;
  • the IP address obtaining unit is configured to acquire the IP address of the type from the home base station.
  • the user mobility control management entity instructs the home base station to access the local network by establishing a wireless bearer of the local network for the UE according to the information of the local network that the user equipment UE requests to access; the user mobility control management entity determines the local The type of the IP address assigned by the network to the UE, and instructing the UE to obtain the IP address of the type from the home base station, and instructing the home base station to allocate an IP address according to the request sent by the UE, and assigning an IP address to the UE.
  • the user mobility control management entity instructs the home base station to establish the radio bearer of the local network for the UE, and access the local network to the local network;
  • the entity determines the type of the IP address assigned by the local network to the UE, and instructs the UE to obtain the IP address of the type from the home base station;
  • the home base station allocates an IP address according to the request sent by the UE, and allocates an IP address to the UE, thereby In the case where there is no PDN GW or GGSN in the core network in the local network, the IP address can be allocated to the UE through the home base station.
  • FIG. 1 is a schematic diagram of a UE accessing a mobile operator network and a local network through a home base station according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of an IP address allocation method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a UE Requested PDN Connectivity process according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an Attach process according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an Activate PDP Context process according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a communication system according to an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides an IP address allocation method and system for determining, by a user mobility control management entity, a type of an IP address allocated by a local network for a UE in a local network that does not use a PDN GW or a GGSN, and is a UE. Assign this type of IP address.
  • the user mobility control management entity described in the embodiment of the present invention is an MME or an SGSN.
  • the IP-capable UE can access the mobile operator network (Mobile Operators Core network) through the home base station.
  • the IP-capable UE can also support the IP capability through the home base station and the home.
  • the devices are connected to each other, that is, to the local network.
  • the embodiment of the present invention proposes In this case, the user mobility control management entity instructs the UE to obtain the corresponding type of IP address from the home base station by using the Internet Engineering Task Force (IETF), that is, through the dynamic host configuration protocol (DHCPv4) of the version 4, And/or assign an IP address to the UE through the IPv6 stateless address self-configuration mode.
  • IETF Internet Engineering Task Force
  • DHCPv4 dynamic host configuration protocol
  • the solution for assigning an IP address to the UE by using the user mobility control management entity is applicable to the case where the UE accesses the local network through the home base station, but the PDN GW in the core network is not used. Or the case where the GGSN assigns an IP address, the same applies.
  • the local network in the embodiment of the present invention refers to a home network or a local Internet (Internet) connected to a home base station.
  • the so-called home network refers to the home network device connected to the home base station, for example: one or more home computers, network printers, network video devices, network cameras, etc., the local local area network formed by these home network devices is the family The internet.
  • the so-called local Internet network refers to the network that can be connected to the Internet connected to the home station. 00559 network.
  • the UE in the embodiment of the present invention can connect not only to the mobile operator network through the home base station, but also to the home network or the local Internet network through the home base station, and when the UE is connected to the home network or the local Internet.
  • the IP address can also be obtained through the MME or the SGSN.
  • the home base station in the embodiment of the present invention includes a common home base station (HNB, Home NodeB) or an evolved home base station (HeNB, Home eNodeB), wherein the HeNB is connected to the MME, and the HNB is connected to the SGSN.
  • HNB Home NodeB
  • HeNB evolved home base station
  • an IP address allocation method provided by an embodiment of the present invention generally includes the following steps:
  • the user mobility control management entity instructs the home base station to connect the UE to the local network by establishing a radio bearer of the local network for the UE according to the information of the local network that the UE requests to access.
  • the user mobility control management entity determines a type of an IP address allocated by the local network to the UE, and instructs the UE to obtain the IP address of the type from the home base station by using an IP address allocation manner defined by the IETF.
  • the home base station allocates an IP address message according to the request sent by the UE, and allocates an IP address to the UE.
  • the step of the user mobility control management entity determining the type of the IP address assigned by the local network to the UE comprises:
  • the user mobility control management entity determines the type of the IP address allocated by the local network for the UE according to the configuration information of the UE and the type of the IP address that the UE requests to allocate and the subscription data of the UE, and may select the IP included in the three parameters.
  • the address type which is the type of IP address assigned to the UE by the local network. Therefore, it is possible for the user mobility control management entity to change the type of IP address that the UE requests to allocate.
  • the UE when the UE obtains an IP address through the UE Requested PDN Connectivity process or the attach procedure, using the MME:
  • IPv4v6 the IP address of the UE's subscription data.
  • IPv4v6 the IP address of the UE's subscription data.
  • IPv4v6 the IP address of the UE's subscription data.
  • the PDN Type is IPv4 (of course, it can also be IPv6), and a cause value is set in the message.
  • the reason value indicates "single address bearers only", that is, the bearer can only be associated with one IP address of the UE.
  • the UE may initiate a PDN Connectivity Request (PDN Connectivity Request) message to obtain another type of IP address, that is, an IPv6 address.
  • PDN Connectivity Request PDN Connectivity Request
  • the MME may set an Activate default EPS bearer context request message or a PDN in the PDN Connectivity Accept message.
  • Type is IPv6.
  • the IP address type requested by the UE through the PDN Connectivity Request message or the Attach Request message is IPv4v6, and the IP address type in the subscription data of the UE is ⁇ > ⁇ 4 ⁇ 6, and the configuration of the UI allows the use of the IPv4v6 address.
  • the MME sets the Activate default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept Accept message in the PDN Type to be IPv4v6.
  • the IP address type requested by the UE by activating the Activate PDP Context Request message is IPv4v6, the IP address type in the subscription data of the UE is IPv4v6, and the configuration of the SGSN only allows the PDP Context to use a single IP address, then the SGSN is set.
  • the PDP Address Type is IPv4 (of course, it can be set to IPv6 first), and a cause value is set.
  • the reason that the PDP Address Type is IPv4 is single address bearers only. Thereafter, the UE The Activate PDP Context Request message can be sent again.
  • the IP address type requested by the UE is IPv6. In this case, the SGSN sets the PDP Address Type in the Activate PDP Context Request message to IPv6.
  • IPv4v6 the IP address type in the subscription data of the UE It is IPv4v6.
  • the configuration of the SGSN allows the PDP Context to use the IPv4v6 address.
  • the SGSN sets the PDP Address Type in the Activate PDP Context Request message to IPv4v6.
  • the step of the MME indicating that the UE obtains the IP address from the home base station by using the IP address allocation manner defined by the IETF includes:
  • the MME indicates, by using the Activate default EPS bearer context request message, or the PDN Connectivity Accept message or the Attach Accept message, that the UE obtains an IP address from the home base station by using an IP address allocation manner defined by the IETF.
  • the MME indicates, by means of an Activate default EPS bearer context request message or a PDN Connectivity Accept message or an Attach Accept message, a packet data network type (PDN Type) and a packet data network address (PDN Address), indicating that the UE is defined by the IETF.
  • the IP address allocation method obtains an IP address from the home base station;
  • the MME determines that the IP address assigned by the local network to the UE is the version 4 Internet Protocol (IPv4) address
  • IPv4 Internet Protocol
  • IPv6 IPv6 Only
  • PDN Address ie 0.0.0.0
  • the MME sets the PDN Type to IPv6 only (IPv6 Only), and assigns the IPv6 interface identifier (Interface Identity) to the UE, sets the IPv6 Interface Identit in the PDN Address, and also needs to include the address prefix (IPv6 Prefix) in the IPv6 address. ) set to all zeros;
  • the MME determines that the DP address assigned by the local network to the UE is the Internet Protocol (IPv4v6) address of version 4 and version 6, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to be zero (ie, 0.0.0.0).
  • IPv6 Interface Identity is assigned to the UE, and the IPv6 Interface Identity is set in the IPv6 address of the PDN Address, and the address prefix (IPv6 Prefix) to be included in the IPv6 address is set to all zeros.
  • the step of the SGSN indicating that the UE obtains the IP address from the home base station by using the IP address allocation manner defined by the IETF includes:
  • the SGSN instructs the UE to obtain an IP address from the home base station in an IP address allocation manner defined by the IETF by activating an Activate PDP Context Accept message.
  • the SGSN instructs the UE to obtain an IP address from the home base station by using an IP address allocation manner defined by the IETF by using a PDP Address Type and a PDP Address in the Activate PDP Context Accept message. ; among them,
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv4 address, the SGSN sets the PDP Address Type to IPv4 only, and sets the PDP Address to zero (ie, 0, 0.0.0);
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv6 address, the SGSN sets the PDP Address Type to IPv6 only, and assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identit in the PDP Address;
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv4v6 address
  • the SGSN sets the PDP Address Type to IPv4v6, and sets the IPv4 address in the PDP Address to be zero (ie, 0.0.0.0), and assigns the IPv6 Interface Identity to the UE.
  • the IPv6 Interface Identity is set in the IPv6 address of the PDP Address.
  • step S103 includes:
  • the home base station allocates an IP address according to the request sent by the UE, and assigns an IP address to the UE through the Dynamic Host Configuration Protocol (DHCPv4) of version 4 and/or the IPv6 Stateless Address Autoconfiguration.
  • DHCPv4 Dynamic Host Configuration Protocol
  • the IP address assigned to the UE by the DHCPv4 is an IPv4 address
  • the IP address assigned to the UE by the IPv6 stateless address self-configuration mode is an IPv6 address.
  • the MME determines that the local network allocates an IPv4 address to the UE, the MME sets the Activate default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept message, the PDN Type is IPv4 Only, and the PDN Address is set to zero (ie, 0.0. 0.0).
  • the UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDN Type and the PDN Address. After completing the PDN connection between the UE and the local network, the UE can obtain the IPv4 address from the home base station by using DHCPv4.
  • the PDN Type is defined together with the PDN Address, as shown in Table 1 below, where the PDNType value (Value) in the octet 3 is the defined PDN. Type, and byte 4 to byte 15 carry the true PDN Address information.
  • byte 4 to byte 11 carry the IPv6 interface identifier
  • bytes 12 to 15 carry the IPv4 address.
  • the steps for the UE to obtain an IPv4 address from the home base station using DHCPv4 include:
  • Step 1 The UE sends a Dynamic Host Configuration Protocol Discovery (DHCP Discovery) message to the Dynamic Host Configuration Protocol Server (DHCP Server), that is, the home base station.
  • DHCP Discovery Dynamic Host Configuration Protocol Discovery
  • DHCP Server Dynamic Host Configuration Protocol Server
  • Step 2 The DHCP server responds to the UE and sends a dynamic host configuration protocol (DHCP Offer) message (multiple DHCP servers may exist in one network, because the same UE may be connected to the word.
  • DHCP Offer dynamic host configuration protocol
  • This message already contains the IP address assigned to the UE in the client's IP domain, and contains the DHCP Server IP address in the server's IP domain.
  • Step 3 The UE selects a DHCP Server (if there are multiple DHCP Servers), sends a Dynamic Host Configuration Protocol Request (DHCP Request) message to the DHCP Server, and requests the DHCP Server to allocate an IPv4 address.
  • the request message includes parameters such as the client hardware address (Client hardware address) and the client identifier (Client Identifier).
  • the Client hardware address is used to identify the UE. To prevent the client hardware address from colliding, the UE can also carry the Client Identifier parameter to uniquely identify itself.
  • Step 4 The DHCP Server assigns an IPv4 address to the UE and sends a Dynamic Host Configuration Protocol Acknowledgement (DHCP Ack) message to the UE.
  • the "Your (client) IP address" contained in this message is the IPv4 address assigned to the UE. It also includes: Renewal Time Value of the IP address, and Rebinding Time Value of the IP address. , IP Address Lease Time, Subnet Mask of IP Address, Domain Name (Domain Name ), domain name server and other parameters.
  • steps 1 and 2 of the discovery process DHCP Server; Step 3 and 4 are true IPv 4 address of the dynamic allocation.
  • the MME determines that the local network allocates an IPv6 address to the UE
  • the MME sets the Activate Default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept message, and the PDN Type is IPv6 Only, and assigns the IPv6 Interface Identity to the UE.
  • the IPv6 Interface Identit is set in the PDN Address. Because the UE is required to obtain the IPv6 address through the IPv6 stateless address self-configuration mode, the UE can determine that the IPv6 stateless address self-configuration mode is required to obtain the IPv6 address through the two identifiers of the PDN Type and the PDN Address. After the UE connects to the PDN of the local network, the IPv6 stateless address self-configuration mode can be used to obtain an IPv6 address from the home base station.
  • the steps for the UE to obtain an IPv6 address from the home base station using the IPv6 stateless address self-configuration mode include:
  • the IPv6 router periodically multicasts (Multicast)-IPv6 Prefix through the Router Advertisement Message.
  • the IPv6 router periodically multicasts the Router Advertisement message message at a certain interval.
  • the UE may request an IPv6 router to provide an IPv6 Prefix by sending a multicast Solicitation Message (Active Solicitation Message).
  • the IPv6 router After receiving the router request message, the IPv6 router immediately sends a Router Advertisement Message to the UE to provide an IPv6 Prefix for the UE.
  • the IPv6 router described above is the home base station. That is to say, when the local network adopts an IPv6 stateless address self-configuration method to allocate an IP address to the UE, the home base station has the function of an IPv6 router.
  • the IPv6 address of the UE is composed of an IPv6 address prefix (IPv6 Prefix) and an IPv6 Interface Identity. Since the IPv6 address of the UE corresponds to the IPv6 Prefix, the IPv6 Interface is used.
  • the Identity can take the same value for different UEs.
  • the IPv6 Interface Identity assigned by the MME to the UE is different from the MME's own IPv6 Interface Identit.
  • the MME determines that the local network allocates an IPv4v6 address to the UE, the MME sets the Activate default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept message, the PDN Type is IPv4v6, and sets the IPv4 address part in the PDN Address to be full.
  • the PDN Type is IPv4v6, and sets the IPv4 address part in the PDN Address to be full.
  • zero ie 0.0.0.0
  • an IPv6 Interface Identity of 8 bytes in length is set in the IPv6 address part of the PDN Address. This IPv6 Interface Identity is assigned by the MME.
  • the UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDN Type and the PDN Address, and obtain the IPv6 address through the IPv6 stateless address self-configuration. Therefore, after completing the PDN connection of the UE to the local network, the UE can obtain the IPv4 address from the home base station by using DHCPv4, and can obtain the IPv6 address from the home base station by using the IPv6 stateless address self-configuration mode.
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv4 address
  • the SGSN sets the PDP Address Type in the Activate PDP Context Accept message to IPv4 Only, and sets the PDP Address to zero (ie, 0.0.0.0).
  • the UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDP Address Type and the PDP Address.
  • the UE can obtain the IPv4 address from the home base station by using DHCPv4.
  • the PDP Address Type and PDP Address are defined together.
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv6 address
  • the SGSN sets the PDP Address Type in the Activate PDP Context Accept message to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity to the PDP.
  • the UE can determine that the IPv6 stateless address is required to obtain an IPv6 address through the PDP Address Type and the PDP Address. After completing the PDN connection between the UE and the local network, the UE can use the IPv6 stateless address self-configuration mode.
  • the home base station obtains an IPv6 address.
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv4v6 address
  • the SGSN sets the PDP Address Type in the Activate PDP Context Accept message to IPv4v6, and sets the IPv4 address part in the PDP Address to all zeros (ie 0.0.0.0), and sets an 8-byte in the IPv6 address part of the PDP Address.
  • the length of the IPv6 Interface Identity The UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDP Address Type and the PDP Address, and obtain the IPv6 address through the IPv6 stateless address self-configuration mode.
  • the UE may obtain an IPv4 address from the home base station by using DHCPv4, and may obtain an IPv6 address from the home base station by using an IPv6 stateless address self-configuration manner.
  • the above IPv6 Interface Identity is randomly calculated by the MME or the SGSN using a random algorithm according to the identity of the UE. Since the MME or SGSN serves a large number of users in the prior art, the number of UEs served by one MME or SGSN can reach 1 million, and the IPv6 Interface Identity calculated by a random algorithm is easy to communicate with the IPv6 Interface of the PDN GW or GGSN. The identity is the same, so the IPv6 Interface Identity of the UE is not allocated by the MME or the SGSN in the existing specifications.
  • the embodiment of the present invention proposes that for the home network or the local Internet network, since the number of users serving the service is small, it is hardly More than 1000, so even if the MME or SGSN obtains the IPv6 Interface Identity of 8 bytes in length, the same situation as the IPv6 Interface Identity of the home base station does not occur (in the home network or the local Internet network, it is the home base station).
  • the IP address allocation of the UE is performed. Therefore, the IPv6 Interface Identity calculated by the MME or the SGSN cannot be the same as the IPv6 Interface Identity of the home base station.
  • the home network or the local Internet network may not be: the UEs allocate different IPv6 Prefix, so each IPv6 Interface calculated by the MME or the SGSN Identity does not repeat as much as possible.
  • the UE is required to use the IPv6 Interface Identity provided by the MME or the SGSN, and try not to use the UE's own Interface Identity.
  • the random algorithm used by the MME or SGSN is:
  • f(n) f(n - l) + l , where n is an integer greater than or equal to zero.
  • f(0) is any 8-byte long data, when the MME or SGSN increments F(n) every time.
  • the latter value is assigned to the UE as an IPv6 Interface Identity. Obviously this algorithm can guarantee that the IPv6 Interface Identity assigned to the UE will not be repeated in a home network or a local Internet network.
  • the MME/SGSN may further determine the IP address allocated by the local network to the UE according to the IP address type that the local network can support.
  • the type that is, the type of IP address assigned by the local network determined by the MME or the SGSN to the UE, needs to be an IP address type that the local network can support.
  • the MME/SGSN knows the type of IP address that the local network can support. For example: One method is to support the local network through OAM (Operation, Administration and Maintenance) or other methods.
  • OAM Operaation, Administration and Maintenance
  • the IP address type information is pre-configured to the MME/SGSN.
  • the home base station actively reports the IP address type information that can be supported by the local network connected to itself to the MME or the SGSN.
  • the home base station reports the local network connected to itself according to the request of the MME or the SGSN. IP address type information.
  • the triggering conditions for the home base station to automatically report the IP address type information that can be supported by the local network may also be multiple, when the home base station is started, or when the home network of the home base station changes, for example, the home base station is not connected.
  • the local network when the home base station is connected to a local network or the local network function is activated, the home base station automatically reports the IP address type supported by the local network to which the home base station is connected to the MME/SGSN.
  • the UE obtains the IPv4 address through DHCPv4, and/or the IPv6 address obtained through the IPv6 stateless address self-configuration mode, which is allocated by the home base station.
  • the home base station supports the home network or the local Internet network, the home base station has the function of assigning an IPv4 address by using DHCPv4 and assigning an IPv6 address by using an IPv6 stateless address self-configuration manner.
  • the IP address of the UE is provided by the home base station, that is, by the home base station.
  • the home base station has an IP address pool
  • the IP address assigned to the UE is from the IP address pool
  • the other case is that the home base station does not have one.
  • T N2010/00 559 IP address pools the ⁇ > address assigned by the home base station to the UE is actually provided by a device in the home network or the local Internet network, and the home base station can adopt the Diameter protocol defined in the 3GPP specifications.
  • the Radius (Remote Authentication Dial In User Service) protocol, or DHCP obtains an IP address from a device on the home network or the local Internet network, and then assigns the IP address to the UE and sends the IP address to the UE.
  • Example 1 The following is a specific embodiment of three implementations of the UE to access the local network provided by the embodiment of the present invention.
  • Example 1 The following is a specific embodiment of three implementations of the UE to access the local network provided by the embodiment of the present invention.
  • the UE Requested PDN Connectivity process includes the following steps:
  • the UE If the UE needs to initiate a PDN connection, the UE sends a PDN Connectivity Request (PDN Connectivity Request) message to the HeNB, and the HeNB forwards the PDN Connectivity Request message to the Mobility Management Entity (MME).
  • PDN Connectivity Request PDN Connectivity Request
  • MME Mobility Management Entity
  • the PDN Connectivity Request message includes: Access Point Name (APN), PDN Type, Protocol Configuration Options, and Request Type.
  • API Access Point Name
  • PDN Type PDN Type
  • Protocol Configuration Options PDN Type
  • Request Type PDN Type
  • Both the APN and the Request Type carried in the PDN Connectivity Request can be used to indicate the type information of the local network that the UE requests to access, but in the case that the UE is allowed to access multiple local networks of the same type, if the UE requests to be clear Which specific local network is entered, an APN is required to indicate.
  • the UE may set the Request Type in the PDN Connectivity Request message to be a Home Request.
  • the UE may set the Request Type in the PDN Connectivity Request message to be an Internet Request (Internet Request).
  • the UE when the Request Type is Home Request, the UE requests access to the home network; when the Request Type is Internet Request, the UE requests access to the local Internet.
  • the MME After receiving the PDN Connectivity Request message, the MME sends a PDN Connectivity Accept message to the HeNB.
  • the message sent by the MME to the HeNB in step 2 is for TS23.401.
  • the protocol is PDN Connectivity Accept, and for the TS24.301 protocol is the Activate default EPS bearer context request message. But in fact these two messages are the same message, and different names are used in different protocols.
  • the PDN Connectivity Accepti or its equivalent message includes: APN, PDN Type, PDN Address, EPS Bearer Id, and Protocol Configuration Options.
  • the MME determines that the UE requests access to the local network according to the APN and/or Request Type in the received PDN Connectivity Request message. Then, the MME determines the PDN Connectivity Accept (or its equivalent message EPS default) based on the IP address type of the PDN Type in the PDN Connectivity Request message, the subscription data of the UE, and the IP address type in the configuration of the MME. ) The PDN Type in the message.
  • the MME determines that the IP address assigned by the local network to the UE is an IPv4 address
  • the MME sets the PDN Type to IPv4 Only, and sets the PDN Address to be zero (ie, 0.0.0.0); when the MME determines that the IP address assigned by the local network to the UE is IPv6.
  • the MME sets the PDN Type to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, sets the IPv6 Interface Identity in the PDN Address, and sets the IPv6 Prefix in the IPv6 address to all zeros; when the MME determines that the local network is the UE When the assigned IP address is an IPv4v6 address, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to zero (ie, 0.0.0.0), assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity to the PDN Address. In the IPv6 address, set the IPv6 Prefix in the IPv6 address to all zeros.
  • the PDN Connectivity Accept (or its equivalent message) message is included in an SI-MME control message, which is included in the Bearer Setup Request message.
  • the S1-MME interface refers to a control plane interface between the HeNB and the MME.
  • the Bearer Setup Request message includes: EPS Bearer QoS, UE Aggregated Maximum Bit Rate (UE-AMBR), PDN Connectivity Accept (or its equivalent message Default EPS bearer context) Request ) , the tunnel endpoint identifier (S 1 - TEID, S 1 Tunnel End Point Identifier ) of the SI user plane interface (ie, the interface between the HeNB and the Serving GW).
  • UE-AMBR UE Aggregated Maximum Bit Rate
  • PDN Connectivity Accept or its equivalent message Default EPS bearer context
  • S 1 - TEID the tunnel endpoint identifier
  • SI user plane interface ie, the interface between the HeNB and the Serving GW.
  • the Bearer Setup Request message includes an EPS bearer identifier (EPS Bearer Identity), and a serving gateway (Serving GW) that allocates the HeNB and the serving gateway (the Serving GW) for the EPS bearer identified by the EPS Bearer Identity.
  • EPS Bearer Identity EPS Bearer Identity
  • serving gateway Serving GW
  • the upstream IP address and tunnel end point identifier TEID, Tunnel End Point Identifier of the user plane interface (S1-U interface).
  • the MME needs to notify the HeNB that the bearer established for the UE is used by the local network, because when the HeNB receives the data sent by the UE to the local network, the HeNB cannot forward the data to the serving gateway (Serving GW) in the core network. And to forward to the local network. If it is not required to transfer to the local network, the HeNB forwards to the Serving GW in the core network when receiving the data sent by the UE to the mobile operator network.
  • Serving GW serving gateway
  • the new MME may notify the HeNB of the information of the local network that the UE requests to access by using a Bearer Setup Request message to instruct the HeNB to establish a local network for the UE.
  • the local network may be a home network or a local Internet network.
  • there may be one or more home networks for the home network so the local network also needs to notify the HeNB of the information of which specific local network the UE accesses.
  • a network (including the local network) can be identified by an APN. Therefore, the manner in which the MME informs the HeNB that the bearer is used for a specific local network may include:
  • Mode 1 The MME sets an APN in the Bearer Setup Request message to indicate specific local network information.
  • the MME can set an indication message in the Bearer Setup Request message to indicate whether the home network or the local Internet connection is connected.
  • the network for example, uses 0 for the home network and 1 for the local Internet network.
  • the HeNB receives the PDN Connectivity Accept (or its equivalent message Activate default) After the EPS bearer context request message, the RRC Connection Reconfiguration (RRC Connection Reconfiguration) message is sent to the UE.
  • RRC Connection Reconfiguration RRC Connection Reconfiguration
  • the RRC Connection Reconfiguration message includes: an EPS Radio Bearer Identity, and a PDN Connectivity Accept (or its equivalent message) message is also included in the RRC message and transmitted to the UE.
  • the UE After receiving the RRC Connection Reconfiguration message, the UE sends a radio resource control connection reconfiguration complete (RRC Connection Reconfiguration Complete) message to the HeNB.
  • RRC Connection Reconfiguration Complete radio resource control connection reconfiguration complete
  • the HeNB After receiving the RRC Connection Reconfiguration Complete message, the HeNB sends a bearer setup response (Bearer Setup Response) message to the MME.
  • a bearer setup response (Bearer Setup Response) message to the MME.
  • the bearer between the UE and the local network is established. Since the bearer between the UE and the local network does not include the bearer of the core network part, the bearer between the UE and the local network is actually a radio bearer between the UE and the HeNB.
  • the UE After parsing the PDN Connectivity Accept (or its equivalent message EPS address) message from the RRC Connection Reconfiguration Complete message, the UE:
  • IPv6 Only IPv6 Only
  • IPv6 Only IPv6 Only
  • IPv6 Interface Identity stored in the PDN Address
  • IPv6 stateless address self-configuration method IPv6 Prefix after step 6, and then according to the IPv6 Interface Identit and IPv6 Prefix.
  • IPv4v6 IPv4v6
  • IPv4 part of the PDN Address ie, 0.0.0.0
  • IPv6 Interface Identity stored in the PDN Address
  • IPv4 address IPv4 address
  • IPv6 stateless address self-configuration method to obtain an IPv6 Prefix, and then generate one according to IPv6 Interface Identity and IPv6 Prefix. IPv6 address.
  • the UE sends a Direct Transfer message to He B.
  • the Direct Transfer message includes the PDN Connectivity Complete (PDN Connectivity Complete).
  • PDN Connectivity Complete The message sent by the UE to the HeNB in step 6 is the PDN Connectivity Complete message for the TS23.401 protocol and the activation default for the TS24.301 protocol.
  • the EPS defaults the bearer context response message, but in fact the two messages are the same message, except that different names are used in different protocols.
  • the EPS Bearer Identity is included in the PDN Connectivity Complete message (or its equivalent message Activate default EPS bearer context Response ).
  • the HeNB After receiving the Direct Transfer message, the HeNB forwards the PDN Connectivity Complete message (or its equivalent message Activate default EPS bearer) in the uplink non-access stratum (NAS, Non-Access Stratum) transmission (Uplink NAS Transport) message. Context Response ) To the MME, the EPS Bearer Identity is included in the PDN Connectivity Complete message (or its equivalent message Default EPS bearer context Response ).
  • the UE obtains an IP address through the DHCPv4 and/or IPv6 stateless address self-configuration mode, and can connect to the local network through the HeNB, and communicate with devices in the local network through the HeNB.
  • the attach process provided by the embodiment of the present invention specifically includes the following steps:
  • the UE initiates an attach procedure, and sends an attach request (Attach Request) message to the HeNB.
  • the Attach Request message includes: an International Mobile Subscriber Identity (IMSI) or an old Globally Unique Temporary Identity (GUTI), a recently visited tracking area identifier (last visited TAI) (if available), the UE's UE Core Network Capability, UE's Special Discontinuous Reception (DRX) parameter, PDN Type (PDN Type), Protocol Configuration Options, Ciphered Options Transfer Flag , attachment type (Attach Type), key 10 000559 identifier (KSIASME), NAS, Non-Access Stratum serial number (NAS sequence number), non-access layer message authentication code (NAS-MAC, Message Authentication Code), additional GUTI (additional GUTI) ).
  • IMSI International Mobile Subscriber Identity
  • GUI Globally Unique Temporary Identity
  • DRX UE's Special Discontinuous Reception
  • PDN Type PDN Type
  • Protocol Configuration Options Cip
  • the UE If the UE is initially connected to the EPS system, the UE notifies the network of the information requested by the UE to access the local network by the following method:
  • the UE may set the Attach Type in the Attach Request message to be Home Attach.
  • the UE may set the Attach Type in the Attach Request message to be an Internet Attach.
  • the Attach procedure includes the UE requesting a packet data network connection (UE) according to the definition of the TS 24.301 standard according to the TS24.301 standard and the TS23.401 standard.
  • the Request PDN Connectivity procedure and in the process, the UE may set the Request Type to a Home Request or an Internet Request in a PDN Connectivity Request message sent to the MME. (Internet Request), used to notify the network side of the information that the UE requests to access the local network.
  • Internet Request Internet Request
  • the Request Type is Home Request
  • the information requested by the UE to access the local network is requested by the UE to access the home network
  • the Request Type is Internet Request
  • the information requested by the UE to access the local network is requested by the UE to access the local Internet.
  • the HeNB sends an S1-MME control message, that is, the HeNB sends an Initial UE message to the new MME (new MME), and the message includes an Attach Request message.
  • the TS24.301 standard states that the Attach Request message contains a PDN Connectivity Request message, and the MME according to the Attach Type and/or PDN in the Attach Request message.
  • the Request Type in the Connectivity Request can know which type of local network the UE is to access. Therefore, when only one network is allowed for the user to access the same type of local network to which the HeNB is connected, the Attach Request message and/or the PDN Connectivity Request message only indicate the type of the local network.
  • the network side can know which local network the UE requests to access.
  • the new MME sends an identification request (Authentication Request) message to the old MME or SGSN (old MME/SGSN). After receiving the Identification Request message, the old MME or SGSN replies to the new MME with an identification response (Identification Response) message. , which contains the IMSI of the UE.
  • the new MME sends an Identity Request message to the UE, and requests the UE to provide its MSI. After receiving the Identity Request message, the UE responds with an identity response.
  • the ( Identity Response ) message is sent to the new MME, which contains the IMSI of the UE.
  • the new MME performs authentication and/or security procedures (Authentication/Security).
  • the new MME obtains the mobile terminal identifier (ME Identity) of the UE, and sends a ME Identity Check Request message to the device identifier register (EIR, Equipment Identity Register), where the UE includes the ME Identity and the IMSI of the UE.
  • EIR mobile terminal identifier
  • the EIR replies to the new MME with a Mobile Identity Identification Ack (ME Identity Check Ack) message, which includes a Result.
  • ME Identity Check Ack Mobile Identity Check Ack
  • the new MME sends a Ciphered Options Request message (defined in the TS23.401 standard). ), that is, the ESM Information Request message (which is defined in the TS24.301 standard, equivalent to the Ciphered Options Request message defined in the TS23.401 standard), requests the UE to obtain the protocol configuration.
  • Option protocol Configuration Options
  • API access point name
  • Ciphered Options Request message Reply to the Ciphered Options Response message (defined in TS23.401), ie ESM Information Response (Evolved Session Management Information Response) message (this message is defined in the TS24.301 standard, equivalent to Ciphered Options Response Message) to the new MME to provide PCO and / or APNo
  • the new MME finds that the UE has active bearer contexts, the new MME sends a Delete Bearer Request message to the relevant gateway.
  • GW which contains the cause of the deletion (Cause) and the Tunnel End Point Identifier (TEID), to delete these bearer contexts, and the related gateway (GWs) reply to delete the bearer response (Delete Bearer Response)
  • the message is sent to the new MME, which contains the tunnel endpoint identifier (TEIDs).
  • TEIDs tunnel endpoint identifier
  • step 7 when the new MME and the old MME are the same MME, the new MME clears the EPS bearer that has not been deleted in the network before the UE attaches.
  • the new MME sends an Update Location Request message to the Home Subscriber Server (HSS).
  • HSS Home Subscriber Server
  • the Update Location Request message includes: MME Identity (MME Identity), IMSI, ME Identity, MME Capabilities, and Update Type.
  • the HSS sends a Cancel Location message to the old MME and the old SGSN, including: IMSI and Cancellation Type. After receiving the Cancel Location message, the old MME and the old SGSN reply to the HSS with a Cancel Location Ack message.
  • the old MME/SGSN finds that the UE has active bearer contexts, the old MME/SGSN sends a Delete Bearer Request message to the relevant GW to request to delete the bearer context. , including the reason for deletion
  • the PDN GW performs the IP-CAN Session Termination process.
  • the HSS sends an Update Location Ack message to the new MME, where the subscription data includes the IMSI and the UE, and the Subscription Data includes one or more packet data networks (PDN, Packet). Data Network ) Signing Context
  • each PDN subscription context contains an EPS subscribed QoS profile and the subscribed APN-AMBR (Access Point Name) aggregated maximum bit rate (AMBR, Aggregated) Maximum Bit Rate ) ).
  • APN-AMBR Access Point Name
  • AMBR Aggregated
  • step 8-11 is a location information update process, that is, the HSS deletes the stored old MME identity information, and adds new MME identity information, that is, the new MME registers with the HSS as the current mobile control management for the UE. Entity node.
  • the new MME sends an Attach Accept message to the HeNB.
  • the Attach Accept message includes: APN, GUTI, PDN Type, PDN Address, TAI, Tracking Area Identity list (TAI List), EPS Bearer Identity, Session Management Request (Session Management Request) , Protocol Configuration Options, Key Identification (KSIASME), NAS sequence number, NAS-MACo
  • the Session Management Request message in the Attach Accept message is actually an Activate default EPS bearer context request message, and the PDN is displayed.
  • the Type, PDN Address parameter is actually included in the Activate default EPS bearer context request message.
  • the TS23.401 protocol directly indicates that the Attach Accept message contains the PDN Type and PDN Address parameters.
  • the MME determines that the UE requests access to the local network according to the APN and/or the Request Type in the PDN Connectivity Request message received in step 2. Then, the MME is based on the IP address of the PDN Type in the PDN Connectivity Request message. 559 type, UE subscription data, IP address type in the MME configuration determines the PDN Type in the Activate default EPS bearer context request message.
  • the MME determines that the IP address assigned by the local network to the UE is an IPv4 address
  • the MME sets the PDN Type to IPv4 Only, and sets the PDN Address to be zero (ie, 0.0.0.0); when the MME determines that the IP address assigned by the local network to the UE is IPv6.
  • the MME sets the PDN Type to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, sets the IPv6 Interface Identit in the PDN Address, and sets the IPv6 Prefix in the IPv6 address to all zeros; when the MME determines that the local network is the UE When the assigned IP address is an IPv4v6 address, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to zero (ie, 0.0.0.0), assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity to the PDN Address. In the IPv6 address, set the IPv6 Prefix in the IPv6 address to all zeros.
  • the Attach Accept message is included in an S 1 - MME control message (S 1 - MME Interface Control Message), which is included in the Initial Context Setup Request message.
  • the SI control message includes the uplink IP address and TEID of the S1-U interface allocated by the EPS Bearer Identity and the Serving GW for the EPS bearer identified by the EPS Bearer Identity.
  • the MME needs to notify the HeNB that the bearer established for the UE is used by the local network. Therefore, in the same manner as the first embodiment, the eNB may notify the HeNB that the bearer established for the UE is the local network. in use.
  • the HeNB sends a RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the UE, where the EPS Radio Bearer Identity is included, and the Attach Accept message is also included in the RRC message and transmitted to the UE.
  • RRC Connection Reconfiguration RRC Connection Reconfiguration
  • the UE sends a RRC Connection Reconfiguration Complete message to the HeNB.
  • step 13 and step 14 the establishment of the access local network radio bearer between the HeNB and the UE is completed.
  • the UE parses out the Activate from the RRC Connection Reconfiguration Complete message. After the default EPS bearer context request message:
  • IPv4 IPv4 Only
  • PDN Address ie 0.0.0.0
  • IPv6 Only IPv6 Only
  • IPv6 Only IPv6 Only
  • IPv6 Prefix IPv6 Stateless address self-configuration method after step 16, and then according to the IPv6 Interface Identity and IPv6 Prefix.
  • IPv6 address IPv6 Address
  • the PDN Type is IPv4v6, and the IPv4 part of the PDN Address is zero (ie, 0.0.0.0), obtain the IPv6 Interface Identity stored in the PDN Address, and use the DHCPv4 method to obtain an IPv4 address after step 16 and use
  • the IPv6 stateless address is self-configured to obtain an IPv6 Prefix, and then generates an IPv6 address based on the IPv6 Interface Identity and the IPv6 Prefix.
  • the HeNB sends an Initial Context Response message to the new MME, which includes the downlink IP address and TEID of the S1-U interface (ie, the user plane interface between the HeNB and the Serving Gateway) assigned by the HeNB.
  • the S1-U interface ie, the user plane interface between the HeNB and the Serving Gateway
  • the radio bearer between the UE and the local network is established. Since the bearer between the UE and the local network does not include the bearer of the core network part, the bearer between the UE and the local network is actually a radio bearer between the UE and the HeNB.
  • the UE sends a Direct Transfer message to the HeNB, and the message includes an Attach Complete message.
  • the Attach Complete message includes: EPS Bearer Identity, NAS sequence number, NAS-MAC.
  • the Attach Complete message also includes an Activate Default EPS bearer context Response message.
  • the HeNB forwards the Attach Complete message to the new MME in an Uplink NAS Transport message.
  • the UE self-configures through DHCPv4 and/or IPv6 stateless addresses.
  • the method obtains an IP address, and can connect to the local network through the HeNB, and communicate with devices in the local network through the HeNB.
  • the process of the PDN Context requested by the UE specifically includes the following steps:
  • the UE If the UE needs to initiate a PDN connection, the UE sends an Activate PDP Context Request message to the HNB, and the HNB forwards the Activate PDP Context Request message to the Serving General Packet Radio Service Support Node (SGSN). .
  • SGSN Serving General Packet Radio Service Support Node
  • HNB GW home base station gateway
  • the HNB GW transparently transmits the message between the UE and the SGSN, that is, in the process, all the messages are transparent to the HNB GW, that is, the HNB GW does not interpret the UE and the SGSN. The message transmitted between them is only to forward the message between the UE and the SGSN.
  • the UE by activating the Activate PDP Context Request message, the UE establishes the first packet data protocol context (PDP Context) under this PDN connection, that is, activates the packet data protocol context request (Activate PDP Context).
  • the Request message is used to establish a PDP Context under a PDN connection. Then, if the UE needs to establish a PDP Context under this PDN connection, the UE needs to initiate a second activation of the packet data protocol context procedure.
  • the sent message is an Activate Secondary PDP Context Request message.
  • the process initiated by the UE is the second activation of the packet data protocol context procedure, which is used by the UE in the process.
  • the message is an Activate Secondary PDP Context Request message.
  • the APN parameter is not included in the Activate Secondary PDP Context Request message.
  • the Activate PDP Context Request message includes: APN, PDN Type, Protocol Configuration Options, and Request Type.
  • the APN and Request Type parameters are optional parameters. Especially in the edition In the specification version before this 8, the Activate PDP Context Request message does not include the Request Type parameter.
  • Both the APN and the Request Type carried in the Activate PDP Context Request can be used to indicate the type information of the local network that the UE requests to access, but in the case that the UE is allowed to access multiple local networks of the same type, if the UE request is to be clarified Which specific local network is accessed, an APN is required to indicate.
  • the UE may set the Request Type in the Activate PDP Context Request message to be a Home Request.
  • the UE may set the Request Type in the Activate PDP Context Request message to be an Internet request.
  • the information of the local network that the UE requests to access is the information of the home network that the UE requests to access; when the Request Type is the Internet Request, the UE requests the access of the local network.
  • the information is the local Internet letter that the UE requests to access.
  • the SGSN After receiving the Activate PDP Context Request message, the SGSN sends a radio access bearer assignment request (RAB Assignment Request) message to the HNB, requesting the HNB to establish an access bearer of the UE to the local network.
  • RAB Assignment Request radio access bearer assignment request
  • the radio access bearer assignment request (RAB Assignment Request) message includes a radio access bearer identifier (RAB ID), and an HNB assigned by the SGSN for the radio access bearer (RAB, Radio Access Bearer) identified by the RAB ID.
  • RAB ID radio access bearer identifier
  • RAB ID Radio Access Bearer
  • TEID Tunnel End Point Identifier
  • Iu-PS user plane interface Iu-PS user plane interface
  • the SGSN needs to notify the HNB that the bearer established for the UE is used by the local network. Therefore, in the same manner as Embodiment 1, the SGSN may use the Radio Access Bearer Assignment Request (RAB Assignment Request) message, and adopt the method in Embodiment 1. 1 or 2 to inform the HNB that the bearer established for the UE is used by the local network.
  • RAB Assignment Request Radio Access Bearer Assignment Request
  • the HNB After receiving the RAB Assignment Request message, the HNB sends the wireless bearer setting (Radio). 9
  • Bearer Setup Message to the UE.
  • the Radio Bearer Setup message includes: Radio Bearer Identity (RB ID), and the RB ID is the same as the RAB ID in step 2 above.
  • RB ID Radio Bearer Identity
  • the UE After receiving the Radio Bearer Setup message, the UE sends a Radio Bearer Setup Complete message to the HNB.
  • the HNB After receiving the Radio Bearer Setup Complete message, the HNB sends a Radio Access Bearer Assignment Response (RASB Assignment Response) message to the SGSN.
  • RASB Assignment Response Radio Access Bearer Assignment Response
  • the establishment of the bearer between the UE and the local network is completed. Since the bearer between the UE and the local network does not include the bearer of the core network part, the bearer between the UE and the local network is actually a radio bearer between the UE and the HNB.
  • the SGSN After receiving the RAB Assignment Response message, the SGSN sends an Activate PDP Context Accept message to the UE, including the PDP Address Type and the PDP Address.
  • the SGSN determines that the UE requests access to the local network according to the APN and/or the Request Type in the Activate PDP Context Request message received in step 1. Then, the SGSN determines the PDP Address in the Activate PDP Context Response message according to the IP address type of the PDP Address Type in the Activate PDP Context Request message, the subscription data of the UE, and the IP address type in the configuration of the SGSN.
  • the SGSN determines that the IP address assigned by the local network to the UE is an IPv4 address
  • the SGSN sets the PDP Address Type to IPv4 Only, and sets the PDP Address to be zero (ie, 0.0.0.0);
  • the SGSN determines that the IP address assigned by the local network to the UE is In the IPv6 address
  • the SGSN sets the PDP Address Type to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, sets the IPv6 Interface Identity in the PDP Address, and sets the IPv6 Prefix in the IPv6 address to all zeros
  • the SGSN determines the local
  • the SGSN sets the PDP Address Type to IPv4v6 and sets the IPv4 address in the PDP Address.
  • IPv6 Interface Identity is assigned to the UE, the IPv6 Interface Identity is set in the IPv6 address of the PDP Address, and the address prefix (IPv6 Prefix) in the IPv6 address is set to all zeros.
  • the UE After receiving the Activate PDP Context Accept message, the UE:
  • DHCPv4 is used to obtain an IPv4 address.
  • the PDP Address Type is IPv6 Only
  • the IPv6 Interface Identity is obtained in the PDP Address
  • an IPv6 Prefix is obtained by using the IPv6 stateless address self-configuration method. Then, an IPv6 address is generated according to the IPv6 Interface Identity and the IPv6 Prefix.
  • the PDP Address Type is IPv4v6, and the IPv4 part of the PDP Address is zero (ie, 0.0.0.0), obtain the IPv6 Interface Identity stored in the PDP Address, and then use DHCPv4 to obtain an IPv4 address and use
  • the IPv6 stateless address is self-configured to obtain an IPv6 Prefix, and then generates an IPv6 address based on the IPv6 Interface Identity and the IPv6 Prefix.
  • the UE can connect to the local network through the HNB and communicate with the devices on the local network through the HNB.
  • a communication system provided by an embodiment of the present invention includes:
  • the user mobility control management entity 11 is configured to: according to the information of the local network that the user equipment UE 12 requests to access, instruct the home base station 13 to establish the radio bearer of the local network for the UE 12, and connect the UE 12 to the local network;
  • the network assigns the type of Internet Protocol IP address to the UE 12 and instructs the UE 12 to obtain this type of IP address from the home base station.
  • the home base station 13 is configured to send, by the user mobility control management entity 11, an indication that the UE 12 establishes a bearer of the local network, establish a radio bearer of the local network for the UE 12, and allocate an IP address according to the request sent by the UE 12.
  • a message is assigned to the UE 12 with an IP address.
  • the user mobility control management entity 11 described in the embodiment of the present invention is a device for controlling IP address allocation.
  • the user mobility control management entity 11 includes:
  • the access local network indication unit 111 is configured to, according to the information of the local network that the UE 12 requests to access, instruct the home base station 13 to connect the UE 12 to the local network by establishing a wireless bearer of the local network for the UE 12.
  • the IP address type determining unit 112 is configured to determine, according to the configuration information of the user mobility control management entity 11 and the type of the IP address that the UE 12 requests to be allocated and the subscription data of the UE 12, the IP address allocated by the local network to the UE 12. type.
  • the IP address obtaining indication unit 113 is configured to instruct the UE 12 to acquire, from the home base station 13, an IP address of a type determined by the IP address type determining unit 111 for the UE 12.
  • the IP address type determining unit 112 obtains the type of the IP address supported by the local network through the reporting by the home base station 13.
  • the IP address acquisition indication unit 113 accepts a (PDN Connectivity Accept) message through a packet data network connection or activates a default EPS bearer context request (Activate default The EPS bearer context request ) message, or an Attach Accept message, instructs the UE 12 to obtain an IP address from the home base station 13.
  • PDN Connectivity Accept a packet data network connection
  • EPS bearer context request Activate default The EPS bearer context request
  • Attach Accept message instructs the UE 12 to obtain an IP address from the home base station 13.
  • the IP address obtaining indication unit 113 indicates the UE 12 by using a PDN Connectivity Accept message or an Activate default EPS bearer context request message or an Attach Accept message, a packet data network type PDN Type and a packet data network address PDN Address.
  • the IP address acquisition instructing unit 113 sets the PDN Type to IPv4v6, and sets the PDN Address.
  • the IPv4 address is zero, the IPv6 Interface Identity is assigned to the UE 12, and the IPv6 Interface Identity is set in the IPv6 address of the PDN Address.
  • the IP address obtaining indication unit 113 receives an Activate PDP Context Accept message by activating a packet data protocol context, and instructs the UE 12 to acquire an IP address from the base station 13.
  • the IP address acquisition instructing unit 113 instructs the UE 12 to obtain an IP address from the home base station 13 by using the packet data protocol address type PDP Address Type and the packet data protocol address PDP Address in the Activate PDP Context Accept message.
  • the IP address acquisition instructing unit 113 sets the PDP Address Type to IPv4 only, and sets the PDP Address to Zero
  • the IP address acquisition instructing unit 113 sets the PDP Address Type to IPv6 only, and is the UE 12 Assign the interface identifier to the IPv6 Interface Identity, and set the IPv6 Interface Identity in the PDP Address.
  • the IP address acquisition instructing unit 113 sets the PDP Address Type to IPv4v6, and sets the PDP.
  • the IPv4 address in the Address is zero, and the UE 12 is assigned an IPv6 interface identifier, and the IPv6 Interface Identity is set in the IPv6 address of the PDP Address.
  • the home base station 13 includes:
  • the bearer establishing unit 131 is configured to establish, according to the user mobility control management entity 11, an indication that the UE 12 establishes a bearer of the local network, and establish a radio bearer of the local network for the UE 12.
  • the receiving request unit 132 is configured to receive a message sent by the UE 12 requesting to allocate an IP address. N2010/000559
  • the IP address allocating unit 133 is configured to allocate an IP address to the UE 12 according to a request for the IP address to be allocated according to the request sent by the UE 12, through the dynamic host configuration protocol DHCPv4 of the version 4, and/or through the IPv6 stateless address self-configuration mode.
  • the UE 12 includes:
  • Requesting access to the local network unit 121 for transmitting the information of the local network that the UE 12 requests to access to the home base station 13, and transmitting, by the home base station 13, the radio bearer of the local network established by the UE 12 Enter the local network.
  • the IP address type obtaining unit 122 is configured to receive an indication of the user mobility control management entity 11 and obtain a type of an Internet Protocol IP address allocated by the local network determined by the user mobility control management entity 11 for the UE 12.
  • the IP address obtaining unit 123 is configured to acquire an IP address from the home base station 13.
  • the IP address obtaining unit 123 passes the dynamic host configuration protocol DHCPv4 of version 4, and/or This type of IP address is obtained from the home base station 13 by the IPv6 stateless address self-configuration method.
  • the embodiment of the present invention determines, by the user mobility control management entity, the type of the IP address allocated by the local network to the user equipment UE, and instructs the UE to obtain the IP address of the type from the home base station in the IP address allocation manner defined by the IETF.
  • the base station allocates an IP address message according to the request sent by the UE, and allocates an IP address to the UE, so that if the PDN GW or the GGSN in the core network is not adopted, for example, when the UE accesses the local network, the user moves.
  • the Control Management Entity may also implement an IP address assigned to the UE.

Abstract

The present application discloses a method and system for assigning an internet protocol (IP) address, which are used to determine the type of the IP address which is assigned to a user equipment (UE) by a local network, and assign an IP address of the type to the UE, in the local network without packet data network gateways (PDNGWs) and gateway general packet radio service support nodes (GGSNs) in the core networks, through a user mobility control and management entity. A method for assigning an IP address provided by the present application comprises: according to information of a local network to which a UE requests an access, a user mobility control and management entity instructs a home base station to connect the UE to the local network by establishing a radio bearer of the local network for the UE; the user mobility control and management entity determines the type of the IP address which is assigned to the UE by the local network, and instructs the UE to acquire an IP address of the type from the home base station; and the home base station assigns an IP address to the UE, according to a message requesting for IP address assignment, which is sent by the UE.

Description

一种 IP地址分配方法及系统 本申请要求在 2009年 4月 23 日提交中 国专利局、 申请号为 200910082642.X,发明名称为"一种 IP地址分配方法及系统 "的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。 技术领域  The present invention claims the priority of the Chinese patent application filed on April 23, 2009, the Chinese Patent Office, the application number is 200910082642.X, and the invention name is "an IP address allocation method and system". The entire contents of which are incorporated herein by reference. Technical field
本发明涉及通信技术领域, 尤其涉及一种因特网协议 (IP, Internet Protocol )地址分配方法及系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to an Internet Protocol (IP) address allocation method and system. Background technique
在演进分组系统(EPS, Evolved Packet System ) 中, 支持版本 4的因特 网协议( IPv4 )和版本 6的因特网协议 ( IPv6 )。  In the Evolved Packet System (EPS), version 4 of the Internet Protocol (IPv4) and version 6 of the Internet Protocol (IPv6) are supported.
现有技术中用户设备 ( UE )获取 IP地址的方案包括:  A scheme for a user equipment (UE) to obtain an IP address in the prior art includes:
UE发起 SGi接口或 Gi接口的 PDN连接的建立;  The UE initiates establishment of a PDN connection of the SGi interface or the Gi interface;
UE向网络侧发送请求分配的 IP地址的类型信息,即 UE请求网络侧分配 的是 IPv4地址和 /或 IPv6地址。  The UE sends the type information of the IP address that is requested to be allocated to the network side, that is, the UE requests the network side to allocate an IPv4 address and/or an IPv6 address.
网络侧的用户移动控制管理实体在接收到 UE请求分配的 IP地址的类型 信息后, 有可能进一步根据 UE的签约数据及网络的配置, 修改 UE请求分配 的 IP地址的类型信息。  After receiving the type information of the IP address that the UE requests to be allocated, the network-side user mobility control management entity may further modify the type information of the IP address that the UE requests to allocate according to the subscription data of the UE and the configuration of the network.
核心网中的分组数据网网关( PDN GW, Packet Data Network Gateway ), 或者网关通用分组无线业务(GPRS, General Packet Radio Service )支撑节点 ( GGSN, Gateway GPRS Support Node ), 根据修改后的 UE请求分配的 IP地 址的类型信息, 以及根据自身的能力为 UE分配相应类型的 IP地址。  a packet data network gateway (PDN GW, Packet Data Network Gateway) in the core network, or a GPRS (General Packet Radio Service) support node (GGSN), allocated according to the modified UE request The type information of the IP address, and the UE is assigned a corresponding type of IP address according to its own capabilities.
其中, UE请求分配的 IP地址的类型, 分为三种: IPv4、 IPv6、 版本 4和 版本 6的因特网协议( IPv4v6 )。  The types of IP addresses that the UE requests to be allocated are classified into three types: IPv4, IPv6, version 4, and version 6 Internet Protocol (IPv4v6).
当 UE请求分配的 IP地址的类型为 IPv4v6时, 由于 PDN GW或 GGSN 可能不支持 IPv4v6, 可能只分配 IPv4或 IPv6地址给 UE, 同时指明 UE可以 再次申请另一版本的 IP地址。 When the type of the IP address requested by the UE is IPv4v6, due to the PDN GW or GGSN IPv4v6 may not be supported, and only IPv4 or IPv6 addresses may be assigned to the UE, and the UE may be requested to apply for another version of the IP address again.
当分配给 UE的 IP地址为 IPv4v6类型的 IP地址时, 说明承载既和一个 IPv4地址关联又与一个 IPv6地址关联。  When the IP address assigned to the UE is an IPv4v6 type IP address, the bearer is associated with both an IPv4 address and an IPv6 address.
当分配给 UE的 IP地址为 IPv4地址时, 说明承载只能和一个 IPv4地址 关联。  When the IP address assigned to the UE is an IPv4 address, the bearer can only be associated with one IPv4 address.
当分配给 UE的 IP地址的类型信息为 IPv6地址时,说明承载只能和一个 IPv6地址关联。  When the type information of the IP address assigned to the UE is an IPv6 address, the bearer can be associated with only one IPv6 address.
如果 UE具有 IPv4和 IPv6的能力, 那么将请求分配的 IP地址的类型信 息设为 IPv4v6;  If the UE has the capability of IPv4 and IPv6, the type information of the IP address to be requested is set to IPv4v6;
如果 UE只有 IPv4能力,那么将请求分配的 IP地址的类型信息设为 IPv4; 如果 UE只有 IPv6能力,那么将请求分配的 IP地址的类型信息设为 IPv6。 然而, 现有技术中 UE建立的承载都是要使用 SGi或 Gi接口, 因为最终 只能由 PDN GW或 GGSN确定为 UE分配的 IP地址的类型,并为 UE分配该 类型的 IP地址。  If the UE has only IPv4 capability, the type information of the IP address to be assigned is set to IPv4; if the UE has only IPv6 capability, the type information of the IP address to be requested is set to IPv6. However, in the prior art, the bearer established by the UE is to use the SGi or Gi interface, because the type of the IP address allocated to the UE can be determined only by the PDN GW or the GGSN, and the UE is assigned the IP address of the type.
目前的 3GPP规范在 TS22.220标准中对版本 9 ( R9 ) 的家庭基站( Home eNodeB或 Home NodeB )提出了新的需求, 指出具有 IP能力的 UE, 应该可以 通过家庭基站与家庭中支持 IP能力的设备相互连接,而在家庭网络中,不会采 用核心网中的 PDN GW或 GGSN, 因此无法为 UE分配 IP地址。 发明内容  The current 3GPP specification puts new demands on the version 9 (R9) home base station (Home eNodeB or Home NodeB) in the TS22.220 standard, indicating that IP-capable UEs should be able to support IP capabilities through home base stations and homes. The devices are connected to each other, and in the home network, the PDN GW or GGSN in the core network is not used, so the UE cannot be assigned an IP address. Summary of the invention
本发明实施例提供了一种 IP地址分配方法及系统, 用以在没有核心网中 的 PDN GW和 GGSN的本地网络中,通过用户移动控制管理实体确定本地网 络为 UE分配的 IP地址的类型, 并为 UE分配该类型的 IP地址。  An embodiment of the present invention provides an IP address allocation method and system for determining, by a user mobility control management entity, a type of an IP address allocated by a local network for a UE in a local network without a PDN GW and a GGSN in a core network. And assign the UE an IP address of this type.
本发明实施例提供的一种 IP地址分配方法包括:  An IP address allocation method provided by an embodiment of the present invention includes:
用户移动控制管理实体根据用户设备 UE请求接入的本地网络的信息,指 示家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE接入本地网络; 所述用户移动控制管理实体确定本地网络为 UE分配的 IP地址的类型, 并指示所述 UE从家庭基站获取该类型的 IP地址; The information of the local network that the user mobility control management entity requests to access according to the user equipment UE, The home base station accesses the local network by establishing a radio bearer of the local network for the UE; the user mobility control management entity determines the type of the IP address allocated by the local network for the UE, and instructs the UE to obtain the information from the home base station. IP address of this type;
家庭基站根据 UE发送的请求分配 IP地址的消息,为该 UE分配 IP地址。 本发明实施例提供的一种控制因特网协议 IP地址分配的装置包括: 接入本地网络指示单元,用于根据用户设备 UE请求接入的本地网络的信 息, 指示家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE接入本地 网络;  The home base station allocates an IP address according to the request sent by the UE, and allocates an IP address to the UE. An apparatus for controlling an Internet Protocol IP address allocation according to an embodiment of the present invention includes: an access local network indication unit, configured to indicate, according to information of a local network that the user equipment UE requests to access, to indicate that the home base station establishes a local network for the UE Radio bearer, accessing the UE to the local network;
IP地址类型确定单元, 用于确定本地网络为 UE分配的 IP地址的类型; IP地址获取指示单元, 用于指示 UE从家庭基站获取所述 IP地址类型确 定单元为该 UE确定的类型的 IP地址。  An IP address type determining unit, configured to determine a type of an IP address allocated by the local network to the UE, and an IP address obtaining indication unit, configured to instruct the UE to acquire, from the home base station, an IP address of the type determined by the IP address type determining unit for the UE .
本发明实施例提供的一种家庭基站包括:  A home base station provided by an embodiment of the present invention includes:
承载建立单元,用于根据用户移动控制管理实体发送的为用户设备 UE建 立本地网络的承载的指示, 为该 UE建立本地网络的无线承载;  a bearer establishing unit, configured to establish, according to an indication sent by the user mobility control management entity, a bearer of the local network for the user equipment UE, to establish a radio bearer of the local network for the UE;
接收请求单元,用于接收 UE发送的请求分配因特网协议 Π>地址的消息; IP地址分配单元,用于根据 UE发送的请求分配 IP地址的消息,为该 UE 分配 IP地址。  And a receiving requesting unit, configured to receive a message that is sent by the UE to request an Internet Protocol 地址>address; and an IP address allocating unit, configured to allocate an IP address according to the request sent by the UE, and allocate an IP address to the UE.
本发明实施例提供的一种通信系统包括:  A communication system provided by an embodiment of the present invention includes:
用户移动控制管理实体,用于根据用户设备 UE请求接入的本地网络的信 息, 指示家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE接入本地 网络; 确定本地网络为 UE分配的因特网协议 IP地址的类型,并指示所述 UE 从家庭基站获取该类型的 IP地址;  The user mobility control management entity is configured to: according to the information of the local network that the user equipment UE requests to access, instruct the home base station to establish the radio bearer of the local network for the UE, and access the local network to the local network; The type of the Internet Protocol IP address, and instructing the UE to acquire the IP address of the type from the home base station;
家庭基站,用于根据所述用户移动控制管理实体发送的为 UE建立本地网 络的承载的指示, 为该 UE建立本地网络的无线承栽, 并根据该 UE发送的请 求分配 IP地址的消息, 为该 UE分配 IP地址。  The home base station is configured to establish, according to the user mobility control management entity, an indication of establishing a bearer of the local network for the UE, establish a wireless bearer of the local network for the UE, and allocate an IP address message according to the request sent by the UE, where The UE allocates an IP address.
本发明实施例提供的一种用户设备包括:  A user equipment provided by an embodiment of the present invention includes:
请求接入本地网络单元, 用于将所述用户设备请求接入的本地网络的信 息发送给家庭基站, 并通过所述家庭基站为所述用户设备建立的本地网络的 无线承载, 接入本地网络; Requesting access to a local network unit, a letter for a local network requesting access by the user equipment The information is sent to the home base station, and accesses the local network by using the radio bearer of the local network established by the home base station for the user equipment;
IP地址类型获取单元, 用于接收用户移动控制管理实体的指示, 并从中 获取所述用户移动控制管理实体确定的本地网络为所述用户设备分配的因特 网协议 IP地址的类型;  An IP address type obtaining unit, configured to receive an indication of a user mobility control management entity, and obtain, from the medium network type, an IP address type assigned by the local network determined by the user mobility control management entity to the user equipment;
IP地址获取单元, 用于从家庭基站获取所述类型的 IP地址。  The IP address obtaining unit is configured to acquire the IP address of the type from the home base station.
本发明实施例提供的一种因特网协议 IP地址分配方法包括:  An Internet Protocol IP address allocation method provided by an embodiment of the present invention includes:
用户移动控制管理实体根据用户设备 UE请求接入的本地网络的信息 ,指 示家庭基站通过为该 UE建立本地网络的无线承栽, 将该 UE接入本地网络; 所述用户移动控制管理实体确定本地网络为 UE分配的 IP地址的类型, 并指示所述 UE从家庭基站获取该类型的 IP地址,以及指示家庭基站根据 UE 发送的请求分配 IP地址的消息, 为该 UE分配 IP地址,  The user mobility control management entity instructs the home base station to access the local network by establishing a wireless bearer of the local network for the UE according to the information of the local network that the user equipment UE requests to access; the user mobility control management entity determines the local The type of the IP address assigned by the network to the UE, and instructing the UE to obtain the IP address of the type from the home base station, and instructing the home base station to allocate an IP address according to the request sent by the UE, and assigning an IP address to the UE.
本发明实施例用户移动控制管理实体根据用户设备 UE请求接入的本地 网络的信息, 指示家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE 接入本地网络; 所述用户移动控制管理实体确定本地网络为 UE分配的 IP地 址的类型, 并指示所述 UE从家庭基站获取该类型的 IP地址; 家庭基站根据 UE发送的请求分配 IP地址的消息, 为该 UE分配 IP地址, 从而在本地网络 中没有核心网中的 PDN GW或 GGSN的情况下,通过家庭基站也可以实现为 UE分配 IP地址。 附图说明  According to the embodiment of the present invention, the user mobility control management entity, according to the information of the local network that the user equipment UE requests to access, instructs the home base station to establish the radio bearer of the local network for the UE, and access the local network to the local network; The entity determines the type of the IP address assigned by the local network to the UE, and instructs the UE to obtain the IP address of the type from the home base station; the home base station allocates an IP address according to the request sent by the UE, and allocates an IP address to the UE, thereby In the case where there is no PDN GW or GGSN in the core network in the local network, the IP address can be allocated to the UE through the home base station. DRAWINGS
图 1为本发明实施例提供的 UE通过家庭基站接入移动运营商网络和本地 网络的示意图;  FIG. 1 is a schematic diagram of a UE accessing a mobile operator network and a local network through a home base station according to an embodiment of the present disclosure;
图 2为本发明实施例提供的 IP地址分配方法的总体流程示意图; 图 3为本发明实施例提供的 UE Requested PDN Connectivity过程的示意 图;  2 is a schematic flowchart of an IP address allocation method according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a UE Requested PDN Connectivity process according to an embodiment of the present invention;
图 4为本发明实施例提供的 Attach过程的示意图; 图 5为本发明实施例提供的 Activate PDP Context过程的示意图; 图 6为本发明实施例提供的一种通信系统的结构示意图。 具体实施方式 4 is a schematic diagram of an Attach process according to an embodiment of the present invention; FIG. 5 is a schematic diagram of an Activate PDP Context process according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of a communication system according to an embodiment of the present invention. detailed description
本发明实施例提供了一种 IP地址分配方法及系统, 用以在不采用 PDN GW或 GGSN的本地网络中,通过用户移动控制管理实体确定本地网络为 UE 分配的 IP地址的类型, 并为 UE分配该类型的 IP地址。  An embodiment of the present invention provides an IP address allocation method and system for determining, by a user mobility control management entity, a type of an IP address allocated by a local network for a UE in a local network that does not use a PDN GW or a GGSN, and is a UE. Assign this type of IP address.
本发明实施例中所述的用户移动控制管理实体, 为 MME或 SGSN。  The user mobility control management entity described in the embodiment of the present invention is an MME or an SGSN.
现有技术中, 具有 IP能力的 UE可以通过家庭基站可以接入到移动运营 商网络( Mobile Operators Core network ), 本发明实施例中具有 IP能力的 UE 还可以通过家庭基站与家庭中支持 IP能力的设备相互连接,即接入本地网络。 但是, 由于本地网络没有核心网中的 PDN GW或 GGSN, 所以如果 UE通过 家庭基站接入本地网络, 则 UE无法通过核心网中的 PDN GW或 GGSN获取 IP地址, 因此本发明实施例提出在这种情况下, 用户移动控制管理实体指示 UE采用互联网工程任务组 ( IETF, Internet Engineering Task Force )的方式为 从家庭基站获取相应类型的 IP地址, 即通过版本 4 的动态主机配置协议 ( DHCPv4 ), 和 /或通过 IPv6无状态地址自配置方式, 为 UE分配 IP地址。  In the prior art, the IP-capable UE can access the mobile operator network (Mobile Operators Core network) through the home base station. In the embodiment of the present invention, the IP-capable UE can also support the IP capability through the home base station and the home. The devices are connected to each other, that is, to the local network. However, since the local network does not have a PDN GW or a GGSN in the core network, if the UE accesses the local network through the home base station, the UE cannot obtain an IP address through the PDN GW or the GGSN in the core network, so the embodiment of the present invention proposes In this case, the user mobility control management entity instructs the UE to obtain the corresponding type of IP address from the home base station by using the Internet Engineering Task Force (IETF), that is, through the dynamic host configuration protocol (DHCPv4) of the version 4, And/or assign an IP address to the UE through the IPv6 stateless address self-configuration mode.
较佳地, 本发明实施例提出的通过用户移动控制管理实体为 UE分配 IP 地址的方案, 适用于 UE通过家庭基站接入本地网络的情况下, 但是, 对于其 他不采用核心网中的 PDN GW或 GGSN分配 IP地址的情况, 同样也可以适 用。  Preferably, the solution for assigning an IP address to the UE by using the user mobility control management entity is applicable to the case where the UE accesses the local network through the home base station, but the PDN GW in the core network is not used. Or the case where the GGSN assigns an IP address, the same applies.
本发明实施例所述的本地网络, 是指与家庭基站相连的家庭网络或本地 因特网 ( Internet )。  The local network in the embodiment of the present invention refers to a home network or a local Internet (Internet) connected to a home base station.
所谓家庭网络, 是指与家庭基站连接的家庭网络设备, 例如: 一台或多 台家庭计算机、 网络打印机、 网络视频设备、 网络相机等等, 通过这些家庭 网络设备组成的本地局域网络即为家庭网络。  The so-called home network refers to the home network device connected to the home base station, for example: one or more home computers, network printers, network video devices, network cameras, etc., the local local area network formed by these home network devices is the family The internet.
所谓本地 Internet网络, 是指与家 站连接的可以接入到 Internet的网 00559 络。 The so-called local Internet network refers to the network that can be connected to the Internet connected to the home station. 00559 network.
如图 1所示,本发明实施例中的 UE不仅可以通过家庭基站连接到移动运 营商网络, 还可以通过家庭基站连接到家庭网络或本地 Internet网络, 并且, 当 UE连接到家庭网络或本地 Internet网络时, 还可以通过 MME或 SGSN获 取 IP地址。  As shown in FIG. 1 , the UE in the embodiment of the present invention can connect not only to the mobile operator network through the home base station, but also to the home network or the local Internet network through the home base station, and when the UE is connected to the home network or the local Internet. In the network, the IP address can also be obtained through the MME or the SGSN.
本发明实施例中所述的家庭基站, 包括普通的家庭基站 (HNB, Home NodeB )或演进的家庭基站(HeNB, Home eNodeB ), 其中, 与 MME相连的 为 HeNB, 与 SGSN相连的为 HNB。  The home base station in the embodiment of the present invention includes a common home base station (HNB, Home NodeB) or an evolved home base station (HeNB, Home eNodeB), wherein the HeNB is connected to the MME, and the HNB is connected to the SGSN.
参见图 2, 本发明实施例提供的一种 IP地址分配方法, 总体包括步骤: Referring to FIG. 2, an IP address allocation method provided by an embodiment of the present invention generally includes the following steps:
5101、用户移动控制管理实体根据 UE请求接入的本地网络的信息,指示 家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE接入本地网络。 The user mobility control management entity instructs the home base station to connect the UE to the local network by establishing a radio bearer of the local network for the UE according to the information of the local network that the UE requests to access.
5102、用户移动控制管理实体确定本地网络为 UE分配的 IP地址的类型, 并指示 UE以 IETF所定义的 IP地址分配方式从家庭基站获取该类型的 IP地 址。  5102. The user mobility control management entity determines a type of an IP address allocated by the local network to the UE, and instructs the UE to obtain the IP address of the type from the home base station by using an IP address allocation manner defined by the IETF.
5103、 家庭基站根据 UE发送的请求分配 IP地址的消息, 为该 UE分配 IP地址。  5103. The home base station allocates an IP address message according to the request sent by the UE, and allocates an IP address to the UE.
较佳地, 用户移动控制管理实体确定本地网络为 UE分配的 IP地址的类 型的步骤包括:  Preferably, the step of the user mobility control management entity determining the type of the IP address assigned by the local network to the UE comprises:
用户移动控制管理实体根据自身的配置信息, 以及 UE请求分配的 IP地 址的类型和该 UE的签约数据, 确定本地网络为 UE分配的 IP地址的类型, 可以选择这三个参数中都包含的 IP地址类型, 作为本地网络为 UE分配的 IP 地址的类型。 因此, 用户移动控制管理实体有可能改变 UE请求分配的 IP地 址的类型。  The user mobility control management entity determines the type of the IP address allocated by the local network for the UE according to the configuration information of the UE and the type of the IP address that the UE requests to allocate and the subscription data of the UE, and may select the IP included in the three parameters. The address type, which is the type of IP address assigned to the UE by the local network. Therefore, it is possible for the user mobility control management entity to change the type of IP address that the UE requests to allocate.
例如, UE通过自身请求的 PDN连接 ( UE Requested PDN Connectivity ) 过程或附着过程, 利用 MME获取 IP地址时:  For example, when the UE obtains an IP address through the UE Requested PDN Connectivity process or the attach procedure, using the MME:
UE通过 PDN连接请求(PDN Connectivity Request ) 消息或附着请求 ( Attach Request )消息请求的 IP地址类型是 IPv4v6、 UE的签约数据的 IP地 址类型是 IPv4v6, MME的配置中 IP地址类型只允许使用单一 IP地址, 则 The IP address type requested by the UE through the PDN Connectivity Request message or the Attach Request message is IPv4v6, the IP address of the UE's subscription data. The address type is IPv4v6. In the configuration of the MME, only the single IP address is allowed for the IP address type.
EPS bearer context request ) 消息或 PDN连接接受( PDN Connectivity Accept ) 消息或者附着接受(Attach Accept )消息中 PDN Type为 IPv4 (当然也可以为 IPv6 ), 同时在该消息中设置一个原因 (cause )值, 该原因值表示 "仅单一地 址承载( single address bearers only )", 即承栽只能与 UE的一个 IP地址关联。 然后, UE可以再次发起通过 PDN连接请求(PDN Connectivity Request ) 消 息, 以获取另一类型的 IP地址, 即 IPv6地址,此时, MME可以设置 Activate default EPS bearer context request 消息或 PDN Connectivity Accept消息中 PDN Type为 IPv6。 EPS bearer context request ) In the message or PDN Connectivity Accept message or the Attach Accept message, the PDN Type is IPv4 (of course, it can also be IPv6), and a cause value is set in the message. The reason value indicates "single address bearers only", that is, the bearer can only be associated with one IP address of the UE. Then, the UE may initiate a PDN Connectivity Request (PDN Connectivity Request) message to obtain another type of IP address, that is, an IPv6 address. At this time, the MME may set an Activate default EPS bearer context request message or a PDN in the PDN Connectivity Accept message. Type is IPv6.
UE通过 PDN连接请求(PDN Connectivity Request ) 消息或附着请求 ( Attach Request ) 消息请求的 IP地址类型是 IPv4v6、 UE的签约数据中的 IP 地址类型是 Π>ν4ν6,ΜΜΕ的配置允许使用 IPv4v6地址,则 MME设置 Activate default EPS bearer context request 消息或 PDN Connectivity Accept消息或者附 着接受 Attach Accept消息中 PDN Type为 IPv4v6。  The IP address type requested by the UE through the PDN Connectivity Request message or the Attach Request message is IPv4v6, and the IP address type in the subscription data of the UE is Π>ν4ν6, and the configuration of the UI allows the use of the IPv4v6 address. The MME sets the Activate default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept Accept message in the PDN Type to be IPv4v6.
再例如, UE通过发起的激活分组数据协议上下文过程, 利用 SGSN获取 IP地址时:  For another example, when the UE obtains an IP address by using the SGSN by using an activated packet data protocol context procedure:
UE通过激活分组数据协议上下文请求( Activate PDP Context Request )消 息请求的 IP地址类型是 IPv4v6、 UE的签约数据中的 IP地址类型是 IPv4v6, SGSN的配置只允许 PDP Context使用单一 IP地址, 则 SGSN设置激活 PDP 上下文接受( Activate PDP Context Accept ) 消息中 PDP Address Type为 IPv4 (当然也可以先设置为 IPv6 ),同时设置一个 cause值,指示 PDP Address Type 为 IPv4的原因为 single address bearers only. 此后, UE可以再次发送 Activate PDP Context Request消息, 此时 UE请求的 IP地址类型为 IPv6, 此时, SGSN 设置 Activate PDP Context Request 消息中 PDP Address Type为 IPv6。  The IP address type requested by the UE by activating the Activate PDP Context Request message is IPv4v6, the IP address type in the subscription data of the UE is IPv4v6, and the configuration of the SGSN only allows the PDP Context to use a single IP address, then the SGSN is set. In the Activate PDP Context Accept message, the PDP Address Type is IPv4 (of course, it can be set to IPv6 first), and a cause value is set. The reason that the PDP Address Type is IPv4 is single address bearers only. Thereafter, the UE The Activate PDP Context Request message can be sent again. The IP address type requested by the UE is IPv6. In this case, the SGSN sets the PDP Address Type in the Activate PDP Context Request message to IPv6.
如果 UE 通过激活分组数据协议上下文请求 (Activate PDP Context Request )消息请求的 IP地址类型是 IPv4v6、 UE的签约数据中的 IP地址类型 是 IPv4v6, SGSN的配置允许 PDP Context使用 IPv4v6地址, 则 SGSN设置 Activate PDP Context Request消息中 PDP Address Type为 IPv4v6。 If the IP address type requested by the UE by activating the Activate PDP Context Request message is IPv4v6, the IP address type in the subscription data of the UE It is IPv4v6. The configuration of the SGSN allows the PDP Context to use the IPv4v6 address. The SGSN sets the PDP Address Type in the Activate PDP Context Request message to IPv4v6.
较佳地, 当用户移动控制管理实体为 MME时, MME指示 UE以 IETF 所定义的 IP地址分配方式从家庭基站获取 IP地址的步骤包括:  Preferably, when the user mobility control management entity is the MME, the step of the MME indicating that the UE obtains the IP address from the home base station by using the IP address allocation manner defined by the IETF includes:
MME通过 Activate default EPS bearer context request 消息, 或 PDN Connectivity Accept消息或者附着接受( Attach Accept ) 消息指示 UE以 IETF 所定义的 IP地址分配方式从家庭基站获取 IP地址。  The MME indicates, by using the Activate default EPS bearer context request message, or the PDN Connectivity Accept message or the Attach Accept message, that the UE obtains an IP address from the home base station by using an IP address allocation manner defined by the IETF.
较佳地, MME通过 Activate default EPS bearer context request消息或 PDN Connectivity Accept消息或者 Attach Accept消息中的, 分组数据网类型( PDN Type )和分组数据网地址( PDN Address ), 指示 UE以 IETF所定义的 IP地址 分配方式从家庭基站获取 IP地址; 其中,  Preferably, the MME indicates, by means of an Activate default EPS bearer context request message or a PDN Connectivity Accept message or an Attach Accept message, a packet data network type (PDN Type) and a packet data network address (PDN Address), indicating that the UE is defined by the IETF. The IP address allocation method obtains an IP address from the home base station;
当 MME确定本地网络为 UE分配的 IP地址为版本 4的因特网协议 ( IPv4 ) 地址时, MME设置 PDN Type为仅 IPv4 ( IPv4 Only ), 并设置 PDN Address 为零(即 0.0.0.0 ); 地址时, MME设置 PDN Type为仅 IPv6 ( IPv6 Only ), 并为该 UE分配 IPv6 接口标识( Interface Identity ), 将该 IPv6 Interface Identit 设置在 PDN Address 中, 同时将 IPv6地址中需要包含的地址前缀( IPv6 Prefix )设置为全零;  When the MME determines that the IP address assigned by the local network to the UE is the version 4 Internet Protocol (IPv4) address, the MME sets the PDN Type to IPv4 only (IPv4 Only), and sets the PDN Address to zero (ie 0.0.0.0); The MME sets the PDN Type to IPv6 only (IPv6 Only), and assigns the IPv6 interface identifier (Interface Identity) to the UE, sets the IPv6 Interface Identit in the PDN Address, and also needs to include the address prefix (IPv6 Prefix) in the IPv6 address. ) set to all zeros;
当 MME确定本地网络为 UE分配的 DP地址为版本 4和版本 6的因特网 协议(IPv4v6 )地址时, MME设置 PDN Type为 IPv4v6,并设置 PDN Address 中的 IPv4地址为零(即 0.0.0.0 ), 为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDN Address的 IPv6地址中, 同时将 IPv6地址 中需要包含的地址前缀(IPv6 Prefix )设置为全零。  When the MME determines that the DP address assigned by the local network to the UE is the Internet Protocol (IPv4v6) address of version 4 and version 6, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to be zero (ie, 0.0.0.0). The IPv6 Interface Identity is assigned to the UE, and the IPv6 Interface Identity is set in the IPv6 address of the PDN Address, and the address prefix (IPv6 Prefix) to be included in the IPv6 address is set to all zeros.
较佳地, 当用户移动控制管理实体为 SGSN时, SGSN指示 UE以 IETF 所定义的 IP地址分配方式从家庭基站获取 IP地址的步骤包括:  Preferably, when the user mobility control management entity is the SGSN, the step of the SGSN indicating that the UE obtains the IP address from the home base station by using the IP address allocation manner defined by the IETF includes:
SGSN通过激活分组数据协议上下文接受( Activate PDP Context Accept ) 消息, 指示 UE以 IETF所定义的 IP地址分配方式从家庭基站获取 IP地址。 较佳地, SGSN通过 Activate PDP Context Accept消息中的分组数据协议 地址类型( PDP Address Type )和分组数据协议地址(PDP Address ), 指示 UE 以 IETF所定义的 IP地址分配方式从家庭基站获取 IP地址; 其中, The SGSN instructs the UE to obtain an IP address from the home base station in an IP address allocation manner defined by the IETF by activating an Activate PDP Context Accept message. Preferably, the SGSN instructs the UE to obtain an IP address from the home base station by using an IP address allocation manner defined by the IETF by using a PDP Address Type and a PDP Address in the Activate PDP Context Accept message. ; among them,
当 SGSN确定本地网络为 UE分配的 IP地址为 IPv4地址时, SGSN设 置 PDP Address Type为仅 IPv4, 并设置 PDP Address为零(即 0,0.0.0 );  When the SGSN determines that the IP address assigned by the local network to the UE is an IPv4 address, the SGSN sets the PDP Address Type to IPv4 only, and sets the PDP Address to zero (ie, 0, 0.0.0);
当 SGSN确定本地网络为 UE分配的 IP地址为 IPv6地址时, SGSN设 置 PDP Address Type为仅 IPv6, 并为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identit 设置在 PDP Address中;  When the SGSN determines that the IP address assigned by the local network to the UE is an IPv6 address, the SGSN sets the PDP Address Type to IPv6 only, and assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identit in the PDP Address;
当 SGSN确定本地网络为 UE分配的 IP地址为 IPv4v6地址时, SGSN 设置 PDP Address Type为 IPv4v6,并设置 PDP Address中的 IPv4地址为零(即 0.0.0.0 ), 为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设 置在 PDP Address的 IPv6地址中。  When the SGSN determines that the IP address assigned by the local network to the UE is an IPv4v6 address, the SGSN sets the PDP Address Type to IPv4v6, and sets the IPv4 address in the PDP Address to be zero (ie, 0.0.0.0), and assigns the IPv6 Interface Identity to the UE. The IPv6 Interface Identity is set in the IPv6 address of the PDP Address.
较佳地, 步骤 S103包括:  Preferably, step S103 includes:
家庭基站根据 UE发送的请求分配 IP地址的消息, 通过版本 4的动态主 机配置协议(DHCPv4 ), 和 /或通过 IPv6 无状态地址自配置(IPv6 Stateless Address Autoconfiguration )方式, 为该 UE分配 IP地址。  The home base station allocates an IP address according to the request sent by the UE, and assigns an IP address to the UE through the Dynamic Host Configuration Protocol (DHCPv4) of version 4 and/or the IPv6 Stateless Address Autoconfiguration.
其中 , 通过 DHCPv4为 UE分配的 IP地址为 IPv4地址, 通过 IPv6无状 态地址自配置方式为 UE分配的 IP地址为 IPv6地址。  The IP address assigned to the UE by the DHCPv4 is an IPv4 address, and the IP address assigned to the UE by the IPv6 stateless address self-configuration mode is an IPv6 address.
例如:  E.g:
对于 HeNB, 当 MME确定本地网络为 UE分配 IPv4地址时, MME设置 Activate default EPS bearer context request 消息或 PDN Connectivity Accept消 息或 Attach Accept消息中 PDN Type为 IPv4 Only, 且设置 PDN Address为零 (即 0.0.0.0 )。 UE通过 PDN Type和 PDN Address这两个标识就可以确定需要 通过 DHCPv4来获取 IPv4地址, 从而在完成 UE到本地网络的 PDN连接后, UE可以使用 DHCPv4从家庭基站获取 IPv4地址。  For the HeNB, when the MME determines that the local network allocates an IPv4 address to the UE, the MME sets the Activate default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept message, the PDN Type is IPv4 Only, and the PDN Address is set to zero (ie, 0.0. 0.0). The UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDN Type and the PDN Address. After completing the PDN connection between the UE and the local network, the UE can obtain the IPv4 address from the home base station by using DHCPv4.
在实际的编码的过程中, 是将 PDN Type与 PDN Address定义在一起的, 如下面的表 1所示,其中八位字节 3中的 PDNType值(Value )是定义的 PDN Type, 而字节 4到字节 15携带的是真正的 PDN Address信息。 In the actual encoding process, the PDN Type is defined together with the PDN Address, as shown in Table 1 below, where the PDNType value (Value) in the octet 3 is the defined PDN. Type, and byte 4 to byte 15 carry the true PDN Address information.
6 5 3 2 6 5 3 2
PDN address信元标识(ΙΕΙ)
Figure imgf000012_0001
PDN address cell identifier (ΙΕΙ)
Figure imgf000012_0001
字节 4至  Byte 4 to
PDN address信息 字节 15 表 1  PDN address information Byte 15 Table 1
特别地, 当 PDN Type为 IPv4v6时, 字节 4到字节 11携带的是 IPv6 的 接口标识, 而字节 12到字节 15携带的则是 IPv4地址。  Specifically, when the PDN Type is IPv4v6, byte 4 to byte 11 carry the IPv6 interface identifier, and bytes 12 to 15 carry the IPv4 address.
UE使用 DHCPv4从家庭基站获取 IPv4地址的步骤包括:  The steps for the UE to obtain an IPv4 address from the home base station using DHCPv4 include:
步骤 1 : UE 通过广播的方式发送动态主机配置协议发现 (DHCP Discovery ) 消息给动态主机配置协议服务器( DHCP Server ), 即家庭基站。  Step 1: The UE sends a Dynamic Host Configuration Protocol Discovery (DHCP Discovery) message to the Dynamic Host Configuration Protocol Server (DHCP Server), that is, the home base station.
步驟 2: DHCP Server回应 UE,发送动态主机配置协议提供( DHCP Offer ) 消息(在一个网络中有可能存在着多个 DHCP Server, 因字字字此同一 UE有可能接  Step 2: The DHCP server responds to the UE and sends a dynamic host configuration protocol (DHCP Offer) message (multiple DHCP servers may exist in one network, because the same UE may be connected to the word.
节节节  Festival
收到多个 DHCP Offer的响应),此消息在客户端的 IP域已包含了分配给 UE 的 IP地址, 并且在服务器端的 IP域中包含了 DHCP Server的 IP地址。 Received multiple DHCP Offer responses. This message already contains the IP address assigned to the UE in the client's IP domain, and contains the DHCP Server IP address in the server's IP domain.
步骤 3: UE选定一个 DHCP Server (如果有多个 DHCP Server的话), 向此 DHCP Server发送动态主机配置协议请求( DHCP Request ) 消息, 请求 DHCP Server分配一个 IPv4地址。在此请求消息中包含客户端硬件地址( Client hardware Address )、客户端标识 ( Client Identifier )等参数。其中 Client hardware Address用于标识此 UE, 为了防止 Client hardware Address出现沖突, UE还 可以携带 Client Identifier参数来唯一地标识自己。  Step 3: The UE selects a DHCP Server (if there are multiple DHCP Servers), sends a Dynamic Host Configuration Protocol Request (DHCP Request) message to the DHCP Server, and requests the DHCP Server to allocate an IPv4 address. The request message includes parameters such as the client hardware address (Client hardware address) and the client identifier (Client Identifier). The Client hardware address is used to identify the UE. To prevent the client hardware address from colliding, the UE can also carry the Client Identifier parameter to uniquely identify itself.
步骤 4: DHCP Server分配一个 IPv4地址给此 UE, 并发送动态主机配 置协议确认 ( DHCP Ack ) 消息给该 UE。 此消息中包含的 "Your (client) IP address"是分配给 UE的 IPv4地址,还包含有: IP地址的更新时间值( Renewal Time Value ), IP地址的重绑定时间值( Rebinding Time Value ), IP地址租用时 间( IP Address Lease Time ), IP地址的子网掩码( Subnet Mask ),域名( Domain Name ), 域名服务器等其它参数。 Step 4: The DHCP Server assigns an IPv4 address to the UE and sends a Dynamic Host Configuration Protocol Acknowledgement (DHCP Ack) message to the UE. The "Your (client) IP address" contained in this message is the IPv4 address assigned to the UE. It also includes: Renewal Time Value of the IP address, and Rebinding Time Value of the IP address. , IP Address Lease Time, Subnet Mask of IP Address, Domain Name (Domain Name ), domain name server and other parameters.
其中,步骤 1和 2是 DHCP Server的发现过程;步骤 3和 4是真正的 IPv4 地址动态分配过程。 Wherein, steps 1 and 2 of the discovery process DHCP Server; Step 3 and 4 are true IPv 4 address of the dynamic allocation.
对于 HeNB, 当 MME确定本地网络为 UE分配 IPv6地址时, MME设置 Activate default EPS bearer context request消息或 PDN Connectivity Accept消 息或 Attach Accept消息中 PDN Type为 IPv6 Only,且为 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identit 设置在 PDN Address中。 由于要求 UE总 是通过 IPv6无状态地址自配置方式来获取 IPv6地址,因此 UE通过 PDN Type 和 PDN Address这两个标识就可以确定需要使用 IPv6无状态地址自配置方式 来获取 IPv6地址,从而在完成 UE到本地网络的 PDN连接后,可以使用 IPv6 无状态地址自配置方式从家庭基站获取 IPv6地址。  For the HeNB, when the MME determines that the local network allocates an IPv6 address to the UE, the MME sets the Activate Default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept message, and the PDN Type is IPv6 Only, and assigns the IPv6 Interface Identity to the UE. The IPv6 Interface Identit is set in the PDN Address. Because the UE is required to obtain the IPv6 address through the IPv6 stateless address self-configuration mode, the UE can determine that the IPv6 stateless address self-configuration mode is required to obtain the IPv6 address through the two identifiers of the PDN Type and the PDN Address. After the UE connects to the PDN of the local network, the IPv6 stateless address self-configuration mode can be used to obtain an IPv6 address from the home base station.
UE使用 IPv6无状态地址自配置方式从家庭基站获取 IPv6地址的步骤包 括:  The steps for the UE to obtain an IPv6 address from the home base station using the IPv6 stateless address self-configuration mode include:
IPv6路由器通过路由器通告消息( Router Advertisement Message )周期性 地多播(Multicast )—个 IPv6 Prefix, UE得到这个 IPv6 Prefix后, 就可以利 用 IPv6 Prefix以及 IPv6接口标识自动产生一个 IPv6地址,即 IPv6地址 = IPv6 Prefix + IPv6 Interface Identity。  The IPv6 router periodically multicasts (Multicast)-IPv6 Prefix through the Router Advertisement Message. After the IPv6 Prefix is obtained, the UE can automatically generate an IPv6 address by using the IPv6 Prefix and the IPv6 interface identifier, that is, the IPv6 address = IPv6 Prefix + IPv6 Interface Identity.
由于 IPv6 路由器是通过一定的时间间隔周期性地多播 Router Advertisement Message消息的, 为了加快地址分配过程, UE可以通过主动发 送一个多播路由器请求消息( Router Solicitation Message ), 请求 IPv6路由器 提供一个 IPv6 Prefix, IPv6路由器接收到这个路由器请求消息后, 立即向 UE 发送 Router Advertisement Message消息, 为 UE提供一个 IPv6 Prefix。  The IPv6 router periodically multicasts the Router Advertisement message message at a certain interval. To speed up the address allocation process, the UE may request an IPv6 router to provide an IPv6 Prefix by sending a multicast Solicitation Message (Active Solicitation Message). After receiving the router request message, the IPv6 router immediately sends a Router Advertisement Message to the UE to provide an IPv6 Prefix for the UE.
对于接入本地网络时的 IPv6无状态地址自配置方式,上面所述的 IPv6路 由器, 就是家庭基站。 也就是说, 当本地网络采用 IPv6无状态地址自配置方 式为 UE分配 IP地址时, 家庭基站具有 IPv6路由器的功能。  For the IPv6 stateless address self-configuration mode when accessing the local network, the IPv6 router described above is the home base station. That is to say, when the local network adopts an IPv6 stateless address self-configuration method to allocate an IP address to the UE, the home base station has the function of an IPv6 router.
UE的 IPv6地址是由 IPv6地址前缀( IPv6 Prefix )和 IPv6 Interface Identity 构成的,由于 UE的 IPv6地址与 IPv6 Prefix是 对应的,因此 IPv6 Interface Identity可以对不同的 UE取相同的值, MME为 UE分配的 IPv6 Interface Identity与 MME自己的 IPv6 Interface Identit 不同。 The IPv6 address of the UE is composed of an IPv6 address prefix (IPv6 Prefix) and an IPv6 Interface Identity. Since the IPv6 address of the UE corresponds to the IPv6 Prefix, the IPv6 Interface is used. The Identity can take the same value for different UEs. The IPv6 Interface Identity assigned by the MME to the UE is different from the MME's own IPv6 Interface Identit.
对于 HeNB, 当 MME确定本地网络为 UE分配 IPv4v6地址时, MME设 置 Activate default EPS bearer context request消息或 PDN Connectivity Accept 消息或 Attach Accept消息中 PDN Type为 IPv4v6, 并且设置 PDN Address中 的 IPv4地址部分为全零 (即 0.0.0.0 ), 在 PDN Address中的 IPv6地址部分设 置一个 8个字节的长度的 IPv6 Interface Identity,此 IPv6 Interface Identity是由 MME分配的。 UE通过 PDN Type和 PDN Address这两个标识就可以确定需 要通过 DHCPv4来获取 IPv4地址, 且通过 IPv6无状态地址自配置方式来获 取 IPv6地址。从而在完成 UE到本地网络的 PDN连接后, UE可以使用 DHCPv4 从家庭基站获取 IPv4地址,并可以使用 IPv6无状态地址自配置方式从家庭基 站获取 IPv6地址。  For the HeNB, when the MME determines that the local network allocates an IPv4v6 address to the UE, the MME sets the Activate default EPS bearer context request message or the PDN Connectivity Accept message or the Attach Accept message, the PDN Type is IPv4v6, and sets the IPv4 address part in the PDN Address to be full. Zero (ie 0.0.0.0), an IPv6 Interface Identity of 8 bytes in length is set in the IPv6 address part of the PDN Address. This IPv6 Interface Identity is assigned by the MME. The UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDN Type and the PDN Address, and obtain the IPv6 address through the IPv6 stateless address self-configuration. Therefore, after completing the PDN connection of the UE to the local network, the UE can obtain the IPv4 address from the home base station by using DHCPv4, and can obtain the IPv6 address from the home base station by using the IPv6 stateless address self-configuration mode.
对于 HNB, 当 SGSN确定本地网络为 UE分配的 IP地址为 IPv4地址时, SGSN设置 Activate PDP Context Accept消息中 PDP Address Type为 IPv4 Only, 且设置 PDP Address为零(即 0.0.0.0 )。 UE通过 PDP Address Type和 PDP Address这两个标识就可以确定需要通过 DHCPv4来获取 IPv4地址, 从而在 完成 UE到本地网络的 PDN连接后, UE可以使用 DHCPv4从家庭基站获取 IPv4地址。并且同理,如同表 1,在实际的编码的过程中,是将 PDP Address Type 和 PDP Address定义在一起的。  For the HNB, when the SGSN determines that the IP address assigned by the local network to the UE is an IPv4 address, the SGSN sets the PDP Address Type in the Activate PDP Context Accept message to IPv4 Only, and sets the PDP Address to zero (ie, 0.0.0.0). The UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDP Address Type and the PDP Address. After completing the PDN connection between the UE and the local network, the UE can obtain the IPv4 address from the home base station by using DHCPv4. And similarly, as in Table 1, in the actual encoding process, the PDP Address Type and PDP Address are defined together.
对于 HNB, 当 SGSN确定本地网络为 UE分配的 IP地址为 IPv6地址时, SGSN设置 Activate PDP Context Accept消息中 PDP Address Type为 IPv6 Only, 且为 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDP Address中。 UE通过 PDP Address Type和 PDP Address这两个标识就可以确定 需要使用 IPv6无状态地址自配置方式获取 IPv6地址,从而在完成 UE到本地 网络的 PDN连接后, 可以使用 IPv6无状态地址自配置方式从家庭基站获取 IPv6地址。  For the HNB, when the SGSN determines that the IP address assigned by the local network to the UE is an IPv6 address, the SGSN sets the PDP Address Type in the Activate PDP Context Accept message to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity to the PDP. In the Address. The UE can determine that the IPv6 stateless address is required to obtain an IPv6 address through the PDP Address Type and the PDP Address. After completing the PDN connection between the UE and the local network, the UE can use the IPv6 stateless address self-configuration mode. The home base station obtains an IPv6 address.
对于 HNB, 当 SGSN确定本地网络为 UE分配的 IP地址为 IPv4v6地址 时, SGSN设置 Activate PDP Context Accept消息中 PDP Address Type为 IPv4v6 , 并且设置 PDP Address中的 IPv4地址部分为全零(即 0.0.0.0 ), 在 PDP Address 中的 IPv6地址部分设置一个 8个字节的长度的 IPv6 Interface Identity。 UE通过 PDP Address Type和 PDP Address这两个标识就可以确定需 要通过 DHCPv4来获取 IPv4地址, 且通过 IPv6无状态地址自配置方式获取 IPv6地址。从而在完成 UE到本地网络的 PDN连接后, UE可以使用 DHCPv4 从家庭基站获取 IPv4地址,并可以使用 IPv6无状态地址自配置方式从家庭基 站获取 IPv6地址。 For HNB, when the SGSN determines that the IP address assigned by the local network to the UE is an IPv4v6 address When the SGSN sets the PDP Address Type in the Activate PDP Context Accept message to IPv4v6, and sets the IPv4 address part in the PDP Address to all zeros (ie 0.0.0.0), and sets an 8-byte in the IPv6 address part of the PDP Address. The length of the IPv6 Interface Identity. The UE can determine that the IPv4 address needs to be obtained through DHCPv4 through the two identifiers of the PDP Address Type and the PDP Address, and obtain the IPv6 address through the IPv6 stateless address self-configuration mode. Therefore, after completing the PDN connection of the UE to the local network, the UE may obtain an IPv4 address from the home base station by using DHCPv4, and may obtain an IPv6 address from the home base station by using an IPv6 stateless address self-configuration manner.
上述 IPv6 Interface Identity, 是由 MME或 SGSN采用随机算法根据 UE 的标识随机计算得到的。 由于在现有技术中 MME或 SGSN要服务于大量的 用户, 一个 MME或 SGSN服务的 UE数量可以达到 100万,通过一种随机算 法计算得到的 IPv6 Interface Identity很容易与 PDN GW或 GGSN的 IPv6 Interface Identity相同, 所以在现有规范中不通过 MME或 SGSN分配 UE的 IPv6 Interface Identity,然而,本发明实施例提出,对于家庭网络或本地 Internet 网络,由于其服务的用户的数量较小,几乎不会超过 1000,因此 MME或 SGSN 即使通过计算得到 8个字节长度的 IPv6 Interface Identity, 也不会出现与家庭 基站的 IPv6 Interface Identity相同的情况(在家庭网络或本地 Internet网络中, 是由家庭基站来进行 UE的 IP地址分配的,因此 MME或 SGSN计算出的 IPv6 Interface Identity不能与家庭基站的 IPv6 Interface Identity相同)。  The above IPv6 Interface Identity is randomly calculated by the MME or the SGSN using a random algorithm according to the identity of the UE. Since the MME or SGSN serves a large number of users in the prior art, the number of UEs served by one MME or SGSN can reach 1 million, and the IPv6 Interface Identity calculated by a random algorithm is easy to communicate with the IPv6 Interface of the PDN GW or GGSN. The identity is the same, so the IPv6 Interface Identity of the UE is not allocated by the MME or the SGSN in the existing specifications. However, the embodiment of the present invention proposes that for the home network or the local Internet network, since the number of users serving the service is small, it is hardly More than 1000, so even if the MME or SGSN obtains the IPv6 Interface Identity of 8 bytes in length, the same situation as the IPv6 Interface Identity of the home base station does not occur (in the home network or the local Internet network, it is the home base station). The IP address allocation of the UE is performed. Therefore, the IPv6 Interface Identity calculated by the MME or the SGSN cannot be the same as the IPv6 Interface Identity of the home base station.
另外, 由于可能有多个 UE同时接入到家庭网络或本地 Internet网络中, 而家庭网络或本地 Internet网络有可能不是^:个 UE分配不同的 IPv6 Prefix, 因此 MME或 SGSN计算出的各个 IPv6 Interface Identity尽量不重复出现。 同 时, 要求 UE使用 MME或 SGSN所提供的 IPv6 Interface Identity, 而尽量不 使用 UE自己的 Interface Identity.  In addition, since there may be multiple UEs accessing the home network or the local Internet network at the same time, the home network or the local Internet network may not be: the UEs allocate different IPv6 Prefix, so each IPv6 Interface calculated by the MME or the SGSN Identity does not repeat as much as possible. At the same time, the UE is required to use the IPv6 Interface Identity provided by the MME or the SGSN, and try not to use the UE's own Interface Identity.
例如, MME或 SGSN采用的随机算法是:  For example, the random algorithm used by the MME or SGSN is:
f(n ) =f(n-l)+l , 其中, n为大于或等于 0的整数。  f(n) = f(n - l) + l , where n is an integer greater than or equal to zero.
f(0)是任何的一个 8字节长的数据, 当 MME或 SGSN每次将 F(n)递增 1 后的值作为 IPv6 Interface Identity分配给 UE。 显然这种算法可以保证分配给 UE的 IPv6 Interface Identity不会在一个家庭网络或本地 Internet网络中重复出 现。 f(0) is any 8-byte long data, when the MME or SGSN increments F(n) every time. The latter value is assigned to the UE as an IPv6 Interface Identity. Obviously this algorithm can guarantee that the IPv6 Interface Identity assigned to the UE will not be repeated in a home network or a local Internet network.
较佳地, 在 MME或 SGSN确定本地网络为 UE分配的 IP地址的类型的 过程中, MME/SGSN进一步还可以结合本地网络所能支持的 IP地址类型, 确定本地网络为 UE分配的 IP地址的类型, 即 MME或 SGSN所确定的本地 网络为 UE分配的 IP地址的类型, 需要是本地网络所能支持的 IP地址类型。  Preferably, in the process of determining, by the MME or the SGSN, the type of the IP address allocated by the local network to the UE, the MME/SGSN may further determine the IP address allocated by the local network to the UE according to the IP address type that the local network can support. The type, that is, the type of IP address assigned by the local network determined by the MME or the SGSN to the UE, needs to be an IP address type that the local network can support.
MME/SGSN获知本地网络所能支持的 IP地址类型的方法有很多, 例如: 一种方法是通过 OAM ( Operations, Administration and Maintenance,操作、 管理和维护)或其它的方式, 将本地网络所能支持的 IP地址类型信息预先配 置到 MME/SGSN上。  There are many ways for the MME/SGSN to know the type of IP address that the local network can support. For example: One method is to support the local network through OAM (Operation, Administration and Maintenance) or other methods. The IP address type information is pre-configured to the MME/SGSN.
另一种方法是家庭基站主动上报与自身连接的本地网络所能支持的 IP地 址类型信息给 MME或 SGSN; 或者, 家庭基站根据 MME或 SGSN的请求, 上报与自身连接的本地网络所能支持的 IP地址类型信息。  Another method is that the home base station actively reports the IP address type information that can be supported by the local network connected to itself to the MME or the SGSN. Alternatively, the home base station reports the local network connected to itself according to the request of the MME or the SGSN. IP address type information.
其中, 家庭基站自动上报本地网络所能支持的 IP地址类型信息的触发条 件也可以有多种, 可以是在家庭基站启动时, 或在家庭基站的本地网络发生 改变时, 例如家庭基站原来没有连接本地网络, 当家庭基站与一个本地网络 连接了或本地网络功能启动了,则家庭基站自动向 MME/SGSN上报该家庭基 站所连接的本地网络所支持的 IP地址类型。  The triggering conditions for the home base station to automatically report the IP address type information that can be supported by the local network may also be multiple, when the home base station is started, or when the home network of the home base station changes, for example, the home base station is not connected. The local network, when the home base station is connected to a local network or the local network function is activated, the home base station automatically reports the IP address type supported by the local network to which the home base station is connected to the MME/SGSN.
另外, 在 UE接入本地网络的情况下, UE通过 DHCPv4来获取 IPv4地 址, 和 /或通过 IPv6无状态地址自配置方式来获取的 IPv6地址, 是由家庭基 站分配的。 当家庭基站支持家庭网络或本地 Internet网络时, 家庭基站具有采 用 DHCPv4分配 IPv4地址, 以及采用 IPv6无状态地址自配置方式分配 IPv6 地址的功能。  In addition, in the case that the UE accesses the local network, the UE obtains the IPv4 address through DHCPv4, and/or the IPv6 address obtained through the IPv6 stateless address self-configuration mode, which is allocated by the home base station. When the home base station supports the home network or the local Internet network, the home base station has the function of assigning an IPv4 address by using DHCPv4 and assigning an IPv6 address by using an IPv6 stateless address self-configuration manner.
从 UE的角度来看, UE的 IP地址是由家庭基站所提供,也就是由家庭基 站来分配的。这时存在着两种情形:一种情形是家庭基站拥有一个 IP地址池, 分配给 UE的 IP地址是来自于此 IP地址池的; 另一种情形是家庭基站没有一 T N2010/00 559 个 IP地址池, 家庭基站分配给 UE 的 Π>地址实际上是由家庭网络或本地 Internet网络中的某个设备所提供的, 家庭基站可采用 3GPP规范中所定义的 Diameter协议、或拨号用户业务远程认证 ( Radius, Remote Authentication Dial In User Service )协议、 或 DHCP从家庭网络或本地 Internet网络的设备中获 取 IP地址, 然后将此 IP地址分配给 UE, 并发送给 UE。 From the perspective of the UE, the IP address of the UE is provided by the home base station, that is, by the home base station. There are two situations at this time: one situation is that the home base station has an IP address pool, and the IP address assigned to the UE is from the IP address pool; the other case is that the home base station does not have one. T N2010/00 559 IP address pools, the Π> address assigned by the home base station to the UE is actually provided by a device in the home network or the local Internet network, and the home base station can adopt the Diameter protocol defined in the 3GPP specifications. Or, the Radius (Remote Authentication Dial In User Service) protocol, or DHCP obtains an IP address from a device on the home network or the local Internet network, and then assigns the IP address to the UE and sends the IP address to the UE.
下面给出本发明实施例提供的三个实现 UE接入本地网络的具体实施例。 实施例 1 :  The following is a specific embodiment of three implementations of the UE to access the local network provided by the embodiment of the present invention. Example 1
参见图 3,本发明实施例提供的 UE请求的 PDN连接(UE Requested PDN Connectivity )过程, 具体包括步骤:  Referring to FIG. 3, the UE Requested PDN Connectivity process provided by the embodiment of the present invention includes the following steps:
1、 UE若需要发起一个 PDN连接, 则 UE发送 PDN连接请求(PDN Connectivity Request )消息给 HeNB ,并且 HeNB将该 PDN Connectivity Request 消息转发给移动性管理实体(MME )。  1. If the UE needs to initiate a PDN connection, the UE sends a PDN Connectivity Request (PDN Connectivity Request) message to the HeNB, and the HeNB forwards the PDN Connectivity Request message to the Mobility Management Entity (MME).
PDN Connectivity Request消息中包括: 接入点名称( APN ), PDN Type, 协议配置选项 ( Protocol Configuration Options )和请求类型 ( Request Type )。  The PDN Connectivity Request message includes: Access Point Name (APN), PDN Type, Protocol Configuration Options, and Request Type.
在 PDN Connectivity Request中携带的 APN和 Request Type都可以用于 指示 UE请求接入的本地网络的类型信息,但是在允许 UE接入同一类型的多 个本地网络的情况下, 如果要明确 UE请求接入的是哪一个具体的本地网络, 则需要 APN来指示。  Both the APN and the Request Type carried in the PDN Connectivity Request can be used to indicate the type information of the local network that the UE requests to access, but in the case that the UE is allowed to access multiple local networks of the same type, if the UE requests to be clear Which specific local network is entered, an APN is required to indicate.
若 UE新建的 PDN连接是到家庭网络的,则 UE可设置 PDN Connectivity Request消息中的 Request Type为家庭请求( Home Request )。  If the newly established PDN connection of the UE is to the home network, the UE may set the Request Type in the PDN Connectivity Request message to be a Home Request.
若 UE新建的 PDN连接是到本地 Internet网络的, 则 UE可设置 PDN Connectivity Request消息中的 Request Type为 Internet请求 ( Internet Request )。  If the newly created PDN connection of the UE is to the local Internet network, the UE may set the Request Type in the PDN Connectivity Request message to be an Internet Request (Internet Request).
也就是说, 当 Request Type为 Home Request时, UE请求接入家庭网络; 当所述 Request Type为 Internet Request时, UE请求接入本地因特网。  That is, when the Request Type is Home Request, the UE requests access to the home network; when the Request Type is Internet Request, the UE requests access to the local Internet.
2、 MME接收到 PDN Connectivity Request消息后, 发送 PDN连接接受 ( PDN Connectivity Accept ) 消息给 HeNB 。  2. After receiving the PDN Connectivity Request message, the MME sends a PDN Connectivity Accept message to the HeNB.
需要说明的是, 该步骤 2中 MME发送给 HeNB的消息, 对于 TS23.401 协议来说是 PDN Connectivity Accept, 而对于 TS24.301协议来说则是激活缺 省 EPS承栽上下文请求( Activate default EPS bearer context request )消息。 但 实际上这两个消息是相同的消息, 而在不同的协议中使用了不同的名称。 It should be noted that the message sent by the MME to the HeNB in step 2 is for TS23.401. The protocol is PDN Connectivity Accept, and for the TS24.301 protocol is the Activate default EPS bearer context request message. But in fact these two messages are the same message, and different names are used in different protocols.
PDN Connectivity Accepti或其等价消息 Activate default EPS bearer context request ) 消息中包括: APN, PDN Type, PDN地址(PDN Address ), EPS承载 标识( EPS Bearer Id ),和协议配置选项 ( Protocol Configuration Options )。  The PDN Connectivity Accepti or its equivalent message includes: APN, PDN Type, PDN Address, EPS Bearer Id, and Protocol Configuration Options.
MME根据接收到的 PDN连接请求(PDN Connectivity Request ) 消息中 APN和 /或 Request Type确定 UE请求接入到本地网络。然后, MME根据 PDN 连接请求( PDN Connectivity Request ) 消息中 PDN Type的 IP地址类型、 UE 的签约数据, MME的配置中的 IP地址类型确定 PDN Connectivity Accept (或 其等价消息 Activate default EPS bearer context request ) 消息中的 PDN Type。  The MME determines that the UE requests access to the local network according to the APN and/or Request Type in the received PDN Connectivity Request message. Then, the MME determines the PDN Connectivity Accept (or its equivalent message EPS default) based on the IP address type of the PDN Type in the PDN Connectivity Request message, the subscription data of the UE, and the IP address type in the configuration of the MME. ) The PDN Type in the message.
当 MME确定本地网络为 UE分配的 IP地址为 IPv4地址时, MME设置 PDN Type为 IPv4 Only, 并设置 PDN Address为零(即 0.0.0.0 ); 当 MME确 定本地网络为 UE分配的 IP地址为 IPv6地址时, MME设置 PDN Type为 IPv6 Only, 并为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置 在 PDN Address中, 同时将 IPv6地址中 IPv6 Prefix设置为全零; 当 MME确 定本地网络为 UE分配的 IP地址为 IPv4v6地址时, MME设置 PDN Type为 IPv4v6, 并设置 PDN Address中的 IPv4地址为零(即 0.0.0.0 ), 为该 UE分配 IPv6 Interface Identity,将该 IPv6 Interface Identity设置在 PDN Address的 IPv6 地址中, 同时将 IPv6地址中 IPv6 Prefix设置为全零。  When the MME determines that the IP address assigned by the local network to the UE is an IPv4 address, the MME sets the PDN Type to IPv4 Only, and sets the PDN Address to be zero (ie, 0.0.0.0); when the MME determines that the IP address assigned by the local network to the UE is IPv6. When the address is set, the MME sets the PDN Type to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, sets the IPv6 Interface Identity in the PDN Address, and sets the IPv6 Prefix in the IPv6 address to all zeros; when the MME determines that the local network is the UE When the assigned IP address is an IPv4v6 address, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to zero (ie, 0.0.0.0), assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity to the PDN Address. In the IPv6 address, set the IPv6 Prefix in the IPv6 address to all zeros.
PDN Connectivity Accept (或其等价消息 Activate default EPS bearer context request ) 消息是包含在一个 SI -MME接口控制消息( Sl-MME control message ) 中的, 即包含在承栽建立请求( Bearer Setup Request )消息中。 其 中, S1-MME接口是指 HeNB与 MME之间的控制平面接口。  The PDN Connectivity Accept (or its equivalent message) message is included in an SI-MME control message, which is included in the Bearer Setup Request message. in. The S1-MME interface refers to a control plane interface between the HeNB and the MME.
Bearer Setup Request消息中包括: EPS承载服务质量 ( EPS Bearer QoS ), 用户聚合最大比特速率 (UE-AMBR, UE Aggregated Maximum Bit Rate ) , PDN Connectivity Accept (或其等价消息 Activate default EPS bearer context request ) , SI用户平面接口 (即 HeNB与 Serving GW之间的接口)的隧道端 点标识( S 1 -TEID, S 1 Tunnel End Point Identifier )。 The Bearer Setup Request message includes: EPS Bearer QoS, UE Aggregated Maximum Bit Rate (UE-AMBR), PDN Connectivity Accept (or its equivalent message Default EPS bearer context) Request ) , the tunnel endpoint identifier (S 1 - TEID, S 1 Tunnel End Point Identifier ) of the SI user plane interface (ie, the interface between the HeNB and the Serving GW).
此 Bearer Setup Request消息包含有 EPS承载标识( EPS Bearer Identity, 即 EPS Bearer Id )及服务网关( Serving GW )为此 EPS Bearer Identity标识的 EPS承载( EPS Bearer )所分配的 HeNB与服务网关( Serving GW )之间的用 户平面接口 (S1-U接口)的上行 IP地址及隧道端点标识(TEID, Tunnel End Point Identifier )。  The Bearer Setup Request message includes an EPS bearer identifier (EPS Bearer Identity), and a serving gateway (Serving GW) that allocates the HeNB and the serving gateway (the Serving GW) for the EPS bearer identified by the EPS Bearer Identity. The upstream IP address and tunnel end point identifier (TEID, Tunnel End Point Identifier) of the user plane interface (S1-U interface).
MME需要通知 HeNB为 UE建立的承载是为本地网络使用的, 因为当 HeNB收到 UE发送给本地网络的数据时, HeNB不能将此数据向前转给核心 网中的服务网关(Serving GW ), 而要前转给本地网络。 如果不需要转给本地 网络,则 HeNB收到 UE发送给移动运营商网络的数据时,是要前转给核心网 中的 Serving GW。  The MME needs to notify the HeNB that the bearer established for the UE is used by the local network, because when the HeNB receives the data sent by the UE to the local network, the HeNB cannot forward the data to the serving gateway (Serving GW) in the core network. And to forward to the local network. If it is not required to transfer to the local network, the HeNB forwards to the Serving GW in the core network when receiving the data sent by the UE to the mobile operator network.
因此, 新的 MME可以通过承栽建立请求(Bearer Setup Request ) 消息 将 UE请求接入的本地网络的信息通知给 HeNB, 以指示 HeNB为该 UE建立 本地网络的承栽。  Therefore, the new MME may notify the HeNB of the information of the local network that the UE requests to access by using a Bearer Setup Request message to instruct the HeNB to establish a local network for the UE.
由于本地网络有可能是家庭网络, 也可能是本地 Internet网络。 另外, 对 于家庭网络还有可能是一个或多个家庭网络,因此本地网络还需要将 UE接入 到哪个具体的本地网络的信息通知给 HeNB。  Since the local network may be a home network or a local Internet network. In addition, there may be one or more home networks for the home network, so the local network also needs to notify the HeNB of the information of which specific local network the UE accesses.
一个网络(包括本地网络)可以由一个 APN来标识, 因此, MME通知 HeNB所建立的承栽是为一个特定的本地网络使用的方式可以包括:  A network (including the local network) can be identified by an APN. Therefore, the manner in which the MME informs the HeNB that the bearer is used for a specific local network may include:
方式 1: MME在承栽建立请求 ( Bearer Setup Request )消息中设置一个 APN来指示具体的本地网络信息。  Mode 1: The MME sets an APN in the Bearer Setup Request message to indicate specific local network information.
方式 2: 如果 HeNB最多只能连接到一个家庭网络或者一个本地 Internet 网络, 则 MME在承栽建立请求(Bearer Setup Request ) 消息中可以设置一 个指示信息, 用以指示连接的是家庭网络还是本地 Internet网络, 例如, 用 0 表示家庭网络, 用 1标识本地 Internet网络。  Manner 2: If the HeNB can only connect to at most one home network or one local Internet network, the MME can set an indication message in the Bearer Setup Request message to indicate whether the home network or the local Internet connection is connected. The network, for example, uses 0 for the home network and 1 for the local Internet network.
3、 HeNB接收到 PDN Connectivity Accept (或其等价消息 Activate default EPS bearer context request ) 消息后, 发送无线资源控制连接重配置( RRC Connection Reconfiguration ) 消息给 UE。 3. The HeNB receives the PDN Connectivity Accept (or its equivalent message Activate default) After the EPS bearer context request message, the RRC Connection Reconfiguration (RRC Connection Reconfiguration) message is sent to the UE.
RRC Connection Reconfiguration消息中包含: EPS无线承栽标识(EPS Radio Bearer Identity ), 并且 PDN Connectivity Accept (或其等价消息 Activate default EPS bearer context request ) 消息也被包含在此 RRC消息中传送给 UE。  The RRC Connection Reconfiguration message includes: an EPS Radio Bearer Identity, and a PDN Connectivity Accept (or its equivalent message) message is also included in the RRC message and transmitted to the UE.
4、 UE接收到 RRC Connection Reconfiguration消息后, 发送无线资源控 制连接重配置完成( RRC Connection Reconfiguration Complete )消息给 HeNB。  After receiving the RRC Connection Reconfiguration message, the UE sends a radio resource control connection reconfiguration complete (RRC Connection Reconfiguration Complete) message to the HeNB.
至此, 通过步骤 3与步骤 4, 完成了 HeNB与 UE之间的接入本地网络的 无线承栽的建立。  So far, through steps 3 and 4, the establishment of wireless bearer access to the local network between the HeNB and the UE is completed.
5、 HeNB接收到 RRC Connection Reconfiguration Complete消息后, 发送 承载建立响应 ( Bearer Setup Response ) 消息给 MME。  After receiving the RRC Connection Reconfiguration Complete message, the HeNB sends a bearer setup response (Bearer Setup Response) message to the MME.
通过步骤 2到步骤 5, UE与本地网络之间的承载完成了建立。 由于 UE 与本地网络之间的承载不包含核心网部分的承载,因此 UE与本地网络之间的 承载实际上就是 UE与 HeNB之间的无线承载。  Through steps 2 to 5, the bearer between the UE and the local network is established. Since the bearer between the UE and the local network does not include the bearer of the core network part, the bearer between the UE and the local network is actually a radio bearer between the UE and the HeNB.
UE 从 RRC Connection Reconfiguration Complete 消息中解析出 PDN Connectivity Accept (或其等价消息 Activate default EPS bearer context request ) 消息后:  After parsing the PDN Connectivity Accept (or its equivalent message EPS address) message from the RRC Connection Reconfiguration Complete message, the UE:
若 PDN Type为仅 IPv4 ( IPv4 Only ), 且 PDN Address为零(即 0.0.0.0 ), 则在步骤 6之后使用 DHCPv4的方式来获取一个 IPv4地址;  If the PDN Type is IPv4 only (IPv4 Only) and the PDN Address is zero (that is, 0.0.0.0), use DHCPv4 to obtain an IPv4 address after step 6.
若 PDN Type为仅 IPv6( IPv6 Only ),则获取存储在 PDN Address中的 IPv6 Interface Identity, 并在步骤 6之后使用 IPv6无状态地址自配置方式来获取一 个 IPv6 Prefix, 然后根据 IPv6 Interface Identit 与 IPv6 Prefix生成一个 IPv6 地址;  If the PDN Type is IPv6 Only (IPv6 Only), obtain the IPv6 Interface Identity stored in the PDN Address, and use the IPv6 stateless address self-configuration method to obtain an IPv6 Prefix after step 6, and then according to the IPv6 Interface Identit and IPv6 Prefix. Generate an IPv6 address;
若 PDN Type为 IPv4v6, 且 PDN Address中 IPv4部分为零(即 0.0.0.0 ), 则获取存储在 PDN Address中的 IPv6 Interface Identity, 并在步骤 6之后使用 DHCPv4的方式来获取一个 IPv4地址,并使用 IPv6无状态地址自配置方式来 获取一个 IPv6 Prefix,然后根据 IPv6 Interface Identity与 IPv6 Prefix生成一个 IPv6地址。 If the PDN Type is IPv4v6, and the IPv4 part of the PDN Address is zero (ie, 0.0.0.0), obtain the IPv6 Interface Identity stored in the PDN Address, and use the DHCPv4 method to obtain an IPv4 address and use it after step 6. IPv6 stateless address self-configuration method to obtain an IPv6 Prefix, and then generate one according to IPv6 Interface Identity and IPv6 Prefix. IPv6 address.
ό、 UE发送直接传输(Direct Transfer ) 消息给 He B。  ό, the UE sends a Direct Transfer message to He B.
Direct Transfer消息包含 PDN连接完成( PDN Connectivity Complete )消 需要说明的是, 该步骤 6中 UE发送给 HeNB的消息, 对于 TS23.401协 议是 PDN Connectivity Complete消息, 而对于 TS24.301协议是激活缺省 EPS 承载上下文响应 ( Activate default EPS bearer context Response ) 消息, 但实际 上这两个消息是相同的消息, 只不过在不同的协议中使用了不同的名称。  The Direct Transfer message includes the PDN Connectivity Complete (PDN Connectivity Complete). The message sent by the UE to the HeNB in step 6 is the PDN Connectivity Complete message for the TS23.401 protocol and the activation default for the TS24.301 protocol. The EPS defaults the bearer context response message, but in fact the two messages are the same message, except that different names are used in different protocols.
该 PDN Connectivity Complete消息(或其等价消息 Activate default EPS bearer context Response ) 中包含 EPS Bearer Identity,  The EPS Bearer Identity is included in the PDN Connectivity Complete message (or its equivalent message Activate default EPS bearer context Response ).
7、 HeNB 收到 Direct Transfer 消息后, 在上行链路非接入层(NAS, Non- Access Stratum ) 传输 ( Uplink NAS Transport ) 消息中前转 PDN Connectivity Complete消息 (或其等价消息 Activate default EPS bearer context Response )给 MME,该 PDN Connectivity Complete消息(或其等价消息 Activate default EPS bearer context Response ) 中包含 EPS Bearer Identity 。  7. After receiving the Direct Transfer message, the HeNB forwards the PDN Connectivity Complete message (or its equivalent message Activate default EPS bearer) in the uplink non-access stratum (NAS, Non-Access Stratum) transmission (Uplink NAS Transport) message. Context Response ) To the MME, the EPS Bearer Identity is included in the PDN Connectivity Complete message (or its equivalent message Default EPS bearer context Response ).
上述 UE Request PDN Connectivity过程完成后, UE通过 DHCPv4和 /或 IPv6无状态地址自配置方式获取 IP地址,并可以通过 HeNB连接到本地网络, 并通过 HeNB与本地网络中的设备进行通信。  After the foregoing UE Request PDN Connectivity process is complete, the UE obtains an IP address through the DHCPv4 and/or IPv6 stateless address self-configuration mode, and can connect to the local network through the HeNB, and communicate with devices in the local network through the HeNB.
实施例 2:  Example 2:
参见图 4, 本发明实施例提供的 Attach过程具体包括步骤:  Referring to FIG. 4, the attach process provided by the embodiment of the present invention specifically includes the following steps:
1、 UE发起附着过程, 发送附着请求(Attach Request ) 消息给 HeNB。 Attach Request消息中包括: 国际移动用户标识( IMSI )或旧的全球唯一 (用户)临时标识( GUTI, Globally Unique Temporary Identity ), 最近访问的 跟踪区标识( last visited TAI ) (如果可用), UE的核心网能力( UE Core Network Capability ), UE的特殊非连续接收( DRX, Discontinuous Reception )参数, PDN 类型 (PDN Type ),协议配置选项 ( Protocol Configuration Options ),加密传 输选择标记(Ciphered Options Transfer Flag ),附着类型(Attach Type ), 密钥 10 000559 标识( KSIASME ), 非接入层( NAS, Non-Access Stratum )序列号( NAS sequence number ), 非接入层消息认证码 ( NAS-MAC, Message Authentication Code ), 附加的 GUTI (additional GUTI)。 1. The UE initiates an attach procedure, and sends an attach request (Attach Request) message to the HeNB. The Attach Request message includes: an International Mobile Subscriber Identity (IMSI) or an old Globally Unique Temporary Identity (GUTI), a recently visited tracking area identifier (last visited TAI) (if available), the UE's UE Core Network Capability, UE's Special Discontinuous Reception (DRX) parameter, PDN Type (PDN Type), Protocol Configuration Options, Ciphered Options Transfer Flag , attachment type (Attach Type), key 10 000559 identifier (KSIASME), NAS, Non-Access Stratum serial number (NAS sequence number), non-access layer message authentication code (NAS-MAC, Message Authentication Code), additional GUTI (additional GUTI) ).
若 UE是初始接入到 EPS系统,则 UE通过下面的方法将 UE请求接入本 地网络的信息通知给网络:  If the UE is initially connected to the EPS system, the UE notifies the network of the information requested by the UE to access the local network by the following method:
若 UE请求接入的本地网络的类型是家庭网络, 则 UE可设置 Attach Request消息中的附着类型 ( Attach Type )为家庭附着( Home Attach )。  If the type of the local network that the UE requests to access is the home network, the UE may set the Attach Type in the Attach Request message to be Home Attach.
若 UE请求接入的本地网络的类型是本地 Internet网络, 则 UE可设置 Attach Request消息中的 Attach Type为因特网附着( Internet Attach )。  If the type of the local network that the UE requests to access is the local Internet network, the UE may set the Attach Type in the Attach Request message to be an Internet Attach.
由于 TS24.301标准和 TS23.401标准定义的 Attach过程不一样, 因此, 本发明实施例提出: 按照 TS24.301标准的定义, 本发明实施例提出的 Attach 过程包括 UE请求分组数据网连接 ( UE Request PDN Connectivity )过程, 并 且在该过程中, UE在发送给 MME的分组数据网连接请求( PDN Connectivity Request ) 消息中, 可将请求类型 (Request Type )设置为家庭请求(Home Request )或因特网请求( Internet Request ), 用以将 UE请求接入本地网络的 信息通知给网络侧。 即当 Request Type为 Home Request时, UE请求接入本 地网络的信息为 UE请求接入家庭网络; 当 Request Type为 Internet Request 时, UE请求接入本地网络的信息为 UE请求接入本地因特网。  The present invention provides that the Attach procedure according to the embodiment of the present invention includes the UE requesting a packet data network connection (UE) according to the definition of the TS 24.301 standard according to the TS24.301 standard and the TS23.401 standard. The Request PDN Connectivity procedure, and in the process, the UE may set the Request Type to a Home Request or an Internet Request in a PDN Connectivity Request message sent to the MME. (Internet Request), used to notify the network side of the information that the UE requests to access the local network. That is, when the Request Type is Home Request, the information requested by the UE to access the local network is requested by the UE to access the home network; when the Request Type is Internet Request, the information requested by the UE to access the local network is requested by the UE to access the local Internet.
需要说明的是, 本发明实施例给出的 "Home Attach"、 "Internet Attach"、 "Home Request" 和 "Internet Request" 只是一种用来表示 UE请求接入本地 网络的信息的特定名称,当然也可以采用其它的特定名称来表示 UE请求接入 本地网络的信息。  It should be noted that the "Home Attach", "Internet Attach", "Home Request" and "Internet Request" given in the embodiments of the present invention are only specific names for indicating the information requested by the UE to access the local network, of course. Other specific names may also be used to indicate information that the UE requests to access the local network.
2、 HeNB发送 S1-MME接口控制消息(Sl-MME control message ), 即 HeNB将初始 UE消息( Initial UE message)发送到新的 MME ( new MME ), 此消息中包含有 Attach Request 消息。  2. The HeNB sends an S1-MME control message, that is, the HeNB sends an Initial UE message to the new MME (new MME), and the message includes an Attach Request message.
TS24.301 标准指出 Attach Request 消息中包含有 PDN Connectivity Request消息, MME根据 Attach Request消息中的 Attach Type和 /或 PDN Connectivity Request中的 Request Type可以获知 UE是要接入到哪一个类型的 本地网络中。 因此, 当 HeNB所连接的同一类型的本地网络只允许有一个网 络让用户接入时, 附着请求(Attach Request ) 消息和 /或分组数据网连接请求 ( PDN Connectivity Request )消息只指示本地网络的类型, 网络侧就可以获知 UE请求接入的是哪一个本地网络。 The TS24.301 standard states that the Attach Request message contains a PDN Connectivity Request message, and the MME according to the Attach Type and/or PDN in the Attach Request message. The Request Type in the Connectivity Request can know which type of local network the UE is to access. Therefore, when only one network is allowed for the user to access the same type of local network to which the HeNB is connected, the Attach Request message and/or the PDN Connectivity Request message only indicate the type of the local network. The network side can know which local network the UE requests to access.
3、 新的 MME向旧的 MME或 SGSN ( old MME/SGSN )发送标识请求 ( Identification Request )消息,旧的 MME或 SGSN接收到 Identification Request 消息后, 向新的 MME回复标识响应(Identification Response )消息, 其中含 有 UE的 IMSI。  3. The new MME sends an identification request (Authentication Request) message to the old MME or SGSN (old MME/SGSN). After receiving the Identification Request message, the old MME or SGSN replies to the new MME with an identification response (Identification Response) message. , which contains the IMSI of the UE.
4、若新的 MME及旧的 MME或 SGSN均不知道此 UE, 则新的 MME发 送身份请求(Identity Request ) 消息给 UE, 请求 UE提供其 MSI, UE收到 Identity Request消息后,回复身份响应( Identity Response )消息给新的 MME, 其中含有 UE的 IMSI。  4. If the new MME and the old MME or the SGSN do not know the UE, the new MME sends an Identity Request message to the UE, and requests the UE to provide its MSI. After receiving the Identity Request message, the UE responds with an identity response. The ( Identity Response ) message is sent to the new MME, which contains the IMSI of the UE.
5a、 根据条件 , 新 的 MME 执行认证与 /或安全过程 ( Authentication/Security )。  5a. Depending on the conditions, the new MME performs authentication and/or security procedures (Authentication/Security).
5b、 新的 MME获取 UE的移动终端标识(ME Identity ), 并向设备标识 寄存器(EIR, Equipment Identity Register )发送移动终端标识核实请求(ME Identity Check Request ) 消息, 其中包含 UE的 ME Identity和 IMSI, EIR收 到该 ME Identity Check Request消息后, 向新的 MME回复移动终端标识核实 确认(ME Identity Check Ack )消息, 其中含有核实结果(Result)。  5b. The new MME obtains the mobile terminal identifier (ME Identity) of the UE, and sends a ME Identity Check Request message to the device identifier register (EIR, Equipment Identity Register), where the UE includes the ME Identity and the IMSI of the UE. After receiving the ME Identity Check Request message, the EIR replies to the new MME with a Mobile Identity Identification Ack (ME Identity Check Ack) message, which includes a Result.
6、 如果 UE在 Attach request消息中携带了加密选择转移标记(Ciphered Options Transfer Flag ), 则在网络激活加密后, 新的 MME通过发送加密选择 请求 (Ciphered Options Request ) 消息 ( TS23.401 标准中定义), 即 ESM Information Request (演进的会话管理信息请求) 消息(该消息是在 TS24.301 标准中定义的, 等价于 TS23.401标准中定义的 Ciphered Options Request消 息), 向 UE请求获取协议配置选项( PCO, protocol Configuration Options )信 息和 /或接入点名称( APN )信息。 UE收到 Ciphered Options Request消息后, 回复加密选择响应(Ciphered Options Response )消息(TS23.401中定义), 即 ESM Information Response (演进的会话管理信息响应) 消息 (该消息是在 TS24.301 标准中定义的, 等价于 Ciphered Options Response 消息)给新的 MME, 以提供 PCO和 /或 APNo 6. If the UE carries the Ciphered Options Transfer Flag in the Attach request message, after the network activates the encryption, the new MME sends a Ciphered Options Request message (defined in the TS23.401 standard). ), that is, the ESM Information Request message (which is defined in the TS24.301 standard, equivalent to the Ciphered Options Request message defined in the TS23.401 standard), requests the UE to obtain the protocol configuration. Option (PCO, protocol Configuration Options) information and/or access point name (APN) information. After the UE receives the Ciphered Options Request message, Reply to the Ciphered Options Response message (defined in TS23.401), ie ESM Information Response (Evolved Session Management Information Response) message (this message is defined in the TS24.301 standard, equivalent to Ciphered Options Response Message) to the new MME to provide PCO and / or APNo
7、若新的 MME发现此 UE有激活的承载上下文( active bearer contexts ) , 则新的 MME发送删除承栽请求(Delete Bearer Request ) 消息给相关的网关 7. If the new MME finds that the UE has active bearer contexts, the new MME sends a Delete Bearer Request message to the relevant gateway.
( GW ), 其中含有删除承栽的原因 (Cause )和隧道端点标识(TEID, Tunnel End Point Identifier ), 用以删除这些承栽上下文,相关的网关(GWs )回复删 除承载响应(Delete Bearer Response )消息给新的 MME, 其中含有隧道端点 标识(TEIDs ), 若策略与计费规则功能(PCRF, Policy and Charging Rules Function )被部署了, 则分组数据网网关( PDN GW )执行 IP连接网会话结束(GW), which contains the cause of the deletion (Cause) and the Tunnel End Point Identifier (TEID), to delete these bearer contexts, and the related gateway (GWs) reply to delete the bearer response (Delete Bearer Response) The message is sent to the new MME, which contains the tunnel endpoint identifier (TEIDs). If the Policy and Charging Rules Function (PCRF) is deployed, the packet data network gateway (PDN GW) performs the IP connection network session.
( IP-CAN Session Termination )过程。 (IP-CAN Session Termination) process.
可见, 步骤 7的作用是当新的 MME与旧的 MME是同一个 MME时, 新 的 MME清除在 UE附着之前网络中还未删除的 EPS承栽。  It can be seen that the role of step 7 is that when the new MME and the old MME are the same MME, the new MME clears the EPS bearer that has not been deleted in the network before the UE attaches.
8、 新的 MME向归属签约用户服务器(HSS, Home Subscriber Server ) 发送更新位置请求( Update Location Request )消息。  8. The new MME sends an Update Location Request message to the Home Subscriber Server (HSS).
Update Location Request消息中含有: MME标识( MME Identity ), IMSI, ME Identity, MME 能力 ( MME Capabilities ), 更新类型 ( Update Type )。  The Update Location Request message includes: MME Identity (MME Identity), IMSI, ME Identity, MME Capabilities, and Update Type.
9、 HSS向旧的 MME和旧的 SGSN发送取消位置(Cancel Location ) 消 息,其中包括: IMSI和取消类型( Cancellation Type )。旧的 MME和旧的 SGSN 收到 Cancel Location消息后,向 HSS回复取消位置确认( Cancel Location Ack ) 消息。  9. The HSS sends a Cancel Location message to the old MME and the old SGSN, including: IMSI and Cancellation Type. After receiving the Cancel Location message, the old MME and the old SGSN reply to the HSS with a Cancel Location Ack message.
10、 若旧的 MME/SGSN发现此 UE有激活的承载上下文(active bearer contexts ) , 则旧的 MME/SGSN发送删除承载请求( Delete Bearer Request ) 消息给相关的 GW, 用以请求删除这些承载上下文, 其中包括删除原因 10. If the old MME/SGSN finds that the UE has active bearer contexts, the old MME/SGSN sends a Delete Bearer Request message to the relevant GW to request to delete the bearer context. , including the reason for deletion
( Cause )和 TEID。 相关的 GW收到该 Delete Bearer Request消息之后 , 回复 删除承载响应 ( Delete Bearer Response ) 消息给旧的 MME/SGSN, 其中包含 0/000559( Cause ) and TEID. After receiving the Delete Bearer Request message, the related GW replies with a Delete Bearer Response message to the old MME/SGSN, which includes 0/000559
TEIDo 若 PCRF被部署了, 则 PDN GW执行 IP-CAN Session Termination过 程。 TEIDo If the PCRF is deployed, the PDN GW performs the IP-CAN Session Termination process.
11、 HSS向新的 MME发送更新位置确认(Update Location Ack ) 消息, 其中包含 IMSI和 UE的签约数据( Subscription data ),所述的 Subscription Data 中包含有一个或多个分组数据网 (PDN, Packet Data Network )签约上下文 11. The HSS sends an Update Location Ack message to the new MME, where the subscription data includes the IMSI and the UE, and the Subscription Data includes one or more packet data networks (PDN, Packet). Data Network ) Signing Context
( PDN subscription context ) , 每个 PDN subscription context 包含一个 EPS subscribed QoS profile ( EPS签约 QoS档案) 和 the subscribed APN-AMBR(签 约的 APN ( Access Point Name, 接入点名)聚合最大比特速率 (AMBR, Aggregated Maximum Bit Rate ) )。 ( PDN subscription context ) , each PDN subscription context contains an EPS subscribed QoS profile and the subscribed APN-AMBR (Access Point Name) aggregated maximum bit rate (AMBR, Aggregated) Maximum Bit Rate ) ).
综上, 步骤 8-11为位置信息更新过程, 即 HSS删除所存储的旧的 MME 标识信息, 并添加新的 MME标识信息, 即新的 MME注册到 HSS中作为当 前为 UE服务的移动控制管理实体节点。  In summary, step 8-11 is a location information update process, that is, the HSS deletes the stored old MME identity information, and adds new MME identity information, that is, the new MME registers with the HSS as the current mobile control management for the UE. Entity node.
12、 新的 MME发送附着接受(Attach Accept ) 消息给 HeNB 。  12. The new MME sends an Attach Accept message to the HeNB.
Attach Accept消息中包含: APN, GUTI, PDN Type, PDN Address, 跟踪区 标识( TAI, Tracking Area Identity )列表( TAI List ), EPS承栽标识( EPS Bearer Identity ) , 会话管理请求 (Session Management Request ) , 协议配置选项 ( Protocol Configuration Options ), 密钥标识(KSIASME ) , NAS sequence number, NAS-MACo  The Attach Accept message includes: APN, GUTI, PDN Type, PDN Address, TAI, Tracking Area Identity list (TAI List), EPS Bearer Identity, Session Management Request (Session Management Request) , Protocol Configuration Options, Key Identification (KSIASME), NAS sequence number, NAS-MACo
需要说明的是, 在 TS24.301协议中指出, Attach Accept消息中的会话管 理请求( Session Management Request ) 消息, 实际上就是激活缺省 EPS承载 上下文请求( Activate default EPS bearer context request ) 消息, 而 PDN Type, PDN Address参数实际上是包含在 Activate default EPS bearer context request 这个消息中。为了便于说明, TS23.401协议中直接指出 Attach Accept消息包 含了 PDN Type, PDN Address参数。  It should be noted that, in the TS24.301 protocol, the Session Management Request message in the Attach Accept message is actually an Activate default EPS bearer context request message, and the PDN is displayed. The Type, PDN Address parameter is actually included in the Activate default EPS bearer context request message. For convenience of explanation, the TS23.401 protocol directly indicates that the Attach Accept message contains the PDN Type and PDN Address parameters.
MME根据步骤 2中接收到的 PDN连接请求( PDN Connectivity Request ) 消息中的 APN和 /或 Request Type确定 UE请求接入到本地网络。然后, MME 根据 PDN连接请求( PDN Connectivity Request )消息中 PDN Type的 IP地址 559 类型、 UE的签约数据, MME的配置中 IP地址类型确定 Activate default EPS bearer context request消息中的 PDN Type. The MME determines that the UE requests access to the local network according to the APN and/or the Request Type in the PDN Connectivity Request message received in step 2. Then, the MME is based on the IP address of the PDN Type in the PDN Connectivity Request message. 559 type, UE subscription data, IP address type in the MME configuration determines the PDN Type in the Activate default EPS bearer context request message.
当 MME确定本地网络为 UE分配的 IP地址为 IPv4地址时, MME设置 PDN Type为 IPv4 Only, 并设置 PDN Address为零(即 0.0.0.0 ); 当 MME确 定本地网络为 UE分配的 IP地址为 IPv6地址时, MME设置 PDN Type为 IPv6 Only, 并为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identit 设置 在 PDN Address中, 同时将 IPv6地址中 IPv6 Prefix设置为全零; 当 MME确 定本地网络为 UE分配的 IP地址为 IPv4v6地址时, MME设置 PDN Type为 IPv4v6, 并设置 PDN Address中的 IPv4地址为零(即 0.0.0.0 ), 为该 UE分配 IPv6 Interface Identity,将该 IPv6 Interface Identity设置在 PDN Address的 IPv6 地址中, 同时将 IPv6地址中 IPv6 Prefix设置为全零。  When the MME determines that the IP address assigned by the local network to the UE is an IPv4 address, the MME sets the PDN Type to IPv4 Only, and sets the PDN Address to be zero (ie, 0.0.0.0); when the MME determines that the IP address assigned by the local network to the UE is IPv6. When the address is set, the MME sets the PDN Type to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, sets the IPv6 Interface Identit in the PDN Address, and sets the IPv6 Prefix in the IPv6 address to all zeros; when the MME determines that the local network is the UE When the assigned IP address is an IPv4v6 address, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to zero (ie, 0.0.0.0), assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity to the PDN Address. In the IPv6 address, set the IPv6 Prefix in the IPv6 address to all zeros.
Attach Accept消息包含在一个 S 1一 MME control 消息( S 1 -MME接口控制 消息)中, 即包含在初始上下文建立请求( Initial Context Setup Request )消息 中。 此 SI 控制消息包含有 EPS Bearer Identity和服务网关( Serving GW )为 该 EPS Bearer Identity所标识的 EPS承载所分配的 S1-U接口的上行 IP地址及 TEID 。  The Attach Accept message is included in an S 1 - MME control message (S 1 - MME Interface Control Message), which is included in the Initial Context Setup Request message. The SI control message includes the uplink IP address and TEID of the S1-U interface allocated by the EPS Bearer Identity and the Serving GW for the EPS bearer identified by the EPS Bearer Identity.
MME需要通知 HeNB为 UE建立的承栽是为本地网络使用的, 因此与实 施例 1同理, 也可以通过实施例 1中的方式 1或方式 2来通知 HeNB为 UE 建立的承载是为本地网络使用的。  The MME needs to notify the HeNB that the bearer established for the UE is used by the local network. Therefore, in the same manner as the first embodiment, the eNB may notify the HeNB that the bearer established for the UE is the local network. in use.
13 、 HeNB 发送无线资源控制连接重配置 ( RRC Connection Reconfiguration )消息给 UE, 其中包含 EPS无线承栽标识 ( EPS Radio Bearer Identity ) , 并且 Attach Accept 消息也被包含在此 RRC消息中传送给 UE。  13. The HeNB sends a RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the UE, where the EPS Radio Bearer Identity is included, and the Attach Accept message is also included in the RRC message and transmitted to the UE.
14、 UE 发送无线资源控制连接重配置完成 ( RRC Connection Reconfiguration Complete ) 消息给 HeNB。  14. The UE sends a RRC Connection Reconfiguration Complete message to the HeNB.
至此, 通过步骤 13与步骤 14, 完成了 HeNB与 UE之间的接入本地网络 无线承载的建立。  So far, through step 13 and step 14, the establishment of the access local network radio bearer between the HeNB and the UE is completed.
UE从 RRC Connection Reconfiguration Complete消息中解析出 Activate default EPS bearer context request消息后: The UE parses out the Activate from the RRC Connection Reconfiguration Complete message. After the default EPS bearer context request message:
若 PDN Type为仅 IPv4 ( IPv4 Only ), 且 PDN Address为零(即 0.0.0.0 ), 则在步骤 16之后使用 DHCPv4的方式来获取一个 IPv4地址;或  If the PDN Type is IPv4 only (IPv4 Only) and the PDN Address is zero (ie 0.0.0.0), then use DHCPv4 to obtain an IPv4 address after step 16; or
若 PDN Type为仅 IPv6( IPv6 Only ),则获取存储在 PDN Address中的 IPv6 Interface Identity,并在步骤 16之后使用 IPv6无状态地址自配置方式来获取一 个 IPv6 Prefix, 然后根据 IPv6 Interface Identity与 IPv6 Prefix生成一个 IPv6 地址; 或  If the PDN Type is IPv6 Only (IPv6 Only), obtain the IPv6 Interface Identity stored in the PDN Address, and obtain an IPv6 Prefix using the IPv6 stateless address self-configuration method after step 16, and then according to the IPv6 Interface Identity and IPv6 Prefix. Generate an IPv6 address; or
若 PDN Type为 IPv4v6, 且 PDN Address中 IPv4部分为零(即 0.0.0.0 ), 则获取存储在 PDN Address中的 IPv6 Interface Identity,并在步骤 16之后使用 DHCPv4的方式来获取一个 IPv4地址,并使用 IPv6无状态地址自配置方式来 获取一个 IPv6 Prefix,然后根据 IPv6 Interface Identity与 IPv6 Prefix生成一个 IPv6地址。  If the PDN Type is IPv4v6, and the IPv4 part of the PDN Address is zero (ie, 0.0.0.0), obtain the IPv6 Interface Identity stored in the PDN Address, and use the DHCPv4 method to obtain an IPv4 address after step 16 and use The IPv6 stateless address is self-configured to obtain an IPv6 Prefix, and then generates an IPv6 address based on the IPv6 Interface Identity and the IPv6 Prefix.
15、 HeNB发送初始上下文设置响应( Initial Context Response )消息给新 的 MME,其中包含 HeNB分配的 S1-U接口(即 HeNB与服务网关 Serving GW 之间的用户平面接口) 的下行 IP地址和 TEID。  15. The HeNB sends an Initial Context Response message to the new MME, which includes the downlink IP address and TEID of the S1-U interface (ie, the user plane interface between the HeNB and the Serving Gateway) assigned by the HeNB.
通过步骤 12到步骤 15, UE与本地网络之间的无线承载完成了建立。 由 于 UE与本地网络之间的承载不包含核心网部分的承载, 因此 UE与本地网络 之间的承载实际上就是 UE与 HeNB之间的无线承载。  Through steps 12 to 15, the radio bearer between the UE and the local network is established. Since the bearer between the UE and the local network does not include the bearer of the core network part, the bearer between the UE and the local network is actually a radio bearer between the UE and the HeNB.
16、 UE发送直接传输(Direct Transfer )消息给 HeNB,此消息包含附着 完成( Attach Complete ) 消息。  16. The UE sends a Direct Transfer message to the HeNB, and the message includes an Attach Complete message.
该 Attach Complete消息中包含: EPS Bearer Identity, NAS sequence number, NAS-MAC。  The Attach Complete message includes: EPS Bearer Identity, NAS sequence number, NAS-MAC.
在 TS24.301协议中指出, Attach Complete消息还包含了激活缺省 EPS承 载上下文响应 ( Activate default EPS bearer context Response ) 消息。  As indicated in the TS24.301 protocol, the Attach Complete message also includes an Activate Default EPS bearer context Response message.
17、 HeNB在上行链路 NAS传输( Uplink NAS Transport ) 消息中前转该 Attach Complete 消息给新的 MME。  17. The HeNB forwards the Attach Complete message to the new MME in an Uplink NAS Transport message.
上述 Attach过程完成后, UE通过 DHCPv4和 /或 IPv6无状态地址自配置 方式获取 IP地址, 并可以通过 HeNB连接到本地网络, 并通过 HeNB与本地 网络中的设备进行通信。 After the above Attach process is completed, the UE self-configures through DHCPv4 and/or IPv6 stateless addresses. The method obtains an IP address, and can connect to the local network through the HeNB, and communicate with devices in the local network through the HeNB.
实施例 3:  Example 3:
参见图 5, 本发明实施例提供的 UE请求的 PDN连接(Activate PDP Context )过程具体包括步骤:  Referring to FIG. 5, the process of the PDN Context requested by the UE according to the embodiment of the present invention specifically includes the following steps:
1、 UE若需要发起一个 PDN连接, 则 UE发送激活分组数据协议上下文 请求( Activate PDP Context Request )消息给 HNB,并且 HNB将该 Activate PDP Context Request消息转发给服务通用分组无线业务支持节点 ( SGSN )。  1. If the UE needs to initiate a PDN connection, the UE sends an Activate PDP Context Request message to the HNB, and the HNB forwards the Activate PDP Context Request message to the Serving General Packet Radio Service Support Node (SGSN). .
需要说明的是: 在 HNB与 SGSN之间, 可能存在家庭基站网关(HNB GW )。若存在着 HNB GW,则此 HNB GW是透明地传输 UE与 SGSN之间的 消息, 也就是在本过程中, 所有的消息对 HNB GW都是透明的, 即 HNB GW 不去解读 UE与 SGSN之间传输的消息,仅仅是在 UE与 SGSN之间转发消息。  It should be noted that there may be a home base station gateway (HNB GW) between the HNB and the SGSN. If there is an HNB GW, the HNB GW transparently transmits the message between the UE and the SGSN, that is, in the process, all the messages are transparent to the HNB GW, that is, the HNB GW does not interpret the UE and the SGSN. The message transmitted between them is only to forward the message between the UE and the SGSN.
另外,通过激活分组数据协议上下文请求( Activate PDP Context Request ) 消息, UE建立了此 PDN连接下的第一个分组数据协议上下文( PDP Context ), 也就是说激活分组数据协议上下文请求 ( Activate PDP Context Request )消息 用于建立一个 PDN连接下的笫一个 PDP Context, 随后, 若 UE在此 PDN连 接下需要再建立一个 PDP Context, 则 UE需要发起第二次激活分组数据协议 上下文过程, 此时 UE 所发送的消息为激活第二分组数据协议上下文请求 ( Activate Secondary PDP Context Request )消息。 以此类推, 若 UE在同一 PDN连接下需要建立第 n个( n为大于 1的整数 ) PDP Context时, UE所发 起的过程为第二次激活分组数据协议上下文过程,该过程中 UE所使用的消息 是激活第二分组数据协议上下文请求 ( Activate Secondary PDP Context Request )消息。并且,在激活第二分组数据协议上下文请求( Activate Secondary PDP Context Request )消息中不包含 APN参数。  In addition, by activating the Activate PDP Context Request message, the UE establishes the first packet data protocol context (PDP Context) under this PDN connection, that is, activates the packet data protocol context request (Activate PDP Context). The Request message is used to establish a PDP Context under a PDN connection. Then, if the UE needs to establish a PDP Context under this PDN connection, the UE needs to initiate a second activation of the packet data protocol context procedure. The sent message is an Activate Secondary PDP Context Request message. By analogy, if the UE needs to establish the nth (n is an integer greater than 1) PDP Context under the same PDN connection, the process initiated by the UE is the second activation of the packet data protocol context procedure, which is used by the UE in the process. The message is an Activate Secondary PDP Context Request message. And, the APN parameter is not included in the Activate Secondary PDP Context Request message.
Activate PDP Context Request消息中包括: APN, PDN Type, Protocol Configuration Options和 Request Type,  The Activate PDP Context Request message includes: APN, PDN Type, Protocol Configuration Options, and Request Type.
需要说明的是, APN与 Request Type参数都是可选的参数。 特别是在版 本 8之前的规范版本中, Activate PDP Context Request消息中是不包含 Request Type这个参数的。 It should be noted that the APN and Request Type parameters are optional parameters. Especially in the edition In the specification version before this 8, the Activate PDP Context Request message does not include the Request Type parameter.
在 Activate PDP Context Request中携带的 APN和 Request Type都可以用 于指示 UE请求接入的本地网络的类型信息,但是在允许 UE接入同一类型的 多个本地网络的情况下, 如果要明确 UE请求接入的是哪一个具体的本地网 络, 则需要 APN来指示。  Both the APN and the Request Type carried in the Activate PDP Context Request can be used to indicate the type information of the local network that the UE requests to access, but in the case that the UE is allowed to access multiple local networks of the same type, if the UE request is to be clarified Which specific local network is accessed, an APN is required to indicate.
若 UE新建的 PDN连接是家庭网络, 则 UE可设置 Activate PDP Context Request消息中的 Request Type为家庭请求( Home Request )。  If the PDN connection established by the UE is a home network, the UE may set the Request Type in the Activate PDP Context Request message to be a Home Request.
若 UE新建的 PDN连接本地 Internet网络, 则 UE可设置 Activate PDP Context Request消息中的 Request Type为 Internet请求 ( Internet Request )。  If the PDN newly created by the UE is connected to the local Internet network, the UE may set the Request Type in the Activate PDP Context Request message to be an Internet request.
也就是说, 当 Request Type为 Home Request时, UE请求接入的本地网 络的信息为 UE请求接入的家庭网络的信息; 当所述 Request Type为 Internet Request时, UE请求接入的本地网络的信息为 UE请求接入的本地因特网的信  That is, when the Request Type is the Home Request, the information of the local network that the UE requests to access is the information of the home network that the UE requests to access; when the Request Type is the Internet Request, the UE requests the access of the local network. The information is the local Internet letter that the UE requests to access.
2、 SGSN接收到 Activate PDP Context Request消息后, 发送无线接入承 载指派请求(RAB Assignment Request ) 消息给 HNB, 请求 HNB建立 UE到 本地网络的接入承栽。 2. After receiving the Activate PDP Context Request message, the SGSN sends a radio access bearer assignment request (RAB Assignment Request) message to the HNB, requesting the HNB to establish an access bearer of the UE to the local network.
无线接入承载指派请求( RAB Assignment Request )消息中包含有无线接 入承栽标识( RAB ID ), 和 SGSN为此 RAB ID标识的无线接入承载( RAB, Radio Access Bearer )所分配的 HNB与 SGSN之间的用户平面接口 (Iu-PS用 户平面接口) 的上行 IP 地址及隧道端点标识 (TEID, Tunnel End Point Identifier ).  The radio access bearer assignment request (RAB Assignment Request) message includes a radio access bearer identifier (RAB ID), and an HNB assigned by the SGSN for the radio access bearer (RAB, Radio Access Bearer) identified by the RAB ID. The upstream IP address and tunnel end point identifier (TEID, Tunnel End Point Identifier) of the user plane interface (Iu-PS user plane interface) between the SGSNs.
SGSN需要通知 HNB为 UE建立的承载是为本地网 ^吏用的, 因此与实 施例 1 同理, SGSN 可以通过无线接入承载指派请求 (RAB Assignment Request )消息将, 采用实施例 1中的方式 1或方式 2来通知 HNB为 UE建立 的承栽是为本地网络使用的。  The SGSN needs to notify the HNB that the bearer established for the UE is used by the local network. Therefore, in the same manner as Embodiment 1, the SGSN may use the Radio Access Bearer Assignment Request (RAB Assignment Request) message, and adopt the method in Embodiment 1. 1 or 2 to inform the HNB that the bearer established for the UE is used by the local network.
3、 HNB接收到 RAB Assignment Request消息后,发送无线承栽设置( Radio 93. After receiving the RAB Assignment Request message, the HNB sends the wireless bearer setting (Radio). 9
Bearer Setup ) 消息给 UE。 Bearer Setup) Message to the UE.
Radio Bearer Setup 消息中包含: 无线承载标识 ( RB ID, Radio Bearer Identity ),并且 RB ID与上述步骤 2中的 RAB ID相同。  The Radio Bearer Setup message includes: Radio Bearer Identity (RB ID), and the RB ID is the same as the RAB ID in step 2 above.
4、 UE接收到无线承栽设置(Radio Bearer Setup ) 消息后, 发送无线承 载设置完成( Radio Bearer Setup Complete ) 消息给 HNB。  4. After receiving the Radio Bearer Setup message, the UE sends a Radio Bearer Setup Complete message to the HNB.
至此, 通过步骤 3与步驟 4, 完成了 HNB与 UE之间的接入本地网络的 无线承载的建立。  So far, through steps 3 and 4, the establishment of the radio bearer of the local network between the HNB and the UE is completed.
5、 HNB接收到 Radio Bearer Setup Complete消息后, 发送无线接入承栽 指派响应 ( RAB Assignment Response ) 消息给 SGSN。  5. After receiving the Radio Bearer Setup Complete message, the HNB sends a Radio Access Bearer Assignment Response (RASB Assignment Response) message to the SGSN.
通过步骤 2到步骤 5, 完成了 UE与本地网络之间的承栽建立。 由于 UE 与本地网络之间的承载不包含核心网部分的承载,因此 UE与本地网络之间的 承载实际上就是 UE与 HNB之间的无线承载。  Through steps 2 to 5, the establishment of the bearer between the UE and the local network is completed. Since the bearer between the UE and the local network does not include the bearer of the core network part, the bearer between the UE and the local network is actually a radio bearer between the UE and the HNB.
6、 SGSN收到 RAB Assignment Response消息后, 发送激活 PDP上下文 接受( Activate PDP Context Accept )消息给 UE, 其中包括 PDP Address Type 和 PDP Address。 After receiving the RAB Assignment Response message, the SGSN sends an Activate PDP Context Accept message to the UE, including the PDP Address Type and the PDP Address.
SGSN根据步骤 1中接收到的 Activate PDP Context Request消息中的 APN 和 /或 Request Type确定 UE请求接入到本地网络。 然后, SGSN根据 Activate PDP Context Request消息中 PDP Address Type的 IP地址类型、 UE的签约数据, SGSN的配置中 IP地址类型确定 Activate PDP Context Response消息中的 PDP Address。  The SGSN determines that the UE requests access to the local network according to the APN and/or the Request Type in the Activate PDP Context Request message received in step 1. Then, the SGSN determines the PDP Address in the Activate PDP Context Response message according to the IP address type of the PDP Address Type in the Activate PDP Context Request message, the subscription data of the UE, and the IP address type in the configuration of the SGSN.
当 SGSN确定本地网络为 UE分配的 IP地址为 IPv4地址时, SGSN设 置 PDP Address Type为 IPv4 Only, 并设置 PDP Address为零(即 0.0.0.0 ); 当 SGSN确定本地网络为 UE分配的 IP地址为 IPv6地址时, SGSN设置 PDP Address Type为 IPv6 Only, 并为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDP Address中, 同时将 IPv6地址中的 IPv6 Prefix设 置为全零; 当 SGSN确定本地网络为 UE分配的 IP地址为 IPv4v6地址时, SGSN设置 PDP Address Type为 IPv4v6, 并设置 PDP Address中的 IPv4地址 为零(即 0.0.0.0 ), 为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDP Address的 IPv6地址中,同时将 IPv6地址中地址前缀( IPv6 Prefix )设置为全零。 When the SGSN determines that the IP address assigned by the local network to the UE is an IPv4 address, the SGSN sets the PDP Address Type to IPv4 Only, and sets the PDP Address to be zero (ie, 0.0.0.0); when the SGSN determines that the IP address assigned by the local network to the UE is In the IPv6 address, the SGSN sets the PDP Address Type to IPv6 Only, and assigns the IPv6 Interface Identity to the UE, sets the IPv6 Interface Identity in the PDP Address, and sets the IPv6 Prefix in the IPv6 address to all zeros; when the SGSN determines the local When the IP address assigned by the network to the UE is an IPv4v6 address, the SGSN sets the PDP Address Type to IPv4v6 and sets the IPv4 address in the PDP Address. Zero (ie 0.0.0.0), the IPv6 Interface Identity is assigned to the UE, the IPv6 Interface Identity is set in the IPv6 address of the PDP Address, and the address prefix (IPv6 Prefix) in the IPv6 address is set to all zeros.
UE接收到 Activate PDP Context Accept消息后:  After receiving the Activate PDP Context Accept message, the UE:
若 PDP Address Type为 IPv4 Only, 且 PDP Address为零(即 0.0.0.0 ), 则 使用 DHCPv4的方式来获取一个 IPv4地址;  If the PDP Address Type is IPv4 Only and the PDP Address is zero (that is, 0.0.0.0), DHCPv4 is used to obtain an IPv4 address.
若 PDP Address Type为 IPv6 Only, 则获 储在 PDP Address中的 IPv6 Interface Identity,并使用 IPv6无状态地址自配置方式来获取一个 IPv6 Prefix, 然后根据 IPv6 Interface Identity与 IPv6 Prefix生成一个 IPv6地址;  If the PDP Address Type is IPv6 Only, the IPv6 Interface Identity is obtained in the PDP Address, and an IPv6 Prefix is obtained by using the IPv6 stateless address self-configuration method. Then, an IPv6 address is generated according to the IPv6 Interface Identity and the IPv6 Prefix.
若 PDP Address Type为 IPv4v6, 且 PDP Address中 IPv4部分为零(即 0.0.0.0 ), 则获取存储在 PDP Address中的 IPv6 Interface Identity, 并在其后使 用 DHCPv4的方式来获取一个 IPv4地址, 并使用 IPv6无状态地址自配置方 式来获取一个 IPv6 Prefix,然后根据 IPv6 Interface Identity与 IPv6 Prefix生成 一个 IPv6地址。  If the PDP Address Type is IPv4v6, and the IPv4 part of the PDP Address is zero (ie, 0.0.0.0), obtain the IPv6 Interface Identity stored in the PDP Address, and then use DHCPv4 to obtain an IPv4 address and use The IPv6 stateless address is self-configured to obtain an IPv6 Prefix, and then generates an IPv6 address based on the IPv6 Interface Identity and the IPv6 Prefix.
上述 Activate PDP Context过程完成后, UE便可以通过 HNB连接到本地 网络, 并通过 HNB与本地网络中的设备进行通信。  After the Activate PDP Context process is complete, the UE can connect to the local network through the HNB and communicate with the devices on the local network through the HNB.
下面说明一下本发明实施例提供的系统。  The system provided by the embodiment of the present invention is described below.
参见图 6, 本发明实施例提供的一种通信系统包括:  Referring to FIG. 6, a communication system provided by an embodiment of the present invention includes:
用户移动控制管理实体 11, 用于根据用户设备 UE 12请求接入的本地网 络的信息, 指示家庭基站 13通过为该 UE 12建立本地网络的无线承载, 将该 UE 12接入本地网络; 确定本地网络为 UE 12分配的因特网协议 IP地址的类 型, 并指示所述 UE 12从家庭基站获取该类型的 IP地址。  The user mobility control management entity 11 is configured to: according to the information of the local network that the user equipment UE 12 requests to access, instruct the home base station 13 to establish the radio bearer of the local network for the UE 12, and connect the UE 12 to the local network; The network assigns the type of Internet Protocol IP address to the UE 12 and instructs the UE 12 to obtain this type of IP address from the home base station.
家庭基站 13, 用于 所述用户移动控制管理实体 11发送的为 UE 12 建立本地网络的承载的指示, 为该 UE 12建立本地网络的无线承载, 并根据 该 UE 12发送的请求分配 IP地址的消息, 为该 UE 12分配 IP地址。  The home base station 13 is configured to send, by the user mobility control management entity 11, an indication that the UE 12 establishes a bearer of the local network, establish a radio bearer of the local network for the UE 12, and allocate an IP address according to the request sent by the UE 12. A message is assigned to the UE 12 with an IP address.
本发明实施例中所述的用户移动控制管理实体 11 , 即一种用于控制 IP地 址分配的装置。 较佳地, 所述用户移动控制管理实体 11包括: The user mobility control management entity 11 described in the embodiment of the present invention is a device for controlling IP address allocation. Preferably, the user mobility control management entity 11 includes:
接入本地网络指示单元 111,用于根据 UE 12请求接入的本地网络的信息, 指示家庭基站 13通过为该 UE 12建立本地网络的无线承栽,将该 UE 12接入 本地网络。  The access local network indication unit 111 is configured to, according to the information of the local network that the UE 12 requests to access, instruct the home base station 13 to connect the UE 12 to the local network by establishing a wireless bearer of the local network for the UE 12.
IP地址类型确定单元 112, 用于根据所述用户移动控制管理实体 11的配 置信息, 以及 UE 12请求分配的 IP地址的类型和该 UE 12的签约数据, 确定 本地网络为 UE 12分配的 IP地址的类型。  The IP address type determining unit 112 is configured to determine, according to the configuration information of the user mobility control management entity 11 and the type of the IP address that the UE 12 requests to be allocated and the subscription data of the UE 12, the IP address allocated by the local network to the UE 12. type.
IP地址获取指示单元 113, 用于指示 UE 12从家庭基站 13获取所述 IP 地址类型确定单元 111为该 UE 12确定的类型的 IP地址。  The IP address obtaining indication unit 113 is configured to instruct the UE 12 to acquire, from the home base station 13, an IP address of a type determined by the IP address type determining unit 111 for the UE 12.
较佳地, IP地址类型确定单元 112, 通过家庭基站 13的上报, 获取本地 网络支持的 IP地址的类型。  Preferably, the IP address type determining unit 112 obtains the type of the IP address supported by the local network through the reporting by the home base station 13.
较佳地, 当所述用户移动控制管理实体 11为 MME时, 所述 IP地址获取 指示单元 113, 通过分组数据网连接接受(PDN Connectivity Accept ) 消息、 或者激活缺省 EPS 承载上下文请求 ( Activate default EPS bearer context request ) 消息、 或者附着接受(Attach Accept ) 消息指示 UE 12从家庭基站 13获取 IP地址。  Preferably, when the user mobility control management entity 11 is an MME, the IP address acquisition indication unit 113 accepts a (PDN Connectivity Accept) message through a packet data network connection or activates a default EPS bearer context request (Activate default The EPS bearer context request ) message, or an Attach Accept message, instructs the UE 12 to obtain an IP address from the home base station 13.
较佳地, 所述 IP地址获取指示单元 113, 通过 PDN Connectivity Accept 消息或者 Activate default EPS bearer context request消息或者 Attach Accept消 息中的, 分組数据网类型 PDN Type和分组数据网地址 PDN Address, 指示 UE 12从家庭基站 13获取 IP地址; 其中, 版本 4的因特网协议 IPv4地址时, 所述 IP地址获取指示单元 113设置 PDN Type为仅 IPv4, 并设置 PDN Address为零; 版本 6的因特网协议 IPv6地址时, 所述 IP地址获取指示单元 112设置 PDN Type为仅 IPv6,并为该 UE 12分配 IPv6接口标识 Interface Identity,将该 IPv6 Interface Identity设置在 PDN Address中; 当所述 IP地址类型确定单元 112确定本地网络为 UE 12分配的 IP地址为 版本 4和版本 6的因特网协议 IPv4v6地址时, 所述 IP地址获取指示单元 113 设置 PDN Type为 IPv4v6, 并设置 PDN Address中的 IPv4地址为零, 为该 UE 12分配 IPv6 Interface Identity,将该 IPv6 Interface Identity设置在 PDN Address 的 IPv6地址中。 Preferably, the IP address obtaining indication unit 113 indicates the UE 12 by using a PDN Connectivity Accept message or an Activate default EPS bearer context request message or an Attach Accept message, a packet data network type PDN Type and a packet data network address PDN Address. Obtaining an IP address from the home base station 13; wherein, in the version 4 of the Internet Protocol IPv4 address, the IP address acquisition instructing unit 113 sets the PDN Type to IPv4 only, and sets the PDN Address to be zero; when the version 6 Internet Protocol IPv6 address, The IP address acquisition instructing unit 112 sets the PDN Type to IPv6 only, and assigns an IPv6 interface identifier to the UE 12, and sets the IPv6 Interface Identity in the PDN Address. When the IP address type determining unit 112 determines that the IP address assigned by the local network to the UE 12 is the Internet Protocol IPv4v6 address of Release 4 and Version 6, the IP address acquisition instructing unit 113 sets the PDN Type to IPv4v6, and sets the PDN Address. The IPv4 address is zero, the IPv6 Interface Identity is assigned to the UE 12, and the IPv6 Interface Identity is set in the IPv6 address of the PDN Address.
较佳地, 当所述用户移动控制管理实体 11为 SGSN时, 所述 IP地址获 取指示单元 113, 通过激活分组数据协议上下文接受 Activate PDP Context Accept消息, 指示 UE 12从基站 13获取 IP地址。  Preferably, when the user mobility control management entity 11 is an SGSN, the IP address obtaining indication unit 113 receives an Activate PDP Context Accept message by activating a packet data protocol context, and instructs the UE 12 to acquire an IP address from the base station 13.
较佳地,所述 IP地址获取指示单元 113,通过 Activate PDP Context Accept 消息中的分组数据协议地址类型 PDP Address Type和分组数据协议地址 PDP Address, 指示 UE 12从家庭基站 13获取 IP地址; 其中,  Preferably, the IP address acquisition instructing unit 113 instructs the UE 12 to obtain an IP address from the home base station 13 by using the packet data protocol address type PDP Address Type and the packet data protocol address PDP Address in the Activate PDP Context Accept message.
当所述 IP地址类型确定单元 112确定本地网络为 UE 12分配的 IP地址为 版本 4的因特网协议 IPv4地址时, 所述 IP地址获取指示单元 113设置 PDP Address Type为仅 IPv4, 并设置 PDP Address为零;  When the IP address type determining unit 112 determines that the IP address assigned by the local network to the UE 12 is the Internet Protocol IPv4 address of the version 4, the IP address acquisition instructing unit 113 sets the PDP Address Type to IPv4 only, and sets the PDP Address to Zero
当所述 IP地址类型确定单元 112确定本地网络为 UE 12分配的 IP地址为 版本 6的因特网协议 IPv6地址时, 所述 IP地址获取指示单元 113设置 PDP Address Type为仅 IPv6, 并为该 UE 12分配接口标识 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDP Address中;  When the IP address type determining unit 112 determines that the IP address assigned by the local network to the UE 12 is the Internet Protocol IPv6 address of the version 6, the IP address acquisition instructing unit 113 sets the PDP Address Type to IPv6 only, and is the UE 12 Assign the interface identifier to the IPv6 Interface Identity, and set the IPv6 Interface Identity in the PDP Address.
当所述 IP地址类型确定单元 112确定本地网络为 UE 12分配的 IP地址为 版本 4和版本 6的因特网协议 IPv4v6地址时, 所述 IP地址获取指示单元 113 设置 PDP Address Type为 IPv4v6, 并设置 PDP Address中的 IPv4地址为零, 为该 UE 12分配 IPv6接口标识 Interface Identity, 将该 IPv6 Interface Identity 设置在 PDP Address的 IPv6地址中。  When the IP address type determining unit 112 determines that the IP address assigned by the local network to the UE 12 is the Internet Protocol IPv4v6 address of Release 4 and Version 6, the IP address acquisition instructing unit 113 sets the PDP Address Type to IPv4v6, and sets the PDP. The IPv4 address in the Address is zero, and the UE 12 is assigned an IPv6 interface identifier, and the IPv6 Interface Identity is set in the IPv6 address of the PDP Address.
较佳地, 所述家庭基站 13包括:  Preferably, the home base station 13 includes:
承载建立单元 131 ,用于根据所述用户移动控制管理实体 11发送的为 UE 12建立本地网络的承载的指示, 为该 UE 12建立本地网络的无线承载。  The bearer establishing unit 131 is configured to establish, according to the user mobility control management entity 11, an indication that the UE 12 establishes a bearer of the local network, and establish a radio bearer of the local network for the UE 12.
接收请求单元 132, 用于接收 UE 12发送的请求分配 IP地址的消息。 N2010/000559The receiving request unit 132 is configured to receive a message sent by the UE 12 requesting to allocate an IP address. N2010/000559
IP地址分配单元 133, 用于根据 UE 12发送的请求分配 IP地址的消息, 通过版本 4的动态主机配置协议 DHCPv4, 和 /或通过 IPv6无状态地址自配置 方式, 为该 UE 12分配 IP地址。 The IP address allocating unit 133 is configured to allocate an IP address to the UE 12 according to a request for the IP address to be allocated according to the request sent by the UE 12, through the dynamic host configuration protocol DHCPv4 of the version 4, and/or through the IPv6 stateless address self-configuration mode.
较佳地, 所述 UE 12包括:  Preferably, the UE 12 includes:
请求接入本地网络单元 121,用于将所述 UE 12请求接入的本地网络的信 息发送给家庭基站 13,并通过所述家庭基站 13为所述 UE 12建立的本地网络 的无线承载, 接入本地网络。  Requesting access to the local network unit 121, for transmitting the information of the local network that the UE 12 requests to access to the home base station 13, and transmitting, by the home base station 13, the radio bearer of the local network established by the UE 12 Enter the local network.
IP地址类型获取单元 122, 用于接收用户移动控制管理实体 11的指示, 并从中获取所述用户移动控制管理实体 11确定的本地网络为所述 UE 12分配 的因特网协议 IP地址的类型。  The IP address type obtaining unit 122 is configured to receive an indication of the user mobility control management entity 11 and obtain a type of an Internet Protocol IP address allocated by the local network determined by the user mobility control management entity 11 for the UE 12.
IP地址获取单元 123, 用于从家庭基站 13获取 IP地址。  The IP address obtaining unit 123 is configured to acquire an IP address from the home base station 13.
较佳地, 所述 IP地址获取单元 123, 根据所述用户移动控制管理实体 11 确定的本地网络为所述 UE 12分配的 IP地址的类型, 通过版本 4的动态主机 配置协议 DHCPv4, 和 /或通过 IPv6无状态地址自配置方式, 从家庭基站 13 获取该类型的 IP地址。  Preferably, the IP address obtaining unit 123, according to the type of the IP address allocated by the local network determined by the user mobility control management entity 11 for the UE 12, passes the dynamic host configuration protocol DHCPv4 of version 4, and/or This type of IP address is obtained from the home base station 13 by the IPv6 stateless address self-configuration method.
综上所述, 本发明实施例通过用户移动控制管理实体确定本地网络为用 户设备 UE分配的 IP地址的类型, 并指示 UE以 IETF所定义的 IP地址分配 方式从家庭基站获取该类型的 IP地址;基站根据 UE发送的请求分配 IP地址 的消息,为该 UE分配 IP地址,从而在没有采用核心网中的 PDN GW或 GGSN 的情况下, 例如当 UE接入本地网络的情况下, 通过用户移动控制管理实体 ( MME或 SGSN )也可以实现为 UE分配 IP地址。  In summary, the embodiment of the present invention determines, by the user mobility control management entity, the type of the IP address allocated by the local network to the user equipment UE, and instructs the UE to obtain the IP address of the type from the home base station in the IP address allocation manner defined by the IETF. The base station allocates an IP address message according to the request sent by the UE, and allocates an IP address to the UE, so that if the PDN GW or the GGSN in the core network is not adopted, for example, when the UE accesses the local network, the user moves. The Control Management Entity (MME or SGSN) may also implement an IP address assigned to the UE.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权 利 要 求 Rights request
1、 一种因特网协议 IP地址分配方法, 其特征在于, 该方法包括: 用户移动控制 f理实体根据用户设备 UE请求接入的本地网络的信息,指 示家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE接入本地网络; 所述用户移动控制管理实体确定本地网络为 UE分配的 IP地址的类型, 并指示所述 UE从家庭基站获取该类型的 IP地址; A method for allocating an IP address of an Internet protocol, the method comprising: the user mobility control entity, according to the information of the local network that the user equipment UE requests to access, instructing the home base station to establish a local network wireless manner for the UE Carrying, accessing the UE to the local network; the user mobility control management entity determines the type of the IP address allocated by the local network for the UE, and instructs the UE to obtain the IP address of the type from the home base station;
家庭基站根据 UE发送的请求分配 IP地址的消息,为该 UE分配 IP地址。  The home base station allocates an IP address according to the request sent by the UE, and allocates an IP address to the UE.
2、 根据权利要求 1所述的方法, 其特征在于, 所述用户移动控制管理实 体确定本地网络为 UE分配的 IP地址的类型的步骤包括:  The method according to claim 1, wherein the step of determining, by the user mobility control management entity, the type of the IP address allocated by the local network to the UE comprises:
所述用户移动控制管理实体, 根据自身的配置信息、 UE请求分配的 IP 地址的类型、 该 UE的签约数据以及所述本地网络支持的 IP地址的类型, 确 定本地网络为 UE分配的 IP地址的类型。  Determining, by the user mobility control management entity, the IP address assigned by the local network to the UE according to the configuration information of the UE, the type of the IP address that the UE requests to be allocated, the subscription data of the UE, and the type of the IP address supported by the local network. Types of.
3、 根据权利要求 2 所述的方法, 其特征在于, 所述本地网络支持的 IP 地址的类型, 是所述用户移动控制管理实体从所述本地网络的家庭基站获取 的。  3. The method according to claim 2, wherein the type of the IP address supported by the local network is obtained by the user mobility control management entity from a home base station of the local network.
4、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述用户移动控 制管理实体为移动性管理实体 MME;  The method according to claim 1, 2 or 3, wherein the user mobility control management entity is a mobility management entity MME;
所述指示 UE从家庭基站获取 IP地址的步骤包括:  The step of instructing the UE to obtain an IP address from the home base station includes:
MME通过分组数据网连接接受 PDN Connectivity Accept消息、或者激活 缺省演进分组系统 EPS承栽上下文请求 Activate default EPS bearer context request消息、或者附着接受 Attach Accept消息指示 UE从家庭基站获取 IP地 址。  The MME accepts the PDN Connectivity Accept message through the packet data network connection, or activates the default evolved packet system EPS bearer context request Activate Default EPS bearer context request message, or attach accepts the Attach Accept message to instruct the UE to obtain the IP address from the home base station.
5、 根据权利要求 4 所述的方法, 其特征在于, 所述 MME通过 PDN Connectivity Accept消息或者 Activate default EPS bearer context request消息或 者 Attach Accept消息中的,分组数据网类型 PDN Type和分组数据网地址 PDN Address, 指示 UE从家庭基站获取 IP地址; 其中, 当所述 MME确定本地网络为 UE分配的 IP地址为版本 4的因特网协议 IPv4地址时, 所述 MME设置 PDN Type为 IPv4, 并设置 PDN Address为零; 当所述 MME确定本地网络为 UE分配的 IP地址为版本 6的因特网协议 IPv6地址时, 所述 MME设置 PDN Type为 IPv6, 并为该 UE分配 IPv6接口 标识 Interface Identity, 将该 IPv6 Interface Identity设置在 PDN Address中; 当所述 MME确定本地网络为 UE分配的 IP地址为版本 4和版本 6的因 特网协议 IPv4v6地址时, 所述 MME设置 PDN Type为 IPv4v6, 并设置 PDN Address中的 IPv4地址为零, 为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDN Address的 IPv6地址中。 The method according to claim 4, wherein the MME passes the PDN Connectivity Accept message or the Activate default EPS bearer context request message or the Attach Accept message, the packet data network type PDN Type and the packet data network address PDN. Address, indicating that the UE obtains an IP address from the home base station; When the MME determines that the IP address assigned by the local network to the UE is the version 4 Internet Protocol IPv4 address, the MME sets the PDN Type to IPv4, and sets the PDN Address to be zero; when the MME determines that the local network is allocated for the UE When the IP address is the Internet Protocol IPv6 address of the version 6, the MME sets the PDN Type to IPv6, and assigns the IPv6 interface identifier Interface Identity to the UE, and sets the IPv6 Interface Identity in the PDN Address; when the MME determines the local network. When the IP address assigned to the UE is the Internet Protocol IPv4v6 address of the version 4 and the version 6, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to zero, and assigns the IPv6 Interface Identity to the UE. The Interface Identity is set in the IPv6 address of the PDN Address.
6、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述用户移动控 制管理实体为服务通用分组无线业务支持节点 SGSN;  The method according to claim 1, 2 or 3, wherein the user mobility control management entity is a serving general packet radio service support node SGSN;
所述指示 UE从家庭基站获取 IP地址的步骤包括:  The step of instructing the UE to obtain an IP address from the home base station includes:
SGSN通过激活分组数据协议上下文接受 Activate PDP Context Accept消 息, 指示 UE从家庭基站获取 IP地址。  The SGSN accepts the Activate PDP Context Accept message by activating the packet data protocol context, instructing the UE to obtain an IP address from the home base station.
7、根据权利要求 6所述的方法,其特征在于,所述 SGSN通过 Activate PDP Context Accept消息中的分组数据协议地址类型 PDP Address Type和分组数据 协议地址 PDP Address, 指示 UE从家庭基站获取 IP地址; 其中,  The method according to claim 6, wherein the SGSN instructs the UE to obtain an IP address from the home base station by using a packet data protocol type PDP Address Type and a packet data protocol address PDP Address in the Activate PDP Context Accept message. ; among them,
当所述 SGSN确定本地网络为 UE分配的 IP地址为版本 4的因特网协议 IPv4地址时,所述 SGSN设置 PDP Address Type为 IPv4,并设置 PDP Address 为零;  When the SGSN determines that the IP address assigned by the local network to the UE is the Internet Protocol IPv4 address of the version 4, the SGSN sets the PDP Address Type to IPv4 and sets the PDP Address to zero;
当所述 SGSN确定本地网络为 UE分配的 IP地址为版本 6的因特网协议 IPv6地址时,所述 SGSN设置 PDP Address Type为 IPv6,并为该 UE分配 IPv6 接口标识 Interface Identity, ^"该 IPv6 Interface Identity设置在 PDP Address 中;  When the SGSN determines that the IP address assigned by the local network to the UE is the version 6 Internet Protocol IPv6 address, the SGSN sets the PDP Address Type to IPv6, and assigns the IPv6 interface identifier to the UE, and the IPv6 Interface Identity. Set in the PDP Address;
当所述 SGSN确定本地网络为 UE分配的 IP地址为版本 4和版本 6的因 特网协议 IPv4v6地址时, 所述 SGSN设置 PDP Address Type为 IPv4v6, 并设 置 PDP Address中的 IPv4地址为零, 为该 UE分配 IPv6 Interface Identity, 将 该 IPv6 Interface Identity设置在 PDP Address的 IPv6地址中。 When the SGSN determines that the IP address assigned by the local network to the UE is the Internet Protocol IPv4v6 address of the version 4 and the version 6, the SGSN sets the PDP Address Type to IPv4v6, and sets the IPv4 address in the PDP Address to be zero, for the UE. Assign IPv6 Interface Identity, will The IPv6 Interface Identity is set in the IPv6 address of the PDP Address.
8、 根据权利要求 1所述的方法, 其特征在于, 所述用户移动控制管理实 体根据 UE请求接入的本地网络的信息,指示家庭基站通过为该 UE建立本地 网络的无线承栽, 将该 UE接入本地网络的步驟包括:  The method according to claim 1, wherein the user mobility control management entity instructs the home base station to establish a wireless bearer of the local network for the UE according to the information of the local network that the UE requests to access. The steps for the UE to access the local network include:
移动性管理实体 MME通过 UE发起的附着过程或分组数据网连接过程, 获取该 UE请求接入本地网络的信息, 根据 UE请求接入本地网络的信息, 指 示家庭基站为该 UE建立本地网络的无线承载, 家庭基站根据 MME的指示, 通过为该 UE建立本地网络的无线承载, 实现将该 UE接入本地网络; 或者, 服务通用分组无线业务支持节点 SGSN通过 UE发起的激活分组数据协议 上下文过程, 获取该 UE请求接入的本地网络的信息, SGSN根据 UE请求接 入的本地网络的信息,指示家庭基站为该 UE建立本地网络的无线承载, 家庭 基站根据所述 SGSN的指示,通过为该 UE建立本地网络的无线承载, 实现将 该 UE接入本地网络。  The mobility management entity MME obtains the information that the UE requests to access the local network through the UE-originated attachment process or the packet data network connection process, and according to the information that the UE requests to access the local network, instructs the home base station to establish a local network wireless for the UE. The bearer, the home base station establishes the radio bearer of the local network for the UE to access the local network according to the indication of the MME; or, the serving general packet radio service support node SGSN activates the packet data protocol context procedure by using the UE, Acquiring the information of the local network that the UE requests to access, the SGSN, according to the information of the local network that the UE requests to access, instructs the home base station to establish a radio bearer of the local network for the UE, and the home base station passes the UE according to the indication of the SGSN. Establish a radio bearer of the local network to access the UE to the local network.
9、 一种控制因特网协议 IP地址分配的装置, 其特征在于, 该装置包括: 接入本地网络指示单元,用于根据用户设备 UE请求接入的本地网络的信 息, 指示家庭基站通过为该 UE建立本地网络的无线承载, 将该 UE接入本地 网络;  A device for controlling an IP address allocation of an Internet Protocol, the device comprising: an access local network indication unit, configured to indicate, according to information of a local network that the user equipment UE requests to access, to indicate that the home base station passes the UE Establish a radio bearer of the local network, and connect the UE to the local network;
IP地址类型确定单元, 用于确定本地网络为 UE分配的 IP地址的类型; IP地址获取指示单元, 用于指示 UE从家庭基站获取所述 IP地址类型确 定单元为该 UE确定的类型的 IP地址。  An IP address type determining unit, configured to determine a type of an IP address allocated by the local network to the UE, and an IP address obtaining indication unit, configured to instruct the UE to acquire, from the home base station, an IP address of the type determined by the IP address type determining unit for the UE .
10、 根据权利要求 9所述的装置, 其特征在于, 所述 IP地址类型确定单 元, 根据所述用户移动控制管理实体的配置信息, 所述本地网络支持的 IP地 址的类型, 以及 UE请求分配的 IP地址的类型和该 UE的签约数据, 确定本 地网络为 UE分配的 IP地址的类型。  The device according to claim 9, wherein the IP address type determining unit, according to the configuration information of the user mobility control management entity, the type of the IP address supported by the local network, and the UE requesting the allocation The type of the IP address and the subscription data of the UE determine the type of the IP address assigned by the local network to the UE.
11、根据权利要求 10所述的装置, 其特征在于, 所述 IP地址类型确定单 元, 从所述家庭基站获取本地网络支持的 IP地址的类型。  The device according to claim 10, wherein the IP address type determining unit acquires a type of an IP address supported by the local network from the home base station.
12、 根据权利要求 9、 10或 11所述的装置, 其特征在于, 该装置为移动 性管理实体 MME; 12. Apparatus according to claim 9, 10 or 11 wherein the apparatus is mobile Sex management entity MME;
所述 IP地址获取指示单元, 通过分组数据网连接接受 PDN Connectivity Accept消息、或者激活缺省演进分组系统 EPS承栽上下文请求 Activate default EPS bearer context request消息、 或者附着接受 Attach Accept消息指示 UE从 家庭基站获取 IP地址。  The IP address acquisition indication unit accepts a PDN Connectivity Accept message by using a packet data network connection, or activates a default default EPS bearer context request message, or attaches an Accept Accept message to indicate that the UE is from the home base station. Get the IP address.
13、根据权利要求 12所述的装置, 其特征在于, 所述 IP地址获取指示单 元 , 通过 PDN Connectivity Accept消息或者 Activate default EPS bearer context request消息或者 Attach Accept消息中的, 分组数据网类型 PDN Type和分组 数据网地址 PDN Address, 指示 UE从家庭基站获取 IP地址; 其中, 的因特网协议 IPv4地址时,所述 IP地址获取指示单元设置 PDN Type为 IPv4, 并设置 PDN Address为零; 的因特网协议 IPv6地址时,所述 IP地址获取指示单元设置 PDN Type为 IPv6, 并为该 UE分配 IPv6接口标识 Interface Identity, 将该 IPv6 Interface Identity 设置在 PDN Address中;  The device according to claim 12, wherein the IP address acquisition indication unit, by a PDN Connectivity Accept message or an Activate default EPS bearer context request message or an Attach Accept message, a packet data network type PDN Type and The packet data network address PDN Address indicates that the UE obtains an IP address from the home base station; wherein, the Internet Protocol IPv4 address, the IP address acquisition indication unit sets the PDN Type to IPv4, and sets the PDN Address to be zero; the Internet Protocol IPv6 address The IP address acquisition indication unit sets the PDN Type to IPv6, and assigns an IPv6 interface identifier to the UE, and sets the IPv6 Interface Identity in the PDN Address.
当所述 IP地址类型确定单元确定本地网络为 UE分配的 IP地址为版本 4 和版本 6的因特网协议 IPv4v6地址时, 所述 IP地址获取指示单元设置 PDN Type为 IPv4v6, 并设置 PDN Address中的 IPv4地址为零, 为该 UE分配 IPv6 Interface Identity, 4夺该 IPv6 Interface Identity设置在 PDN Address的 IPv6地址 中。  When the IP address type determining unit determines that the IP address assigned by the local network to the UE is the Internet Protocol IPv4v6 address of Release 4 and Version 6, the IP address acquisition indication unit sets the PDN Type to IPv4v6, and sets the IPv4 in the PDN Address. The address is zero, the IPv6 Interface Identity is assigned to the UE, and the IPv6 Interface Identity is set in the IPv6 address of the PDN Address.
14、 根据权利要求 9、 10或 11所述的装置, 其特征在于, 该装置为服务 通用分组无线业务支持节点 SGSN;  The apparatus according to claim 9, 10 or 11, wherein the apparatus is a serving general packet radio service support node SGSN;
所述 IP地址获取指示单元, 通过激活分组数据协议上下文接受 Activate PDP Context Accept消息, 指示 UE从家庭基站获取 IP地址。  The IP address obtaining indication unit receives an Activate PDP Context Accept message by activating a packet data protocol context, and instructs the UE to acquire an IP address from the home base station.
15、根据权利要求 14所述的装置, 其特征在于, 所述 IP地址获取指示单 元, 通过 Activate PDP Context Accept消息中的分组数据协议地址类型 PDP Address Type和分组数据协议地址 PDP Address, 指示 UE从家庭基站获取 IP 地址; 其中, The device according to claim 14, wherein the IP address acquisition indication unit passes the packet data protocol address type PDP in the Activate PDP Context Accept message. The address type and the packet data protocol address PDP Address, instructing the UE to obtain an IP address from the home base station;
当所述 IP地址类型确定单元确定本地网络为 UE分配的 IP地址为版本 4 的因特网协议 IPv4地址时, 所述 IP地址获取指示单元设置 PDP Address Type 为 IPv4, 并设置 PDP Address为零; 的因特网协议 IPv6地址时, 所述 IP地址获取指示单元设置 PDP Address Type 为 IPv6, 并为该 UE分配 IPv6接口标识 Interface Identity, 将该 IPv6 Interface Identity设置在 PDP Address中; 和版本 6的因特网协议 IPv4v6地址时, 所述 IP地址荻取指示单元设置 PDP Address Type为 IPv4v6, 并设置 PDP Address中的 IPv4地址为零, 为该 UE 分配 IPv6 Interface Identity,将该 IPv6 Interface Identity设置在 PDP Address的 IPv6地址中。  When the IP address type determining unit determines that the IP address assigned by the local network to the UE is the Internet Protocol IPv4 address of the version 4, the IP address acquisition instructing unit sets the PDP Address Type to IPv4, and sets the PDP Address to be zero; When the IPv6 address is configured, the IP address obtaining indication unit sets the PDP Address Type to IPv6, and assigns the IPv6 interface identifier Interface Identity to the UE, and sets the IPv6 Interface Identity in the PDP Address; and the version 6 Internet Protocol IPv4v6 address The IP address capture indication unit sets the PDP Address Type to IPv4v6, and sets the IPv4 address in the PDP Address to zero, assigns the IPv6 Interface Identity to the UE, and sets the IPv6 Interface Identity in the IPv6 address of the PDP Address.
16、 一种家庭基站, 其特征在于, 所述家庭基站包括:  16. A home base station, wherein the home base station comprises:
承载建立单元,用于根据用户移动控制管理实体发送的为用户设备 UE建 立本地网络的承载的指示, 为该 UE建立本地网络的无线承栽;  a bearer establishing unit, configured to establish, according to a user mobile control management entity, an indication that the user equipment UE establishes a bearer of the local network, and establish a wireless bearer of the local network for the UE;
接收请求单元,用于接收 UE发送的请求分配因特网协议 Π>地址的消息; IP地址分配单元,用于根据 UE发送的请求分配 IP地址的消息,为该 UE 分配 IP地址。  And a receiving requesting unit, configured to receive a message that is sent by the UE to request an Internet Protocol 地址>address; and an IP address allocating unit, configured to allocate an IP address according to the request sent by the UE, and allocate an IP address to the UE.
17、根据权利要求 16所述的家庭基站,其特征在于, 所述 IP地址分配单 元, 根据 UE发送的请求分配 IP地址的消息, 通过版本 4的动态主机配置协 议 DHCPv4, 和 /或通过 IPv6无状态地址自配置方式, 为该 UE分配 IP地址。  The home base station according to claim 16, wherein the IP address allocation unit allocates an IP address message according to a request sent by the UE, passes the dynamic host configuration protocol DHCPv4 of version 4, and/or does not pass IPv6. The status address is self-configured and the IP address is assigned to the UE.
18、 一种通信系统, 其特征在于, 该系统包括:  18. A communication system, the system comprising:
用户移动控制管理实体,用于根据用户设备 UE请求接入的本地网络的信 息, 指示家庭基站通过为该 UE建立本地网络的无线承栽, 将该 UE接入本地 网络; 确定本地网络为 UE分配的因特网协议 IP地址的类型,并指示所述 UE 从家庭基站获取该类型的 IP地址; The user mobility control management entity is configured to: according to the information of the local network that the user equipment UE requests to access, instruct the home base station to establish the wireless bearer of the local network for the UE, and connect the UE to the local network; Type of Internet Protocol IP address and indicates the UE Obtaining an IP address of this type from the home base station;
家庭基站,用于根据所述用户移动控制管理实体发送的为 UE建立本地网 络的承栽的指示, 为该 UE建立本地网络的无线承栽, 并根据该 UE发送的请 求分配 IP地址的消息, 为该 UE分配 IP地址,  The home base station is configured to establish, according to the user mobility control management entity, an indication of establishing a bearer of the local network for the UE, establish a wireless bearer of the local network for the UE, and allocate an IP address message according to the request sent by the UE, Assign an IP address to the UE,
19、 一种用户设备, 其特征在于, 所述用户设备包括:  A user equipment, where the user equipment includes:
请求接入本地网络单元, 用于将所述用户设备请求接入的本地网络的信 息发送给家庭基站, 并通过所述家庭基站为所述用户设备建立的本地网络的 无线承栽, 接入本地网络;  And requesting to access the local network unit, where the information about the local network that the user equipment requests to access is sent to the home base station, and the local base station establishes a wireless bearer for the local network established by the user equipment, and accesses the local network. The internet;
IP地址类型获取单元, 用于接收用户移动控制管理实体的指示, 并从中 获取所述用户移动控制管理实体确定的本地网络为所述用户设备分配的因特 网协议 IP地址的类型;  An IP address type obtaining unit, configured to receive an indication of a user mobility control management entity, and obtain, from the medium network type, an IP address type assigned by the local network determined by the user mobility control management entity to the user equipment;
IP地址获取单元, 用于从家庭基站获取所述类型的 IP地址。  The IP address obtaining unit is configured to acquire the IP address of the type from the home base station.
20、根据权利要求 19所述的用户设备, 其特征在于, 所述 Π>地址获取单 元, 根据所述用户移动控制管理实体确定的本地网络为所述用户设备分配的 IP地址的类型, 通过版本 4的动态主机配置协议 DHCPv4, 和 /或通过 IPv6无 状态地址自配置方式, 从家庭基站获取所述类型的 IP地址。  The user equipment according to claim 19, wherein the Π>address obtaining unit is configured according to the type of the IP address allocated by the local network determined by the user mobility control management entity for the user equipment, The dynamic host configuration protocol DHCPv4 of 4, and/or obtains the IP address of the type from the home base station through the IPv6 stateless address self-configuration mode.
21、 一种因特网协议 IP地址分配方法, 其特征在于, 该方法包括: 用户移动控制管理实体根据用户设备 UE请求接入的本地网络的信息,指 示家庭基站通过为该 UE建立本地网络的无线承栽, 将该 UE接入本地网络; 所述用户移动控制管理实体确定本地网络为 UE分配的 IP地址的类型, 并指示所述 UE从家庭基站获取该类型的 IP地址,以及指示家庭基站根据 UE 发送的请求分配 IP地址的消息, 为该 UE分配 IP地址。  An Internet Protocol IP address allocation method, the method comprising: the user mobility control management entity instructs the home base station to establish a wireless network of the local network by using the information of the local network that the user equipment UE requests to access. The UE is connected to the local network; the user mobility control management entity determines the type of the IP address allocated by the local network for the UE, and instructs the UE to obtain the IP address of the type from the home base station, and indicates that the home base station is configured according to the UE. The sent request allocates an IP address message to assign an IP address to the UE.
22、 根据权利要求 21所述的方法, 其特征在于, 所述用户移动控制管理 实体确定本地网络为 UE分配的 IP地址的类型的步骤包括:  The method according to claim 21, wherein the step of determining, by the user mobility control management entity, the type of the IP address allocated by the local network to the UE comprises:
所述用户移动控制管理实体, 才艮据自身的配置信息、 UE请求分配的 IP 地址的类型、 该 UE的签约数据以及所述本地网络支持的 IP地址的类型, 确 定本地网络为 UE分配的 IP地址的类型。 The user mobility control management entity determines the IP allocated by the local network to the UE according to the configuration information of the UE, the type of the IP address that the UE requests to be allocated, the subscription data of the UE, and the type of the IP address supported by the local network. The type of address.
23、 根据权利要求 22所述的方法, 其特征在于, 所述本地网络支持的 IP 地址的类型, 是所述用户移动控制管理实体从所述本地网络的家庭基站获取 的。 The method according to claim 22, wherein the type of the IP address supported by the local network is obtained by the user mobility control management entity from a home base station of the local network.
24、 根据权利要求 21、 22或 23所述的方法, 其特征在于, 所述用户移 动控制管理实体为移动性管理实体 MME;  The method according to claim 21, 22 or 23, wherein the user mobility control management entity is a mobility management entity MME;
所述指示 UE从家庭基站获取 IP地址的步骤包括:  The step of instructing the UE to obtain an IP address from the home base station includes:
MME通过分组数据网连接接受 PDN Connectivity Accept消息、或者激活 缺省演进分组系统 EPS承栽上下文请求 Activate default EPS bearer context request消息、或者附着接受 Attach Accept消息指示 UE从家庭基站获取 IP地 址。  The MME accepts the PDN Connectivity Accept message through the packet data network connection, or activates the default evolved packet system EPS bearer context request Activate Default EPS bearer context request message, or attach accepts the Attach Accept message to instruct the UE to obtain the IP address from the home base station.
25、 根据权利要求 24所述的方法, 其特征在于, 所述 MME通过 PDN Connectivity Accept消息或者 Activate default EPS bearer context request消息或 者 Attach Accept消息中的,分组数据网类型 PDN Type和分組数据网地址 PDN Address, 指示 UE从家庭基站获取 IP地址; 其中,  The method according to claim 24, wherein the MME passes the PDN Connectivity Accept message or the Activate default EPS bearer context request message or the Attach Accept message, the packet data network type PDN Type and the packet data network address PDN. Address, indicating that the UE obtains an IP address from the home base station;
当所述 MME确定本地网络为 UE分配的 IP地址为版本 4的因特网协议 IPv4地址时, 所述 MME设置 PDN Type为 IPv4, 并设置 PDN Address为零; 当所述 MME确定本地网络为 UE分配的 IP地址为版本 6的因特网协议 IPv6地址时, 所述 MME设置 PDN Type为 IPv6, 并为该 UE分配 IPv6接口 标识 Interface Identity, 将该 IPv6 Interface Identity设置在 PDN Address中; 当所述 MME确定本地网络为 UE分配的 IP地址为版本 4和版本 6的因 特网协议 IPv4v6地址时, 所述 MME设置 PDN Type为 IPv4v6, 并设置 PDN Address中的 IPv4地址为零, 为该 UE分配 IPv6 Interface Identity, 将该 IPv6 Interface Identity设置在 PDN Address的 IPv6地址中。  When the MME determines that the IP address assigned by the local network to the UE is the version 4 Internet Protocol IPv4 address, the MME sets the PDN Type to IPv4, and sets the PDN Address to be zero; when the MME determines that the local network is allocated for the UE When the IP address is the Internet Protocol IPv6 address of the version 6, the MME sets the PDN Type to IPv6, and assigns the IPv6 interface identifier Interface Identity to the UE, and sets the IPv6 Interface Identity in the PDN Address; when the MME determines the local network. When the IP address assigned to the UE is the Internet Protocol IPv4v6 address of the version 4 and the version 6, the MME sets the PDN Type to IPv4v6, and sets the IPv4 address in the PDN Address to zero, and assigns the IPv6 Interface Identity to the UE. The Interface Identity is set in the IPv6 address of the PDN Address.
26、 根据权利要求 21、 22或 23所述的方法, 其特征在于, 所述用户移 动控制管理实体为服务通用分组无线业务支持节点 SGSN;  The method according to claim 21, 22 or 23, wherein the user mobility control management entity is a serving general packet radio service support node SGSN;
所述指示 UE从家庭基站获取 IP地址的步骤包括:  The step of instructing the UE to obtain an IP address from the home base station includes:
SGSN通过激活分组数据协议上下文接受 Activate PDP Context Accept消 息, 指示 UE从家庭基站获取 IP地址。 The SGSN accepts the Activate PDP Context Accept by activating the packet data protocol context. Info, instructing the UE to obtain an IP address from the home base station.
27、根据权利要求 26所述的方法,其特征在于,所述 SGSN通过 Activate PDP Context Accept消息中的分组数据协议地址类型 PDP Address Type和分组 数据协议地址 PDP Address, 指示 UE从家庭基站获取 IP地址; 其中,  The method according to claim 26, wherein the SGSN instructs the UE to obtain an IP address from the home base station by using a packet data protocol address type PDP Address Type and a packet data protocol address PDP Address in the Activate PDP Context Accept message. ; among them,
当所述 SGSN确定本地网络为 UE分配的 IP地址为版本 4的因特网协议 IPv4地址时,所述 SGSN设置 PDP Address Type为 IPv4,并设置 PDP Address 为零;  When the SGSN determines that the IP address assigned by the local network to the UE is the Internet Protocol IPv4 address of the version 4, the SGSN sets the PDP Address Type to IPv4 and sets the PDP Address to zero;
当所述 SGSN确定本地网络为 UE分配的 IP地址为版本 6的因特网协议 IPv6地址时,所述 SGSN设置 PDP Address Type为 IPv6,并为该 UE分配 IPv6 接口标识 Interface Identity, 将该 IPv6 Interface Identity设置在 PDP Address 中;  When the SGSN determines that the IP address assigned by the local network to the UE is the version 6 Internet Protocol IPv6 address, the SGSN sets the PDP Address Type to IPv6, and assigns the IPv6 interface identifier Interface Identity to the UE, and sets the IPv6 Interface Identity. In the PDP Address;
当所述 SGSN确定本地网络为 UE分配的 IP地址为版本 4和版本 6的因 特网协议 IPv4v6地址时, 所述 SGSN设置 PDP Address Type为 IPv4v6, 并设 置 PDP Address中的 IPv4地址为零, 为该 UE分配 IPv6 Interface Identity, 将 该 IPv6 Interface Identity设置在 PDP Address的 IPv6地址中。  When the SGSN determines that the IP address assigned by the local network to the UE is the Internet Protocol IPv4v6 address of the version 4 and the version 6, the SGSN sets the PDP Address Type to IPv4v6, and sets the IPv4 address in the PDP Address to be zero, for the UE. Assign IPv6 Interface Identity and set the IPv6 Interface Identity to the IPv6 address of the PDP Address.
28、 根据权利要求 21所述的方法, 其特征在于, 所述用户移动控制管理 实体根据 UE请求接入的本地网络的信息,指示家庭基站通过为该 UE建立本 地网络的无线承栽, 将该 UE接入本地网络的步骤包括:  The method according to claim 21, wherein the user mobility control management entity instructs the home base station to establish a wireless bearer of the local network for the UE according to the information of the local network that the UE requests to access, The steps for the UE to access the local network include:
移动性管理实体 MME通过 UE发起的附着过程或分组数据网连接过程, 获取该 UE请求接入本地网络的信息, 根据 UE请求接入本地网络的信息, 指 示家庭基站为该 UE建立本地网络的无线承栽, 家庭基站根据 MME的指示, 通过为该 UE建立本地网络的无线承栽, 实现将该 UE接入本地网络; 或者, 服务通用分組无线业务支持节点 SGSN通过 UE发起的激活分组数据协议 上下文过程, 获取该 UE请求接入的本地网络的信息, SGSN根据 UE请求接 入的本地网络的信息,指示家庭基站为该 UE建立本地网络的无线承载, 家庭 基站根据所述 SGSN的指示,通过为该 UE建立本地网络的无线承栽, 实现将 该 UE接入本地网络。  The mobility management entity MME obtains the information that the UE requests to access the local network through the UE-originated attachment process or the packet data network connection process, and according to the information that the UE requests to access the local network, instructs the home base station to establish a local network wireless for the UE. According to the indication of the MME, the home base station establishes the wireless bearer of the local network for the UE to implement access to the local network; or, the serving general packet radio service support node SGSN activates the packet data protocol context by using the UE. The process, the information about the local network that the UE requests to access is obtained, and the SGSN, according to the information of the local network that the UE requests to access, instructs the home base station to establish a radio bearer of the local network for the UE, and the home base station passes the indication according to the SGSN. The UE establishes a wireless bearer of the local network, and implements accessing the UE to the local network.
PCT/CN2010/000559 2009-04-23 2010-04-22 Method and system for assigning internet protocol address WO2010121495A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910082642.X 2009-04-23
CN 200910082642 CN101873582B (en) 2009-04-23 2009-04-23 IP (Internet Protocol) address allocation method and system

Publications (1)

Publication Number Publication Date
WO2010121495A1 true WO2010121495A1 (en) 2010-10-28

Family

ID=42998192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/000559 WO2010121495A1 (en) 2009-04-23 2010-04-22 Method and system for assigning internet protocol address

Country Status (2)

Country Link
CN (1) CN101873582B (en)
WO (1) WO2010121495A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150030899A (en) * 2013-09-13 2015-03-23 에스케이텔레콤 주식회사 Method for configuring packet data network connectivity, device therefor
CN107710815A (en) * 2015-08-07 2018-02-16 夏普株式会社 Terminal installation, MME, the communication control method of terminal installation and MME communication control method
CN110720197A (en) * 2018-03-06 2020-01-21 克洛姆公司 Computing device and method for executing architecture deployment in a datacenter
US11877202B2 (en) 2022-02-24 2024-01-16 T-Mobile Usa, Inc. Handovers between IPV4 public data network sessions and 5G radio access networks
US11882091B1 (en) 2022-11-10 2024-01-23 T-Mobile Usa, Inc. Allocation of internet protocol addresses based on a location of a visited network

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143245B (en) * 2010-12-01 2013-04-17 华为技术有限公司 IP address allocation control method and IP address allocation control device
CN102325145B (en) * 2011-10-21 2015-04-15 杭州华三通信技术有限公司 Method and equipment for carrying out access control on dual-stack user
CN103188657B (en) * 2011-12-28 2019-02-01 中兴通讯股份有限公司 A kind of method and system for distributing IP address for UE
CN102790810B (en) * 2012-07-18 2015-03-04 大唐移动通信设备有限公司 IP (internet protocol) address allocation method and device
CN104066125B (en) * 2013-03-19 2018-03-09 华为技术有限公司 Reduce the method and controller of service delay
WO2015085521A1 (en) * 2013-12-11 2015-06-18 华为技术有限公司 Internet protocol address allocation method and device
CN103916493B (en) * 2014-04-15 2017-12-08 大唐移动通信设备有限公司 A kind of IP address section distribution method and device
CN105262648B (en) 2014-07-14 2019-10-29 中兴通讯股份有限公司 A kind of implementation method of mixed networking, system and equipment
CN104394525A (en) * 2014-11-17 2015-03-04 大唐移动通信设备有限公司 IP (Internet Protocol) address assignment and obtaining method and device
CN106487940B (en) * 2015-08-28 2019-05-31 国基电子(上海)有限公司 Home eNodeB and the method for IP configuration
CN107295550A (en) * 2017-06-22 2017-10-24 广东欧珀移动通信有限公司 The detection method and device of abnormality processing function
CN109120729A (en) * 2017-06-23 2019-01-01 中国电信股份有限公司 address allocation management method, 6LoWPAN gateway and system
CN110663261B (en) * 2017-06-30 2022-09-16 华为技术有限公司 Communication apparatus and communication method
CN110784329B (en) * 2018-07-30 2022-04-12 成都鼎桥通信技术有限公司 Method and system for routing terminal equipment of LTE network
CN111107046B (en) * 2018-10-29 2021-03-12 大唐移动通信设备有限公司 Data stream transmission method and device
CN110191031B (en) * 2019-05-10 2021-06-29 杭州迪普科技股份有限公司 Network resource access method and device and electronic equipment
CN112532761B (en) * 2020-11-23 2022-09-06 中盈优创资讯科技有限公司 Management method and device for automatically reporting and recording public network address
CN114553831B (en) * 2020-11-25 2023-09-08 华为技术有限公司 Method and system related to sending management IP address

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136826A (en) * 2007-09-30 2008-03-05 中兴通讯股份有限公司 Method for controlling terminal access to family base station overlay area through core network
WO2008131239A2 (en) * 2007-04-20 2008-10-30 Qualcomm Incorporated Method and apparatus for providing gateway relocation when performing a handover
CN101400143A (en) * 2007-09-26 2009-04-01 华为技术有限公司 Redirecting method, system and apparatus for UE

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100484290C (en) * 2006-01-26 2009-04-29 华为技术有限公司 Method for realizing PDP address distribution in service cut-in
CN101106579A (en) * 2006-07-11 2008-01-16 大唐移动通信设备有限公司 A communication system and method for allocating address for user device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131239A2 (en) * 2007-04-20 2008-10-30 Qualcomm Incorporated Method and apparatus for providing gateway relocation when performing a handover
CN101400143A (en) * 2007-09-26 2009-04-01 华为技术有限公司 Redirecting method, system and apparatus for UE
CN101136826A (en) * 2007-09-30 2008-03-05 中兴通讯股份有限公司 Method for controlling terminal access to family base station overlay area through core network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150030899A (en) * 2013-09-13 2015-03-23 에스케이텔레콤 주식회사 Method for configuring packet data network connectivity, device therefor
KR102109605B1 (en) 2013-09-13 2020-05-12 에스케이텔레콤 주식회사 Method for configuring packet data network connectivity, device therefor
CN107710815A (en) * 2015-08-07 2018-02-16 夏普株式会社 Terminal installation, MME, the communication control method of terminal installation and MME communication control method
CN110720197A (en) * 2018-03-06 2020-01-21 克洛姆公司 Computing device and method for executing architecture deployment in a datacenter
US11877202B2 (en) 2022-02-24 2024-01-16 T-Mobile Usa, Inc. Handovers between IPV4 public data network sessions and 5G radio access networks
US11882091B1 (en) 2022-11-10 2024-01-23 T-Mobile Usa, Inc. Allocation of internet protocol addresses based on a location of a visited network

Also Published As

Publication number Publication date
CN101873582B (en) 2013-04-03
CN101873582A (en) 2010-10-27

Similar Documents

Publication Publication Date Title
WO2010121495A1 (en) Method and system for assigning internet protocol address
US20200396570A1 (en) Methods and apparatus for establishing a group session in a mobile network for subscribers associated with a group
US9942926B2 (en) System, method and computer readable medium for bearer activation in a core network for wireless devices
KR101575223B1 (en) Method and system for requesting local breakout in session home enhanced node b
US10200511B2 (en) Telecommunications apparatus and method
US9241255B2 (en) Local breakout with optimized interface
KR101375474B1 (en) Apparatus and method for communicating using internet protocol
WO2013010415A1 (en) Method, system and sgw for realizing ip address attribute notification
EP3310080B1 (en) Ip address allocation method and device
WO2009043209A1 (en) A method for establishing a bearer to an user terminal in an idle mode
WO2009097818A1 (en) Method, device and system for providing emergency access for user device
WO2008151544A1 (en) Method, apparatus and system for establishing bearer connection
KR20140102050A (en) A method and apparatus for initial entry in a radio communication system
WO2011095100A1 (en) Method and system for controlling establishment of local ip access
WO2011015147A1 (en) Data transmission method, equipment and communication system
WO2009089780A1 (en) Method for establishing data connection in mobile network, mobile network and policy control entity
EP3340691A1 (en) Method for initiating wi-fi voice service, lte communication device, terminal, and communication system
WO2018058620A1 (en) Ip address allocation method and device
WO2012130133A1 (en) Access point and terminal access method
JP5872066B2 (en) Method, apparatus and system for accessing core network by non-3GPP
WO2011020435A1 (en) Method and system for transmitting data packet at machine-to-machine (m2m) application server
WO2010130270A1 (en) Local breakout and ip address selection
WO2012068837A1 (en) Method and device for selecting access gateway
WO2013082987A1 (en) Method and system for performing resource control on local offload data
WO2011094956A1 (en) Method, apparatus and system for address distribution

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/02/2012)

122 Ep: pct application non-entry in european phase

Ref document number: 10766586

Country of ref document: EP

Kind code of ref document: A1