WO2010127597A1 - Handoff method, device and system - Google Patents

Handoff method, device and system Download PDF

Info

Publication number
WO2010127597A1
WO2010127597A1 PCT/CN2010/072242 CN2010072242W WO2010127597A1 WO 2010127597 A1 WO2010127597 A1 WO 2010127597A1 CN 2010072242 W CN2010072242 W CN 2010072242W WO 2010127597 A1 WO2010127597 A1 WO 2010127597A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network
access point
wimax
wifi
Prior art date
Application number
PCT/CN2010/072242
Other languages
French (fr)
Chinese (zh)
Inventor
树贵明
丁志明
杨永利
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010127597A1 publication Critical patent/WO2010127597A1/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/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1446Reselecting a network or an air interface over a different radio air interface technology wherein at least one of the networks is unlicensed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention claims the priority of the Chinese Patent Application entitled “Switching Method, Equipment and System", filed on May 7, 2009, the Chinese Patent Office, Application No. 200910136555. This is incorporated herein by reference.
  • the present invention relates to the field of communications, and in particular, to a handover method, device, and system. Background technique
  • WiFi Wireless Fidelity
  • WiMAX Worldwide Interoperabiity for Microwave Access
  • WiFi has a fast deployment speed, low cost, high bandwidth, no need for authorization to use the spectrum, but a small coverage.
  • WiMAX has a large coverage range, but there will be more users in a large coverage area, so that the average user bandwidth will decrease.
  • WiFi can be used as a supplement to WiMAX.
  • the multimode terminal accesses the WiMAX core network through the WiFi network. In other cases, the multimode terminal directly connects. Into the WiMAX network. In this way, multimode terminals must ensure continuity of service when switching between WiMAX and WiFi access networks.
  • the so-called service continuity is that when switching access points (such as between different WiMAX base stations, or between WiMAX base stations and WiFi access points), the connection between the multimode terminal and the service network before and after the handover is not interrupted, and the network Switching is transparent to business processes.
  • the dual-mode terminal has two RF circuits, which use WiMAX radio when connected to the WiMAX access network, and use WiFi radio when connecting to the WiFi access network.
  • WiFi and WiMAX use different operating frequencies.
  • the dual-mode terminal can have two working modes when switching between two access technologies, one is a dual-radio working mode, and the other is a single-radio working mode.
  • the dual-mode terminal preferentially uses the single-frequency operation mode.
  • the single-frequency operation mode means that only one radio is working at any time.
  • the radio frequency select a WiFi access point, and then associate with the access point to complete the authentication to the WiFi network, so as to complete the handover from WiMAX to WiFi.
  • the WiFi network access point is selected
  • the authentication process of the dual-mode terminal to the WiFi network takes a long time, so the continuity of the service cannot be guaranteed in the process of switching the dual-mode terminal from the WiMAX network to the WiFi network.
  • the embodiments of the present invention provide a handover method, device, and system, which can ensure continuity of services in a process of switching from a WiMAX to a WiFi network in a single radio frequency operation mode.
  • a switching method includes:
  • the WiFi network access point information around the terminal from the access point information server, determining the target access point, and passing the target access point information through the first response.
  • the message is provided to the terminal;
  • the pre-authentication process of the terminal to the WiFi network is initiated and completed.
  • a switching method includes:
  • a switching service function entity including:
  • a first receiving module configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information
  • An acquiring module configured to obtain, according to the terminal location information carried in the first request message, information about WiFi network access points around the terminal from the access point information server, determine a target access point, and obtain the target access point Information is provided to the terminal through the first response message;
  • the first pre-authentication module is configured to initiate and complete a pre-authentication process of the terminal to the WiFi network.
  • a terminal comprising:
  • a second pre-authentication module configured to perform an pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network
  • a switching module for switching from a WiMAX access network to a WiFi network.
  • a switching system comprising: a handover service function entity, configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and the slave terminal location information carried in the first request message is accessed from the terminal
  • the point information server obtains the WiFi network access point information around the terminal, determines the target access point, and provides the target access point information to the terminal through the first response message, and initiates and completes the pre-authentication of the terminal to the WiFi network. process;
  • the terminal is configured to perform a pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network, and switch from the WiMAX access network to the WiFi network.
  • the embodiment of the invention provides a handover method, device and system.
  • a terminal switches from a WiMAX access network to a WiFi network
  • the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point. Then, turn off the WiMAX radio, turn on the WiFi radio, and switch from WiMAX to WiFi.
  • the authentication process of the terminal selecting the WiFi network access point and the terminal to the WiFi network can be greatly reduced. The time required to ensure continuity of the business.
  • 1 is a schematic diagram of a network architecture of a WiMAX network interacting with a WiFi network according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a handover method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a handover method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a handover method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a handover method according to an embodiment of the present invention.
  • FIG. 6 is a block diagram of a handover service function entity device according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 8 is a block diagram of a handover system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The switching method, device and system provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
  • FIG 1 shows the network architecture of the WiMAX network interacting with the WiFi network. These include WiMAX Access Network (WiMAX ASN), WiMAX Core Network (WiMAX CSN), and WiFi Access Network (WiFi ASN).
  • WiMAX ASN WiMAX Access Network
  • WiMAX CSN WiMAX Core Network
  • WiFi ASN WiFi Access Network
  • the WiMAX access network includes functional entities such as a WiMAX base station (BS), an access network gateway (ASN_GW), an external proxy, a DHCP (Dynamic Host Configuration Protocol) proxy (or relay), and an authenticator.
  • DHCP proxy or relay address allocation server (DHCP service) in the terminal and WiMAX core network Forward an IP (Internet Protocol) address assignment message between the AAA server or the AAA server.
  • the authenticator cooperates with the AAA server in the core network to authenticate the terminal.
  • the external proxy is configured to receive the packet sent by the home agent in the WiMAX core network when the terminal roams, and forward the packet to the roaming terminal.
  • the WiMAX core network includes a home agent (HA, also known as a home agent), an access point information server (IS), an authentication server (AAA, Authent ication Authorization Account), and address allocation. Server, etc.
  • HA home agent
  • IS access point information server
  • AAA authentication server
  • the WiMAX core network includes a home agent (HA, also known as a home agent), an access point information server (IS), an authentication server (AAA, Authent ication Authorization Account), and address allocation. Server, etc.
  • HA home agent
  • IS access point information server
  • AAA Authent ication Authorization Account
  • the WiMAX core network includes a home agent (HA, also known as a home agent), an access point information server (IS), an authentication server (AAA, Authent ication Authorization Account), and address allocation. Server, etc.
  • the AAA server records and manages the user's account information, authenticates the terminal when the terminal initially enters the network or switches, and authorizes the terminal that passes the authentication
  • the core network of the visited place may provide the function of the AAA proxy for the authentication of the terminal, and forward the relevant AAA message between the roaming terminal and the AAA server at the home of the terminal.
  • the network access point information server is connected to a database that stores network topology information, including access point information in the WiMAX network and the WiFi network, such as location, power, operator, protocol version number, and associated external Network, etc.
  • the WiMAX core network usually also includes an address allocation server, which may be a DHCP server or a logical entity having a mobile IP address allocation function on the AAA server.
  • the WiFi access network is a Wireless Local Area Network (WLAN).
  • WLAN Wireless Local Area Network
  • the terminal When the terminal accesses the WiMAX core network through the WiFi access network, the terminal first connects to the access point of the WiFi access network using the WiFi protocol (Access Point). , AP), then connect to the WiMAX core network through the WiFi access network, and then reconnect to the Internet or other service network through the WiMAX network.
  • WiFi protocol Access Point
  • AP Access Point
  • the dotted line is the data path when the terminal UE connects from the WiFi access network to the WiMAX core network
  • the solid line indicates the data path of the terminal from the WiMAX access network to the WiMAX core network.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • An embodiment of the present invention provides a handover method. As shown in FIG. 2, the method includes:
  • the first request message sent by the terminal is received by the WiMAX access network, where the first request message includes terminal location information.
  • the terminal When the terminal decides to switch from the WiMAX network to the WiFi network, the terminal sends a first request message to the handover service function entity in the WiMAX core network through the currently connected WiMAX access network, where the first request message includes at least terminal location information.
  • the terminal location information includes current location information of the terminal; or location information of the terminal at least one time point, or a time interval at which the terminal obtains the two previous location information; or the current motion rate and direction of the terminal, and the radius of the current motion curve of the terminal.
  • the specific sending process is that the first request message is first sent to the current terminal.
  • the connected WiMAX base station is forwarded by the base station to the handover service function entity.
  • the handover service function entity in the WiMAX network receives the first request message sent by the terminal and includes the terminal location information.
  • the handover service function entity is located in the WiMAX CSN.
  • the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
  • the WiFi network access point information around the terminal from the access point information server, determine the target access point, and pass the target access point information to the first response.
  • the message is provided to the terminal;
  • the handover service function entity After receiving the first request message, the handover service function entity sends an access point information request message to the access point information server in the WiMAX network according to the terminal location information in the first request message, where the access point information request message includes The terminal location information requests the access point information of the WiFi network around the terminal.
  • the access point information server After receiving the access point information request message, the access point information server determines the WiFi network access point information around the location where the current terminal is located according to the terminal location information, or determines the neighboring WiFi network that the terminal is about to reach according to the motion trend of the terminal. Access points, and return these access point information to the handover service function entity through the access point information response message.
  • the switching service function entity receives the access point information response message returned by the access point information server, determines the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, A response message includes target access point information in the terminal target WiFi network.
  • the above method for obtaining a WiFi network access point around the terminal may have the following implementation manners:
  • the access point information request message of the handover service function entity to the access point information server includes the current location and historical location or motion trend information of the terminal, and the access point information server returns the information of the access point that meets the requirement.
  • the switching service function entity calculates the possible location of the terminal according to the current location and historical location or the motion trend information of the terminal, and sends the two location information to the access point information server, and the access point information server returns Access point information that covers both the current location of the terminal and the future location of the terminal.
  • the switching service function entity calculates the possible location of the terminal according to the current location and historical location or the motion trend information of the terminal, and queries the access point information server to cover the specified location by using the current location and the future location respectively. Access point information, then find the intersection.
  • the steps calculated in the foregoing process may be completed by the handover service function entity or by the access point information server.
  • the corresponding calculation step may also be performed by the terminal, and then directly carrying the information required for the access point information server to determine the peripheral access point of the terminal in the first request message.
  • the handover service function entity determines the target access point, instructing the terminal to initiate the target WiFi network
  • the pre-authentication process at which point the terminal is still connected to the WiMAX network.
  • the handover service function entity establishes a tunnel with the terminal through the WiMAX network and establishes a tunnel with the authentication server in the target WiFi network through the WiFi network.
  • the handover service function entity completes the target access in the terminal-to-target WiFi network by using the established tunnel between the terminal and the tunnel with the authentication server. Pre-certification of points.
  • the terminal When the terminal performs pre-authentication to the WiFi network through the WiMAX network, the terminal is still connected to the WiMAX access network, but when the terminal performs radio frequency switching after completing the pre-authentication to the WiFi network, the terminal will be in a period of time with WiMAX, WiFi.
  • the two networks are not connected.
  • the handover service function entity needs to send a keep connection request to the home agent in the WiMAX network.
  • the home agent After receiving the keep-alive request, the home agent performs related processing on the current terminal through the WiMAX network, including: marking that the connection is being switched, and also buffering the data for the connection, so that the cached data is completed after the handover is completed. Send to a new destination.
  • the home agent returns a keep-alive response message to the handover service function entity, indicating acceptance of the connection request.
  • the embodiment of the invention further provides a switching method. As shown in FIG. 3, the method includes:
  • the terminal Before the pre-authentication process, the terminal further sends a first request message to the WiMAX access network, where the first request message includes terminal location information; and then the terminal receives the first response message returned by the WiMAX access network, where the first The response message includes target access point information in the terminal target WiFi network.
  • the terminal may use the target access point included in the first response message as the target access point of the handover, and use the authentication server in the WiMAX core network to complete the pre-authentication process to the access point, or may select the access point by itself.
  • the terminal When the terminal is ready to switch from the WiMAX network to the WiFi network, the terminal turns off the WiMAX radio and turns on the WiFi radio to switch from the WiMAX access network to the WiFi network.
  • the embodiment of the present invention provides a handover method.
  • a terminal switches from a WiMAX access network to a WiFi network
  • the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point, and then closes.
  • WiMAX radio turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process. To ensure continuity of business.
  • Embodiment 2 An embodiment of the present invention provides a handover method. As shown in FIG. 4, the method includes:
  • the first request message that is sent by the terminal and includes the location information of the terminal.
  • the terminal When the terminal decides to switch from the WiMAX network to the WiFi network, the terminal sends a first request message to the handover service function entity in the WiMAX core network through the currently connected WiMAX access network, where the first request message includes at least terminal location information.
  • the terminal location information includes current location information of the terminal; or location information of the terminal at least one time point, or a time interval at which the terminal obtains two previous and second location information; or the current motion rate and direction of the terminal, and the current motion curve of the terminal The radius.
  • the specific sending process is that the first request message is first sent to the WiMAX base station to which the terminal is currently connected, and is forwarded by the base station to the handover service function entity.
  • the handover service function entity in the WiMAX network receives the first request message sent by the terminal and includes the current location information of the terminal.
  • the handover service function entity is located in the WiMAX CSN.
  • the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
  • the handover service function entity receives the first request message, according to the terminal location information in the first request message
  • the access point information server in the WiMAX network sends an access point information request message, where the access point information request message includes terminal location information, and requests access point information of the WiFi network around the terminal.
  • the access point information server After receiving the access point information request message, the access point information server determines the WiFi network access point information around the location where the current terminal is located according to the terminal location information, or determines the surrounding WiFi network that the terminal is about to reach according to the motion trend of the terminal. Access points, and return these access point information to the handover service function entity through the access point information response message. The handover service function entity receives the access point information response message returned by the access point information server.
  • the above method for obtaining a WiFi network access point around the terminal may have the following implementation manners:
  • the access point information request message of the handover service function entity to the access point information server includes the current location and historical location or motion trend information of the terminal, and the access point information server returns the information of the access point that meets the requirement.
  • the switching service function entity calculates the possible location of the terminal according to the current location and historical location or the motion trend information of the terminal, and sends the two location information to the access point information server, and the access point information server returns Access point information that covers both the current location of the terminal and the future location of the terminal.
  • the switching service function entity calculates according to the current location and historical location or motion trend information of the terminal.
  • the next possible location of the terminal is used to query the access point information server for the access point information covering the specified location with the current location and the future location, and then find the intersection.
  • the steps calculated in the foregoing process may be completed by the handover service function entity or by the access point information server.
  • the corresponding calculation step may also be performed by the terminal, and then directly carrying the information required for the access point information server to determine the peripheral access point of the terminal in the first request message.
  • the handover service function entity After receiving the access point information response message, the handover service function entity determines that the current terminal switches the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, the first response
  • the message includes target access point information in the terminal target WiFi network.
  • the pre-authentication process is initiated to the peripheral target WiFi network, and the terminal is still connected to the WiMAX network.
  • the terminal needs to obtain the handover target.
  • a second message needs to be sent to the handover function serving entity for requesting handover, and the second destination message for requesting handover carries the handover target access point information selected by the terminal, and the handover function service entity
  • sending a second response message to the terminal and including an indication of whether to agree to the handover, if the handover service function entity initiates the pre-emption of the terminal to the target access point Certification process.
  • the handover service function entity After determining the target access point information in the current terminal handover target WiFi network, the handover service function entity establishes a tunnel with the terminal through the WiMAX network, and establishes a tunnel with the authenticator in the target WiFi network through the WiFi network. .
  • the handover service function entity performs, by using the tunnel, pre-authentication of the target access point in the terminal to the target WiFi network; before the terminal switches from the WiMAX access network access network to the WiFi network, the handover service function entity utilizes the established The tunnel between the terminals and the tunnel with the authenticator completes the pre-authentication of the target access point in the terminal-to-target WiFi network.
  • the terminal When the terminal performs pre-authentication to the WiFi network through the WiMAX network, the terminal is still connected to the WiMAX network access network, but when the terminal performs radio frequency switching after completing the pre-authentication to the WiFi network, the terminal will have a period of time.
  • the handover service function entity In the state of being disconnected from both WiMAX and WiFi networks, in order to keep the existing services of the terminal uninterrupted, the handover service function entity needs to send a keep connection request to the home agent in the WiMAX network.
  • the home agent After receiving the keep-alive request, the home agent performs related processing on the service performed by the current terminal through the WiMAX network, including: marking the connection. Switching, you can also cache data for this connection to send the cached data to the new destination after the switch is complete.
  • the home agent returns a keep-alive response message to the handover service function entity, indicating acceptance of the connection request.
  • the terminal After the terminal switches from the WiMAX network to the WiFi network, the terminal sends a handover end message to the handover service function entity through the WiFi network, indicating that the handover of the terminal from the WiMAX network to the WiFi network is completed. After the handover service function entity receives the handover end message, the terminal may The WiMAX access network connected before the terminal handover sends a resource release message to release the resources related to the terminal. This process has been involved in the prior art and will not be described here.
  • An embodiment of the present invention provides a handover method. As shown in FIG. 5, the method includes:
  • the WiMAX access network sends a first request message to the WiMAX access network, where the first request message includes terminal location information; the terminal location information includes current location information of the terminal; or location information of the terminal at least one time point. Or the time interval at which the terminal obtains the two pieces of position information before or after; or the current movement rate and direction of the terminal, and the radius of the current motion curve of the terminal.
  • the specific sending process is that the first request message is first sent to the WiMAX base station to which the terminal is currently connected, and is forwarded by the base station to the handover service function entity.
  • the handover service function entity in the WiMAX network receives the first request message sent by the terminal and includes the current location information of the terminal.
  • the switching service function entity receives the first request message, and sends an access point information request message including terminal location information to the access point information server in the WiMAX network according to the terminal location information in the first request message, requesting to obtain the terminal periphery.
  • Access point information for WiFi networks The access point information server determines the WiFi network access point information around the location where the current terminal is located according to the terminal location information, or determines the access point of the surrounding WiFi network that the terminal is about to reach according to the motion trend of the terminal, and connects these access points.
  • the point information is returned to the handover service function entity through the access point information response message.
  • the handover service function entity After receiving the access point information response message, the handover service function entity determines that the current terminal switches the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, the first response
  • the message includes the target access point in the terminal target WiFi network. Information.
  • the terminal may use the target access point in the first response message as the target access point of the handover, or may select another access point, send a second request message to the handover service function entity, and carry the terminal information in the second request message. Selected target access point information.
  • the handover service function entity then initiates a pre-authentication process to the target access point.
  • the pre-authentication process to the target access point is completed using the authentication server in the WiMAX core network.
  • the terminal After the terminal completes the pre-authentication process to the access point in the surrounding WiFi network through the current WiMAX network, the terminal turns off the WiMAX radio unit and turns on the WiFi radio unit. If technically allowed, the terminal can turn on the WiFi radio in advance to receive only without transmitting, so that the access point of the WiFi network can be discovered in advance without disturbing the communication on the WiMAX radio, thereby speeding up the handover process.
  • the terminal can passively scan the WiFi access point.
  • the so-called passive scanning means that the terminal does not send a message to the outside, but passively receives the beacon frame periodically sent by the WiFi access point, and can receive the beacon.
  • the frame indicates that there is a WiFi access point nearby, and can obtain some necessary information from the beacon frame, such as service network information that can be accessed through the access point.
  • the terminal turns off the WiMAX radio and turns off the WiMAX radio, the terminal can also use the active scanning method to find the WiFi access point.
  • the so-called active scanning means that the terminal actively sends the probe request frame and carries the relevant information in the probe request frame.
  • the WiFi access point After receiving the probe request frame, the WiFi access point sends a probe response frame to the terminal if it determines that it meets the filter condition in the probe request frame.
  • the terminal determines the presence of the WiFi access point by receiving the probe response frame, and obtains the capability of the WiFi access point, the information of the accessible service network, and the like from the probe response frame.
  • the terminal combines the access point information obtained from the handover response message, and selects an access point from the scanned WiFi access point that can access the currently used WiMAX core network for subsequent connection work.
  • the specific process of the terminal scanning the access point and selecting the access point is described in the IEEE 802.11 basic protocol and the 802.llu supplementary protocol, which are not described in detail herein.
  • the terminal After selecting the determined AP, the terminal associates with the AP, and initiates the authentication process to the WiFi network after the association is completed.
  • the authentication process is specified in the 802. lx protocol and is referenced in the 802.11 protocol.
  • the terminal provides information of its identity;
  • the authenticator in the WiFi network sends an authentication request message to the terminal requesting the identification information of the terminal.
  • the identifier information of the terminal is returned to the authenticator, and the identifier information is forwarded by the authenticator to an authentication server in a global microwave interconnection access core network.
  • the terminal returns the identification information of the terminal to the authenticator.
  • the authenticator forwards the identification information to the authentication server in the WiMAX core network, that is, the AAA server.
  • the AAA server checks whether the identity information already exists, that is, whether the terminal has been registered. Because the terminal is connected to the WiMAX core network through the WiMAX access network, the AAA server already has the identification information of the terminal, and then the AAA server verifies the authenticity of the terminal according to the 802. lx protocol, and the authenticator is in the AAA server and the terminal.
  • the authentication message is forwarded until the authentication is completed.
  • the authenticator When the authentication is completed, the authenticator negotiates a pairwise temporary key for the session with the terminal, or the terminal directly interacts with an authentication server in the WiMAX core network to generate a paired temporary key for the session. After the terminal switches to the WiFi network, the key can be used to protect the communication between the terminal and the access point.
  • the WiFi access network has a DHCP proxy or DHCP relay (re 1 ay) function that forwards DHCP messages to an IP (Network Protocol) address allocation server in the WiMAX network.
  • the DHCP relay function simply forwards DHCP messages between the terminal and the address assignment server.
  • the IP address allocation server in the WiMAX core network should use a DHCP server.
  • the DHCP proxy can also terminate the DHCP message and use other address allocation protocols, such as the Mobile IP protocol, to request an IP address from the AAA server in the WiMAX network.
  • the DHCP proxy is called a DHCP proxy.
  • the terminal can obtain an IP address through the WiFi network using only the DHCP protocol.
  • the terminal can also directly use the mobile IP protocol.
  • the WiFi access network has an external proxy for receiving the message that the terminal requests the network address.
  • the network address actually assigned to the terminal during the above address allocation process includes the home address and the care-of address of the terminal.
  • the home address is generally unchanged, and the care-of address is sent directly to the terminal when the terminal uses the mobile IP protocol, which is also the address used by the terminal.
  • the care-of address is only recorded on the access network side, and is not directly sent. To the terminal, the terminal does not know the existence of this address.
  • the DHCP protocol and mobile IP protocol please refer to WiMAX existing Specifications, not described in detail here.
  • the WiFi network can also assign an IP address to the terminal in other ways. For example, the WiFi network can assign a private network address to the terminal, and then obtain a public network address from the WiMAX core network or use only the external public network. The address is then NAT/NAPT (Network Address and Port Translation) conversion for messages from the terminal or to the terminal.
  • NAT/NAPT Network Address and Port Translation
  • the address assignment entity in the WiFi access network that is, the DHCP proxy or the mobile IP foreign proxy, after obtaining the new care-of address assigned to the terminal, passes the new care-of address through the address binding update message.
  • the address binding update message may be sent by the DHCP proxy to the core router in the WiMAX core network.
  • the address binding update message includes the terminal's new globally routable IP address, which should be addressed by the WiMAX core router.
  • the message sent to the terminal is sent to the new IP address. In this case, the communication peer needs to know the new IP address of the terminal.
  • the process of sending an address binding update message to a home agent or WiMAX core router by a DHCP proxy or foreign agent in the WiFi access network may occur during the address assignment process or after the address assignment is completed.
  • the terminal In the last step of address allocation, if the terminal uses the DHCP protocol, the terminal will receive a DHCP response message, or when the terminal uses the mobile IP protocol, the terminal will receive a mobile IP response message, and the terminal receives the above message. After that, it indicates that the address allocation process ends.
  • the terminal sends a handover end message to the handover service function entity in the WiMAX core network through the WiFi access network. At this point, the handover process of the terminal from the WiAMX network to the WiFi network is completed.
  • the handover service function entity may send a resource release message to the WiMAX access network to which the terminal is originally attached to release resources related to the terminal.
  • the terminal completes the process of switching from the WiMAX access network to the WiFi network, and the service is not interrupted during the handover process.
  • the terminal may switch back.
  • the terminal To the WiMAX access network, because the resources related to the terminal in the WiMAX access network are still reserved and are not released, the terminal only needs to send a revocation switching message to the handover service function entity, indicating that the handover process is cancelled, and then The handover service function entity sends a resume connection message to the home agent or core router to restore the previous connection, and the terminal can continue to use the service through the WiMAX access network.
  • the embodiment of the present invention provides a handover method. When a terminal switches from a WiMAX access network to a WiFi network, the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point, and then closes.
  • WiMAX radio turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process. To ensure continuity of business.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the embodiment of the present invention provides a handover service function entity.
  • the handover service function entity includes a first receiving module 601, an obtaining module 602, and a first pre-authentication module 603.
  • the first receiving module 601 is configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and the acquiring module 602 is configured to be used according to the first request message.
  • the terminal location information obtaining the WiFi network access point information of the terminal from the access point information server, determining the target access point, and providing the target access point information to the terminal by using the first response message;
  • the first pre-authentication module 603 is used to initiate and complete a pre-authentication process of the terminal to a WiFi network.
  • the handover service function entity further includes an indication module 604 for transmitting a keep-alive request message to the home agent in the WiMAX core network, indicating that the current service of the terminal is maintained.
  • the handover service function entity is located in the WiMAX CSN.
  • the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
  • the embodiment of the present invention provides a terminal. As shown in FIG. 7, the terminal includes a second pre-authentication module 701 and a handover module 702.
  • the second pre-authentication module 701 is configured to complete the pre-authentication process to the access point in the peripheral WiFi network by using the authentication server in the WiMAX core network; the handover module 702 is configured to switch from the WiMAX access network to the WiFi network.
  • the terminal further includes a first sending module 703 and a second receiving module 704.
  • the first sending module 703 is configured to send a first request message to the WiMAX access network, where the first request message includes terminal location information
  • the second receiving module 704 is configured to receive the first response message returned by the WiMAX access network.
  • the first response message includes target access point information in the terminal target WiFi network.
  • the second pre-authentication module 701 can use the target access point in the first response message as the target access point for handover, and complete the pre-authentication process to the target access point by using the authentication server in the WiMAX core network.
  • the handover template 702 includes an authentication submodule 705, an acquisition submodule 706, and a second transmission submodule 707.
  • the authentication submodule 705 is configured to be associated with the WiFi network access point and authenticated;
  • the obtaining submodule 706 For obtaining a network address by using a WiFi network, where the network address includes a home address and a care-of address;
  • the second sending sub-module 707 is configured to send a handover end message to the handover service function entity in the WiMAX core network, indicating that the WiMAX is The access network switches to the WiFi network.
  • the authentication sub-module 705 includes an association unit 708, a receiving unit 709, and a sending unit 710.
  • the association unit 708 is configured to be associated with the selected WiFi network access point; the receiving unit 709 is configured to receive
  • An authentication request message sent by the authenticator in the WiFi network the authentication request message requesting the identification information of the terminal; the sending unit 710 is configured to return the identifier information of the terminal to the authenticator, and the identifier is used by the authenticator
  • the identification information is forwarded to an authentication server in the WiMAX core network, the authenticator negotiates a pairwise temporary key for the session with the terminal, or the terminal directly interacts with an authentication server in the WiMAX core network, and is generated for The paired temporary key for the session.
  • the embodiment of the invention provides a handover service function entity and a terminal.
  • the terminal switches from the WiMAX access network to the WiFi network
  • the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point. Then, turn off the WiMAX radio, turn on the WiFi radio, and switch from WiMAX to WiFi.
  • the authentication process of the terminal selecting the WiFi network access point and the terminal to the WiFi network can be greatly reduced. The time required to ensure continuity of the business.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the embodiment of the present invention provides a handover system. As shown in FIG. 8, the system includes a handover service function entity 81 and a terminal 82.
  • the switching service function entity 81 is located in the WiMAX core network, and is configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and is carried according to the first request message.
  • the terminal location information obtaining the WiFi network access point information around the terminal from the access point information server, determining the target access point, and providing the target access point information to the terminal by using the first response message, initiating and completing the The pre-authentication process of the terminal to the WiFi network;
  • the terminal 82 is configured to complete the pre-authentication process to the access point in the surrounding WiFi network by using the authentication server in the WiMAX core network, turn off the WiMAX radio frequency, and turn on the WiFi network radio frequency, from the WiMAX
  • the access network switches to the WiFi network.
  • the handover service function entity is located in the WiMAX CSN.
  • the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
  • the terminal is further configured to send a first request message to the WiMAX access network, and receive a first response message returned by the WiMAX access network.
  • the system further includes an access point information server 83, and the access point information server 83 is located in the WiMAX core network, and is configured to receive an access point information request message that is sent by the handover service function entity and includes current location information of the terminal, according to the The location information determines a WiFi network access point around the terminal, and returns an access point information response message to the handover service function entity.
  • the system also includes a home agent 84 in the WiMAX core network for receiving a keep-alive request sent by the handover service function entity and returning to the handover service function entity a keep-alive response message indicating acceptance of the connection request.
  • the system further includes an authenticator 85 in the WiFi network, configured to send an authentication request message to the terminal, receive the identification information returned by the terminal, and forward the identification information to the authentication in the global microwave interconnection access core network.
  • the server negotiates a paired temporary key for the session with the terminal.
  • the system also includes an authentication server 86 in the WiMAX core network for receiving identification information sent by the authenticator, interacting with the terminal, and generating a paired temporary key for the session.
  • the handover service function entity 81 is further configured to send a keep connection request to the home agent in the WiMAX core network, to indicate that the current connection of the terminal is maintained, and to receive a keep connection response message returned by the home agent indicating acceptance of the connection request.
  • the terminal sends a first request message to the handover service function entity.
  • the terminal When the terminal decides to switch from the WiMAX network to the WiFi network, the terminal sends a first request message to the handover service function entity in the WiMAX core network through the currently connected WiMAX access network, where the first request message includes at least terminal location information.
  • the specific sending process is that the first request message is first sent to the WiMAX base station to which the terminal is currently connected, and is forwarded by the base station to the handover service function entity.
  • the handover service function entity sends an access point information request message to the access point information server.
  • the handover service function entity receives the first request message, and sends the access point information in the WiMAX network according to the terminal location information in the first request message.
  • the server sends an access point information request message, where the access point information request message includes terminal location information, and requests access point information of the WiFi network around the terminal.
  • the access point information server returns an access point information response message to the handover service function entity. After receiving the access point information request message, the access point information server determines, according to the terminal location information, a WiFi network connection around the current terminal location. Incoming point information, or determining the access point of the surrounding WiFi network that the terminal is about to reach according to the trend of the terminal, and returning the access point information to the switching service function entity through the access point information response message. 904.
  • the handover service function entity sends a first response message that includes the target access point information in the WiFi network of the terminal destination to the terminal, and instructs the terminal to initiate a pre-authentication process to the target WiFi network.
  • the handover service function entity After receiving the access point information response message, the handover service function entity determines that the current terminal switches the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, the first response
  • the message includes target access point information in the terminal target WiFi network.
  • the pre-authentication process is initiated to the peripheral target WiFi network, and the terminal is still connected to the WiMAX network.
  • the terminal needs to obtain the handover target.
  • a second message needs to be sent to the handover function serving entity for requesting handover, and the second destination message for requesting handover carries the handover target access point information selected by the terminal, and the handover function service entity
  • sending a second response message to the terminal and including an indication of whether to agree to the handover, if the handover service function entity initiates the pre-emption of the terminal to the target access point Certification process.
  • the terminal completes the pre-authentication process to the WiFi network through the WiMAX network.
  • the handover service function entity After determining the target access point information in the current terminal handover target WiFi network, the handover service function entity establishes a tunnel with the terminal through the WiMAX network, and establishes a tunnel with the authenticator in the target WiFi network through the WiFi network. . The handover service function entity uses the established tunnel between the terminal and the tunnel with the authenticator to complete the pre-authentication of the terminal to the access point in the surrounding WiFi network.
  • the handover service function entity sends a keep connection request message to the home agent.
  • the terminal When the terminal performs pre-authentication to the WiFi network through the WiMAX network, the terminal is still connected to the WiMAX network access network, but when the terminal performs radio frequency switching after completing the pre-authentication to the WiFi network, the terminal will be in contact with WiMAX for a period of time.
  • the two networks are not connected to each other.
  • the handover service function entity In order to keep the existing services of the terminal uninterrupted, the handover service function entity needs to send a keep connection request to the home agent in the WiMAX network.
  • the home agent returns a keep-alive response message to the handover service function entity.
  • the home agent After receiving the keep-alive request, the home agent performs related processing on the current terminal through the WiMAX network, including: marking that the connection is being switched, and also buffering the data for the connection, so that the cached data is completed after the handover is completed. Send to a new destination.
  • the home agent returns a keep-alive response message to the handover service function entity, indicating acceptance of the connection request.
  • the terminal switches the radio frequency mode.
  • the terminal After the terminal completes the pre-authentication process to the access point in the surrounding WiFi network through the current WiMAX network, Turn off the WiMAX radio unit and turn on the WiFi radio unit. If technically allowed, the terminal can open the WiFi radio in advance for receiving only and not transmitting, so that the access point of the WiFi network can be discovered in advance without causing interference to the communication on the WiMAX radio, thereby speeding up the handover process.
  • the terminal scans the surrounding WiFi network access point, and selects an access point that can support the current service of the terminal from the possible access to the WiFi network access point, and associates with the access point information obtained from the access point information server.
  • the selected WiFi network access point initiates the authentication process to the WiFi network;
  • the terminal can passively scan the WiFi access point.
  • the so-called passive scanning means that the terminal does not send a message to the outside, but passively receives the beacon frame periodically sent by the WiFi access point, and can receive the beacon.
  • the frame indicates that there is a WiFi access point nearby, and can obtain some necessary information from the beacon frame, such as service network information that can be accessed through the access point.
  • the terminal turns off the WiMAX radio and turns off the WiMAX radio, the terminal can also use the active scanning method to find the WiFi access point.
  • the so-called active scanning means that the terminal actively sends the probe request frame and carries the relevant information in the probe request frame.
  • the WiFi access point After receiving the probe request frame, the WiFi access point sends a probe response frame to the terminal if it determines that it meets the filter condition in the probe request frame.
  • the terminal determines the presence of the WiFi access point by receiving the probe response frame, and obtains the capability of the WiFi access point, the information of the accessible service network, and the like from the probe response frame.
  • the terminal combines the access point information obtained from the handover response message, and selects an access point from the scanned WiFi access point that can access the currently used WiMAX core network for subsequent connection work.
  • the specific process of the terminal scanning the access point and selecting the access point is described in the IEEE 802.11 basic protocol and the 802. l lu supplemental protocol, which are not described in detail herein.
  • the terminal After selecting the determined AP, the terminal associates with the AP, and initiates the authentication process to the WiFi network after the association is completed.
  • the terminal completes an authentication process to the WiFi network.
  • the authenticator in the WiFi network sends an authentication request message to the terminal requesting the identification information of the terminal.
  • the terminal returns the identification information of the terminal to the authenticator.
  • the authenticator forwards the identification information to the authentication server in the WiMAX core network, that is, the AAA server.
  • the AAA server checks whether the identity information already exists, that is, whether the terminal has been registered. Because the terminal is connected to the WiMAX core network through the WiMAX access network, the AAA server already has the identification information of the terminal, and then the AAA server verifies the authenticity of the terminal according to the 802. lx protocol, and the authenticator is in the AAA server and the terminal. The authentication message is forwarded until the authentication is completed.
  • the authenticator negotiates a pairwise temporary key for the session with the terminal, or the terminal directly interacts with an authentication server in the WiMAX core network to generate a paired temporary key for the session.
  • the terminal can formally access the WiFi network and protect the terminal by using the session key derived from the master key between the paired devices. Communication with the access point. These procedures are described in detail in the IEEE 802.11 protocol and will not be repeated here. 911.
  • the terminal obtains a network address through a WiFi network.
  • the WiFi access network has a DHCP proxy or DHCP relay (re 1 ay) function that forwards DHCP messages to an IP (Network Protocol) address allocation server in the WiMAX network.
  • the DHCP relay function simply forwards DHCP messages between the terminal and the address assignment server.
  • the IP address allocation server in the WiMAX core network should use a DHCP server.
  • the DHCP proxy can also terminate the DHCP message and use other address allocation protocols, such as the Mobile IP protocol, to request an IP address from the AAA server in the WiMAX network.
  • the DHCP proxy is called a DHCP proxy.
  • the terminal can obtain an IP address through the WiFi network using only the DHCP protocol.
  • the terminal can also directly use the mobile IP protocol.
  • the WiFi access network has an external proxy for receiving the message that the terminal requests the network address.
  • the address actually assigned to the terminal in the above address allocation process includes the home address (H0A) and the care-of address (C0A) of the terminal, and the home address is generally unchanged, and the care-of address is directly sent to the terminal when the terminal uses the mobile IP protocol, which is also the terminal. Address used; When the terminal uses the DHCP protocol, the care-of address is only recorded on the access network side, and is not directly sent to the terminal. The terminal does not know the existence of this address. For the DHCP protocol and the mobile IP protocol, refer to the existing WiMAX specifications, which will not be described in detail here.
  • the WiFi network can also assign an IP address to the terminal in other ways. For example, the WiFi network can assign a private network address to the terminal, and then obtain a public network address from the WiMAX core network or use only the external public network. The address is then NAT/NAPT (Network Address and Port Translation) conversion for messages from the terminal or to the terminal.
  • NAT/NAPT Network Address and Port Translation
  • the address assignment entity in the WiFi access network that is, the DHCP proxy or the mobile IP foreign proxy, after obtaining the new care-of address assigned to the terminal, passes the new care-of address through the address binding update message.
  • the address binding update message may be sent by the DHCP proxy to the core router in the WiMAX core network.
  • the address binding update message includes the terminal's new globally routable IP address, which should be addressed by the WiMAX core router.
  • the message sent to the terminal is sent to the new IP address. In this case, the communication peer needs to know the new IP address of the terminal.
  • the DHCP proxy or external proxy in the WiFi access network sends address bindings to the home agent or WiMAX core router.
  • the process of updating the message can occur during the address assignment process or after the address assignment is completed.
  • the terminal In the final step of address allocation, if the terminal uses the DHCP protocol, the terminal will receive a DHCP response. Answer message, or when the terminal uses the mobile IP protocol, the terminal will receive a mobile IP response message, and after the terminal receives the above message, it indicates that the address allocation process ends.
  • the terminal sends a handover end message to the handover service function entity.
  • the terminal sends a handover end message to the handover service function entity in the WiMAX core network through the WiFi access network. At this point, the handover process of the terminal from the WIAMX network to the WIFI network is completed.
  • the handover service function entity may be necessary to send a resource release indication message to the original WiMAX access network used by the terminal to release resources related to the terminal.
  • the terminal completes the handover process from the WiMAX network to the WiFi network, and can maintain the continuity of the service during the switching process.
  • the exception is if, in step 909, the terminal does not scan any available WiFi network access points, or in step 910, the authentication of the terminal with the AAA server fails, or in step 911, the address allocation process fails, the terminal can return again.
  • the resources related to the terminal in the original WiMAX network are still reserved, and the terminal only needs to send the revocation handover message to the handover service function entity, indicating that the handover process is cancelled, and then the handover service function entity sends the handover to the home agent. By resuming the connection message to restore the previous connection, the terminal can continue to use the service over the WiMAX access network.
  • the embodiment of the present invention provides a handover system.
  • a terminal switches from a WiMAX access network to a WiFi network
  • the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point, and then closes.
  • WiMAX radio turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process.
  • WiMAX radio turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process.

Abstract

Embodiments of the present invention discloses a handoff method, device and system belonging to the communication field, which can guarantee the continuity of the service in the process of handing off a dual-mode terminal from a Worldwide Interoperability for Microwave Access (WiMAX) network to a Wireless Fidelity (WiFi) network under the operation mode of a single radio frequency. The technical solution provided by the embodiments of the present invention is as follows. The handoff method includes: receiving a first request message transmitted by the terminal through a WiMAX access network; acquiring information of WiFi network access points (APs) near the terminal from an AP information server according to the terminal position information carried in the said first request message; determining a target AP and providing said target AP information to the terminal through a first response message; starting and completing the pre-authentication process from the terminal to the WiFi network. The technical solution provided by the embodiments of the present invention applies to the wireless communication system.

Description

切换方法、 设备和系统 本申请要求于 2009年 5月 7日提交中国专利局、 申请号为 200910136555. 8、 发明 名称为 "切换方法、 设备和系统"的中国专利申请的优先权, 其全部内容通过引用结合 在本申请中。 技术领域 本发明涉及通信领域, 尤其涉及一种切换方法、 设备和系统。 背景技术  The present invention claims the priority of the Chinese Patent Application entitled "Switching Method, Equipment and System", filed on May 7, 2009, the Chinese Patent Office, Application No. 200910136555. This is incorporated herein by reference. The present invention relates to the field of communications, and in particular, to a handover method, device, and system. Background technique
WiFi (Wireless Fidel ity, 无线保真) 是由 IEEE标准组织定义的一种无线局域网 技术, 可用于无线宽带接入。 目前全球的众多网络运营商已布设了大量的 WiFi热点, 用于提供无线上网月艮务。 WiMAX (Worldwide Interoperabi l ity for Microwave Access , 全球微波互联接入)也是由 IEEE标准组织定义的一种无线宽带接入技术, 同时也是第 三代无线通信技术国际标准之一,全球有众多的运营商使用 WiMAX技术建设无线宽带接 入网络。 WiFi和 WiMAX都是重要的无线宽带接入技术, 但又各有各的优缺点。 WiFi的 布网速度快、 成本低, 提供的带宽高, 使用频谱无需授权, 但覆盖范围小。 WiMAX的覆 盖范围大, 但在大的覆盖范围内会有较多的用户, 这样平均用户带宽就会下降。 WiFi (Wireless Fidelity) is a wireless LAN technology defined by the IEEE standards organization for wireless broadband access. At present, many network operators around the world have deployed a large number of WiFi hotspots to provide wireless Internet access. WiMAX (Worldwide Interoperabiity for Microwave Access) is also a wireless broadband access technology defined by the IEEE standards organization. It is also one of the third international standards for wireless communication technology. There are many operators around the world. Use WiMAX technology to build a wireless broadband access network. Both WiFi and WiMAX are important wireless broadband access technologies, but each has its own advantages and disadvantages. WiFi has a fast deployment speed, low cost, high bandwidth, no need for authorization to use the spectrum, but a small coverage. WiMAX has a large coverage range, but there will be more users in a large coverage area, so that the average user bandwidth will decrease.
可以将 WiFi作为 WiMAX的补充, 在室内 WiMAX信号不强的时候或者人口稠密的地 点使用 WiFi接入点, 多模终端通过 WiFi网络接入到 WiMAX的核心网络, 在其它情况下 多模终端直接接入 WiMAX网络。 这样多模终端在 WiMAX和 WiFi两个接入网络之间进行 切换时, 要保证业务的连续性。 所谓保证业务连续性, 就是在切换接入点(例如不同的 WiMAX基站之间, 或 WiMAX基站和 WiFi接入点之间)时, 切换前后多模终端与业务网络 建立的连接不中断, 而且网络切换对业务过程是透明的。  WiFi can be used as a supplement to WiMAX. When the indoor WiMAX signal is not strong or the densely populated location uses the WiFi access point, the multimode terminal accesses the WiMAX core network through the WiFi network. In other cases, the multimode terminal directly connects. Into the WiMAX network. In this way, multimode terminals must ensure continuity of service when switching between WiMAX and WiFi access networks. The so-called service continuity is that when switching access points (such as between different WiMAX base stations, or between WiMAX base stations and WiFi access points), the connection between the multimode terminal and the service network before and after the handover is not interrupted, and the network Switching is transparent to business processes.
双模终端具有两个射频电路,当连接 WiMAX接入网时使用 WiMAX射频,当连接 WiFi 接入网时使用 WiFi射频, WiFi和 WiMAX使用不同的工作频率。 这种双模终端在两种接 入技术之间切换时可以有两种工作方式, 一种是双射频工作方式, 一种是单射频工作方 式。双模终端优先使用单射频工作模式, 单射频工作模式是指在任何时候只有一个射频 在工作, 当双模终端从 WiMAX接入网切换到 WiFi接入网时, 需要先关闭 WiMAX射频, 打开 WiFi射频, 选择一个 WiFi接入点, 之后关联到该接入点, 完成到 WiFi网络的认 证, 这样才能完成从 WiMAX到 WiFi的切换。 这种情况下, 由于选择 WiFi网络接入点以 及双模终端到 WiFi网络的认证过程都需要较长的时间, 所以在双模终端从 WiMAX网络 到 WiFi网络的切换过程中无法保证业务的连续性。 发明内容 The dual-mode terminal has two RF circuits, which use WiMAX radio when connected to the WiMAX access network, and use WiFi radio when connecting to the WiFi access network. WiFi and WiMAX use different operating frequencies. The dual-mode terminal can have two working modes when switching between two access technologies, one is a dual-radio working mode, and the other is a single-radio working mode. The dual-mode terminal preferentially uses the single-frequency operation mode. The single-frequency operation mode means that only one radio is working at any time. When the dual-mode terminal switches from the WiMAX access network to the WiFi access network, the WiMAX radio needs to be turned off first, and the WiFi is turned on. The radio frequency, select a WiFi access point, and then associate with the access point to complete the authentication to the WiFi network, so as to complete the handover from WiMAX to WiFi. In this case, since the WiFi network access point is selected And the authentication process of the dual-mode terminal to the WiFi network takes a long time, so the continuity of the service cannot be guaranteed in the process of switching the dual-mode terminal from the WiMAX network to the WiFi network. Summary of the invention
本发明实施例提供了一种切换方法、 设备和系统, 能够在单射频工作模式下, 双模 终端从 WiMAX切换到 WiFi网络的过程中, 保证业务的连续性。  The embodiments of the present invention provide a handover method, device, and system, which can ensure continuity of services in a process of switching from a WiMAX to a WiFi network in a single radio frequency operation mode.
为达到上述目的, 本发明的实施例采用如下技术方案:  In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
一种切换方法, 包括:  A switching method includes:
通过 WiMAX接入网接收终端发送的第一请求消息,所述第一请求消息中包含终端位 置信息;  Receiving, by the WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information;
根据所述第一请求消息中携带的终端位置信息,从接入点信息服务器获得终端周边 的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目标接入点信息通过第一响应消 息提供给终端;  Obtaining, according to the terminal location information carried in the first request message, the WiFi network access point information around the terminal from the access point information server, determining the target access point, and passing the target access point information through the first response. The message is provided to the terminal;
发起并完成所述终端到 WiFi网络的预认证过程。  The pre-authentication process of the terminal to the WiFi network is initiated and completed.
一种切换方法, 包括:  A switching method includes:
利用 WiMAX核心网中的认证服务器完成到周边 WiFi 网络中的接入点的预认证过 程;  Using the authentication server in the WiMAX core network to complete the pre-authentication process to the access point in the surrounding WiFi network;
从 WiMAX接入网切换到 WiFi网络。  Switch from WiMAX access network to WiFi network.
一种切换服务功能实体, 包括:  A switching service function entity, including:
第一接收模块, 用于通过 WiMAX接入网接收终端发送的第一请求消息, 所述第一请 求消息中包含终端位置信息;  a first receiving module, configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information;
获取模块, 用于根据所述第一请求消息中携带的终端位置信息, 从接入点信息服务 器获得终端周边的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目标接入点信息 通过第一响应消息提供给终端;;  An acquiring module, configured to obtain, according to the terminal location information carried in the first request message, information about WiFi network access points around the terminal from the access point information server, determine a target access point, and obtain the target access point Information is provided to the terminal through the first response message;
第一预认证模块, 用于发起并完成所述终端到 WiFi网络的预认证过程。  The first pre-authentication module is configured to initiate and complete a pre-authentication process of the terminal to the WiFi network.
一种终端, 包括:  A terminal, comprising:
第二预认证模块, 用于利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中 的接入点的预认证过程;  a second pre-authentication module, configured to perform an pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network;
切换模块, 用于从 WiMAX接入网切换到 WiFi网络。  A switching module for switching from a WiMAX access network to a WiFi network.
一种切换系统, 包括: 切换服务功能实体, 用于通过 WiMAX接入网接收终端发送的第一请求消息, 所述第 一请求消息中包含终端位置信息, 根据所述第一请求消息中携带的终端位置信息, 从接 入点信息服务器获得终端周边的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目 标接入点信息通过第一响应消息提供给终端, 发起并完成所述终端到 WiFi 网络的预认 证过程; A switching system comprising: a handover service function entity, configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and the slave terminal location information carried in the first request message is accessed from the terminal The point information server obtains the WiFi network access point information around the terminal, determines the target access point, and provides the target access point information to the terminal through the first response message, and initiates and completes the pre-authentication of the terminal to the WiFi network. process;
终端, 用于利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中的接入点的 预认证过程, 从 WiMAX接入网切换到 WiFi网络。  The terminal is configured to perform a pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network, and switch from the WiMAX access network to the WiFi network.
本发明实施例提供了一种切换方法、 设备和系统, 在终端从 WiMAX接入网切换 到 WiFi网络时, 终端先利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络接入点的 预认证过程, 之后再关闭 WiMAX射频, 打开 WiFi射频, 进行从 WiMAX到 WiFi的切换, 通过 到周边 WiFi网络接入点的预认证过程,可以大大减少终端选择 WiFi网络接入点以及终端 到 WiFi网络的认证过程所需要的时间, 从而保证业务的连续性。 附图说明 图 1为本发明实施例所述 WiMAX网络与 WiFi网络交互的网络架构示意图; 图 2为本发明实施例所述切换方法流程图;  The embodiment of the invention provides a handover method, device and system. When a terminal switches from a WiMAX access network to a WiFi network, the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point. Then, turn off the WiMAX radio, turn on the WiFi radio, and switch from WiMAX to WiFi. Through the pre-authentication process to the surrounding WiFi network access point, the authentication process of the terminal selecting the WiFi network access point and the terminal to the WiFi network can be greatly reduced. The time required to ensure continuity of the business. 1 is a schematic diagram of a network architecture of a WiMAX network interacting with a WiFi network according to an embodiment of the present invention; FIG. 2 is a flowchart of a handover method according to an embodiment of the present invention;
图 3为本发明实施例所述切换方法流程图;  FIG. 3 is a flowchart of a handover method according to an embodiment of the present invention;
图 4为本发明实施例所述切换方法流程图;  4 is a flowchart of a handover method according to an embodiment of the present invention;
图 5为本发明实施例所述切换方法流程图;  FIG. 5 is a flowchart of a handover method according to an embodiment of the present invention;
图 6为本发明实施例所述切换服务功能实体装置框图;  6 is a block diagram of a handover service function entity device according to an embodiment of the present invention;
图 7为本发明实施例所述终端装置框图;  FIG. 7 is a block diagram of a terminal device according to an embodiment of the present invention;
图 8为本发明实施例所述切换系统框图。 具体实施方式 下面结合附图对本发明实施例提供的切换方法、 设备和系统进行详细描述。  FIG. 8 is a block diagram of a handover system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The switching method, device and system provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
如图 1所示为 WiMAX网络与 WiFi 网络交互的网络架构。 其中包括 WiMAX接入网 (WiMAX ASN)、 WiMAX核心网 (WiMAX CSN)、 WiFi接入网 (WiFi ASN) 三个部分。  Figure 1 shows the network architecture of the WiMAX network interacting with the WiFi network. These include WiMAX Access Network (WiMAX ASN), WiMAX Core Network (WiMAX CSN), and WiFi Access Network (WiFi ASN).
WiMAX接入网包含 WiMAX基站(BS)、接入网网关( ASN_GW)、外部代理、 DHCP (Dynamic Host Configuration Protocol , 动态主机分配协议) 代理 (或中继)、 认证器等功能实 体。 DHCP代理 (或中继) 用于在终端和 WiMAX核心网中的地址分配服务器 (DHCP服务 器或 AAA服务器)之间转发 IP ( Internet Protocol,网络协议)地址分配消息。 认证器 在终端连接到 WiMAX网络时, 协同核心网中的 AAA服务器对终端进行认证。 外部代理用 于在终端漫游时, 接收 WiMAX核心网中的家乡代理发送的报文, 并转发到漫游的终端。 The WiMAX access network includes functional entities such as a WiMAX base station (BS), an access network gateway (ASN_GW), an external proxy, a DHCP (Dynamic Host Configuration Protocol) proxy (or relay), and an authenticator. DHCP proxy (or relay) address allocation server (DHCP service) in the terminal and WiMAX core network Forward an IP (Internet Protocol) address assignment message between the AAA server or the AAA server. When the terminal is connected to the WiMAX network, the authenticator cooperates with the AAA server in the core network to authenticate the terminal. The external proxy is configured to receive the packet sent by the home agent in the WiMAX core network when the terminal roams, and forward the packet to the roaming terminal.
WiMAX核心网中包含家乡代理 (HA, 也称为归属代理)、 接入点信息服务器 (IS)、 认证月艮务器 ( AAA, Authent icat ion Authorizat ion Account ing, 认证授权记账)、 地 址分配服务器等。 家乡代理在终端漫游时, 接收通信对方发给终端的报文, 将其转发到 漫游终端目前所在的访问网络中的外部代理, 再由外部代理转发给终端, 或者直接发给 终端。 AAA服务器记录和管理用户的帐号信息, 在终端初始入网或切换时对终端进行认 证, 并对认证通过的终端进行授权。 在漫游情况下, 终端附着到访问网络时, 访问地的 核心网络可为终端的认证提供 AAA代理的功能,在漫游终端和终端归属地的 AAA服务器 之间转发有关 AAA消息。网络接入点信息服务器与保存了网络拓扑结构信息的数据库相 连, 该数据库中包括 WiMAX网络、 WiFi网络中的接入点信息, 如位置、 功率、 所属运营 商、协议版本号、 与其关联的外部网络等。 为了为终端分配 IP地址, WiMAX核心网通常 还包括一个地址分配服务器, 这个地址分配服务器可能是一个 DHCP服务器, 也可能是 在 AAA服务器上具有移动 IP地址分配功能的一个逻辑实体。  The WiMAX core network includes a home agent (HA, also known as a home agent), an access point information server (IS), an authentication server (AAA, Authent ication Authorization Account), and address allocation. Server, etc. When the home agent roams the terminal, it receives the message sent by the communication partner to the terminal, forwards it to the external agent in the access network where the roaming terminal is currently located, and then forwards it to the terminal by the external agent, or directly to the terminal. The AAA server records and manages the user's account information, authenticates the terminal when the terminal initially enters the network or switches, and authorizes the terminal that passes the authentication. In the case of roaming, when the terminal is attached to the access network, the core network of the visited place may provide the function of the AAA proxy for the authentication of the terminal, and forward the relevant AAA message between the roaming terminal and the AAA server at the home of the terminal. The network access point information server is connected to a database that stores network topology information, including access point information in the WiMAX network and the WiFi network, such as location, power, operator, protocol version number, and associated external Network, etc. In order to assign an IP address to a terminal, the WiMAX core network usually also includes an address allocation server, which may be a DHCP server or a logical entity having a mobile IP address allocation function on the AAA server.
WiFi接入网是一个无线局域网 (Wireless Local Area Network, WLAN) , 当终端通 过 WiFi接入网接入到 WiMAX核心网时, 终端先使用 WiFi协议连接到 WiFi接入网的接 入点 (Access Point , AP), 再通过 WiFi接入网连接到 WiMAX核心网, 通过 WiMAX网络 再接入到互连网或其它业务网络。  The WiFi access network is a Wireless Local Area Network (WLAN). When the terminal accesses the WiMAX core network through the WiFi access network, the terminal first connects to the access point of the WiFi access network using the WiFi protocol (Access Point). , AP), then connect to the WiMAX core network through the WiFi access network, and then reconnect to the Internet or other service network through the WiMAX network.
如图 1所示, 虚线是终端 UE从 WiFi接入网连接到 WiMAX核心网时的数据路径, 实 线表示终端从 WiMAX接入网连接到 WiMAX核心网的数据路径。  As shown in FIG. 1, the dotted line is the data path when the terminal UE connects from the WiFi access network to the WiMAX core network, and the solid line indicates the data path of the terminal from the WiMAX access network to the WiMAX core network.
实施例一:  Embodiment 1:
本发明实施例提供了一种切换方法, 如图 2所示, 该方法包括:  An embodiment of the present invention provides a handover method. As shown in FIG. 2, the method includes:
201、 通过 WiMAX接入网接收终端发送的第一请求消息, 所述第一请求消息中包含 终端位置信息;  201. The first request message sent by the terminal is received by the WiMAX access network, where the first request message includes terminal location information.
在终端决定从 WiMAX网络切换到 WiFi网络时, 终端通过当前连接的 WiMAX接入网 向位于 WiMAX核心网中的切换服务功能实体发送第一请求消息,所述第一请求消息中至 少包含终端位置信息, 终端位置信息包括终端当前的位置信息; 或终端最近至少一个时 间点的位置信息, 或终端获得前后两个位置信息的时间间隔; 或终端当前运动速率及方 向、 终端当前运动曲线的半径。 具体发送过程为, 第一请求消息首先被发送到终端当前 连接的 WiMAX基站, 由基站向切换服务功能实体转发。 WiMAX网络中的切换服务功能实 体接收终端发送的包含所述终端位置信息的第一请求消息。 本发明实施例中, 切换服务 功能实体位于 WiMAX CSN中,在实际应用中,切换服务功能实体还可以位于 WiMAX CSN 以外的其它位置, 比如 WiAMX ASN中、 或 WiFi ASN中、 或 WiMAX ASN与 WiFi ASN之间。 When the terminal decides to switch from the WiMAX network to the WiFi network, the terminal sends a first request message to the handover service function entity in the WiMAX core network through the currently connected WiMAX access network, where the first request message includes at least terminal location information. The terminal location information includes current location information of the terminal; or location information of the terminal at least one time point, or a time interval at which the terminal obtains the two previous location information; or the current motion rate and direction of the terminal, and the radius of the current motion curve of the terminal. The specific sending process is that the first request message is first sent to the current terminal. The connected WiMAX base station is forwarded by the base station to the handover service function entity. The handover service function entity in the WiMAX network receives the first request message sent by the terminal and includes the terminal location information. In the embodiment of the present invention, the handover service function entity is located in the WiMAX CSN. In actual applications, the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
202、 根据第一请求消息中携带的终端位置信息, 从接入点信息服务器获得终端周 边的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目标接入点信息通过第一响应 消息提供给终端;  202. Obtain, according to the terminal location information carried in the first request message, the WiFi network access point information around the terminal from the access point information server, determine the target access point, and pass the target access point information to the first response. The message is provided to the terminal;
切换服务功能实体接收到第一请求消息后,根据第一请求消息中的终端位置信息向 WiMAX网络中的接入点信息服务器发送接入点信息请求消息, 所述接入点信息请求消息 中包含终端位置信息, 请求得到所述终端周边 WiFi 网络的接入点信息。 接入点信息服 务器接收到接入点信息请求消息后, 根据终端位置信息确定当前终端所处位置周边的 WiFi网络接入点信息, 或者根据终端的运动趋势, 判断出终端即将到达的周边 WiFi网 络的接入点, 并将这些接入点信息通过接入点信息响应消息返回给切换服务功能实体。 切换服务功能实体接收接入点信息服务器返回的接入点信息响应消息, 确定目标 WiFi 网络中的目标接入点, 向所述终端发送第一响应消息, 表示接受终端的切换请求, 所述 第一响应消息中包含了所述终端目标 WiFi网络中的目标接入点信息。  After receiving the first request message, the handover service function entity sends an access point information request message to the access point information server in the WiMAX network according to the terminal location information in the first request message, where the access point information request message includes The terminal location information requests the access point information of the WiFi network around the terminal. After receiving the access point information request message, the access point information server determines the WiFi network access point information around the location where the current terminal is located according to the terminal location information, or determines the neighboring WiFi network that the terminal is about to reach according to the motion trend of the terminal. Access points, and return these access point information to the handover service function entity through the access point information response message. The switching service function entity receives the access point information response message returned by the access point information server, determines the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, A response message includes target access point information in the terminal target WiFi network.
上述获知终端周边 WiFi网络接入点的方法可以有以下实现方式:  The above method for obtaining a WiFi network access point around the terminal may have the following implementation manners:
( 1 )、切换服务功能实体给接入点信息服务器的接入点信息请求消息中包含终端当 前位置和历史位置或运动趋势信息, 接入点信息服务器返回符合要求的接入点信息。  (1) The access point information request message of the handover service function entity to the access point information server includes the current location and historical location or motion trend information of the terminal, and the access point information server returns the information of the access point that meets the requirement.
(2)、 切换服务功能实体根据终端的当前位置和历史位置或运动趋势信息, 计算得 出终端下一步可能的位置, 将两个位置信息发给接入点信息服务器, 接入点信息服务器 返回既能覆盖终端当前位置又能覆盖终端将来位置的接入点信息。  (2) The switching service function entity calculates the possible location of the terminal according to the current location and historical location or the motion trend information of the terminal, and sends the two location information to the access point information server, and the access point information server returns Access point information that covers both the current location of the terminal and the future location of the terminal.
( 3)、 切换服务功能实体根据终端的当前位置和历史位置或运动趋势信息, 计算得 出终端下一步可能的位置,用当前位置和将来位置分别向接入点信息服务器查询能覆盖 指定位置的接入点信息, 然后求交集。  (3) The switching service function entity calculates the possible location of the terminal according to the current location and historical location or the motion trend information of the terminal, and queries the access point information server to cover the specified location by using the current location and the future location respectively. Access point information, then find the intersection.
需要说明的是, 上述过程中计算的步骤可以由切换服务功能实体完成, 也可以由接 入点信息服务器完成。 另外, 相应的计算步骤还可以由终端来完成, 然后在第一请求消 息中直接携带用于接入点信息服务器确定终端周边接入点所需要的信息。  It should be noted that the steps calculated in the foregoing process may be completed by the handover service function entity or by the access point information server. In addition, the corresponding calculation step may also be performed by the terminal, and then directly carrying the information required for the access point information server to determine the peripheral access point of the terminal in the first request message.
203、 发起并完成所述终端到目标 WiFi网络的预认证过程;  203. Initiate and complete a pre-authentication process of the terminal to the target WiFi network.
切换服务功能实体在确定了目标接入点之后, 指示所述终端发起到目标 WiFi 网络 的预认证过程, 此时所述终端仍与 WiMAX网络相连接。 切换服务功能实体通过 WiMAX网 络建立与终端之间的隧道,并通过 WiFi网络建立与目标 WiFi网络中的认证服务器之间 的隧道。 在所述终端从 WiMAX接入网接入网切换到 WiFi网络之前, 切换服务功能实体 利用建立的与终端之间的隧道以及与认证服务器之间的隧道完成终端到目标 WiFi 网络 中的目标接入点的预认证。 After the handover service function entity determines the target access point, instructing the terminal to initiate the target WiFi network The pre-authentication process, at which point the terminal is still connected to the WiMAX network. The handover service function entity establishes a tunnel with the terminal through the WiMAX network and establishes a tunnel with the authentication server in the target WiFi network through the WiFi network. Before the terminal switches from the WiMAX access network access network to the WiFi network, the handover service function entity completes the target access in the terminal-to-target WiFi network by using the established tunnel between the terminal and the tunnel with the authentication server. Pre-certification of points.
在终端通过 WiMAX网络进行到 WiFi网络的预认证时, 终端仍与 WiMAX接入网相连 接, 但在终端完成到 WiFi 网络的预认证后进行射频切换时, 终端将有一段时间处于与 WiMAX, WiFi两个网络都不连接状态, 这时为了保持终端现有业务不中断, 切换服务功 能实体需要向 WiMAX网络中的家乡代理发送保持连接请求。家乡代理在接收到保持连接 请求之后, 对当前终端通过 WiMAX网络进行的业务做出相关处理, 包括: 标记该连接正 在切换, 还可以对此连接进行数据缓存, 以便在切换完成后将缓存的数据发送到新的目 的地。 家乡代理向切换服务功能实体返回保持连接响应消息, 指示接受所述连接请求。  When the terminal performs pre-authentication to the WiFi network through the WiMAX network, the terminal is still connected to the WiMAX access network, but when the terminal performs radio frequency switching after completing the pre-authentication to the WiFi network, the terminal will be in a period of time with WiMAX, WiFi. The two networks are not connected. In order to keep the existing services of the terminal uninterrupted, the handover service function entity needs to send a keep connection request to the home agent in the WiMAX network. After receiving the keep-alive request, the home agent performs related processing on the current terminal through the WiMAX network, including: marking that the connection is being switched, and also buffering the data for the connection, so that the cached data is completed after the handover is completed. Send to a new destination. The home agent returns a keep-alive response message to the handover service function entity, indicating acceptance of the connection request.
本发明实施例还提供了一种切换方法, 如图 3所示, 该方法包括:  The embodiment of the invention further provides a switching method. As shown in FIG. 3, the method includes:
301、利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中的接入点的预认证 过程;  301. Using an authentication server in the WiMAX core network to complete a pre-authentication process to an access point in the surrounding WiFi network;
在预认证过程之前, 终端还要向 WiMAX接入网发送第一请求消息, 所述第一请求消 息中包含终端位置信息; 之后终端接收 WiMAX接入网返回的第一响应消息, 所述第一响 应消息中包含所述终端目标 WiFi 网络中的目标接入点信息。 终端可以将第一响应消息 中包含的目标接入点作为切换的目标接入点,利用 WiMAX核心网中的认证服务器完成到 所述接入点的预认证过程, 也可以自己选择接入点, 向切换服务功能实体发送第二请求 消息, 在第二请求消息中携带终端所选定的目标接入点信息。。  Before the pre-authentication process, the terminal further sends a first request message to the WiMAX access network, where the first request message includes terminal location information; and then the terminal receives the first response message returned by the WiMAX access network, where the first The response message includes target access point information in the terminal target WiFi network. The terminal may use the target access point included in the first response message as the target access point of the handover, and use the authentication server in the WiMAX core network to complete the pre-authentication process to the access point, or may select the access point by itself. Sending a second request message to the handover service function entity, where the second request message carries the target access point information selected by the terminal. .
302、 从 WiMAX接入网切换到 WiFi网络。  302. Switching from the WiMAX access network to the WiFi network.
在终端准备从 WiMAX网络切换到 WiFi网络时, 终端关闭 WiMAX射频, 并打开 WiFi 射频, 从 WiMAX接入网切换到 WiFi网络。  When the terminal is ready to switch from the WiMAX network to the WiFi network, the terminal turns off the WiMAX radio and turns on the WiFi radio to switch from the WiMAX access network to the WiFi network.
本发明实施例提供了一种切换方法, 在终端从 WiMAX接入网切换到 WiFi网络时, 终端先利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络接入点的预认证过程, 之后再关闭 WiMAX射频,打开 WiFi射频,进行从 WiMAX到 WiFi的切换,通过到周边 WiFi 网络接入点的预认证过程,可以大大减少终端选择 WiFi网络接入点以及终端到 WiFi网 络的认证过程所需要的时间, 从而保证业务的连续性。  The embodiment of the present invention provides a handover method. When a terminal switches from a WiMAX access network to a WiFi network, the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point, and then closes. WiMAX radio, turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process. To ensure continuity of business.
实施例二: 本发明实施例提供了一种切换方法, 如图 4所示, 该方法包括:Embodiment 2: An embodiment of the present invention provides a handover method. As shown in FIG. 4, the method includes:
401、 接收终端发送的包含所述终端位置信息的第一请求消息; 401. The first request message that is sent by the terminal and includes the location information of the terminal.
在终端决定从 WiMAX网络切换到 WiFi网络时, 终端通过当前连接的 WiMAX接入网 向位于 WiMAX核心网中的切换服务功能实体发送第一请求消息,所述第一请求消息中至 少包含终端位置信息, 所述终端位置信息包括所述终端当前的位置信息; 或终端最近至 少一个时间点的位置信息, 或终端获得前后两个位置信息的时间间隔; 或终端当前运动 速率及方向、 终端当前运动曲线的半径。 具体发送过程为, 第一请求消息首先被发送到 终端当前连接的 WiMAX基站, 由基站向切换服务功能实体转发。 WiMAX网络中的切换服 务功能实体接收终端发送的包含所述终端当前位置信息的第一请求消息。本发明实施例 中, 切换服务功能实体位于 WiMAX CSN中, 在实际应用中, 切换服务功能实体还可以位 于 WiMAX CSN以外的其它位置, 比如 WiAMX ASN中、 或 WiFi ASN中、 或 WiMAX ASN与 WiFi ASN之间。  When the terminal decides to switch from the WiMAX network to the WiFi network, the terminal sends a first request message to the handover service function entity in the WiMAX core network through the currently connected WiMAX access network, where the first request message includes at least terminal location information. The terminal location information includes current location information of the terminal; or location information of the terminal at least one time point, or a time interval at which the terminal obtains two previous and second location information; or the current motion rate and direction of the terminal, and the current motion curve of the terminal The radius. The specific sending process is that the first request message is first sent to the WiMAX base station to which the terminal is currently connected, and is forwarded by the base station to the handover service function entity. The handover service function entity in the WiMAX network receives the first request message sent by the terminal and includes the current location information of the terminal. In the embodiment of the present invention, the handover service function entity is located in the WiMAX CSN. In actual applications, the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
402、 根据所述位置信息向接入点信息服务器发送包含所述终端当前位置信息的接 入点信息请求消息, 请求所述终端周边 WiFi网络的接入点信息;  402. Send, according to the location information, an access point information request message that includes current location information of the terminal to the access point information server, and request access point information of the WiFi network around the terminal.
切换服务功能实体接收到第一请求消息, 根据第一请求消息中的终端位置信息向 The handover service function entity receives the first request message, according to the terminal location information in the first request message
WiMAX网络中的接入点信息服务器发送接入点信息请求消息, 所述接入点信息请求消息 中包含终端位置信息, 请求得到所述终端周边 WiFi网络的接入点信息。 The access point information server in the WiMAX network sends an access point information request message, where the access point information request message includes terminal location information, and requests access point information of the WiFi network around the terminal.
403、 接收接入点信息服务器返回的接入点信息响应消息;  403. Receive an access point information response message returned by the access point information server.
接入点信息服务器接收到接入点信息请求消息后,根据终端位置信息确定当前终端 所处位置周边的 WiFi 网络接入点信息, 或者根据终端的运动趋势, 判断出终端即将到 达的周边 WiFi 网络的接入点, 并将这些接入点信息通过接入点信息响应消息返回给切 换服务功能实体。 切换服务功能实体接收接入点信息服务器返回的接入点信息响应消 息。  After receiving the access point information request message, the access point information server determines the WiFi network access point information around the location where the current terminal is located according to the terminal location information, or determines the surrounding WiFi network that the terminal is about to reach according to the motion trend of the terminal. Access points, and return these access point information to the handover service function entity through the access point information response message. The handover service function entity receives the access point information response message returned by the access point information server.
上述获知终端周边 WiFi网络接入点的方法可以有以下实现方式:  The above method for obtaining a WiFi network access point around the terminal may have the following implementation manners:
( 1 )、切换服务功能实体给接入点信息服务器的接入点信息请求消息中包含终端当 前位置和历史位置或运动趋势信息, 接入点信息服务器返回符合要求的接入点信息。  (1) The access point information request message of the handover service function entity to the access point information server includes the current location and historical location or motion trend information of the terminal, and the access point information server returns the information of the access point that meets the requirement.
(2)、 切换服务功能实体根据终端的当前位置和历史位置或运动趋势信息, 计算得 出终端下一步可能的位置, 将两个位置信息发给接入点信息服务器, 接入点信息服务器 返回既能覆盖终端当前位置又能覆盖终端将来位置的接入点信息。  (2) The switching service function entity calculates the possible location of the terminal according to the current location and historical location or the motion trend information of the terminal, and sends the two location information to the access point information server, and the access point information server returns Access point information that covers both the current location of the terminal and the future location of the terminal.
( 3)、 切换服务功能实体根据终端的当前位置和历史位置或运动趋势信息, 计算得 出终端下一步可能的位置,用当前位置和将来位置分别向接入点信息服务器查询能覆盖 指定位置的接入点信息, 然后求交集。 (3) The switching service function entity calculates according to the current location and historical location or motion trend information of the terminal. The next possible location of the terminal is used to query the access point information server for the access point information covering the specified location with the current location and the future location, and then find the intersection.
需要说明的是, 上述过程中计算的步骤可以由切换服务功能实体完成, 也可以由接 入点信息服务器完成。 另外, 相应的计算步骤还可以由终端来完成, 然后在第一请求消 息中直接携带用于接入点信息服务器确定终端周边接入点所需要的信息。  It should be noted that the steps calculated in the foregoing process may be completed by the handover service function entity or by the access point information server. In addition, the corresponding calculation step may also be performed by the terminal, and then directly carrying the information required for the access point information server to determine the peripheral access point of the terminal in the first request message.
404、向所述终端发送包含所述终端目标 WiFi网络中的目标接入点信息的第一响应 消息, 并指示所述终端发起到目标 WiFi网络的预认证过程;  404. Send a first response message that includes the target access point information in the terminal target WiFi network to the terminal, and instruct the terminal to initiate a pre-authentication process to the target WiFi network.
切换服务功能实体接收到接入点信息响应消息之后, 确定当前终端切换目标 WiFi 网络中的目标接入点, 向所述终端发送第一响应消息, 表示接受终端的切换请求, 所述 第一响应消息中包含了所述终端目标 WiFi 网络中的目标接入点信息。 指示所述终端发 起到周边目标 WiFi网络的预认证过程, 此时所述终端仍与 WiMAX网络相连接。  After receiving the access point information response message, the handover service function entity determines that the current terminal switches the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, the first response The message includes target access point information in the terminal target WiFi network. The pre-authentication process is initiated to the peripheral target WiFi network, and the terminal is still connected to the WiMAX network.
需要说明的是,如果终端在步骤 401发送的第一请求消息仅用于对当前位置周边的 WiFi接入点信息查询, 而不包含到 WiFi网络的切换请求指示, 则终端为了在获得切换 目标接入点后进行切换, 就需要向切换功能服务实体发送第二消息用于请求切换, 并在 用于请求切换的第二消息中携带终端选定的切换目标接入点信息,在切换功能服务实体 对所述切换请求做出决策后, 向终端发送第二响应消息, 并在该消息中包含是否同意切 换的指示,如果同意切换则切换服务功能实体就发起终端到所述目标接入点的预认证过 程。  It should be noted that, if the first request message sent by the terminal in step 401 is only used to query the WiFi access point information around the current location, and does not include the handover request indication to the WiFi network, the terminal needs to obtain the handover target. After the in-point handover, a second message needs to be sent to the handover function serving entity for requesting handover, and the second destination message for requesting handover carries the handover target access point information selected by the terminal, and the handover function service entity After making a decision on the handover request, sending a second response message to the terminal, and including an indication of whether to agree to the handover, if the handover service function entity initiates the pre-emption of the terminal to the target access point Certification process.
405、通过 WiMAX接入网建立与终端之间的隧道,并通过 WiFi网络建立与目标 WiFi 网络中的认证器之间的隧道;  405. Establish a tunnel with the terminal through the WiMAX access network, and establish a tunnel with the authenticator in the target WiFi network through the WiFi network.
切换服务功能实体在确定了当前终端切换目标 WiFi网络中的目标接入点信息之后, 通过 WiMAX网络建立与终端之间的隧道,并通过 WiFi网络建立与目标 WiFi网络中的认 证器之间的隧道。  After determining the target access point information in the current terminal handover target WiFi network, the handover service function entity establishes a tunnel with the terminal through the WiMAX network, and establishes a tunnel with the authenticator in the target WiFi network through the WiFi network. .
406、 利用所述隧道完成所述终端到目标 WiFi网络中的目标接入点的预认证; 在所述终端从 WiMAX接入网接入网切换到 WiFi网络之前, 切换服务功能实体利用 建立的与终端之间的隧道以及与认证器之间的隧道完成终端到目标 WiFi 网络中的目标 接入点的预认证。  406. Perform, by using the tunnel, pre-authentication of the target access point in the terminal to the target WiFi network; before the terminal switches from the WiMAX access network access network to the WiFi network, the handover service function entity utilizes the established The tunnel between the terminals and the tunnel with the authenticator completes the pre-authentication of the target access point in the terminal-to-target WiFi network.
407、 向 WiMAX核心网中的家乡代理发送保持连接请求;  407. Send a keep connection request to a home agent in the WiMAX core network.
在终端通过 WiMAX网络进行到 WiFi网络的预认证时, 终端仍与 WiMAX网络接入网 相连接, 但在终端完成到 WiFi 网络的预认证后进行射频切换时, 终端将有一段时间处 于与 WiMAX、 WiFi两个网络都不连接状态, 这时为了保持终端现有业务不中断, 切换服 务功能实体需要向 WiMAX网络中的家乡代理发送保持连接请求。 When the terminal performs pre-authentication to the WiFi network through the WiMAX network, the terminal is still connected to the WiMAX network access network, but when the terminal performs radio frequency switching after completing the pre-authentication to the WiFi network, the terminal will have a period of time. In the state of being disconnected from both WiMAX and WiFi networks, in order to keep the existing services of the terminal uninterrupted, the handover service function entity needs to send a keep connection request to the home agent in the WiMAX network.
408、 接收所述家乡代理返回的表示接受所述连接请求的保持连接响应消息; 家乡代理在接收到保持连接请求之后,对当前终端通过 WiMAX网络进行的业务做出 相关处理, 包括: 标记该连接正在切换, 还可以对此连接进行数据缓存, 以便在切换完 成后将缓存的数据发送到新的目的地。家乡代理向切换服务功能实体返回保持连接响应 消息, 指示接受所述连接请求。  408. Receive a keep-alive response message indicating that the connection request is received by the home agent. After receiving the keep-alive request, the home agent performs related processing on the service performed by the current terminal through the WiMAX network, including: marking the connection. Switching, you can also cache data for this connection to send the cached data to the new destination after the switch is complete. The home agent returns a keep-alive response message to the handover service function entity, indicating acceptance of the connection request.
409、 接收所述终端发送的切换结束消息。  409. Receive a handover end message sent by the terminal.
在终端从 WiMAX网络切换到 WiFi网络之后, 终端通过 WiFi网络向切换服务功能 实体发送切换结束消息表示终端从 WiMAX网络到 WiFi网络的切换完成, 在切换服务功 能实体收到切换结束消息之后,可以向终端切换之前所连接的 WiMAX接入网发送一个资 源释放消息, 以便释放与该终端相关的资源, 这一过程现有技术已经涉及, 在此不再赘 述。  After the terminal switches from the WiMAX network to the WiFi network, the terminal sends a handover end message to the handover service function entity through the WiFi network, indicating that the handover of the terminal from the WiMAX network to the WiFi network is completed. After the handover service function entity receives the handover end message, the terminal may The WiMAX access network connected before the terminal handover sends a resource release message to release the resources related to the terminal. This process has been involved in the prior art and will not be described here.
本发明实施例提供了一种切换方法, 如图 5所示, 该方法包括:  An embodiment of the present invention provides a handover method. As shown in FIG. 5, the method includes:
501、 向 WiMAX接入网发送第一请求消息, 所述第一请求消息中包含终端位置信息; 所述终端位置信息包括所述终端当前的位置信息;或终端最近至少一个时间点的位 置信息, 或终端获得前后两个位置信息的时间间隔; 或终端当前运动速率及方向、 终端 当前运动曲线的半径。 具体发送过程为, 第一请求消息首先被发送到终端当前连接的 WiMAX基站, 由基站向切换服务功能实体转发。 WiMAX网络中的切换服务功能实体接收 终端发送的包含所述终端当前位置信息的第一请求消息。  501. Send a first request message to the WiMAX access network, where the first request message includes terminal location information; the terminal location information includes current location information of the terminal; or location information of the terminal at least one time point. Or the time interval at which the terminal obtains the two pieces of position information before or after; or the current movement rate and direction of the terminal, and the radius of the current motion curve of the terminal. The specific sending process is that the first request message is first sent to the WiMAX base station to which the terminal is currently connected, and is forwarded by the base station to the handover service function entity. The handover service function entity in the WiMAX network receives the first request message sent by the terminal and includes the current location information of the terminal.
502、 接收 WiMAX接入网返回的第一响应消息, 所述第一响应消息中包含所述终端 目标 WiFi网络中的目标接入点信息;  502. Receive a first response message returned by the WiMAX access network, where the first response message includes target access point information in the terminal target WiFi network.
切换服务功能实体接收到第一请求消息, 根据第一请求消息中的终端位置信息向 WiMAX网络中的接入点信息服务器发送包含终端位置信息的接入点信息请求消息, 请求 得到所述终端周边 WiFi 网络的接入点信息。 接入点信息服务器根据终端位置信息确定 当前终端所处位置周边的 WiFi 网络接入点信息, 或者根据终端的运动趋势, 判断出终 端即将到达的周边 WiFi 网络的接入点, 并将这些接入点信息通过接入点信息响应消息 返回给切换服务功能实体。 切换服务功能实体接收到接入点信息响应消息之后, 确定当 前终端切换目标 WiFi 网络中的目标接入点, 向所述终端发送第一响应消息, 表示接受 终端的切换请求, 所述第一响应消息中包含了所述终端目标 WiFi 网络中的目标接入点 信息。 The switching service function entity receives the first request message, and sends an access point information request message including terminal location information to the access point information server in the WiMAX network according to the terminal location information in the first request message, requesting to obtain the terminal periphery. Access point information for WiFi networks. The access point information server determines the WiFi network access point information around the location where the current terminal is located according to the terminal location information, or determines the access point of the surrounding WiFi network that the terminal is about to reach according to the motion trend of the terminal, and connects these access points. The point information is returned to the handover service function entity through the access point information response message. After receiving the access point information response message, the handover service function entity determines that the current terminal switches the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, the first response The message includes the target access point in the terminal target WiFi network. Information.
503、利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中的接入点的预认证 过程;  503. Perform an pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network;
终端可以将第一响应消息中的目标接入点作为切换的目标接入点,也可以选择另外 的接入点, 向切换服务功能实体发送第二请求消息, 在第二请求消息中携带终端所选定 的目标接入点信息。 之后切换服务功能实体就发起到所述目标接入点的预认证过程。 利 用 WiMAX核心网中的认证服务器完成到目标接入点的预认证过程。  The terminal may use the target access point in the first response message as the target access point of the handover, or may select another access point, send a second request message to the handover service function entity, and carry the terminal information in the second request message. Selected target access point information. The handover service function entity then initiates a pre-authentication process to the target access point. The pre-authentication process to the target access point is completed using the authentication server in the WiMAX core network.
504、 关闭 WiMAX射频, 并打开 WiFi射频;  504. Turn off the WiMAX radio and turn on the WiFi radio.
终端在通过当前的 WiMAX网络完成到周边 WiFi网络中的接入点的预认证过程之后, 关闭 WiMAX射频单元,并打开 WiFi射频单元。如果技术上允许,终端可以提前打开 WiFi 射频仅作接收而不发射, 这样在不对 WiMAX射频上的通信产生干扰的前提下, 可以提前 发现 WiFi网络的接入点, 从而加快切换过程。  After the terminal completes the pre-authentication process to the access point in the surrounding WiFi network through the current WiMAX network, the terminal turns off the WiMAX radio unit and turns on the WiFi radio unit. If technically allowed, the terminal can turn on the WiFi radio in advance to receive only without transmitting, so that the access point of the WiFi network can be discovered in advance without disturbing the communication on the WiMAX radio, thereby speeding up the handover process.
505、 扫描周边 WiFi网络接入点, 并结合从接入点信息服务器获得的接入点信息从 可能扫描到的 WiFi网络接入点中选择一个可支持终端当前业务的接入点;  505. Scan a surrounding WiFi network access point, and select an access point that can support the current service of the terminal from the WiFi network access points that may be scanned by using the access point information obtained from the access point information server;
在终端打开 WiFi射频后, 终端一方面可以被动地扫描 WiFi接入点, 所谓被动扫描就 是终端不对外发送消息, 而是被动接收 WiFi接入点周期性发出的信标帧, 能接收到信标 帧, 就表示附近有 WiFi接入点, 并可从信标帧中获得一些必要的信息, 如通过该接入点 可接入的业务网络信息等。 如果终端打开 WiFi射频的同时关闭 WiMAX射频, 终端还可以 采用主动扫描的方式查找 WiFi接入点, 所谓主动扫描, 就是终端主动发出探测请求帧, 并在探测请求帧中携带相关的信息。 WiFi接入点收到探测请求帧后, 如果判断自身符合 探测请求帧中的过滤条件, 就向该终端发送探测响应帧。 终端通过接收到探测响应帧, 判断 WiFi接入点的存在, 并从探测响应帧中获得该 WiFi接入点的能力、 可接入业务网络 的信息等。 终端结合从切换响应消息中获得的接入点信息, 从扫描到的 WiFi接入点中选 定一个可接入当前正在使用的 WiMAX核心网的接入点, 作后续连接工作。 终端扫描接入 点和选择接入点的具体过程, 在 IEEE 802. 11基本协议和 802. llu增补协议里都有相关描 述, 这里不详细描述。  After the terminal turns on the WiFi radio, the terminal can passively scan the WiFi access point. The so-called passive scanning means that the terminal does not send a message to the outside, but passively receives the beacon frame periodically sent by the WiFi access point, and can receive the beacon. The frame indicates that there is a WiFi access point nearby, and can obtain some necessary information from the beacon frame, such as service network information that can be accessed through the access point. If the terminal turns off the WiMAX radio and turns off the WiMAX radio, the terminal can also use the active scanning method to find the WiFi access point. The so-called active scanning means that the terminal actively sends the probe request frame and carries the relevant information in the probe request frame. After receiving the probe request frame, the WiFi access point sends a probe response frame to the terminal if it determines that it meets the filter condition in the probe request frame. The terminal determines the presence of the WiFi access point by receiving the probe response frame, and obtains the capability of the WiFi access point, the information of the accessible service network, and the like from the probe response frame. The terminal combines the access point information obtained from the handover response message, and selects an access point from the scanned WiFi access point that can access the currently used WiMAX core network for subsequent connection work. The specific process of the terminal scanning the access point and selecting the access point is described in the IEEE 802.11 basic protocol and the 802.llu supplementary protocol, which are not described in detail herein.
506、 关联到选择的 WiFi网络接入点;  506. Associate with the selected WiFi network access point.
终端在选择了确定的 AP之后, 就与这个 AP做接入关联, 关联完成后启动到 WiFi 网络的认证过程。 认证过程在 802. lx协议中有规定, 并在 802. 11协议中引用。  After selecting the determined AP, the terminal associates with the AP, and initiates the authentication process to the WiFi network after the association is completed. The authentication process is specified in the 802. lx protocol and is referenced in the 802.11 protocol.
507、接收 WiFi网络中的认证器发送的认证请求消息, 所述认证请求消息包含要求 所述终端提供其标识的信息; 507. Receive an authentication request message sent by an authenticator in a WiFi network, where the authentication request message includes a request. The terminal provides information of its identity;
WiFi网络中的认证器会向终端发送认证请求消息, 请求所述终端的标识信息。 The authenticator in the WiFi network sends an authentication request message to the terminal requesting the identification information of the terminal.
508、 向所述认证器返回所述终端的标识信息, 经所述认证器将所述标识信息转发 给全球微波互联接入核心网中的认证服务器; 508. The identifier information of the terminal is returned to the authenticator, and the identifier information is forwarded by the authenticator to an authentication server in a global microwave interconnection access core network.
终端向认证器返回所述终端的标识信息, 认证器接收到标识信息之后, 将该标识信 息转发给 WiMAX核心网中的认证服务器, 即 AAA服务器。 AAA服务器检查自身是否已经 存在这个标识信息, 也就是检查终端是否已经注册。 因为终端之前是通过 WiMAX接入网 接入到 WiMAX核心网的, 所以 AAA服务器已经存在终端的标识信息, 则之后 AAA服务器 按照 802. lx协议验证终端的真伪, 认证器在 AAA服务器和终端之间转发认证消息, 直 至认证完成。  The terminal returns the identification information of the terminal to the authenticator. After receiving the identification information, the authenticator forwards the identification information to the authentication server in the WiMAX core network, that is, the AAA server. The AAA server checks whether the identity information already exists, that is, whether the terminal has been registered. Because the terminal is connected to the WiMAX core network through the WiMAX access network, the AAA server already has the identification information of the terminal, and then the AAA server verifies the authenticity of the terminal according to the 802. lx protocol, and the authenticator is in the AAA server and the terminal. The authentication message is forwarded until the authentication is completed.
509、与所述认证器协商用于会话的成对临时密钥, 或直接与所述认证服务器交互, 产生用于会话的成对临时密钥;  509. Negotiate a pairwise temporary key for a session with the authenticator, or directly interact with the authentication server to generate a paired temporary key for the session;
当认证完成后, 所述认证器与所述终端协商用于会话的成对临时密钥, 或所述终 端直接与 WiMAX核心网中的认证服务器交互, 产生用于会话的成对临时密钥。后续在终 端切换到 WiFi 网络后, 即可利用所述密钥保护终端与接入点之间的通信。 这些过程在 IEEE 802. 11协议中有详细描述, 这里不再重复。  When the authentication is completed, the authenticator negotiates a pairwise temporary key for the session with the terminal, or the terminal directly interacts with an authentication server in the WiMAX core network to generate a paired temporary key for the session. After the terminal switches to the WiFi network, the key can be used to protect the communication between the terminal and the access point. These procedures are described in detail in the IEEE 802.11 protocol and will not be repeated here.
510、 通过 WiFi网络获取网络地址, 所述网络地址包括家乡地址和转交地址; 终端在完成到 WiFi网络的认证过程后, 需要 WiFi网络为其分配一个网络地址, 这一 过程可以通过 DHCP协议完成。 WiFi接入网中有一个 DHCP代理( proxy )或 DHCP中继(re 1 ay) 功能, 可将 DHCP消息转发到 WiMAX网络中的 IP (网络协议) 地址分配服务器。 DHCP中继 功能只是简单地在终端与地址分配服务器间转发 DHCP消息。 但在使用 DHCP代理的情况 下, WiMAX核心网中的 IP地址分配服务器应该使用 DHCP服务器。 DHCP代理也可以终结 DHCP 消息, 使用其它的地址分配协议, 例如移动 IP协议, 向 WiMAX网络中的 AAA服务器要求获 得 IP地址, 这时的 DHCP代理称为 DHCP proxy (代理) 。 通过上述两种途径, 终端可以仅 使用 DHCP协议通过 WiFi网络获得 IP地址。终端也可以直接使用移动 IP协议, 这时 WiFi接 入网络中有一个外部代理用于接收终端请求网络地址的消息。  510. Obtain a network address by using a WiFi network, where the network address includes a home address and a care-of address; after completing the authentication process to the WiFi network, the terminal needs to allocate a network address to the WiFi network, and the process can be completed by using a DHCP protocol. The WiFi access network has a DHCP proxy or DHCP relay (re 1 ay) function that forwards DHCP messages to an IP (Network Protocol) address allocation server in the WiMAX network. The DHCP relay function simply forwards DHCP messages between the terminal and the address assignment server. However, in the case of a DHCP proxy, the IP address allocation server in the WiMAX core network should use a DHCP server. The DHCP proxy can also terminate the DHCP message and use other address allocation protocols, such as the Mobile IP protocol, to request an IP address from the AAA server in the WiMAX network. The DHCP proxy is called a DHCP proxy. Through the above two methods, the terminal can obtain an IP address through the WiFi network using only the DHCP protocol. The terminal can also directly use the mobile IP protocol. At this time, the WiFi access network has an external proxy for receiving the message that the terminal requests the network address.
上述地址分配过程中实际分配给终端的网络地址包括终端的家乡地址和转交地址。 家乡地址一般保持不变, 而转交地址在终端使用移动 IP协议时直接发给终端, 也是终端 所使用的地址; 在终端使用 DHCP协议时, 转交地址只是在接入网侧记录, 而不直接发送 给终端, 终端不知道这个地址的存在。 关于 DHCP协议和移动 IP协议可以参考 WiMAX现有 规范, 这里不再详细描述。 The network address actually assigned to the terminal during the above address allocation process includes the home address and the care-of address of the terminal. The home address is generally unchanged, and the care-of address is sent directly to the terminal when the terminal uses the mobile IP protocol, which is also the address used by the terminal. When the terminal uses the DHCP protocol, the care-of address is only recorded on the access network side, and is not directly sent. To the terminal, the terminal does not know the existence of this address. For the DHCP protocol and mobile IP protocol, please refer to WiMAX existing Specifications, not described in detail here.
在终端使用 DHCP协议时, WiFi网络还可以用其它方式给终端分配 IP地址, 例如 WiFi 网络可以为终端分配一个私网地址, 然后从 WiMAX核心网获得一个公网地址或仅使用自 己对外的公网地址, 然后对来自终端或发往终端的报文做 NAT/NAPT (网络地址和端口转 换) 转换。  When the terminal uses the DHCP protocol, the WiFi network can also assign an IP address to the terminal in other ways. For example, the WiFi network can assign a private network address to the terminal, and then obtain a public network address from the WiMAX core network or use only the external public network. The address is then NAT/NAPT (Network Address and Port Translation) conversion for messages from the terminal or to the terminal.
在终端获得 IP地址的过程中, WiFi接入网络中的地址分配实体即 DHCP代理或移动 IP 外部代理在获知分配给终端的新的转交地址之后,将这个新的转交地址通过地址绑定更 新消息发送给 WiMAX核心网中的家乡代理。 这样家乡代理就可以将应该发送给该终端的 报文以隧道方式发送到新的转交地址。 如果没有使用移动 IP协议, 该地址绑定更新消息 可以由 DHCP代理发送给 WiMAX核心网中的核心路由器, 该地址绑定更新消息包括终端新 的可全局路由的 IP地址, 由 WiMAX核心路由器将应该送往该终端的报文发送到新的 IP地 址。 在这种情况下, 通信对端需要知道终端新的 IP地址。  In the process of obtaining the IP address by the terminal, the address assignment entity in the WiFi access network, that is, the DHCP proxy or the mobile IP foreign proxy, after obtaining the new care-of address assigned to the terminal, passes the new care-of address through the address binding update message. Send to the home agent in the WiMAX core network. In this way, the home agent can tunnel the message that should be sent to the terminal to the new care-of address. If the mobile IP protocol is not used, the address binding update message may be sent by the DHCP proxy to the core router in the WiMAX core network. The address binding update message includes the terminal's new globally routable IP address, which should be addressed by the WiMAX core router. The message sent to the terminal is sent to the new IP address. In this case, the communication peer needs to know the new IP address of the terminal.
WiFi接入网络中的 DHCP代理或外部代理向家乡代理或 WiMAX核心路由器发送地址绑 定更新消息的过程可以发生在地址分配的过程中, 也可以发生在地址分配完成之后。  The process of sending an address binding update message to a home agent or WiMAX core router by a DHCP proxy or foreign agent in the WiFi access network may occur during the address assignment process or after the address assignment is completed.
在地址分配的最后一步, 如果终端使用的是 DHCP协议, 则终端会收到一个 DHCP应 答消息, 或者在终端使用移动 IP协议时, 终端会收到一个移动 IP响应消息, 在终端收 到上述消息之后, 表示地址分配过程结束。  In the last step of address allocation, if the terminal uses the DHCP protocol, the terminal will receive a DHCP response message, or when the terminal uses the mobile IP protocol, the terminal will receive a mobile IP response message, and the terminal receives the above message. After that, it indicates that the address allocation process ends.
511、 向 WiMAX核心网中的切换服务功能实体发送切换结束消息, 表示从 WiMAX接 入网切换到 WiFi网络。  511. Send a handover end message to the handover service function entity in the WiMAX core network, indicating that the WiMAX access network is switched to the WiFi network.
终端通过 WiFi接入网向 WiMAX核心网中的切换服务功能实体发送切换结束消息。 至 此, 终端从 WiAMX网络到 WiFi网络的切换过程完成。  The terminal sends a handover end message to the handover service function entity in the WiMAX core network through the WiFi access network. At this point, the handover process of the terminal from the WiAMX network to the WiFi network is completed.
需要说明的是, 在切换服务功能实体收到切换结束消息后, 可以向终端原附着的 WiMAX接入网发送一个资源释放消息以释放与该终端相关的资源。  It should be noted that after the handover service function entity receives the handover end message, it may send a resource release message to the WiMAX access network to which the terminal is originally attached to release resources related to the terminal.
通过以上过程, 终端就完成了从 WiMAX接入网切换到 WiFi网络的过程, 而且在切换 过程中业务不会中断。 对于例外的情况, 如果在步骤 503, 终端扫描不到可用的 WiFi网 络接入点, 或者在步骤 506, 终端与 AAA服务器的认证失败, 或者在步骤 508, 地址分配 过程失败, 终端可以重新切回到 WiMAX接入网, 因为此时在 WiMAX接入网中与该终端相关 的资源仍然保留, 没有被释放掉, 终端只需向切换服务功能实体发送撤销切换消息, 表 示撤销切换过程即可,然后切换服务功能实体向家乡代理或核心路由器发送恢复连接消 息, 以恢复先前的连接, 则终端就可以继续通过 WiMAX接入网使用业务。 本发明实施例提供了一种切换方法, 在终端从 WiMAX接入网切换到 WiFi网络时, 终端先利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络接入点的预认证过程, 之后再关闭 WiMAX射频,打开 WiFi射频,进行从 WiMAX到 WiFi的切换,通过到周边 WiFi 网络接入点的预认证过程,可以大大减少终端选择 WiFi网络接入点以及终端到 WiFi网 络的认证过程所需要的时间, 从而保证业务的连续性。 Through the above process, the terminal completes the process of switching from the WiMAX access network to the WiFi network, and the service is not interrupted during the handover process. In the exceptional case, if the terminal does not scan for an available WiFi network access point in step 503, or the authentication of the terminal and the AAA server fails in step 506, or the address assignment process fails in step 508, the terminal may switch back. To the WiMAX access network, because the resources related to the terminal in the WiMAX access network are still reserved and are not released, the terminal only needs to send a revocation switching message to the handover service function entity, indicating that the handover process is cancelled, and then The handover service function entity sends a resume connection message to the home agent or core router to restore the previous connection, and the terminal can continue to use the service through the WiMAX access network. The embodiment of the present invention provides a handover method. When a terminal switches from a WiMAX access network to a WiFi network, the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point, and then closes. WiMAX radio, turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process. To ensure continuity of business.
实施例三:  Embodiment 3:
本发明实施例提供了一种切换服务功能实体, 如图 6所示, 该切换服务功能实体包 括第一接收模块 601、 获取模块 602和第一预认证模块 603。  The embodiment of the present invention provides a handover service function entity. As shown in FIG. 6, the handover service function entity includes a first receiving module 601, an obtaining module 602, and a first pre-authentication module 603.
其中, 第一接收模块 601用于通过 WiMAX接入网接收终端发送的第一请求消息, 所 述第一请求消息中包含终端位置信息;获取模块 602用于根据所述第一请求消息中携带 的终端位置信息, 从接入点信息服务器获得终端周边的 WiFi 网络接入点信息, 确定目 标接入点,并将所述目标接入点信息通过第一响应消息提供给终端;第一预认证模块 603 用于发起并完成所述终端到 WiFi网络的预认证过程。  The first receiving module 601 is configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and the acquiring module 602 is configured to be used according to the first request message. The terminal location information, obtaining the WiFi network access point information of the terminal from the access point information server, determining the target access point, and providing the target access point information to the terminal by using the first response message; the first pre-authentication module 603 is used to initiate and complete a pre-authentication process of the terminal to a WiFi network.
该切换服务功能实体还包括指示模块 604, 用于向 WiMAX核心网中的家乡代理发送 保持连接请求消息, 指示保持所述终端的当前业务。  The handover service function entity further includes an indication module 604 for transmitting a keep-alive request message to the home agent in the WiMAX core network, indicating that the current service of the terminal is maintained.
本发明实施例中, 切换服务功能实体位于 WiMAX CSN中, 在实际应用中, 切换服务 功能实体还可以位于 WiMAX CSN以外的其它位置, 比如 WiAMX ASN中、 或 WiFi ASN中、 或 WiMAX ASN与 WiFi ASN之间。  In the embodiment of the present invention, the handover service function entity is located in the WiMAX CSN. In actual applications, the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
本发明实施例提供了一种终端, 如图 7所示, 该终端包括第二预认证模块 701和切 换模块 702。  The embodiment of the present invention provides a terminal. As shown in FIG. 7, the terminal includes a second pre-authentication module 701 and a handover module 702.
其中,第二预认证模块 701用于利用 WiMAX核心网中的认证服务器完成到周边 WiFi 网络中的接入点的预认证过程; 切换模块 702用于从 WiMAX接入网切换到 WiFi网络。  The second pre-authentication module 701 is configured to complete the pre-authentication process to the access point in the peripheral WiFi network by using the authentication server in the WiMAX core network; the handover module 702 is configured to switch from the WiMAX access network to the WiFi network.
该终端还包括第一发送模块 703和第二接收模块 704。  The terminal further includes a first sending module 703 and a second receiving module 704.
其中, 第一发送模块 703用于向 WiMAX接入网发送第一请求消息, 所述第一请求消 息中包含终端位置信息;第二接收模块 704用于接收 WiMAX接入网返回的第一响应消息, 所述第一响应消息中包含所述终端目标 WiFi 网络中的目标接入点信息。 第二预认证模 块 701可以将所述第一响应消息中的目标接入点作为切换的目标接入点,利用 WiMAX核 心网中的认证服务器完成到所述目标接入点的预认证过程。  The first sending module 703 is configured to send a first request message to the WiMAX access network, where the first request message includes terminal location information, and the second receiving module 704 is configured to receive the first response message returned by the WiMAX access network. And the first response message includes target access point information in the terminal target WiFi network. The second pre-authentication module 701 can use the target access point in the first response message as the target access point for handover, and complete the pre-authentication process to the target access point by using the authentication server in the WiMAX core network.
所述切换模板 702包括认证子模块 705、 获取子模块 706和第二发送子模块 707。 其中, 认证子模块 705用于关联到 WiFi 网络接入点并进行认证; 获取子模块 706 用于通过 WiFi 网络获取网络地址, 所述网络地址包括家乡地址和转交地址; 第二发送 子模块 707用于向所述 WiMAX核心网中的切换服务功能实体发送切换结束消息,表示从 所述 WiMAX接入网切换到所述 WiFi网络。 The handover template 702 includes an authentication submodule 705, an acquisition submodule 706, and a second transmission submodule 707. The authentication submodule 705 is configured to be associated with the WiFi network access point and authenticated; the obtaining submodule 706 For obtaining a network address by using a WiFi network, where the network address includes a home address and a care-of address; the second sending sub-module 707 is configured to send a handover end message to the handover service function entity in the WiMAX core network, indicating that the WiMAX is The access network switches to the WiFi network.
所述认证子模块 705包括关联单元 708、 接收单元 709、 发送单元 710。  The authentication sub-module 705 includes an association unit 708, a receiving unit 709, and a sending unit 710.
其中, 关联单元 708用于关联到选择的 WiFi网络接入点; 接收单元 709用于接收 The association unit 708 is configured to be associated with the selected WiFi network access point; the receiving unit 709 is configured to receive
WiFi 网络中的认证器发送的认证请求消息, 所述认证请求消息请求所述终端的标识信 息; 发送单元 710用于向所述认证器返回所述终端的标识信息, 经所述认证器将所述标 识信息转发给 WiMAX核心网中的认证服务器,所述认证器与所述终端协商用于会话的成 对临时密钥, 或所述终端直接与 WiMAX核心网中的认证服务器交互, 产生用于会话的成 对临时密钥。 An authentication request message sent by the authenticator in the WiFi network, the authentication request message requesting the identification information of the terminal; the sending unit 710 is configured to return the identifier information of the terminal to the authenticator, and the identifier is used by the authenticator The identification information is forwarded to an authentication server in the WiMAX core network, the authenticator negotiates a pairwise temporary key for the session with the terminal, or the terminal directly interacts with an authentication server in the WiMAX core network, and is generated for The paired temporary key for the session.
本发明实施例提供了一种切换服务功能实体和终端,在终端从 WiMAX接入网切换到 WiFi网络时, 终端先利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络接入点的 预认证过程, 之后再关闭 WiMAX射频, 打开 WiFi射频, 进行从 WiMAX到 WiFi的切换, 通过到周边 WiFi网络接入点的预认证过程,可以大大减少终端选择 WiFi网络接入点以 及终端到 WiFi网络的认证过程所需要的时间, 从而保证业务的连续性。  The embodiment of the invention provides a handover service function entity and a terminal. When the terminal switches from the WiMAX access network to the WiFi network, the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point. Then, turn off the WiMAX radio, turn on the WiFi radio, and switch from WiMAX to WiFi. Through the pre-authentication process to the surrounding WiFi network access point, the authentication process of the terminal selecting the WiFi network access point and the terminal to the WiFi network can be greatly reduced. The time required to ensure continuity of the business.
实施例四:  Embodiment 4:
本发明实施例提供了一种切换系统,如图 8所示,该系统包括切换服务功能实体 81 和终端 82。  The embodiment of the present invention provides a handover system. As shown in FIG. 8, the system includes a handover service function entity 81 and a terminal 82.
其中, 切换服务功能实体 81位于 WiMAX核心网, 用于通过 WiMAX接入网接收终端 发送的第一请求消息, 所述第一请求消息中包含终端位置信息, 根据所述第一请求消息 中携带的终端位置信息, 从接入点信息服务器获得终端周边的 WiFi网络接入点信息, 确定目标接入点, 并将所述目标接入点信息通过第一响应消息提供给终端, 发起并完成 所述终端到 WiFi网络的预认证过程;终端 82用于利用 WiMAX核心网中的认证服务器完 成到周边 WiFi网络中的接入点的预认证过程,关闭 WiMAX射频,并打开 WiFi网络射频, 从所述 WiMAX接入网切换到所述 WiFi网络。  The switching service function entity 81 is located in the WiMAX core network, and is configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and is carried according to the first request message. The terminal location information, obtaining the WiFi network access point information around the terminal from the access point information server, determining the target access point, and providing the target access point information to the terminal by using the first response message, initiating and completing the The pre-authentication process of the terminal to the WiFi network; the terminal 82 is configured to complete the pre-authentication process to the access point in the surrounding WiFi network by using the authentication server in the WiMAX core network, turn off the WiMAX radio frequency, and turn on the WiFi network radio frequency, from the WiMAX The access network switches to the WiFi network.
本发明实施例中, 切换服务功能实体位于 WiMAX CSN中, 在实际应用中, 切换服务 功能实体还可以位于 WiMAX CSN以外的其它位置, 比如 WiAMX ASN中、或 WiFi ASN中、 或 WiMAX ASN与 WiFi ASN之间。  In the embodiment of the present invention, the handover service function entity is located in the WiMAX CSN. In actual applications, the handover service function entity may also be located at a location other than the WiMAX CSN, such as in a WiAMX ASN, or in a WiFi ASN, or a WiMAX ASN and a WiFi ASN. between.
所述终端还用于向 WiMAX接入网发送第一请求消息,并接收 WiMAX接入网返回的第 一响应消息。 该系统还包括接入点信息服务器 83, 接入点信息服务器 83位于 WiMAX核心网, 用 于接收所述切换服务功能实体发送的包含所述终端当前位置信息的接入点信息请求消 息, 根据所述位置信息判断出终端周边的 WiFi 网络接入点, 并向所述切换服务功能实 体返回接入点信息响应消息。 The terminal is further configured to send a first request message to the WiMAX access network, and receive a first response message returned by the WiMAX access network. The system further includes an access point information server 83, and the access point information server 83 is located in the WiMAX core network, and is configured to receive an access point information request message that is sent by the handover service function entity and includes current location information of the terminal, according to the The location information determines a WiFi network access point around the terminal, and returns an access point information response message to the handover service function entity.
该系统还包括 WiMAX核心网中的家乡代理 84,用于接收所述切换服务功能实体发送 的保持连接请求,并向所述切换服务功能实体返回表示接受所述连接请求的保持连接响 应消息。  The system also includes a home agent 84 in the WiMAX core network for receiving a keep-alive request sent by the handover service function entity and returning to the handover service function entity a keep-alive response message indicating acceptance of the connection request.
该系统还包括 WiFi网络中的认证器 85, 用于向所述终端发送认证请求消息, 接收 所述终端返回的标识信息,并将所述标识信息转发给全球微波互联接入核心网中的认证 服务器, 与所述终端协商用于会话的成对临时密钥。  The system further includes an authenticator 85 in the WiFi network, configured to send an authentication request message to the terminal, receive the identification information returned by the terminal, and forward the identification information to the authentication in the global microwave interconnection access core network. The server negotiates a paired temporary key for the session with the terminal.
该系统还包括 WiMAX核心网中的认证服务器 86,用于接收所述认证器发送的标识信 息, 与所述终端交互, 产生用于会话的成对临时密钥。  The system also includes an authentication server 86 in the WiMAX core network for receiving identification information sent by the authenticator, interacting with the terminal, and generating a paired temporary key for the session.
切换服务功能实体 81还用于向 WiMAX核心网中的家乡代理发送保持连接请求, 指 示保持所述终端的当前连接,并接收所述家乡代理返回的表示接受所述连接请求的保持 连接响应消息。  The handover service function entity 81 is further configured to send a keep connection request to the home agent in the WiMAX core network, to indicate that the current connection of the terminal is maintained, and to receive a keep connection response message returned by the home agent indicating acceptance of the connection request.
如图 8所示, 对该系统的工作流程进行介绍:  As shown in Figure 8, the workflow of the system is introduced:
901、 终端向切换服务功能实体发送第一请求消息;  901. The terminal sends a first request message to the handover service function entity.
在终端决定从 WiMAX网络切换到 WiFi网络时, 终端通过当前连接的 WiMAX接入网 向位于 WiMAX核心网中的切换服务功能实体发送第一请求消息,所述第一请求消息中至 少包含终端位置信息。 具体发送过程为, 第一请求消息首先被发送到终端当前连接的 WiMAX基站, 由基站向切换服务功能实体转发。  When the terminal decides to switch from the WiMAX network to the WiFi network, the terminal sends a first request message to the handover service function entity in the WiMAX core network through the currently connected WiMAX access network, where the first request message includes at least terminal location information. . The specific sending process is that the first request message is first sent to the WiMAX base station to which the terminal is currently connected, and is forwarded by the base station to the handover service function entity.
902、 切换服务功能实体向接入点信息服务器发送接入点信息请求消息; 切换服务功能实体接收到第一请求消息, 根据第一请求消息中的终端位置信息向 WiMAX网络中的接入点信息服务器发送接入点信息请求消息, 所述接入点信息请求消息 中包含终端位置信息, 请求得到所述终端周边 WiFi网络的接入点信息。  902. The handover service function entity sends an access point information request message to the access point information server. The handover service function entity receives the first request message, and sends the access point information in the WiMAX network according to the terminal location information in the first request message. The server sends an access point information request message, where the access point information request message includes terminal location information, and requests access point information of the WiFi network around the terminal.
903、 接入点信息服务器向切换服务功能实体返回接入点信息响应消息; 接入点信息服务器接收到接入点信息请求消息后,根据终端位置信息确定当前终端 所处位置周边的 WiFi 网络接入点信息, 或者根据终端的运动趋势, 判断出终端即将到 达的周边 WiFi 网络的接入点, 并将这些接入点信息通过接入点信息响应消息返回给切 换服务功能实体。 904、切换服务功能实体向所述终端发送包含所述终端目的 WiFi网络中的目标接入 点信息的第一响应消息, 并指示所述终端发起到目标 WiFi网络的预认证过程; 903. The access point information server returns an access point information response message to the handover service function entity. After receiving the access point information request message, the access point information server determines, according to the terminal location information, a WiFi network connection around the current terminal location. Incoming point information, or determining the access point of the surrounding WiFi network that the terminal is about to reach according to the trend of the terminal, and returning the access point information to the switching service function entity through the access point information response message. 904. The handover service function entity sends a first response message that includes the target access point information in the WiFi network of the terminal destination to the terminal, and instructs the terminal to initiate a pre-authentication process to the target WiFi network.
切换服务功能实体接收到接入点信息响应消息之后, 确定当前终端切换目标 WiFi 网络中的目标接入点, 向所述终端发送第一响应消息, 表示接受终端的切换请求, 所述 第一响应消息中包含了所述终端目标 WiFi 网络中的目标接入点信息。 指示所述终端发 起到周边目标 WiFi网络的预认证过程, 此时所述终端仍与 WiMAX网络相连接。  After receiving the access point information response message, the handover service function entity determines that the current terminal switches the target access point in the target WiFi network, and sends a first response message to the terminal, indicating that the handover request of the terminal is accepted, the first response The message includes target access point information in the terminal target WiFi network. The pre-authentication process is initiated to the peripheral target WiFi network, and the terminal is still connected to the WiMAX network.
需要说明的是,如果终端在步骤 901发送的第一请求消息仅用于对当前位置周边的 WiFi接入点信息查询, 而不包含到 WiFi网络的切换请求指示, 则终端为了在获得切换 目标接入点后进行切换, 就需要向切换功能服务实体发送第二消息用于请求切换, 并在 用于请求切换的第二消息中携带终端选定的切换目标接入点信息,在切换功能服务实体 对所述切换请求做出决策后, 向终端发送第二响应消息, 并在该消息中包含是否同意切 换的指示,如果同意切换则切换服务功能实体就发起终端到所述目标接入点的预认证过 程。  It should be noted that, if the first request message sent by the terminal in step 901 is only used to query the WiFi access point information around the current location, and does not include the handover request indication to the WiFi network, the terminal needs to obtain the handover target. After the in-point handover, a second message needs to be sent to the handover function serving entity for requesting handover, and the second destination message for requesting handover carries the handover target access point information selected by the terminal, and the handover function service entity After making a decision on the handover request, sending a second response message to the terminal, and including an indication of whether to agree to the handover, if the handover service function entity initiates the pre-emption of the terminal to the target access point Certification process.
905、 终端通过 WiMAX网络完成到 WiFi网络的预认证过程。  905. The terminal completes the pre-authentication process to the WiFi network through the WiMAX network.
切换服务功能实体在确定了当前终端切换目标 WiFi网络中的目标接入点信息之后, 通过 WiMAX网络建立与终端之间的隧道,并通过 WiFi网络建立与目标 WiFi网络中的认 证器之间的隧道。切换服务功能实体利用建立的与终端之间的隧道以及与认证器之间的 隧道完成终端到周边 WiFi网络中的接入点的预认证。  After determining the target access point information in the current terminal handover target WiFi network, the handover service function entity establishes a tunnel with the terminal through the WiMAX network, and establishes a tunnel with the authenticator in the target WiFi network through the WiFi network. . The handover service function entity uses the established tunnel between the terminal and the tunnel with the authenticator to complete the pre-authentication of the terminal to the access point in the surrounding WiFi network.
906、 切换服务功能实体向家乡代理发送保持连接请求消息;  906. The handover service function entity sends a keep connection request message to the home agent.
在终端通过 WiMAX网络进行到 WiFi网络的预认证时, 终端仍与 WiMAX网络接入网 相连接, 但在终端完成到 WiFi 网络的预认证后进行射频切换时, 终端将有一段时间处 于与 WiMAX、 WiFi两个网络都不连接状态, 这时为了保持终端现有业务不中断, 切换服 务功能实体需要向 WiMAX网络中的家乡代理发送保持连接请求。  When the terminal performs pre-authentication to the WiFi network through the WiMAX network, the terminal is still connected to the WiMAX network access network, but when the terminal performs radio frequency switching after completing the pre-authentication to the WiFi network, the terminal will be in contact with WiMAX for a period of time. The two networks are not connected to each other. In order to keep the existing services of the terminal uninterrupted, the handover service function entity needs to send a keep connection request to the home agent in the WiMAX network.
907、 家乡代理向切换服务功能实体返回保持连接响应消息;  907. The home agent returns a keep-alive response message to the handover service function entity.
家乡代理在接收到保持连接请求之后,对当前终端通过 WiMAX网络进行的业务做出 相关处理, 包括: 标记该连接正在切换, 还可以对此连接进行数据缓存, 以便在切换完 成后将缓存的数据发送到新的目的地。家乡代理向切换服务功能实体返回保持连接响应 消息, 指示接受所述连接请求。  After receiving the keep-alive request, the home agent performs related processing on the current terminal through the WiMAX network, including: marking that the connection is being switched, and also buffering the data for the connection, so that the cached data is completed after the handover is completed. Send to a new destination. The home agent returns a keep-alive response message to the handover service function entity, indicating acceptance of the connection request.
908、 终端切换射频模式;  908. The terminal switches the radio frequency mode.
终端在通过当前的 WiMAX网络完成到周边 WiFi网络中的接入点的预认证过程之后, 关闭 WiMAX射频单元,并打开 WiFi射频单元。如果技术上允许,终端可以提前打开 WiFi 射频仅作接收而不发射, 这样在不对 WiMAX射频上的通信产生干扰的前提下, 可以提前 发现 WiFi网络的接入点, 从而加快切换过程。 After the terminal completes the pre-authentication process to the access point in the surrounding WiFi network through the current WiMAX network, Turn off the WiMAX radio unit and turn on the WiFi radio unit. If technically allowed, the terminal can open the WiFi radio in advance for receiving only and not transmitting, so that the access point of the WiFi network can be discovered in advance without causing interference to the communication on the WiMAX radio, thereby speeding up the handover process.
909、 终端扫描周边 WiFi网络接入点, 并结合从接入点信息服务器获得的接入点信 息从可能扫描到的 WiFi 网络接入点中选择一个可支持终端当前业务的接入点, 关联到 选择的 WiFi网络接入点, 启动到 WiFi网络的认证过程;  909. The terminal scans the surrounding WiFi network access point, and selects an access point that can support the current service of the terminal from the possible access to the WiFi network access point, and associates with the access point information obtained from the access point information server. The selected WiFi network access point initiates the authentication process to the WiFi network;
在终端打开 WiFi射频后, 终端一方面可以被动地扫描 WiFi接入点, 所谓被动扫描就 是终端不对外发送消息, 而是被动接收 WiFi接入点周期性发出的信标帧, 能接收到信标 帧, 就表示附近有 WiFi接入点, 并可从信标帧中获得一些必要的信息, 如通过该接入点 可接入的业务网络信息等。 如果终端打开 WiFi射频的同时关闭 WiMAX射频, 终端还可以 采用主动扫描的方式查找 WiFi接入点, 所谓主动扫描, 就是终端主动发出探测请求帧, 并在探测请求帧中携带相关的信息。 WiFi接入点收到探测请求帧后, 如果判断自身符合 探测请求帧中的过滤条件, 就向该终端发送探测响应帧。 终端通过接收到探测响应帧, 判断 WiFi接入点的存在, 并从探测响应帧中获得该 WiFi接入点的能力、 可接入业务网络 的信息等。 终端结合从切换响应消息中获得的接入点信息, 从扫描到的 WiFi接入点中选 定一个可接入当前正在使用的 WiMAX核心网的接入点, 作后续连接工作。 终端扫描接入 点和选择接入点的具体过程, 在 IEEE 802. 11基本协议和 802. l lu增补协议里都有相关描 述, 这里不详细描述。  After the terminal turns on the WiFi radio, the terminal can passively scan the WiFi access point. The so-called passive scanning means that the terminal does not send a message to the outside, but passively receives the beacon frame periodically sent by the WiFi access point, and can receive the beacon. The frame indicates that there is a WiFi access point nearby, and can obtain some necessary information from the beacon frame, such as service network information that can be accessed through the access point. If the terminal turns off the WiMAX radio and turns off the WiMAX radio, the terminal can also use the active scanning method to find the WiFi access point. The so-called active scanning means that the terminal actively sends the probe request frame and carries the relevant information in the probe request frame. After receiving the probe request frame, the WiFi access point sends a probe response frame to the terminal if it determines that it meets the filter condition in the probe request frame. The terminal determines the presence of the WiFi access point by receiving the probe response frame, and obtains the capability of the WiFi access point, the information of the accessible service network, and the like from the probe response frame. The terminal combines the access point information obtained from the handover response message, and selects an access point from the scanned WiFi access point that can access the currently used WiMAX core network for subsequent connection work. The specific process of the terminal scanning the access point and selecting the access point is described in the IEEE 802.11 basic protocol and the 802. l lu supplemental protocol, which are not described in detail herein.
终端在选择了确定的 AP之后, 就与这个 AP做接入关联, 关联完成后启动到 WiFi 网络的认证过程。  After selecting the determined AP, the terminal associates with the AP, and initiates the authentication process to the WiFi network after the association is completed.
910、 终端完成到 WiFi网络的认证过程;  910. The terminal completes an authentication process to the WiFi network.
WiFi网络中的认证器会向终端发送认证请求消息,请求所述终端的标识信息。终端 向认证器返回所述终端的标识信息, 认证器接收到标识信息之后, 将该标识信息转发给 WiMAX核心网中的认证服务器, 即 AAA服务器。 AAA服务器检查自身是否已经存在这个 标识信息, 也就是检查终端是否已经注册。 因为终端之前是通过 WiMAX接入网接入到 WiMAX核心网的, 所以 AAA服务器已经存在终端的标识信息, 则之后 AAA服务器按照 802. lx协议验证终端的真伪,认证器在 AAA服务器和终端之间转发认证消息,直至认证 完成。 当认证完成后, 所述认证器与所述终端协商用于会话的成对临时密钥, 或所述终 端直接与 WiMAX核心网中的认证服务器交互, 产生用于会话的成对临时密钥。 以后终端 就可以正式接入到 WiFi 网络, 并利用成对设备之间的主密钥派生的会话密钥保护终端 与接入点之间的通信。 这些过程在 IEEE 802. 11协议中有详细描述, 这里不再重复。 911、 终端通过 WiFi网络获取网络地址; The authenticator in the WiFi network sends an authentication request message to the terminal requesting the identification information of the terminal. The terminal returns the identification information of the terminal to the authenticator. After receiving the identification information, the authenticator forwards the identification information to the authentication server in the WiMAX core network, that is, the AAA server. The AAA server checks whether the identity information already exists, that is, whether the terminal has been registered. Because the terminal is connected to the WiMAX core network through the WiMAX access network, the AAA server already has the identification information of the terminal, and then the AAA server verifies the authenticity of the terminal according to the 802. lx protocol, and the authenticator is in the AAA server and the terminal. The authentication message is forwarded until the authentication is completed. After the authentication is completed, the authenticator negotiates a pairwise temporary key for the session with the terminal, or the terminal directly interacts with an authentication server in the WiMAX core network to generate a paired temporary key for the session. In the future, the terminal can formally access the WiFi network and protect the terminal by using the session key derived from the master key between the paired devices. Communication with the access point. These procedures are described in detail in the IEEE 802.11 protocol and will not be repeated here. 911. The terminal obtains a network address through a WiFi network.
终端在完成到 WiFi网络的认证过程后, 需要 WiFi网络为其分配一个网络地址, 这一 过程可以通过 DHCP协议完成。 WiFi接入网中有一个 DHCP代理( proxy )或 DHCP中继(re 1 ay) 功能, 可将 DHCP消息转发到 WiMAX网络中的 IP (网络协议) 地址分配服务器。 DHCP中继 功能只是简单地在终端与地址分配服务器间转发 DHCP消息。 但在使用 DHCP代理的情况 下, WiMAX核心网中的 IP地址分配服务器应该使用 DHCP服务器。 DHCP代理也可以终结 DHCP 消息, 使用其它的地址分配协议, 例如移动 IP协议, 向 WiMAX网络中的 AAA服务器要求获 得 IP地址, 这时的 DHCP代理称为 DHCP proxy (代理) 。 通过上述两种途径, 终端可以仅 使用 DHCP协议通过 WiFi网络获得 IP地址。 终端也可以直接使用移动 IP协议, 这时 WiFi接 入网络中有一个外部代理用于接收终端请求网络地址的消息。  After completing the authentication process to the WiFi network, the terminal needs to assign a network address to the WiFi network. This process can be completed through the DHCP protocol. The WiFi access network has a DHCP proxy or DHCP relay (re 1 ay) function that forwards DHCP messages to an IP (Network Protocol) address allocation server in the WiMAX network. The DHCP relay function simply forwards DHCP messages between the terminal and the address assignment server. However, in the case of a DHCP proxy, the IP address allocation server in the WiMAX core network should use a DHCP server. The DHCP proxy can also terminate the DHCP message and use other address allocation protocols, such as the Mobile IP protocol, to request an IP address from the AAA server in the WiMAX network. The DHCP proxy is called a DHCP proxy. Through the above two methods, the terminal can obtain an IP address through the WiFi network using only the DHCP protocol. The terminal can also directly use the mobile IP protocol. At this time, the WiFi access network has an external proxy for receiving the message that the terminal requests the network address.
上述地址分配过程中实际分配给终端的地址包括终端的家乡地址 (H0A)和转交地址 (C0A) 家乡地址一般保持不变, 而转交地址在终端使用移动 IP协议时直接发给终端, 也是终端所使用的地址; 在终端使用 DHCP协议时, 转交地址只是在接入网侧记录, 而不 直接发送给终端, 终端不知道这个地址的存在。 关于 DHCP协议和移动 IP协议可以参考 WiMAX现有规范, 这里不再详细描述。  The address actually assigned to the terminal in the above address allocation process includes the home address (H0A) and the care-of address (C0A) of the terminal, and the home address is generally unchanged, and the care-of address is directly sent to the terminal when the terminal uses the mobile IP protocol, which is also the terminal. Address used; When the terminal uses the DHCP protocol, the care-of address is only recorded on the access network side, and is not directly sent to the terminal. The terminal does not know the existence of this address. For the DHCP protocol and the mobile IP protocol, refer to the existing WiMAX specifications, which will not be described in detail here.
在终端使用 DHCP协议时, WiFi网络还可以用其它方式给终端分配 IP地址, 例如 WiFi 网络可以为终端分配一个私网地址, 然后从 WiMAX核心网获得一个公网地址或仅使用自 己对外的公网地址, 然后对来自终端或发往终端的报文做 NAT/NAPT (网络地址和端口转 换) 转换。  When the terminal uses the DHCP protocol, the WiFi network can also assign an IP address to the terminal in other ways. For example, the WiFi network can assign a private network address to the terminal, and then obtain a public network address from the WiMAX core network or use only the external public network. The address is then NAT/NAPT (Network Address and Port Translation) conversion for messages from the terminal or to the terminal.
在终端获得 IP地址的过程中, WiFi接入网络中的地址分配实体即 DHCP代理或移动 IP 外部代理在获知分配给终端的新的转交地址之后,将这个新的转交地址通过地址绑定更 新消息发送给 WiMAX核心网中的家乡代理。 这样家乡代理就可以将应该发送给该终端的 报文以隧道方式发送到新的转交地址。 如果没有使用移动 IP协议, 该地址绑定更新消息 可以由 DHCP代理发送给 WiMAX核心网络中的核心路由器, 该地址绑定更新消息包括终端 新的可全局路由的 IP地址, 由 WiMAX核心路由器将应该送往该终端的报文发送到新的 IP 地址。 在这种情况下, 通信对端需要知道终端新的 IP地址。  In the process of obtaining the IP address by the terminal, the address assignment entity in the WiFi access network, that is, the DHCP proxy or the mobile IP foreign proxy, after obtaining the new care-of address assigned to the terminal, passes the new care-of address through the address binding update message. Send to the home agent in the WiMAX core network. In this way, the home agent can tunnel the message that should be sent to the terminal to the new care-of address. If the mobile IP protocol is not used, the address binding update message may be sent by the DHCP proxy to the core router in the WiMAX core network. The address binding update message includes the terminal's new globally routable IP address, which should be addressed by the WiMAX core router. The message sent to the terminal is sent to the new IP address. In this case, the communication peer needs to know the new IP address of the terminal.
WiFi接入网中的 DHCP代理或外部代理向家乡代理或 WiMAX核心路由器发送地址绑定 更新消息的过程可以发生在地址分配的过程中, 也可以发生在地址分配完成之后。  The DHCP proxy or external proxy in the WiFi access network sends address bindings to the home agent or WiMAX core router. The process of updating the message can occur during the address assignment process or after the address assignment is completed.
在地址分配的最后一步, 如果终端使用的是 DHCP协议, 则终端会收到一个 DHCP应 答消息, 或者在终端使用移动 IP协议时, 终端会收到一个移动 IP响应消息, 在终端收 到上述消息之后, 表示地址分配过程结束。 In the final step of address allocation, if the terminal uses the DHCP protocol, the terminal will receive a DHCP response. Answer message, or when the terminal uses the mobile IP protocol, the terminal will receive a mobile IP response message, and after the terminal receives the above message, it indicates that the address allocation process ends.
912、 终端向切换服务功能实体发送切换结束消息。  912. The terminal sends a handover end message to the handover service function entity.
终端通过 WiFi接入网向 WiMAX核心网中的切换服务功能实体发送切换结束消息。 至 此, 终端从 WIAMX网络到 WIFI网络的切换过程完成。  The terminal sends a handover end message to the handover service function entity in the WiMAX core network through the WiFi access network. At this point, the handover process of the terminal from the WIAMX network to the WIFI network is completed.
需要说明的是, 在切换服务功能实体收到切换结束消息后, 根据网络的资源管理策 略, 可能需要向终端使用的原 WiMAX接入网发送一个资源释放指示消息以释放与该终端 相关的资源。  It should be noted that after the handover service function entity receives the handover end message, according to the resource management policy of the network, it may be necessary to send a resource release indication message to the original WiMAX access network used by the terminal to release resources related to the terminal.
通过以上过程, 终端就完成了从 WiMAX网络到 WiFi网络的切换过程, 而且能够在切 换过程中保持了业务的连续性。 例外的情况是, 如果在步骤 909, 终端扫描不到任何可 用的 WiFi网络接入点, 或者在步骤 910, 终端与 AAA服务器的认证失败, 或者在步骤 911, 地址分配过程失败, 终端可以重新返回到 WiMAX接入网, 此时在原 WiMAX网络中与该终端 相关的资源仍然保留, 终端只需向切换服务功能实体发送撤销切换消息, 表示撤销切换 过程即可, 然后切换服务功能实体向家乡代理发送恢复连接消息, 以恢复先前的连接, 则终端就可以继续通过 WiMAX接入网使用业务。  Through the above process, the terminal completes the handover process from the WiMAX network to the WiFi network, and can maintain the continuity of the service during the switching process. The exception is if, in step 909, the terminal does not scan any available WiFi network access points, or in step 910, the authentication of the terminal with the AAA server fails, or in step 911, the address allocation process fails, the terminal can return again. To the WiMAX access network, the resources related to the terminal in the original WiMAX network are still reserved, and the terminal only needs to send the revocation handover message to the handover service function entity, indicating that the handover process is cancelled, and then the handover service function entity sends the handover to the home agent. By resuming the connection message to restore the previous connection, the terminal can continue to use the service over the WiMAX access network.
本发明实施例提供了一种切换系统, 在终端从 WiMAX接入网切换到 WiFi网络时, 终端先利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络接入点的预认证过程, 之后再关闭 WiMAX射频,打开 WiFi射频,进行从 WiMAX到 WiFi的切换,通过到周边 WiFi 网络接入点的预认证过程,可以大大减少终端选择 WiFi网络接入点以及终端到 WiFi网 络的认证过程所需要的时间, 从而保证业务的连续性。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何 熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应 涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围 为准。  The embodiment of the present invention provides a handover system. When a terminal switches from a WiMAX access network to a WiFi network, the terminal first uses the authentication server in the WiMAX core network to complete the pre-authentication process to the surrounding WiFi network access point, and then closes. WiMAX radio, turn on the WiFi radio, switch from WiMAX to WiFi, and pass the pre-authentication process to the surrounding WiFi network access point, which can greatly reduce the time required for the terminal to select the WiFi network access point and the terminal to the WiFi network authentication process. To ensure continuity of business. The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种切换方法, 其特征在于, 包括:  A switching method, comprising:
通过 WiMAX接入网接收终端发送的第一请求消息,所述第一请求消息中包含终端位 置信息;  Receiving, by the WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information;
根据所述第一请求消息中携带的终端位置信息,从接入点信息服务器获得终端周边 的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目标接入点信息通过第一响应消 息提供给终端;  Obtaining, according to the terminal location information carried in the first request message, the WiFi network access point information around the terminal from the access point information server, determining the target access point, and passing the target access point information through the first response. The message is provided to the terminal;
发起并完成所述终端到 WiFi网络的预认证过程。  The pre-authentication process of the terminal to the WiFi network is initiated and completed.
2、 根据权利要求 1所述的切换方法, 其特征在于, 所述终端位置信息包括: 终端 当前的位置信息; 或终端最近至少一个时间点的位置信息, 或终端获得前后两个位置信 息的时间间隔; 或终端当前运动速率及方向、 终端当前运动曲线的半径。  The handover method according to claim 1, wherein the terminal location information comprises: location information of the terminal; or location information of the terminal at least one time point, or time when the terminal obtains two location information before and after Interval; or the current motion rate and direction of the terminal, the radius of the current motion curve of the terminal.
3、根据权利要求 1所述的切换方法,其特征在于,所述发起并完成所述终端到 WiFi 网络的预认证过程之前, 还包括:  The handover method according to claim 1, wherein before the initiating and completing the pre-authentication process of the terminal to the WiFi network, the method further includes:
接收终端通过 WiMAX接入网发送的第二请求消息,所述第二请求消息携带选定的目 标接入点信息。  And receiving, by the terminal, a second request message sent by the WiMAX access network, where the second request message carries the selected target access point information.
4、 根据权利要求 1所述的切换方法, 其特征在于, 所述发起并完成所述终端到无 线保真网络的预认证过程之后, 还包括:  The handover method according to claim 1, wherein after the initiating and completing the pre-authentication process of the terminal to the wireless fidelity network, the method further includes:
向 WiMAX核心网中的家乡代理发送保持连接请求消息,指示保持所述终端的当前连 接。  A keep-alive request message is sent to the home agent in the WiMAX core network to indicate that the current connection to the terminal is maintained.
5、 一种切换方法, 其特征在于, 包括:  5. A switching method, comprising:
利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中的接入点的预认证过程; 从 WiMAX接入网切换到 WiFi网络。  The pre-authentication process to the access point in the surrounding WiFi network is completed by using the authentication server in the WiMAX core network; the WiMAX access network is switched to the WiFi network.
6、 根据权利要求 5所述的切换方法, 其特征在于, 所述利用 WiMAX核心网中的认 证服务器完成到周边 WiFi网络中的接入点的预认证过程之前, 还包括:  The handover method according to claim 5, wherein before the pre-authentication process of the access point in the peripheral WiFi network is completed by using the authentication server in the WiMAX core network, the method further includes:
向 WiMAX接入网发送第一请求消息, 所述第一请求消息中包含终端位置信息; 接收 WiMAX接入网返回的第一响应消息, 所述第一响应消息中包含所述终端目标 WiFi网络中的目标接入点信息。  Sending a first request message to the WiMAX access network, where the first request message includes terminal location information; receiving a first response message returned by the WiMAX access network, where the first response message includes the terminal target WiFi network Target access point information.
7、 根据权利要求 6所述的切换方法, 其特征在于, 所述终端位置信息包括: 终端 当前的位置信息; 或终端最近至少一个时间点的位置信息, 或终端获得前后两个位置信 息的时间间隔; 或终端当前运动速率及方向、 终端当前运动曲线的半径。 The handover method according to claim 6, wherein the terminal location information comprises: location information of the terminal; or location information of the terminal at least one time point, or time when the terminal obtains two location information before and after Interval; or the current motion rate and direction of the terminal, the radius of the current motion curve of the terminal.
8、根据权利要求 5所述的切换方法,其特征在于,所述从 WiMAX接入网切换到 WiFi 网络包括: The handover method according to claim 5, wherein the switching from the WiMAX access network to the WiFi network comprises:
关联到 WiFi网络接入点并进行认证;  Associated with a WiFi network access point and authenticated;
通过所述 WiFi网络获取网络地址, 所述网络地址包括家乡地址和转交地址; 向所述 WiMAX核心网中的切换服务功能实体发送切换结束消息, 表示从所述 WiMAX 接入网切换到所述 WiFi网络。  Obtaining, by the WiFi network, a network address, where the network address includes a home address and a care-of address; sending a handover end message to the handover service function entity in the WiMAX core network, indicating that the WiFi is switched from the WiMAX access network to the WiFi The internet.
9、 根据权利要求 8所述的切换方法, 其特征在于, 所述关联到 WiFi网络接入点并 进行认证包括:  The handover method according to claim 8, wherein the associating to the WiFi network access point and performing the authentication comprises:
扫描周边 WiFi网络接入点,并从扫描到的一个以上 WiFi网络接入点中选择一个可 接入所述 WiMAX接入网的接入点。  Scan the surrounding WiFi network access point and select an access point from the scanned one or more WiFi network access points to access the WiMAX access network.
关联到选择的 WiFi网络接入点;  Associated to the selected WiFi network access point;
接收 WiFi 网络中的认证器发送的认证请求消息, 所述认证请求消息请求所述终端 的标识信息;  Receiving an authentication request message sent by an authenticator in the WiFi network, where the authentication request message requests identification information of the terminal;
向所述认证器返回所述终端的标识信息。  Returning the identification information of the terminal to the authenticator.
10、 一种切换服务功能实体, 其特征在于, 包括:  10. A handover service function entity, comprising:
第一接收模块, 用于通过 WiMAX接入网接收终端发送的第一请求消息, 所述第一请 求消息中包含终端位置信息;  a first receiving module, configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information;
获取模块, 用于根据所述第一请求消息中携带的终端位置信息, 从接入点信息服务 器获得终端周边的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目标接入点信息 通过第一响应消息提供给终端;;  An acquiring module, configured to obtain, according to the terminal location information carried in the first request message, information about WiFi network access points around the terminal from the access point information server, determine a target access point, and obtain the target access point Information is provided to the terminal through the first response message;
第一预认证模块, 用于发起并完成所述终端到 WiFi网络的预认证过程。  The first pre-authentication module is configured to initiate and complete a pre-authentication process of the terminal to the WiFi network.
11、 根据权利要求 10所述的切换服务功能实体, 其特征在于, 还包括: 指示模块, 用于向 WiMAX核心网中的家乡代理发送保持连接请求消息, 指示保持所 述终端的当前业务。  The handover service function entity according to claim 10, further comprising: an indication module, configured to send a keep connection request message to the home agent in the WiMAX core network, to indicate that the current service of the terminal is maintained.
12、 一种终端, 其特征在于, 包括:  12. A terminal, comprising:
第二预认证模块, 用于利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中 的接入点的预认证过程;  a second pre-authentication module, configured to perform an pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network;
切换模块, 用于从 WiMAX接入网切换到 WiFi网络。  A switching module for switching from a WiMAX access network to a WiFi network.
13、 根据权利要求 12所述的终端, 其特征在于, 还包括:  The terminal according to claim 12, further comprising:
第一发送模块, 用于向 WiMAX接入网发送第一请求消息, 所述第一请求消息中包含 终端位置信息; a first sending module, configured to send a first request message to the WiMAX access network, where the first request message includes Terminal location information;
第二接收模块, 用于接收 WiMAX接入网返回的第一响应消息, 所述第一响应消息中 包含所述第二预认证模块要进行预认证过程的目标接入点信息。  And a second receiving module, configured to receive a first response message returned by the WiMAX access network, where the first response message includes target access point information that the second pre-authentication module is to perform a pre-authentication process.
14、 根据权利要求 12所述的终端, 其特征在于, 所述切换模块包括:  The terminal according to claim 12, wherein the switching module comprises:
认证子模块, 用于关联到 WiFi网络接入点并进行认证;  An authentication submodule, configured to associate to a WiFi network access point and perform authentication;
获取子模块, 用于通过所述 WiFi 网络获取网络地址, 所述网络地址包括家乡地址 和转交地址;  Obtaining a sub-module, configured to acquire a network address by using the WiFi network, where the network address includes a home address and a care-of address;
第二发送子模块,用于向所述 WiMAX核心网中的切换服务功能实体发送切换结束消 息, 表示从所述 WiMAX接入网切换到所述 WiFi网络。  And a second sending submodule, configured to send a handover end message to the handover service function entity in the WiMAX core network, indicating that the WiMAX access network is handed over to the WiFi network.
15、 根据权利要求 14所述的终端, 其特征在于, 所述认证子模块包括: 关联单元, 用于关联到选择的 WiFi网络接入点;  The terminal according to claim 14, wherein the authentication submodule comprises: an association unit, configured to associate to a selected WiFi network access point;
接收单元, 用于接收 WiFi 网络中的认证器发送的认证请求消息, 所述认证请求消 息请求所述终端的标识信息;  a receiving unit, configured to receive an authentication request message sent by an authenticator in a WiFi network, where the authentication request message requests identification information of the terminal;
发送单元, 用于向所述认证器返回所述终端的标识信息。  And a sending unit, configured to return, to the authenticator, identification information of the terminal.
16、 一种切换系统, 其特征在于, 包括:  16. A switching system, comprising:
切换服务功能实体, 用于通过 WiMAX接入网接收终端发送的第一请求消息, 所述第 一请求消息中包含终端位置信息, 根据所述第一请求消息中携带的终端位置信息, 从接 入点信息服务器获得终端周边的 WiFi 网络接入点信息, 确定目标接入点, 并将所述目 标接入点信息通过第一响应消息提供给终端, 发起并完成所述终端到 WiFi 网络的预认 证过程;  a handover service function entity, configured to receive, by using a WiMAX access network, a first request message sent by the terminal, where the first request message includes terminal location information, and the slave terminal location information carried in the first request message is accessed from the terminal The point information server obtains the WiFi network access point information around the terminal, determines the target access point, and provides the target access point information to the terminal through the first response message, and initiates and completes the pre-authentication of the terminal to the WiFi network. Process
终端, 用于利用 WiMAX核心网中的认证服务器完成到周边 WiFi网络中的接入点的 预认证过程, 从 WiMAX接入网切换到 WiFi网络。  The terminal is configured to perform a pre-authentication process to an access point in the surrounding WiFi network by using an authentication server in the WiMAX core network, and switch from the WiMAX access network to the WiFi network.
17、 根据权利要求 16所述的切换系统, 其特征在于, 所述终端还用于向 WiMAX接 入网发送第一请求消息, 并接收 WiMAX接入网返回的第一响应消息。  The switching system according to claim 16, wherein the terminal is further configured to send a first request message to the WiMAX access network, and receive a first response message returned by the WiMAX access network.
18、 根据权利要求 16所述的切换系统, 其特征在于, 还包括:  The switching system according to claim 16, further comprising:
接入点信息服务器,用于接收所述切换服务功能实体发送的包含所述终端位置信息 的接入点信息请求消息, 根据所述位置信息判断出终端周边的 WiFi 网络接入点, 并向 所述切换服务功能实体返回接入点信息响应消息。  The access point information server is configured to receive an access point information request message that is sent by the handover service function entity and includes the terminal location information, and determine, according to the location information, a WiFi network access point around the terminal, and The handover service function entity returns an access point information response message.
19、 根据权利要求 16所述的切换系统, 其特征在于, 还包括:  The switching system according to claim 16, further comprising:
家乡代理, 用于接收所述切换服务功能实体发送的保持连接请求消息, 并向所述切 换服务功能实体返回表示接受所述连接请求的保持连接响应消息。 a home agent, configured to receive a keep connection request message sent by the handover service function entity, and to the The service function entity returns a keep connection response message indicating acceptance of the connection request.
20、 根据权利要求 16所述的切换系统, 其特征在于, 还包括:  The switching system according to claim 16, further comprising:
认证器, 用于向所述终端发送认证请求消息, 接收所述终端返回的标识信息, 并将 所述标识信息转发给全球微波互联接入核心网中的认证服务器,与所述终端协商用于会 话的成对临时密钥。  An authenticator, configured to send an authentication request message to the terminal, receive the identifier information returned by the terminal, and forward the identifier information to an authentication server in the global microwave interconnection access core network, and negotiate with the terminal to use The paired temporary key for the session.
认证服务器, 用于接收所述认证器发送的标识信息, 与所述终端交互, 产生用于会 话的成对临时密钥。  And an authentication server, configured to receive the identifier information sent by the authenticator, interact with the terminal, and generate a paired temporary key for the session.
PCT/CN2010/072242 2009-05-07 2010-04-27 Handoff method, device and system WO2010127597A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910136555.8 2009-05-07
CN2009101365558A CN101883312A (en) 2009-05-07 2009-05-07 Switching method, equipment and system

Publications (1)

Publication Number Publication Date
WO2010127597A1 true WO2010127597A1 (en) 2010-11-11

Family

ID=43049969

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072242 WO2010127597A1 (en) 2009-05-07 2010-04-27 Handoff method, device and system

Country Status (2)

Country Link
CN (1) CN101883312A (en)
WO (1) WO2010127597A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101336A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Wi-Fi access method and apparatus, mobile terminal, and server
US20170135015A1 (en) * 2014-08-01 2017-05-11 Huawei Technologies Co., Ltd. Information Transmission Method, Wireless Network Control Apparatus, and Network Access Point
CN107872796A (en) * 2016-09-26 2018-04-03 中国电信股份有限公司 Terminal accesses WiFi authentication method, system and relevant device

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045797B (en) * 2010-12-14 2013-03-06 迈普通信技术股份有限公司 Method and system for accelerating cell switching in high-speed vehicle moving environment
US20120177003A1 (en) * 2011-01-11 2012-07-12 Futurewei Technologies, Inc. System and Method for Single Radio Handovers
CN103109568A (en) * 2011-09-14 2013-05-15 华为技术有限公司 Method and device for acquiring wifi access point information
CN103298077B (en) * 2012-02-27 2016-02-10 京信通信系统(中国)有限公司 GSM/GPRS network and Wi-Fi network isomery method and system
CN103379586B (en) * 2012-04-24 2018-09-28 华为终端(东莞)有限公司 A kind of method and website, access point finding access point
CN103428689B (en) * 2012-05-16 2017-03-15 中兴通讯股份有限公司 Cipher key processing method and device
US10051521B2 (en) 2012-11-27 2018-08-14 Qualcomm Incorporated Fast association and address continuity for handoff between unmanaged access points
CN105050048B (en) * 2015-07-31 2019-05-03 腾讯科技(深圳)有限公司 A kind of network access point location information prompt method, terminal and server
CN105391770A (en) * 2015-10-13 2016-03-09 北京乐动卓越科技有限公司 Use method and use system of on-vehicle wireless network
CN105657788A (en) * 2016-03-11 2016-06-08 中国联合网络通信集团有限公司 Connection fallback method of wireless local area network and terminal
CN106507394B (en) * 2016-11-15 2021-04-09 新华三技术有限公司 Data sending method, data receiving method, electronic equipment and access point
CN108235384B (en) * 2016-12-12 2020-10-16 华为技术有限公司 Wireless network switching method and device
CN109996304A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 A kind of Internet of Things method for switching network and device
CN110418326B (en) * 2018-04-28 2021-05-18 华为技术有限公司 Roaming switching method, central control equipment and client
CN112566200B (en) * 2020-12-04 2023-03-21 展讯通信(上海)有限公司 Method for maintaining service continuity of access point, router device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227745A1 (en) * 2005-03-11 2006-10-12 Interdigital Technology Corporation Method and system for station location based neighbor determination and handover probability estimation
CN101366292A (en) * 2006-01-09 2009-02-11 思科技术公司 Seamless roaming for dual-mode wimax/wifi stations
CN101365242A (en) * 2008-08-29 2009-02-11 同济大学 Method and system based on mobile prediction and group switching
WO2009046047A1 (en) * 2007-10-02 2009-04-09 Qualcomm Incorporated Method and apparatus for performing inter-frequency handoff in a wireless communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227745A1 (en) * 2005-03-11 2006-10-12 Interdigital Technology Corporation Method and system for station location based neighbor determination and handover probability estimation
CN101366292A (en) * 2006-01-09 2009-02-11 思科技术公司 Seamless roaming for dual-mode wimax/wifi stations
WO2009046047A1 (en) * 2007-10-02 2009-04-09 Qualcomm Incorporated Method and apparatus for performing inter-frequency handoff in a wireless communication network
CN101365242A (en) * 2008-08-29 2009-02-11 同济大学 Method and system based on mobile prediction and group switching

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101336A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Wi-Fi access method and apparatus, mobile terminal, and server
CN105101336B (en) * 2014-05-15 2019-08-20 中兴通讯股份有限公司 A kind of Wi-Fi cut-in method, device, mobile terminal and server
US20170135015A1 (en) * 2014-08-01 2017-05-11 Huawei Technologies Co., Ltd. Information Transmission Method, Wireless Network Control Apparatus, and Network Access Point
US10237799B2 (en) * 2014-08-01 2019-03-19 Huawei Technologies Co., Ltd. Information transmission method, wireless network control apparatus, and network access point
CN107872796A (en) * 2016-09-26 2018-04-03 中国电信股份有限公司 Terminal accesses WiFi authentication method, system and relevant device

Also Published As

Publication number Publication date
CN101883312A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
WO2010127597A1 (en) Handoff method, device and system
KR101467780B1 (en) Method for handover between heterogeneous radio access networks
US8462696B2 (en) Method, radio system, mobile terminal and base station for providing local breakout service
AU2009250995B2 (en) Wireless communication method and system for implementing media independent handover between technologies diversified access networks
US8910271B2 (en) System and method for handover between interworking WLAN and EUTRAN access systems
RU2503147C2 (en) Handover method and handover apparatus
US8914869B2 (en) Gateway system and method for implementing access to various media
US20110063997A1 (en) Interworking between wimax and 3gpp networks
JP2005130487A (en) System and method for coupling between mobile communication system and wireless lan
KR20060093020A (en) Method and system for system discovery and user selection
WO2009006848A1 (en) Access network switching method, anchor management device, and mobile accessing device
KR20070089377A (en) Method and system for transmitting/receiving data in the heterogeneous communication systems
WO2008022597A1 (en) Method and device for terminal handover, method and device for getting address of origin access entity
WO2008119296A1 (en) A method and device for performing mobility management protocol negotiation
WO2010130191A1 (en) Authentication method of switching access networks, system and device thereof
Dutta et al. A framework of media-independent pre-authentication (MPA) for inter-domain handover optimization
KR101460680B1 (en) Method for interworking among wireless technologies
JP4642506B2 (en) Identification address setting device and mobile network packet relay device having the same
WO2010130198A1 (en) Method, system and equipment for handover between access networks
Dutta et al. MPA assisted optimized proactive handoff scheme
JP5523583B2 (en) Method, apparatus, and system for leaving or unregistering femto base station in network
EP2299748B1 (en) Method and system for supporting mobility security in the next generation network
CA2583182C (en) Reducing handoff latency for a mobile station
WO2007143950A1 (en) An apparatus and method for implementing the boot-strap of the dual-stack node in the heterogeneous network
WO2011017990A1 (en) Method and system for implementing fast handover for terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10772000

Country of ref document: EP

Kind code of ref document: A1