WO2008022597A1 - Method and device for terminal handover, method and device for getting address of origin access entity - Google Patents

Method and device for terminal handover, method and device for getting address of origin access entity Download PDF

Info

Publication number
WO2008022597A1
WO2008022597A1 PCT/CN2007/070505 CN2007070505W WO2008022597A1 WO 2008022597 A1 WO2008022597 A1 WO 2008022597A1 CN 2007070505 W CN2007070505 W CN 2007070505W WO 2008022597 A1 WO2008022597 A1 WO 2008022597A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
terminal
access entity
message
network
Prior art date
Application number
PCT/CN2007/070505
Other languages
French (fr)
Chinese (zh)
Inventor
Jie Zhao
Xia Yang
Jie Wang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008022597A1 publication Critical patent/WO2008022597A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0019Control or signalling for completing the hand-off for data sessions of end-to-end connection adapted for mobile IP [MIP]
    • 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

  • Terminal switching method and device, source access entity address obtaining method and device The present application claims to be submitted to the Chinese Patent Office on August 18, 2006, the application number is 200610109874.6, and the invention name is "terminal switching method and device, source access gateway address The priority of the Chinese Patent Application, which is incorporated herein by reference.
  • the present invention relates to the field of mobile communication technologies, and in particular, to a terminal handover method and apparatus, and a source access entity address acquisition method and apparatus. Background technique
  • the 3GPP2 (3rd Generation Partnership Project 2) organization is developing standards for interworking between code division multiple access CDMA system networks and networks of other access types such as Wireless Local Access Network (WLAN).
  • the CDMA network is characterized by wide coverage, authentication and billing functions.
  • WLAN networks are characterized by small coverage, low cost, and high bandwidth and high-rate services.
  • the interworking of the two enables the WLAN network to utilize the perfect authentication and charging mechanism provided by the CDMA network to enjoy the services provided by the CDMA network.
  • the CDMA network can utilize the WLAN network as its hotspot coverage and supplementary coverage, and share part of the network load through the WLAN network. .
  • Users can enjoy a wide range of CDMA networks and high-speed, low-cost services for WLAN networks. Therefore, whether from the perspective of operators or users, multi-network convergence will be the trend of future network development.
  • a key scenario in heterogeneous network interworking is that during the session, when the access system changes, the continuity of the session can be guaranteed. That is, the user can continue the session after the handover without re-establishing. This is more important for real-time services such as VoIP.
  • a model of 3GPP2 and WLAN network interworking has been given in the standard X.S0028 of 3GPP2, and a mobility management implementation based on MIP (Mobile IP) has been developed.
  • MIP Mobile IP
  • H-AAA AAA of the home location
  • the authentication of the terminal accessing the WLAN is completed in the H-AAA
  • the function of the EAP server is also implemented in the H-AAA
  • B-AAA Intermediate AAA
  • HLR/AC Provides security for WLAN access to H-AAA Trust parameter
  • PDIF Packet data interconnection gateway, which establishes an IKE tunnel with the terminal to ensure data security.
  • FA-COA foreign agent-care-address
  • the PDIF also has The function of the foreign agent FA
  • HA the home agent in the MIP model, together with PDIF (FA) to achieve terminal mobility.
  • Interface 1 Interface between MS and WLAN access network, including physical and link layer protocols
  • Interface 2 Interface between V-AAA and H-AAA, this interface is used in CDMA
  • the terminal is authenticated in the system and a request/response message is forwarded between V-AAA and H-AAA.
  • This message is based on the IETF RADUIS protocol; interface 3: the interface between the WLAN and the Internet, based on the IETF standard; interface 4: the interface between H-AAA and HLR/AC, existing in the circuit domain, is an optional interface, H - AAA obtains the SMEKEY from the HLR/AC through the interface; Interface 5: Interface between the MS and the PDIF, which is a tunnel interface, supports MS-triggered tunnel establishment, data transmission in the tunnel, and tunnel release; Interface 6: PDIF and Interface between H-AAA/V-AAA, used to obtain IP configuration information of the terminal, perform user authentication, authorization, and support tunnel establishment.
  • Interface 8 Interface between PDIF and HA, forward and backward data Send and receive through this interface
  • Interface 9 Interface between HA and H-AAA/V-AAA, through which the HA obtains the user's IP configuration information and authentication and authorization parameters
  • Interface 10 Mobile IP (MIP) , HA and the interface between packet data services, through which the HA accesses packet services such as IMS.
  • MIP Mobile IP
  • the terminal accesses the WLAN network with its identity in the CDMA network.
  • the process of terminal access is as follows: If the terminal does not have the key WKEY (WLAN Long Term Key) required to access the WLAN, it will first use the extended authentication protocol (EPP) with the WLAN AP and its home AAA in the CDMA network. , Extensible Authentication Protocol ) generates WKEY. Then, the terminal performs the access authentication process by using the WKEY and the AP. After successful, the terminal can access certain services through the WLAN, for example, accessing the Internet. If the terminal also needs to access certain services of the CDMA network, it will establish an IPsec tunnel with the PDIF using IKE. To protect subsequent business data. In addition, in the case of mobile IP, during the process of establishing IKE between the terminal and the PDIF, the PDIF can also transmit the assigned HA, HoA and other information to the terminal.
  • the terminal can dynamically obtain the HoA (home address) or the static HoA.
  • Figure 2 shows the process of dynamically acquiring the HoA by a terminal.
  • the foregoing process for dynamically acquiring the HoA by the terminal specifically includes the following operations: First, the mobile station (MS) and the packet data interconnection function (PDIF, ) exchange the IKE_SA_INIT message; then, the terminal is in the IKE-AUTH CP.
  • the 3GPP2-MIP4-MODE attribute is set to indicate that the terminal uses the FA-COA mode, and the terminal indicates that the EAP is used as the authentication mode; after that, the PDIF sends the RADIUS Access Request to the HAAA (attribute AAA); The EAP process is performed between the terminal and the H-AAA.
  • the H-AAA After the H-AAA successfully authenticates the terminal, it sends a RADIUS ACCESS-ACCEPT to the PDIF and carries the terminal HA (home agent) information. After that, the PDIF allocates a temporary TIA to the MS in the CP (CFG-REPLY) of the IKE-AUTH ( Tunnel Inner Address ), the newly created IPSec SA is associated with this TIA; Next, the PDIF sends a proxy advertisement to the terminal; then, the MS sends the MIP RRQ to the PDIF. To obtain the dynamic HoA, the MS sets the home Address in the RRQ to 0.
  • the PDIF sends a RADIUS Access-request to the H-AAA and carries the terminal authentication information. Afterwards, the H-AAA successfully authenticates the terminal and sends a RADUIS Access-Accept message to the PDIF. Subsequently, the PDIF forwards the RRQ to the HA, and the HA assigns the terminal to the terminal. A HoA, and returns the HoA to the terminal in the RRP; after obtaining the HoA in the RRP message, the MS sends a CREATE-CHILD-SA message to the PDIF, and sets the TSi to HoA. The PDIF echoes the response. This process generates a new IPsec SA, the corresponding address in the SA is HoA; PDIF deletes the old IPsec SA associated with the temporary TIA generated in the above process.
  • the configuration payload (CP) in IKEV2 defines 3GPP2-specific attributes for the 3GPP2 MIP to indicate the MIP4 mode and MIP parameters.
  • the specific definitions are as follows:
  • the process described above is in a heterogeneous interworking network, and the terminal is obtained in the MIPV4 FA-CoA mode.
  • Ho A the process of CoA.
  • the PDIF carries the FA CoA to the terminal in the Agent Advertisement message, and the terminal obtains the HoA in the MIPv4 registration response. If it is a MIP4 Co-located Care of Address (CCOA), the PDIF is assigned to the terminal through INTERNAL-IP4-ADDRESS in the IKE-AUTH CP (CFG-REPLY) during the establishment of IKE with the terminal.
  • the CoA the terminal obtains the HoA in the MIPv4 registration response.
  • the PDIF carries the CoA assigned to the terminal through the INTERNAL-IP6-ADDRESS in the IKE-AUTH CP (CFG-REPLY) in the process of establishing IKE with the terminal, and passes the extended attribute 3GPP-MIP6-HOA. Assign a HoA to the terminal in CFG-REPLY.
  • the PDIF is carried by the INTERNAL-IP4-ADDRESS or INTERNAL-IP6-ADDRESS in the IKE-AUTH CP (CFG-REPLY) during the establishment of the IKE with the terminal. IP address.
  • a new physical network mobile agent NMA is set up in the evolved network framework shown in Figure 3.
  • NMA Network Mobility Agent
  • NMA Local Mobility Anchor
  • An NMA can be an independent physical entity or coexist with other entities in a physical entity.
  • the access gateway including CAP, PDIF, PDSN, eNodeB eBS and other packet domain entities
  • IP mesh full-link structure used by the NMA.
  • any access gateway can be connected to any NMA, that is, multiple For many connections, the purpose is to minimize the re-assignment of NMAs when the session is active.
  • the terminal moves between different access gateways, if the access gateway before and after the handover is in the same NMA range, the address of the terminal does not need to be updated (there is no need to update the CoA for the mobile IP, and it is not required for the simple IP. Update the IP address), and the access gateway initiates rebinding of the terminal to the NMA, so that when the NMA receives the data packet sent to the terminal, it can forward it to the access gateway to which the current terminal is connected, and then The access gateway forwards to the terminal.
  • the above process is transparent to the terminal.
  • the flowchart of FIG. 4 shows the flow of the terminal performing MIP registration in the MIP4 FA-COA mode in the evolved CDMA network architecture.
  • the process of performing MIP registration by the terminal includes the following operations: (1) establishing an air interface connection and a session connection between the terminal and the access gateway (AGW, Access Gate Way); (2) completing the access authentication by the terminal; (3) The AGW obtains an FA CoA in the NMA subnet from the DHCPv4 Serer for all the terminals managed by the AGW; (4) The AGW sends a proxy advertisement message to the terminal as a MIP FA proxy, and the message includes the FA CoA obtained in the previous; (5) The terminal sends a MIP v4 registration request, and can request the indication of the dynamic HoA and HA; (6) The AGW sends the RRQ to the NMA, binds the address of the AGW (as the CoA in MIP4), and the local link address of the terminal (as (7) NMA, at this time as the FA of MIP4, initiates a RADIUS/DIAMETER request for a school insurance registration request and assigns HA to HAAA; (8) HA
  • a MIP4 tunnel is established between the access gateway and the NMA and between the NMA and the HA.
  • the terminal moves between different access gateways (including CAP, PDIF)
  • the mobile access gateway can connect to the pre-mobile NMA, the terminal's CoA, or the IP address of the terminal, the IP address of the terminal can remain unchanged. In this case, the terminal does not need to re-initiate the binding to the HA. Only the access gateway needs to bind the address of the NMA originating terminal to the IP address of the access gateway.
  • the present invention provides a mobile terminal handover method and apparatus, and a source access entity address acquisition method and apparatus, which can maintain continuity of a session.
  • a mobile terminal switching method provided by the present invention includes:
  • the terminal After the terminal is switched from the source access entity to the destination access entity, the terminal sends a first message to the destination access entity, where the first message carries the IP address of the terminal before the handover;
  • the inbound entity responds to the first message, and searches for a corresponding network mobile agent according to the terminal IP address;
  • the destination access entity sends a mobile IP binding message to the network mobility agent, binding the IP address of the terminal and the IP address of the destination access entity.
  • the method for obtaining a source access entity address provided by the present invention includes:
  • the destination access entity sends a query request message to the network mobile agent to query the source access entity address of the terminal, where the query request message carries the IP address of the terminal;
  • the network mobility agent queries the address of the source access entity in response to the query request message, and returns the address to the destination access entity.
  • Another source access entity address obtaining method provided by the present invention includes:
  • the terminal After the terminal switches from the source access entity to the destination access entity, the terminal sends a network key exchange protocol message to the destination access entity, where the active access entity address is carried;
  • the destination access entity After receiving the network key exchange protocol message, the destination access entity obtains an address of the source access entity from the network key exchange protocol message.
  • the mobile terminal switching device provided by the present invention includes:
  • a first message sending module configured to send a message to the destination access entity, and after the terminal switches from the source access entity to the destination access entity, send a first message to the destination access entity, where the terminal carries Switch the previous IP address;
  • the finding module in response to the first message, searching for a corresponding network mobile agent according to the terminal IP address; And a second message sending module, configured to send a mobile IP binding message to the network mobile agent, to bind the IP address of the terminal and an IP address of the destination access entity.
  • the source access entity address obtaining apparatus includes:
  • a message sending module configured to send a query request message to the network mobile agent, to query a source access entity address of the terminal, where the query request message carries an IP address of the terminal;
  • An address query module responsive to the query request message, the address query module queries an address of the source access entity, and returns the query request message sending module.
  • Another source access entity address obtaining apparatus includes:
  • a message sending module configured to send a network key exchange protocol message to the destination access entity after the terminal switches from the source access entity to the destination access entity, where the active access entity address is carried;
  • an address obtaining module configured to obtain, according to the network key exchange protocol message, an address of the source access entity from the network key exchange protocol message.
  • the handover address of the terminal may remain unchanged. There is no need to initiate re-registration to the home agent HA, thus reducing signaling interaction, avoiding packet loss, saving air interface resources, and better ensuring session continuity.
  • FIG. 1 is a schematic diagram showing a model for implementing network interworking by a terminal under MIP
  • 2 is a signaling flowchart showing dynamic acquisition of a HoA by a terminal
  • FIG. 3 is a schematic diagram showing an exemplary network evolution model
  • FIG. 4 is a signaling flow chart showing a MIP registration process performed by a terminal according to the related art
  • FIG. 5 is a flowchart showing a mobile terminal switching method according to the first embodiment of the present invention
  • the terminal of an embodiment switches from a CDMA network to a WLAN network and uses a signaling flow chart of MIP4
  • 7 is a signaling flow chart showing handover of a terminal from a CDMA network to a WLAN network and using MIP 6 according to the first embodiment of the present invention
  • FIG. 8 is a flow chart showing the signaling of a terminal switching from a CDMA network to a WLAN network and using SIP 4 according to the first embodiment of the present invention
  • FIG. 9 is a flow chart showing a method of acquiring a source access gateway address according to a second embodiment of the present invention.
  • FIG. 10 is a flowchart showing a method of acquiring a source access gateway address according to a third embodiment of the present invention.
  • FIG. 11 is a signaling flow chart showing a source access gateway address acquisition method according to a third embodiment of the present invention.
  • Figure 12 is a block diagram showing a mobile terminal switching apparatus according to a fourth embodiment of the present invention
  • Figure 13 is a block diagram showing a source access gateway address obtaining apparatus according to a fifth embodiment of the present invention
  • Figure 14 is a block diagram showing a source access gateway address obtaining apparatus according to a sixth embodiment of the present invention.
  • FIG. 15 is a signaling flowchart of a mobile terminal handover method according to an embodiment of the present invention. detailed description
  • a mobile terminal switching method is provided.
  • Fig. 5 is a flowchart showing a terminal switching method according to the first embodiment of the present invention.
  • the mobile terminal handover method according to the first embodiment of the present invention includes the following steps:
  • Step S502 After the terminal switches from the source access gateway to the destination access gateway, the terminal sends a first message to the destination access gateway, where the IP address of the terminal before the handover is carried.
  • Step S504 responding to the first message, the destination access gateway searches for a corresponding network mobile agent according to the terminal IP address;
  • Step S506 the destination access gateway sends a mobile IP binding message to the network mobile agent, where Bind the IP address of the terminal to the IP address of the destination access gateway.
  • the above IP address is the care-of address or home address of the terminal.
  • the above IP address is the IP address of the terminal.
  • the first message is an IKE-AUTH message of the network key exchange protocol, used to establish a network key exchange protocol connection, and the terminal passes the network key exchange protocol.
  • IKE—AUTH transmits the care-of address and home address to the destination access gateway.
  • the destination access gateway searches for the corresponding network mobility agent according to the terminal IP address, and in step S506, binds the terminal IP address and the IP address of the destination access gateway.
  • step S502 in the IKE_AUTH message of the network key exchange protocol, the terminal sends the care-of address and the home address to the destination access gateway, and CFG—The attribute INTERNAL in the REQUEST—IP4—ADDRESS is set to the home address before the switch, and the new attribute is extended to pass the care-of address before the switch:
  • step S502 in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS in the CFG_REQUEST to be before switching. The care-of address.
  • step S502 in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP6_ADDRESS in the CFG_REQUEST to the care-of address before the handover.
  • FIG. 6 to FIG. 8 respectively show signaling flowcharts for the terminal to switch from the CDMA network to the WLAN network by using MIP4, MIP6, and SIP4, respectively.
  • step S502 in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS or INTERNAL_IP6 in the CFG_REQUEST- The ADDRESS is set to the IP address before the handover.
  • step S504 the destination access gateway searches for the corresponding network mobility agent according to the IP address, and in step S506, binds the IP address of the terminal and the IP address of the destination access gateway.
  • the first message is an execution authentication message or a session establishment connection message, where the terminal IP address or the source access gateway address before the handover is carried, where the authentication message is used to perform authentication, and the session establishment connection message is used for purpose.
  • the access gateway establishes a connection.
  • the destination access gateway searches for a corresponding network mobile agent by configuring a range of terminal addresses or terminal address prefixes managed by each network mobile agent, or searches for a corresponding network mobile agent by querying a related database.
  • the relevant database stores the range of addresses or address prefixes managed by each network mobile agent.
  • the IP address of the terminal is used as the home address, and the IP address of the destination access gateway is used as the care-of address.
  • a source access gateway address obtaining method is provided.
  • 9 is a flow chart showing a source access gateway address acquisition method according to a second embodiment of the present invention.
  • the source access gateway address obtaining method includes the following steps:
  • Step S902 The destination access gateway sends a query request message to the network mobile agent to query the source access gateway address of the terminal, where the query request message carries the IP address of the terminal.
  • Step S904 responding to the query request message, the network moves The proxy queries the address of the source access gateway and returns it to the destination access gateway.
  • the source access gateway refers to the gateway corresponding to the terminal before the handover
  • the destination access gateway refers to the gateway corresponding to the terminal after the handover.
  • the address of the terminal is the home address when the access gateway performs mobile IP binding to the network mobile agent
  • the address of the source access gateway is the care-of address corresponding to the home address.
  • the function of querying the current CoA through the HoA is added, that is, an entity sends a request to the HA, and the request includes the HoA, and the HA returns the current CoA to the request after receiving the request.
  • the destination access gateway sends the IP address of the terminal, that is, the HoA, to the NMA (that is, the HA), and the NMA returns the CoA, that is, the IP address of the source access gateway, to the destination access gateway.
  • the original CoA When an entity does the rebinding of the address, the original CoA is requested, and the HA will be the new CoA. After the binding with the HoA is successful, the original CoA is returned to the entity; when the destination access gateway sends a binding update or registration request to the NMA to bind its own address and the IP address of the terminal, the request is also requested.
  • the address of the original CoA so that the NMA sends the original CoA, that is, the address of the source access gateway, to the destination access gateway in the binding confirmation or registration response message.
  • FIG. 10 is a flowchart of a source access gateway address obtaining method according to a third embodiment of the present invention
  • FIG. 11 is a signaling flowchart of a method for acquiring a source access gateway address according to a third embodiment of the present invention. Description will be made with reference to FIGS. 10 and 11.
  • the source access gateway address obtaining method includes the following steps:
  • Step S1002 After the terminal switches from the source access gateway to the destination access gateway, the terminal MT sends an IKE-AUTH message of the network key exchange protocol IKE Exchange to the destination access gateway, where the active access gateway address is carried;
  • Step S1004 In response to the IKE-AUTH message of the network key exchange protocol, the destination access gateway obtains the address of the source access gateway from the IKE-AUTH message of the network key exchange protocol.
  • the terminal sets the new attribute 3GPP2_SRC_AGW extended in the IKE_AUTH message of the network key exchange protocol to the address of the source access gateway after the handover. Extend the 3GPP2 specific related attributes in the IKEv2 Configuration Payload message as follows:
  • the source access gateway address obtaining method according to the third embodiment of the present invention further includes the following steps:
  • Step S1006 The destination access gateway establishes a connection with the source access gateway to obtain the IP address or other information of the terminal from the source access gateway (including the network mobile agent address, security key, OoS related parameters, etc. ). After that, the destination access gateway initiates the terminal IP address to the NMA (for the simple IP, the terminal's IP address, for mobile IPv4, the terminal's home address HoA, for mobile IPv6, the terminal's care-of address CoA) and the destination access gateway address. Binding. Fourth embodiment
  • FIG. 12 is a block diagram showing a mobile terminal switching device according to a fourth embodiment of the present invention.
  • the mobile terminal switching apparatus 1200 includes: a first message sending module 1202, configured to: after the terminal switches from the source access gateway to the destination access gateway, to the destination access gateway Sending a first message, where the IP address of the terminal before the handover is carried;
  • the network mobile agent lookup module 1204 in response to the first message, finds the corresponding network mobile agent according to the terminal IP address;
  • the second message sending module 1206 is configured to send a mobile IP binding message to the network mobile agent to bind the IP address of the terminal and the IP address of the destination access gateway.
  • the IP address is the care-of address or home address of the terminal.
  • the IP address is the IP address of the terminal.
  • the first message is an IKE-AUTH message of the network key exchange protocol, used to establish a network key exchange protocol connection, and the terminal tunnels the care-of address and the network through the network key exchange protocol.
  • the home address is transmitted to the destination access gateway.
  • the network mobile agent lookup module 1204 searches for the corresponding network mobile agent according to the terminal IP address, and the mobile IP binding message is used to bind the IP address of the terminal and the IP address of the destination access gateway.
  • the first message sending module 1202 sends the care-of address and the home address to the destination access gateway, and CFG_REQUEST
  • the attribute INTERNAL_IP4_ADDRESS is set to the home address before the terminal is switched, and the new attribute is extended to pass the care-of address before the handover.
  • the first message sending module 1202 sets the attribute INTERNAL_IP4_ADDRESS in the CFG_REQUEST to the care-of address before the terminal handover. .
  • the first message sending module 1202 sets the attribute INTERNAL_IP6_ADDRESS in the CFG_REQUEST to the end. The care-of address before the end switch.
  • the first message sending module 1202 sets the attribute INTERNAL_IP4_ADDRESS or INTERNAL_IP6 in the CFG_REQUEST-
  • the ADDRESS is set to the IP address before the terminal handover, and the network mobile agent lookup module 1204 searches for the corresponding network mobility agent according to the IP address, and the mobile IP binding message is used to bind the IP address of the terminal and the IP address of the destination access gateway. .
  • the first message is an execution authentication message or a session establishment connection message, where the terminal IP address before the handover or the address of the source access gateway is carried.
  • the execution of the authentication message is used to perform authentication
  • the session establishment connection message is used to establish a connection with the destination access gateway.
  • the network mobile agent lookup module 1204 searches for a corresponding network mobile agent by configuring a range of terminal addresses or terminal address prefixes managed by each network mobile agent, or searches for a corresponding network mobile agent by querying a related database, where the related database is saved.
  • the range of addresses or address prefixes managed by each network mobility agent is saved.
  • the IP address of the bound terminal is used as the home address
  • the IP address of the destination access gateway is used as the care-of address.
  • FIG. 13 is a block diagram showing a source access gateway address obtaining apparatus according to a fifth embodiment of the present invention.
  • the source access gateway address obtaining apparatus 1300 in this embodiment includes: a query request message sending module 1302, configured to send a query request message to the network mobile agent to query the source access gateway address of the terminal, where The query request message carries the IP address of the terminal;
  • the source access gateway refers to the gateway corresponding to the terminal before the handover
  • the destination access gateway refers to the gateway corresponding to the terminal after the handover.
  • the address of the terminal is the home address when the access gateway performs mobile IP binding to the network mobile agent, and the address of the source access gateway corresponds to the home address. The care-of address.
  • FIG. 14 is a block diagram showing a source access gateway address obtaining apparatus according to a sixth embodiment of the present invention.
  • the source access gateway address obtaining apparatus 1400 includes:
  • the IKE-AUTH message sending module 1402 of the network key exchange protocol is configured to send an IKE-AUTH message of the network key exchange protocol to the destination access gateway after the terminal switches from the source access gateway to the destination access gateway, where Active access gateway address;
  • a source access gateway address obtaining module 1404 configured to respond to a network key exchange protocol
  • the address of the source access gateway is obtained from the IKE-AUTH message of the network key exchange protocol.
  • the IKE-AUTH message sending module 1402 of the network key exchange protocol sets the new attribute 3GPP2_SRC_AGW extended in the IKE_AUTH message of the network key exchange protocol to the address of the source access gateway.
  • the source access gateway address obtaining apparatus 1400 further includes:
  • the information obtaining module 1406 is configured to establish a connection with the source access gateway to obtain an IP address of the terminal or other information such as a network mobile agent address before the terminal handover from the source access gateway.
  • the original access point and the destination access point may belong to different access systems, for example, the original access point is a base station in a cellular network, and the destination access point is used to implement WLAN interworking. PDIF. But they can connect to the same unified access point, and the access point contains the mobility anchor, which is the function of LMA or NMA.
  • Step 1500 The access terminal AT establishes a connection with the original access point, and implements normal communication.
  • Step 1501 After the AT switches from the original access point to the destination access point, the terminal sends a first message to the destination access point.
  • the IP address of the terminal before the handover is carried;
  • Step 1502 The destination access point responds to the first message, and the destination access point searches for a corresponding access concentration point according to the terminal IP address;
  • Step 1503 The destination access point sends a mobile IP binding message to the access point to bind the IP address of the terminal and the IP address of the destination access point.
  • the IP address is a care-of address or a home address of the terminal
  • the ip address is an IP address of the terminal.
  • the first message is an IKE-AUTH message of the network key exchange protocol, used to establish a network key exchange protocol connection, and the terminal uses a network key exchange protocol.
  • IKE—AUTH transmits the care-of address and home address to the destination access point.
  • the destination access point searches for a corresponding access point according to the terminal IP address, and in step 1503, binds the terminal IP address and the IP address of the destination access point.
  • step 1501 in the case where the terminal uses the MIP4 FA-COA mode, in the IKE_AUTH message of the network key exchange protocol, the terminal sends the care-of address and the home address to the destination access point, and CFG—The attribute INTERNAL in the REQUEST—IP4—ADDRESS is set to the home address before the switch, and the new attribute is extended to pass the care-of address before the switch:
  • step 1501 in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS in the CFG_REQUEST to the care-of address before the handover.
  • step 1501 in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP6_ADDRESS in the CFG_REQUEST to the care-of address before the handover.
  • step 1501 in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS or INTERNAL_IP6 in the CFG_REQUEST- The ADDRESS is set to the IP address before the handover.
  • step 1502 the destination access gateway searches for the corresponding network mobility agent according to the IP address, and in step 1503, binds the IP address of the terminal and the IP address of the destination access gateway.

Landscapes

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

Abstract

A method for terminal handover includes the following steps: after the terminal hands over from the origin access entity to the destination access entity, first information including the terminal IP address before handover is sent from the terminal to the destination access entity. The destination access entity searches the corresponding network mobile agent based on the IP address, and sends mobile IP binding information, which is utilized to bind the terminal IP address and the destination access entity IP address, to the network mobile agent. A device for terminal handover, and a method and a device for getting address of origin access entity are also presented. All the technical solutions can save air interface resource and ensure conversation continuity.

Description

终端切换方法及装置、 源接入实体地址获取方法及装置 本申请要求于 2006 年 08 月 18 日提交中国专利局、 申请号为 200610109874.6、 发明名称为"终端切换方法及装置、 源接入网关地址获取 方法及装置"的中国专利申请的优先权, 其全部内容通过引用结合在本申请 中。 技术领域  Terminal switching method and device, source access entity address obtaining method and device The present application claims to be submitted to the Chinese Patent Office on August 18, 2006, the application number is 200610109874.6, and the invention name is "terminal switching method and device, source access gateway address The priority of the Chinese Patent Application, which is incorporated herein by reference. Technical field
本发明涉及移动通信技术领域, 更特别地, 涉及一种终端切换方法及 装置、 一种源接入实体地址获取方法及装置。 背景技术  The present invention relates to the field of mobile communication technologies, and in particular, to a terminal handover method and apparatus, and a source access entity address acquisition method and apparatus. Background technique
目前, 3GPP2 (第三代伙伴项目 2 )组织正在制订码分多址 CDMA系 统网络和诸如无线本地接入网络( WLAN )等的其他接入类型的网络进行 互通的标准。 CDMA网络的特点是范围覆盖广、认证计费等功能非常成熟。 WLAN网络具有覆盖面积小、 成本低、 可提供高带宽和高速率服务的特点。 两者互通使得 WLAN网络能利用 CDMA网络提供的完善的认证记费机制, 享受 CDMA网络提供的业务, 另一方面 CDMA网络可以利用 WLAN网络 作为其热点覆盖以及补充覆盖, 通过 WLAN网络分担部分网络负荷。 用户 则可以同时享受 CDMA网络范围广以及 WLAN网络高速率、 低成本的服 务。 因此, 无论是从运营商还是从用户的角度来考虑, 多网融合都将是未 来网络发展的趋势。  Currently, the 3GPP2 (3rd Generation Partnership Project 2) organization is developing standards for interworking between code division multiple access CDMA system networks and networks of other access types such as Wireless Local Access Network (WLAN). The CDMA network is characterized by wide coverage, authentication and billing functions. WLAN networks are characterized by small coverage, low cost, and high bandwidth and high-rate services. The interworking of the two enables the WLAN network to utilize the perfect authentication and charging mechanism provided by the CDMA network to enjoy the services provided by the CDMA network. On the other hand, the CDMA network can utilize the WLAN network as its hotspot coverage and supplementary coverage, and share part of the network load through the WLAN network. . Users can enjoy a wide range of CDMA networks and high-speed, low-cost services for WLAN networks. Therefore, whether from the perspective of operators or users, multi-network convergence will be the trend of future network development.
异构网络互通中有一个关键场景就是在会话过程中, 终端发生接入系 统变换时能够保证会话的连续性, 即用户在切换后能够继续进行会话, 而 不需要重新建立。这一点对于实时业务如 VoIP更为重要。在 3GPP2的标准 X.S0028中已经给出了 3GPP2和 WLAN网络互通的模型,制定了基于 MIP (移动 IP ) 的移动性管理实现方式。 在 MIP下终端实现网络互通的模型如 图 1所示。  A key scenario in heterogeneous network interworking is that during the session, when the access system changes, the continuity of the session can be guaranteed. That is, the user can continue the session after the handover without re-establishing. This is more important for real-time services such as VoIP. A model of 3GPP2 and WLAN network interworking has been given in the standard X.S0028 of 3GPP2, and a mobility management implementation based on MIP (Mobile IP) has been developed. The model for implementing network interworking between terminals under MIP is shown in Figure 1.
在图 1中, 各网元功能描述如下: H-AAA: 归属地的 AAA, 终端接入 WLAN的认证在 H-AAA中完成, 同时 H-AAA中还实现了 EAP server的功 能; B-AAA: 中间 AAA; HLR/AC: 给 H-AAA提供 WLAN接入时的安全 信任参数; PDIF: 分组数据互连网关, 它和终端之间建立 IKE隧道来保证 数据的安全性, 同时在 MIP4 外地代理 -转交地址 FA-COA ( Foreign Agent - Care of Address )模式下, PDIF还具备外地代理 FA的功能; HA: MIP 模型中的家乡代理, 和 PDIF ( FA )一起实现终端的移动性。 In Figure 1, the function of each network element is described as follows: H-AAA: AAA of the home location, the authentication of the terminal accessing the WLAN is completed in the H-AAA, and the function of the EAP server is also implemented in the H-AAA; B-AAA : Intermediate AAA; HLR/AC: Provides security for WLAN access to H-AAA Trust parameter; PDIF: Packet data interconnection gateway, which establishes an IKE tunnel with the terminal to ensure data security. At the same time, in the MIP4 foreign agent-care-address (FA-COA) mode, the PDIF also has The function of the foreign agent FA; HA: the home agent in the MIP model, together with PDIF (FA) to achieve terminal mobility.
此外, 各接口描述如下: 接口 1 : MS和 WLAN接入网之间的接口, 包括物理和链路层协议; 接口 2: V- AAA和 H- AAA之间的接口, 这个接口 用来在 CDMA系统中认证终端 , 并且在 V-AAA和 H-AAA之间前传请求 / 响应消息。 这个消息基于 IETF RADUIS协议; 接口 3: WLAN和 Internet 之间的接口, 基于 IETF标准; 接口 4: H-AAA和 HLR/AC之间的接口, 在电路域中存在, 是一个可选接口, H-AAA通过该接口向 HLR/AC 获得 SMEKEY; 接口 5: MS和 PDIF之间的接口, 这是一个隧道接口, 支持 MS 触发的隧道建立, 数据在隧道中传输以及隧道释放; 接口 6 : PDIF 和 H-AAA/V-AAA之间的接口, 用来获取终端的 IP配置信息, 进行用户认证、 授权以及支持隧道建立等过程; 接口 8: PDIF和 HA之间的接口, 前向和 后向数据通过这个接口发送和接收; 接口 9: HA和 H-AAA/V-AAA之间的 接口, HA通过这个接口获得用户的 IP配置信息以及认证、 授权参数等; 接口 10: 移动 IP ( MIP ) 下, HA和分组数据业务之间的接口, HA通过这 个接口访问分组业务比如 IMS等。  In addition, each interface is described as follows: Interface 1: Interface between MS and WLAN access network, including physical and link layer protocols; Interface 2: Interface between V-AAA and H-AAA, this interface is used in CDMA The terminal is authenticated in the system and a request/response message is forwarded between V-AAA and H-AAA. This message is based on the IETF RADUIS protocol; interface 3: the interface between the WLAN and the Internet, based on the IETF standard; interface 4: the interface between H-AAA and HLR/AC, existing in the circuit domain, is an optional interface, H - AAA obtains the SMEKEY from the HLR/AC through the interface; Interface 5: Interface between the MS and the PDIF, which is a tunnel interface, supports MS-triggered tunnel establishment, data transmission in the tunnel, and tunnel release; Interface 6: PDIF and Interface between H-AAA/V-AAA, used to obtain IP configuration information of the terminal, perform user authentication, authorization, and support tunnel establishment. Interface 8: Interface between PDIF and HA, forward and backward data Send and receive through this interface; Interface 9: Interface between HA and H-AAA/V-AAA, through which the HA obtains the user's IP configuration information and authentication and authorization parameters; Interface 10: Mobile IP (MIP) , HA and the interface between packet data services, through which the HA accesses packet services such as IMS.
这种互通的场景, 终端是以它在 CDMA网络中的身份接入 WLAN网 络的。 终端接入的过程大致如下: 如果终端没有接入 WLAN所需要的密钥 WKEY( WLAN Long Term Key ),首先它会与 WLAN的 AP、以及它在 CDMA 网络中的归属 AAA 利用扩展认证协议 ( EAP, Extensible Authentication Protocol )协议生成 WKEY。接着终端会使用 WKEY与 AP执行接入认证过 程, 成功后终端就可以通过 WLAN访问某些业务, 例如接入 Internet 如果 终端还需要访问 CDMA网络的某些业务,它会和 PDIF利用 IKE建立 IPsec 隧道, 来保护后续的业务数据。 另外, 在移动 IP情况下, 终端和 PDIF间 建立 IKE的过程中, PDIF还可以为终端传递所分配的 HA、 HoA等信息。  In this interworking scenario, the terminal accesses the WLAN network with its identity in the CDMA network. The process of terminal access is as follows: If the terminal does not have the key WKEY (WLAN Long Term Key) required to access the WLAN, it will first use the extended authentication protocol (EPP) with the WLAN AP and its home AAA in the CDMA network. , Extensible Authentication Protocol ) generates WKEY. Then, the terminal performs the access authentication process by using the WKEY and the AP. After successful, the terminal can access certain services through the WLAN, for example, accessing the Internet. If the terminal also needs to access certain services of the CDMA network, it will establish an IPsec tunnel with the PDIF using IKE. To protect subsequent business data. In addition, in the case of mobile IP, during the process of establishing IKE between the terminal and the PDIF, the PDIF can also transmit the assigned HA, HoA and other information to the terminal.
根据协议中的实现方式, 终端可以动态获取 HoA (家乡地址), 也可以 静态提供 HoA, 图 2示出了一个终端动态获取 HoA的流程。 如图 2所示, 上述的终端动态获取 HoA的流程具体包括以下操作: 首 先, 移动站(MS )和分组数据互连功能(PDIF, ) 交换了 IKE_SA_INIT消 息; 然后, 终端在 IKE— AUTH 的 CP(CFG— REQUEST)消息中设置 3GPP2— MIP4— MODE属性指示终端使用 FA-COA模式, 同时, 终端表示使 用 EAP作为认证方式; 之后, PDIF发送 RADIUS Access Request给 HAAA (归属地 AAA ); 接下来, 终端和 H- AAA之间执行 EAP过程。 According to the implementation manner in the protocol, the terminal can dynamically obtain the HoA (home address) or the static HoA. Figure 2 shows the process of dynamically acquiring the HoA by a terminal. As shown in FIG. 2, the foregoing process for dynamically acquiring the HoA by the terminal specifically includes the following operations: First, the mobile station (MS) and the packet data interconnection function (PDIF, ) exchange the IKE_SA_INIT message; then, the terminal is in the IKE-AUTH CP. In the (CFG_REQUEST) message, the 3GPP2-MIP4-MODE attribute is set to indicate that the terminal uses the FA-COA mode, and the terminal indicates that the EAP is used as the authentication mode; after that, the PDIF sends the RADIUS Access Request to the HAAA (attribute AAA); The EAP process is performed between the terminal and the H-AAA.
在 H-AAA成功认证终端之后, 发送 RADIUS ACCESS-ACCEPT 给 PDIF, 同时携带终端 HA (家乡代理)信息; 之后, PDIF在 IKE-AUTH的 CP ( CFG-REPLY ) 中给 MS分配一个临时的 TIA ( Tunnel Inner Address ), 新建的 IPSec SA和这个 TIA关联; 接下来, PDIF发送代理公告给终端; 随后, MS发送 MIP RRQ给 PDIF, 为了获取动态 HoA, MS将 RRQ中的 home Address设为 0。  After the H-AAA successfully authenticates the terminal, it sends a RADIUS ACCESS-ACCEPT to the PDIF and carries the terminal HA (home agent) information. After that, the PDIF allocates a temporary TIA to the MS in the CP (CFG-REPLY) of the IKE-AUTH ( Tunnel Inner Address ), the newly created IPSec SA is associated with this TIA; Next, the PDIF sends a proxy advertisement to the terminal; then, the MS sends the MIP RRQ to the PDIF. To obtain the dynamic HoA, the MS sets the home Address in the RRQ to 0.
接下来, PDIF给 H-AAA发送 RADIUS Access-request, 并携带终端认 证信息; 之后 H-AAA成功认证终端并发送 RADUIS Access-Accept消息给 PDIF; 随后, PDIF前传 RRQ给 HA, 并且 HA给终端分配一个 HoA, 并 在 RRP 中返回 HoA给终端; MS 在 RRP 消息中获得 HoA后, 发送 CREATE-CHILD-SA消息给 PDIF, 并将 TSi设为 HoA。 PDIF回送响应。 这个过程会生成一个新的 IPsec SA, SA中对应的地址是 HoA; PDIF删除 在上述过程中产生的和临时 TIA关联的旧 IPsec SA。  Next, the PDIF sends a RADIUS Access-request to the H-AAA and carries the terminal authentication information. Afterwards, the H-AAA successfully authenticates the terminal and sends a RADUIS Access-Accept message to the PDIF. Subsequently, the PDIF forwards the RRQ to the HA, and the HA assigns the terminal to the terminal. A HoA, and returns the HoA to the terminal in the RRP; after obtaining the HoA in the RRP message, the MS sends a CREATE-CHILD-SA message to the PDIF, and sets the TSi to HoA. The PDIF echoes the response. This process generates a new IPsec SA, the corresponding address in the SA is HoA; PDIF deletes the old IPsec SA associated with the temporary TIA generated in the above process.
终端和 PDIF之间建立了 IKE隧道, IKEV2中的 configuration payload(CP) 为 3GPP2 MIP定义了 3GPP2-specific attributes,用来指示 MIP4模式和 MIP 参数, 具体定义如下表所示:  An IKE tunnel is established between the terminal and the PDIF. The configuration payload (CP) in IKEV2 defines 3GPP2-specific attributes for the 3GPP2 MIP to indicate the MIP4 mode and MIP parameters. The specific definitions are as follows:
Figure imgf000006_0001
以上描述的流程是异构互通网络中, MIPV4 FA-CoA模式下终端获得 Ho A, CoA的过程。 PDIF在 Agent Advertisement消息中将 FA CoA携带给 终端, 终端在 MIPv4 注册响应中获得 HoA。 如果是 MIP4 配置转交地址 ( CCOA,Co-located Care of Address ),则 PDIF在和终端建立 IKE的过程中, 通过 IKE— AUTH的 CP(CFG— REPLY)中的 INTERNAL— IP4— ADDRESS携带 为终端分配的 CoA, 终端在 MIPv4注册响应中获得 HoA。 如果是 ΜΙΡν6 , 则 PDIF在和终端建立 IKE的过程中,通过 IKE— AUTH的 CP(CFG— REPLY) 中的 INTERNAL— IP6— ADDRESS携带为终端分配的 CoA, 并通过扩展的属 性 3GPP-MIP6-HOA在 CFG— REPLY中为终端分配一个 HoA。
Figure imgf000006_0001
The process described above is in a heterogeneous interworking network, and the terminal is obtained in the MIPV4 FA-CoA mode. Ho A, the process of CoA. The PDIF carries the FA CoA to the terminal in the Agent Advertisement message, and the terminal obtains the HoA in the MIPv4 registration response. If it is a MIP4 Co-located Care of Address (CCOA), the PDIF is assigned to the terminal through INTERNAL-IP4-ADDRESS in the IKE-AUTH CP (CFG-REPLY) during the establishment of IKE with the terminal. The CoA, the terminal obtains the HoA in the MIPv4 registration response. If it is ΜΙΡν6, the PDIF carries the CoA assigned to the terminal through the INTERNAL-IP6-ADDRESS in the IKE-AUTH CP (CFG-REPLY) in the process of establishing IKE with the terminal, and passes the extended attribute 3GPP-MIP6-HOA. Assign a HoA to the terminal in CFG-REPLY.
如果是简单 IP(SIP-Simple IP), 则 PDIF在和终端建立 IKE的过程中通 过 IKE— AUTH 的 CP(CFG— REPLY)中的 INTERNAL— IP4— ADDRESS 或 INTERNAL— IP6— ADDRESS携带为终端分配的 IP地址。  If it is a simple IP (SIP-Simple IP), the PDIF is carried by the INTERNAL-IP4-ADDRESS or INTERNAL-IP6-ADDRESS in the IKE-AUTH CP (CFG-REPLY) during the establishment of the IKE with the terminal. IP address.
同时,为了提高 3GPP2网络的竟争力,满足 IP分组业务的需求, 3GPP2 组织正在进行网络演进的研究, 目前在 3GPP2会议上提出的比较具有代表 性的网络演进模型如图 3所示。  At the same time, in order to improve the competitiveness of the 3GPP2 network and meet the needs of IP packet services, the 3GPP2 organization is conducting research on network evolution. The comparatively representative network evolution model proposed at the 3GPP2 conference is shown in Figure 3.
在图 3所示的演进网络框架中设置了一个新的实体网络移动代理 NMA A new physical network mobile agent NMA is set up in the evolved network framework shown in Figure 3.
( Network Mobility Agent ) (或者称为本地移动性错点 LMA, Local Mobility Anchor, 为了简化, 在后面都称为 NMA ), 这个实体的作用是能够提供本 地的移动性(比如 CAP之间或 CAP和 PDIF之间 ), 尽可能保证终端的地 址不发生变化, 对于移动 IP, 还可以减少终端与 HA的绑定更新, 从而保 证通信的连续性。 NMA可以是独立的物理实体, 也可以和其他实体共存与 一个物理实体中。 接入网关 (包括 CAP、 PDIF, PDSN、 演进的基站 eBS 等分组域实体)和 NMA釆用的 IP网状全连结构, 理论上是任何一个接入 网关都可以和任何一个 NMA相连, 即多对多的连接方式, 其目的是为了在 会话激活态的时候尽量减少 NMA的重指配。当终端发生不同接入网关之间 的移动时, 如果切换前后的接入网关在同一个 NMA范围内, 则不需要更新 终端的地址(对于移动 IP是不需要更新 CoA, 对于简单 IP是不需要更新 IP地址 ),同时接入网关向 NMA发起关于这个终端的重新绑定,使得 NMA 在收到发给终端的数据包时, 可以将其转发给目前终端所连接的接入网关, 然后再由接入网关转发给终端。 上述过程对于终端而言是透明的。 图 4的流程图示出了在演进 CDMA 网络构架中、 MIP4 FA-COA模式下, 终端进行 MIP注册的流程。 (Network Mobility Agent) (or Local Mobility Anchor, referred to as NMA for simplicity), the role of this entity is to provide local mobility (such as between CAP or CAP and PDIF) Between the two, as far as possible to ensure that the address of the terminal does not change, for mobile IP, it can also reduce the binding update of the terminal and HA, thus ensuring the continuity of communication. An NMA can be an independent physical entity or coexist with other entities in a physical entity. The access gateway (including CAP, PDIF, PDSN, eNodeB eBS and other packet domain entities) and the IP mesh full-link structure used by the NMA. In theory, any access gateway can be connected to any NMA, that is, multiple For many connections, the purpose is to minimize the re-assignment of NMAs when the session is active. When the terminal moves between different access gateways, if the access gateway before and after the handover is in the same NMA range, the address of the terminal does not need to be updated (there is no need to update the CoA for the mobile IP, and it is not required for the simple IP. Update the IP address), and the access gateway initiates rebinding of the terminal to the NMA, so that when the NMA receives the data packet sent to the terminal, it can forward it to the access gateway to which the current terminal is connected, and then The access gateway forwards to the terminal. The above process is transparent to the terminal. The flowchart of FIG. 4 shows the flow of the terminal performing MIP registration in the MIP4 FA-COA mode in the evolved CDMA network architecture.
如图 4所示, 终端进行 MIP注册的流程, 包括以下操作: (1 )终端和 接入网关 ( AGW, Access Gate Way )之间建立空口连接和会话连接; ( 2 ) 终端完成接入认证; ( 3 ) AGW为管理的所有终端向 DHCPv4 Serer获得一 个 NMA子网内的 FA CoA; ( 4 ) AGW作为一个 MIP FA代理发送代理通告 消息给终端, 消息中包含前面得到的 FA CoA; ( 5 )终端发送发起 MIP v4 注册请求, 可以请求指示要求动态的 HoA和 HA; ( 6 ) AGW发送 RRQ给 NMA, 绑定 AGW的地址 (做为 MIP4中的 CoA)和终端的本地链路地址 (做 为 HoA); ( 7 ) NMA , 这时作为 MIP4 的 FA , 向 HAAA 发起 RADIUS/DIAMETER请求校险注册请求和分配 HA; ( 8 ) HAAA向 NMA 发送 RADIUS/DIAMETER响应 , 如果注册请求验证成功 , 则响应中包含一 个 HA地址; ( 9 ) NMA ( FA )和 HA之间建立 IPSec SA; ( 10 ) NMA ( FA ) 向 HA发送终端的注册请求; ( 11 ) HA收到注册请求后, 可能向 HAAA请 求校验注册请求所需要的密钥, 校验通过后, HA给 NMA发送注册成功响 应 ,并在响应中给终端指配一个 HoA; ( 12 ) NMA前传 RRP给 AGW; ( 13 ) AGW从 RRP消息中获得终端的 HoA; ( 14 ) AGW发送 RRP给终端; (15 ) AGW和 NMA之间完成 MIP4注册, AGW向 NMA绑定了终端的 HoA和 接入网关的 IP地址。  As shown in FIG. 4, the process of performing MIP registration by the terminal includes the following operations: (1) establishing an air interface connection and a session connection between the terminal and the access gateway (AGW, Access Gate Way); (2) completing the access authentication by the terminal; (3) The AGW obtains an FA CoA in the NMA subnet from the DHCPv4 Serer for all the terminals managed by the AGW; (4) The AGW sends a proxy advertisement message to the terminal as a MIP FA proxy, and the message includes the FA CoA obtained in the previous; (5) The terminal sends a MIP v4 registration request, and can request the indication of the dynamic HoA and HA; (6) The AGW sends the RRQ to the NMA, binds the address of the AGW (as the CoA in MIP4), and the local link address of the terminal (as (7) NMA, at this time as the FA of MIP4, initiates a RADIUS/DIAMETER request for a school insurance registration request and assigns HA to HAAA; (8) HAAA sends a RADIUS/DIAMETER response to the NMA, and if the registration request is successful, the response Include an HA address; (9) Establish an IPSec SA between the NMA (FA) and the HA; (10) The NMA (FA) sends a registration request to the HA; (11) After receiving the registration request, the HA may request it from HAAA.To verify the key required for the registration request, after the verification is passed, the HA sends a registration success response to the NMA, and assigns a HoA to the terminal in the response; (12) the NMA forwards the RRP to the AGW; (13) the AGW from the RRP The message obtains the HoA of the terminal; (14) the AGW sends the RRP to the terminal; (15) the MIP4 registration is completed between the AGW and the NMA, and the AGW binds the IP address of the HoA and the access gateway of the terminal to the NMA.
这样, 在接入网关和 NMA之间以及 NMA和 HA之间都分别建立了一 段 MIP4隧道。  In this way, a MIP4 tunnel is established between the access gateway and the NMA and between the NMA and the HA.
当终端在不同接入网关 (包括 CAP、 PDIF )之间移动时, 如果移动后 的接入网关能够连接到移动前的 NMA上、终端的 CoA或者简单 IP情况下 终端的 IP地址就可以保持不变, 这时终端就不需要向 HA重新发起绑定, 只需要接入网关向 NMA发起终端的地址和接入网关 IP地址的绑定就可以 了。  When the terminal moves between different access gateways (including CAP, PDIF), if the mobile access gateway can connect to the pre-mobile NMA, the terminal's CoA, or the IP address of the terminal, the IP address of the terminal can remain unchanged. In this case, the terminal does not need to re-initiate the binding to the HA. Only the access gateway needs to bind the address of the NMA originating terminal to the IP address of the access gateway.
现有的技术中, 在切换发生后, 目的接入网络如何获得终端的地址, 选择之前连接的 NMA, 还没有确定的解决方案。 特别是对于异构网络间的 切换时, 如果能实现这样的功能, 对于降低切换时延是 ^^有利的。 另外, 在异构网络间切换时, 接入网关间需要建立信令连接, 这样目的接入网关 可以向源接入网关获得终端的相关数据, 但如何获得源接入网关的地址, 现有技术中也没有提供可行的实现方案。 发明内容 In the prior art, after the handover occurs, how to obtain the address of the terminal by the destination access network and select the previously connected NMA, there is no certain solution. Especially for the handover between heterogeneous networks, if such a function can be realized, it is advantageous to reduce the handover delay. In addition, When switching between heterogeneous networks, a signaling connection needs to be established between the access gateways, so that the destination access gateway can obtain the relevant data of the terminal from the source access gateway, but how to obtain the address of the source access gateway, in the prior art No viable implementation is provided. Summary of the invention
本发明提供了一种移动终端切换方法和装置以及一种源接入实体地址 获取方法和装置, 可以保持会话的连续性。  The present invention provides a mobile terminal handover method and apparatus, and a source access entity address acquisition method and apparatus, which can maintain continuity of a session.
本发明提供的一种移动终端切换方法, 包括:  A mobile terminal switching method provided by the present invention includes:
在终端从源接入实体切换到目的接入实体之后, 所述终端向所述目的 接入实体发送第一消息,该第一消息携带有所述终端在切换之前的 IP地址; 所述目的接入实体响应所述第一消息, 并根据所述终端 IP地址查找相 应的网络移动代理;  After the terminal is switched from the source access entity to the destination access entity, the terminal sends a first message to the destination access entity, where the first message carries the IP address of the terminal before the handover; The inbound entity responds to the first message, and searches for a corresponding network mobile agent according to the terminal IP address;
所述目的接入实体向所述网络移动代理发送移动 IP绑定消息, 绑定所 述终端的 IP地址和所述目的接入实体的 IP地址。  The destination access entity sends a mobile IP binding message to the network mobility agent, binding the IP address of the terminal and the IP address of the destination access entity.
本发明提供的一种源接入实体地址获取方法, 包括:  The method for obtaining a source access entity address provided by the present invention includes:
目的接入实体向网络移动代理发送查询请求消息, 以查询所述终端的 源接入实体地址, 所述查询请求消息中携带有所述终端的 IP地址;  The destination access entity sends a query request message to the network mobile agent to query the source access entity address of the terminal, where the query request message carries the IP address of the terminal;
所述网络移动代理响应所述查询请求消息, 查询所述源接入实体的地 址, 并返回给所述目的接入实体。  The network mobility agent queries the address of the source access entity in response to the query request message, and returns the address to the destination access entity.
本发明提供的另一种源接入实体地址获取方法, 包括:  Another source access entity address obtaining method provided by the present invention includes:
在终端从源接入实体切换到目的接入实体之后, 所述终端向所述目的 接入实体发送网络密钥交换协议消息, 其中携带有源接入实体地址;  After the terminal switches from the source access entity to the destination access entity, the terminal sends a network key exchange protocol message to the destination access entity, where the active access entity address is carried;
所述目的接入实体接收到所述网络密钥交换协议消息后, 从所述网络 密钥交换协议消息中获取所述源接入实体的地址。  After receiving the network key exchange protocol message, the destination access entity obtains an address of the source access entity from the network key exchange protocol message.
本发明提供的一种移动终端切换装置, 包括:  The mobile terminal switching device provided by the present invention includes:
第一消息发送模块, 用于发送消息给目的接入实体, 在终端从源接入 实体切换到目的接入实体之后, 向所述目的接入实体发送第一消息, 其中 携带有所述终端在切换之前的 IP地址;  a first message sending module, configured to send a message to the destination access entity, and after the terminal switches from the source access entity to the destination access entity, send a first message to the destination access entity, where the terminal carries Switch the previous IP address;
查找模块, 响应于所述第一消息, 根据所述终端 IP地址查找相应的网 络移动代理; 第二消息发送模块, 用于向所述网络移动代理发送移动 IP绑定消息, 以绑定所述终端的 IP地址和所述目的接入实体的 IP地址。 The finding module, in response to the first message, searching for a corresponding network mobile agent according to the terminal IP address; And a second message sending module, configured to send a mobile IP binding message to the network mobile agent, to bind the IP address of the terminal and an IP address of the destination access entity.
本发明提供的一种源接入实体地址获取装置, 包括:  The source access entity address obtaining apparatus provided by the present invention includes:
消息发送模块, 用于向网络移动代理发送查询请求消息, 以查询终端 的源接入实体地址, 所述查询请求消息中携带有所述终端的 IP地址;  a message sending module, configured to send a query request message to the network mobile agent, to query a source access entity address of the terminal, where the query request message carries an IP address of the terminal;
地址查询模块, 响应于所述查询请求消息, 所述地址查询模块查询所 述源接入实体的地址, 并返回给所述查询请求消息发送模块。  An address query module, responsive to the query request message, the address query module queries an address of the source access entity, and returns the query request message sending module.
本发明提供的另一种源接入实体地址获取装置, 包括:  Another source access entity address obtaining apparatus provided by the present invention includes:
消息发送模块, 用于在终端从源接入实体切换到目的接入实体之后, 向所述目的接入实体发送网络密钥交换协议消息, 其中携带有源接入实体 地址;  a message sending module, configured to send a network key exchange protocol message to the destination access entity after the terminal switches from the source access entity to the destination access entity, where the active access entity address is carried;
地址获取模块, 用于响应所述网络密钥交换协议消息, 从所述网络密 钥交换协议消息中获取所述源接入实体的地址。  And an address obtaining module, configured to obtain, according to the network key exchange protocol message, an address of the source access entity from the network key exchange protocol message.
本发明提供的技术方案中, 在支持移动 IP的终端发生切换后, 若切换 后的接入网关仍然选择了切换前的本地移动代理进行移动 IP重新绑定, 则 终端的转交地址可保持不变, 不需再向家乡代理 HA发起重新注册, 因而 减少了信令的交互, 避免数据包的丟失, 节省了空口资源, 更好地保证了 会话的连续性。 附图说明  In the technical solution provided by the present invention, after the handover of the terminal supporting the mobile IP, if the switched access gateway still selects the local mobile agent before handover to perform mobile IP rebinding, the handover address of the terminal may remain unchanged. There is no need to initiate re-registration to the home agent HA, thus reducing signaling interaction, avoiding packet loss, saving air interface resources, and better ensuring session continuity. DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 本发明的示例性实施例及其说明用于解释本发明, 并不构成对本发 明的限定。 在附图中:  The drawings are intended to provide a further understanding of the present invention, and are intended to be a part of the present invention. In the drawing:
图 1是示出在 MIP下终端实现网络互通的模型的示意图;  1 is a schematic diagram showing a model for implementing network interworking by a terminal under MIP;
图 2是示出一个终端动态获取 HoA的信令流程图;  2 is a signaling flowchart showing dynamic acquisition of a HoA by a terminal;
图 3是示出示例性网络演进模型的示意图;  3 is a schematic diagram showing an exemplary network evolution model;
图 4是示出根据相关技术的终端进行 MIP注册过程的信令流程图; 图 5是示出根据本发明第一实施例的移动终端切换方法的流程图; 图 6是示出根据本发明第一实施例的终端从 CDMA网络切换到 WLAN 网络并釆用 MIP4的信令流程图; 图 7是示出根据本发明第一实施例的终端从 CDMA网络切换到 WLAN 网络并釆用 MIP6的信令流程图; 4 is a signaling flow chart showing a MIP registration process performed by a terminal according to the related art; FIG. 5 is a flowchart showing a mobile terminal switching method according to the first embodiment of the present invention; The terminal of an embodiment switches from a CDMA network to a WLAN network and uses a signaling flow chart of MIP4; 7 is a signaling flow chart showing handover of a terminal from a CDMA network to a WLAN network and using MIP 6 according to the first embodiment of the present invention;
图 8是示出根据本发明第一实施例的终端从 CDMA网络切换到 WLAN 网络并釆用 SIP4的信令流程图;  8 is a flow chart showing the signaling of a terminal switching from a CDMA network to a WLAN network and using SIP 4 according to the first embodiment of the present invention;
图 9是示出根据本发明第二实施例的源接入网关地址获取方法的流程 图;  9 is a flow chart showing a method of acquiring a source access gateway address according to a second embodiment of the present invention;
图 10是示出根据本发明第三实施例的源接入网关地址获取方法的流程 图;  FIG. 10 is a flowchart showing a method of acquiring a source access gateway address according to a third embodiment of the present invention; FIG.
图 11是示出根据本发明第三实施例的源接入网关地址获取方法的信令 流程图;  11 is a signaling flow chart showing a source access gateway address acquisition method according to a third embodiment of the present invention;
图 12是示出根据本发明第四实施例的移动终端切换装置的框图; 图 13 是示出根据本发明第五实施例的源接入网关地址获取装置的框 图;  Figure 12 is a block diagram showing a mobile terminal switching apparatus according to a fourth embodiment of the present invention; Figure 13 is a block diagram showing a source access gateway address obtaining apparatus according to a fifth embodiment of the present invention;
图 14 是示出根据本发明第六实施例的源接入网关地址获取装置的框 图;  Figure 14 is a block diagram showing a source access gateway address obtaining apparatus according to a sixth embodiment of the present invention;
图 15是本发明具体实施例的移动终端切换方法的信令流程图。 具体实施方式  FIG. 15 is a signaling flowchart of a mobile terminal handover method according to an embodiment of the present invention. detailed description
以下将参照附图来具体描述本发明的优选实施例, 其中, 附图构成本 申请的一部分, 并与本发明的实施例一起用于阐释本发明的原理。  The preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, in which FIG.
第一实施例  First embodiment
本实施例中, 提供了一种移动终端切换方法。 图 5 是示出根据本发明 第一实施例的终端切换方法的流程图。  In this embodiment, a mobile terminal switching method is provided. Fig. 5 is a flowchart showing a terminal switching method according to the first embodiment of the present invention.
如图 5 所示, 根据本发明第一实施例的移动终端切换方法包括以下步 骤:  As shown in FIG. 5, the mobile terminal handover method according to the first embodiment of the present invention includes the following steps:
步骤 S502, 在终端从源接入网关切换到目的接入网关之后, 终端向目 的接入网关发送第一消息, 其中携带有终端在切换之前的 IP地址;  Step S502: After the terminal switches from the source access gateway to the destination access gateway, the terminal sends a first message to the destination access gateway, where the IP address of the terminal before the handover is carried.
步骤 S504, 响应该第一消息, 目的接入网关根据终端 IP地址查找相应 的网络移动代理;  Step S504, responding to the first message, the destination access gateway searches for a corresponding network mobile agent according to the terminal IP address;
步骤 S506, 目的接入网关向网络移动代理发送移动 IP绑定消息, 用于 绑定终端的 IP地址和目的接入网关的 IP地址。 Step S506, the destination access gateway sends a mobile IP binding message to the network mobile agent, where Bind the IP address of the terminal to the IP address of the destination access gateway.
其中, 对于移动 IP而言, 上述 IP地址是终端的转交地址或家乡地址 , 对于简单 IP而言, 上述 ip地址是终端的 IP地址。  For the mobile IP, the above IP address is the care-of address or home address of the terminal. For a simple IP, the above IP address is the IP address of the terminal.
在终端由 CDMA网络向 WLAN网络切换的情况下, 在步骤 S502中, 第一消息是网络密钥交换协议的 IKE— AUTH消息, 用于建立网络密钥交换 协议连接, 终端通过网络密钥交换协议的 IKE— AUTH将转交地址和家乡地 址传送给目的接入网关。 此外, 在步骤 S504中, 目的接入网关根据终端 IP 地址查找相应的网络移动代理, 并且在步骤 S506 中, 绑定终端 IP地址和 目的接入网关的 IP地址。  In the case that the terminal is switched from the CDMA network to the WLAN network, in step S502, the first message is an IKE-AUTH message of the network key exchange protocol, used to establish a network key exchange protocol connection, and the terminal passes the network key exchange protocol. IKE—AUTH transmits the care-of address and home address to the destination access gateway. In addition, in step S504, the destination access gateway searches for the corresponding network mobility agent according to the terminal IP address, and in step S506, binds the terminal IP address and the IP address of the destination access gateway.
特别地, 在终端釆用 MIP4 FA-COA模式的情况下, 在步骤 S502中, 在网络密钥交换协议的 IKE— AUTH消息中, 终端将转交地址和家乡地址发 送 给 目 的 接 入 网 关 , 并 将 CFG— REQUEST 中 的 属 性 INTERNAL— IP4— ADDRESS设为切换前的家乡地址, 并且扩展新的属性来 传递切换前的转交地址:  Specifically, in a case where the terminal uses the MIP4 FA-COA mode, in step S502, in the IKE_AUTH message of the network key exchange protocol, the terminal sends the care-of address and the home address to the destination access gateway, and CFG—The attribute INTERNAL in the REQUEST—IP4—ADDRESS is set to the home address before the switch, and the new attribute is extended to pass the care-of address before the switch:
NO ! 0 or 4 octets 在终端釆用 ΜΙΡ4 CCOA模式的情况下, 在步骤 S502中, 在网络密钥 交换协议的 IKE— AUTH 消息中, 终端将 CFG— REQUEST 中的属性 INTERNAL— IP4— ADDRESS设为切换前的转交地址。 在终端釆用 MIP6模 式的情况下, 在步骤 S502中, 在网络密钥交换协议的 IKE— AUTH消息中, 终端将 CFG— REQUEST中的属性 INTERNAL— IP6— ADDRESS设为其切换前 的转交地址。其中,图 6至图 8分别示出了终端分别釆用 MIP4、 MIP6、 SIP4 从 CDMA网络切换到 WLAN网络的信令流程图。 NO! 0 or 4 octets In the case where the terminal uses the CC4 CCOA mode, in step S502, in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS in the CFG_REQUEST to be before switching. The care-of address. In the case where the terminal uses the MIP6 mode, in step S502, in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP6_ADDRESS in the CFG_REQUEST to the care-of address before the handover. Among them, FIG. 6 to FIG. 8 respectively show signaling flowcharts for the terminal to switch from the CDMA network to the WLAN network by using MIP4, MIP6, and SIP4, respectively.
在终端釆用简单 IPv4或简单 IPv6模式的情况下, 在步骤 S502中, 在 网络密钥交换协议的 IKE— AUTH消息中,终端将 CFG— REQUEST中的属性 INTERNAL— IP4— ADDRESS或 INTERNAL— IP6— ADDRESS设为其切换前的 IP地址, 在步骤 S504中, 目的接入网关根据 IP地址查找相应的网络移动 代理, 并且在步骤 S506中, 绑定终端的 IP地址和目的接入网关的 IP地址。  In the case where the terminal uses the simple IPv4 or simple IPv6 mode, in step S502, in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS or INTERNAL_IP6 in the CFG_REQUEST- The ADDRESS is set to the IP address before the handover. In step S504, the destination access gateway searches for the corresponding network mobility agent according to the IP address, and in step S506, binds the IP address of the terminal and the IP address of the destination access gateway.
另外,在终端由 WLAN网络向 CDMA网络切换的情况下,在步骤 S502 中, 第一消息是执行认证消息或会话建立连接消息, 其中携带有切换前的 终端 IP地址或源接入网关的地址, 其中, 执行认证消息用于执行认证, 会 话建立连接消息用于与目的接入网关建立连接。 In addition, in a case where the terminal is switched from the WLAN network to the CDMA network, in step S502 The first message is an execution authentication message or a session establishment connection message, where the terminal IP address or the source access gateway address before the handover is carried, where the authentication message is used to perform authentication, and the session establishment connection message is used for purpose. The access gateway establishes a connection.
特别地, 在步骤 S504中, 目的接入网关通过配置各个网络移动代理所 管理的终端地址或终端地址前缀的范围来查找相应的网络移动代理, 或者 通过查询相关数据库来查找相应的网络移动代理, 其中, 相关数据库中保 存了各个网络移动代理所管理的地址或者地址前缀的范围。 此外, 在步骤 S506中, 将终端的 IP地址作为家乡地址, 将目的接入网关的 IP地址作为 转交地址。  Specifically, in step S504, the destination access gateway searches for a corresponding network mobile agent by configuring a range of terminal addresses or terminal address prefixes managed by each network mobile agent, or searches for a corresponding network mobile agent by querying a related database. The relevant database stores the range of addresses or address prefixes managed by each network mobile agent. Further, in step S506, the IP address of the terminal is used as the home address, and the IP address of the destination access gateway is used as the care-of address.
第二实施例  Second embodiment
本实施例中, 提供了一种源接入网关地址获取方法。 图 9是示出根据 本发明第二实施例的源接入网关地址获取方法的流程图。  In this embodiment, a source access gateway address obtaining method is provided. 9 is a flow chart showing a source access gateway address acquisition method according to a second embodiment of the present invention.
如图 9 所示, 根据本发明第二实施例的源接入网关地址获取方法包括 以下步骤:  As shown in FIG. 9, the source access gateway address obtaining method according to the second embodiment of the present invention includes the following steps:
步骤 S902 , 目的接入网关向网络移动代理发送查询请求消息, 以查询 终端的源接入网关地址, 其中, 查询请求消息中携带有终端的 IP地址; 步骤 S904, 响应于查询请求消息, 网络移动代理查询源接入网关的地 址, 并返回给目的接入网关。  Step S902: The destination access gateway sends a query request message to the network mobile agent to query the source access gateway address of the terminal, where the query request message carries the IP address of the terminal. Step S904, responding to the query request message, the network moves The proxy queries the address of the source access gateway and returns it to the destination access gateway.
其中, 源接入网关是指终端在切换之前所对应的网关, 目的接入网关 是指终端在切换之后所对应的网关。 终端的地址是接入网关向网络移动代 理进行移动 IP绑定时的家乡地址, 源接入网关的地址是与家乡地址相对应 的转交地址。  The source access gateway refers to the gateway corresponding to the terminal before the handover, and the destination access gateway refers to the gateway corresponding to the terminal after the handover. The address of the terminal is the home address when the access gateway performs mobile IP binding to the network mobile agent, and the address of the source access gateway is the care-of address corresponding to the home address.
为了实现上述功能, 可以对移动 IP做一些扩展, 具体包括:  In order to achieve the above functions, some extensions can be made to the mobile IP, including:
( 1 )在移动 IP中, 增加通过 HoA查询目前 CoA的功能, 也就是说, 某个实体向 HA发送请求, 这个请求中包括了 HoA, 而 HA收到请求后会 将当前的 CoA返回给该实体; 这样, 目的接入网关将终端的 IP地址, 即 HoA发送给 NMA (也就是 HA ), NMA会将 CoA, 即源接入网关的 IP地 址, 返回给目的接入网关。  (1) In the mobile IP, the function of querying the current CoA through the HoA is added, that is, an entity sends a request to the HA, and the request includes the HoA, and the HA returns the current CoA to the request after receiving the request. In this way, the destination access gateway sends the IP address of the terminal, that is, the HoA, to the NMA (that is, the HA), and the NMA returns the CoA, that is, the IP address of the source access gateway, to the destination access gateway.
( 2 )当某个实体做地址的重绑定时,请求原有的 CoA, HA将新的 CoA 与 HoA绑定成功后,还将原有的 CoA返回给该实体; 这样当目的接入网关 给 NMA发送绑定更新或注册请求以将自己的地址和终端的 IP地址绑定时, 还同时请求原 CoA的地址, 这样 NMA会在绑定确认或注册应答消息中, 将原来的 CoA, 也就是源接入网关的地址发给目的接入网关。 (2) When an entity does the rebinding of the address, the original CoA is requested, and the HA will be the new CoA. After the binding with the HoA is successful, the original CoA is returned to the entity; when the destination access gateway sends a binding update or registration request to the NMA to bind its own address and the IP address of the terminal, the request is also requested. The address of the original CoA, so that the NMA sends the original CoA, that is, the address of the source access gateway, to the destination access gateway in the binding confirmation or registration response message.
第三实施例  Third embodiment
本实施例中, 提供了另一种源接入网关地址获取方法。 图 10所示为本 发明第三实施例的源接入网关地址获取方法的流程图, 图 11所示为本发明 第三实施例的源接入网关地址获取方法的信令流程图, 以下将参照图 10和 图 11予以描述。  In this embodiment, another source access gateway address obtaining method is provided. FIG. 10 is a flowchart of a source access gateway address obtaining method according to a third embodiment of the present invention, and FIG. 11 is a signaling flowchart of a method for acquiring a source access gateway address according to a third embodiment of the present invention. Description will be made with reference to FIGS. 10 and 11.
如图 10、 11所示, 根据本发明第三实施例的源接入网关地址获取方法 包括以下步骤:  As shown in FIG. 10 and FIG. 11, the source access gateway address obtaining method according to the third embodiment of the present invention includes the following steps:
步骤 S1002, 在终端从源接入网关切换到目的接入网关之后, 终端 MT 向目的接入网关发送网络密钥交换协议 IKE Exchange的 IKE— AUTH消息 , 其中携带有源接入网关地址;  Step S1002: After the terminal switches from the source access gateway to the destination access gateway, the terminal MT sends an IKE-AUTH message of the network key exchange protocol IKE Exchange to the destination access gateway, where the active access gateway address is carried;
步骤 S1004, 响应该网络密钥交换协议的 IKE— AUTH消息, 目的接入 网关从网络密钥交换协议的 IKE— AUTH消息中获取源接入网关的地址。  Step S1004: In response to the IKE-AUTH message of the network key exchange protocol, the destination access gateway obtains the address of the source access gateway from the IKE-AUTH message of the network key exchange protocol.
其中, 终端在切换之后将网络密钥交换协议的 IKE— AUTH消息中扩展 的新属性 3GPP2— SRC— AGW 设置为源接入网关的地址。 将 IKEv2 Configuration Payload消息中的 3GPP2特定相关属性扩展为如下所示:  The terminal sets the new attribute 3GPP2_SRC_AGW extended in the IKE_AUTH message of the network key exchange protocol to the address of the source access gateway after the handover. Extend the 3GPP2 specific related attributes in the IKEv2 Configuration Payload message as follows:
Attribot Type ! Multi-Wio^d ! Length Descriptioo  Attribot Type ! Multi-Wio^d ! Length Descriptioo
1 3GIH CLAGW ! ()390 1 NO I 0 or 4  1 3GIH CLAGW ! ()390 1 NO I 0 or 4
1 oct ts or 接入网关的地址 1 oct ts or address of the access gateway
!】 6 octets 根据本发明第三实施例的源接入网关地址获取方法进一步包括以下步 骤: ! 6 octets The source access gateway address obtaining method according to the third embodiment of the present invention further includes the following steps:
步骤 S1006, 目的接入网关与源接入网关建立连接, 以从源接入网关获 取终端的 IP地址或其他信息 (包括终端切换至前的网络移动代理地址、 安 全密钥、 OoS的相关参数等)。 在此之后, 目的接入网关向 NMA发起终端 IP地址(对于简单 IP是终端的 IP地址, 对于移动 IPv4是终端的家乡地址 HoA,对于移动 IPv6是终端的转交地址 CoA )和目的接入网关地址的绑定。 第四实施例 Step S1006: The destination access gateway establishes a connection with the source access gateway to obtain the IP address or other information of the terminal from the source access gateway (including the network mobile agent address, security key, OoS related parameters, etc. ). After that, the destination access gateway initiates the terminal IP address to the NMA (for the simple IP, the terminal's IP address, for mobile IPv4, the terminal's home address HoA, for mobile IPv6, the terminal's care-of address CoA) and the destination access gateway address. Binding. Fourth embodiment
本实施例中, 提供了一种移动终端切换装置。 图 12是示出根据本发明 第四实施例的移动终端切换装置的框图。  In this embodiment, a mobile terminal switching apparatus is provided. Figure 12 is a block diagram showing a mobile terminal switching device according to a fourth embodiment of the present invention.
如图 12所示, 根据本发明第四实施例的移动终端切换装置 1200包括: 第一消息发送模块 1202, 用于在终端从源接入网关切换到目的接入网 关之后, 向目的接入网关发送第一消息, 其中携带有终端在切换之前的 IP 地址;  As shown in FIG. 12, the mobile terminal switching apparatus 1200 according to the fourth embodiment of the present invention includes: a first message sending module 1202, configured to: after the terminal switches from the source access gateway to the destination access gateway, to the destination access gateway Sending a first message, where the IP address of the terminal before the handover is carried;
网络移动代理查找模块 1204, 响应于第一消息, 才艮据终端 IP地址查找 相应的网络移动代理; 以及  The network mobile agent lookup module 1204, in response to the first message, finds the corresponding network mobile agent according to the terminal IP address;
第二消息发送模块 1206, 用于向网络移动代理发送移动 IP绑定消息, 以绑定终端的 IP地址和目的接入网关的 IP地址。  The second message sending module 1206 is configured to send a mobile IP binding message to the network mobile agent to bind the IP address of the terminal and the IP address of the destination access gateway.
对于移动 IP而言, IP地址是终端的转交地址或家乡地址, 对于简单 IP 而言, IP地址是终端的 IP地址。  For mobile IP, the IP address is the care-of address or home address of the terminal. For simple IP, the IP address is the IP address of the terminal.
在终端由 CDMA网络向 WLAN网络切换的情况下, 第一消息是网络 密钥交换协议的 IKE— AUTH消息, 用于建立网络密钥交换协议连接, 终端 通过网络密钥交换协议隧道将转交地址和家乡地址传送给目的接入网关。  In the case that the terminal is switched from the CDMA network to the WLAN network, the first message is an IKE-AUTH message of the network key exchange protocol, used to establish a network key exchange protocol connection, and the terminal tunnels the care-of address and the network through the network key exchange protocol. The home address is transmitted to the destination access gateway.
网络移动代理查找模块 1204才艮据终端 IP地址查找相应的网络移动代 理, 并且移动 IP绑定消息用于绑定终端的 IP地址和目的接入网关的 IP地 址。  The network mobile agent lookup module 1204 searches for the corresponding network mobile agent according to the terminal IP address, and the mobile IP binding message is used to bind the IP address of the terminal and the IP address of the destination access gateway.
在终端釆用 MIP4 FA-COA模式的情况下, 在网络密钥交换协议的 IKE— AUTH消息中,第一消息发送模块 1202将转交地址和家乡地址发送给 目的接入网关, 并将 CFG— REQUEST中的属性 INTERNAL— IP4— ADDRESS 设为终端切换前的家乡地址, 并且扩展新的属性来传递切换前的转交地址。 在终端釆用 MIP4 CCOA模式的情况下,在网络密钥交换协议的 IKE— AUTH 消息中, 第一消息发送模块 1202 将 CFG— REQUEST 中的属性 INTERNAL— IP4— ADDRESS设为终端切换前的转交地址。在终端釆用 MIP6 模式的情况下, 在网络密钥交换协议的 IKE— AUTH消息中, 第一消息发送 模块 1202将 CFG— REQUEST中的属性 INTERNAL— IP6— ADDRESS设为终 端切换前的转交地址。 In the case that the terminal uses the MIP4 FA-COA mode, in the IKE_AUTH message of the network key exchange protocol, the first message sending module 1202 sends the care-of address and the home address to the destination access gateway, and CFG_REQUEST The attribute INTERNAL_IP4_ADDRESS is set to the home address before the terminal is switched, and the new attribute is extended to pass the care-of address before the handover. In the case where the terminal uses the MIP4 CCOA mode, in the IKE_AUTH message of the network key exchange protocol, the first message sending module 1202 sets the attribute INTERNAL_IP4_ADDRESS in the CFG_REQUEST to the care-of address before the terminal handover. . In the case where the terminal uses the MIP6 mode, in the IKE_AUTH message of the network key exchange protocol, the first message sending module 1202 sets the attribute INTERNAL_IP6_ADDRESS in the CFG_REQUEST to the end. The care-of address before the end switch.
在终端釆用简单 IPv4或简单 IPv6模式的情况下,在网络密钥交换协议 的 IKE— AUTH消息中, 第一消息发送模块 1202将 CFG— REQUEST中的属 性 INTERNAL— IP4— ADDRESS或 INTERNAL— IP6— ADDRESS设为终端切换 前的 IP地址, 网络移动代理查找模块 1204才艮据 IP地址查找相应的网络移 动代理,并且移动 IP绑定消息用于绑定终端的 IP地址和目的接入网关的 IP 地址。  In the case that the terminal uses the simple IPv4 or simple IPv6 mode, in the IKE_AUTH message of the network key exchange protocol, the first message sending module 1202 sets the attribute INTERNAL_IP4_ADDRESS or INTERNAL_IP6 in the CFG_REQUEST- The ADDRESS is set to the IP address before the terminal handover, and the network mobile agent lookup module 1204 searches for the corresponding network mobility agent according to the IP address, and the mobile IP binding message is used to bind the IP address of the terminal and the IP address of the destination access gateway. .
在终端由 WLAN网络向 CDMA网络切换的情况下, 第一消息是执行 认证消息或会话建立连接消息, 其中携带有切换前的终端 IP地址或源接入 网关的地址。 其中, 执行认证消息用于执行认证, 会话建立连接消息用于 与目的接入网关建立连接。  In the case that the terminal is switched from the WLAN network to the CDMA network, the first message is an execution authentication message or a session establishment connection message, where the terminal IP address before the handover or the address of the source access gateway is carried. The execution of the authentication message is used to perform authentication, and the session establishment connection message is used to establish a connection with the destination access gateway.
网络移动代理查找模块 1204通过配置各个网络移动代理所管理的终端 地址或终端地址前缀的范围来查找相应的网络移动代理, 或者通过查询相 关数据库来查找相应的网络移动代理, 其中, 相关数据库中保存了各个网 络移动代理所管理的地址或者地址前缀的范围。  The network mobile agent lookup module 1204 searches for a corresponding network mobile agent by configuring a range of terminal addresses or terminal address prefixes managed by each network mobile agent, or searches for a corresponding network mobile agent by querying a related database, where the related database is saved. The range of addresses or address prefixes managed by each network mobility agent.
特别地, 将绑定的终端的 IP地址作为家乡地址, 将目的接入网关的 IP 地址作为转交地址。  Specifically, the IP address of the bound terminal is used as the home address, and the IP address of the destination access gateway is used as the care-of address.
第五实施例  Fifth embodiment
本实施例中, 提供了一种源接入网关地址获取装置。 图 13所示为本发 明第五实施例的源接入网关地址获取装置的框图。  In this embodiment, a source access gateway address obtaining apparatus is provided. Figure 13 is a block diagram showing a source access gateway address obtaining apparatus according to a fifth embodiment of the present invention.
如图 13所示, 本实施例中的源接入网关地址获取装置 1300包括: 查询请求消息发送模块 1302,用于向网络移动代理发送查询请求消息, 以查询终端的源接入网关地址, 其中, 查询请求消息中携带有终端的 IP地 址; 以及  As shown in FIG. 13, the source access gateway address obtaining apparatus 1300 in this embodiment includes: a query request message sending module 1302, configured to send a query request message to the network mobile agent to query the source access gateway address of the terminal, where The query request message carries the IP address of the terminal;
地址查询模块 1304, 响应于查询请求消息, 地址查询模块 1304查询源 接入网关的地址, 并返回给查询请求消息发送模块。  The address query module 1304, in response to the query request message, the address query module 1304 queries the address of the source access gateway and returns it to the query request message sending module.
其中, 源接入网关是指终端在切换之前所对应的网关, 目的接入网关 是指终端在切换之后所对应的网关。 终端的地址是接入网关向网络移动代 理进行移动 IP绑定时的家乡地址, 源接入网关的地址是与家乡地址相对应 的转交地址。 The source access gateway refers to the gateway corresponding to the terminal before the handover, and the destination access gateway refers to the gateway corresponding to the terminal after the handover. The address of the terminal is the home address when the access gateway performs mobile IP binding to the network mobile agent, and the address of the source access gateway corresponds to the home address. The care-of address.
第六实施例  Sixth embodiment
本实施例中, 提供了另一种源接入网关地址获取装置。 图 14是示出根 据本发明第六实施例的源接入网关地址获取装置的框图。  In this embodiment, another source access gateway address obtaining apparatus is provided. Figure 14 is a block diagram showing a source access gateway address obtaining apparatus according to a sixth embodiment of the present invention.
如图 14所示,根据本发明第六实施例的源接入网关地址获取装置 1400 包括:  As shown in FIG. 14, the source access gateway address obtaining apparatus 1400 according to the sixth embodiment of the present invention includes:
网络密钥交换协议的 IKE— AUTH消息发送模块 1402,用于在终端从源 接入网关切换到目的接入网关之后, 向目的接入网关发送网络密钥交换协 议的 IKE— AUTH消息, 其中携带有源接入网关地址; 以及  The IKE-AUTH message sending module 1402 of the network key exchange protocol is configured to send an IKE-AUTH message of the network key exchange protocol to the destination access gateway after the terminal switches from the source access gateway to the destination access gateway, where Active access gateway address;
源接入网关地址获取模块 1404 , 用于响应于网络密钥交换协议的 a source access gateway address obtaining module 1404, configured to respond to a network key exchange protocol
IKE— AUTH消息 ,从网络密钥交换协议的 IKE— AUTH消息中获取源接入网 关的地址。 IKE—AUTH message, the address of the source access gateway is obtained from the IKE-AUTH message of the network key exchange protocol.
其中, 在终端切换之后, 网络密钥交换协议的 IKE— AUTH消息发送模 块 1402 将网络密钥交换协议的 IKE— AUTH 消息中扩展的新属性 3GPP2_SRC_AGW设置为源接入网关的地址。  Wherein, after the terminal handover, the IKE-AUTH message sending module 1402 of the network key exchange protocol sets the new attribute 3GPP2_SRC_AGW extended in the IKE_AUTH message of the network key exchange protocol to the address of the source access gateway.
根据本发明的源接入网关地址获取装置 1400进一步包括:  The source access gateway address obtaining apparatus 1400 according to the present invention further includes:
信息获取模块 1406, 用于与源接入网关建立连接, 以从源接入网关获 取终端的 IP地址或诸如终端切换之前的网络移动代理地址的其他信息。  The information obtaining module 1406 is configured to establish a connection with the source access gateway to obtain an IP address of the terminal or other information such as a network mobile agent address before the terminal handover from the source access gateway.
参照图 15, 在具体实现时, 原接入点和目的接入点可能属于不同的接 入系统, 例如原接入点是蜂窝网里的基站, 目的接入点是用于实现 WLAN 互通中的 PDIF。 但他们可连接到同一个统一的接入集中点上, 而接入集中 点上包含了移动性锚点, 也就是 LMA或者 NMA的功能。  Referring to FIG. 15, in a specific implementation, the original access point and the destination access point may belong to different access systems, for example, the original access point is a base station in a cellular network, and the destination access point is used to implement WLAN interworking. PDIF. But they can connect to the same unified access point, and the access point contains the mobility anchor, which is the function of LMA or NMA.
步骤 1500, 接入终端 AT与原接入点建立连接, 并实现正常的通信; 步骤 1501 , 在 AT从原接入点切换到目的接入点之后, 终端向目的接 入点发送第一消息, 其中携带有终端在切换之前的 IP地址;  Step 1500: The access terminal AT establishes a connection with the original access point, and implements normal communication. Step 1501: After the AT switches from the original access point to the destination access point, the terminal sends a first message to the destination access point. The IP address of the terminal before the handover is carried;
步骤 1502, 目的接入点响应该第一消息, 目的接入点根据终端 IP地址 查找相应的接入集中点; 以及  Step 1502: The destination access point responds to the first message, and the destination access point searches for a corresponding access concentration point according to the terminal IP address;
步骤 1503 , 目的接入点向接入集中点发送移动 IP绑定消息, 用于绑定 终端的 IP地址和目的接入点的 IP地址。 其中, 对于移动 IP而言, 上述 IP地址是终端的转交地址或家乡地址 , 对于简单 IP而言, 上述 ip地址是终端的 IP地址。 Step 1503: The destination access point sends a mobile IP binding message to the access point to bind the IP address of the terminal and the IP address of the destination access point. Wherein, for the mobile IP, the IP address is a care-of address or a home address of the terminal, and for a simple IP, the ip address is an IP address of the terminal.
在终端由 CDMA网络向 WLAN网络切换的情况下, 在步骤 1501中, 第一消息是网络密钥交换协议的 IKE— AUTH消息, 用于建立网络密钥交换 协议连接, 终端通过网络密钥交换协议的 IKE— AUTH将转交地址和家乡地 址传送给目的接入点。 此外, 在步骤 1502中, 目的接入点根据终端 IP地址 查找相应的接入集中点,并且在步骤 1503中,绑定终端 IP地址和目的接入 点的 IP地址。  In the case that the terminal is switched from the CDMA network to the WLAN network, in step 1501, the first message is an IKE-AUTH message of the network key exchange protocol, used to establish a network key exchange protocol connection, and the terminal uses a network key exchange protocol. IKE—AUTH transmits the care-of address and home address to the destination access point. In addition, in step 1502, the destination access point searches for a corresponding access point according to the terminal IP address, and in step 1503, binds the terminal IP address and the IP address of the destination access point.
特别地, 在终端釆用 MIP4 FA-COA模式的情况下, 在步骤 1501中, 在网络密钥交换协议的 IKE— AUTH消息中, 终端将转交地址和家乡地址发 送 给 目 的 接 入 点 , 并 将 CFG— REQUEST 中 的 属 性 INTERNAL— IP4— ADDRESS设为切换前的家乡地址, 并且扩展新的属性来 传递切换前的转交地址:
Figure imgf000018_0001
在终端釆用 MIP4 CCOA模式的情况下, 在步骤 1501中, 在网络密钥 交换协议的 IKE— AUTH 消息中, 终端将 CFG— REQUEST 中的属性 INTERNAL— IP4— ADDRESS设为切换前的转交地址。 在终端釆用 MIP6模 式的情况下, 在步骤 1501中, 在网络密钥交换协议的 IKE— AUTH消息中, 终端将 CFG— REQUEST中的属性 INTERNAL— IP6— ADDRESS设为其切换前 的转交地址。
Specifically, in the case where the terminal uses the MIP4 FA-COA mode, in step 1501, in the IKE_AUTH message of the network key exchange protocol, the terminal sends the care-of address and the home address to the destination access point, and CFG—The attribute INTERNAL in the REQUEST—IP4—ADDRESS is set to the home address before the switch, and the new attribute is extended to pass the care-of address before the switch:
Figure imgf000018_0001
In the case where the terminal uses the MIP4 CCOA mode, in step 1501, in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS in the CFG_REQUEST to the care-of address before the handover. In the case where the terminal uses the MIP6 mode, in step 1501, in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP6_ADDRESS in the CFG_REQUEST to the care-of address before the handover.
在终端釆用简单 IPv4或简单 IPv6模式的情况下, 在步骤 1501中, 在 网络密钥交换协议的 IKE— AUTH消息中,终端将 CFG— REQUEST中的属性 INTERNAL— IP4— ADDRESS或 INTERNAL— IP6— ADDRESS设为其切换前的 IP地址, 在步骤 1502中, 目的接入网关根据 IP地址查找相应的网络移动 代理, 并且在步骤 1503中, 绑定终端的 IP地址和目的接入网关的 IP地址。  In the case where the terminal uses the simple IPv4 or simple IPv6 mode, in step 1501, in the IKE_AUTH message of the network key exchange protocol, the terminal sets the attribute INTERNAL_IP4_ADDRESS or INTERNAL_IP6 in the CFG_REQUEST- The ADDRESS is set to the IP address before the handover. In step 1502, the destination access gateway searches for the corresponding network mobility agent according to the IP address, and in step 1503, binds the IP address of the terminal and the IP address of the destination access gateway.
本领域技术人员可以理解, 上述实施例中的全部或部分模块或各步骤 是可以通过程序来指令相关硬件来实现, 所述程序可存储于计算机可读取 存储介质中, 所述存储介质, 如 ROM/RAM、 磁盘、 光碟等。 或者将它们 分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单 个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结 合。 A person skilled in the art may understand that all or part of the modules or steps in the foregoing embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, such as a storage medium, such as ROM/RAM, disk, CD, etc. Or put them Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包括在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1.一种移动终端切换方法, 其特征在于, 包括: A mobile terminal switching method, comprising:
在终端从源接入实体切换到目的接入实体之后, 所述终端向所述目的 接入实体发送第一消息,该第一消息携带有所述终端在切换之前的 IP地址; 所述目的接入实体响应所述第一消息, 并根据所述终端 IP地址查找相 应的网络移动代理;  After the terminal is switched from the source access entity to the destination access entity, the terminal sends a first message to the destination access entity, where the first message carries the IP address of the terminal before the handover; The inbound entity responds to the first message, and searches for a corresponding network mobile agent according to the terminal IP address;
所述目的接入实体向所述网络移动代理发送移动 IP绑定消息, 绑定所 述终端的 IP地址和所述目的接入实体的 IP地址。  The destination access entity sends a mobile IP binding message to the network mobility agent, binding the IP address of the terminal and the IP address of the destination access entity.
2.根据权利要求 1 所述的移动终端切换方法, 其特征在于, 当釆用移 动 IP时, 所述终端 IP地址是所述终端的转交地址或家乡地址。  The mobile terminal switching method according to claim 1, wherein when the mobile IP is used, the terminal IP address is a care-of address or a home address of the terminal.
3.根据权利要求 2 所述的移动终端切换方法, 其特征在于, 在所述终 端由 CDMA网络向 WLAN网络切换的情况下, 所述第一消息是网络密钥 交换协议消息, 用于建立网络密钥交换协议连接, 所述终端通过所述网络 密钥交换协议消息将所述转交地址和所述家乡地址传送给所述目的接入实 体。  The mobile terminal handover method according to claim 2, wherein, in a case that the terminal is switched from a CDMA network to a WLAN network, the first message is a network key exchange protocol message, and is used to establish a network. The key exchange protocol is connected, and the terminal transmits the care-of address and the home address to the destination access entity by using the network key exchange protocol message.
4.根据权利要求 2所述的移动终端切换方法, 其特征在于, 在所述终 端釆用 MIP4 外地代理-转交地址 FA-COA模式时, 在所述终端发送的所 述网络密钥交换协议消息中, 将所述转交地址和所述家乡地址发送给所述 目的接入实体, 并将配置请求消息中的地址属性设为切换前的所述家乡地 址, 并且扩展新的属性来传递切换前的所述转交地址。  The mobile terminal handover method according to claim 2, wherein the network key exchange protocol message sent by the terminal when the terminal uses the MIP4 foreign agent-care-of address FA-COA mode Sending the care-of address and the home address to the destination access entity, setting an address attribute in the configuration request message to the home address before switching, and extending a new attribute to deliver the pre-switching The care-of address.
5.根据权利要求 1或 2所述的移动终端切换方法, 其特征在于, 在所 述终端釆用 MIP4配置转交地址 CCOA模式时, 在所述终端发送的所述网 络密钥交换协议消息中, 将配置请求消息中的地址属性设为切换前的所述 转交地址。  The mobile terminal switching method according to claim 1 or 2, wherein, in the network key exchange protocol message sent by the terminal, when the terminal uses the MIP4 to configure the care-of address CCOA mode, The address attribute in the configuration request message is set as the care-of address before switching.
6.根据权利要求 2所述的移动终端切换方法, 其特征在于, 在所述终 端釆用 MIP6模式时, 在所述终端发送的所述网络密钥交换协议消息中, 将 配置请求消息中的地址属性设为其切换前的所述转交地址。  The mobile terminal switching method according to claim 2, wherein, in the MIP6 mode of the terminal, in the network key exchange protocol message sent by the terminal, in a configuration request message The address attribute is set to the care-of address before its switch.
7.根据权利要求 1或 2所述的移动终端切换方法, 其特征在于, 在所 述终端釆用 IPv4或 IPv6模式时,在所述终端发送的所述网络密钥交换协议 的消息中, 将配置请求消息中的地址属性设为其切换前的所述 IP地址。The mobile terminal handover method according to claim 1 or 2, wherein the network key exchange protocol sent by the terminal when the terminal uses an IPv4 or IPv6 mode In the message, the address attribute in the configuration request message is set to the IP address before the switch.
8. 根据权利要求 1或 2所述的移动终端切换方法, 其特征在于, 在所 述终端由 WLAN网络向 CDMA网络切换的情况下, 所述第一消息是执行 认证消息或会话建立连接消息, 该消息携带有切换前的所述终端 IP地址或 源接入实体的地址。 The mobile terminal handover method according to claim 1 or 2, wherein, in a case where the terminal is switched from a WLAN network to a CDMA network, the first message is an execution authentication message or a session establishment connection message, The message carries the terminal IP address or the address of the source access entity before the handover.
9. 根据权利要求 8所述的移动终端切换方法, 其特征在于, 所述执行 认证消息用于执行认证, 所述会话建立连接消息用于与所述目的接入实体 建立连接。  The mobile terminal handover method according to claim 8, wherein the performing an authentication message is used to perform authentication, and the session establishment connection message is used to establish a connection with the destination access entity.
10. 根据权利要求 1所述的移动终端切换方法, 其特征在于, 所述目的 接入实体通过配置各个网络移动代理所管理的终端地址或终端地址前缀的 范围来查找所述相应的网络移动代理。  The mobile terminal handover method according to claim 1, wherein the destination access entity searches for the corresponding network mobile agent by configuring a range of a terminal address or a terminal address prefix managed by each network mobility agent. .
11. 根据权利要求 1所述的移动终端切换方法, 其特征在于, 所述绑定 终端的 IP地址和所述目的接入实体的 IP地址, 包括:  The mobile terminal switching method according to claim 1, wherein the IP address of the binding terminal and the IP address of the destination access entity include:
所述目的接入实体查询相关数据库来获取所述相应的网络移动代理相 关信息, 所述相关数据库中保存有各个网络移动代理所管理的地址或者地 址前缀的范围。  The destination access entity queries the relevant database to obtain the corresponding network mobility agent related information, and the related database stores the address or address prefix range managed by each network mobile agent.
12. 根据权利要求 1所述的移动终端切换方法, 其特征在于, 所述绑定 终端的 IP地址和所述目的接入实体的 IP地址, 包括:  The mobile terminal switching method according to claim 1, wherein the IP address of the binding terminal and the IP address of the destination access entity include:
将所述终端的 IP地址作为家乡地址,将所述目的接入实体的 IP地址作 为转交地址。  The IP address of the terminal is used as the home address, and the IP address of the destination access entity is used as the care-of address.
13. 一种源接入实体地址获取方法, 其特征在于, 包括:  A method for obtaining a source access entity address, comprising:
目的接入实体向网络移动代理发送查询请求消息, 以查询所述终端的 源接入实体地址, 所述查询请求消息中携带有所述终端的 IP地址;  The destination access entity sends a query request message to the network mobile agent to query the source access entity address of the terminal, where the query request message carries the IP address of the terminal;
所述网络移动代理响应所述查询请求消息, 查询所述源接入实体的地 址, 并返回给所述目的接入实体。  The network mobility agent queries the address of the source access entity in response to the query request message, and returns the address to the destination access entity.
14. 根据权利要求 13所述的源接入实体地址获取方法, 其特征在于, 所述源接入实体为所述终端在切换之前所对应的实体, 所述目的接入实体 为所述终端在切换之后所对应的实体。  The source access entity address obtaining method according to claim 13, wherein the source access entity is an entity corresponding to the terminal before the handover, and the destination access entity is the terminal The entity corresponding to the switch.
15. 根据权利要求 13所述的源接入实体地址获取方法, 其特征在于, 所述终端的地址是接入实体向网络移动代理进行移动 IP 绑定时的家乡地 址, 所述源接入实体的地址是与所述家乡地址相对应的转交地址。 15. The source access entity address obtaining method according to claim 13, wherein: The address of the terminal is a home address when the access entity performs mobile IP binding to the network mobile agent, and the address of the source access entity is a care-of address corresponding to the home address.
16. 一种源接入实体地址获取方法, 其特征在于, 包括:  A method for obtaining a source access entity address, comprising:
在终端从源接入实体切换到目的接入实体之后, 所述终端向所述目的 接入实体发送网络密钥交换协议消息, 其中携带有源接入实体地址;  After the terminal switches from the source access entity to the destination access entity, the terminal sends a network key exchange protocol message to the destination access entity, where the active access entity address is carried;
所述目的接入实体接收到所述网络密钥交换协议消息后, 从所述网络 密钥交换协议消息中获取所述源接入实体的地址。  After receiving the network key exchange protocol message, the destination access entity obtains an address of the source access entity from the network key exchange protocol message.
17. 根据权利要求 16所述的源接入实体地址获取方法, 其特征在于, 所述终端在切换之后, 将所述网络密钥交换协议消息中扩展的新属性设置 为所述源接入实体的地址。  The source access entity address obtaining method according to claim 16, wherein the terminal sets, after the handover, a new attribute extended in the network key exchange protocol message as the source access entity. the address of.
18. 根据权利要求 17所述的源接入实体地址获取方法, 其特征在于, 进一步包括:  The source access entity address obtaining method according to claim 17, further comprising:
所述目的接入实体与所述源接入实体建立连接, 以从所述源接入实体 获取所述终端的 IP地址或所述终端切换之前的网络移动代理地址。  The destination access entity establishes a connection with the source access entity to obtain an IP address of the terminal or a network mobility proxy address before the terminal handover from the source access entity.
19. 一种移动终端切换装置, 其特征在于, 包括:  A mobile terminal switching device, comprising:
第一消息发送模块, 用于发送消息给目的接入实体, 在终端从源接入 实体切换到目的接入实体之后, 向所述目的接入实体发送第一消息, 其中 携带有所述终端在切换之前的 IP地址;  a first message sending module, configured to send a message to the destination access entity, and after the terminal switches from the source access entity to the destination access entity, send a first message to the destination access entity, where the terminal carries Switch the previous IP address;
查找模块, 响应于所述第一消息, 根据所述终端 IP地址查找相应的网 络移动代理;  And searching, in response to the first message, searching for a corresponding network mobility agent according to the terminal IP address;
第二消息发送模块, 用于向所述网络移动代理发送移动 IP绑定消息, 以绑定所述终端的 IP地址和所述目的接入实体的 IP地址。  And a second message sending module, configured to send a mobile IP binding message to the network mobile agent, to bind the IP address of the terminal and an IP address of the destination access entity.
20. 根据权利要求 19所述的移动终端切换装置, 其特征在于, 所述 IP 地址是所述终端的转交地址或家乡地址。  20. The mobile terminal switching device according to claim 19, wherein the IP address is a care-of address or a home address of the terminal.
21. 根据权利要求 20所述的移动终端切换装置, 其特征在于, 在所述 终端由 CDMA网络向 WLAN网络切换的情况下, 所述第一消息是网络密 钥交换协议消息, 用于建立网络密钥交换协议连接, 所述终端通过所述网 络密钥交换协议消息将所述转交地址和所述家乡地址传送给所述目的接入 实体。 The mobile terminal switching device according to claim 20, wherein, in a case that the terminal is switched by a CDMA network to a WLAN network, the first message is a network key exchange protocol message, and is used to establish a network. The key exchange protocol is connected, and the terminal transmits the care-of address and the home address to the destination access entity by using the network key exchange protocol message.
22. 根据权利要求 21所述的移动终端切换装置, 其特征在于, 所述查 找模块根据所述终端 IP地址查找所述相应的网络移动代理, 并且所述移动 IP绑定消息用于绑定所述终端 IP地址和所述目的接入实体的 IP地址。 The mobile terminal switching apparatus according to claim 21, wherein the searching module searches for the corresponding network mobile agent according to the terminal IP address, and the mobile IP binding message is used for binding a location The terminal IP address and the IP address of the destination access entity.
23. 根据权利要求 22所述的移动终端切换装置, 其特征在于, 在所述 终端釆用 MIP4 外地代理-转交地址 FA-COA模式的情况下, 在所述网络 密钥交换协议消息中, 所述第一消息发送模块将所述转交地址和所述家乡 地址发送给所述目的接入实体, 并将配置请求消息中的地址属性设为所述 终端切换前的所述家乡地址, 并且扩展新的属性来传递切换前的所述转交 地址。  23. The mobile terminal switching apparatus according to claim 22, wherein, in the case where the terminal uses the MIP4 foreign agent-care-of address FA-COA mode, in the network key exchange protocol message, The first message sending module sends the care-of address and the home address to the destination access entity, and sets an address attribute in the configuration request message to the home address before the terminal is switched, and expands the new address. The attribute to pass the care-of address before the switch.
24. 根据权利要求 22所述的移动终端切换装置, 其特征在于, 在所述 终端釆用 MIP4配置转交地址 CCOA模式的情况下, 在所述网络密钥交换 协议消息中, 所述第一消息发送模块将配置请求消息中的地址属性设为所 述终端切换前的所述转交地址。  The mobile terminal switching device according to claim 22, wherein, in the case that the terminal uses the MIP4 to configure a care-of address CCOA mode, in the network key exchange protocol message, the first message The sending module sets the address attribute in the configuration request message to the care-of address before the terminal handover.
25. 根据权利要求 22所述的移动终端切换装置, 其特征在于, 在所述 终端釆用 MIP6模式的情况下, 在所述网络密钥交换协议消息中, 所述第一 消息发送模块将配置请求消息中的地址属性设为所述终端切换前的所述转 交地址。  The mobile terminal switching device according to claim 22, wherein, in a case where the terminal uses the MIP6 mode, in the network key exchange protocol message, the first message sending module is configured The address attribute in the request message is set to the care-of address before the terminal handover.
26. 根据权利要求 22所述的移动终端切换装置, 其特征在于, 在所述 终端釆用 IPv4或 IPv6模式的情况下, 在所述网络密钥交换协议消息中, 所 述第一消息发送模块将配置请求消息中的地址属性设为所述终端切换前的 所述 IP地址 ,所述查找模块才艮据所述 IP地址查找所述相应的网络移动代理 , 并且所述移动 IP绑定消息用于绑定所述终端的 IP地址和所述目的接入实体 的 IP地址。  The mobile terminal switching device according to claim 22, wherein, in the case that the terminal uses an IPv4 or IPv6 mode, in the network key exchange protocol message, the first message sending module Setting an address attribute in the configuration request message to the IP address before the terminal handover, the searching module searches the corresponding network mobile agent according to the IP address, and the mobile IP binding message is used by Binding the IP address of the terminal and the IP address of the destination access entity.
27. 根据权利要求 20所述的移动终端切换装置, 其特征在于, 在所述 终端由 WLAN网络向 CDMA网络切换的情况下, 所述第一消息是执行认 证消息或会话建立连接消息, 该消息携带有切换前的所述终端 IP地址或源 接入实体的地址。  The mobile terminal switching apparatus according to claim 20, wherein, in a case where the terminal is switched by a WLAN network to a CDMA network, the first message is an execution authentication message or a session establishment connection message, and the message is Carrying the terminal IP address or the address of the source access entity before the handover.
28. 根据权利要求 27所述的移动终端切换装置, 其特征在于, 所述执 行认证消息用于执行认证, 所述会话建立连接消息用于与所述目的接入实 体建立连接。 The mobile terminal switching device according to claim 27, wherein the execution of the authentication message is used to perform authentication, and the session establishment connection message is used for the destination access The body establishes a connection.
29. 根据权利要求 19所述的移动终端切换装置, 其特征在于, 所述网 络移动代理查找模块通过配置各个网络移动代理所管理的终端地址或终端 地址前缀的范围来查找所述相应的网络移动代理。  The mobile terminal switching device according to claim 19, wherein the network mobile agent searching module searches for the corresponding network mobile by configuring a range of a terminal address or a terminal address prefix managed by each network mobile agent. proxy.
30. 根据权利要求 19所述的移动终端切换装置, 其特征在于, 所述查 找模块通过查询相关数据库来查找所述相应的网络移动代理, 所述相关数 据库中保存各个网络移动代理所管理的地址或者地址前缀的范围。  The mobile terminal switching apparatus according to claim 19, wherein the searching module searches for the corresponding network mobile agent by querying a related database, and the related database stores an address managed by each network mobile agent. Or the range of address prefixes.
31. 根据权利要求 19所述的移动终端切换装置, 其特征在于, 将绑定 的所述终端的 IP地址作为家乡地址,将所述目的接入实体的 IP地址作为转 交地址。  The mobile terminal switching device according to claim 19, wherein the IP address of the bound terminal is used as a home address, and the IP address of the destination access entity is used as a care-of address.
32. 一种源接入实体地址获取装置, 其特征在于, 包括:  32. A source access entity address obtaining apparatus, comprising:
消息发送模块, 用于向网络移动代理发送查询请求消息, 以查询终端 的源接入实体地址, 所述查询请求消息中携带有所述终端的 IP地址;  a message sending module, configured to send a query request message to the network mobile agent, to query a source access entity address of the terminal, where the query request message carries an IP address of the terminal;
地址查询模块, 响应于所述查询请求消息, 所述地址查询模块查询所 述源接入实体的地址, 并返回给所述查询请求消息发送模块。  An address query module, responsive to the query request message, the address query module queries an address of the source access entity, and returns the query request message sending module.
33. 根据权利要求 32所述的源接入实体地址获取装置, 其特征在于, 所述源接入实体是指所述终端在切换之前所对应的实体, 所述目的接入实 体是指所述终端在切换之后所对应的实体。  The source access entity address obtaining apparatus according to claim 32, wherein the source access entity refers to an entity corresponding to the terminal before the handover, and the destination access entity refers to the The entity corresponding to the terminal after the switch.
34. 根据权利要求 32所述的源接入实体地址获取装置, 其特征在于, 所述终端的地址是接入实体向网络移动代理进行移动 IP 绑定时的家乡地 址, 所述源接入实体的地址是与所述家乡地址相对应的转交地址。  The source access entity address obtaining apparatus according to claim 32, wherein the address of the terminal is a home address when the access entity performs mobile IP binding to the network mobile agent, and the source access entity The address is the care-of address corresponding to the home address.
35. 一种源接入实体地址获取装置, 其特征在于, 包括:  35. A source access entity address obtaining apparatus, comprising:
消息发送模块, 用于在终端从源接入实体切换到目的接入实体之后, 向所述目的接入实体发送网络密钥交换协议消息, 其中携带有源接入实体 地址;  a message sending module, configured to send a network key exchange protocol message to the destination access entity after the terminal switches from the source access entity to the destination access entity, where the active access entity address is carried;
地址获取模块, 用于响应所述网络密钥交换协议消息, 从所述网络密 钥交换协议消息中获取所述源接入实体的地址。  And an address obtaining module, configured to obtain, according to the network key exchange protocol message, an address of the source access entity from the network key exchange protocol message.
36. 根据权利要求 35所述的源接入实体地址获取装置, 其特征在于, 在所述终端切换之后, 所述消息发送模块将所述网络密钥交换协议消息中 扩展的新属性 3GPP2— SRC— AGW设置为所述源接入实体的地址。 The source access entity address obtaining apparatus according to claim 35, wherein, after the terminal is switched, the message sending module sends the network key exchange protocol message The extended new attribute 3GPP2 - SRC - AGW is set to the address of the source access entity.
37. 根据权利要求 35所述的源接入实体地址获取装置, 其特征在于, 进一步包括:  The source access entity address obtaining apparatus according to claim 35, further comprising:
信息获取模块, 用于与所述源接入实体建立连接, 以从所述源接入实 体获取所述终端的 IP地址或包括所述终端切换之前的网络移动代理地址的 其他信息。  And an information obtaining module, configured to establish a connection with the source access entity, to obtain an IP address of the terminal or other information including a network mobile agent address before the terminal handover from the source access entity.
PCT/CN2007/070505 2006-08-18 2007-08-17 Method and device for terminal handover, method and device for getting address of origin access entity WO2008022597A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610109874.6 2006-08-18
CN2006101098746A CN101128022B (en) 2006-08-18 2006-08-18 Terminal switching method and device and acquisition method and device for source access gateway address

Publications (1)

Publication Number Publication Date
WO2008022597A1 true WO2008022597A1 (en) 2008-02-28

Family

ID=39095907

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070505 WO2008022597A1 (en) 2006-08-18 2007-08-17 Method and device for terminal handover, method and device for getting address of origin access entity

Country Status (2)

Country Link
CN (1) CN101128022B (en)
WO (1) WO2008022597A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552959B (en) * 2008-04-02 2011-01-05 大唐移动通信设备有限公司 Method, device and system of data acquisition in attachment process
CN101656961B (en) * 2009-09-01 2012-07-18 中兴通讯股份有限公司 Method and system for accessing mobile IP service of CDMA2000 system
WO2011097820A1 (en) * 2010-02-12 2011-08-18 华为技术有限公司 Method, device and system for selecting gateway when switching in heterogeneous network
CN102546154B (en) * 2011-12-19 2015-09-16 上海顶竹通讯技术有限公司 The changing method of terminal in mobile communications network
CN103747494B (en) * 2013-12-31 2017-01-25 上海华为技术有限公司 Switching method and switching device in WLAN (Wireless Local Area Network)
WO2015165006A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Handover processing method and apparatus
KR101889436B1 (en) * 2014-05-30 2018-08-17 후아웨이 테크놀러지 컴퍼니 리미티드 Service path changing method and apparatus
EP3209043B1 (en) * 2014-11-04 2020-03-25 Huawei Technologies Co., Ltd. Mobility management method, apparatus, and system
CN107135524A (en) * 2016-02-26 2017-09-05 中兴通讯股份有限公司 A kind of packet data gateway, switching method and system across packet data gateway
BR112018017119A2 (en) 2016-02-29 2018-12-26 Huawei Tech Co Ltd method, apparatus, and mobility management system
CN110855600B (en) * 2018-08-21 2021-08-27 中国电信股份有限公司 Method, device and system for switching TCP connection
CN110366169B (en) * 2018-09-13 2021-02-26 新华三技术有限公司 Roaming method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1348275A (en) * 2000-09-28 2002-05-08 艾利森电话股份有限公司 Method and system for switching and shifting between group data service nodes in CDMA 2000 network
CN1481096A (en) * 2002-09-05 2004-03-10 深圳市中兴通迅股份有限公司上海第二 Method for switching between CDMA2000 system and wireless local area network system
CN1499889A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司 Method for seamless roaming in mixed configurated packet wireless network with wireless local area network
WO2005002266A1 (en) * 2003-06-27 2005-01-06 Nokia Corporation Enhanced fast handover procedures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1348275A (en) * 2000-09-28 2002-05-08 艾利森电话股份有限公司 Method and system for switching and shifting between group data service nodes in CDMA 2000 network
CN1481096A (en) * 2002-09-05 2004-03-10 深圳市中兴通迅股份有限公司上海第二 Method for switching between CDMA2000 system and wireless local area network system
CN1499889A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司 Method for seamless roaming in mixed configurated packet wireless network with wireless local area network
WO2005002266A1 (en) * 2003-06-27 2005-01-06 Nokia Corporation Enhanced fast handover procedures

Also Published As

Publication number Publication date
CN101128022B (en) 2011-02-02
CN101128022A (en) 2008-02-20

Similar Documents

Publication Publication Date Title
WO2008022597A1 (en) Method and device for terminal handover, method and device for getting address of origin access entity
US9042308B2 (en) System and method for connecting a wireless terminal to a network via a gateway
US8644249B2 (en) Telecommunication system and method for controlling switching of user terminal between two networks
US7447182B2 (en) Discovering an address of a name server
JP5166525B2 (en) Access network-core network trust relationship detection for mobile nodes
KR101268892B1 (en) Methods for common authentication and authorization across independent networks
EP2353271B1 (en) Secure tunnel establishment upon attachment or handover to an access network
JP5227960B2 (en) Packet transfer for proxy mobile IP
JP4669002B2 (en) Fast context establishment for interworking in heterogeneous networks
RU2409907C2 (en) Internet protocol combination and mobility method
US20110063997A1 (en) Interworking between wimax and 3gpp networks
US8442006B2 (en) Wireless LAN mobility
WO2009006848A1 (en) Access network switching method, anchor management device, and mobile accessing device
JP2009510858A (en) Policy control in an extended system architecture
WO2010127597A1 (en) Handoff method, device and system
WO2009028885A2 (en) Method and system for managing mobility in a mobile communication system using proxy mobile internet protocol
WO2011011945A1 (en) Message-sending method and serving gprs support node
WO2008154789A1 (en) A method of selecting mobile management mode in wireless network
WO2007128239A1 (en) System for implementing mobile ipv6 and method for establishing user link in the system
WO2011011940A1 (en) Method and system for establishing mobile network connection
EP2299748B1 (en) Method and system for supporting mobility security in the next generation network
US20100070617A1 (en) IP address assignment for access to IP services via WiMAX or 3GPP access network
WO2008151492A1 (en) Method for selecting mobile managing mode in wireless network
Korhonen IP mobility in wireless operator networks
Gondi et al. A New Mobility Solution Based On PMIP Using AAA Mobility Extensions in Heterogeneous Networks

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07800981

Country of ref document: EP

Kind code of ref document: A1