[go: up one dir, main page]

WO2015161451A1 - Procédé de réacheminement de paquet de protocole internet, passerelle mobile et contrôleur de réseau radio - Google Patents

Procédé de réacheminement de paquet de protocole internet, passerelle mobile et contrôleur de réseau radio Download PDF

Info

Publication number
WO2015161451A1
WO2015161451A1 PCT/CN2014/075968 CN2014075968W WO2015161451A1 WO 2015161451 A1 WO2015161451 A1 WO 2015161451A1 CN 2014075968 W CN2014075968 W CN 2014075968W WO 2015161451 A1 WO2015161451 A1 WO 2015161451A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
mobile gateway
packet
identifier
gateway
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2014/075968
Other languages
English (en)
Chinese (zh)
Inventor
曾广珠
谢勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2014/075968 priority Critical patent/WO2015161451A1/fr
Priority to CN201480078084.9A priority patent/CN106233759B/zh
Publication of WO2015161451A1 publication Critical patent/WO2015161451A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location

Definitions

  • the present invention relates to communication technologies, and in particular, to a method for forwarding Internet Protocol messages, a mobile gateway, and a radio network controller. Background technique
  • IP Internet Protocol
  • Mobile IP provides an IP route. Mechanism that allows a mobile node to connect to any link with a fixed IP address.
  • Mobile IPv6 provides a specific solution for implementing mobile nodes to maintain communication during network layer mobility. Specifically: When the mobile node is in the home network segment, it communicates with the communication node (the communication node is a device with routing function). , such as wireless routers, etc.
  • the mobile node does not require the intervention of mobile IPv6; when the mobile node moves to the foreign link, the mobile node's home address remains unchanged, and at the same time obtain a temporary IP address (That is, the care-of address), and the mobile node informs the home agent of the mapping of the home address and the care-of address; the data packet sent by the device communicating with the mobile node to the mobile node is still sent to the home address of the mobile node; the home agent can intercept the data packet And forwarding the forwarding address to the mobile node by tunneling according to the obtained mapping relationship, so that the mobile node can communicate with the device.
  • a temporary IP address That is, the care-of address
  • a packet gateway hereinafter referred to as PGW
  • a serving gateway hereinafter referred to as SGW
  • an evolved base station Evolved Node B, hereinafter referred to as eNB
  • GTP general packet radio service tunneling protocol
  • the prior art cancels the GTP tunnel between the base station and the mobile gateway by constructing the network architecture as shown in FIG. 1, and replaces it with pure IP routing and forwarding.
  • the present invention provides a method for forwarding an Internet Protocol message, a mobile gateway, and a radio network controller, to solve the problem in the prior art that when a mobile terminal switches from one network to another, other communication devices send the UE to the UE.
  • the present invention provides a mobile gateway, including:
  • a receiver configured to receive a first message sent by the radio network controller SNC, where the first message is used to instruct the mobile gateway to route the received first Internet Protocol IP packet to the first routing node, where The first IP packet includes an identifier of the mobile terminal UE;
  • a transmitter configured to route the received first IP packet to the first routing node according to the first message.
  • the mobile gateway further includes:
  • a processor configured to: after the first message sent by the SNC is received by the receiver, generate, according to the first message, a next station node UENH entry of the mobile terminal; where the UENH entry is A correspondence table entry between the identifier of the UE and the identifier of the first routing node.
  • the receiver is further configured to receive the first IP packet that is sent by the network device,
  • the processor is configured to: search the UENH table according to the identifier of the UE in the first IP packet, and obtain a search result; where the UENH table includes the UENH entry; and generate a second according to the search result.
  • the UENH table is a mobile terminal base station UEBS table or a mobile terminal gateway UEGW table, where the processor is configured, Specifically, the method is configured to generate a UE BS entry according to the first message, where the UEBS entry is a correspondence between the identifier of the UE and an identifier of the first routing node, where the first routing node is a base station, where the first base station is a base station where the UE currently camps; Or generating a UEGW entry according to the first message, where the UEGW entry is a correspondence between the identifier of the UE and an identifier of the first routing node, where the first routing node is the second
  • the mobile gateway, where the second mobile gateway is located, is the network where the UE currently resides.
  • the processor is configured to perform a first determining operation, to obtain a first determining result, where
  • the first determining operation includes: determining, by the processor, whether a destination address of the first IP packet is the same as a host address of the mobile gateway, and determining whether a routing header of the first IP packet is empty; And searching for the UENH table according to the first judgment result and the identifier of the UE in the first IP packet, to obtain a search result.
  • the processor is specifically configured to: if the first determination result is the first IP packet The destination address is the same as the host address of the mobile gateway, and the routing header of the first IP packet is not empty, and the UEBS table is searched according to the identifier of the UE in the first IP packet. The UEBS entry in the obtaining the search result.
  • the processor is specifically configured to: if the searching result is, the processor searches for the UEBS table If the item is successful, the first routing node is determined to be the first base station, and the destination address of the first IP packet is changed to the IP address of the first base station, and a second IP packet is generated.
  • the transmitter is specifically configured to send the second IP packet to the first base station.
  • the processor is specifically configured to: if the first determination result is the first IP packet Determining whether the destination address of the first IP packet is the same as the network address of the mobile gateway, and obtaining a second determination result; and determining, according to the second judgment, that the destination address of the first IP packet is different from the network address of the mobile gateway. And searching for the UENH table with the identifier of the UE in the first IP packet, to obtain the search result.
  • the processor is specifically configured to: if the second determination result is the first IP packet
  • the address is the same as the network address of the mobile gateway, according to the foregoing in the first IP packet.
  • the identifier of the UE searches for the UEBS entry in the UEBS table, and obtains the search result.
  • the processor is specifically configured to: if the searching result is the processor, according to the first If the identifier of the UE in the IP packet is found to be successful, the first routing node is determined to be the first base station, and the destination address of the first IP packet is changed to the Generating, by the IP address of the first base station, the second IP packet, and adding the identifier of the UE to a routing header of the second IP packet;
  • the transmitter is specifically configured to send the second IP packet to the first base station.
  • the processor is specifically configured to: if the searching result is the processor, look up the UEBS table If the entry is unsuccessful, the UEGW entry in the UEGW table is searched according to the identifier of the UE in the first IP packet, and the processor is configured according to the first IP packet. If the identifier of the UE is found to be successful, the second mobile gateway is determined to be the first routing node, and the destination address of the first IP packet is changed to the second mobile gateway. Generating the second IP packet, and adding the identifier of the UE to a routing header of the second IP packet;
  • the transmitter is specifically configured to send the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determining operation as a new mobile gateway.
  • the processor is further configured to: if the second determination result is the first IP If the destination address of the text is different from the network address of the mobile gateway, the UEGW entry in the UEGW correspondence table is searched according to the identifier of the UE in the first IP packet, and the search result is obtained.
  • the processor is specifically configured to: if the search result is the mobile gateway, according to the If the identifier of the UE in the first IP packet is found to be successful, the second mobile gateway is determined to be the first routing node, and the destination address of the first IP packet is changed. Generating the second IP packet for the IP address of the second mobile gateway, and adding the identifier of the UE to the routing header of the second IP packet; The transmitter is specifically configured to send the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determining operation as a new mobile gateway.
  • the processor is further configured to receive the receiver at the receiver.
  • the source address of the third IP packet is recorded in the routing header of the third IP packet; and the IP of the mobile gateway is After the address is set to the new source address of the third IP packet, the third IP packet is sent to the target device that communicates with the UE, so that the target device is configured according to the third IP packet.
  • the new source address and the third IP packet routing header send the first IP packet to the mobile gateway, and the destination address of the first IP packet is an IP address of the mobile gateway.
  • the present invention provides a radio network controller, including:
  • a transmitter configured to send a first message to the first mobile gateway, where the first message is used to instruct the first mobile gateway to route the received first Internet Protocol IP packet to the first routing node, where
  • the first IP message includes an identifier of the mobile terminal UE.
  • the present invention provides a mobile gateway, including:
  • a receiving module configured to receive a first message sent by the radio network controller SNC, where the first message is used to instruct the mobile gateway to route the received first Internet Protocol IP packet to the first routing node, where The first IP packet includes an identifier of the mobile terminal UE;
  • the first sending module is configured to route the received first IP packet to the first routing node according to the first message.
  • the mobile gateway further includes:
  • a generating module configured to generate, according to the first message, a next station node UENH entry of the mobile terminal, where the UENH entry is a correspondence between an identifier of the UE and an identifier of the first routing node Relationship table entry.
  • the first sending module includes: a receiving unit, configured to receive the first IP packet sent by the network device;
  • a searching unit configured to search the UENH table according to the identifier of the UE in the first IP packet, and obtain a search result; where the UENH table includes the UENH entry;
  • a generating unit configured to generate a second IP packet according to the search result, where the destination address of the second IP packet is an identifier of the first routing node, and the routing header of the second packet is Including an identifier of the UE;
  • a sending unit configured to send the second IP packet to the first routing node.
  • the UENH table is a mobile terminal base station UEBS table or a mobile terminal gateway UEGW table
  • the generating module is Specifically, the method is: generating a UEBS entry according to the first message, where the UEBS entry is a correspondence between the identifier of the UE and an identifier of the first routing node, where the first routing node is a base station, where the first base station is a base station where the UE is currently camped; or, generating a UEGW entry according to the first message, where the UEGW entry is an identifier and a first route of the UE A corresponding relationship entry of the identifier of the node, where the first routing node is a second mobile gateway, and the network where the second mobile gateway is located is a network where the UE currently resides.
  • the searching unit is specifically configured to perform a first determining operation, to obtain a first determining result, where
  • the first determining operation includes: determining, by the searching unit, whether the destination address of the first IP packet is the same as the host address of the mobile gateway, and determining whether the routing header of the first IP packet is empty; And searching for the UENH table according to the first judgment result and the identifier of the UE in the first IP packet, to obtain a search result.
  • the searching unit is specifically configured to: if the first determining result is the first IP packet The destination address is the same as the host address of the mobile gateway, and the routing header of the first IP packet is not empty, and the UEBS table is searched according to the identifier of the UE in the first IP packet. The UEBS entry in the obtaining the search result.
  • the generating unit is specifically configured to: if the searching result is, the searching unit is configured to search for the UEBS entry Determining that the first routing node is the first base station, and The destination address of the first IP packet is changed to the IP address of the first base station, and a second IP packet is generated.
  • the sending unit is specifically configured to send the second IP packet to the first base station.
  • the searching unit is further configured to: if the first determining result is the first IP packet Determining whether the destination address of the first IP packet is the same as the network address of the mobile gateway, and obtaining a second determination result; and determining, according to the second judgment, that the destination address of the first IP packet is different from the network address of the mobile gateway. And searching for the UENH table with the identifier of the UE in the first IP packet, to obtain the search result.
  • the searching unit is specifically configured to: if the second determination result is the first IP packet The address is the same as the network address of the mobile gateway, and the UEBS entry in the UEBS table is searched according to the identifier of the UE in the first IP packet, and the search result is obtained.
  • the generating unit is specifically configured to: if the searching result is the searching unit, according to the first If the identifier of the UE in the IP packet is found to be successful, the first routing node is determined to be the first base station, and the destination address of the first IP packet is changed to the Generating, by the IP address of the first base station, the second IP packet, and adding the identifier of the UE to a routing header of the second IP packet;
  • the sending unit is specifically configured to send the second IP packet to the first base station.
  • the generating unit is specifically configured to: if the searching result is the searching unit, look up the UEBS table If the entry is unsuccessful, the UEGW entry in the UEGW table is searched according to the identifier of the UE in the first IP packet; if the searching unit is based on the first IP packet If the identifier of the UE is found to be successful, the second mobile gateway is determined to be the first routing node, and the destination address of the first IP packet is changed to the second mobile gateway. Generating the second IP packet, and adding the identifier of the UE to a routing header of the second IP packet;
  • the sending unit is specifically configured to send the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determining operation as a new mobile gateway. Work.
  • the searching unit is specifically configured to: if the second determining result is the first IP If the destination address of the text is different from the network address of the mobile gateway, the UEGW entry in the UEGW correspondence table is searched according to the identifier of the UE in the first IP packet, and the search result is obtained.
  • the generating unit is specifically configured to: if the searching result is the searching unit, according to the If the identifier of the UE in the first IP packet is found to be successful, the second mobile gateway is determined to be the first routing node, and the destination address of the first IP packet is changed. Generating the second IP packet for the IP address of the second mobile gateway, and adding the identifier of the UE to the routing header of the second IP packet;
  • the sending unit is configured to send the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determining operation as a new mobile gateway.
  • the mobile gateway is a mobile gateway of the current roaming network of the UE, and the mobile gateway further includes:
  • a recording module configured to: when the receiving module receives the third IP packet sent by the UE by using the first base station, record the source address of the third IP packet in the third IP packet In the routing header;
  • a setting module configured to set an IP address of the mobile gateway to a new source address of the third IP packet
  • a second sending module configured to send the third IP packet obtained by the setting module to the target device that communicates with the UE, so that the target device according to the new source address of the third IP packet and the
  • the third IP packet routing header sends the first IP packet to the mobile gateway, and the destination address of the first IP packet is an IP address of the mobile gateway.
  • the present invention provides a radio network controller, including:
  • a sending module configured to send a first message to the first mobile gateway, where the first message is used by And instructing the first mobile gateway to route the received first Internet Protocol IP packet to the first routing node, where the first IP packet includes an identifier of the mobile terminal UE.
  • the present invention provides a method for forwarding an Internet Protocol message, including: a first mobile gateway receiving a first message sent by a radio network controller SNC; wherein, the first message is used to indicate the first mobile The gateway routes the received first Internet Protocol IP packet to the first routing node, where the first IP packet includes an identifier of the mobile terminal UE;
  • the first mobile gateway routes the received first IP packet to the first routing node according to the first message.
  • the method further includes: the first mobile gateway Generating, by the first message, the mobile station next-party node UENH entry; where the UENH entry is a correspondence between the identifier of the UE and the identifier of the first routing node.
  • the first mobile gateway according to the first message, the received first IP packet Routing to the first routing node includes:
  • the first mobile gateway searches the UENH table according to the identifier of the UE in the first IP packet, and obtains a search result.
  • the UENH table includes the UENH entry.
  • the first mobile gateway generates a second IP packet according to the search result; where the second
  • the destination address of the IP packet is an identifier of the first routing node, and the routing header of the second packet includes an identifier of the UE.
  • the first mobile gateway sends the second IP packet to the first routing node.
  • the UENH table is a mobile terminal base station UEBS table or a mobile terminal gateway UEGW table, and the first mobile
  • the generating, by the gateway, the UENH entry according to the first message specifically: the first mobile gateway generates a UE BS entry according to the first message, where the UEBS entry is an identifier and a part of the UE a first relationship between the identifier of the routing node, the first routing node being the first base station, and the first base station being the base station where the UE is currently camped; or The first mobile gateway generates a UEGW entry according to the first message, where the UEGW entry is a correspondence between the identifier of the UE and an identifier of the first routing node, and the first route
  • the node is a second mobile gateway, and the network where the second mobile gateway is located is a network where the UE currently resides.
  • the first mobile gateway searches the UENH table according to the identifier of the UE in the first IP packet , get the search results, including:
  • the first mobile gateway performs a first determining operation to obtain a first determination result.
  • the first determining operation includes: determining, by the first mobile gateway, whether a destination address of the first IP packet is the same as the first The host address of the mobile gateway is the same, and it is determined whether the routing header of the first IP packet is empty.
  • the first mobile gateway searches the UENH table according to the first judgment result and the identifier of the UE in the first IP packet, and obtains a search result.
  • the first mobile gateway according to the first judgment result, and the first IP packet
  • the identifier of the UE is used to search the UENH table, and the search result is obtained, which specifically includes:
  • the first The mobile gateway searches for the UEBS entry in the UEBS table according to the identifier of the UE in the first IP packet, and obtains the search result.
  • the first mobile gateway generates a second IP packet according to the search result, specifically:
  • the result of the search is that the first mobile gateway finds that the UEBS entry is successful, and the first mobile gateway determines that the first routing node is the first base station, and the purpose of the first IP packet is Changing the address to the IP address of the first base station, and generating a second IP packet;
  • the first mobile gateway sends the second IP packet to the first base station.
  • the first mobile gateway is configured according to the first judgment result and the first IP packet
  • the identifier of the UE is searched for the UENH table, and the search result is obtained.
  • the method further includes: if the first determination result is that the destination address of the first IP packet is different from the host address of the first mobile gateway
  • the first mobile gateway determines whether the destination address of the first IP packet is the same as the network address of the first mobile gateway, and obtains a second determination result;
  • the first mobile gateway according to the second determination result and the first IP packet
  • the identifier of the UE looks up the UENH table to obtain the search result.
  • the first mobile gateway according to the second determination result, and the first IP packet
  • the identifier of the UE is used to search the UENH table, and the search result is obtained, which specifically includes:
  • the first mobile gateway is configured according to the identifier of the UE in the first IP packet. Finding the UEBS entry in the UEBS table to obtain the search result.
  • the first mobile gateway generates a second IP packet according to the search result, specifically:
  • the search result is that the first mobile gateway is configured according to the first IP packet.
  • the first mobile gateway determines that the first routing node is the first base station, and changes the destination address of the first IP packet to the first Generating an IP address of a base station, generating the second IP packet, and adding an identifier of the UE to a routing header of the second IP packet;
  • the first mobile gateway sends the second IP packet to the first base station.
  • the first mobile gateway generates a second IP packet according to the search result, and further includes: If the first mobile gateway finds that the UEBS entry is unsuccessful, the first mobile gateway searches for the identifier according to the identifier of the UE in the first IP packet.
  • the first mobile gateway searches for the UEGW entry successfully according to the identifier of the UE in the first IP packet, the first mobile gateway determines that the second mobile gateway is the first Routing the node, and changing the destination address of the first IP packet to the second mobile network Generating the second IP packet, and adding the identifier of the UE to the routing header of the second IP packet;
  • the first mobile gateway sends the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determining operation as a new first mobile gateway.
  • the first mobile gateway is configured according to the second determining result and the first IP packet
  • the identifier of the UE is used to search the UENH table to obtain a search result
  • the method further includes:
  • the first mobile gateway is configured according to the first IP packet.
  • the identifier of the UE searches for the UEGW entry in the UEGW correspondence table, and obtains a search result.
  • the first mobile gateway generates a second IP packet according to the search result, which specifically includes:
  • the first mobile gateway determines the second mobile gateway.
  • the first routing node is configured to change the destination address of the first IP packet to an IP address of the second mobile gateway, generate the second IP packet, and add the identifier of the UE In the routing header of the second IP packet;
  • the first mobile gateway sends the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determining operation as a new first mobile gateway.
  • the UE is camped on the first base station in the roaming network, and the first mobile gateway is a mobile gateway of the current roaming network of the UE, and the method further includes:
  • the first mobile gateway When the first mobile gateway receives the third IP packet sent by the UE by using the first base station, the first mobile gateway records the source address of the third IP packet in the third In the routing header of the IP packet;
  • the first mobile gateway sets an IP address of the first mobile gateway as a new source address of the third IP packet
  • the text routing header sends the first IP packet to the first mobile gateway, and the destination address of the first IP packet is an IP address of the first mobile gateway.
  • the present invention provides a method for forwarding an Internet Protocol message, including: a radio network controller SNC sending a first message to a first mobile gateway; wherein the first message is used to indicate the first mobile gateway And receiving the received first Internet Protocol IP packet to the first routing node, where the first IP packet includes an identifier of the mobile terminal UE.
  • the method for forwarding an Internet Protocol message, the mobile gateway, and the radio network controller, which are sent by the receiver, are used by the receiver to be used to instruct the mobile gateway to route the received first Internet Protocol IP packet to the first routing node.
  • the first message causes the sender to route the received first IP packet to the first routing node according to the first message.
  • the mobile gateway provided by the embodiment of the present invention, when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
  • FIG. 1 is a schematic diagram of a network architecture provided by the present invention.
  • Embodiment 1 of a mobile gateway provided by the present invention
  • Embodiment 3 is a schematic structural diagram of Embodiment 2 of a mobile gateway provided by the present invention
  • 4 is a schematic structural diagram of Embodiment 3 of a mobile gateway provided by the present invention
  • FIG. 5 is a schematic structural diagram of Embodiment 4 of a mobile gateway provided by the present invention.
  • Embodiment 5 of a mobile gateway provided by the present invention.
  • Embodiment 6 of a mobile gateway provided by the present invention.
  • FIG. 8 is a schematic flowchart of Embodiment 1 of a method for forwarding an Internet Protocol packet according to the present invention
  • FIG. 9 is a schematic flowchart of Embodiment 2 of a method for forwarding an Internet Protocol packet according to the present invention
  • Embodiment 11 is a schematic flow chart of Embodiment 4 of a method for forwarding an Internet Protocol packet according to the present invention.
  • Embodiment 12 is a signaling flow diagram of Embodiment 5 of a method for forwarding an Internet Protocol packet according to the present invention
  • Embodiment 13 is a signaling flow diagram of Embodiment 7 of a method for forwarding an Internet Protocol message according to the present invention
  • FIG. 14 is a signaling flow diagram of Embodiment 8 of a method for forwarding an Internet Protocol message according to the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the mobile terminal according to the embodiment of the present invention may be a wireless terminal.
  • the wireless terminal can be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device that is connected to the wireless modem.
  • the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal
  • RAN Radio Access Network
  • the computers for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network.
  • a wireless terminal may also be called a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, and a Remote Terminal. , Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
  • a base station (e.g., an access point) referred to in this application may refer to a device in an access network that communicates with a wireless terminal over one or more sectors over an air interface.
  • the base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network.
  • IP Internet Protocol
  • the base station can also coordinate attribute management of the air interface.
  • the base station may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be an evolved base station in LTE (NodeB or eNB or e-NodeB, evolutional Node B), including WiFi AP devices, this application is not limited.
  • BTS Base Transceiver Station
  • NodeB base station
  • NodeB evolved base station in LTE
  • eNB or e-NodeB evolutional Node B
  • evolutional Node B evolutional Node B
  • the network architecture diagram shown in FIG. 1 may be adopted.
  • the main network devices include a Wireless Network Controller (SNC), a Base Station (uNB), and a Mobile Gateway (Gateway).
  • the base station solves the coverage problem of the wireless network, and provides the UE with the wireless access.
  • the base station implements the control and management of the wireless network through the interface with the SNC, and implements the forwarding of the UE user plane data packet through the interface with the mobile gateway.
  • the main function of the mobile gateway is to forward the UE user plane data packet, and the mobile gateway maintains the forwarding information of the mobile terminal, and obtains the forwarding information of the mobile terminal through the control plane interface with the SNC.
  • SNC is the control core of the entire wireless network.
  • the SNC has the functions of Mobility Management Entity (MME) in the traditional network for mobility management, session management, and security management of the UE.
  • MME Mobility Management Entity
  • the SNC also exchanges with the base stations and mobile gateways in the mobile network to control their
  • a mobile network In a mobile network, certain areas are divided. Generally, one SNC and a mobile gateway and corresponding multiple base stations are responsible for network services in one area, and there are control signaling interfaces between SNCs in multiple areas, and there are also data forwarding channels between mobile gateways in multiple areas, so that the whole Mobile communication network The network is opened, so that the UE can normally provide network services after roaming to other areas.
  • the SNC providing the control function and the mobile gateway providing the data forwarding function are still the original devices.
  • the SNC providing the control function and the mobile gateway providing the data forwarding function are still the original devices.
  • the UE switches from uNB1 to uNB2 the handover between the base stations occurs.
  • the SNC Home SNC
  • the SNC Visit SNC
  • the operator may assign the always-unique IP address (ie, the identifier of the UE) to the UE for a lifetime, so The IP address of the UE does not change, that is, the upper layer service application on the UE is not interrupted due to the change of the IP address of the UE.
  • the identifier of the UE may be a Mobile Terminal IP (UE IP, UIP for short) address.
  • the network shown in Figure 1 can be configured with a globally unique fixed IP address for each network node.
  • FIG. 2 is a schematic structural diagram of Embodiment 1 of a mobile gateway provided by the present invention.
  • the mobile gateway includes: a receiver 10 and a transmitter 11.
  • the receiver 10 is configured to receive a first message sent by the SNC, where the first message is used to instruct the mobile gateway to route the received first IP packet to the first routing node, where the first
  • the IP packet includes an identifier of a user equipment (hereinafter referred to as a UE), and the transmitter 11 is configured to route the received first IP packet to the first routing node according to the first message.
  • a UE user equipment
  • the UE each time the UE first camps on the mobile communication network, the UE first establishes a Radio Resource Control (RRC) connection with the base station, and then the UE performs a non-access stratum connection, that is, a non-access stratum ( Non-access Stratum, hereinafter referred to as NAS), is attached to the network. After the attachment is successful, the mobile communication network can assign an IP address (i.e., the identifier of the UE) to the UE.
  • RRC Radio Resource Control
  • NAS Non-access stratum
  • the SNC After the UE is attached to the network, that is, after being attached to the SNC, the SNC is triggered to send a first message to the mobile gateway, where the first message is used to instruct the mobile gateway to route the received first IP packet to the first routing node, where
  • the first IP packet includes an identifier of the UE (ie, the UIP described above). Need
  • the identifier of the UE may be located in the routing header of the first IP packet, or may be the destination address of the first IP packet, and may be determined according to different conditions.
  • the UE may send an uplink packet to the target device according to the traditional routing and forwarding scheme, that is, the uplink packet sent by the UE reaches the mobile gateway of the network where the UE resides through the base station where the UE resides. Then, the mobile gateway sends the uplink packet to the target device.
  • the target device sends a downlink packet to the UE, if the UE does not currently roam, that is, the UE is directly in the home network or the base station in the home network, the target device sends the downlink to the home gateway of the home network where the UE is located. The packet is forwarded to the UE by the home gateway.
  • the home gateway of the home network is forwarded to the UE by the home gateway.
  • the home gateway should send the downlink message to the roaming gateway first, and then the roaming gateway forwards it to the UE currently camped on.
  • the base station that is roaming is forwarded by the base station to the UE. It is assumed that the mobile gateway mentioned in the embodiment of the present invention is the home gateway in FIG. 1 , and the first IP packet is the downlink packet sent by the target device to the home gateway, and the destination address of the first IP packet is the UE.
  • the first IP packet may be that the home gateway forwards the downlink packet sent by the target device to the roaming gateway.
  • the identifier of the UE is carried in the routing header of the first IP packet.
  • the first IP packet is the received message sent by the target device to the home gateway; for the roaming gateway, the first IP packet is the report sent by the home gateway to the roaming gateway. Text.
  • the identifier of the UE is included in the first IP packet received by the mobile gateway.
  • the receiver 10 receives the first message sent by the SNC, and the sender 11 routes the received first IP packet to the first routing node according to the first message.
  • the target device sends the first IP packet to the mobile gateway.
  • the destination address of the first IP packet is the UE.
  • the identifier of the mobile gateway is the home gateway; then, the first routing node here can be the base station where the UE in the home network resides, so that the transmitter 11 will first IP according to the first message.
  • the packet is routed to the base station where the UE is located, so that the base station forwards the first IP packet to the UE, and completes communication between the target device and the UE.
  • the target device sends the downlink packet (the destination address of the downlink packet is the identifier of the UE) to the home gateway.
  • the downlink packet is still the first IP packet, and the SNC instructs the home gateway to forward the downlink packet whose destination address is the identifier of the UE to the roaming first when the UE roams to the roaming place.
  • the roaming gateway of the ground that is, the first routing node here is the roaming gateway; when the roaming gateway receives the packet sent by the home gateway, the packet is also the first IP packet for the roaming gateway, and the SNC indicates roaming
  • the first gateway sends the first IP packet of the home gateway to the base station in the roaming network where the UE is currently camped, and sends the first IP packet to the UE by the base station in the roaming network to complete the target device and UE communication. Therefore, for a roaming gateway, the first routing node here is the base station where the UE in the roaming network camps.
  • the first IP packet will be different according to the role of the mobile gateway, and the first routing node involved in the first message sent by the SNC will also be different according to the role of the mobile gateway.
  • the mobile gateways in the embodiments of the present invention send the received first IP packet to the UE to complete the routing and forwarding of the first IP packet.
  • the mobile gateway provided by the embodiment of the present invention receives, by the receiver, a first message that is sent by the receiver to instruct the mobile gateway to send the received first Internet Protocol IP packet to the first routing node, so that the sender is configured according to the first message.
  • the received first IP packet is routed to the first routing node.
  • the mobile gateway provided by the embodiment of the present invention when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • FIG. 3 is a schematic structural diagram of Embodiment 2 of a mobile gateway provided by the present invention.
  • the mobile gateway further includes: a processor 12, configured to: after the receiver 10 receives the first message sent by the SNC, according to the first The message generates a UE Next Hop (hereinafter referred to as UENH) entry, where the UENH entry is a correspondence between the identifier of the UE and the identifier of the first routing node. item.
  • UENH UE Next Hop
  • the first message may include an identifier of the UE and an identifier between the first routing node.
  • the transmitter 11 of the mobile gateway can directly route the received first IP packet to the first routing node according to the first message.
  • the processor 12 of the mobile gateway can also receive the first at the receiver 10.
  • the first message After the message, according to The first message generates a UENH entry, which is stored in the mobile gateway.
  • the UENH entry is a correspondence between the identifier of the UE and the identifier of the first routing node.
  • the processor 12 may search the UENH table according to the identifier of the UE in the first IP packet to obtain a search result, where the UENH table includes the foregoing. UENH entry.
  • the network device may also be different according to the role of the mobile gateway, that is, the network device may be a target device that communicates with the UE, or may be a home gateway.
  • the network device is a target device; when the mobile gateway is a roaming gateway, the network device is a home gateway.
  • the processor 12 generates a second IP packet according to the search result, the destination address of the second IP packet is an identifier of the first routing node, and the routing header of the second packet includes the identifier of the UE;
  • the transmitter 11 sends the second IP packet to the first routing node. It should be noted that, here, the transmitter 11 sends the second IP packet to the first routing node, but actually includes the data content included in the second IP packet and the content included in the first IP packet.
  • the destination address of the second IP packet is different from the destination address of the first IP packet, and the identifier of the UE is included in the routing header of the second IP packet.
  • the UENH table is a mobile terminal base station (UE Basic Station, hereinafter referred to as UEBS) table or a mobile terminal gateway (UE Gateway, hereinafter referred to as UEGW) table.
  • the processor 12 may generate a UE BS entry according to the first message, where the UEBS entry is a correspondence between an identifier of the UE and an identifier of the first routing node, where the first The routing node is the first base station, the identifier of the first routing node is the IP address of the first base station, and the first base station is the base station where the UE currently camps (if the UE is currently camped in the home network, the first base station The base station in the home network; if the UE is currently camped on the roaming network, the first base station is a base station in the roaming network; optionally, the processor 12 may further generate a UEGW table according to the first message.
  • the UEGW entry is a correspondence entry between the identifier of the UE and the identifier of the first routing node, where the first routing node is the second mobile gateway, and the identifier of the first routing node is the second mobile The IP address of the gateway.
  • the network where the second mobile gateway is located is the network where the UE currently resides.
  • the embodiment is related to the processor 12 searching for the UENH entry according to the identifier of the UE in the first IP packet to obtain a search result. And the specific process of generating the second IP packet according to the search result. Going into the ground, The processor 12 is specifically configured to perform a first determining operation, and obtain a first determining result.
  • the first determining operation includes: determining, by the processor 12, whether a destination address of the first IP packet is The host address of the mobile gateway is the same, and it is determined whether the routing header of the first IP packet is empty, and the identifier is searched according to the first judgment result and the identifier of the UE in the first IP packet.
  • the UENH table is described, and the search result is obtained.
  • the processor 12 determines whether the destination address of the first IP packet is the same as the host address of the mobile gateway, and the first IP packet Whether the routing header of the text is empty, the first judgment result is obtained.
  • the processor 12 of the roaming gateway receives the first IP packet sent by the home gateway (the home gateway at this time, that is, the network device that sends the first IP packet) at its receiver 10. Then, it is determined whether the destination address of the first IP packet is the same as the host address of the roaming gateway, and whether the routing header of the first IP packet is empty.
  • the first judgment result obtained by the roaming gateway is that the destination address of the first IP packet is the same as the host address of the roaming gateway, and the routing header of the first IP packet is not empty, and the processing in the roaming gateway is The device 12 searches for the UEBS entry in the UEBS table generated by the processor 12 according to the identifier of the UE in the first IP packet, and obtains a corresponding search result (if the first judgment result is the purpose of the first IP packet) If the address is not the same as the host address of the roaming gateway, the roaming gateway may discard the packet.
  • the processor 12 in the roaming gateway determines that the first routing node is the first base station (the first base station is a UE camped in the roaming network) Base station), and changing the destination address of the first IP packet to the IP address of the first base station, generating a second IP packet; at this time, the routing header of the second IP packet includes the identifier of the UE (because the first The routing header of the IP packet is not empty, that is, the identifier of the UE is included in the routing header of the first IP packet, and the processor 12 changes the destination address of the first IP packet. Finally, the transmitter 11 sends the second IP packet to the first base station where the UE resides.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the processor 12 of the home gateway is connected at its receiver 10. After receiving the first IP packet sent by the target device, it determines whether the destination address of the first IP packet is the same as the host address of the home gateway, and determines whether the routing header of the first IP packet is empty. critical result.
  • the first judgment result can be in two cases: The first type: When the first judgment result is that the destination address of the first IP packet is the same as the host address of the home gateway, and the route of the first IP packet is If the header is not empty, the processor 12 in the home gateway searches for the UEBS entry in the UEBS table generated by the processor 12 according to the identifier of the UE in the first IP packet, and obtains a corresponding search result; The search result is that the home gateway finds the UEBS entry successfully (indicating that the UE does not roam at this time, but resides on the first base station in the home network), and the processor 12 in the home gateway determines the first routing node.
  • the search result is that the home gateway finds the UEBS entry successfully (indicating that the UE does not roam at this time, but resides on the first base station in the home network), and the processor 12 in the home gateway determines the first routing node.
  • the first base station is configured to change the destination address of the first IP packet to the IP address of the first base station to generate a second IP packet.
  • the routing header of the second IP packet includes the identifier of the UE.
  • the transmitter 11 sends the second IP packet to the first base station where the UE resides.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the second type When the first judgment result is that the destination address of the first IP packet is different from the host address of the home gateway, the processor 12 in the home gateway performs the following processing.
  • the processor 12 in the home gateway further determines whether the destination address of the first IP packet is the same as the network address of the home gateway, and obtains the second determination result.
  • the second judgment result can have two cases: A and B:
  • the processor 12 searches for the UEBS entry in the UEBS table according to the identifier of the UE in the first IP packet, and obtains Corresponding search results. Can be divided into the following two cases (a), (b):
  • the processor 12 determines that the first routing node is the first base station, and changes the destination address of the first IP packet to the IP address of the first base station, generates the second IP packet, and identifies the UE. The character is added to the routing header of the second IP packet. Finally, the transmitter 11 will be the first The second IP packet is sent to the first base station where the UE resides.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the processor 12 finds that the UEGW entry is still unsuccessful according to the identifier of the UE in the first IP packet, the processor 12 forwards the packet or discards the packet according to the traditional routing method; If the identifier of the UE in the IP packet is found to be successful, the processor 12 determines that the first routing node is the second mobile gateway (the second mobile gateway is a roaming gateway in the roaming network), and the first The destination address of the IP packet is changed to the IP address of the second mobile gateway, and the second IP packet is generated, and the identifier of the UE is added to the routing header of the second IP packet. Finally, the transmitter 11 sends the second IP packet to the second mobile gateway.
  • the second mobile gateway After receiving the second IP packet, the second mobile gateway performs the first determining operation, that is, determining the second IP packet. Whether the destination address is the same as the host address of the second mobile gateway, and whether the routing header of the second IP packet is empty. However, since the second mobile gateway is currently a roaming gateway, and the destination address of the second IP packet is the IP address of the second mobile gateway, and the routing header of the second IP packet carries the identifier of the UE, The first judgment result obtained by the second mobile gateway is that the destination address of the second IP packet is the same as the host address of the second mobile gateway, and the routing header of the second IP packet is not empty, and the second mobile gateway is also Finding a UEBS entry in the UEBS table on the second mobile gateway (this UEBS entry is also generated by the second mobile gateway according to the first message sent by the SNC), and if the second mobile gateway searches for the UEBS entry is successful, the second The mobile gateway determines that the first routing node is the first base station, the first base station
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns the path of the second IP packet. Carrying the identifier of the UE in the header, so that the first base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and The routing header of the IP packet is emptied, that is, the packet is sent to the UE, and the first IP packet is sent to the UE.
  • the processor 12 Searching for the UEGW entry in the UEGW table according to the identifier of the UE in the first IP packet, and obtaining a corresponding search result.
  • the processor 12 finds that the UEGW entry is unsuccessful according to the identifier of the UE in the first IP packet, the processor 12 forwards the packet according to the traditional routing method or discards the packet; if the processor 12 is based on the first IP If the identifier of the UE in the packet finds that the UEGW entry is successful, the processor 12 determines that the second mobile gateway is the first routing node (the second mobile gateway is a roaming gateway in the roaming network), and the first IP is The destination address of the packet is changed to the IP address of the second mobile gateway, and a second IP packet is generated, and the identifier of the UE is added to the routing header of the second IP packet.
  • the transmitter 11 sends the second IP packet to the second mobile gateway.
  • the second mobile gateway After receiving the second IP packet, the second mobile gateway performs the first determining operation, that is, determining the second IP packet. Whether the destination address is the same as the host address of the second mobile gateway, and determines whether the routing header of the second IP packet is empty.
  • the first judgment result obtained by the second mobile gateway is that the destination address of the second IP packet is the same as the host address of the second mobile gateway, and the routing header of the second IP packet is not empty, and the second mobile gateway is also Finding a UEBS entry in the UEBS table on the second mobile gateway (this UEBS entry is also generated by the second mobile gateway according to the first message sent by the SNC), and if the second mobile gateway searches for the UEBS entry is successful, the second The mobile gateway determines that the first routing node is the first base station, the first base station is a base station in the roaming network, and the second mobile gateway sends the second IP packet to the first base station.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, The packet is sent to the UE, and the first IP packet is sent to the UE.
  • the mobile gateway provided by the embodiment of the present invention receives, by the receiver, a first message that is sent by the receiver to instruct the mobile gateway to route the received first IP packet to the first routing node, and the processor generates a UENH table according to the first message. And obtaining a search result by searching for the UENH entry according to the identifier of the UE in the first IP packet, and finally causing the sender to route the received first IP packet to the first routing node according to the search result.
  • the mobile gateway provided by the embodiment of the present invention when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • the embodiment relates to when the UE camps on the first base station in the roaming network, and the mobile gateway is roaming.
  • a roaming gateway in the network When a roaming gateway in the network is used, a specific process in which the first IP packet sent by the target device to the UE can communicate with the UE without passing through the home gateway.
  • the processor 12 is further configured to: when the receiver 10 receives the third IP packet sent by the UE by using the first base station, record the source address of the third IP packet in the third IP packet.
  • the third IP packet is sent to the target device that communicates with the UE, so that the target device reports according to the third IP address.
  • the new source address and the third IP packet routing header send the first IP packet to the mobile gateway, and the destination address of the first IP packet is the IP address of the mobile gateway.
  • the SNC indicates to the roaming gateway that the UE currently camps on the first base station in the roaming network.
  • the roaming gateway processor 12 determines that the destination address of the first IP packet is the same as the host address of the roaming gateway. If the routing header of the first IP packet is not empty, the processor 12 searches for the UEBS entry in the UEBS table generated by the processor 12 according to the identifier of the UE in the first IP packet, and obtains a corresponding search result. .
  • the processor 12 in the roaming gateway determines that the first routing node is the first base station (the first base station is a UE camped in the roaming network) Base station), and changing the destination address of the first IP packet to the IP address of the first base station,
  • the second IP packet is generated.
  • the routing header of the second IP packet includes the identifier of the UE (because the routing header of the first IP packet is not empty, that is, the routing header of the first IP packet is included.
  • the identifier of the UE the processor 12 only changes the destination address of the first IP packet).
  • the transmitter 11 sends the second IP packet to the first base station where the UE resides.
  • the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and learns that the second IP packet is sent from the roaming gateway.
  • the first base station will clear the routing header of the second IP packet, that is, the packet is sent to the UE, and the first IP packet is sent to the UE.
  • the UE in the roaming network sends a third IP packet to the target device.
  • the UE first sends the third IP packet to the first base station, and the first base station sends the third IP packet according to the traditional routing manner.
  • the roaming gateway the source address of the third IP packet is an identifier of the UE.
  • the roaming gateway modifies the source address of the third IP packet to its own IP address, and records the original source address of the third IP packet in the first In the routing header of the three IP packets, that is, the source address of the third IP packet is the IP address of the roaming gateway, and the routing header of the third IP packet includes the identifier of the UE. Then, the roaming gateway sends the third IP packet to the target device.
  • the target device After receiving the third IP packet, the target device records the content in the routing header of the third IP packet, and sends a new packet to the UE according to the source address of the third IP packet and the content in the routing header.
  • the first IP packet (which may be the same as the packet sent to the UE by the first target device, or may be different), the target device sets the destination address of the new first IP packet to the IP address of the roaming gateway, and The identifier of the UE is filled in the routing header of the first IP packet, and then the target device directly sends the new first IP packet to the roaming gateway without passing through the home gateway. Because the target device already knows the path of the third IP packet transmission, when the new first IP packet is sent to the UE, the first IP packet may be according to the content of the recorded third IP packet routing header. The path of the text is set.
  • the roaming gateway After receiving the first IP packet, the roaming gateway determines, by the processor 12, that the destination address of the first IP packet is its own IP address, and the routing header of the packet includes the identifier of the UE.
  • the processor 12 knows that the first IP packet is sent to the UE, so the processor 12 will The destination address of the first IP packet is set to the IP address of the first base station (because the roaming gateway knows that the base station currently camped by the UE is the first base station by looking up the UEBS table), the first IP packet is sent by the transmitter 11.
  • the first base station is sent, and the routing header of the first IP packet is kept unchanged.
  • the first base station After receiving the first IP packet (the destination address of the first IP packet is the IP address of the first base station), the first base station determines that the destination address of the first IP packet is its own IP address, and The identifier of the UE is carried in the routing header of the packet, and the first base station learns that the first IP packet is sent to the UE. The first base station sets the destination address of the first IP packet as an identifier of the UE. Finally, the first base station sends the first IP packet to the UE.
  • the mobile gateway provided by the embodiment of the present invention receives, by the receiver, a first message that is sent by the receiver to instruct the mobile gateway to route the received first IP packet to the first routing node, and the processor generates a UENH table according to the first message. And obtaining a search result by searching for the UENH entry according to the identifier of the UE in the first IP packet, and finally causing the sender to route the received first IP packet to the first routing node according to the search result.
  • the mobile gateway provided by the embodiment of the present invention when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • the mobile gateway provided by the embodiment of the present invention can also enable the target device to communicate with the UE in the roaming network, and the home gateway can also forward the packet sent by the target device to the UE to the UE.
  • the overhead of the system is configured to route the first IP packet to the UE by using the first routing node.
  • the first embodiment of the present invention provides a radio network controller, where the radio network controller includes: a transmitter, configured to send a first message to the first mobile gateway, where the first message is used to indicate the first mobile
  • the gateway routes the received first Internet Protocol IP packet to the first routing node, where the first IP packet includes an identifier of the mobile terminal UE.
  • the UE each time the UE first camps on the mobile communication network, the UE first establishes an RRC connection with the base station, and then the UE performs a connection of the non-access stratum, that is, the attachment of the NAS. After the attachment is successful, the mobile communication network can assign an IP address (i.e., the identifier of the UE) to the UE.
  • an IP address i.e., the identifier of the UE
  • the transmitter that triggers the SNC sends a first message to the first mobile gateway, where the first message is used to instruct the first mobile gateway to route the received first IP packet to the first mobile gateway.
  • a first routing node where the first IP packet includes an identifier of the UE (ie, the foregoing UIP) It should be noted that the identifier of the UE may be located in the routing header of the first IP packet, or may be the destination address of the first IP packet, and may be determined according to different conditions.
  • the UE may send an uplink packet to the target device according to the traditional routing and forwarding scheme, that is, the uplink packet sent by the UE reaches the mobile gateway of the network where the UE resides through the base station where the UE resides. Then, the mobile gateway sends the uplink packet to the target device.
  • the target device sends a downlink packet to the UE, if the UE does not currently roam, that is, the UE is directly in the home network or the base station in the home network, the target device sends the downlink to the home gateway of the home network where the UE is located.
  • the downlink message sent by the home gateway to the UE is forwarded to the UE by the home gateway.
  • the home gateway of the home network is forwarded to the UE by the home gateway. However, since the UE is roaming at this time, the home gateway should send the downlink message to the roaming gateway first, and then the roaming gateway forwards it to the UE currently camped on.
  • the base station uNB of the roaming area is further forwarded to the UE by the base station. It is assumed that the first mobile gateway mentioned in the embodiment of the present invention is the home gateway in FIG.
  • the first IP packet is a downlink packet sent by the target device to the home gateway, and the destination address of the first IP packet is An identifier of the UE; assuming that the first mobile gateway mentioned in the embodiment of the present invention is the roaming gateway in FIG. 1, the first IP packet may be that the home gateway forwards the downlink packet sent by the target device to the home gateway.
  • the downlink packet of the roaming gateway, where the routing header of the first IP packet carries the identifier of the UE.
  • the first IP packet is the received message sent by the target device to the home gateway; for the roaming gateway, the first IP packet is the report sent by the home gateway to the roaming gateway. Text.
  • the first mobile gateway that is mentioned in the embodiment of the present invention is a home gateway or a roaming gateway, and the received first IP packet includes an identifier of the UE.
  • the first mobile gateway receives the first message sent by the SNC, and routes the received first IP packet to the first routing node according to the first message.
  • the target device sends the first IP packet to the first mobile gateway (the destination address of the first IP packet). Is the identifier of the UE), where the first mobile gateway is the home gateway; then, the first routing node here can be the base station where the UE in the home network resides, so that the first mobile gateway is based on the first
  • the message is sent to the base station where the UE is located, so that the base station forwards the first IP packet to the UE, and completes communication between the target device and the UE.
  • the target device will The downlink packet (the destination address of the downlink packet is the identifier of the UE) is sent to the home gateway.
  • the downlink packet is still the first IP packet, and the SNC indicates the home gateway.
  • the received downlink message whose destination address is the identifier of the UE is first forwarded to the roaming gateway of the roaming place, that is, the first routing node here is the roaming gateway; when the roaming gateway When receiving the packet sent by the home gateway, the message is also the first IP packet for the roaming gateway, and the SNC instructs the roaming gateway to send the received first IP packet of the home gateway to the roaming area where the UE currently resides.
  • the base station in the network sends the first IP packet to the UE by the base station in the roaming network to complete communication between the target device and the UE. Therefore, for a roaming gateway, the first routing node here is the base station where the UE in the roaming network camps.
  • the first IP packet will be different according to the role of the first mobile gateway, and the first routing node involved in the first message sent by the SNC transmitter will also be different according to the role of the mobile gateway. .
  • the first mobile gateway in the embodiment of the present invention sends the received first IP packet to the UE to complete the routing of the first IP packet. Forward.
  • the transmitter sends a first message to the first mobile gateway, which is used to instruct the first mobile gateway to route the received first IP packet to the first routing node, so that the first message is sent to the first mobile gateway.
  • a mobile gateway routes the received first IP packet to the first routing node according to the first message.
  • the wireless network controller provided by the embodiment of the present invention when the first message sent by the transmitter causes the UE to roam from one network to another, the mobile gateway in another network may send the first IP packet according to the first message. Forwarding to the first routing node, so that the first IP packet is routed to the UE by the first routing node; and the radio network controller provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address.
  • FIG. 4 is a schematic structural diagram of Embodiment 3 of a mobile gateway provided by the present invention.
  • the mobile gateway includes: a receiving module 20 and a first sending module 21.
  • the receiving module 20 is configured to receive the first message sent by the SNC, where the first message is used to instruct the mobile gateway to route the received first IP packet to the first routing node, where the first The IP packet includes an identifier of the mobile terminal UE.
  • the first sending module 21 is configured to route the received first IP packet to the first routing node according to the first message.
  • the UE each time the UE first camps on the mobile communication network, the UE first establishes a wireless relationship with the base station.
  • the resource control Radio Resource Control, hereinafter referred to as RRC
  • RRC Radio Resource Control
  • the UE performs the connection of the non-access stratum, that is, the network attachment of the non-access stratum (NAS).
  • NAS network attachment of the non-access stratum
  • the mobile communication network can assign an IP address (ie, the identifier of the UE) to the UE.
  • the SNC After the UE is attached to the network, that is, after being attached to the SNC, the SNC is triggered to send a first message to the mobile gateway, where the first message is used to instruct the mobile gateway to route the received first IP packet to the first routing node, where
  • the first IP packet includes an identifier of the UE (ie, the UIP described above). It should be noted that the identifier of the UE may be located in the routing header of the first IP packet or the destination address of the first IP packet, and may be determined according to different conditions.
  • the UE may send an uplink packet to the target device according to the traditional routing and forwarding scheme, that is, the uplink packet sent by the UE reaches the mobile gateway of the network where the UE resides through the base station where the UE resides. Then, the mobile gateway sends the uplink packet to the target device.
  • the target device sends a downlink packet to the UE, if the UE does not currently roam, that is, the UE is directly in the home network or the base station in the home network, the target device sends the downlink to the home gateway of the home network where the UE is located. The packet is forwarded to the UE by the home gateway.
  • the home gateway of the home network is forwarded to the UE by the home gateway.
  • the home gateway should send the downlink message to the roaming gateway first, and then the roaming gateway forwards it to the UE currently camped on.
  • the base station that is roaming is forwarded by the base station to the UE. It is assumed that the mobile gateway mentioned in the embodiment of the present invention is the home gateway in FIG. 1 , and the first IP packet is the downlink packet sent by the target device to the home gateway, and the destination address of the first IP packet is the UE.
  • the first IP packet may be that the home gateway forwards the downlink packet sent by the target device to the roaming gateway.
  • the identifier of the UE is carried in the routing header of the first IP packet.
  • SP for the home gateway, the first IP packet is the received message sent by the target device to the home gateway; for the roaming gateway, the first IP packet is the message sent by the home gateway to the roaming gateway. .
  • the identifier of the UE is included in the first IP packet received by the mobile gateway.
  • the receiving module 20 receives the first message sent by the SNC, and the first sending module 21 routes the received first IP packet to the first routing node according to the first message.
  • the target device sends a first IP packet to the mobile gateway (the destination address of the first IP packet is the identifier of the UE), and the mobile here The gateway is the home gateway; then, the first routing node here can be the base station where the UE in the home network resides, so that the first sending module 21 routes the first IP packet to the UE according to the first message.
  • the remaining base station enables the base station to forward the first IP packet to the UE, and complete communication between the target device and the UE.
  • the target device sends the downlink packet (the destination address of the downlink packet is the identifier of the UE) to the home gateway.
  • the downlink If the message is still the first IP packet, the SNC will instruct the home gateway to forward the received downlink message with the destination address of the UE to the roaming gateway of the roaming place when the UE roams to the roaming place.
  • the first routing node here is the roaming gateway; when the roaming gateway receives the packet sent by the home gateway, the message is also the first IP packet for the roaming gateway, and the SNC indicates the hometown that the roaming gateway will receive.
  • the first IP packet of the gateway is sent to the base station in the roaming network where the UE is currently camped, and the first IP packet is sent to the UE by the base station in the roaming network to complete communication between the target device and the UE. Therefore, for a roaming gateway, the first routing node here is the base station where the UE in the roaming network camps.
  • the first IP packet will be different according to the role of the mobile gateway, and the first routing node involved in the first message sent by the SNC will also be different according to the role of the mobile gateway.
  • the mobile gateways in the embodiments of the present invention send the received first IP packet to the UE to complete the routing and forwarding of the first IP packet.
  • the mobile gateway provided by the embodiment of the present invention receives, by the receiving module, a first message that is sent by the receiving module to instruct the mobile gateway to send the received first Internet Protocol IP packet to the first routing node, so that the first sending module is configured according to the first A message routes the received first IP packet to the first routing node.
  • the mobile gateway provided by the embodiment of the present invention when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • FIG. 5 is a schematic structural diagram of Embodiment 4 of a mobile gateway provided by the present invention.
  • the mobile gateway further includes: a generating module 22, configured to generate, according to the first message, a UENH entry of the next station node of the mobile terminal; UENH The entry is a correspondence table entry between the identifier of the UE and the identifier of the first routing node.
  • the first message may include an identifier of the UE and an identifier between the first routing node.
  • the first sending module 21 of the mobile gateway may directly route the received first IP packet to the first routing node according to the first message.
  • the generating module 22 of the mobile gateway may further receive the After the first message, the UENH entry is generated according to the first message, and is saved in the mobile gateway.
  • the UENH entry is a correspondence between the identifier of the UE and the identifier of the first routing node.
  • the generating module 22 may search the UENH table according to the identifier of the UE in the first IP packet, and obtain a search result, where the UENH table includes the foregoing. UENH entry.
  • the foregoing network device may also be different according to the role of the mobile gateway, that is, the network device may be a target device that communicates with the UE, or may be a home gateway.
  • the network device is a target device; when the mobile gateway is a roaming gateway, the network device is a home gateway.
  • UENH table is a mobile terminal base station (UE Basic Station, hereinafter referred to as UE Basic Station, hereinafter referred to as UE Basic Station
  • the generating module 22 may generate, according to the first message, a UE BS entry, where the UEBS entry is a correspondence between an identifier of the UE and an identifier of the first routing node, where the first The routing node is the first base station, the identifier of the first routing node is the IP address of the first base station, and the first base station is the base station where the UE currently camps (if the UE is currently camped in the home network, the first base station The base station in the home network; if the UE is currently camped on the roaming network, the first base station is a base station in the roaming network; optionally, the generating module 22 may further generate a UEGW table according to the first message.
  • the UEGW entry is a correspondence entry between the identifier of the UE and the identifier of the first routing node, where the first routing node is the second mobile gateway, and the identifier of the first routing node is the second mobile The IP address of the gateway.
  • the network where the second mobile gateway is located is the network where the UE currently resides.
  • FIG. 6 is a schematic structural diagram of Embodiment 5 of a mobile gateway provided by the present invention.
  • the first sending module 21 specifically includes: a receiving unit 211, configured to receive the first IP packet sent by the network device; and the searching unit 212, And searching for the UENH table according to the identifier of the UE in the first IP packet, and obtaining a search result;
  • the UENH table includes the UENH entry, and the generating unit 213 is configured to generate a second IP packet according to the search result, where the destination address of the second IP packet is an identifier of the first routing node,
  • the routing header of the second packet includes an identifier of the UE, and the sending unit 214 is configured to send the second IP packet to the first routing node.
  • the first message may include an identifier of the UE and an identifier between the first routing node.
  • the first sending module 21 of the mobile gateway may directly route the received first IP packet to the first routing node according to the first message.
  • the generating module 22 of the mobile gateway may further receive the After the first message, the UENH entry is generated according to the first message and saved in the mobile gateway.
  • the searching unit 212 searches the UENH table generated by the generating module 22 according to the identifier of the UE in the first IP packet, and obtains a search result; 213. Generate a second IP packet according to the search result, where the destination address of the second IP packet is an identifier of the first routing node, and the routing header of the second packet includes an identifier of the UE.
  • the sending unit 214 Sending the second IP packet to the first routing node. It should be noted that, here, the sending unit 214 sends the second IP packet to the first routing node, but actually includes the data content included in the second IP packet and the content included in the first IP packet. The destination address of the second IP packet is different from the destination address of the first IP packet, and the identifier of the UE is included in the routing header of the second IP packet.
  • the search unit 212 searches for the UENH entry according to the identifier of the UE in the first IP packet to obtain a search result. And the specific process of generating the second IP packet according to the search result. Further, the searching unit 212 is configured to perform a first determining operation to obtain a first determining result.
  • the first determining operation includes: the searching unit 212 determines the purpose of the first IP packet. Whether the address is the same as the host address of the mobile gateway, and determining whether the routing header of the first IP packet is empty; and according to the first judgment result and the UE in the first IP packet The identifier looks up the UENH table to obtain a search result.
  • the searching unit 212 determines whether the destination address of the first IP packet is the same as the host address of the mobile gateway, and the first IP packet Whether the routing header of the text is empty, the first judgment result is obtained.
  • the roaming gateway's lookup unit 212 receives it After receiving the first IP packet sent by the home gateway (the home gateway at this time, that is, the network device that sends the first IP packet), the unit 211 determines the destination address of the first IP packet and the host address of the roaming gateway. Whether it is the same, and whether the routing header of the first IP packet is empty.
  • the first judgment result obtained by the roaming gateway is that the destination address of the first IP packet is the same as the host address of the roaming gateway, and the routing header of the first IP packet is not empty, and the search in the roaming gateway is performed.
  • the unit 212 searches for the UEBS entry in the UEBS table generated by the generating module 22 according to the identifier of the UE in the first IP packet, and obtains a corresponding search result (if the first determination result is the first IP packet) If the address is not the same as the host address of the roaming gateway, the roaming gateway may discard the packet.
  • the generating unit 213 in the roaming gateway determines that the first routing node is the first base station (the first base station is a UE camped in the roaming network)
  • the base station is configured to change the destination address of the first IP packet to the IP address of the first base station to generate a second IP packet.
  • the routing header of the second IP packet includes the identifier of the UE (because the first The routing header of the IP packet is not empty, that is, the identifier of the UE is included in the routing header of the first IP packet, and the generating unit 213 changes the destination address of the first IP packet.
  • the sending unit 214 sends the second IP packet to the first base station where the UE resides.
  • the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the search unit 212 of the home gateway determines the destination address of the first IP packet and the host address of the home gateway after the receiving unit 211 receives the first IP packet sent by the target device. Whether it is the same, and determining whether the routing header of the first IP packet is empty, obtaining the first judgment result.
  • the first judgment result can be in two cases:
  • the first type when the first judgment result is that the destination address of the first IP packet is the same as the host address of the home gateway, and the routing header of the first IP packet is not empty, the searching unit 212 in the home gateway is based on The identifier of the UE in the first IP packet looks up the UEBS entry in the UEBS table generated by the generating module 22, and obtains a corresponding search result; when the search result is the above-mentioned hometown The gateway finds that the UEBS entry is successful (indicating that the UE does not roam at this time, but resides on the first base station in the home network), and the generating unit 213 in the home gateway determines that the first routing node is the first base station.
  • the destination address of the first IP packet is changed to the IP address of the first base station, and the second IP packet is generated.
  • the routing header of the second IP packet includes the identifier of the UE.
  • the sending unit 214 sends the second IP packet to the first base station where the UE resides.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the second type When the first judgment result is that the destination address of the first IP packet is different from the host address of the home gateway, the searching unit 212 in the home gateway performs the following processing.
  • the searching unit 212 in the home gateway further determines whether the destination address of the first IP packet is the same as the network address of the home gateway, and obtains a second determination result.
  • the second judgment result can have two cases: A and B:
  • the searching unit 212 searches for the UEBS entry in the UEBS table according to the identifier of the UE in the first IP packet, and obtains Corresponding search results. Can be divided into the following two cases (a), (b):
  • the generating unit 213 determines that the first routing node is the first base station, and changes the destination address of the first IP packet to the IP address of the first base station, generates the second IP packet, and identifies the UE. The character is added to the routing header of the second IP packet.
  • the sending unit 214 sends the second IP packet to the first base station where the UE resides.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet sent by the original target device to the UE is sent to the first IP packet. UE.
  • the searching unit 212 searches for the UEGW entry in the UEGW table according to the identifier of the UE in the first IP packet.
  • the sending unit 214 forwards the packet or discards the packet according to the traditional routing method; If the identifier of the UE in the IP packet is found to be successful, the generating unit 213 determines that the first routing node is the second mobile gateway (the second mobile gateway is a roaming gateway in the roaming network), and the first The destination address of the IP packet is changed to the IP address of the second mobile gateway, and the second IP packet is generated, and the identifier of the UE is added to the routing header of the second IP packet.
  • the sending unit 214 sends the second IP packet to the second mobile gateway.
  • the second mobile gateway After receiving the second IP packet, the second mobile gateway performs the first determining operation, that is, determining the second IP packet. Whether the destination address is the same as the host address of the second mobile gateway, and whether the routing header of the second IP packet is empty.
  • the first judgment result obtained by the second mobile gateway is that the destination address of the second IP packet is the same as the host address of the second mobile gateway, and the routing header of the second IP packet is not empty, and the second mobile gateway is also Finding a UEBS entry in the UEBS table on the second mobile gateway (this UEBS entry is also generated by the second mobile gateway according to the first message sent by the SNC), and if the second mobile gateway searches for the UEBS entry is successful, the second The mobile gateway determines that the first routing node is the first base station, the first base station is a base station in the roaming network, and the second mobile gateway sends the second IP packet to the first base station.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the search unit The 212 searches for the UEGW entry in the UEGW table according to the identifier of the UE in the first IP packet, and obtains a corresponding search result.
  • the sending unit 214 forwards the packet according to the traditional routing method or discards the packet; if the searching unit 212 is based on the first IP address, If the identifier of the UE in the packet is found to be successful, the generating unit 213 determines that the second mobile gateway is the first routing node (the second mobile gateway is a roaming gateway in the roaming network), and the first IP is The destination address of the packet is changed to the IP address of the second mobile gateway, and a second IP packet is generated, and the identifier of the UE is added to the routing header of the second IP packet.
  • the sending unit 214 sends the second IP packet to the second mobile gateway.
  • the second mobile gateway After receiving the second IP packet, the second mobile gateway performs the first determining operation, that is, determining the second IP packet. Whether the destination address is the same as the host address of the second mobile gateway, and determines whether the routing header of the second IP packet is empty.
  • the first judgment result obtained by the second mobile gateway is that the destination address of the second IP packet is the same as the host address of the second mobile gateway, and the routing header of the second IP packet is not empty, and the second mobile gateway is also Finding a UEBS entry in the UEBS table on the second mobile gateway (this UEBS entry is also generated by the second mobile gateway according to the first message sent by the SNC), and if the second mobile gateway searches for the UEBS entry is successful, the second The mobile gateway determines that the first routing node is the first base station, the first base station is a base station in the roaming network, and the second mobile gateway sends the second IP packet to the first base station.
  • the first base station After receiving the second IP packet, the first base station determines that the destination of the second IP packet is its own IP address, and learns that the routing header of the second IP packet carries the identifier of the UE, so that the first The base station knows that the second IP packet is sent to the UE; therefore, the first base station changes the destination address of the second IP packet to the identifier of the UE, and clears the routing header of the second IP packet, that is, restores The packet is sent to the UE by the original target device, and the first IP packet is sent to the UE.
  • the mobile gateway provided by the embodiment of the present invention receives, by the receiving module, a first message that is sent by the receiving module to instruct the mobile gateway to route the received first IP packet to the first routing node, and the generating module generates a UENH table according to the first message. Item, and by looking up the identifier according to the UE in the first IP packet The UENH entry obtains the search result, and finally causes the first sending module to route the received first IP packet to the first routing node according to the search result.
  • the mobile gateway provided by the embodiment of the present invention when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • FIG. 7 is a schematic structural diagram of Embodiment 6 of a mobile gateway provided by the present invention.
  • the mobile gateway further includes: a recording module 23, configured to receive, by the receiving module 20, a third IP sent by the UE by using the first base station. Recording, in the message, the source address of the third IP packet in the routing header of the third IP packet; the setting module 24, configured to set the IP address of the mobile gateway to the third IP address a new source address of the packet; the second sending module 25 is configured to send the third IP packet obtained by the setting module 24 to the target device that communicates with the UE, so that the target device is configured according to the third IP packet.
  • the new source address and the third IP packet routing header send the first IP packet to the mobile gateway, and the destination address of the first IP packet is an IP address of the mobile gateway. .
  • the SNC indicates to the roaming gateway that the UE currently camps on the first base station in the roaming network.
  • the roaming gateway may determine that the destination address of the first IP packet is the same as the host address of the roaming gateway. If the routing header of the first IP packet is not empty, the searching unit 212 searches for the UEBS entry in the UEBS table generated by the generating module 22 according to the identifier of the UE in the first IP packet, and obtains the corresponding search result. .
  • the generating unit 213 in the roaming gateway determines that the first routing node is the first base station (the first base station is a UE camped in the roaming network)
  • the base station is configured to change the destination address of the first IP packet to the IP address of the first base station to generate a second IP packet.
  • the routing header of the second IP packet includes the identifier of the UE (because the first The routing header of the IP packet is not empty, that is, the identifier of the UE is included in the routing header of the first IP packet, and the generating unit 213 only changes the destination address of the first IP packet.
  • the sending unit 214 sends the second IP packet to the first base station where the UE resides.
  • the first base station determines that the destination of the second IP packet is its own An IP address, and the routing header of the second IP packet carries the identifier of the UE, so that the first base station knows that the second IP packet is sent to the UE; therefore, the first base station sends the second IP packet.
  • the destination address is changed to the identifier of the UE, and the second IP packet is sent from the roaming gateway to the first base station. Therefore, the first base station clears the routing header of the second IP packet, that is, restores the original target.
  • the device sends the first IP packet to the UE.
  • the UE in the roaming network sends a third IP packet to the target device.
  • the UE first sends the third IP packet to the first base station, and the first base station sends the third IP packet according to the traditional routing manner.
  • the roaming gateway the source address of the third IP packet is an identifier of the UE.
  • the source IP address of the third IP packet is modified to its own IP address by the setting module 24, and the third IP packet is received by the recording module 23.
  • the original source address is recorded in the routing header of the third IP packet, that is, the source address of the third IP packet is the IP address of the roaming gateway, and the routing header of the third IP packet includes the UE. Identifier.
  • the roaming gateway sends the third IP packet to the target device through the second sending module 25.
  • the target device After receiving the third IP packet, the target device records the content in the routing header of the third IP packet, and sends a new packet to the UE according to the source address of the third IP packet and the content in the routing header.
  • the first IP packet (which may be the same as the packet sent to the UE by the first target device, or may be different), the target device sets the destination address of the new first IP packet to the IP address of the roaming gateway, and The identifier of the UE is filled in the routing header of the first IP packet, and then the target device directly sends the new first IP packet to the roaming gateway without passing through the home gateway. Because the target device already knows the path of the third IP packet transmission, when the new first IP packet is sent to the UE, the first IP packet may be according to the content of the recorded third IP packet routing header. The path of the text is set.
  • the roaming gateway After receiving the first IP packet, the roaming gateway determines, by the searching unit 212, that the destination address of the first IP packet is its own IP address, and the routing header of the packet includes the identifier of the UE. Knowing that the first IP packet is sent to the UE, the generating unit 213 sets the destination address of the first IP packet to the IP address of the first base station (because the roaming gateway knows that the UE currently camps by looking up the UEBS table) After the base station is the first base station, the first IP packet is sent to the first base station by the sending unit 214, and the routing header of the first IP packet is kept unchanged.
  • the first base station After receiving the first IP packet, the first base station has the destination address of the first IP packet.
  • the first base station sets the destination address of the first IP packet as an identifier of the UE.
  • the first base station sends the first IP packet to the UE.
  • the mobile gateway provided by the embodiment of the present invention receives, by the receiving module, a first message that is sent by the receiving module to instruct the mobile gateway to route the received first IP packet to the first routing node, and the generating module generates a UENH table according to the first message. And obtaining the search result by searching the UENH entry according to the identifier of the UE in the first IP packet, and finally causing the first sending module to route the received first IP packet to the first routing node according to the search result. .
  • the mobile gateway in another network may forward the first IP packet to the first according to the first message.
  • the routing node is configured to route the first IP packet to the UE by using the first routing node.
  • the mobile gateway provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address, which facilitates addressing of the mobile terminal. .
  • the mobile gateway provided by the embodiment of the present invention can also enable the target device to communicate with the UE in the roaming network without the home gateway, and can accurately forward the packet sent by the target device to the UE to the UE, thereby saving the target.
  • the overhead of the system is configured to route the first IP packet to the UE by using the first routing node.
  • Embodiment 2 of the present invention provides a radio network controller.
  • the radio network controller includes: a sending module, configured to send a first message to the first mobile gateway, where the first message is used to instruct the first mobile gateway to route the received first IP packet to the first A routing node, the first IP packet including an identifier of the mobile terminal UE.
  • the UE each time the UE first camps on the mobile communication network, the UE first establishes an RRC connection with the base station, and then the UE performs a connection of the non-access stratum, that is, the attachment of the NAS. After the attachment is successful, the mobile communication network can assign an IP address (i.e., the identifier of the UE) to the UE.
  • an IP address i.e., the identifier of the UE
  • the sending module that triggers the SNC sends a first message to the first mobile gateway, where the first message is used to instruct the first mobile gateway to route the received first IP packet to the first mobile gateway.
  • a first routing node where the first IP packet includes an identifier of the UE (ie, the UIP), and the identifier of the UE may be located in a routing header of the first IP packet, or may be first The destination address of the IP packet depends on different conditions.
  • the UE may send an uplink packet to the target device according to the traditional routing and forwarding scheme, that is, the uplink packet sent by the UE reaches the UE through the base station where the UE resides.
  • the mobile gateway of the resident network is then sent by the mobile gateway to send the uplink message to the target device.
  • the target device sends a downlink packet to the UE, if the UE does not currently roam, that is, the UE is directly in the home network or the base station in the home network, the target device sends the downlink to the home gateway of the home network where the UE is located.
  • the downlink message sent by the home gateway to the UE is forwarded to the UE by the home gateway.
  • the home gateway of the home network is forwarded to the UE by the home gateway. However, since the UE is roaming at this time, the home gateway should send the downlink message to the roaming gateway first, and then the roaming gateway forwards it to the UE currently camped on.
  • the base station uNB of the roaming area is further forwarded to the UE by the base station. It is assumed that the first mobile gateway mentioned in the embodiment of the present invention is the home gateway in FIG.
  • the first IP packet is a downlink packet sent by the target device to the home gateway, and the destination address of the first IP packet is It is assumed that the first mobile gateway mentioned in the embodiment of the present invention is the roaming gateway in FIG. 1 , and the first IP packet of the Bay ij may be the home gateway, and the downlink packet sent by the target device is processed and then forwarded.
  • the downlink packet of the roaming gateway, the routing header of the first IP packet carries the identifier of the UE.
  • the first IP packet is the received message sent by the target device to the home gateway; for the roaming gateway, the first IP packet is the message sent by the home gateway to the roaming gateway.
  • the first mobile gateway that is mentioned in the embodiment of the present invention is a home gateway or a roaming gateway, and the received first IP packet includes an identifier of the UE.
  • the first mobile gateway receives the first message sent by the SNC, and routes the received first IP packet to the first routing node according to the first message.
  • the target device sends the first IP packet to the first mobile gateway (the destination address of the first IP packet). Is the identifier of the UE), where the first mobile gateway is the home gateway; then, the first routing node here can be the base station where the UE in the home network resides, so that the first mobile gateway is based on the first
  • the message is sent to the base station where the UE is located, so that the base station forwards the first IP packet to the UE, and completes communication between the target device and the UE.
  • the target device sends the downlink packet (the destination address of the downlink packet is the identifier of the UE) to the home gateway.
  • the downlink The message is still the first IP packet, and the SNC will instruct the home gateway to forward the received downlink message whose destination address is the identifier of the UE to the roaming gateway of the roaming place when the UE roams to the roaming place.
  • the first routing node here is the roaming gateway; When the roaming gateway receives the packet sent by the home gateway, the packet is also the first for the roaming gateway.
  • the IP packet instructs the roaming gateway to send the received first IP packet of the home gateway to the base station in the roaming network where the UE currently camps, and the first IP packet is sent by the base station in the roaming network.
  • the first routing node here is the base station where the UE in the roaming network camps.
  • the first IP packet may be different according to the role of the first mobile gateway, and the first routing node involved in the first message sent by the sending module of the SNC may also be different according to the role of the mobile gateway. .
  • the first mobile gateway in the embodiment of the present invention sends the received first IP packet to the UE to complete the routing of the first IP packet. Forward.
  • the sending module sends a first message to the first mobile gateway for instructing the first mobile gateway to route the received first IP packet to the first routing node, so that the first message is sent to the first mobile gateway.
  • a mobile gateway routes the received first IP packet to the first routing node according to the first message.
  • the wireless network controller provided by the embodiment of the present invention when the first message sent by the sending module causes the UE to roam from one network to another, the mobile gateway in another network may send the first IP packet according to the first message. Forwarding to the first routing node, so that the first IP packet is routed to the UE by the first routing node; and the radio network controller provided by the embodiment of the present invention enables the UE to permanently configure a fixed IP address.
  • FIG. 8 is a schematic flow chart of Embodiment 1 of a method for forwarding an Internet Protocol message according to the present invention.
  • the first mobile gateway in the method may be the mobile gateway in the above embodiment. As shown in Figure 8, the method includes:
  • the first mobile gateway receives the first message sent by the SNC, where the first message is used to instruct the first mobile gateway to route the received first IP packet to the first routing node, where the first The IP message includes an identifier of the mobile terminal UE.
  • S102 The first mobile gateway routes the received first IP packet to the first routing node according to the first message.
  • the method for forwarding the Internet Protocol packet provided by the embodiment of the present invention may be used to implement the foregoing embodiment of the mobile gateway, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 9 is a schematic flowchart of Embodiment 2 of a method for forwarding an Internet Protocol packet according to the present invention Figure.
  • the method further includes:
  • the first mobile gateway generates a UENH entry according to the first message, where the UENH entry is a correspondence between the identifier of the UE and an identifier of the first routing node.
  • the UENH table is a mobile terminal base station UEBS table or a mobile terminal gateway UEGW table
  • the S201 specifically includes: the first mobile gateway generates a UEBS entry according to the first message; wherein, the UEBS entry is a first relationship between the identifier of the UE and the identifier of the first routing node, where the first routing node is the first base station, and the first base station is the base station where the UE is currently camped; or, the first The mobile gateway generates a UEGW entry according to the first message, where the UEGW entry is a correspondence between the identifier of the UE and an identifier of the first routing node, and the first routing node is the second The mobile gateway, where the second mobile gateway is located, is the network where the UE currently resides.
  • the method for forwarding the Internet Protocol packet provided by the embodiment of the present invention may be used to implement the foregoing embodiment of the mobile gateway, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 10 is a schematic flow chart of Embodiment 3 of a method for forwarding an Internet Protocol packet according to the present invention. Further, the foregoing S102 may specifically include the following steps:
  • the first mobile gateway receives the first IP packet sent by the network device.
  • the first mobile gateway searches the UENH table according to the identifier of the UE in the first IP packet, and obtains a search result.
  • the UENH table includes the UENH entry.
  • the first mobile gateway generates a second IP packet according to the search result, where the destination address of the second IP packet is an identifier of the first routing node, and a routing header of the second packet The identifier of the UE is included.
  • S304 The first mobile gateway sends the second IP packet to the first routing node.
  • the foregoing S302 may include: the first mobile gateway performs a first determining operation, and obtains a first determining result; wherein, the first determining operation includes: the first mobile gateway determining the first IP packet Whether the destination address is the same as the host address of the first mobile gateway, and determining whether the routing header of the first IP packet is empty; the first mobile gateway according to the first determination result and the first IP packet
  • the identifier of the UE in the text searches the UENH table to obtain a search result.
  • the foregoing S302 may include: if the first determination result is that the destination address of the first IP packet is the same as the host address of the first mobile gateway, and the route of the first IP packet is If the header is not empty, the first mobile gateway searches for the UEBS entry in the UEBS table according to the identifier of the UE in the first IP packet, and obtains the search result.
  • the method includes: if the search result is that the first mobile gateway searches for the UEBS entry is successful, the first mobile gateway determines that the first routing node is the first base station, and The destination address of the first IP packet is changed to an IP address of the first base station, and a second IP packet is generated.
  • the foregoing S304 specifically: the first mobile gateway sends the second IP packet to the first base station.
  • the foregoing S302 may further include: if the first determination result is that the destination address of the first IP packet is different from the host address of the first mobile gateway, the first mobile gateway determines Whether the destination address of the first IP packet is the same as the network address of the first mobile gateway, and obtains a second determination result; the first mobile gateway is configured according to the second determination result and the first IP packet.
  • the identifier of the UE searches the UENH table to obtain the search result.
  • the foregoing S302 may include: if the second determination result is that the destination address of the first IP packet is the same as the network address of the first mobile gateway, the first mobile gateway is according to the first The identifier of the UE in the IP packet searches for the UEBS entry in the UEBS table, and obtains the search result.
  • the foregoing S303 specifically includes: if the search result is that the first mobile gateway searches for the UEBS entry according to the identifier of the UE in the first IP packet, the first mobile gateway determines The first routing node is the first base station, and the destination address of the first IP packet is changed to an IP address of the first base station, the second IP packet is generated, and the UE is used. The identifier is added to the routing header of the second IP packet.
  • the foregoing S304 specifically includes: the first mobile gateway sends the second IP packet to the first base station.
  • the foregoing S303 may further include: if the search result is the first mobile gateway searching for the
  • the first mobile gateway searches for the UEGW entry in the UEGW table according to the identifier of the UE in the first IP packet; If the identifier of the UE in the first IP packet is that the UEGW entry is successful, the first mobile gateway determines that the second mobile gateway is the first routing node, and the The destination address of an IP packet is changed to the IP address of the second mobile gateway, and the second IP is generated. And sending an identifier of the UE to a routing header of the second IP packet.
  • the method further includes: the first mobile gateway sending the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determination as a new first mobile gateway. operating.
  • the foregoing S302 may further include: if the second determination result is the first
  • the first mobile gateway searches for the UEGW corresponding table according to the identifier of the UE in the first IP packet.
  • the UEGW entry obtains a search result.
  • the foregoing S303 may further include: if the search result is that the first mobile gateway searches for the UEGW entry according to the identifier of the UE in the first IP packet, the first mobile Determining, by the gateway, that the second mobile gateway is the first routing node, and changing a destination address of the first IP packet to an IP address of the second mobile gateway, generating the second IP packet, and Adding an identifier of the UE to a routing header of the second IP packet.
  • the foregoing S304 may further include: the first mobile gateway sending the second IP packet to the second mobile gateway, so that the second mobile gateway performs the first determination as a new first mobile gateway. operating.
  • the method for forwarding the Internet Protocol packet provided by the embodiment of the present invention may be used to implement the foregoing embodiment of the mobile gateway, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 11 is a schematic flow chart of Embodiment 4 of a method for forwarding an Internet Protocol packet according to the present invention.
  • the UE currently resides in a roaming network, and the UE resides on a first base station in the roaming network, and the first mobile gateway is a mobile gateway of a current roaming network of the UE.
  • the method further includes:
  • the first mobile gateway When the first mobile gateway receives the third IP packet sent by the UE by using the first base station, the first mobile gateway records the source address of the third IP packet in the third In the routing header of the IP packet.
  • the first mobile gateway sets an IP address of the first mobile gateway as a new source address of the third IP packet.
  • the first mobile gateway sends the third IP packet to the target device that communicates with the UE, so that the target device is configured according to the new source address and the third IP packet of the third IP packet. Sending, by the text routing header, the first IP packet to the first mobile gateway, the first IP packet The destination address of the text is the IP address of the first mobile gateway.
  • the method for forwarding the Internet Protocol packet provided by the embodiment of the present invention may be used to implement the foregoing embodiment of the mobile gateway, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the fifth embodiment of the present invention provides a method for forwarding an Internet Protocol message, and the execution entity of the method is the radio network controller in the foregoing embodiment.
  • the method includes: the SNC sending a first message to the first mobile gateway, where the first message is used to instruct the first mobile gateway to route the received first IP packet to the first routing node, where An IP message includes an identifier of the mobile terminal UE.
  • FIG. 12 is a signaling flow diagram of Embodiment 5 of a method for forwarding an Internet Protocol message according to the present invention.
  • This embodiment relates to a specific process in which a target device communicates with a UE when a UE performs handover between base stations in a home network.
  • the first mobile gateway is a home gateway
  • the first base station is a base station where the UE in the home network resides.
  • the method includes:
  • the SNC learns the network where the UE camps and the first base station.
  • the UE each time the UE first camps on the mobile communication network, the UE first establishes an RRC connection with the first base station, and then the UE performs a connection of the non-access stratum, that is, the attachment of the NAS. After the attachment is successful (ie, the UE is attached to the SNC in the mobile communication network), the mobile communication network may allocate an IP address (ie, the identifier of the UE) to the UE, and the SNC knows that the base station where the UE is camped is the first base station. , also know the IP address of the first base station.
  • IP address ie, the identifier of the UE
  • the SNC sends a first message to the home gateway, where the first message is sent to the home gateway to send the received first IP packet whose destination address is the identifier of the UE to the first base station.
  • the home gateway generates a UEBS entry according to the first message, where the UEBS entry is a correspondence between the identifier of the UE and the IP address of the first base station.
  • the target device sends a first IP packet to the home gateway, where the destination address of the first IP packet is an identifier of the UE.
  • the home gateway determines that the destination address of the first IP packet is different from the host address of the home gateway, but the destination address of the first IP packet is the same as the network address of the home gateway, and the home gateway looks for the pre-generated UEBS table. After the UEBS entry succeeds, the destination address of the first IP packet is changed to the IP address of the first base station, the second IP packet is generated, and the identifier of the UE in the first IP packet is obtained. The character is filled in the routing header of the second IP packet.
  • S506 The home gateway sends the second IP packet to the first base station.
  • the first base station determines that the destination address of the second IP packet is its own IP address, and the routing header of the second IP packet carries the identifier of the UE, and the first base station uses the destination address of the second IP packet. Restore to the identifier of the UE, and clear the contents of the routing header to obtain the first first IP packet.
  • the first base station After receiving the second IP packet sent by the home gateway, the first base station determines that the destination address of the second IP packet is the same as the IP address of the second IP packet, and the first base station finds the routing header of the second IP packet.
  • the identifier of the UE is carried in, so that the second IP packet is sent to the UE. Therefore, the first base station restores the target address of the first IP packet to the identifier of the UE, and in order to improve the air interface forwarding efficiency, the packet length needs to be shortened as much as possible. Therefore, the first base station may be in the first IP packet.
  • the information in the routing header is removed and then forwarded to the UE.
  • the first base station sends the first IP packet to the UE.
  • another base station when the UE switches from the current first base station to another first base station in the home network, another base station sends a Path Switch Request signaling message to the SNC to notify the SNC that the UE has The first base station switches to another first base station.
  • the SNC sends a first message to the home gateway to instruct the home gateway to send the received first IP packet whose destination address is the identifier of the UE to another first base station, and delete the original UEBS entry. That is, the home gateway needs to delete the routing path of the original first IP packet.
  • the method for forwarding the Internet protocol provided by the embodiment of the present invention is sent by the SNC to the home gateway to instruct the home gateway to forward the received first IP packet to the first base station where the UE currently resides, and the home gateway according to the first message Generating a UEBS entry, so that after receiving the first IP packet, the destination address of the first IP packet is modified to the IP address of the first base station, and the second IP packet is generated, so that the first base station will be the second After the IP packet is restored to the first IP packet, it is sent to the UE.
  • the method provided by the embodiment of the present invention can enable the UE to permanently configure a fixed IP address, which facilitates the addressing of the mobile terminal.
  • FIG. 13 is a signaling flow diagram of Embodiment 7 of a method for forwarding an Internet Protocol message according to the present invention.
  • This embodiment relates to a specific process in which a target device communicates with a UE when the UE roams from a home network to a roaming network.
  • the first mobile gateway is a home gateway or a roaming gateway
  • the first base station is a base station where the UE in the roaming network camps.
  • the method includes:
  • the SNC learns the roaming network where the UE currently camps and the first base station of the roaming network. Specifically, when the UE is attached to the roaming network (ie, attached to the SNC in the roaming network), the SNC of the roaming network does not know the user information of the UE, and needs to request the SNC in the home network of the UE. User information of the UE, thereby knowing the identifier of the UE. Moreover, the SNC in the home network also knows that the UE is currently in the roaming network and knows the IP address of the mobile gateway of the roaming place.
  • the SNC of the roaming network and the SNC of the home network are collectively referred to as the SNC, and the interaction between them can be regarded as the SNC itself knowing the identifier of the UE, and the SNC knows that the UE currently resides on the first base station in the roaming network. .
  • the SNC sends a first message to the home gateway, where the first message is used to indicate to the home gateway that the received first IP packet sent to the UE is sent to the roaming gateway.
  • the SNC sends a first message to the roaming gateway, where the first message is used to send, to the roaming gateway, the received second IP packet sent to the UE to the first base station.
  • the home gateway generates a UEGW entry according to the first message, where the UEGW entry is a correspondence between the identifier of the UE and the IP address of the roaming gateway.
  • the roaming gateway generates a UEBS entry according to the first message, where the UEBS entry is a correspondence between the identifier of the UE and the IP address of the first base station.
  • the roaming gateway and the home gateway respectively generate a UENH entry according to the first message, where the home gateway generates a UEGW entry, and the roaming gateway gateway The generated is a UEBS entry.
  • the target device sends a first IP packet to the home gateway, where the destination address of the first IP packet is an identifier of the UE.
  • the home gateway determines that the destination address of the first IP packet is different from the host address of the home gateway, and the destination address of the first IP packet is different from the network address of the home gateway, and the home gateway looks for the pre-generated UEGW table. After the search succeeds, the destination address of the first IP packet is changed to the IP address of the roaming gateway, the second IP packet is generated, and the identifier of the UE in the first IP packet is filled into the second IP packet.
  • the routing header in the text is used to the destination address of the first IP packet is different from the host address of the home gateway, and the destination address of the first IP packet is different from the network address of the home gateway, and the home gateway looks for the pre-generated UEGW table. After the search succeeds, the destination address of the first IP packet is changed to the IP address of the roaming gateway, the second IP packet is generated, and the identifier of the UE in the first IP packet is filled into the second IP packet.
  • the routing header in the text is used to the destination address of the first IP packet
  • the S605 may be that the home gateway determines that the destination address of the first IP packet is different from the host address of the home gateway, and the destination address of the first IP packet is the same as the network address of the home gateway, but The home gateway finds its own UEBS table unsuccessfully and searches for the UEGW entry in the UEGW table.
  • S606 The home gateway sends the second IP packet to the roaming gateway.
  • S607 The roaming gateway determines that the destination address of the second IP packet is the same as the host address of the roaming gateway, and the routing header of the second IP packet is not empty, and the roaming gateway searches for the pre-generated UEBS entry. After the search succeeds, the destination address of the second IP packet is changed to the IP address of the first base station, and a new second IP packet is generated.
  • the routing header of the new second IP packet includes the identifier of the UE.
  • the roaming gateway sends a new second IP packet to the first base station.
  • the first base station determines that the destination address of the new second IP packet is its own IP address, and the routing header carries the identifier of the UE, and the first base station restores the destination address of the new second IP packet.
  • the identifier of the UE is set, and the content in the routing header is cleared to obtain the first first IP packet.
  • the first base station After receiving the new second IP packet sent by the roaming gateway, the first base station determines that the destination address of the new second IP packet is the same as its own IP address, and the first base station finds its routing header. The identifier of the UE is carried in, so that the new second IP packet is sent to the UE. Therefore, the first base station restores the target address of the packet to the identifier of the UE, and in order to improve the air interface forwarding efficiency, the packet length needs to be shortened as much as possible. Therefore, the first base station may be in the routing header in the packet. After the information is removed, it is restored to the original first IP packet.
  • the first base station sends the first IP packet to the UE.
  • the method for forwarding the Internet Protocol message provided by the embodiment of the present invention sends the first message to the home gateway and the roaming gateway through the SNC, so that the home gateway processes the received first IP packet according to the generated UEGW entry. Sending to the roaming gateway, and causing the roaming gateway to process the received second IP packet according to the generated UEBS entry, and then sending the second IP packet to the first base station, so that the first base station restores the second IP packet to the first An IP packet is sent to the UE.
  • the method provided by the embodiment of the present invention when the first message sent by the SNC causes the UE to roam from one network to another, the mobile gateway in another network can forward the first IP packet to the first route according to the first message. On the node, the first IP packet is routed to the UE through the first routing node; and the UE can permanently configure a fixed IP address, which facilitates the addressing of the mobile terminal.
  • FIG. 14 is a signaling flow diagram of Embodiment 8 of a method for forwarding an Internet Protocol message according to the present invention.
  • This embodiment relates to another specific process in which the target device communicates with the UE when the UE roams from the home network to the roaming network.
  • the first mobile gateway is a home gateway or a roaming gateway
  • the first base station is a base station where the UE in the roaming network resides.
  • the method includes:
  • S701 The SNC learns the roaming network where the UE currently camps and the first base station of the roaming network.
  • the SNC of the roaming network does not know the user information of the UE, and needs to request the user information of the UE from the SNC in the home network of the UE, thereby obtaining the identifier of the UE.
  • the SNC in the home network also knows that the UE is currently in the roaming network and knows the IP address of the mobile gateway of the roaming place.
  • the SNC of the roaming network and the SNC of the home network are collectively referred to as the SNC, and the interaction between them can be regarded as the SNC itself knowing the identifier of the UE, and the SNC knows that the UE currently resides on the first base station in the roaming network. .
  • the SNC sends a first message to the home gateway, where the first message is used to indicate to the home gateway that the received first IP packet sent to the UE is sent to the roaming gateway.
  • the SNC sends a first message to the roaming gateway, where the first message is used to send, to the roaming gateway, the received second IP packet sent to the UE to the first base station.
  • the home gateway generates a UEGW entry according to the first message, where the UEGW entry is a correspondence between the identifier of the UE and the IP address of the roaming gateway.
  • the roaming gateway generates a UEBS entry according to the first message, where the UEBS entry is a correspondence between the identifier of the UE and the IP address of the first base station.
  • the target device sends a first IP packet A to the home gateway, where the destination address of the first IP packet A is an identifier of the UE.
  • the home gateway determines that the destination address of the first IP packet A is different from the host address of the home gateway, and the destination address of the first IP packet A is different from the network address of the home gateway, and the home gateway looks for the pre-generated After the UEGW entry is successfully searched, the destination address of the first IP packet A is changed to the IP address of the roaming gateway, the second IP packet A is generated, and the identifier of the UE in the first IP packet A is filled. Go to the routing header of the second IP packet A.
  • the home gateway determines that the destination address of the first IP packet A is different from the host address of the home gateway, and the destination address of the first IP packet A is the same as the network address of the home gateway.
  • the home gateway finds its own UEBS table is unsuccessful, it can only find the UEGW entry in the UEGW table.
  • S706 The home gateway sends the second IP packet A to the roaming gateway.
  • the roaming gateway determines that the destination address of the second IP packet A is the same as the host address of the roaming gateway, and the routing header of the second IP packet A is not empty, and the roaming gateway searches for the pre-generated UEBS table. After the search succeeds, the destination address of the second IP packet A is changed to the IP address of the first base station, and the second IP packet B is generated.
  • the routing header of the second IP packet B includes the label of the UE. Identification.
  • the roaming gateway sends the second IP packet B to the first base station.
  • the first base station determines that the destination address of the second IP packet B is its own IP address, and the routing header carries the identifier of the UE, and the first base station restores the destination address of the second IP packet B to the UE.
  • the first base station After receiving the second IP packet B sent by the roaming gateway, the first base station determines that the destination address of the second IP packet B is the same as its own IP address, and the first base station finds that the routing header carries The identifier of the UE is obtained, so that the second IP packet B is sent to the UE. Therefore, the first base station restores the target address of the packet to the identifier of the UE, and in order to improve the air interface forwarding efficiency, the packet length needs to be shortened as much as possible. Therefore, the first base station can use the route in the second IP packet B. After the information in the header is removed, it is restored to the original first IP packet A.
  • the first base station sends the first IP packet A to the UE.
  • the UE sends a third IP packet A to the first base station, where the source address of the third IP packet A is an identifier of the UE, and the destination address is an IP address of the target device.
  • S712 The first base station sends the third IP packet A to the roaming gateway.
  • the roaming gateway changes the source address of the third IP packet A to its own IP address, generates a third IP packet B, and fills the source address of the third IP packet A to the third IP packet.
  • the identifier of the UE is filled into the routing header of the third IP packet B.
  • the roaming gateway sends the third IP packet B to the target device.
  • the target device sets the destination address of the first IP packet B sent to the UE as the IP address of the roaming gateway according to the content in the routing header of the third IP packet B, and fills the identifier of the UE to the first The routing header of an IP packet B.
  • S716 The target device sends the first IP packet B to the roaming gateway.
  • the roaming gateway determines that the destination address of the first IP packet B is the same as the host address of the first IP packet B. After the UE BS table entry is successfully found, the destination IP address of the first IP packet B is changed to the IP address of the first base station B. The address, the content in the routing header remains unchanged, and the second IP packet C is generated.
  • the roaming gateway sends the second IP packet C to the first base station.
  • S719 The first base station determines that the destination address of the second IP packet C is its own IP address, and the routing header carries the identifier of the UE, and the first base station restores the destination address of the second IP packet C to the UE. The identifier, and clear the contents of the routing header, to get the initial first IP packet B.
  • S720 The first base station sends the first IP packet B to the UE.
  • the method for forwarding the Internet Protocol message provided by the embodiment of the present invention, when the UE sends the third IP packet to the target device, the roaming gateway fills the source address of the third IP packet (the identifier of the UE) to the third
  • the IP address of the IP packet is set to the source address of the third IP packet, so that the target device receives the third IP packet according to the third IP packet.
  • the source address and the content in the routing header directly send the first IP packet sent to the UE to the roaming gateway, so that the home gateway can be accurately forwarded to the UE without the home gateway, thereby saving system overhead.

Landscapes

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

Abstract

L'invention concerne un procédé de réacheminement de paquet de protocole Internet, une passerelle mobile et un contrôleur de réseau radio. Le procédé consiste à : recevoir, au moyen d'une première passerelle mobile, un premier message envoyé par une SNC, le premier message étant utilisé pour ordonner à la première passerelle mobile d'acheminer le premier paquet IP reçu vers un premier nœud de routage, et le premier paquet IP comprenant l'identificateur d'un UE sous forme de terminal mobile ; et la première passerelle mobile acheminant le premier paquet IP reçu vers le premier nœud de routage conformément au premier message. Selon le procédé des modes de réalisation de la présente invention, lorsque l'UE se voit autoriser une itinérance d'un réseau à un autre réseau par le biais du premier message envoyé par la SNC, une passerelle mobile de l'autre réseau peut réacheminer le premier paquet IP vers le premier nœud de routage conformément au premier message de manière à acheminer le premier paquet IP vers l'UE par le biais du premier nœud de routage ; en outre, l'UE peut être configuré en permanence avec une adresse IP fixe, ce qui facilite l'adressage du terminal mobile.
PCT/CN2014/075968 2014-04-22 2014-04-22 Procédé de réacheminement de paquet de protocole internet, passerelle mobile et contrôleur de réseau radio Ceased WO2015161451A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/075968 WO2015161451A1 (fr) 2014-04-22 2014-04-22 Procédé de réacheminement de paquet de protocole internet, passerelle mobile et contrôleur de réseau radio
CN201480078084.9A CN106233759B (zh) 2014-04-22 2014-04-22 互联网协议报文的转发方法、移动网关和无线网络控制器

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/075968 WO2015161451A1 (fr) 2014-04-22 2014-04-22 Procédé de réacheminement de paquet de protocole internet, passerelle mobile et contrôleur de réseau radio

Publications (1)

Publication Number Publication Date
WO2015161451A1 true WO2015161451A1 (fr) 2015-10-29

Family

ID=54331591

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075968 Ceased WO2015161451A1 (fr) 2014-04-22 2014-04-22 Procédé de réacheminement de paquet de protocole internet, passerelle mobile et contrôleur de réseau radio

Country Status (2)

Country Link
CN (1) CN106233759B (fr)
WO (1) WO2015161451A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905364B (zh) * 2021-10-25 2023-07-04 广州通则康威智能科技有限公司 路由器上行数据溯源方法、装置、计算机设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964317A (zh) * 2005-11-08 2007-05-16 华为技术有限公司 一种无线接入网络中的路由优化方法和系统
CN101159971A (zh) * 2007-04-30 2008-04-09 华为技术有限公司 寻呼方法、无线网络控制器和接入网关
US20140071883A1 (en) * 2012-09-07 2014-03-13 Qualcomm Incorporated Systems, Apparatus and Methods for Association in Multi-Hop Networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938399B (zh) * 2009-06-30 2012-10-17 华为技术有限公司 一种路由方法、装置
CN101610266A (zh) * 2009-07-28 2009-12-23 杭州华三通信技术有限公司 一种检测地址解析协议arp报文合法性的方法及装置
US20110103319A1 (en) * 2009-10-29 2011-05-05 Qualcomm Incorporated Access point scheduled peer-to-peer communication
CN102647665B (zh) * 2011-02-21 2015-02-04 华为技术有限公司 群组消息处理方法、设备及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964317A (zh) * 2005-11-08 2007-05-16 华为技术有限公司 一种无线接入网络中的路由优化方法和系统
CN101159971A (zh) * 2007-04-30 2008-04-09 华为技术有限公司 寻呼方法、无线网络控制器和接入网关
US20140071883A1 (en) * 2012-09-07 2014-03-13 Qualcomm Incorporated Systems, Apparatus and Methods for Association in Multi-Hop Networks

Also Published As

Publication number Publication date
CN106233759A (zh) 2016-12-14
CN106233759B (zh) 2020-03-20

Similar Documents

Publication Publication Date Title
JP7712341B2 (ja) データ伝送方法、通信デバイス、及び通信システム
KR101894647B1 (ko) 최적화된 경로 이동성 관리를 위한 시스템 및 방법
US9788353B2 (en) Mobile network communications method, communications apparatus, and communications system
JP5807672B2 (ja) 移動管理システム、移動管理方法、アクセスgw装置、移動管理制御装置、及びプログラム
CN101472314A (zh) 一种数据处理方法和设备
JPWO2013179542A1 (ja) ネットワークシステム、経路制御装置、経路制御方法及びプログラム
KR101588241B1 (ko) 통신 시스템 및 경로 제어 방법
CN105874756B (zh) 控制信令的传输方法及设备
WO2012149797A1 (fr) Procédé et dispositif d'acquisition d'informations de réseau local sans fil
US9503393B2 (en) S-GW relocation and QoS change without mobility
CN114500377A (zh) 用于在下一代无线网络中支持低移动性设备的系统和方法
US20160227454A1 (en) Method, Apparatus and Computer Program for Control of a Data Bearer
CN108419280A (zh) 小区切换方法及设备
CN104768199B (zh) 一种数据包传输方法及装置
CN112399518A (zh) 数据回传方法以及设备
WO2011109999A1 (fr) Procédé d'indication de données et élément de réseau de gestion de mobilité
CN103813395A (zh) 终端用户在不同网络间进行无缝移动的方法及wog
WO2012028071A1 (fr) Procédé et système pour rechercher une passerelle locale
CN102858013A (zh) 寻呼优化的方法
CN106233759B (zh) 互联网协议报文的转发方法、移动网关和无线网络控制器
WO2009152757A1 (fr) Procédé d'envoi de message de données, appareil et système de communication
EP3454588B1 (fr) Procédé et dispositif de transmission de messages
WO2013041052A1 (fr) Procédé et dispositif de recherche de mobile
US10764801B2 (en) Device control method and apparatus
Challa et al. SD-MONET: Software defined mobility management in enterprise HetNet

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

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

Country of ref document: EP

Kind code of ref document: A1