WO2012167480A1 - Method, device and system for detecting and establishing local route - Google Patents

Method, device and system for detecting and establishing local route Download PDF

Info

Publication number
WO2012167480A1
WO2012167480A1 PCT/CN2011/077273 CN2011077273W WO2012167480A1 WO 2012167480 A1 WO2012167480 A1 WO 2012167480A1 CN 2011077273 W CN2011077273 W CN 2011077273W WO 2012167480 A1 WO2012167480 A1 WO 2012167480A1
Authority
WO
WIPO (PCT)
Prior art keywords
source
destination
sgw
enodeb
forwarding tunnel
Prior art date
Application number
PCT/CN2011/077273
Other languages
French (fr)
Chinese (zh)
Inventor
王岩
胡伟华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001365.0A priority Critical patent/CN103004151B/en
Priority to PCT/CN2011/077273 priority patent/WO2012167480A1/en
Publication of WO2012167480A1 publication Critical patent/WO2012167480A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for detecting, establishing, and configuring a local route. Background technique
  • the EPS (Evolved Packet System) system is an evolution network corresponding to the SAE (Service Architecture Evolution) group. It optimizes network performance from the perspective of network architecture.
  • the UE User Equipment
  • the eNodeB Evolved NodeB, Evolved NodeB, SGW (Serving Gateway), PGW (Packet Data Network Gateway)
  • PGW Packet Data Network Gateway
  • Embodiments of the present invention provide a method, a device, and a system for detecting, establishing, and reducing a local route.
  • the embodiment of the present invention uses the following technical solution:
  • the embodiment of the present invention provides a method for detecting a local route, including: searching for a source UE in a context query table that generates an IP address and a context association. Context information corresponding to the IP address and context information corresponding to the IP address of the destination UE;
  • the local routing request is sent to the source UE and the network element on the destination UE bearer link, so that the source UE and the destination UE carry the local element routing configuration, and the source UE and the source UE The data packets between the destination UEs are locally routed.
  • an embodiment of the present invention provides a method for establishing a local route, including: receiving a local routing request;
  • the embodiment of the present invention provides a local routing detection apparatus, including: a context information searching unit, configured to search for a context information corresponding to an IP address of a source UE and a destination UE in a context query table that generates an IP address and a context association. Context information corresponding to the IP address;
  • the local routing capability detecting unit is configured to detect, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishing capability;
  • a routing request sending unit configured to send a local routing request to the source UE and the network element on the destination UE bearer link when the local routing establishment capability is enabled, so that the source UE and the destination UE carry the local element of the network element on the bearer link Configure and locally route data packets between the source UE and the destination UE.
  • an embodiment of the present invention provides a device for establishing a local route, including: a route request receiving unit, configured to receive a local route request;
  • the local route establishing unit is configured to establish a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE. To enable data packets between the source UE and the destination UE. Local routing based on the binding relationship.
  • an embodiment of the present invention provides a system for implementing local route establishment, including a detecting device and a establishing device, where the detecting device is configured to send a local routing request to the establishing device, where the establishing device is configured to receive After the local routing request is made, a local route is established.
  • the method for detecting, establishing, and the local route of the local route provided by the embodiment of the present invention is such that when the source UE and the destination UE are connected to the same SGW or the eNodeB, or the source UE and the destination UE are respectively connected to different SGWs or eNodeBs,
  • the local routing path can be established, so that the data message sent by the source UE to the destination UE does not need to be looped back through the external PDN network, thereby reducing the transmission delay, improving the user experience, and reducing the processing load of the PGW.
  • FIG. 1 is a schematic diagram of data packet transmission between a source UE and a destination UE via an external PDN network in the prior art
  • FIG. 2 is a flowchart of a method for detecting a local route according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for establishing a local route according to Embodiment 1 of the present invention
  • FIG. 4 is a flowchart of a local route according to Embodiment 2 of the present invention
  • FIG. 5 is a signaling flowchart of a method for establishing a local route according to Embodiment 2 of the present invention
  • FIG. 6 is a signaling flowchart of a method for establishing a local route according to Embodiment 3 of the present invention
  • FIG. 8 is a flowchart of a method for establishing a local route according to Embodiment 5 of the present invention.
  • Embodiment 9 is a block diagram of a local route detecting apparatus in Embodiment 6 of the present invention.
  • Figure 10 is a block diagram of another local routing detection apparatus based on Figure 9;
  • Figure 1 is a block diagram of a local routing establishment apparatus in Embodiment 6 of the present invention;
  • FIG. 1 is a block diagram of a local routing unit in Embodiment 6 of the present invention.
  • FIG. 13 is a block diagram of another local routing unit in Embodiment 6 of the present invention.
  • FIG. 14 is a schematic diagram of a system for implementing local route establishment in Embodiment 7 of the present invention
  • FIG. FIG. 15 is a schematic diagram of a system composed of a source SGW, a destination SGW, and a PGW according to Embodiment 7 of the present invention
  • FIG. 16 is a schematic diagram of a network application scenario in Embodiment 2 of the present invention.
  • FIG. 17 is a schematic diagram of a network application scenario in Embodiment 3 of the present invention.
  • a common EPS system is shown in Figure 1.
  • the UE After the UE is attached to the EPS system, the UE is connected to the external PDN network through the bearer of the eNodeB, the SGW, and the PGW.
  • the data packet is also transmitted through the external PDN network after being carried by the PGW.
  • the network between the eNodeB and the SGW is a backhaul network, and the network between the SGW and the PGW is a dedicated bearer transmission network.
  • the source UE and the destination UE can perform local routing within the range of the backhaul network, and the data packet between the source UE and the destination UE is not sent to the PGW, the transmission network bandwidth resource can be effectively saved and the delay of data transmission can be reduced.
  • Example 1
  • An embodiment of the present invention provides a method for detecting a local route. As shown in FIG. 2, the method includes the following steps:
  • the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE are searched in the context query table that generates the IP address and the context.
  • the association between the IP address of the source UE/destination UE and the context information of the IP address of the corresponding source UE/destination UE is recorded, that is, the corresponding context information can be queried by using the IP address.
  • the context information includes network element information on a link of a PDN connection established by the source UE/destination UE. For example, the PDN connection established by UE 1 is PDN1.
  • the context information related to the PDN1 of the UE 1 includes: information about the bearer network element (eNodeB, SGW, PGW, etc.) on the PDN 1 bearer link (the IP address of the SGW/eNodeB, and the bearer network element after receiving the data packet) Forward the address of the destination NE and its bearer ID, etc.).
  • the bearer network element eNodeB, SGW, PGW, etc.
  • the network element on the source UE and the destination UE bearer link may be an SGW that simultaneously carries the PDN connection between the source UE and the destination UE, or may be an eNodeB that simultaneously carries the PDN connection between the source UE and the destination UE, or may be a bearer source.
  • the local routing establishment capability may be implemented by a local routing parameter manually set in the network element.
  • the local routing parameter exists, the network element has a local routing establishment capability, and when the local routing parameter does not exist, When the network element does not have the local route establishment capability.
  • the local routing parameter may also be configured with multiple status values, for example, the value of the status value is set to 0 or 1. When the status value is 1, the network element has local routing establishment capability, and when the status value is 0, the network element does not have the ability to establish local routes.
  • the PDN connection established by UE 1 is PDN1, PDN 1 is carried by SGW1, the PDN connection established by UE2 is PDN2, and PDN2 is carried by SGW2. And both PDN1 and PDN2 are carried via the same PGW (PGW-1).
  • the status value of the local routing parameter 1 in the SGW1 is recorded in the context information of the UE 1, and the status value of the local routing parameter 1 in the SGW2 is also recorded.
  • PGW-1 detects that at least one of the local routing parameter 1 and the local routing parameter 2 has a status value of G, the current process is terminated.
  • the status values of local route parameter 1 and local route parameter 1 are both 1, go to step 1 03.
  • the local routing request is received, and the local NE and the network element on the destination UE bearer link are locally configured, so that the data between the source UE and the destination UE is locally routed.
  • the UE 1 and UE 2 in step 102 are still taken as an example for illustration.
  • the PGW-1 will send a local routing request to the source UE with the local route establishment capability and the network element on the destination UE bearer link on the PDN connection path of the UE 1 and the UE 2 respectively.
  • SGW1 and SGW2 receiving the local routing request will perform local routing configuration separately to implement local transmission of data packets between UE1 and UE2. Routing.
  • the embodiment of the present invention further provides a method for establishing a local route. As shown in FIG. 3, the method includes the following steps:
  • a binding relationship between the data packet sent by the source UE and the destination UE is established, and the data packet sent by the source UE is sent to the destination UE through a local route.
  • the binding relationship between the data packet sent by the UE to the source UE and the downlink bearer of the source UE is established, so that the data packet sent by the destination UE is sent to the source UE through the local route.
  • the PDN connections of UE1 and UE2 are carried over the same SGW (SGW3), and SGW3 is connected to PGW-2. After the PGW-2 performs the local routing feasibility detection method, the local routing request is sent to the SGW3.
  • the SGW3 After receiving the local routing request from the PGW-2, the SGW3 establishes a binding relationship between the data packet sent by the UE1 to the UE2 and the downlink bearer of the UE2, and the binding relationship between the data packet sent by the UE2 to the UE1 and the downlink bearer of the UE1. After that, the UE1 sends a data packet destined for UE2 to SGW3, and then forwards it to UE2 by SGW3. After the data packet returned by UE2 to UE1 is transmitted to SGW3, it will also be forwarded by SGW3 to UE1 without having to enter through PGW-2. The external PDN network loops back.
  • the method for detecting a local route and the method for establishing a local route provided by the embodiment of the present invention by detecting and establishing a local route, the data message sent by the source UE to the destination UE and the data returned by the destination UE to the source UE are both
  • the loopback of the external PDN network is not required, thereby reducing the transmission delay, improving the user experience, and reducing the processing load of the PGW.
  • the PDN connection of the source UE and the PDN connection of the destination UE are respectively carried by the source SGW and the destination SGW, and the source SGW and the destination SGW are connected to the same PGW.
  • the active MME is set on the PDN connection path of the source UE, and the destination MME is set on the PDN connection path of the destination UE.
  • the network architecture is shown in FIG. 16.
  • the embodiment of the present invention provides a method for detecting a local route. As shown in FIG. 4, the method includes the following steps:
  • the PGW After the source UE/destination UE establishes a PDN connection, the PGW records the correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established in the context query table. Relationship.
  • the PGW After the source UE/destination UE establishes its own PDN connection, the PGW stores the context information of the PDN connection.
  • the context information includes network element information of a PDN connection established by the source UE/destination UE.
  • the PDN connection established by UE 1 is PDN1.
  • the context information related to the PDN1 of the UE 1 includes: information about the network element (eNodeB, SGW, PGW, etc.) on the link to which the PDN1 is connected (the IP address of the SGW, and the forwarding destination address after the network element receives the data packet) And bearer ID, etc.).
  • the PGW records the correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established to the PGW's own context query table.
  • the data packets sent by the source UE will be sent to the external PDN network through the PGW for loopback.
  • the PGW After receiving the data packet sent by the source UE, the PGW obtains the IP address used by the source UE and the IP address used by the destination UE from the data packet sent by the source UE.
  • the local routing establishment capability may be implemented by a local routing parameter manually set in the network element.
  • the local routing parameter exists, the network element has a local routing establishment capability, and when the local routing parameter does not exist, When the network element does not have the local route establishment capability.
  • the local routing parameter may also be configured with multiple status values, for example, the value of the status value is set to 0 or 1. When the status value is 1, the network element has local routing establishment capability, and when the status value is 0, the network element does not have the ability to establish local routes.
  • the PGW detects that at least one of the source SGW and the destination SGW does not have the local route establishment capability
  • the current process is terminated.
  • the process proceeds to step 305.
  • the local routing policy specifies whether to allow local execution of data packets sent and received by the UE.
  • the type of data message that performs local routing For example, the local routing policy prohibits a type of user that is legally intercepted by the operator to perform local routing.
  • the local routing policy allows local routing to be performed for voice-type data packets communicated between the UEs.
  • step 305 further includes:
  • the Policy and Charging Rule Function sends a routing policy request message, where the routing policy request message carries a user identifier (such as IMSI) or an IP address of the source UE and the destination UE.
  • the PGW receives a corresponding local routing policy that is obtained by the PCRF according to the user identifier or the IP address of the source UE and the destination UE.
  • the PGW can detect whether the source UE and the destination UE meet the local routing policy set in the PGW or the local routing policy returned by the PCRF. When at least one of the source UE and the destination UE does not comply with the local routing policy, the current process is terminated; When the UE meets the local routing policy, step 306 is performed.
  • the embodiment of the present invention further provides a method for establishing a local route. As shown in FIG. 5, the method includes the following steps:
  • the source SGW receives a local routing request sent by the PGW.
  • the local routing request includes the identifier of the source UE, the identifier of the destination UE, the identifier of the source UE, the identifier of the destination UE, the IP address of the source SGW, and the IP address of the destination SGW. If the PDN connection of the UE is required, If the NAT address translation is performed, the local routing request also needs to include the NAT mapping information. If the data packet that performs the local routing is separately charged, the local routing request needs to include the charging information, such as the charging identifier. Billing method, etc.
  • the source SGW After receiving the local routing request, the source SGW forwards the local routing request to the source MME.
  • the source MME After receiving the local routing request from the source SGW, the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW.
  • the source MME sends a tunnel establishment request from the source SGW to the destination SGW to the destination SGW according to the IP address of the destination SGW in the local routing request from the source SGW.
  • the forwarding tunnel request for establishing the source SGW to the destination SGW includes: an identifier of the destination UE, The downlink bearer identifier of the destination UE.
  • the SGW allocates a forwarding tunnel identifier from the source SGW to the destination SGW.
  • the binding relationship between the forwarding tunnel identifier and the downlink bearer identifier of the destination UE is established in the destination SGW.
  • the destination SGW After the forwarding tunnel identifier is allocated, the destination SGW searches for the context of the destination UE according to the destination UE identifier, and records the binding relationship between the forwarding tunnel identifier and the destination UE downlink bearer identifier in the context.
  • the source MME returns the forwarding tunnel identifier of the source SGW to the destination SGW to the source SGW.
  • the binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE is established in the source SGW.
  • the source SGW After receiving the identifier of the forwarding tunnel allocated by the destination SGW, the source SGW establishes a binding relationship between the identifier of the forwarding tunnel and the data packet sent by the source UE to the destination UE, so that the data packet of the source UE passes through the forwarding tunnel. Pass to the destination UE. After the source SGW establishes a binding relationship between the identifier of the forwarding tunnel and the data packet sent by the source UE to the destination UE, the source SGW may send a source UE to the destination UE local route establishment complete message to the PGW.
  • the data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet,
  • the binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE.
  • the address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the identifier of the forwarding tunnel and the source UE are sent to the destination UE according to the correspondence between the quintuple and the downlink bearer of the destination UE. Binding relationship of data packets.
  • the data packet that meets the description of the quintuple can be filtered by a data stream filtering device (such as TFT, Tr a f f i c F ow Temp a t e, service flow template).
  • the local route that the source UE sends a data packet to the destination UE is established.
  • the source SGW encapsulates the data packet with the identifier of the forwarding tunnel according to the binding relationship between the identifier of the forwarding tunnel allocated by the destination SGW and the data packet sent by the source UE to the destination UE.
  • transmitting to the destination SGW after the destination SGW receives the data packet, according to the identifier of the forwarding tunnel and the destination UE The binding relationship carried by the line sends the data packet to the destination UE.
  • the PGW also establishes a local route for the destination UE to send data packets to the source UE. Including Step 4 09 to Step 4 1 6 :
  • the SGW receives the local routing request sent by the PGW.
  • the PGW may send a local routing request to the destination SGW where the PDN connection of the destination UE is located after step 408.
  • the PGW may also first establish a local route for the destination UE to send data packets to the source UE, and then establish a local route for the source UE to send data packets to the destination UE, which is not limited by the embodiment of the present invention.
  • the SGW forwards the local routing request to the destination MME.
  • the local MME After the local MME receives the local routing request from the destination SGW, it sends a forwarding tunnel establishment request to the source SGW to the source SGW.
  • the source SGW allocates a forwarding tunnel identifier from the destination SGW to the source SGW.
  • the binding relationship between the identifier of the forwarding tunnel and the identifier of the downlink bearer of the source UE is established in the source SGW.
  • the MME returns the forwarding tunnel identifier of the destination SGW to the source SGW to the destination SGW.
  • the binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE is established in the destination SGW.
  • the destination SGW After receiving the forwarding tunnel identifier that is allocated by the source SGW, the destination SGW establishes a binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE, so that the data packet of the destination UE is transmitted to the forwarding tunnel to the forwarding tunnel.
  • Source UE After the SGW establishes the binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE, the SGW may send a destination UE to the source UE local route establishment complete message to the PGW.
  • the binding of the forwarding tunnel identifier to the data packet sent by the destination UE to the source UE may be: sending the data packet sent by the destination UE to the source UE.
  • the IP address of the destination UE, the port number of the destination UE, the IP address of the source UE, the port number of the source UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple according to the quintuple and the source UE.
  • a data flow screening device such as a TFT may be used to select a data packet that meets the description of the quintuple.
  • the data packet is translated on the NAT mapping device by the IP address and port number of the public and private network.
  • the function of NAT address translation needs to be migrated. Specifically, when the address and port information of the NAT mapping device are pre-stored in the PGW, the PGW initiates a NAT information acquisition request to the NAT mapping device according to the pre-stored address and port information.
  • NAT device receives the NAT information acquisition request, the NAT mapping information stored therein is returned to the PGW 0 when the PGW not stored NAT mapping device address and port information, PGW can detect a NAT device by NAT traversal techniques, and from The NAT mapping information is obtained on the detected NAT device.
  • the NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number.
  • the PGW transmits the obtained NAT mapping information to the source SGW and the destination SGW. Establishing, by the source SGW, the correspondence between the data packet sent by the source UE and the NAT mapping information, and establishing the correspondence between the data packet sent by the destination UE and the source mapping information on the destination SGW, so that the source SGW is at the source SGW. NAT address translation is performed on the destination SGW.
  • the source SGW After receiving the data packet sent by the source UE to the destination UE, the source SGW performs NAT address translation on the data packet, and converts the private network address of the source UE and the private network transmission protocol port number to the corresponding public network address. And the public network transmission protocol port number, converting the public network address of the destination UE and the public network transmission protocol port number into the corresponding private network address and the private network transmission protocol port number, and performing NAT through the forwarding tunnel from the source SGW to the destination SGW.
  • the address converted data message is sent to the destination SGW.
  • the SGW sends the data packet to the destination UE.
  • the data packet sent by the destination UE to the source UE is also translated by the NAT address on the destination SGW, and finally transmitted to the source UE.
  • the source SGW and the destination SGW periodically send a heartbeat packet to the NAT mapping device to notify the NAT mapping device to continue to maintain the public network address and the public network transmission protocol port number allocated for the data packet of the local route.
  • the sending period of the heartbeat packet should be smaller than the mapping release period.
  • the method for detecting the local route and the method for establishing the local route provided by the embodiment of the present invention, so that when the source UE and the destination UE are respectively connected to the source SGW and the destination SGW, a forwarding tunnel is established between the source SGW and the destination SGW.
  • the local route is used to prevent the data packet transmission between the source UE and the destination UE from being looped back through the external PDN network, reducing the transmission delay of data packets between the source UE and the destination UE, and improving the user experience. It also reduces the processing load of the PGW.
  • the PDN connection of the source UE and the PDN connection of the destination UE are respectively carried by the source eNodeB and the destination eNodeB, and the source eNodeB and the destination eNodeB are connected to the same SGW.
  • the network architecture of the system is shown in FIG.
  • the network element PGW that performs the local route detection method needs to detect the source UE and the destination UE in the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE. Whether the source eNodeB on the bearer link and the destination eNodeB where the destination UE is located have local route establishment capability.
  • the embodiment of the present invention further provides a method for establishing a local route, as shown in FIG. 6, including the following steps:
  • the PGW sends a local routing request to the SGW.
  • the local routing request includes the identifier of the source UE, the identifier of the destination UE, the bearer identifier of the source UE, the identifier of the destination UE, the IP address of the source SGW, and the IP address of the destination SGW, if the PDN connection of the UE needs to be performed.
  • the local routing request also needs to include the NAT mapping information. If the data packet that performs the local routing needs to be separately charged, the local routing request needs to include the charging information, such as the charging identifier. Fee method, etc. 5 02.
  • the SGW forwards the local routing request to the source MME.
  • the SGW queries the corresponding context according to the identifiers of the source UE and the destination UE, and detects the location of the eNodeB where the source UE and the destination UE are located and whether the local route establishment capability is available. If the source eNodeB of the source UE and the destination eNodeB of the destination UE are different eNodeBs, and both have the local routing capability, the local routing establishment request is sent to the source MME, including: the identifier of the source UE, the identifier of the destination UE, and the source UE. The 7-digit identifier, the 7-digit identifier of the destination UE, the IP address of the source eNodeB, and the IP address of the destination eNodeB. If the NAT address translation is required in the PDN connection of the UE, the local routing request must also include NAT mapping information. The local routing request needs to include the accounting information, such as the charging identifier and the charging method.
  • the source MME sends a forwarding tunnel establishment request from the source eNodeB to the destination eNodeB to the destination eNodeB.
  • the source MME forwards the forwarding tunnel establishment request to the destination eNodeB according to the IP address of the destination eNodeB.
  • the forwarding tunnel establishment request includes: an identifier of the destination UE, and a downlink bearer identifier of the destination UE.
  • the eNodeB branches to a source eNodeB destination eNodeB forwarding channel identifier.
  • the binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE is established in the destination eNodeB.
  • the source MME sends the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source eNodeB.
  • the binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE is established in the source eNodeB.
  • the source eNodeB After receiving the forwarding tunnel identifier allocated by the destination eNodeB, the source eNodeB establishes a binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE, so that the data packet of the source UE is transmitted to the forwarding tunnel to the forwarding tunnel.
  • Destination UE Establishing the forwarding tunnel label
  • the source eNodeB sends a forwarding tunnel setup complete message to the source MME, and the local route from the source eNodeB to the destination eNodeB to the destination UE is completed.
  • the MME sends a local route setup complete message from the source UE to the destination UE direction to the SGW, and forwards the message to the PGW via the SGW.
  • the data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet,
  • the binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE.
  • the address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the identifier of the forwarding tunnel and the source UE are sent to the destination UE according to the correspondence between the quintuple and the downlink bearer of the destination UE. Binding relationship of data packets.
  • the source eNodeB may select a data packet that meets the description of the quintuple by using a data stream filtering device (such as a TFT).
  • the PGW also establishes a local route for the destination UE to send data packets to the source UE. Including Step 5 09 to Step 5 1 6:
  • the PGW sends a local routing request to the SGW.
  • the PGW may send a local route request to the SGW after the local route of the source UE sends the data packet to the destination UE, that is, after the step 5 08, to establish a local route for the destination UE to send the data packet to the source UE.
  • the PGW may also first establish a local route for the destination UE to send data packets to the source UE, and then establish a local route for the source UE to send data packets to the destination UE, which is not limited in this embodiment of the present invention.
  • the SGW forwards the local routing request to the destination MME.
  • the MME sends a forwarding tunnel establishment request from the destination eNodeB to the source eNodeB to the source eNodeB.
  • the destination MME forwards the forwarding tunnel establishment request to the source eNodeB according to the IP address of the source eNodeB.
  • the forwarding tunnel establishment request includes: an identifier of the source UE, and a downlink bearer identifier of the source UE.
  • the source eNodeB divides the forwarding track identifier of the eNodeB source eNodeB.
  • the binding relationship between the forwarding tunnel identifier and the downlink bearer identifier of the source UE is established in the source eNodeB.
  • the MME sends the forwarding tunnel identifier of the destination eNodeB to the source eNodeB to the destination eNodeB.
  • the binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE is established in the destination eNodeB.
  • the destination eNodeB After receiving the forwarding tunnel identifier allocated by the source eNodeB, the destination eNodeB establishes a binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE, so that the data packet of the destination UE is transmitted to the forwarding tunnel to the forwarding tunnel.
  • Source UE After the binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE is established, the destination eNodeB sends a tunnel establishment complete message to the destination MME, and the destination MME establishes a local route completion message from the destination UE to the source UE. Sent to the SGW and forwarded to the PGW via the SGW.
  • the binding of the forwarding tunnel identifier to the data packet sent by the destination UE to the source UE may be: an IP address of the destination UE, a port number of the destination UE, and an IP address of the source UE in the data packet sent by the destination UE to the source UE.
  • the address, the port number of the source UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the identifier of the forwarding tunnel and the destination UE are sent to the source UE according to the correspondence between the quintuple and the downlink bearer of the source UE.
  • Binding relationship of data packets In the destination eNodeB, the data packet matching the description of the quintuple can be selected by a data stream filtering device (such as a TFT) data selection device.
  • the data packet is translated on the NAT mapping device by the IP address and port number of the public and private network.
  • the function of NAT address translation needs to be migrated. Specifically, when the address and port information of the NAT mapping device are pre-stored in the PGW, the PGW initiates a NAT information acquisition request to the NAT mapping device according to the pre-stored address and port information.
  • NAT device receives the NAT information acquisition request, the NAT mapping information stored therein is returned to the PGW 0 when the PGW not stored NAT mapping device address and port information, PGW can detect a NAT device by NAT traversal techniques, and from Detected on the detected NAT device Describe NAT mapping information.
  • the NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number.
  • the PGW transmits the obtained NAT mapping information to the source eNodeB and the destination eNodeB via the SGW and the MME. Establishing, on the source eNodeB, the correspondence between the data sent by the source UE and the destination information, and the mapping between the data packet sent by the destination UE and the source mapping information on the destination eNodeB. NAT address translation is performed on the eNodeB and the destination eNodeB.
  • the source eNodeB After receiving the data packet sent by the source UE to the destination UE, the source eNodeB performs NAT address translation on the data packet, and converts the private network address of the source UE and the private network transmission protocol port number to the corresponding public network address. And the public network transmission protocol port number, converting the public network address of the destination UE and the public network transmission protocol port number into the corresponding private network address and the private network transmission protocol port number, and performing NAT through the forwarding tunnel of the source eNodeB to the destination eNodeB.
  • the address converted data message is sent to the destination eNodeB.
  • the eNodeB sends the data packet to the destination UE.
  • the data packet sent by the destination UE to the source UE is also translated by the NAT address on the destination eNodeB, and finally transmitted to the source UE.
  • a local route is established through the forwarding tunnel between the source eNodeB and the destination eNodeB, and the data packets of the source UE and the destination UE are no longer address translated by the NAT mapping device between the PGW and the external PDN network.
  • the public network address and the public network transmission protocol allocated for the data of the executed local route are recovered.
  • the port number, the source eNodeB, and the destination eNodeB periodically send a heartbeat packet to the NAT mapping device to notify the NAT mapping device to transmit the protocol port number.
  • the sending period of the heartbeat packet should be smaller than the mapping release period.
  • the SGW may be used as a network element for performing a local route detection method.
  • detection method of the local route and the method for establishing the local route in this scenario refer to the foregoing description of the embodiment of the present invention, and details are not described herein again.
  • the method for detecting the local route and the method for establishing the local route provided by the embodiment of the present invention, so that when the source UE and the destination UE are respectively connected to the source eNodeB and the destination eNodeB,
  • the establishment of a local route is established by establishing a forwarding tunnel between the source eNodeB and the destination eNodeB.
  • the local route is used to prevent the data packet transmission between the source UE and the destination UE from being looped back through the external PDN network, reducing the transmission delay of data packets between the source UE and the destination UE, and improving the user experience. It also reduces the processing load of the PGW.
  • the local routing establishment function may be set in the SGW.
  • the embodiment of the present invention provides a method for establishing a local route, as shown in FIG. The following steps:
  • the SGW receives the local routing request sent by the PGW.
  • the SGW By receiving the local routing request, the SGW establishes a local route for the data to be sent by the source UE to the destination UE and a local route for the data transmission by the destination UE to the source UE.
  • the PGW Before the step 6 01 is performed, the PGW has completed the detection of the local route, and the description of the method for detecting the local route by the PGW can be referred to the descriptions in Embodiment 2 and Embodiment 3 of the present invention, and details are not described herein again.
  • the local routing request includes the identifier of the source UE, the identifier of the destination UE, the identifier of the source UE, and the bearer identifier of the destination UE. If the NAT address translation needs to be performed in the PDN connection of the UE, the local routing request needs to be included in the local routing request.
  • the NAT mapping information needs to include the accounting information, such as the charging identifier and the charging method, in the local routing request, if the data packet is to be separately charged.
  • the SGW establishes a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE.
  • the SGW establishes a binding relationship between the data packet sent by the UE and the source UE to the downlink bearer of the source UE.
  • the SGW may continue to establish the binding of the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE.
  • the route establishment complete message from the source UE to the destination UE is sent to the PGW.
  • the PGW After receiving the route establishment complete message, the PGW sends a local routing request to the SGW, so that the SGW continues to establish the destination UE to the source UE. Binding relationship between the sent data packet and the downlink bearer of the source UE.
  • the SGW may send a local route establishment complete message of the destination UE to the source UE to the PGW.
  • the data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet,
  • the binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE.
  • the address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the destination UE downlink bearer identifier is established and the source UE sends the destination UE to the destination UE according to the downlink bearer corresponding to the quintuple and the destination UE. Binding relationship of data packets.
  • the binding of the forwarding tunnel identifier to the data packet sent by the destination UE to the source UE may be: an IP address of the destination UE, a port number of the destination UE, and an IP address of the source UE in the data packet sent by the destination UE to the source UE.
  • the address, the port number of the source UE, and the transmission protocol between the destination UE and the source UE are used as a quintuple. According to the correspondence between the quintuple and the downlink bearer of the source UE, the source UE downlink bearer identifier is established, and the destination UE is sent to the source UE. Binding relationship of data packets.
  • the data packet that meets the description of the quintuple can be filtered by a data stream filtering device (such as a TFT).
  • a data stream filtering device such as a TFT
  • the data packet needs to be translated on the NAT mapping device according to the NAT mapping information to the IP address and port number of the public and private network.
  • the function of NAT address translation needs to be migrated.
  • the NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number.
  • the PGW transmits the obtained NAT mapping information to the SGW.
  • SGW establishes source UE to the target Correspondence between the data packet sent by the UE and the NAT mapping information, and the correspondence between the data packet sent by the destination UE to the source UE and the NAT mapping information, so that NAT address translation can be implemented on the SGW.
  • the SGW After receiving the data packet sent by the source UE to the destination UE, the SGW performs NAT address translation on the data packet, and converts the private network address and the private network transmission protocol port number into corresponding public network addresses and public network transmissions.
  • the protocol port number, the public network address of the destination UE, and the public network transmission protocol port number are converted into the corresponding private network address and the private network transmission protocol port number, and the data packet of the NAT address translation is sent to the downlink bearer of the destination UE.
  • Destination UE the SGW also sends the NAT packet to the source UE.
  • the function of detecting the local route can also be integrated in the SGW.
  • the SGW records the correspondence between the IP address of the source UE/destination UE and the context information generated after establishing the PDN connection in the context query table stored in the SGW. Then, the IP address of the source UE and the IP address of the destination UE are obtained from the data packet sent by the source UE. If the SGW finds the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE in the context query table, the SGW has the local routing capability. The SGW continues to detect whether the source UE and the destination UE comply with the local routing policy. When the local routing policy is met, the SGW starts to implement the local routing establishment method.
  • the method for establishing a local route is provided in the embodiment of the present invention, so that when the source UE and the destination UE are connected to the same SGW, the data message forwarding between the source UE and the destination UE is performed through the SGW, thereby realizing the establishment of the local route. Therefore, the data packet transmission between the source UE and the destination UE does not need to be looped back through the external PDN network, and the transmission delay of the data packet between the source UE and the destination UE is reduced, thereby improving the user experience; when the SGW is simultaneously integrated When the function of detecting local routes is performed, the processing load of the PGW can be further reduced.
  • the PDN connection of the source UE and the PDN connection of the destination UE are carried by the same eNodeB, and the system also has an SGW and an MME connected to the eNodeB.
  • the embodiment of the present invention provides a method for establishing a local route. As shown in FIG. 8, the method includes the following steps:
  • the eNodeB receives the local route sent by the SGW to the MME and forwarded by the MME. begging.
  • the SGW Before the step S101 is performed, the SGW has completed the detection of the local route.
  • the method for detecting the local route can be referred to the description in Embodiment 2 and Embodiment 3 of the present invention, and details are not described herein.
  • the SGW sends a local routing request to the MME, so that the MME forwards the local routing request to the eNodeB.
  • the local routing request includes an identifier of the source UE, an identifier of the destination UE, a bearer identifier of the source UE, a bearer identifier of the destination UE, NAT mapping information, and a charging standard.
  • the eNodeB establishes a binding relationship between the data sent by the source UE to the destination UE and the downlink bearer of the destination UE.
  • the eNodeB establishes a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE.
  • the eNodeB may continue to establish the binding of the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE.
  • the source UE to the destination UE route establishment complete message is sent to the MME, and the route establishment complete message is sent by the MME.
  • the SGW 0 SGW After the SGW 0 SGW receives the route setup complete message, it sends a local route request to the MME, and the MME forwards the request to the eNodeB, so that the eNodeB continues to establish the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE. Binding relationship.
  • the eNodeB may send a route establishment complete message of the destination UE to the source UE to the MME, and the MME forwards the message to the SGW.
  • the data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet,
  • the binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE.
  • the address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the destination UE downlink bearer identifier is established and the source UE sends the destination UE to the destination UE according to the downlink bearer corresponding to the quintuple and the destination UE. Binding relationship of data packets.
  • the number of destination UEs that can be sent to the source UE can be simultaneously transmitted in the uplink bearer of the destination UE. According to the packet and the data packet sent by the destination UE to the other destination, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, the forwarding tunnel identifier is bound to the data packet sent by the destination UE to the source UE.
  • the IP address of the destination UE, the port number of the source UE, the IP address of the source UE, the port number of the source UE, and the transmission protocol between the destination UE and the source UE in the data packet sent by the destination UE to the source UE may be:
  • a quintuple a binding relationship between the downlink bearer identifier of the source UE and the data packet sent by the destination UE to the source UE is established according to the correspondence between the quintuple and the downlink bearer of the source UE.
  • the data packet needs to be translated on the NAT mapping device according to the NAT mapping information to the IP address and port number of the public and private network.
  • the function of NAT address translation needs to be migrated.
  • the NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number.
  • the PGW transmits the obtained NAT mapping information to the eNodeB.
  • the eNodeB establishes a correspondence between the data packet sent by the source UE to the destination UE and the NAT mapping information, and the correspondence between the data packet sent by the destination UE to the source UE and the NAT mapping information, so that NAT address translation can be implemented on the eNodeB.
  • the eNodeB after receiving the data packet sent by the source UE to the destination UE, the eNodeB performs NAT address translation on the data packet, and converts the private network address and the private network transmission protocol port number into the corresponding public network address and the public network transmission.
  • the protocol port number is used to convert the public network address of the destination UE and the public network transmission protocol port number into the corresponding private network address and the private network transmission protocol port number, and send the data packet for NAT address translation through the downlink bearer of the destination UE.
  • the eNodeB after receiving the data packet sent by the destination UE to the source UE, the eNodeB also needs to perform NAT conversion, and then sends the downlink bearer of the source UE to the source UE.
  • the function of detecting the local route may also be integrated in the PGW, that is, the function of the SGW in the embodiment of the present invention is performed by the PGW, and details are not described herein again.
  • the function of detecting local routes can also be integrated in the eNodeB.
  • the eNodeB After the source UE/destination UE establishes a PDN connection, the eNodeB The correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established is recorded in the context query table stored in itself. Then, the IP address of the source UE and the IP address of the destination UE are obtained from the data packet sent by the source UE. If the eNodeB finds the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE in the context query table, the eNodeB has the local route establishment capability. The eNodeB continues to check whether the source UE and the destination UE comply with the local routing policy. When the local routing policy is met, the eNodeB starts to implement the local routing establishment method.
  • the method for establishing a local route is provided in the embodiment of the present invention, so that when the source UE and the destination UE are respectively connected to the same eNodeB, the eNodeB performs data packet forwarding between the source UE and the destination UE, thereby implementing local route establishment. Therefore, the data packet transmission between the source UE and the destination UE does not need to be looped back through the external PDN network, and the transmission delay of the data packet between the source UE and the destination UE is reduced, thereby improving the user experience; when the eNodeB is simultaneously When the function of detecting local routes is integrated, the processing load of the SGW and the PGW can be further reduced.
  • the embodiment of the invention provides a local routing detection device, as shown in FIG.
  • the device includes: a context information finding unit 91, a local routing capability detecting unit 92, and a routing request transmitting unit 93.
  • the context information searching unit 91 is configured to search context information corresponding to the IP address of the source UE and context information corresponding to the IP address of the destination UE in the context query table that generates the IP address and the context.
  • the local routing capability detecting unit 92 is configured to detect, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has local route establishment capability.
  • the routing request sending unit 93 is configured to send a local routing request to the network element having the local routing establishment capability, so that the network element with the local routing establishment capability performs local routing configuration, and the data packet between the source UE and the destination UE is configured. Make local routes.
  • the apparatus further includes a routing policy detecting unit 94.
  • the routing policy detecting unit 94 is configured to detect whether the source UE and the destination UE meet the local routing policy, so that when the local routing policy is met, the routing request sending unit 93 sends a local routing request to the network element having the local routing establishment capability. .
  • the local routing policy specifies whether to allow local routing for data packets sent and received by the UE.
  • Local routing policy The class of UEs that are prohibited from performing local routing and the type of data packets that are allowed to perform local routing are slightly defined. For example, the local routing policy prohibits a type of user that is legally intercepted by the operator to perform local routing.
  • the local routing policy allows local routing to be performed for voice-type data packets communicated between the UEs.
  • the embodiment of the present invention further provides a device for establishing a local route.
  • the method includes: a route request receiving unit 111, and a local route establishing unit 112.
  • the routing request receiving unit 111 is configured to receive a local routing request.
  • the local route establishing unit 112 is configured to establish a binding relationship between the data packet sent by the source UE and the destination UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE.
  • the data packet between the source UE and the destination UE is locally routed according to the binding relationship.
  • the local route establishing unit 112 is integrated in the source SGW when the network element for establishing the local route is the source SGW of the PDN connection where the source UE is located and the destination SGW of the PDN where the destination UE is located. As shown in FIG. 12, the local route establishing unit 112 further includes: a tunnel request sending module 1121, a first tunnel receiving module 1122, a first binding establishing module 1123, a tunnel request receiving module 1124, and a second binding establishing module 1125. The first tunnel sending module 1126.
  • the tunnel request sending module 1121 is configured to forward the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW, and the source SGW allocates the source. After forwarding the tunnel to the destination SGW, the SGW returns the forwarding tunnel identifier to the source MME.
  • the first tunnel receiving module 1122 is configured to receive a forwarding tunnel identifier that is forwarded by the source SGW to the source MME and forwarded by the source MME.
  • the first binding establishment module 1123 is configured to establish a binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE, so that the data packet is transmitted to the destination SGW through the forwarding tunnel.
  • the tunnel request receiving module 1124 is configured to receive a forwarding tunnel establishment request from the destination SGW to the source SGW sent by the destination MME.
  • the second binding establishment module 1125 is configured to allocate a forwarding tunnel of the destination SGW to the source SGW and establish a binding relationship between the forwarding tunnel identifier and the downlink bearer of the source UE.
  • the first tunnel sending module 1126 is configured to send the forwarding tunnel identifier of the destination SGW to the source SGW to the destination MME, so that the destination MME forwards the forwarding tunnel identifier of the destination SGW to the source SGW to the destination SGW, and the destination SGW establishes the destination SGW to the source SGW.
  • the local route establishing unit 112 When the local route establishing unit 112 is integrated in the source SGW, the local route establishing unit 112 is also integrated in the destination SGW.
  • the local route establishment unit 112 is integrated in the destination eNodeB.
  • the local route establishing unit 112 further includes: a third binding establishment module 1127, a second tunnel sending module 1128, a second tunnel receiving module 1129, and a fourth binding establishing module 1130.
  • the third binding establishment module 1127 is configured to: after receiving the forwarding P-channel establishment request sent by the source eNodeB and the destination eNodeB, the forwarding tunnel of the eNodeB of the source eNodeB is configured to establish the forwarding tunnel identifier and the downlink bearer of the destination UE.
  • the binding relationship is such that the data transmitted to the destination eNodeB by the forwarding tunnel of the source eNodeB to the destination eNodeB is sent to the destination UE.
  • the second tunnel sending module 1128 is configured to return the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source MME, so that the source MME forwards the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source eNodeB, and the source eNodeB establishes the source eNodeB to the destination.
  • the second tunnel receiving module 1129 is configured to receive a forwarding tunnel identifier of the destination eNodeB that is allocated by the source eNodeB and forwarded by the destination MME to the source eNodeB.
  • the fourth binding establishment module 1130 is configured to establish a binding relationship between the forwarding tunnel identifier of the destination eNodeB and the source eNodeB and the data packet sent by the destination UE to the source UE.
  • the local route establishing unit 112 When the local route establishing unit 112 is integrated in the destination eNodeB, the local route establishing unit 112 is also integrated in the source eNodeB.
  • the local routing detection apparatus and the local routing establishment apparatus detect and establish a local route, so that the data message sent by the source UE to the destination UE and the data message returned by the destination UE to the source UE are not
  • the external PDN network needs to be looped back, and local routing is performed through the SGW or the eNodeB, thereby reducing the transmission delay, improving the user experience, and reducing the processing load of the PGW.
  • the embodiment of the invention provides a system for implementing local route establishment, as shown in FIG. 14 .
  • the system includes a detection device 141 and an establishment device 142.
  • Detection device 141 is configured to send a local routing request to setup device 142.
  • the establishing device 142 is configured to establish a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE, and establish a datagram sent by the destination UE to the source UE, after receiving the local route establishment request of the detecting device 141.
  • the binding relationship between the source and the downlink bearer of the source UE so that the data packets between the source UE and the destination UE are locally routed according to the binding relationship.
  • the establishing apparatus 141 may be included in an SGW of an EPS system, and the detecting apparatus 142 may be included in a PGW of an EPS system.
  • the system includes a source SGW 151 on the PDN connection where the source UE is located, and a destination SGW 152 on the PDN where the destination UE is located, and the PGW 153.
  • the PGW 153 is configured to send a local routing request to the source SGW 151 and the destination SGW 152 respectively, so that the source SGW and the destination SGW perform local routing configuration, and locally route data packets between the source UE and the destination UE.
  • the source SGW 151 is configured to: after receiving the local routing request of the PGW 153, forward the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW 152.
  • the SGW 152 is configured to return the forwarding tunnel identifier of the allocated source SGW to the destination SGW to the source MME, and forward the source tunnel to the source SGW 151.
  • the destination SGW 152 is further configured to: after receiving the local routing request of the PGW 153, forward the received local routing request to the destination MME on the PDN connection where the destination UE is located, so that the destination MME sends the forwarding STU of the destination SGW to the source SGW to the source SGW 151. request.
  • the source SGW 151 is further configured to return the forwarding tunnel identifier of the allocated destination SGW to the source SGW to the destination MME, and forwarded by the destination MME to the destination SGW 152.
  • the SGW 152 After the SGW 152 allocates the forwarding tunnel identifier of the source SGW to the destination SGW, the SGW 152 also establishes a binding relationship between the forwarding tunnel identifier of the source SGW and the destination SGW and the downlink bearer of the destination UE, so that the data packet sent by the source UE to the destination UE is forwarded. After reaching the destination SGW 152, it is forwarded by the destination SGW 152 to the destination UE.
  • the source SGW 151 After receiving the forwarding tunnel identifier from the source SGW to the destination SGW, the source SGW 151 establishes a binding relationship between the forwarding tunnel identifier of the source SGW and the destination SGW and the data packet sent by the source UE to the destination UE, so that the source UE sends the data to the destination UE.
  • Message arrival source After the SGW1 51 is forwarded to the destination SGW1 52 via the forwarding tunnel of the source SGW to the destination SGW.
  • the source SGW1 151 establishes a binding relationship between the forwarding tunnel identifier of the destination SGW and the source SGW and the downlink bearer of the source UE, so that the source UE sends the data to the source UE, after the destination SGW to the source SGW. After the message is forwarded to the source SGW1 5 1 , it is forwarded to the source UE by the source SGW1 5 1 .
  • the destination SGW1 52 After the destination SGW receives the forwarding tunnel identifier from the destination SGW to the source SGW, the destination SGW1 52 establishes a binding relationship between the forwarding tunnel identifier of the destination SGW and the source SGW and the data packet sent by the destination UE to the source UE, so that the destination UE sends the data to the source UE. After the data packet arrives at the destination UE, it is forwarded to the source SGW1 51 through the forwarding tunnel of the destination SGW to the source SGW.
  • the establishing device 1 4 1 may be included in an eNodeB of the EPS system, and the detecting device 1 42 may be included in an SGW or a PGW of the EPS system.
  • the data packet needs to be translated on the NAT mapping device according to the NAT mapping information to the IP address and port number of the public and private network.
  • the function of NAT address translation needs to be migrated.
  • the system for implementing local route establishment sends a local routing request to the establishing device by using the detecting device, and the local device establishes a local route, so that the data packet transmitted between the source UE and the destination UE does not need to pass through the device.
  • the external PDN network loopback is transmitted directly through the SGW or the eNodeB, which reduces the transmission delay, improves the user experience, and reduces the processing load of the PGW.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

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

Abstract

Disclosed are a method, device and system for detecting and establishing a local route, relating to the field of communications able to reduce the transmission time delay, and improving user experience. A method for detecting a local route includes: searching for the context information corresponding to the IP address of source UE and that corresponding to the IP address of destination UE in a context look-up table; detecting whether or not the network elements on the bearer links of the source UE and the destination UE have the ability to establish a local route; and, if they have the ability to establish a local route, a local route request will be sent to the network elements on the bearer links of the source UE and the destination UE. A method for establishing a local route includes: receiving a local route request; establishing a binding relationship between a data message sent from source UE to destination UE and a downlink bearer of the destination UE and establishing a binding relationship between a data message sent from the destination UE to the source UE and a downlink bearer of the source UE. The embodiments of the present invention are mainly used in a routing device of an EPS system.

Description

本地路由的检测、 建立方法、 装置以及系统 技术领域  Local route detection, establishment method, device and system
本发明涉及通信领域, 尤其涉及一种本地路由的检测、 建立方法、 装置以及系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for detecting, establishing, and configuring a local route. Background technique
EPS ( Evolved Packet System, 演进分组系统) 系统是 SAE ( Service Architecture Evolution,系统构架演进)课题组对应的演进网络, 主要从网 络架构角度对网络性能进行优化提高。 UE(User Equipment,用户设备)附着到 EPS 系统后, 通过经由 eNodeB (Evolved NodeB,演进基站)、 SGW ( Serving Gateway,月良务网关)、 PGW (Packet Data Network Gateway,分组数据网网关) 的承载, 来与外部 PDN网络进行连接。 目前, 在实现 UE之间的数据传输时, 需要将源 UE发送的数据经已建立的承载传输到 PGW, 并由 PGW发送到所述外 部 PDN网络, 经过所述外部 PDN网络回环后, 再经 PGW将所述数据传输至目 的 UE。 在实现上述技术方案的过程中, 发明人发现现有技术至少存在如下问题: 随着技术发展, EPS系统内的 UE之间的通信业务越来越丰富, 对 UE之间 通信速度的要求越来越高, 而现有 EPS系统不能提供网内本地路由供源 UE和 目的 UE之间进行数据传输; 即使源 UE与目的 UE连接在同一 SGW或 eNodeB、 或者源 UE与目的 UE分别连接在邻近的不同 SGW或 eNodeB的情况下, 相互通 信的数据业务流也需要经过所述外部 PDN 网络进行数据交换。 在此场景下, UE 间的通信路由不优化, 增加了移动运营商回程网络和传输网络的传输负担 以及 PGW网关的处理负担, 并且导致传输时延增加, 降低用户业务体验。 发明内容  The EPS (Evolved Packet System) system is an evolution network corresponding to the SAE (Service Architecture Evolution) group. It optimizes network performance from the perspective of network architecture. After the UE (User Equipment) is attached to the EPS system, it is carried by the eNodeB (Evolved NodeB, Evolved NodeB, SGW (Serving Gateway), PGW (Packet Data Network Gateway) , to connect to the external PDN network. Currently, when the data transmission between the UEs is implemented, the data sent by the source UE needs to be transmitted to the PGW via the established bearer, and is sent by the PGW to the external PDN network, and after the external PDN network loops back, The PGW transmits the data to the destination UE. In the process of implementing the above technical solutions, the inventors have found that at least the following problems exist in the prior art: With the development of technology, communication services between UEs in an EPS system are becoming more and more abundant, and the requirements for communication speed between UEs are increasing. The higher the existing EPS system cannot provide the intra-network local route between the source UE and the destination UE for data transmission; even if the source UE and the destination UE are connected in the same SGW or eNodeB, or the source UE and the destination UE are respectively connected in the adjacent In the case of different SGWs or eNodeBs, the data traffic flows that communicate with each other also need to exchange data through the external PDN network. In this scenario, the communication route between the UEs is not optimized, which increases the transmission burden of the mobile operator's backhaul network and the transmission network and the processing load of the PGW gateway, and increases the transmission delay and reduces the user service experience. Summary of the invention
本发明的实施例提供一种本地路由的检测、 建立方法、 装置以及系 统, 能够减少传输延时。 为达到上述目的, 本发明的实施例釆用如下技术方案: 一方面, 本发明实施例提供一种本地路由的检测方法, 包括: 在生成 I P地址与上下文关联的上下文查询表中查找源 UE的 I P地 址对应的上下文信息和目的 UE的 I P地址对应的上下文信息; Embodiments of the present invention provide a method, a device, and a system for detecting, establishing, and reducing a local route. In order to achieve the above object, the embodiment of the present invention uses the following technical solution: In an aspect, the embodiment of the present invention provides a method for detecting a local route, including: searching for a source UE in a context query table that generates an IP address and a context association. Context information corresponding to the IP address and context information corresponding to the IP address of the destination UE;
在查找到的所述源 UE及目的 UE的上下文信息中, 检测所述源 UE 及目的 UE承载链路上的网元是否具有本地路由建立能力;  Detecting, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishment capability;
当具有本地路由建立能力时, 向源 UE及目的 UE承载链路上的网 元发送本地路由请求,以使得源 UE及目的 UE承载链路上的网元进行本 地路由配置, 并对源 UE和目的 UE间的数据报文进行本地路由。  When the local routing establishment capability is available, the local routing request is sent to the source UE and the network element on the destination UE bearer link, so that the source UE and the destination UE carry the local element routing configuration, and the source UE and the source UE The data packets between the destination UEs are locally routed.
另一方面, 本发明实施例提供一种本地路由的建立方法, 包括: 接收本地路由请求;  On the other hand, an embodiment of the present invention provides a method for establishing a local route, including: receiving a local routing request;
建立源 UE向目的 UE发送的数据报文与目的 UE的下行承载的绑定 关系并建立目的 UE向源 UE发送的数据报文与源 UE的下行承载的绑定 关系,以使得源 UE、 目的 UE间的数据报文根据绑定关系进行本地路由。  Establish a binding relationship between the data packet sent by the source UE and the destination UE to the downlink bearer of the source UE, and establish a binding relationship between the data packet sent by the source UE and the source UE to the downlink bearer of the source UE, so that the source UE and the destination are configured. The data packets between the UEs are locally routed according to the binding relationship.
一方面, 本发明实施例提供一种本地路由的检测装置, 包括: 上下文信息查找单元, 用于在生成 I P地址与上下文关联的上下文 查询表中查找源 UE的 I P地址对应的上下文信息和目的 UE的 I P地址对 应的上下文信息;  In an aspect, the embodiment of the present invention provides a local routing detection apparatus, including: a context information searching unit, configured to search for a context information corresponding to an IP address of a source UE and a destination UE in a context query table that generates an IP address and a context association. Context information corresponding to the IP address;
本地路由能力检测单元, 用于在查找到的所述源 UE及目的 UE 的 上下文信息中,检测所述源 UE及目的 UE承载链路上的网元是否具有本 地路由建立能力;  The local routing capability detecting unit is configured to detect, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishing capability;
路由请求发送单元, 用于当具有本地路由建立能力时, 向源 UE及 目的 UE承载链路上的网元发送本地路由请求, 以使得源 UE及目的 UE 承载链路上的网元进行本地路由配置,并对源 UE和目的 UE间的数据报 文进行本地路由。  a routing request sending unit, configured to send a local routing request to the source UE and the network element on the destination UE bearer link when the local routing establishment capability is enabled, so that the source UE and the destination UE carry the local element of the network element on the bearer link Configure and locally route data packets between the source UE and the destination UE.
另一方面, 本发明实施例提供一种本地路由的建立装置, 包括: 路由请求接收单元, 用于接收本地路由请求;  On the other hand, an embodiment of the present invention provides a device for establishing a local route, including: a route request receiving unit, configured to receive a local route request;
本地路由建立单元, 用于建立源 UE向目的 UE发送的数据报文与 目的 UE的下行承载的绑定关系并建立目的 UE向源 UE发送的数据报文 与源 UE的下行承载的绑定关系, 以使得源 UE、 目的 UE间的数据报文 根据绑定关系进行本地路由。 The local route establishing unit is configured to establish a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE. To enable data packets between the source UE and the destination UE. Local routing based on the binding relationship.
再一方面, 本发明实施例提供了一种实现本地路由建立的系统, 包括检测装置和建立装置,所述检测装置用于向所述建立装置发送本地 路由请求, 所述建立装置用于在接收到所述本地路由请求后, 建立本地 路由。 本发明实施例所提供的本地路由的检测、 建立方法、 装置及系统, 使得当源 UE与目的 UE连接在同一 SGW或 eNodeB、 或者源 UE与目的 UE分别 连接在邻近的不同 SGW或 eNodeB的情况下, 能够建立本地路由通路, 使得源 UE向目的 UE发送的数据报文不需经过所述外部 PDN网络环回,从而能降低传 输延时, 提升用户体验, 同时还减轻了 PGW的处理负担。  In another aspect, an embodiment of the present invention provides a system for implementing local route establishment, including a detecting device and a establishing device, where the detecting device is configured to send a local routing request to the establishing device, where the establishing device is configured to receive After the local routing request is made, a local route is established. The method for detecting, establishing, and the local route of the local route provided by the embodiment of the present invention is such that when the source UE and the destination UE are connected to the same SGW or the eNodeB, or the source UE and the destination UE are respectively connected to different SGWs or eNodeBs, The local routing path can be established, so that the data message sent by the source UE to the destination UE does not need to be looped back through the external PDN network, thereby reducing the transmission delay, improving the user experience, and reducing the processing load of the PGW.
附图说明 DRAWINGS
图 1为现有技术中经由外部 PDN网络实现源 UE与目的 UE间的数据 报文传输的示意图;  1 is a schematic diagram of data packet transmission between a source UE and a destination UE via an external PDN network in the prior art;
图 2为本发明实施例 1中的本地路由的检测方法的流程图; 图 3为本发明实施例 1中的本地路由的建立方法的流程图; 图 4为本发明实施例 2中本地路由的检测方法的的流程图; 图 5为本发明实施例 2中本地路由的建立方法的信令流程图; 图 6为本发明实施例 3中本地路由的建立方法的信令流程图; 图 Ί为本发明实施例 4中本地路由的建立方法的流程图;  2 is a flowchart of a method for detecting a local route according to Embodiment 1 of the present invention; FIG. 3 is a flowchart of a method for establishing a local route according to Embodiment 1 of the present invention; FIG. 4 is a flowchart of a local route according to Embodiment 2 of the present invention; FIG. 5 is a signaling flowchart of a method for establishing a local route according to Embodiment 2 of the present invention; FIG. 6 is a signaling flowchart of a method for establishing a local route according to Embodiment 3 of the present invention; A flowchart of a method for establishing a local route in Embodiment 4 of the present invention;
图 8为本发明实施例 5中本地路由的建立方法的流程图;  8 is a flowchart of a method for establishing a local route according to Embodiment 5 of the present invention;
图 9为本发明实施例 6中的本地路由的检测装置的框图;  9 is a block diagram of a local route detecting apparatus in Embodiment 6 of the present invention;
图 1 0为在图 9基础上另一种本地路由的检测装置的框图; 图 1 1为本发明实施例 6中本地路由的建立装置的框图;  Figure 10 is a block diagram of another local routing detection apparatus based on Figure 9; Figure 1 is a block diagram of a local routing establishment apparatus in Embodiment 6 of the present invention;
图 1 2为本发明实施例 6中一种本地路由单元的框图;  1 is a block diagram of a local routing unit in Embodiment 6 of the present invention;
图 1 3为本发明实施例 6中另一种本地路由单元的框图;  FIG. 13 is a block diagram of another local routing unit in Embodiment 6 of the present invention; FIG.
图 1 4为本发明实施例 7中实现本地路由建立的系统的示意图; 图 1 5为本发明实施例 7 中由源 SGW、 目的 SGW、 PGW组成系统的示 意图; FIG. 14 is a schematic diagram of a system for implementing local route establishment in Embodiment 7 of the present invention; FIG. FIG. 15 is a schematic diagram of a system composed of a source SGW, a destination SGW, and a PGW according to Embodiment 7 of the present invention;
图 1 6为本发明实施例 2中的网络应用场景的示意图;  FIG. 16 is a schematic diagram of a network application scenario in Embodiment 2 of the present invention;
图 1 7为本发明实施例 3中的网络应用场景的示意图。  FIG. 17 is a schematic diagram of a network application scenario in Embodiment 3 of the present invention.
具体实施方式 detailed description
下面结合本发明实施例的附图对本发明实施例的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全 部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions of the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings of the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present 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 work are within the scope of the present invention.
常见的 EPS系统如图 1所示。 UE附着到 EPS系统后,通过经由 eNodeB、 SGW、 PGW的承载, 实现与外部 PDN网络进行连接。 在如图 1所示的源 UE与目 的 UE间进行数据报文收发的场景下, 也要通过 PGW承载后, 经由外部 PDN网 络实现数据报文的传递。 eNodeB与 SGW之间的网络为回程网络, SGW与 PGW 之间的网络为专有承载的传输网络。 如果源 UE与目的 UE能够在回程网络的 范围内进行本地路由, 而不将源 UE与目的 UE间的数据报文发送至 PGW, 则能 有效节省传输网络带宽资源并降低数据传输的时延。 实施例 1 : A common EPS system is shown in Figure 1. After the UE is attached to the EPS system, the UE is connected to the external PDN network through the bearer of the eNodeB, the SGW, and the PGW. In the scenario of data packet transmission and reception between the source UE and the destination UE as shown in FIG. 1, the data packet is also transmitted through the external PDN network after being carried by the PGW. The network between the eNodeB and the SGW is a backhaul network, and the network between the SGW and the PGW is a dedicated bearer transmission network. If the source UE and the destination UE can perform local routing within the range of the backhaul network, and the data packet between the source UE and the destination UE is not sent to the PGW, the transmission network bandwidth resource can be effectively saved and the delay of data transmission can be reduced. Example 1
本发明实施例提供了一种本地路由的检测方法, 如图 2 所示, 所 述方法包括以下步骤:  An embodiment of the present invention provides a method for detecting a local route. As shown in FIG. 2, the method includes the following steps:
1 01、 在生成 I P地址与上下文关联的上下文查询表中查找源 UE的 I P地址对应的上下文信息和目的 UE的 I P地址对应的上下文信息。  The context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE are searched in the context query table that generates the IP address and the context.
在所述上下文查询表的数据项中,记录了源 UE/目的 UE的 I P地址 与对应源 UE/目的 UE的 I P地址的上下文信息的关联, 即通过 I P地址 可以查询到对应的上下文信息。 所述上下文信息包含源 UE/目的 UE建 立的 PDN连接的链路上的网元信息。比如, UE 1建立的 PDN连接为 PDN1 , 则 UE 1的与 PDN1相关的上下文信息包括: PDN 1承载链路上的承载网元 ( eNodeB, SGW、 PGW等) 的相关信息 ( SGW/eNodeB的 I P地址、 承载网 元接收数据报文后的转发目的网元的地址及其承载 I D等) 。 In the data item of the context query table, the association between the IP address of the source UE/destination UE and the context information of the IP address of the corresponding source UE/destination UE is recorded, that is, the corresponding context information can be queried by using the IP address. The context information includes network element information on a link of a PDN connection established by the source UE/destination UE. For example, the PDN connection established by UE 1 is PDN1. The context information related to the PDN1 of the UE 1 includes: information about the bearer network element (eNodeB, SGW, PGW, etc.) on the PDN 1 bearer link (the IP address of the SGW/eNodeB, and the bearer network element after receiving the data packet) Forward the address of the destination NE and its bearer ID, etc.).
1 02、 在查找到的所述源 UE及目的 UE的上下文信息中, 检测所述 源 UE及目的 UE承载链路上的网元是否具有本地路由建立能力。  And detecting, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishment capability.
所述源 UE及目的 UE承载链路上的网元可以是同时承载源 UE和目 的 UE的 PDN连接的 SGW, 也可以是同时 载源 UE和目的 UE的 PDN连 接的 eNodeB,也可以是承载源 UE的 PDN连接的源 SGW及承载目的 UE的 PDN连接的目的 SGW , 或是承载源 UE的 PDN连接的源 eNodeB和承载目 的 UE的 PDN连接的目的 eNodeB。  The network element on the source UE and the destination UE bearer link may be an SGW that simultaneously carries the PDN connection between the source UE and the destination UE, or may be an eNodeB that simultaneously carries the PDN connection between the source UE and the destination UE, or may be a bearer source. The source SGW of the PDN connection of the UE and the destination SGW of the PDN connection of the destination UE, or the source eNodeB of the PDN connection of the source UE and the destination eNodeB of the PDN connection of the destination UE.
具体的, 所述本地路由建立能力可以由在网元中人工设置的一个 本地路由参数来体现, 当所述本地路由参数存在时, 网元具有本地路由 建立能力, 当所述本地路由参数不存在时, 网元不具备本地路由建立能 力。 当然, 也可以对所述本地路由参数规定多种状态值, 比如, 将状态 值的取值设定为 0或 1 ,在状态值为 1时,网元具有本地路由建立能力, 当状态值为 0时, 网元不具备本地路由建立能力。  Specifically, the local routing establishment capability may be implemented by a local routing parameter manually set in the network element. When the local routing parameter exists, the network element has a local routing establishment capability, and when the local routing parameter does not exist, When the network element does not have the local route establishment capability. Certainly, the local routing parameter may also be configured with multiple status values, for example, the value of the status value is set to 0 or 1. When the status value is 1, the network element has local routing establishment capability, and when the status value is 0, the network element does not have the ability to establish local routes.
举例来说, UE 1建立的 PDN连接为 PDN1 , PDN 1由 SGW1承载; UE2 建立的 PDN连接为 PDN2 , PDN2由 SGW2承载。 并且 PDN1和 PDN2都经由 同一个 PGW ( PGW-1 ) 载。 UE 1的上下文信息中记录了 SGW1中的本地 路由参数 1的状态值, 也记录了 SGW2中的本地路由参数 1的状态值。 不妨设定当状态值为 1 时网元具备本地路由建立能力, 当状态值为 0 时网元不具备本地路由建立能力。当 PGW-1检测到本地路由参数 1和本 地路由参数 2中至少一个状态值为 G时, 终止当前的流程。 当本地路由 参数 1和本地路由参数 1的状态值都为 1时, 执行步骤 1 03。  For example, the PDN connection established by UE 1 is PDN1, PDN 1 is carried by SGW1, the PDN connection established by UE2 is PDN2, and PDN2 is carried by SGW2. And both PDN1 and PDN2 are carried via the same PGW (PGW-1). The status value of the local routing parameter 1 in the SGW1 is recorded in the context information of the UE 1, and the status value of the local routing parameter 1 in the SGW2 is also recorded. You can set the NE to have the local route establishment capability when the status value is 1. When the status value is 0, the NE does not have the local route establishment capability. When PGW-1 detects that at least one of the local routing parameter 1 and the local routing parameter 2 has a status value of G, the current process is terminated. When the status values of local route parameter 1 and local route parameter 1 are both 1, go to step 1 03.
1 03、 向源 UE及目的 UE承载链路上的网元发送本地路由请求。 接收本地路由请求, 对源 UE及目的 UE承载链路上的网元进行本 地路由配置, 从而对源 UE和目的 UE间的数据 ^艮文进行本地路由。  1 03. Send a local routing request to the source UE and the network element on the destination UE bearer link. The local routing request is received, and the local NE and the network element on the destination UE bearer link are locally configured, so that the data between the source UE and the destination UE is locally routed.
仍以步骤 1 02中的 UE 1和 UE 2为例来说明。 PGW- 1将向 UE 1和 UE2 的 PDN连接通路上具有本地路由建立能力的源 UE及目的 UE承载链路上 的网元分别发送本地路由请求。接收本地路由请求的 SGW1和 SGW2将分 别进行本地路由配置,以实现对 UE 1与 UE2之间的数据报文传输的本地 路由。 The UE 1 and UE 2 in step 102 are still taken as an example for illustration. The PGW-1 will send a local routing request to the source UE with the local route establishment capability and the network element on the destination UE bearer link on the PDN connection path of the UE 1 and the UE 2 respectively. SGW1 and SGW2 receiving the local routing request will perform local routing configuration separately to implement local transmission of data packets between UE1 and UE2. Routing.
另外, 本发明实施例还提供了一种本地路由的建立方法, 如图 3 所示, 所述方法包括以下步骤:  In addition, the embodiment of the present invention further provides a method for establishing a local route. As shown in FIG. 3, the method includes the following steps:
201、 接收本地路由请求。  201. Receive a local routing request.
202、 建立源 UE向目的 UE发送的数据报文与目的 UE的下行承载 的绑定关系并建立目的 UE向源 UE发送的数据报文与源 UE的下行承载 的绑定关系。  202. Set a binding relationship between the data packet sent by the source UE and the destination UE to the downlink bearer of the destination UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE.
建立源 UE向目的 UE发送的数据报文与目的 UE的下行承载的绑定 关系, 使得源 UE发出的数据报文经过本地路由发送至目的 UE。 建立目 的 UE向源 UE发送的数据报文与源 UE的下行承载的绑定关系, 使得目 的 UE发出的数据报文经过本地路由发送至源 UE。举例来说, UE1和 UE2 的 PDN连接经由同一个 SGW(SGW3)承载, 且 SGW3与 PGW-2相连接。 在 PGW-2执行本地路由可行性的检测方法后, 向 SGW3发送本地路由请求。 SGW3收到 PGW-2的本地路由请求后, 建立起 UE1向 UE2发送的数据报 文与 UE2的下行承载的绑定关系以及 UE2向 UE1发送的数据报文与 UE1 的下行承载绑定关系。此后,UE1发出目的地为 UE2的数据报文传到 SGW3 后, 将由 SGW3向 UE2转发, UE2返回给 UE1的数据报文传到 SGW3后也 将由 SGW3向 UE1转发, 而不必再通过 PGW-2进入所述外部 PDN网络环 回。  A binding relationship between the data packet sent by the source UE and the destination UE is established, and the data packet sent by the source UE is sent to the destination UE through a local route. The binding relationship between the data packet sent by the UE to the source UE and the downlink bearer of the source UE is established, so that the data packet sent by the destination UE is sent to the source UE through the local route. For example, the PDN connections of UE1 and UE2 are carried over the same SGW (SGW3), and SGW3 is connected to PGW-2. After the PGW-2 performs the local routing feasibility detection method, the local routing request is sent to the SGW3. After receiving the local routing request from the PGW-2, the SGW3 establishes a binding relationship between the data packet sent by the UE1 to the UE2 and the downlink bearer of the UE2, and the binding relationship between the data packet sent by the UE2 to the UE1 and the downlink bearer of the UE1. After that, the UE1 sends a data packet destined for UE2 to SGW3, and then forwards it to UE2 by SGW3. After the data packet returned by UE2 to UE1 is transmitted to SGW3, it will also be forwarded by SGW3 to UE1 without having to enter through PGW-2. The external PDN network loops back.
本发明实施例所提供的本地路由的检测方法及本地路由的建立方 法,通过检测并建立本地路由,使得源 UE发送给目的 UE的数据报文以 及目的 UE返回给源 UE的数据 ^艮文都不需经过所述外部 PDN网络环回,从 而能降低传输延时, 提升用户体验, 同时还减轻了 PGW的处理负担。  The method for detecting a local route and the method for establishing a local route provided by the embodiment of the present invention, by detecting and establishing a local route, the data message sent by the source UE to the destination UE and the data returned by the destination UE to the source UE are both The loopback of the external PDN network is not required, thereby reducing the transmission delay, improving the user experience, and reducing the processing load of the PGW.
实施例 2:  Example 2:
在 EPS 系统中, 源 UE的 PDN连接和目的 UE的 PDN连接分别被源 SGW和目的 SGW承载, 源 SGW和目的 SGW连接到同一个 PGW。 并且源 UE 的 PDN连接通路上设置有源 MME, 目的 UE的 PDN连接通路上设置有目 的 MME, 其网络架构如图 16所示。 在此场景下, 本发明实施例提供了 一种本地路由的检测方法, 如图 4所示, 包括以下步骤:  In the EPS system, the PDN connection of the source UE and the PDN connection of the destination UE are respectively carried by the source SGW and the destination SGW, and the source SGW and the destination SGW are connected to the same PGW. The active MME is set on the PDN connection path of the source UE, and the destination MME is set on the PDN connection path of the destination UE. The network architecture is shown in FIG. 16. In this scenario, the embodiment of the present invention provides a method for detecting a local route. As shown in FIG. 4, the method includes the following steps:
301、 源 UE/目的 UE建立 PDN连接后, PGW在上下文查询表中记录 源 UE/目的 UE的 IP地址与建立 PDN连接后生成的上下文信息间的对应 关系。 301. After the source UE/destination UE establishes a PDN connection, the PGW records the correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established in the context query table. Relationship.
源 UE/目的 UE建立各自的 PDN连接后, PGW中保存有 PDN连接的 上下文信息。 所述上下文信息包含源 UE/目的 UE建立的 PDN连接的链 路上的网元信息。比如, UE 1建立的 PDN连接为 PDN1。则 UE 1的与 PDN1 相关的上下文信息包括: PDN1连接的链路上的网元( eNodeB、 SGW、 PGW 等) 的相关信息 (SGW的 I P地址、 网元接收数据报文后的转发目的地 地址以及承载 I D等)。 PGW将源 UE/目的 UE的 I P地址与建立 PDN连接 后生成的上下文信息间的对应关系记录到 PGW自身的上下文查询表中。  After the source UE/destination UE establishes its own PDN connection, the PGW stores the context information of the PDN connection. The context information includes network element information of a PDN connection established by the source UE/destination UE. For example, the PDN connection established by UE 1 is PDN1. The context information related to the PDN1 of the UE 1 includes: information about the network element (eNodeB, SGW, PGW, etc.) on the link to which the PDN1 is connected (the IP address of the SGW, and the forwarding destination address after the network element receives the data packet) And bearer ID, etc.). The PGW records the correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established to the PGW's own context query table.
302、 从源 UE发送的数据 ^艮文中获取源 UE的 I P地址和目的 UE的 I P地址。  302. Obtain, from the data sent by the source UE, the IP address of the source UE and the IP address of the destination UE.
当源 UE 已经开始发送数据报文时, 源 UE发出的数据报文将经过 PGW发送到外部 PDN网络进行回环。 PGW接收到源 UE发出的数据报文后, 从源 UE发出的数据报文中获取到源 UE使用的 I P地址和目的 UE使用的 I P地址。  When the source UE has started to send data packets, the data packets sent by the source UE will be sent to the external PDN network through the PGW for loopback. After receiving the data packet sent by the source UE, the PGW obtains the IP address used by the source UE and the IP address used by the destination UE from the data packet sent by the source UE.
303、 在上下文查询表中查找源 UE的 I P地址对应的上下文信息和 目的 UE的 I P地址对应的上下文信息。 303. Search, in the context query table, context information corresponding to the IP address of the source UE and context information corresponding to the IP address of the destination UE.
304、 在查找到的所述源 UE及目的 UE的上下文信息中, 检测所述 源 UE及目的 UE承载链路上的网元是否具有本地路由建立能力。  And determining, by the found source information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishment capability.
具体的, 所述本地路由建立能力可以由在网元中人工设置的一个 本地路由参数来体现, 当所述本地路由参数存在时, 网元具有本地路由 建立能力, 当所述本地路由参数不存在时, 网元不具备本地路由建立能 力。 当然, 也可以对所述本地路由参数规定多种状态值, 比如, 将状态 值的取值设定为 0或 1 ,在状态值为 1时,网元具有本地路由建立能力, 当状态值为 0时, 网元不具备本地路由建立能力。  Specifically, the local routing establishment capability may be implemented by a local routing parameter manually set in the network element. When the local routing parameter exists, the network element has a local routing establishment capability, and when the local routing parameter does not exist, When the network element does not have the local route establishment capability. Certainly, the local routing parameter may also be configured with multiple status values, for example, the value of the status value is set to 0 or 1. When the status value is 1, the network element has local routing establishment capability, and when the status value is 0, the network element does not have the ability to establish local routes.
当 PGW检测到源 SGW和目的 SGW的至少一个不具备本地路由建立 能力时, 终止当前流程; 当源 SGW和目的 SGW都具备本地路由建立能力 时, 继续执行步骤 305。  When the PGW detects that at least one of the source SGW and the destination SGW does not have the local route establishment capability, the current process is terminated. When both the source SGW and the destination SGW have the local route establishment capability, the process proceeds to step 305.
305、 检测源 UE与目的 UE是否符合本地路由策略。  305. Detect whether the source UE and the destination UE meet the local routing policy.
所述本地路由策略规定了是否允许为 UE收发的数据报文执行本地 许执行本地路由的数据报文类型。 比如, 本地路由策略禁止被运营商进 行合法监听的一类用户执行本地路由, 本地路由策略允许为 UE间通信 的语音类数据报文执行本地路由。 The local routing policy specifies whether to allow local execution of data packets sent and received by the UE. The type of data message that performs local routing. For example, the local routing policy prohibits a type of user that is legally intercepted by the operator to perform local routing. The local routing policy allows local routing to be performed for voice-type data packets communicated between the UEs.
而当 PGW未配置所述本地路由策略时, 步骤 305还包括:  When the PGW does not configure the local routing policy, step 305 further includes:
305- PGW ) PCRF ( Policy and Charging Rule Function,策略 控制实体)发送路由策略请求消息, 所述路由策略请求消息携带所述源 UE及目的 UE的用户标识 (如 IMSI ) 或者 IP地址。  305- PGW) The Policy and Charging Rule Function (PCRF) sends a routing policy request message, where the routing policy request message carries a user identifier (such as IMSI) or an IP address of the source UE and the destination UE.
305_2、 PGW接收 PCRF根据所述源 UE及目的 UE的用户标识或者 IP地址查找到的对应的本地路由策略。  305_2. The PGW receives a corresponding local routing policy that is obtained by the PCRF according to the user identifier or the IP address of the source UE and the destination UE.
PGW可以检测源 UE及目的 UE是否符合 PGW中设置的本地路由策略、 或 PCRF返回的本地路由策略,当源 UE和目的 UE至少一个不符合本地路 由策略时, 终止当前流程; 当源 UE和目的 UE都满足本地路由策略时 , 执行步骤 306。  The PGW can detect whether the source UE and the destination UE meet the local routing policy set in the PGW or the local routing policy returned by the PCRF. When at least one of the source UE and the destination UE does not comply with the local routing policy, the current process is terminated; When the UE meets the local routing policy, step 306 is performed.
306、 向源 SGW发送本地路由请求。  306. Send a local routing request to the source SGW.
在 PGW向源 SGW发送本地路由请求后, 本发明实施例还提供了一 种本地路由的建立方法, 如图 5所示, 所述方法包括以下步骤:  After the PGW sends a local routing request to the source SGW, the embodiment of the present invention further provides a method for establishing a local route. As shown in FIG. 5, the method includes the following steps:
401、 源 SGW接收 PGW发送的本地路由请求。  401. The source SGW receives a local routing request sent by the PGW.
所述本地路由请求中包括源 UE的标识、 目的 UE的标识、 源 UE的 7 载的标识、 目的 UE的 载标识、 源 SGW的 IP地址、 目的 SGW的 IP 地址, 如果 UE的 PDN连接中需要进行 NAT地址转换, 则本地路由请求 中还需包括 NAT映射信息,如果需要对执行了本地路由的数据报文实施 单独计费, 则本地路由请求中还需包括计费信息, 如计费标识、 计费方 法等。  The local routing request includes the identifier of the source UE, the identifier of the destination UE, the identifier of the source UE, the identifier of the destination UE, the IP address of the source SGW, and the IP address of the destination SGW. If the PDN connection of the UE is required, If the NAT address translation is performed, the local routing request also needs to include the NAT mapping information. If the data packet that performs the local routing is separately charged, the local routing request needs to include the charging information, such as the charging identifier. Billing method, etc.
402、 源 SGW接收本地路由请求后, 向源 MME转发本地路由请求。 402. After receiving the local routing request, the source SGW forwards the local routing request to the source MME.
403、 源 MME收到来自源 SGW的本地路由请求后, 向目的 SGW发送 源 SGW到目的 SGW的转发隧道建立请求。 403. After receiving the local routing request from the source SGW, the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW.
源 MME根据来自源 SGW的本地路由请求中的目的 SGW的 IP地址, 将所述源 SGW到目的 SGW的隧道建立请求发送至目的 SGW。  The source MME sends a tunnel establishment request from the source SGW to the destination SGW to the destination SGW according to the IP address of the destination SGW in the local routing request from the source SGW.
所述建立源 SGW到目的 SGW的转发隧道请求包括:目的 UE的标识、 目的 UE的下行承载标识。 The forwarding tunnel request for establishing the source SGW to the destination SGW includes: an identifier of the destination UE, The downlink bearer identifier of the destination UE.
4 04、 目的 SGW分配一个源 SGW到目的 SGW的转发隧道标识。  4 04. Purpose The SGW allocates a forwarding tunnel identifier from the source SGW to the destination SGW.
4 05、 在目的 SGW 中建立所述转发隧道标识与目的 UE 的下行承载 标识的绑定关系。  The binding relationship between the forwarding tunnel identifier and the downlink bearer identifier of the destination UE is established in the destination SGW.
在分配转发隧道标识后, 目的 SGW根据目的 UE标识查找到目的 UE 的上下文, 并在所述上下文中记录转发隧道标识与目的 UE下行承载标 识的绑定关系。  After the forwarding tunnel identifier is allocated, the destination SGW searches for the context of the destination UE according to the destination UE identifier, and records the binding relationship between the forwarding tunnel identifier and the destination UE downlink bearer identifier in the context.
4 06、 向源 MME返回源 SGW到目的 SGW的转发隧道的标识。  4 06. Return the identifier of the forwarding tunnel from the source SGW to the destination SGW to the source MME.
4 07、 源 MME向源 SGW返回源 SGW到目的 SGW的转发隧道标识。 4 07. The source MME returns the forwarding tunnel identifier of the source SGW to the destination SGW to the source SGW.
4 08、 在源 SGW中建立所述转发隧道标识与源 UE向目的 UE发送的 数据报文的绑定关系。 The binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE is established in the source SGW.
源 SGW接收到目的 SGW分配的转发隧道的标识后, 建立所述转发 隧道的标识与源 UE 向目的 UE发送的数据报文的绑定关系, 以使得源 UE的数据报文经所述转发隧道传递至目的 UE。 源 SGW建立所述转发隧 道的标识与源 UE向目的 UE发送的数据报文的绑定关系后, 可以向 PGW 发送一个源 UE到目的 UE本地路由建立完成消息。  After receiving the identifier of the forwarding tunnel allocated by the destination SGW, the source SGW establishes a binding relationship between the identifier of the forwarding tunnel and the data packet sent by the source UE to the destination UE, so that the data packet of the source UE passes through the forwarding tunnel. Pass to the destination UE. After the source SGW establishes a binding relationship between the identifier of the forwarding tunnel and the data packet sent by the source UE to the destination UE, the source SGW may send a source UE to the destination UE local route establishment complete message to the PGW.
因为源 UE的上行承载中可以同时传输源 UE向目的 UE发送的数据 报文以及源 UE向其他目的地发送的数据报文, 为了唯一确定转发隧道 标识与数据报文的绑定关系, 所述将转发隧道标识与源 UE 向目的 UE 发送的数据报文进行绑定可以为:将源 UE向目的 UE发送的数据报文中 的源 UE的 I P地址、 源 UE的端口号、 目的 UE的 I P地址、 目的 UE的端 口号及源 UE与目的 UE间的传输协议作为五元组,根据所述五元组与目 的 UE的下行承载的对应, 建立转发隧道的标识与源 UE向目的 UE发送 的数据报文的绑定关系。 其中, 在源 SGW中, 可以通过数据流筛选装置 (如 TFT , Tr a f f i c F l ow Temp l a t e , 业务流模板) 来筛选出符合所述 五元组描述的数据报文。  The data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE. The address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the identifier of the forwarding tunnel and the source UE are sent to the destination UE according to the correspondence between the quintuple and the downlink bearer of the destination UE. Binding relationship of data packets. In the source SGW, the data packet that meets the description of the quintuple can be filtered by a data stream filtering device (such as TFT, Tr a f f i c F ow Temp a t e, service flow template).
在完成上述步骤 401至步骤 408后, 源 UE向目的 UE发送数据报 文的本地路由建立起来。 数据报文经源 UE传输至源 SGW后, 源 SGW根 据目的 SGW分配的转发隧道的标识与源 UE向目的 UE发送的数据报文的 绑定关系, 将数据报文以转发隧道的标识进行封装并传输至目的 SGW, 目的 SGW接收到数据报文后, 根据所述转发隧道的标识与目的 UE的下 行承载的绑定关系, 将数据报文向目的 UE发送。 After the foregoing steps 401 to 408 are completed, the local route that the source UE sends a data packet to the destination UE is established. After the data packet is transmitted to the source SGW by the source UE, the source SGW encapsulates the data packet with the identifier of the forwarding tunnel according to the binding relationship between the identifier of the forwarding tunnel allocated by the destination SGW and the data packet sent by the source UE to the destination UE. And transmitting to the destination SGW, after the destination SGW receives the data packet, according to the identifier of the forwarding tunnel and the destination UE The binding relationship carried by the line sends the data packet to the destination UE.
此外, PGW还建立目的 UE向源 UE发送数据报文的本地路由。 包括 步骤 4 09至步骤 4 1 6 :  In addition, the PGW also establishes a local route for the destination UE to send data packets to the source UE. Including Step 4 09 to Step 4 1 6 :
4 09、 目的 SGW接收 PGW发送的本地路由请求。  4 09. Purpose The SGW receives the local routing request sent by the PGW.
PGW可以在源 UE向目的 UE发送数据报文的本地路由建立完成后之 后, 即步骤 408后, 向目的 UE的 PDN连接所在的目的 SGW发送本地路 由请求。 当然, PGW也可以首先建立目的 UE向源 UE发送数据报文的本 地路由, 然后建立源 UE向目的 UE发送数据报文的本地路由, 本发明实 施例对此不做限制。  After the local routing establishment of the data message sent by the source UE to the destination UE is completed, the PGW may send a local routing request to the destination SGW where the PDN connection of the destination UE is located after step 408. Of course, the PGW may also first establish a local route for the destination UE to send data packets to the source UE, and then establish a local route for the source UE to send data packets to the destination UE, which is not limited by the embodiment of the present invention.
4 1 0、 目的 SGW接收本地路由请求后, 向目的 MME转发本地路由请 求。  4 1 0. Destination After receiving the local routing request, the SGW forwards the local routing request to the destination MME.
4 1 1、 目的 MME收到来自目的 SGW的本地路由请求后, 向源 SGW发 送目的 SGW到源 SGW的转发隧道建立请求。  After the local MME receives the local routing request from the destination SGW, it sends a forwarding tunnel establishment request to the source SGW to the source SGW.
4 1 2、 源 SGW分配一个目的 SGW到源 SGW的转发隧道标识。  4 1 2. The source SGW allocates a forwarding tunnel identifier from the destination SGW to the source SGW.
4 1 3、 在源 SGW中建立所述转发隧道的标识与源 UE 的下行承载的 标识的绑定关系。  The binding relationship between the identifier of the forwarding tunnel and the identifier of the downlink bearer of the source UE is established in the source SGW.
4 14、 向目的 MME返回目的 SGW到源 SGW的转发隧道标识。  4 14. Return the forwarding tunnel identifier of the destination SGW to the source SGW to the destination MME.
4 1 5、 目的 MME向目的 SGW返回目的 SGW到源 SGW的的转发隧道标 识。  4 1 5. Purpose The MME returns the forwarding tunnel identifier of the destination SGW to the source SGW to the destination SGW.
4 1 6、 在目的 SGW中建立所述转发隧道标识与目的 UE向源 UE发送 的数据报文的绑定关系。  The binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE is established in the destination SGW.
目的 SGW接收到源 SGW分配的转发隧道标识后, 建立所述转发隧 道标识与目的 UE向源 UE发送的数据报文的绑定关系, 以使得目的 UE 的数据报文经所述转发隧道传递至源 UE。 目的 SGW建立所述转发隧道 标识与目的 UE向源 UE发送的数据报文的绑定关系后,可以向 PGW发送 一个目的 UE到源 UE本地路由建立完成消息。  After receiving the forwarding tunnel identifier that is allocated by the source SGW, the destination SGW establishes a binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE, so that the data packet of the destination UE is transmitted to the forwarding tunnel to the forwarding tunnel. Source UE. After the SGW establishes the binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE, the SGW may send a destination UE to the source UE local route establishment complete message to the PGW.
因为目的 UE的上行承载中可以同时传输目的 UE向源 UE发送的数 据报文以及目的 UE向其他目的地发送的数据报文, 为了唯一确定转发 隧道标识与数据报文的绑定关系, 所述将转发隧道标识与目的 UE向源 UE发送的数据报文进行绑定可以为: 将目的 UE向源 UE发送的数据报 文中的目的 UE的 I P地址、 目的 UE的端口号、 源 UE的 I P地址、 源 UE 的端口号及源 UE与目的 UE间的传输协议作为五元组,根据所述五元组 与源 UE的下行承载的对应, 建立转发隧道的标识与目的 UE向源 UE发 送的数据报文的绑定关系。 其中, 在目的 SGW中, 可以通过数据流筛选 装置 (如 TFT ) 来 选出符合所述五元组描述的数据报文。 Because the uplink bearer of the destination UE can simultaneously transmit the data packet sent by the destination UE to the source UE and the data packet sent by the destination UE to other destinations, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the destination UE to the source UE may be: sending the data packet sent by the destination UE to the source UE. The IP address of the destination UE, the port number of the destination UE, the IP address of the source UE, the port number of the source UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple according to the quintuple and the source UE. Corresponding to the downlink bearer, the binding relationship between the identifier of the forwarding tunnel and the data packet sent by the destination UE to the source UE is established. In the destination SGW, a data flow screening device (such as a TFT) may be used to select a data packet that meets the description of the quintuple.
此外, 当 EPS 系统与外部 PDN网络间存在 NAT映射设备时, 数据 报文要在 NAT映射设备上进行公私网的 I P地址及端口号的转换。 在本 发明实施例中,为实现本地路由,需要对 NAT地址转换的功能进行迁移。 具体的, 当 PGW中预存有 NAT映射设备的地址及端口信息时, PGW根据 预存的地址及端口信息, 向 NAT映射设备发起 NAT信息获取请求。 NAT 设备接收到 NAT信息获取请求后, 将自身存储的 NAT映射信息返回至 PGW0 当 PGW中未预存 NAT映射设备的地址及端口信息时, PGW可以通 过 NAT穿越技术对 NAT设备进行探测,并从探测到的 NAT设备上获取所 述 NAT映射信息。 In addition, when there is a NAT mapping device between the EPS system and the external PDN network, the data packet is translated on the NAT mapping device by the IP address and port number of the public and private network. In the embodiment of the present invention, in order to implement local routing, the function of NAT address translation needs to be migrated. Specifically, when the address and port information of the NAT mapping device are pre-stored in the PGW, the PGW initiates a NAT information acquisition request to the NAT mapping device according to the pre-stored address and port information. NAT device receives the NAT information acquisition request, the NAT mapping information stored therein is returned to the PGW 0 when the PGW not stored NAT mapping device address and port information, PGW can detect a NAT device by NAT traversal techniques, and from The NAT mapping information is obtained on the detected NAT device.
所述 NAT映射信息包括源 UE的私网 I P地址与对应的公网 I P地址 的对应关系、私网传输协议端口号与对应的公网传输协议端口号的对应 关系、 目的 UE的私网 I P地址与进行对应的私网 I P地址的对应关系、 目的 UE的私网传输协议端口号与对应的公网传输协议端口号的对应关 系。 PGW将获取到的所述 NAT映射信息传输至源 SGW和目的 SGW。 在源 SGW上建立源 UE向目的 UE发送的数据报文与 NAT映射信息的对应关系, 在目的 SGW上建立目的 UE向源 UE发送的数据报文与 NAT映射信息的对 应关系, 从而在源 SGW和目的 SGW上进行 NAT地址转换。  The NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number. The PGW transmits the obtained NAT mapping information to the source SGW and the destination SGW. Establishing, by the source SGW, the correspondence between the data packet sent by the source UE and the NAT mapping information, and establishing the correspondence between the data packet sent by the destination UE and the source mapping information on the destination SGW, so that the source SGW is at the source SGW. NAT address translation is performed on the destination SGW.
具体的, 当源 SGW收到源 UE向目的 UE发送的数据报文后, 对数 据报文进行 NAT地址转换, 将源 UE的私网地址及私网传输协议端口号 转换为对应的公网地址及公网传输协议端口号, 将目的 UE的公网地址 及公网传输协议端口号转换为对应的私网地址和私网传输协议端口号 , 并通过源 SGW到目的 SGW的转发隧道将进行 NAT地址转换的数据报文发 送至目的 SGW。 目的 SGW再将数据报文发送给目的 UE。 相应的, 目的 UE向源 UE发送的数据报文, 也要经过目的 SGW上的 NAT地址转换, 最 终传输至源 UE。  Specifically, after receiving the data packet sent by the source UE to the destination UE, the source SGW performs NAT address translation on the data packet, and converts the private network address of the source UE and the private network transmission protocol port number to the corresponding public network address. And the public network transmission protocol port number, converting the public network address of the destination UE and the public network transmission protocol port number into the corresponding private network address and the private network transmission protocol port number, and performing NAT through the forwarding tunnel from the source SGW to the destination SGW. The address converted data message is sent to the destination SGW. The SGW sends the data packet to the destination UE. Correspondingly, the data packet sent by the destination UE to the source UE is also translated by the NAT address on the destination SGW, and finally transmitted to the source UE.
通过源 SGW和目的 SGW之间的转发隧道建立起了本地路由, 源 UE 和目的 UE的数据 ^艮文不再经由 PGW与外部 PDN网络间的 NAT映射设备 进行地址转换。为防止 NAT映射设备在预设的映射释放时间段内接收不 到已执行本地路由的数据报文时,回收为所述已执行本地路由的数据报 文分配的公网地址及公网传输协议端口号,源 SGW和目的 SGW要周期性 的向 NAT映射设备发送心跳包,以通知 NAT映射设备继续维持为所述已 执行本地路由的数据报文分配的公网地址及公网传输协议端口号。 其 中, 心跳包的发送周期应小于所述映射释放时间段。 Establishing a local route through the forwarding tunnel between the source SGW and the destination SGW, the source UE The data of the UE and the destination UE are no longer address translated via the NAT mapping device between the PGW and the external PDN network. The public network address and the public network transmission protocol port allocated for the data packet of the executed local route are reclaimed when the NAT mapping device fails to receive the data packet of the local route in the preset mapping release time period. The source SGW and the destination SGW periodically send a heartbeat packet to the NAT mapping device to notify the NAT mapping device to continue to maintain the public network address and the public network transmission protocol port number allocated for the data packet of the local route. The sending period of the heartbeat packet should be smaller than the mapping release period.
本发明实施例提供的本地路由的检测方法及本地路由的建立方 法, 使得当源 UE与目的 UE分别连接在源 SGW和目的 SGW的情况下, 通过 在源 SGW和目的 SGW间建立转发隧道,实现本地路由的建立。通过本地路由, 使源 UE与目的 UE间的数据报文传输不需经过所述外部 PDN网络环回、降低 了源 UE与目的 UE之间数据报文的传输延时, 提升了用户体验, 同时还可减 轻 PGW的处理负担。  The method for detecting the local route and the method for establishing the local route provided by the embodiment of the present invention, so that when the source UE and the destination UE are respectively connected to the source SGW and the destination SGW, a forwarding tunnel is established between the source SGW and the destination SGW. The establishment of a local route. The local route is used to prevent the data packet transmission between the source UE and the destination UE from being looped back through the external PDN network, reducing the transmission delay of data packets between the source UE and the destination UE, and improving the user experience. It also reduces the processing load of the PGW.
实施例 3:  Example 3:
在 EPS 系统中, 源 UE的 PDN连接和目的 UE的 PDN连接分别被源 eNodeB和目的 eNodeB承载,源 eNodeB和目的 eNodeB连接至同一个 SGW, 系统的网络架构如图 1 7所示。 在此场景下的本地路由的检测方法, 可 参考本发明实施例 1 的描述。 其中, 执行本地路由的检测方法的网元 PGW需在上下文查询表中查找到的源 UE的 I P地址对应的上下文信息和 目的 UE的 I P地址对应的上下文信息中,检测所述源 UE及目的 UE承载 链路上的源 eNodeB以及目的 UE所在目的 eNodeB是否具有本地路由建 立能力。  In the EPS system, the PDN connection of the source UE and the PDN connection of the destination UE are respectively carried by the source eNodeB and the destination eNodeB, and the source eNodeB and the destination eNodeB are connected to the same SGW. The network architecture of the system is shown in FIG. For the detection method of the local route in this scenario, refer to the description of Embodiment 1 of the present invention. The network element PGW that performs the local route detection method needs to detect the source UE and the destination UE in the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE. Whether the source eNodeB on the bearer link and the destination eNodeB where the destination UE is located have local route establishment capability.
另外, 本发明实施例还提供了一种本地路由的建立方法, 如图 6 所示, 包括以下步骤:  In addition, the embodiment of the present invention further provides a method for establishing a local route, as shown in FIG. 6, including the following steps:
5 01、 PGW向 SGW发送本地路由请求。  5 01. The PGW sends a local routing request to the SGW.
所述本地路由请求中包括源 UE的标识、 目的 UE的标识、 源 UE的 7 载标识、 目的 UE的 载标识、 源 SGW的 I P地址、 目的 SGW的 I P地 址, 如果 UE的 PDN连接中需要进行 NAT地址转换, 则本地路由请求中 还需包括 NAT映射信息,如果需要对执行了本地路由的数据报文实施单 独计费, 则本地路由请求中还需包括计费信息, 如计费标识、 计费方法 等。 5 02、 SGW向源 MME转发本地路由请求。 The local routing request includes the identifier of the source UE, the identifier of the destination UE, the bearer identifier of the source UE, the identifier of the destination UE, the IP address of the source SGW, and the IP address of the destination SGW, if the PDN connection of the UE needs to be performed. In the NAT address translation, the local routing request also needs to include the NAT mapping information. If the data packet that performs the local routing needs to be separately charged, the local routing request needs to include the charging information, such as the charging identifier. Fee method, etc. 5 02. The SGW forwards the local routing request to the source MME.
SGW根据源 UE和目的 UE的标识查询对应的上下文, 检测源 UE和 目的 UE所在 eNodeB位置以及是否具有本地路由建立能力。 如果源 UE 所在源 eNodeB以及目的 UE所在目的 eNodeB为不同的 eNodeB , 并且均 具备本地路由能力,则继续向源 MME发出本地路由建立请求,其中包括: 源 UE的标识、 目的 UE的标识、 源 UE的 7 载的标识、 目的 UE的 7 载标 识、 源 eNodeB的 I P地址、 目的 eNodeB的 I P地址, 如果 UE的 PDN连 接中需要进行 NAT地址转换,则本地路由请求中还需包括 NAT映射信息, 如果需要对执行了本地路由的数据报文实施单独计费,则本地路由请求 中还需包括计费信息, 如计费标识、 计费方法等。  The SGW queries the corresponding context according to the identifiers of the source UE and the destination UE, and detects the location of the eNodeB where the source UE and the destination UE are located and whether the local route establishment capability is available. If the source eNodeB of the source UE and the destination eNodeB of the destination UE are different eNodeBs, and both have the local routing capability, the local routing establishment request is sent to the source MME, including: the identifier of the source UE, the identifier of the destination UE, and the source UE. The 7-digit identifier, the 7-digit identifier of the destination UE, the IP address of the source eNodeB, and the IP address of the destination eNodeB. If the NAT address translation is required in the PDN connection of the UE, the local routing request must also include NAT mapping information. The local routing request needs to include the accounting information, such as the charging identifier and the charging method.
5 03、 源 MME向目的 eNodeB发送源 eNodeB到目的 eNodeB的转发 隧道建立请求。 5 03. The source MME sends a forwarding tunnel establishment request from the source eNodeB to the destination eNodeB to the destination eNodeB.
源 MME根据目的 eNodeB的 I P地址, 将转发隧道建立请求转发至 目的 eNodeB。  The source MME forwards the forwarding tunnel establishment request to the destination eNodeB according to the IP address of the destination eNodeB.
所述转发隧道建立请求包括: 目的 UE 的标识、 目的 UE 的下行承 载标识。  The forwarding tunnel establishment request includes: an identifier of the destination UE, and a downlink bearer identifier of the destination UE.
5 04、 目的 eNodeB分酉己一个源 eNodeB 目的 eNodeB的转发 道 标识。  5 04. Purpose The eNodeB branches to a source eNodeB destination eNodeB forwarding channel identifier.
5 05、 在目的 eNodeB中建立所述转发隧道标识与目的 UE的下行承 载的绑定关系。  The binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE is established in the destination eNodeB.
5 00、 向源 MME返回源 eNodeB到目的 eNodeB的转发隧道标识。00. Return the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source MME.
5 07、 源 MME将源 eNodeB到目的 eNodeB的的转发隧道标识发送至 源 eNodeB。 5 07. The source MME sends the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source eNodeB.
5 08、 在源 eNodeB中建立所述转发隧道标识与源 UE向目的 UE发 送的数据报文的绑定关系。  The binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE is established in the source eNodeB.
源 eNodeB接收到目的 eNodeB分配的转发隧道标识后, 建立所述 转发隧道标识与源 UE向目的 UE发送的数据报文的绑定关系,以使得源 UE的数据报文经所述转发隧道传递至目的 UE。 在建立所述转发隧道标 识与源 UE 向目的 UE发送的数据报文的绑定关系后, 源 eNodeB 向源 MME发送转发隧道建立完成消息, 至此, 完成源 UE经由源 eNodeB到目 的 eNodeB再到目的 UE的本地路由,源 MME将源 UE到目的 UE方向的本 地路由建立完成消息发至 SGW , 并经由 SGW转发至 PGW。 After receiving the forwarding tunnel identifier allocated by the destination eNodeB, the source eNodeB establishes a binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE, so that the data packet of the source UE is transmitted to the forwarding tunnel to the forwarding tunnel. Destination UE. Establishing the forwarding tunnel label After the binding relationship between the source UE and the data packet sent by the source UE is received, the source eNodeB sends a forwarding tunnel setup complete message to the source MME, and the local route from the source eNodeB to the destination eNodeB to the destination UE is completed. The MME sends a local route setup complete message from the source UE to the destination UE direction to the SGW, and forwards the message to the PGW via the SGW.
因为源 UE的上行承载中可以同时传输源 UE向目的 UE发送的数据 报文以及源 UE向其他目的地发送的数据报文, 为了唯一确定转发隧道 标识与数据报文的绑定关系, 所述将转发隧道标识与源 UE 向目的 UE 发送的数据报文进行绑定可以为:将源 UE向目的 UE发送的数据报文中 的源 UE的 I P地址、 源 UE的端口号、 目的 UE的 I P地址、 目的 UE的端 口号及源 UE与目的 UE间的传输协议作为五元组,根据所述五元组与目 的 UE的下行承载的对应, 建立转发隧道的标识与源 UE向目的 UE发送 的数据报文的绑定关系。 其中, 在源 eNodeB中, 可以通过数据流筛选 装置 (如 TFT ) 来 选出符合所述五元组描述的数据报文。  The data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE. The address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the identifier of the forwarding tunnel and the source UE are sent to the destination UE according to the correspondence between the quintuple and the downlink bearer of the destination UE. Binding relationship of data packets. The source eNodeB may select a data packet that meets the description of the quintuple by using a data stream filtering device (such as a TFT).
此外, PGW还建立目的 UE向源 UE发送数据报文的本地路由。 包括 步骤 5 09至步骤 5 1 6:  In addition, the PGW also establishes a local route for the destination UE to send data packets to the source UE. Including Step 5 09 to Step 5 1 6:
5 09、 PGW向 SGW发送本地路由请求。  5 09. The PGW sends a local routing request to the SGW.
PGW可以在源 UE向目的 UE发送数据报文的本地路由建立完成后, 即步骤 5 08后, 向 SGW发送本地路由请求, 以建立目的 UE向源 UE发送 数据报文的本地路由。 当然, PGW也可以首先建立目的 UE向源 UE发送 数据报文的本地路由 ,然后建立源 UE向目的 UE发送数据报文的本地路 由, 本发明实施例对此不做限制。  The PGW may send a local route request to the SGW after the local route of the source UE sends the data packet to the destination UE, that is, after the step 5 08, to establish a local route for the destination UE to send the data packet to the source UE. Of course, the PGW may also first establish a local route for the destination UE to send data packets to the source UE, and then establish a local route for the source UE to send data packets to the destination UE, which is not limited in this embodiment of the present invention.
5 1 0、 SGW向目的 MME转发本地路由请求。  5 1 0. The SGW forwards the local routing request to the destination MME.
5 1 1、 目的 MME向源 eNodeB发送目的 eNodeB到源 eNodeB的转发 隧道建立请求。  5 1 1. Purpose The MME sends a forwarding tunnel establishment request from the destination eNodeB to the source eNodeB to the source eNodeB.
目的 MME根据源 eNodeB的 I P地址, 将转发隧道建立请求转发至 源 eNodeB。  The destination MME forwards the forwarding tunnel establishment request to the source eNodeB according to the IP address of the source eNodeB.
所述转发隧道建立请求包括: 源 UE 的标识、 源 UE 的下行承载标 识。  The forwarding tunnel establishment request includes: an identifier of the source UE, and a downlink bearer identifier of the source UE.
5 1 2、 源 eNodeB分酉己一个目的 eNodeB 源 eNodeB的转发 道标 识。 5 1 3、 在源 eNodeB中建立所述转发隧道标识与源 UE的下行承载标 识的绑定关系。 5 1 2. The source eNodeB divides the forwarding track identifier of the eNodeB source eNodeB. The binding relationship between the forwarding tunnel identifier and the downlink bearer identifier of the source UE is established in the source eNodeB.
5 1 4、 向目的 MME返回目的 eNodeB到源 eNodeB的转发隧道标识。 5 1 4, return the forwarding tunnel identifier of the destination eNodeB to the source eNodeB to the destination MME.
5 1 5、 目的 MME将目的 eNodeB到源 eNodeB的转发隧道标识发送至 目的 eNodeB。 5 1 5. Purpose The MME sends the forwarding tunnel identifier of the destination eNodeB to the source eNodeB to the destination eNodeB.
5 1 6、 在目的 eNodeB 中建立所述转发隧道标识与目的 UE 向源 UE 发送的数据报文的绑定关系。  The binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE is established in the destination eNodeB.
目的 eNodeB接收到源 eNodeB分配的转发隧道标识后, 建立所述 转发隧道标识与目的 UE向源 UE发送的数据报文的绑定关系,以使得目 的 UE的数据报文经所述转发隧道传递至源 UE。在建立所述转发隧道标 识与目的 UE向源 UE发送的数据报文的绑定关系后, 目的 eNodeB向目 的 MME发送隧道建立完成消息,目的 MME将目的 UE到源 UE方向的本地 路由建立完成消息发给 SGW , 并经由 SGW转发至 PGW。  After receiving the forwarding tunnel identifier allocated by the source eNodeB, the destination eNodeB establishes a binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE, so that the data packet of the destination UE is transmitted to the forwarding tunnel to the forwarding tunnel. Source UE. After the binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE is established, the destination eNodeB sends a tunnel establishment complete message to the destination MME, and the destination MME establishes a local route completion message from the destination UE to the source UE. Sent to the SGW and forwarded to the PGW via the SGW.
因为目的 UE的上行承载中可以同时传输目的 UE向源 UE发送的数 据报文以及目的 UE向其他目的地发送的数据报文, 为了唯一确定转发 隧道标识与数据报文的绑定关系, 所述将转发隧道标识与目的 UE向源 UE发送的数据报文进行绑定可以为: 将目的 UE向源 UE发送的数据报 文中的目的 UE的 I P地址、 目的 UE的端口号、 源 UE的 I P地址、 源 UE 的端口号及源 UE与目的 UE间的传输协议作为五元组,根据所述五元组 与源 UE的下行承载的对应, 建立转发隧道的标识与目的 UE向源 UE发 送的数据报文的绑定关系。 其中, 在目的 eNodeB中, 可以通过数据流 筛选装置(如 TFT )数据 选装置来 选出符合所述五元组描述的数据 报文。  Because the uplink bearer of the destination UE can simultaneously transmit the data packet sent by the destination UE to the source UE and the data packet sent by the destination UE to other destinations, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the destination UE to the source UE may be: an IP address of the destination UE, a port number of the destination UE, and an IP address of the source UE in the data packet sent by the destination UE to the source UE. The address, the port number of the source UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the identifier of the forwarding tunnel and the destination UE are sent to the source UE according to the correspondence between the quintuple and the downlink bearer of the source UE. Binding relationship of data packets. In the destination eNodeB, the data packet matching the description of the quintuple can be selected by a data stream filtering device (such as a TFT) data selection device.
此外, 当 EPS 系统与外部 PDN网络间存在 NAT映射设备时, 数据 报文要在 NAT映射设备上进行公私网的 I P地址及端口号的转换。 在本 发明实施例中,为实现本地路由,需要对 NAT地址转换的功能进行迁移。 具体的, 当 PGW中预存有 NAT映射设备的地址及端口信息时, PGW根据 预存的地址及端口信息, 向 NAT映射设备发起 NAT信息获取请求。 NAT 设备接收到 NAT信息获取请求后, 将自身存储的 NAT映射信息返回至 PGW0 当 PGW中未预存 NAT映射设备的地址及端口信息时, PGW可以通 过 NAT穿越技术对 NAT设备进行探测,并从探测到的 NAT设备上获取所 述 NAT映射信息。 In addition, when there is a NAT mapping device between the EPS system and the external PDN network, the data packet is translated on the NAT mapping device by the IP address and port number of the public and private network. In the embodiment of the present invention, in order to implement local routing, the function of NAT address translation needs to be migrated. Specifically, when the address and port information of the NAT mapping device are pre-stored in the PGW, the PGW initiates a NAT information acquisition request to the NAT mapping device according to the pre-stored address and port information. NAT device receives the NAT information acquisition request, the NAT mapping information stored therein is returned to the PGW 0 when the PGW not stored NAT mapping device address and port information, PGW can detect a NAT device by NAT traversal techniques, and from Detected on the detected NAT device Describe NAT mapping information.
所述 NAT映射信息包括源 UE的私网 I P地址与对应的公网 I P地址 的对应关系、私网传输协议端口号与对应的公网传输协议端口号的对应 关系、 目的 UE的私网 I P地址与进行对应的私网 I P地址的对应关系、 目的 UE的私网传输协议端口号与对应的公网传输协议端口号的对应关 系。 PGW将获取到的所述 NAT映射信息经 SGW以及 MME传输至源 eNodeB 和目的 eNodeB。在源 eNodeB上建立源 UE向目的 UE发送的数据 ^艮文与 NAT映射信息的对应关系, 在目的 eNodeB上建立目的 UE向源 UE发送 的数据报文与 NAT 映射信息的对应关系, 从而在源 eNodeB 和目的 eNodeB上进行 NAT地址转换。  The NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number. The PGW transmits the obtained NAT mapping information to the source eNodeB and the destination eNodeB via the SGW and the MME. Establishing, on the source eNodeB, the correspondence between the data sent by the source UE and the destination information, and the mapping between the data packet sent by the destination UE and the source mapping information on the destination eNodeB. NAT address translation is performed on the eNodeB and the destination eNodeB.
具体的, 当源 eNodeB收到源 UE向目的 UE发送的数据报文后, 对 数据报文进行 NAT地址转换, 将源 UE的私网地址及私网传输协议端口 号转换为对应的公网地址及公网传输协议端口号, 将目的 UE的公网地 址及公网传输协议端口号转换为对应的私网地址和私网传输协议端口 号,并通过源 eNodeB到目的 eNodeB的转发隧道将进行 NAT地址转换的 数据报文发送至目的 eNodeB。目的 eNodeB再将数据报文发送给目的 UE。 相应的, 目的 UE向源 UE发送的数据报文, 也要经过目的 eNodeB上的 NAT地址转换, 最终传输至源 UE。  Specifically, after receiving the data packet sent by the source UE to the destination UE, the source eNodeB performs NAT address translation on the data packet, and converts the private network address of the source UE and the private network transmission protocol port number to the corresponding public network address. And the public network transmission protocol port number, converting the public network address of the destination UE and the public network transmission protocol port number into the corresponding private network address and the private network transmission protocol port number, and performing NAT through the forwarding tunnel of the source eNodeB to the destination eNodeB. The address converted data message is sent to the destination eNodeB. The eNodeB sends the data packet to the destination UE. Correspondingly, the data packet sent by the destination UE to the source UE is also translated by the NAT address on the destination eNodeB, and finally transmitted to the source UE.
通过源 eNodeB和目的 eNodeB之间的转发隧道建立起了本地路由, 源 UE和目的 UE的数据报文不再经由 PGW与外部 PDN网络间的 NAT映射 设备进行地址转换。为防止 NAT映射设备在预设的映射释放时间段内接 收不到已执行本地路由的数据报文时,回收为所述已执行本地路由的数 据才艮文分配的公网地址及公网传输协议端口号, 源 eNodeB 和目的 eNodeB要周期性的向 NAT映射设备发送心跳包, 以通知 NAT映射设备 输协议端口号。 其中, 心跳包的发送周期应小于所述映射释放时间段。  A local route is established through the forwarding tunnel between the source eNodeB and the destination eNodeB, and the data packets of the source UE and the destination UE are no longer address translated by the NAT mapping device between the PGW and the external PDN network. To prevent the NAT mapping device from receiving the data message of the local route that has been executed within the preset mapping release time period, the public network address and the public network transmission protocol allocated for the data of the executed local route are recovered. The port number, the source eNodeB, and the destination eNodeB periodically send a heartbeat packet to the NAT mapping device to notify the NAT mapping device to transmit the protocol port number. The sending period of the heartbeat packet should be smaller than the mapping release period.
作为本发明实施例的另一种补充, 可以将 SGW 作为执行本地路由 的检测方法的网元。在此场景下的本地路由的检测方法以及本地路由的 建立方法, 可参考本发明实施例上文的描述, 此处不再赘述。  As another supplement to the embodiment of the present invention, the SGW may be used as a network element for performing a local route detection method. For the detection method of the local route and the method for establishing the local route in this scenario, refer to the foregoing description of the embodiment of the present invention, and details are not described herein again.
本发明实施例提供的本地路由的检测方法及本地路由的建立方 法, 使得在源 UE与目的 UE分别连接在源 eNodeB和目的 eNodeB的情况下, 通过在源 eNodeB和目的 eNodeB间建立转发隧道, 实现本地路由的建立。 通 过本地路由,使源 UE与目的 UE间的数据报文传输不需经过所述外部 PDN网 络环回、降低了源 UE与目的 UE之间数据报文的传输延时,提升了用户体验, 同时还可减轻 PGW的处理负担。 The method for detecting the local route and the method for establishing the local route provided by the embodiment of the present invention, so that when the source UE and the destination UE are respectively connected to the source eNodeB and the destination eNodeB, The establishment of a local route is established by establishing a forwarding tunnel between the source eNodeB and the destination eNodeB. The local route is used to prevent the data packet transmission between the source UE and the destination UE from being looped back through the external PDN network, reducing the transmission delay of data packets between the source UE and the destination UE, and improving the user experience. It also reduces the processing load of the PGW.
实施例 4 :  Example 4:
在如图 1 7所述的系统构架中, 可以将本地路由的建立功能设置在 SGW中, 在此场景下, 本发明实施例提供了一种本地路由的建立方法, 如图 7所示, 包括以下步骤:  In the system architecture as shown in FIG. 17, the local routing establishment function may be set in the SGW. In this scenario, the embodiment of the present invention provides a method for establishing a local route, as shown in FIG. The following steps:
6 01、 SGW接收 PGW发送的本地路由请求。  6 01. The SGW receives the local routing request sent by the PGW.
通过接收本地路由请求, 使得 SGW建立由源 UE向目的 UE发送数 据才艮文的本地路由以及由目的 UE向源 UE发送数据 ^艮文的本地路由。  By receiving the local routing request, the SGW establishes a local route for the data to be sent by the source UE to the destination UE and a local route for the data transmission by the destination UE to the source UE.
在执行步骤 6 01之前, PGW 已经完成本地路由的检测, PGW执行 本地路由的检测方法的描述可以参考本发明实施例 2和实施例 3中的描 述, 此处不再赘述。  Before the step 6 01 is performed, the PGW has completed the detection of the local route, and the description of the method for detecting the local route by the PGW can be referred to the descriptions in Embodiment 2 and Embodiment 3 of the present invention, and details are not described herein again.
所述本地路由请求中包括源 UE的标识、 目的 UE的标识、 源 UE的 承载的标识、 目的 UE的承载标识, 如果 UE的 PDN连接中需要进行 NAT 地址转换, 则本地路由请求中还需包括 NAT映射信息,如果需要对执行 了本地路由的数据报文实施单独计费,则本地路由请求中还需包括计费 信息, 如计费标识、 计费方法等。  The local routing request includes the identifier of the source UE, the identifier of the destination UE, the identifier of the source UE, and the bearer identifier of the destination UE. If the NAT address translation needs to be performed in the PDN connection of the UE, the local routing request needs to be included in the local routing request. The NAT mapping information needs to include the accounting information, such as the charging identifier and the charging method, in the local routing request, if the data packet is to be separately charged.
6 02、 SGW建立源 UE向目的 UE发送的数据报文与目的 UE的下行承 载的绑定关系。  6 02. The SGW establishes a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE.
6 03、 SGW建立目的 UE向源 UE发送的数据报文与源 UE的下行承载 的绑定关系。 The SGW establishes a binding relationship between the data packet sent by the UE and the source UE to the downlink bearer of the source UE.
实际应用中, SGW可以在建立源 UE向目的 UE发送的数据报文与目 的 UE的下行承载的绑定关系后, 继续建立目的 UE向源 UE发送的数据 报文与源 UE的下行承载的绑定关系; 也可以在建立源 UE向目的 UE发 送的数据报文与目的 UE的下行承载的绑定关系后, 先向 PGW发送源 UE 至目的 UE的路由建立完成消息。 PGW接收所述路由建立完成消息后再 向 SGW发送一次本地路由请求, 以使得 SGW继续建立目的 UE向源 UE 发送的数据报文与源 UE的下行承载的绑定关系。 In an actual application, after the SGW establishes a binding relationship between the data packet sent by the source UE and the destination UE, and the downlink bearer of the source UE, the SGW may continue to establish the binding of the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE. After the binding relationship between the data packet sent by the source UE and the destination UE and the downlink bearer of the destination UE is established, the route establishment complete message from the source UE to the destination UE is sent to the PGW. After receiving the route establishment complete message, the PGW sends a local routing request to the SGW, so that the SGW continues to establish the destination UE to the source UE. Binding relationship between the sent data packet and the downlink bearer of the source UE.
在建立目的 UE向源 UE发送的数据报文与源 UE的下行承载的绑定 关系后, SGW可以向 PGW发送目的 UE至源 UE的本地路由建立完成消息。  After establishing a binding relationship between the data packet sent by the destination UE and the source UE and the downlink bearer of the source UE, the SGW may send a local route establishment complete message of the destination UE to the source UE to the PGW.
因为源 UE的上行承载中可以同时传输源 UE向目的 UE发送的数据 报文以及源 UE向其他目的地发送的数据报文, 为了唯一确定转发隧道 标识与数据报文的绑定关系, 所述将转发隧道标识与源 UE 向目的 UE 发送的数据报文进行绑定可以为:将源 UE向目的 UE发送的数据报文中 的源 UE的 I P地址、 源 UE的端口号、 目的 UE的 I P地址、 目的 UE的端 口号及源 UE与目的 UE间的传输协议作为五元组,根据所述五元组与目 的 UE的下行承载的对应, 建立目的 UE下行承载标识与源 UE向目的 UE 发送的数据报文的绑定关系。  The data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE. The address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the destination UE downlink bearer identifier is established and the source UE sends the destination UE to the destination UE according to the downlink bearer corresponding to the quintuple and the destination UE. Binding relationship of data packets.
因为目的 UE的上行承载中可以同时传输目的 UE向源 UE发送的数 据报文以及目的 UE向其他目的地发送的数据报文, 为了唯一确定转发 隧道标识与数据报文的绑定关系, 所述将转发隧道标识与目的 UE向源 UE发送的数据报文进行绑定可以为: 将目的 UE向源 UE发送的数据报 文中的目的 UE的 I P地址、 目的 UE的端口号、 源 UE的 I P地址、 源 UE 的端口号及目的 UE与源 UE间的传输协议作为五元组,根据所述五元组 与源 UE的下行承载的对应, 建立源 UE下行承载标识与目的 UE向源 UE 发送的数据报文的绑定关系。  Because the uplink bearer of the destination UE can simultaneously transmit the data packet sent by the destination UE to the source UE and the data packet sent by the destination UE to other destinations, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the destination UE to the source UE may be: an IP address of the destination UE, a port number of the destination UE, and an IP address of the source UE in the data packet sent by the destination UE to the source UE. The address, the port number of the source UE, and the transmission protocol between the destination UE and the source UE are used as a quintuple. According to the correspondence between the quintuple and the downlink bearer of the source UE, the source UE downlink bearer identifier is established, and the destination UE is sent to the source UE. Binding relationship of data packets.
其中, 在 SGW中, 可以通过数据流筛选装置(如 TFT )来筛选出符 合所述五元组描述的数据报文。  In the SGW, the data packet that meets the description of the quintuple can be filtered by a data stream filtering device (such as a TFT).
此外, 当 EPS 系统与外部 PDN网络间存在 NAT映射设备时, 数据 报文要在 NAT映射设备上根据 NAT映射信息进行公私网的 I P地址及端 口号的转换。 在本发明实施例中, 为实现本地路由, 需要对 NAT地址转 换的功能进行迁移。 具体情况可参考本发明实施例 2中的描述, 此处不 再赘述。  In addition, when there is a NAT mapping device between the EPS system and the external PDN network, the data packet needs to be translated on the NAT mapping device according to the NAT mapping information to the IP address and port number of the public and private network. In the embodiment of the present invention, in order to implement local routing, the function of NAT address translation needs to be migrated. For details, refer to the description in Embodiment 2 of the present invention, and details are not described herein again.
所述 NAT映射信息包括源 UE的私网 I P地址与对应的公网 I P地址 的对应关系、私网传输协议端口号与对应的公网传输协议端口号的对应 关系、 目的 UE的私网 I P地址与进行对应的私网 I P地址的对应关系、 目的 UE的私网传输协议端口号与对应的公网传输协议端口号的对应关 系。 PGW将获取到的所述 NAT映射信息传输至 SGW。 SGW建立源 UE向目 的 UE发送的数据报文与 NAT映射信息的对应关系, 以及目的 UE向源 UE发送的数据报文与 NAT映射信息的对应关系, 从而在 SGW上能够实 现 NAT地址转换。 The NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number. The PGW transmits the obtained NAT mapping information to the SGW. SGW establishes source UE to the target Correspondence between the data packet sent by the UE and the NAT mapping information, and the correspondence between the data packet sent by the destination UE to the source UE and the NAT mapping information, so that NAT address translation can be implemented on the SGW.
具体的, 当 SGW收到源 UE向目的 UE发送的数据报文后, 对数据 报文进行 NAT地址转换 ,将私网地址及私网传输协议端口号转换为对应 的公网地址及公网传输协议端口号, 目的 UE的公网地址及公网传输协 议端口号转换为对应的私网地址和私网传输协议端口号, 并通过目的 UE的下行承载将进行 NAT地址转换的数据报文发送给目的 UE。相应的, 当 SGW收到目的 UE向源 UE发送的数据报文后, 也要经过 NAT转换后, 再经源 UE的下行承载发送给源 UE。  Specifically, after receiving the data packet sent by the source UE to the destination UE, the SGW performs NAT address translation on the data packet, and converts the private network address and the private network transmission protocol port number into corresponding public network addresses and public network transmissions. The protocol port number, the public network address of the destination UE, and the public network transmission protocol port number are converted into the corresponding private network address and the private network transmission protocol port number, and the data packet of the NAT address translation is sent to the downlink bearer of the destination UE. Destination UE. Correspondingly, after receiving the data packet sent by the destination UE to the source UE, the SGW also sends the NAT packet to the source UE.
作为本发明实施例的另一种补充, 也可以将本地路由的检测的功 能集成在 SGW中。 具体的, 源 UE/目的 UE建立 PDN连接后, SGW在存储 在自身的上下文查询表中记录源 UE/目的 UE的 I P地址与建立 PDN连接 后生成的上下文信息间的对应关系。 然后, 从源 UE发送的数据报文中 获取源 UE的 I P地址和目的 UE的 I P地址。如果 SGW在上下文查询表中 同时查找到源 UE的 I P地址对应的上下文信息和目的 UE的 I P地址对应 的上下文信息, 则 SGW具有本地路由能力。 SGW继续检测源 UE与目的 UE是否符合本地路由策略。在符合本地路由策略的情况下, SGW开始执 行本地路由的建立方法。  As another supplement to the embodiment of the present invention, the function of detecting the local route can also be integrated in the SGW. Specifically, after the source UE/destination UE establishes a PDN connection, the SGW records the correspondence between the IP address of the source UE/destination UE and the context information generated after establishing the PDN connection in the context query table stored in the SGW. Then, the IP address of the source UE and the IP address of the destination UE are obtained from the data packet sent by the source UE. If the SGW finds the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE in the context query table, the SGW has the local routing capability. The SGW continues to detect whether the source UE and the destination UE comply with the local routing policy. When the local routing policy is met, the SGW starts to implement the local routing establishment method.
本发明实施例提供的本地路由的建立方法, 使得当源 UE与目的 UE 连接同一个 SGW的情况下,通过 SGW进行源 UE和目的 UE之间的数据报文转 发, 从而实现本地路由的建立, 以使得源 UE与目的 UE间的数据报文传输不 需经过所述外部 PDN网络环回、降低了源 UE与目的 UE之间数据报文的传输 延时, 提升了用户体验; 当 SGW同时集成了本地路由的检测的功能时, 还 可进一步减轻 PGW的处理负担。  The method for establishing a local route is provided in the embodiment of the present invention, so that when the source UE and the destination UE are connected to the same SGW, the data message forwarding between the source UE and the destination UE is performed through the SGW, thereby realizing the establishment of the local route. Therefore, the data packet transmission between the source UE and the destination UE does not need to be looped back through the external PDN network, and the transmission delay of the data packet between the source UE and the destination UE is reduced, thereby improving the user experience; when the SGW is simultaneously integrated When the function of detecting local routes is performed, the processing load of the PGW can be further reduced.
实施例 5 :  Example 5:
在 EPS 系统中, 源 UE的 PDN连接和目的 UE的 PDN连接被同一个 eNodeB承载, 系统中还有与 eNodeB连接的 SGW、 MME。 在此场景下, 本 发明实施例提供了一种本地路由的建立方法, 如图 8所示, 包括以下步 骤:  In the EPS system, the PDN connection of the source UE and the PDN connection of the destination UE are carried by the same eNodeB, and the system also has an SGW and an MME connected to the eNodeB. In this scenario, the embodiment of the present invention provides a method for establishing a local route. As shown in FIG. 8, the method includes the following steps:
7 01、 eNodeB接收由 SGW发送至 MME ,并由 MME转发的本地路由请 求。 7 01. The eNodeB receives the local route sent by the SGW to the MME and forwarded by the MME. begging.
在执行步骤 7 01前, SGW已经完成本地路由的检测, 执行本地路由 的检测方法可以参考本发明实施例 2和实施例 3中的描述,此处不再赘 述。 SGW向 MME发送本地路由请求, 以使得 MME将本地路由请求转发给 eNodeB。  Before the step S101 is performed, the SGW has completed the detection of the local route. The method for detecting the local route can be referred to the description in Embodiment 2 and Embodiment 3 of the present invention, and details are not described herein. The SGW sends a local routing request to the MME, so that the MME forwards the local routing request to the eNodeB.
所述本地路由请求中包括源 UE的标识、 目的 UE的标识、 源 UE的 承载标识、 目的 UE的承载标识、 NAT映射信息、 以及计费标准等。  The local routing request includes an identifier of the source UE, an identifier of the destination UE, a bearer identifier of the source UE, a bearer identifier of the destination UE, NAT mapping information, and a charging standard.
7 02、 eNodeB建立源 UE向目的 UE发送的数据 ^艮文与目的 UE的下 行承载的绑定关系。  7 02. The eNodeB establishes a binding relationship between the data sent by the source UE to the destination UE and the downlink bearer of the destination UE.
7 03、 eNodeB建立目的 UE向源 UE发送的数据报文与源 UE的下行 承载的绑定关系。  7 03. The eNodeB establishes a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE.
实际应用中, eNodeB可以在建立源 UE向目的 UE发送的数据报文 与目的 UE的下行承载的绑定关系后, 继续建立目的 UE向源 UE发送的 数据报文与源 UE 的下行承载的绑定关系; 也可以在建立源 UE 向目的 UE发送的数据报文与目的 UE的下行承载的绑定关系后, 向 MME发送源 UE至目的 UE路由建立完成消息,所述路由建立完成消息由 MME转发给 SGW0 SGW接收所述路由建立完成消息后再向 MME发送一次本地路由请 求, 并由 MME转发至 eNodeB,以使得 eNodeB继续建立目的 UE向源 UE 发送的数据报文与源 UE的下行承载的绑定关系。 In an actual application, after establishing the binding relationship between the data packet sent by the source UE and the destination UE and the downlink bearer of the destination UE, the eNodeB may continue to establish the binding of the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE. After the binding relationship between the data packet sent by the source UE and the destination UE to the downlink bearer of the destination UE is established, the source UE to the destination UE route establishment complete message is sent to the MME, and the route establishment complete message is sent by the MME. After the SGW 0 SGW receives the route setup complete message, it sends a local route request to the MME, and the MME forwards the request to the eNodeB, so that the eNodeB continues to establish the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE. Binding relationship.
在建立目的 UE向源 UE发送的数据报文与源 UE的下行承载的绑定 关系后, eNodeB可以向 MME发送目的 UE至源 UE的路由建立完成消息, 并由 MME转发给 SGW。  After establishing a binding relationship between the data packet sent by the destination UE and the source UE and the downlink bearer of the source UE, the eNodeB may send a route establishment complete message of the destination UE to the source UE to the MME, and the MME forwards the message to the SGW.
因为源 UE的上行承载中可以同时传输源 UE向目的 UE发送的数据 报文以及源 UE向其他目的地发送的数据报文, 为了唯一确定转发隧道 标识与数据报文的绑定关系, 所述将转发隧道标识与源 UE 向目的 UE 发送的数据报文进行绑定可以为:将源 UE向目的 UE发送的数据报文中 的源 UE的 I P地址、 源 UE的端口号、 目的 UE的 I P地址、 目的 UE的端 口号及源 UE与目的 UE间的传输协议作为五元组,根据所述五元组与目 的 UE的下行承载的对应, 建立目的 UE下行承载标识与源 UE向目的 UE 发送的数据报文的绑定关系。  The data packet sent by the source UE to the destination UE and the data packet sent by the source UE to other destinations may be simultaneously transmitted in the uplink bearer of the source UE, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, The binding of the forwarding tunnel identifier to the data packet sent by the source UE to the destination UE may be: the IP address of the source UE, the port number of the source UE, and the IP address of the destination UE in the data packet sent by the source UE to the destination UE. The address, the port number of the destination UE, and the transmission protocol between the source UE and the destination UE are used as a quintuple, and the destination UE downlink bearer identifier is established and the source UE sends the destination UE to the destination UE according to the downlink bearer corresponding to the quintuple and the destination UE. Binding relationship of data packets.
因为目的 UE的上行承载中可以同时传输目的 UE向源 UE发送的数 据报文以及目的 UE向其他目的地发送的数据报文, 为了唯一确定转发 隧道标识与数据报文的绑定关系, 所述将转发隧道标识与目的 UE向源 UE发送的数据报文进行绑定可以为: 将目的 UE向源 UE发送的数据报 文中的目的 UE的 I P地址、 目的 UE的端口号、 源 UE的 I P地址、 源 UE 的端口号及目的 UE与源 UE间的传输协议作为五元组,根据所述五元组 与源 UE的下行承载的对应, 建立源 UE下行承载标识与目的 UE向源 UE 发送的数据报文的绑定关系。 The number of destination UEs that can be sent to the source UE can be simultaneously transmitted in the uplink bearer of the destination UE. According to the packet and the data packet sent by the destination UE to the other destination, in order to uniquely determine the binding relationship between the forwarding tunnel identifier and the data packet, the forwarding tunnel identifier is bound to the data packet sent by the destination UE to the source UE. The IP address of the destination UE, the port number of the source UE, the IP address of the source UE, the port number of the source UE, and the transmission protocol between the destination UE and the source UE in the data packet sent by the destination UE to the source UE may be: As a quintuple, a binding relationship between the downlink bearer identifier of the source UE and the data packet sent by the destination UE to the source UE is established according to the correspondence between the quintuple and the downlink bearer of the source UE.
此外, 当 EPS 系统与外部 PDN网络间存在 NAT映射设备时, 数据 报文要在 NAT映射设备上根据 NAT映射信息进行公私网的 I P地址及端 口号的转换。 在本发明实施例中, 为实现本地路由, 需要对 NAT地址转 换的功能进行迁移。 具体情况可参考实施例 2中的描述, 本发明实施例 不再赘述。  In addition, when there is a NAT mapping device between the EPS system and the external PDN network, the data packet needs to be translated on the NAT mapping device according to the NAT mapping information to the IP address and port number of the public and private network. In the embodiment of the present invention, in order to implement local routing, the function of NAT address translation needs to be migrated. For details, refer to the description in Embodiment 2, and details are not described herein again.
所述 NAT映射信息包括源 UE的私网 I P地址与对应的公网 I P地址 的对应关系、私网传输协议端口号与对应的公网传输协议端口号的对应 关系、 目的 UE的私网 I P地址与进行对应的私网 I P地址的对应关系、 目的 UE的私网传输协议端口号与对应的公网传输协议端口号的对应关 系。 PGW将获取到的所述 NAT映射信息传输至 eNodeB。 eNodeB建立源 UE向目的 UE发送的数据报文与 NAT映射信息的对应关系,以及目的 UE 向源 UE发送的数据报文与 NAT 映射信息的对应关系, 从而在 eNodeB 上能够实现 NAT地址转换。  The NAT mapping information includes the mapping between the private network IP address of the source UE and the corresponding public network IP address, the correspondence between the private network transmission protocol port number and the corresponding public network transmission protocol port number, and the private network IP address of the destination UE. Correspondence relationship with the corresponding private network IP address, the private network transmission protocol port number of the destination UE, and the corresponding public network transmission protocol port number. The PGW transmits the obtained NAT mapping information to the eNodeB. The eNodeB establishes a correspondence between the data packet sent by the source UE to the destination UE and the NAT mapping information, and the correspondence between the data packet sent by the destination UE to the source UE and the NAT mapping information, so that NAT address translation can be implemented on the eNodeB.
具体的, 当 eNodeB收到源 UE向目的 UE发送的数据报文后, 对数 据报文进行 NAT地址转换,将私网地址及私网传输协议端口号转换为对 应的公网地址及公网传输协议端口号, 将目的 UE的公网地址及公网传 输协议端口号转换为对应的私网地址和私网传输协议端口号,并通过目 的 UE的下行承载将进行 NAT地址转换的数据报文送给目的 UE。相应的, 当 eNodeB收到目的 UE向源 UE发送的数据报文后, 也要经过 NAT转换 后, 再经源 UE的下行承载发送给源 UE。  Specifically, after receiving the data packet sent by the source UE to the destination UE, the eNodeB performs NAT address translation on the data packet, and converts the private network address and the private network transmission protocol port number into the corresponding public network address and the public network transmission. The protocol port number is used to convert the public network address of the destination UE and the public network transmission protocol port number into the corresponding private network address and the private network transmission protocol port number, and send the data packet for NAT address translation through the downlink bearer of the destination UE. Give the destination UE. Correspondingly, after receiving the data packet sent by the destination UE to the source UE, the eNodeB also needs to perform NAT conversion, and then sends the downlink bearer of the source UE to the source UE.
本地路由的检测的功能也可以集成在 PGW中, 即由 PGW执行本发 明实施例中 SGW的功能, 此处不再赘述。  The function of detecting the local route may also be integrated in the PGW, that is, the function of the SGW in the embodiment of the present invention is performed by the PGW, and details are not described herein again.
作为本发明实施例的另一种补充, 也可以将本地路由的检测的功 能集成在 eNodeB中。 具体的, 源 UE/目的 UE建立 PDN连接后, eNodeB 在存储在自身的上下文查询表中记录源 UE/目的 UE 的 IP地址与建立 PDN连接后生成的上下文信息间的对应关系。 然后, 从源 UE发送的数 据报文中获取源 UE的 IP地址和目的 UE的 IP地址。 如果 eNodeB在上 下文查询表中同时查找到源 UE的 I P地址对应的上下文信息和目的 UE 的 IP地址对应的上下文信息 ,则 eNodeB具有本地路由建立能力。 eNodeB 继续检测源 UE与目的 UE是否符合本地路由策略。在符合本地路由策略 的情况下, eNodeB开始执行本地路由的建立方法。 As a further addition to the embodiments of the present invention, the function of detecting local routes can also be integrated in the eNodeB. Specifically, after the source UE/destination UE establishes a PDN connection, the eNodeB The correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established is recorded in the context query table stored in itself. Then, the IP address of the source UE and the IP address of the destination UE are obtained from the data packet sent by the source UE. If the eNodeB finds the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE in the context query table, the eNodeB has the local route establishment capability. The eNodeB continues to check whether the source UE and the destination UE comply with the local routing policy. When the local routing policy is met, the eNodeB starts to implement the local routing establishment method.
本发明实施例提供的本地路由的建立方法, 使得当源 UE与目的 UE 分别连接同一个 eNodeB的情况下, 通过 eNodeB进行源 UE和目的 UE之间 的数据报文转发, 从而实现本地路由的建立, 以使得源 UE与目的 UE间的数 据报文传输不需经过所述外部 PDN网络环回、降低了源 UE与目的 UE之间数 据报文的传输延时,提升了用户体验; 当 eNodeB同时集成了本地路由的检 测的功能时, 还可进一步减轻 SGW、 PGW的处理负担。  The method for establishing a local route is provided in the embodiment of the present invention, so that when the source UE and the destination UE are respectively connected to the same eNodeB, the eNodeB performs data packet forwarding between the source UE and the destination UE, thereby implementing local route establishment. Therefore, the data packet transmission between the source UE and the destination UE does not need to be looped back through the external PDN network, and the transmission delay of the data packet between the source UE and the destination UE is reduced, thereby improving the user experience; when the eNodeB is simultaneously When the function of detecting local routes is integrated, the processing load of the SGW and the PGW can be further reduced.
实施例 6 :  Example 6:
本发明实施例提供了一种本地路由的检测装置, 如图 9 所示。 所 述装置包括: 上下文信息查找单元 91、 本地路由能力检测单元 92、 路 由请求发送单元 93。  The embodiment of the invention provides a local routing detection device, as shown in FIG. The device includes: a context information finding unit 91, a local routing capability detecting unit 92, and a routing request transmitting unit 93.
上下文信息查找单元 91 用于在生成 IP地址与上下文关联的上下 文查询表中查找源 UE的 IP地址对应的上下文信息和目的 UE的 IP地址 对应的上下文信息。  The context information searching unit 91 is configured to search context information corresponding to the IP address of the source UE and context information corresponding to the IP address of the destination UE in the context query table that generates the IP address and the context.
本地路由能力检测单元 92用于在查找到的所述源 UE及目的 UE的 上下文信息中,检测所述源 UE及目的 UE承载链路上的网元是否具有本 地路由建立能力。  The local routing capability detecting unit 92 is configured to detect, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has local route establishment capability.
路由请求发送单元 93用于向具有本地路由建立能力的网元发送本 地路由请求,以使得所述具有本地路由建立能力的网元进行本地路由配 置, 并对源 UE和目的 UE间的数据报文进行本地路由。  The routing request sending unit 93 is configured to send a local routing request to the network element having the local routing establishment capability, so that the network element with the local routing establishment capability performs local routing configuration, and the data packet between the source UE and the destination UE is configured. Make local routes.
进一步的,如图 10所示, 所述装置还包括,路由策略检测单元 94。 路由策略检测单元 94用于检测源 UE与目的 UE是否符合本地路由 策略, 以使得在符合所述本地路由策略时, 路由请求发送单元 93向所 述具有本地路由建立能力的网元发送本地路由请求。所述本地路由策略 规定了是否允许为 UE收发的数据报文执行本地路由。 所述本地路由策 略限定了禁止执行本地路由的 UE的类别以及允许执行本地路由的数据 报文类型。 比如, 本地路由策略禁止被运营商进行合法监听的一类用户 执行本地路由, 本地路由策略允许为 UE间通信的语音类数据报文执行 本地路由。 Further, as shown in FIG. 10, the apparatus further includes a routing policy detecting unit 94. The routing policy detecting unit 94 is configured to detect whether the source UE and the destination UE meet the local routing policy, so that when the local routing policy is met, the routing request sending unit 93 sends a local routing request to the network element having the local routing establishment capability. . The local routing policy specifies whether to allow local routing for data packets sent and received by the UE. Local routing policy The class of UEs that are prohibited from performing local routing and the type of data packets that are allowed to perform local routing are slightly defined. For example, the local routing policy prohibits a type of user that is legally intercepted by the operator to perform local routing. The local routing policy allows local routing to be performed for voice-type data packets communicated between the UEs.
此外, 本发明实施例还提供了一种本地路由的建立装置, 如图 11 所示, 包括: 路由请求接收单元 111, 本地路由建立单元 112。  In addition, the embodiment of the present invention further provides a device for establishing a local route. As shown in FIG. 11, the method includes: a route request receiving unit 111, and a local route establishing unit 112.
路由请求接收单元 111用于接收本地路由请求。  The routing request receiving unit 111 is configured to receive a local routing request.
本地路由建立单元 112用于建立源 UE向目的 UE发送的数据报文 与目的 UE的下行承载的绑定关系并建立目的 UE向源 UE发送的数据报 文与源 UE的下行承载的绑定关系, 以使得源 UE、 目的 UE间的数据报 文根据绑定关系进行本地路由。  The local route establishing unit 112 is configured to establish a binding relationship between the data packet sent by the source UE and the destination UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE. The data packet between the source UE and the destination UE is locally routed according to the binding relationship.
进一步的, 当进行本地路由建立的网元为源 UE所在 PDN连接上的 源 SGW和目的 UE所在 PDN连接上的目的 SGW时, 所述本地路由建立单 元 112集成在源 SGW中。 如图 12所示, 所述本地路由建立单元 112还 包括: 隧道请求发送模块 1121、 第一隧道接收模块 1122、 第一绑定建 立模块 1123、 隧道请求接收模块 1124、 第二绑定建立模块 1125、 第一 隧道发送模块 1126。  Further, the local route establishing unit 112 is integrated in the source SGW when the network element for establishing the local route is the source SGW of the PDN connection where the source UE is located and the destination SGW of the PDN where the destination UE is located. As shown in FIG. 12, the local route establishing unit 112 further includes: a tunnel request sending module 1121, a first tunnel receiving module 1122, a first binding establishing module 1123, a tunnel request receiving module 1124, and a second binding establishing module 1125. The first tunnel sending module 1126.
隧道请求发送模块 1121用于向源 UE所在 PDN连接上的源 MME转 发所述本地路由请求, 以使得源 MME向目的 SGW发送源 SGW到目的 SGW 的转发隧道建立请求,并由目的 SGW在分配源 SGW到目的 SGW的转发隧 道后将转发隧道标识返回给源 MME。  The tunnel request sending module 1121 is configured to forward the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW, and the source SGW allocates the source. After forwarding the tunnel to the destination SGW, the SGW returns the forwarding tunnel identifier to the source MME.
第一隧道接收模块 1122用于接收目的 SGW返回给源 MME、 并由源 MME转发的转发隧道标识。  The first tunnel receiving module 1122 is configured to receive a forwarding tunnel identifier that is forwarded by the source SGW to the source MME and forwarded by the source MME.
第一绑定建立模块 1123用于建立所述转发隧道标识与源 UE向目 的 UE发送的数据报文的绑定关系, 以使得数据报文经所述转发隧道传 递至目的 SGW。  The first binding establishment module 1123 is configured to establish a binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE, so that the data packet is transmitted to the destination SGW through the forwarding tunnel.
隧道请求接收模块 1124用于接收目的 MME发出的目的 SGW到源 SGW 的转发隧道建立请求。  The tunnel request receiving module 1124 is configured to receive a forwarding tunnel establishment request from the destination SGW to the source SGW sent by the destination MME.
第二绑定建立模块 1125用于分配目的 SGW到源 SGW的转发隧道并 建立转发隧道标识与源 UE的下行承载的绑定关系。 第一隧道发送模块 1126用于将目的 SGW到源 SGW的转发隧道标识 发送给目的 MME,以使得目的 MME将目的 SGW到源 SGW的转发隧道标识 转发目的 SGW后,目的 SGW建立目的 SGW到源 SGW的转发隧道标识与目 的 UE向源 UE发送的数据报文的绑定关系。 The second binding establishment module 1125 is configured to allocate a forwarding tunnel of the destination SGW to the source SGW and establish a binding relationship between the forwarding tunnel identifier and the downlink bearer of the source UE. The first tunnel sending module 1126 is configured to send the forwarding tunnel identifier of the destination SGW to the source SGW to the destination MME, so that the destination MME forwards the forwarding tunnel identifier of the destination SGW to the source SGW to the destination SGW, and the destination SGW establishes the destination SGW to the source SGW. The binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE.
在本地路由建立单元 112集成在源 SGW时,本地路由建立单元 112 也同时集成在目的 SGW中。  When the local route establishing unit 112 is integrated in the source SGW, the local route establishing unit 112 is also integrated in the destination SGW.
另外, 当进行本地路由建立的网元为源 UE 所在 PDN 连接上的源 eNodeB和目的 UE所在 PDN连接上的目的 eNodeB时, 所述本地路由建 立单元 112集成在目的 eNodeB。 如图 13所示, 所述本地路由建立单元 112还包括: 第三绑定建立模块 1127、 第二隧道发送模块 1128、 第二 隧道接收模块 1129、 第四绑定建立模块 1130。  In addition, when the network element that is configured by the local route is the source eNodeB on the PDN connection where the source UE is located and the destination eNodeB connected to the PDN where the destination UE is located, the local route establishment unit 112 is integrated in the destination eNodeB. As shown in FIG. 13, the local route establishing unit 112 further includes: a third binding establishment module 1127, a second tunnel sending module 1128, a second tunnel receiving module 1129, and a fourth binding establishing module 1130.
第三绑定建立模块 1127用于接收源 MME发送的源 eNodeB到目的 eNodeB的转发 P迷道建立请求后, 分酉己源 eNodeB 目的 eNodeB的转发 隧道并建立转发隧道标识与目的 UE的下行承载的绑定关系, 以使得经 源 eNodeB到目的 eNodeB的转发隧道传至目的 eNodeB的数据 ^艮文被发 送到目的 UE。  The third binding establishment module 1127 is configured to: after receiving the forwarding P-channel establishment request sent by the source eNodeB and the destination eNodeB, the forwarding tunnel of the eNodeB of the source eNodeB is configured to establish the forwarding tunnel identifier and the downlink bearer of the destination UE. The binding relationship is such that the data transmitted to the destination eNodeB by the forwarding tunnel of the source eNodeB to the destination eNodeB is sent to the destination UE.
第二隧道发送模块 1128用于将源 eNodeB到目的 eNodeB的转发隧 道标识返回源 MME,以使得源 MME将源 eNodeB到目的 eNodeB的转发隧 道标识转发给源 eNodeB, 并由源 eNodeB建立源 eNodeB到目的 eNodeB 的转发隧道标识与源 UE向目的 UE发送的数据报文的绑定关系。  The second tunnel sending module 1128 is configured to return the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source MME, so that the source MME forwards the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source eNodeB, and the source eNodeB establishes the source eNodeB to the destination. The binding relationship between the forwarding tunnel identifier of the eNodeB and the data packet sent by the source UE to the destination UE.
第二隧道接收模块 1129 用于接收由源 eNodeB分配、 由目的 MME 转发的目的 eNodeB到源 eNodeB的转发隧道标识。  The second tunnel receiving module 1129 is configured to receive a forwarding tunnel identifier of the destination eNodeB that is allocated by the source eNodeB and forwarded by the destination MME to the source eNodeB.
第四绑定建立模块 1130用于建立目的 eNodeB到源 eNodeB的转发 隧道标识与目的 UE向源 UE发送的数据报文的绑定关系。  The fourth binding establishment module 1130 is configured to establish a binding relationship between the forwarding tunnel identifier of the destination eNodeB and the source eNodeB and the data packet sent by the destination UE to the source UE.
在本地路由建立单元 112集成在目的 eNodeB时, 本地路由建立单 元 112也同时集成在源 eNodeB中。  When the local route establishing unit 112 is integrated in the destination eNodeB, the local route establishing unit 112 is also integrated in the source eNodeB.
本发明实施例所提供的本地路由的检测装置和本地路由的建立装 置,通过检测并建立本地路由,使得源 UE发送给目的 UE的数据报文以 及目的 UE返回给源 UE的数据报文都不需经过所述外部 PDN网络环回,而 通过 SGW或 eNodeB进行本地路由, 从而能降低传输延时, 提升用户体验, 同时还减轻了 PGW的处理负担。 实施例 7: The local routing detection apparatus and the local routing establishment apparatus provided by the embodiments of the present invention detect and establish a local route, so that the data message sent by the source UE to the destination UE and the data message returned by the destination UE to the source UE are not The external PDN network needs to be looped back, and local routing is performed through the SGW or the eNodeB, thereby reducing the transmission delay, improving the user experience, and reducing the processing load of the PGW. Example 7
本发明实施例提供了一种实现本地路由建立的系统,如图 14所示。 所述系统包括检测装置 141和建立装置 142。  The embodiment of the invention provides a system for implementing local route establishment, as shown in FIG. 14 . The system includes a detection device 141 and an establishment device 142.
检测装置 141 用于向建立装置 142发送本地路由请求。 建立装置 142用于在接收到检测装置 141 的本地路由建立请求后, 建立源 UE向 目的 UE发送的数据报文与目的 UE 的下行承载的绑定关系并建立目的 UE向源 UE发送的数据报文与源 UE的下行承载的绑定关系, 从而使得 源 UE、 目的 UE间的数据报文根据绑定关系进行本地路由。  Detection device 141 is configured to send a local routing request to setup device 142. The establishing device 142 is configured to establish a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE, and establish a datagram sent by the destination UE to the source UE, after receiving the local route establishment request of the detecting device 141. The binding relationship between the source and the downlink bearer of the source UE, so that the data packets between the source UE and the destination UE are locally routed according to the binding relationship.
作为本发明实施例的一种应用场景, 所述建立装置 141 可以包含 在 EPS 系统的 SGW中, 所述检测装置 142 可以包含在 EPS 系统的 PGW 中。 如图 15所示, 所述系统包括当源 UE所在 PDN连接上的源 SGW151 和目的 UE所在 PDN连接上的目的 SGW152, 以及 PGW153。  As an application scenario of the embodiment of the present invention, the establishing apparatus 141 may be included in an SGW of an EPS system, and the detecting apparatus 142 may be included in a PGW of an EPS system. As shown in FIG. 15, the system includes a source SGW 151 on the PDN connection where the source UE is located, and a destination SGW 152 on the PDN where the destination UE is located, and the PGW 153.
PGW153用于向源 SGW151和目的 SGW152分别发送本地路由请求, 以使得源 SGW和目的 SGW进行本地路由配置,并对源 UE和目的 UE间的 数据报文进行本地路由。  The PGW 153 is configured to send a local routing request to the source SGW 151 and the destination SGW 152 respectively, so that the source SGW and the destination SGW perform local routing configuration, and locally route data packets between the source UE and the destination UE.
源 SGW151用于在接收 PGW153的本地路由请求后,向源 UE所在 PDN 连接上的源 MME转发所述本地路由请求, 以使得源 MME向目的 SGW152 发送源 SGW到目的 SGW的转发隧道建立请求。  The source SGW 151 is configured to: after receiving the local routing request of the PGW 153, forward the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW 152.
目的 SGW152用于将分配的源 SGW到目的 SGW的转发隧道标识返回 源 MME , 并由源 MME转发给源 SGW151。  The SGW 152 is configured to return the forwarding tunnel identifier of the allocated source SGW to the destination SGW to the source MME, and forward the source tunnel to the source SGW 151.
目的 SGW152还用于在接收 PGW153的本地路由请求后, 向目的 UE 所在的 PDN连接上的目的 MME转发接收到得本地路由请求,以使得目的 MME向源 SGW151发送目的 SGW到源 SGW的转发隧道建立请求。  The destination SGW 152 is further configured to: after receiving the local routing request of the PGW 153, forward the received local routing request to the destination MME on the PDN connection where the destination UE is located, so that the destination MME sends the forwarding STU of the destination SGW to the source SGW to the source SGW 151. request.
源 SGW151还用于将分配的目的 SGW到源 SGW的转发隧道标识返回 目的 MME, 并由目的 MME转发给目的 SGW152。  The source SGW 151 is further configured to return the forwarding tunnel identifier of the allocated destination SGW to the source SGW to the destination MME, and forwarded by the destination MME to the destination SGW 152.
目的 SGW152在分配源 SGW到目的 SGW的转发隧道标识后, 还建立 源 SGW到目的 SGW的转发隧道标识与目的 UE的下行承载的绑定关系, 以使得源 UE向目的 UE发送的数据报文转发到目的 SGW152后, 被目的 SGW152转发至目的 UE。源 SGW151在接收源 SGW到目的 SGW的转发隧道 标识后建立源 SGW到目的 SGW的转发隧道标识与源 UE向目的 UE发送的 数据报文的绑定关系, 以使得源 UE 向目的 UE发送的数据报文到达源 SGW1 5 1后经所述源 SGW到目的 SGW的转发隧道转发至目的 SGW1 52。 另外, 源 SGW1 5 1在目的 SGW到源 SGW的转发隧道标识后, 还建立 目的 SGW到源 SGW的转发隧道标识与源 UE的下行承载的绑定关系, 以 使得目的 UE向源 UE发送的数据报文转发到源 SGW1 5 1后, 被源 SGW1 5 1 转发到源 UE。 目的 SGW1 52在接收目的 SGW到源 SGW的转发隧道标识后 建立目的 SGW到源 SGW的转发隧道标识与目的 UE向源 UE发送的数据报 文的绑定关系,以使得目的 UE向源 UE发送的数据报文到达目的 UE后, 经所述目的 SGW到源 SGW的转发隧道转发至源 SGW1 5 1。 After the SGW 152 allocates the forwarding tunnel identifier of the source SGW to the destination SGW, the SGW 152 also establishes a binding relationship between the forwarding tunnel identifier of the source SGW and the destination SGW and the downlink bearer of the destination UE, so that the data packet sent by the source UE to the destination UE is forwarded. After reaching the destination SGW 152, it is forwarded by the destination SGW 152 to the destination UE. After receiving the forwarding tunnel identifier from the source SGW to the destination SGW, the source SGW 151 establishes a binding relationship between the forwarding tunnel identifier of the source SGW and the destination SGW and the data packet sent by the source UE to the destination UE, so that the source UE sends the data to the destination UE. Message arrival source After the SGW1 51 is forwarded to the destination SGW1 52 via the forwarding tunnel of the source SGW to the destination SGW. In addition, the source SGW1 151 establishes a binding relationship between the forwarding tunnel identifier of the destination SGW and the source SGW and the downlink bearer of the source UE, so that the source UE sends the data to the source UE, after the destination SGW to the source SGW. After the message is forwarded to the source SGW1 5 1 , it is forwarded to the source UE by the source SGW1 5 1 . After the destination SGW receives the forwarding tunnel identifier from the destination SGW to the source SGW, the destination SGW1 52 establishes a binding relationship between the forwarding tunnel identifier of the destination SGW and the source SGW and the data packet sent by the destination UE to the source UE, so that the destination UE sends the data to the source UE. After the data packet arrives at the destination UE, it is forwarded to the source SGW1 51 through the forwarding tunnel of the destination SGW to the source SGW.
当然, 在其他的实施场景, 所述建立装置 1 4 1 可以包含在 EPS 系 统的 eNodeB中, 所述检测装置 1 42可以包含在 EPS系统的 SGW或 PGW 中。  Of course, in other implementation scenarios, the establishing device 1 4 1 may be included in an eNodeB of the EPS system, and the detecting device 1 42 may be included in an SGW or a PGW of the EPS system.
此外, 当 EPS 系统与外部 PDN网络间存在 NAT映射设备时, 数据 报文要在 NAT映射设备上根据 NAT映射信息进行公私网的 I P地址及端 口号的转换。 在本发明实施例中, 为实现本地路由, 需要对 NAT地址转 换的功能进行迁移。 具体情况可参考实施例 2中的描述, 本发明实施例 不再赘述。  In addition, when there is a NAT mapping device between the EPS system and the external PDN network, the data packet needs to be translated on the NAT mapping device according to the NAT mapping information to the IP address and port number of the public and private network. In the embodiment of the present invention, in order to implement local routing, the function of NAT address translation needs to be migrated. For details, refer to the description in Embodiment 2, and details are not described herein again.
本发明实施例所提供的实现本地路由建立的系统, 通过检测装置 向建立装置发送本地路由请求, 并由建立装置建立本地路由, 从而使得 源 UE与目的 UE间传输的数据报文不需经过所述外部 PDN网络环回,而是直 接经由 SGW或 eNodeB进行传输, 降低了传输延时, 提升了用户体验, 并减 轻了 PGW的处理负担。  The system for implementing local route establishment provided by the embodiment of the present invention sends a local routing request to the establishing device by using the detecting device, and the local device establishes a local route, so that the data packet transmitted between the source UE and the destination UE does not need to pass through the device. The external PDN network loopback is transmitted directly through the SGW or the eNodeB, which reduces the transmission delay, improves the user experience, and reduces the processing load of the PGW.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了 解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通 过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产 品的形式体现出来, 该计算机软件产品存储在可读取的存储介质中, 如 计算机的软盘,硬盘或光盘等, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施 例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. A hard disk or optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围 内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。 The above description is only the specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any technical person skilled in the art can disclose the technical scope disclosed by the present invention. Variations or substitutions are readily conceivable within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利 要 求 书 Claim
1、 一种本地路由可行性的检测方法, 其特征在于, 包括: A method for detecting the feasibility of a local route, which is characterized by comprising:
在生成 IP地址与上下文关联的上下文查询表中查找源 UE的 IP地址 对应的上下文信息和目的 UE的 IP地址对应的上下文信息;  Querying, in the context query table that generates the IP address and the context, the context information corresponding to the IP address of the source UE and the IP address of the destination UE;
在查找到的所述源 UE及目的 UE的上下文信息中, 检测所述源 UE及 目的 UE承载链路上的网元是否具有本地路由建立能力;  Detecting, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishment capability;
当具有本地路由建立能力时, 向源 UE及目的 UE承载链路上的网元 发送本地路由请求, 以使得源 UE及目的 UE承载链路上的网元进行本地 路由配置, 并对源 UE和目的 UE间的数据报文进行本地路由。  When the local routing establishment capability is available, the local routing request is sent to the source UE and the network element on the destination UE bearer link, so that the source UE and the destination UE carry the local element routing configuration on the bearer link, and the source UE and the source UE The data packets between the destination UEs are locally routed.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising:
所述源 UE/目的 UE建立 PDN连接后, 在所述上下文查询表中记录所 述源 UE/目的 UE的 IP地址与建立 PDN连接后生成的上下文信息间的对应 关系。  After the source UE/destination UE establishes a PDN connection, the context query table records the correspondence between the IP address of the source UE/destination UE and the context information generated after the PDN connection is established.
3、 根据权利要求 2所述的方法, 其特征在于, 在所述上下文查询表 中查找所述源 UE的 IP地址对应的上下文信息和目的 UE的 IP地址对应 的上下文信息前, 还包括:  The method according to claim 2, wherein before the context information corresponding to the IP address of the source UE and the context information corresponding to the IP address of the destination UE are searched in the context query table, the method further includes:
从源 UE发送的数据报文中获取源 UE的 IP地址和目的 UE的 IP地址。 The IP address of the source UE and the IP address of the destination UE are obtained from the data packet sent by the source UE.
4、 根据权利要求 1所述的方法, 其特征在于, 还包括: 4. The method according to claim 1, further comprising:
当所述源 UE及目的 UE承载链路上的网元具有本地路由建立能力时, 检测源 UE与目的 UE是否符合本地路由策略, 以使得在符合所述本地路 由策略时, 向源 UE及目的 UE承载链路上的网元发送本地路由请求; 所 述本地路由策略限定了有能力进行本地路由的网元。  When the source UE and the target UE bearer link have the local route establishment capability, check whether the source UE and the destination UE comply with the local routing policy, so that when the local routing policy is met, the source UE and the destination are The network element on the UE bearer link sends a local routing request; the local routing policy defines a network element capable of performing local routing.
5、根据权利要求 1至 4中任一项所述的方法, 其特征在于, 还包括: 从 NAT映射设备获取 NAT映射信息, 以使得所述源 UE发送的数据报 文、 目的 UE返回的数据报文根据所述获取的 NAT映射信息进行 NAT地址 映射, 而无需在所述 NAT映射设备上进行 NAT地址映射。  The method according to any one of claims 1 to 4, further comprising: acquiring NAT mapping information from the NAT mapping device, so that the data message sent by the source UE and the data returned by the destination UE are The packet performs NAT address mapping according to the obtained NAT mapping information, and does not need to perform NAT address mapping on the NAT mapping device.
6、 一种本地路由的建立方法, 其特征在于, 包括: A method for establishing a local route, which is characterized by comprising:
接收本地路由请求; 建立源 UE向目的 UE发送的数据报文与目的 UE的下行承载的绑定关 系并建立目的 UE向源 UE发送的数据报文与源 UE的下行承载的绑定关系 , 以使得源 UE、 目的 UE间的数据报文根据绑定关系进行本地路由。 Receiving a local routing request; Establish a binding relationship between the data packet sent by the source UE and the destination UE to the downlink bearer of the source UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE, so that the source UE and the destination The data packets between the UEs are locally routed according to the binding relationship.
7、 根据权利要求 6所述的方法, 其特征在于, 还包括:  7. The method according to claim 6, further comprising:
以预设定的时间间隔向所述 NAT 映射设备发送心跳包, 以使得所述 NAT映射设备接收所述心跳包后继续维持已存在的 NAT映射。  Sending a heartbeat packet to the NAT mapping device at a preset time interval, so that the NAT mapping device continues to maintain the existing NAT mapping after receiving the heartbeat packet.
8、 根据权利要求 6或 7所述的方法, 其特征在于, 当进行本地路由 建立的网元为源 UE所在 PDN连接上的源 SGW和目的 UE所在 PDN连接上 的目的 SGW时, 所述建立源 UE向目的 UE发送的数据报文与目的 UE的下 行承载的绑定关系还包括:  The method according to claim 6 or 7, wherein, when the network element that performs the local route establishment is the source SGW on the PDN connection where the source UE is located and the destination SGW on the PDN where the destination UE is located, the establishment is performed. The binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE further includes:
源 SGW向源 UE所在 PDN连接上的源 MME转发所述本地路由请求, 以 使得源 MME向目的 SGW发送源 SGW到目的 SGW的转发隧道建立请求, 并 由目的 SGW在分配源 SGW到目的 SGW的转发隧道后将转发隧道标识返回 给源 MME ;  The source SGW forwards the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW, and the destination SGW allocates the source SGW to the destination SGW. After forwarding the tunnel, the forwarding tunnel identifier is returned to the source MME;
接收目的 SGW返回给源 MME、 并由源 MME转发的转发隧道标识; 建立所述转发隧道标识与源 UE向目的 UE发送的数据报文的绑定关 系, 以使得数据报文经所述转发隧道传递至目的 SGW。  Receiving, by the receiving destination SGW, the forwarding tunnel identifier that is forwarded by the source MME and forwarded by the source MME; establishing a binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE, so that the data packet passes through the forwarding tunnel Pass to the destination SGW.
9、根据权利要求 8所述的方法,其特征在于, 目的 SGW在分配源 SGW 到目的 SGW的转发隧道后建立转发隧道标识与目的 UE的下行承载的绑定 关系, 以使得经所述转发隧道传至目的 SGW的数据报文被发送到目的 UE。  The method according to claim 8, wherein the destination SGW establishes a binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE after the forwarding tunnel of the source SGW to the destination SGW is allocated, so that the forwarding tunnel is The data message transmitted to the destination SGW is sent to the destination UE.
1 0、 根据权利要求 8所述的方法, 其特征在于, 所述建立目的 UE向 源 UE发送的数据报文与源 UE的下行承载的绑定关系还包括:  The method according to claim 8, wherein the binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE is further included:
源 SGW接收目的 MME发出的目的 SGW到源 SGW的转发隧道建立请求; 分配目的 SGW到源 SGW的转发隧道并建立转发隧道标识与源 UE的下 行承载的绑定关系;  The source SGW receives the forwarding tunnel establishment request from the destination SGW to the source SGW by the destination MME; assigns the forwarding tunnel of the destination SGW to the source SGW, and establishes a binding relationship between the forwarding tunnel identifier and the downlink bearer of the source UE;
将目的 SGW到源 SGW的转发隧道标识发送给目的丽 E,以使得目的 MME 将目的 SGW到源 SGW的转发隧道标识转发目的 SGW后, 目的 SGW建立目 的 SGW到源 SGW的转发隧道标识与目的 UE向源 UE发送的数据报文的绑 定关系。  Sending the forwarding tunnel identifier of the destination SGW to the source SGW to the destination UE. After the destination MME forwards the forwarding tunnel identifier of the destination SGW to the source SGW to the destination SGW, the destination SGW establishes the forwarding tunnel identifier and destination UE of the destination SGW to the source SGW. Binding relationship of data packets sent to the source UE.
1 1、 根据权利要求 6或 7所述的方法, 其特征在于, 当进行本地路 由建立的网元为源 UE所在 PDN连接上的源 eNodeB和目的 UE所在 PDN连 接上的目的 eNodeB时, 所述建立源 UE向目的 UE发送的数据报文与目的 UE的下行承载的绑定关系还包括: 1 1. The method according to claim 6 or 7, wherein when the local road is performed The binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE is established when the source network element is the source eNodeB connected to the PDN of the source UE and the destination eNodeB connected to the destination UE. Also includes:
目的 eNodeB接收源 MME发送的源 eNodeB到目的 eNodeB的转发隧道 建立请求后, 分配源 eNodeB到目的 eNodeB的转发隧道并建立转发隧道 标识与目的 UE的下行承载的绑定关系,以使得经源 eNodeB到目的 eNodeB 的转发隧道传至目的 eNodeB的数据报文被发送到目的 UE;  After receiving the forwarding tunnel establishment request from the source eNodeB to the destination eNodeB, the destination eNodeB allocates a forwarding tunnel from the source eNodeB to the destination eNodeB, and establishes a binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE, so that the source eNodeB The data packet sent by the destination eNodeB to the destination eNodeB is sent to the destination UE.
将源 eNodeB到目的 eNodeB的转发隧道标识返回源 MME,以使得源 MME 将源 eNodeB 到目的 eNodeB 的转发隧道标识转发给源 eNodeB , 并由源 eNodeB建立源 eNodeB到目的 eNodeB的转发隧道标识与源 UE向目的 UE 发送的数据报文的绑定关系。  Returning the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source MME, so that the source MME forwards the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source eNodeB, and the source eNodeB establishes the forwarding tunnel identifier of the source eNodeB to the destination eNodeB and the source UE. Binding relationship of data packets sent to the destination UE.
1 2、 根据权利要求 1 1 所述的方法, 其特征在于, 所述建立目的 UE 向源 UE发送的数据报文与源 UE的下行承载的绑定关系还包括:  The method according to claim 1, wherein the binding relationship between the data packet sent by the destination UE to the source UE and the downlink bearer of the source UE is further included:
目的 eNodeB接 4欠由源 eNodeB分酉己、 由目的 MME转发的目的 eNodeB 到源 eNodeB的转发隧道标识;  The eNodeB receives the forwarding tunnel identifier of the destination eNodeB that is forwarded by the source eNodeB and forwarded by the destination MME to the source eNodeB.
建立目的 eNodeB到源 eNodeB的转发隧道标识与目的 UE向源 UE发 送的数据报文的绑定关系。  The binding relationship between the forwarding tunnel identifier of the destination eNodeB and the source eNodeB and the data packet sent by the destination UE to the source UE is established.
1 3、 根据权利要求 1 2所述的方法, 其特征在于, 源 eNodeB 分配目 的 eNodeB到源 eNodeB的转发隧道后, 建立目的 eNodeB到源 eNodeB的 转发隧道标识与源 UE的下行承载的绑定关系。  The method according to claim 12, wherein, after the source eNodeB allocates the forwarding tunnel of the destination eNodeB to the source eNodeB, the binding relationship between the forwarding tunnel identifier of the destination eNodeB and the source eNodeB and the downlink bearer of the source UE is established. .
1 4、 一种本地路由的检测装置, 其特征在于, 包括:  1 4, a local routing detection device, comprising:
上下文信息查找单元, 用于在生成 I P地址与上下文关联的上下文查 询表中查找源 UE的 I P地址对应的上下文信息和目的 UE的 I P地址对应 的上下文信息;  a context information searching unit, configured to search, in a context query table that generates an IP address and a context, context information corresponding to an IP address of the source UE and context information corresponding to an IP address of the destination UE;
本地路由能力检测单元, 用于在查找到的所述源 UE及目的 UE的上 下文信息中, 检测所述源 UE及目的 UE承载链路上的网元是否具有本地 路由建立能力;  The local routing capability detecting unit is configured to detect, in the context information of the source UE and the destination UE, whether the network element on the source UE and the destination UE bearer link has a local route establishment capability;
路由请求发送单元, 用于当具有本地路由建立能力时, 向源 UE及目 的 UE承载链路上的网元发送本地路由请求, 以使得源 UE及目的 UE承载 链路上的网元进行本地路由配置, 并对源 UE和目的 UE 间的数据报文进 行本地路由。 a routing request sending unit, configured to send a local routing request to the source UE and the network element on the destination UE bearer link when the local routing establishment capability is enabled, so that the source UE and the destination UE carry the local element of the network element on the link Configure, and enter data packets between the source UE and the destination UE. Line local route.
1 5、 根据权利要求 1 4所述的装置, 其特征在于, 还包括:  The device according to claim 14, further comprising:
路由策略检测单元, 用于当所述源 UE及目的 UE承载链路上的网元 具有本地路由建立能力时, 检测源 UE与目的 UE是否符合本地路由策略, 以使得在符合所述本地路由策略时, 向源 UE及目的 UE承载链路上的网 元发送本地路由请求。  The routing policy detecting unit is configured to: when the source UE and the target UE bearer link have the local routing establishment capability, check whether the source UE and the destination UE meet the local routing policy, so that the local routing policy is met. The local routing request is sent to the source UE and the network element on the destination UE bearer link.
1 6、 一种本地路由的建立装置, 其特征在于, 包括:  A device for establishing a local route, comprising:
路由请求接收单元, 用于接收本地路由请求;  a routing request receiving unit, configured to receive a local routing request;
本地路由建立单元, 用于建立源 UE向目的 UE发送的数据报文与目 的 UE的下行承载的绑定关系并建立目的 UE向源 UE发送的数据报文与源 UE 的下行承载的绑定关系, 以使得源 UE、 目的 UE 间的数据报文根据绑 定关系进行本地路由。  The local route establishing unit is configured to establish a binding relationship between the data packet sent by the source UE to the destination UE and the downlink bearer of the destination UE, and establish a binding relationship between the data packet sent by the destination UE and the source UE to the downlink bearer of the source UE. The data packet between the source UE and the destination UE is locally routed according to the binding relationship.
1 7、 根据权利要求 1 6所述的装置, 其特征在于, 当进行本地路由建 立的网元为源 UE所在 PDN连接上的源 SGW和目的 UE所在 PDN连接上的 目的 SGW时, 所述本地路由建立单元还包括: The device according to claim 16, wherein, when the network element that performs the local route establishment is the source SGW on the PDN connection where the source UE is located and the destination SGW on the PDN where the destination UE is located, the local The route establishment unit further includes:
隧道请求发送模块, 用于向源 UE所在 PDN连接上的源 MME转发所述 本地路由请求, 以使得源 MME向目的 SGW发送源 SGW到目的 SGW的转发 隧道建立请求, 并由目的 SGW在分配源 SGW到目的 SGW的转发隧道后将 转发隧道标识返回给源 MME;  The tunnel request sending module is configured to forward the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW, and the destination SGW is in the allocation source. After the SGW forwards the tunnel to the destination SGW, the forwarding tunnel identifier is returned to the source MME;
第一隧道接收模块, 用于接收目的 SGW返回给源 MME、 并由源 MME转 发的转发隧道标识;  a first tunnel receiving module, configured to receive a forwarding tunnel identifier that is forwarded by the source SGW to the source MME and forwarded by the source MME;
第一绑定建立模块, 用于建立所述转发隧道标识与源 UE 向目的 UE 发送的数据报文的绑定关系, 以使得数据报文经所述转发隧道传递至目 的 SGW。  The first binding establishment module is configured to establish a binding relationship between the forwarding tunnel identifier and the data packet sent by the source UE to the destination UE, so that the data packet is delivered to the destination SGW through the forwarding tunnel.
1 8、 根据权利要求 1 7所述的装置, 其特征在于, , 目的 SGW在分配 源 SGW到目的 SGW的转发隧道后建立转发隧道标识与目的 UE的下行承载 的绑定关系, 以使得经所述转发隧道传至目的 SGW 的数据报文被发送到 目的 UE。  The apparatus according to claim 17, wherein the destination SGW establishes a binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE after the source SGW is allocated to the forwarding tunnel of the destination SGW, so that the destination SGW establishes a binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE. The data packet that is forwarded to the destination SGW by the forwarding tunnel is sent to the destination UE.
1 9、 根据权利要求 1 7所述的装置, 其特征在于, 所述本地路由建立 单元还包括: The device according to claim 17, wherein the local route is established. The unit also includes:
隧道请求接收模块, 用于接收目的 MME发出的目的 SGW到源 SGW的 转发隧道建立请求;  a tunnel request receiving module, configured to receive a forwarding tunnel establishment request from a destination SGW to a source SGW sent by the destination MME;
第二绑定建立模块, 用于分配目的 SGW到源 SGW的转发隧道并建立 转发隧道标识与源 UE的下行承载的绑定关系;  a second binding establishment module, configured to allocate a forwarding tunnel of the destination SGW to the source SGW, and establish a binding relationship between the forwarding tunnel identifier and the downlink bearer of the source UE;
第一隧道发送模块, 用于将目的 SGW到源 SGW的转发隧道标识发送 给目的 MME,以使得目的 MME将目的 SGW到源 SGW的转发隧道标识转发目 的 SGW后, 目的 SGW建立目的 SGW到源 SGW的转发隧道标识与目的 UE向 源 UE发送的数据报文的绑定关系。  The first tunnel sending module is configured to send the forwarding tunnel identifier of the destination SGW to the source SGW to the destination MME, so that the destination MME forwards the forwarding tunnel identifier of the destination SGW to the source SGW to the destination SGW, and the destination SGW establishes the destination SGW to the source SGW. The binding relationship between the forwarding tunnel identifier and the data packet sent by the destination UE to the source UE.
2 0、 根据权利要求 1 6所述的装置, 其特征在于, 当进行本地路由建 立的网元为源 UE所在 PDN连接上的源 eNodeB和目的 UE所在 PDN连接上 的目的 eNodeB时, 所述本地路由建立单元还包括:  The apparatus according to claim 16, wherein, when the network element that performs the local route establishment is the source eNodeB on the PDN connection where the source UE is located and the destination eNodeB connected to the PDN where the destination UE is located, the local The route establishment unit further includes:
第三绑定建立模块,用于接收源 MME发送的源 eNodeB到目的 eNodeB 的转发隧道建立请求后, 分配源 eNodeB到目的 eNodeB的转发隧道并建 立转发隧道标识与目的 UE 的下行承载的绑定关系, 以使得经源 eNodeB 到目的 eNodeB的转发隧道传至目的 eNodeB的数据 ^艮文被发送到目的 UE ; 第二隧道发送模块, 用于将源 eNodeB到目的 eNodeB的转发隧道标 识返回源 MME,以使得源 MME将源 eNodeB到目的 eNodeB的转发隧道标识 转发给源 eNodeB ,并由源 eNodeB建立源 eNodeB到目的 eNodeB的转发隧 道标识与源 UE向目的 UE发送的数据报文的绑定关系。  The third binding establishment module is configured to: after receiving the forwarding tunnel establishment request from the source eNodeB to the destination eNodeB, the source eNodeB allocates a forwarding tunnel to the destination eNodeB, and establishes a binding relationship between the forwarding tunnel identifier and the downlink bearer of the destination UE. And transmitting, by the source eNodeB, the forwarding tunnel of the source eNodeB to the destination eNodeB to the destination UE, and the second tunnel sending module, configured to return the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source MME, to The source MME forwards the forwarding tunnel identifier of the source eNodeB to the destination eNodeB to the source eNodeB, and the source eNodeB establishes a binding relationship between the forwarding tunnel identifier of the source eNodeB and the destination eNodeB and the data packet sent by the source UE to the destination UE.
2 1、 根据权利要求 2 0所述的装置, 其特征在于, 所述本地路由建立 单元还包括: The device according to claim 20, wherein the local route establishing unit further comprises:
第二隧道接收模块, 用于接收由源 eNodeB分配、 由目的 MME转发的 目的 eNodeB到源 eNodeB的转发隧道标识;  a second tunnel receiving module, configured to receive a forwarding tunnel identifier of the destination eNodeB that is allocated by the source eNodeB and forwarded by the destination MME to the source eNodeB;
第四绑定建立模块, 用于建立目的 eNodeB到源 eNodeB的转发隧道 标识与目的 UE向源 UE发送的数据报文的绑定关系。  The fourth binding establishment module is configured to establish a binding relationship between the forwarding tunnel identifier of the destination eNodeB and the source eNodeB and the data packet sent by the destination UE to the source UE.
2 2、 根据权利要求 2 1所述的装置, 其特征在于, 源 eNodeB 分配目 的 eNodeB到源 eNodeB的转发隧道后, 建立目的 eNodeB到源 eNodeB的 转发隧道标识与源 UE的下行承载的绑定关系。 The device according to claim 2, wherein after the source eNodeB allocates the forwarding tunnel of the destination eNodeB to the source eNodeB, the destination eNodeB is established to the source eNodeB. The binding relationship between the forwarding tunnel identifier and the downlink bearer of the source UE.
23、 一种实现本地路由建立的系统, 其特征在于, 所述系统包括如 权利要求 14至 15所述的检测装置以及如权利要求 16至 22所述的建立 装置。  A system for implementing local route establishment, characterized in that the system comprises the detecting device according to claims 14 to 15 and the establishing device according to claims 16 to 22.
24、 根据权利要求 23 所述的系统, 其特征在于, 当源 UE所在 PDN 连接上的源 SGW和目的 UE所在 PDN连接上的目的 SGW包含所述建立装置, PGW包含所述检测装置时,  The system according to claim 23, wherein when the source SGW on the PDN connection where the source UE is located and the destination SGW on the PDN connection where the destination UE is located include the establishing device, when the PGW includes the detecting device,
PGW用于向源 SGW和目的 SGW分别发送本地路由请求, 以使得源 SGW 和目的 SGW进行本地路由配置, 并对源 UE和目的 UE间的数据 ^艮文进行 本地路由;  The PGW is configured to send a local routing request to the source SGW and the destination SGW, so that the source SGW and the destination SGW perform local routing configuration, and locally route the data between the source UE and the destination UE.
源 SGW用于在接收 PGW的本地路由请求后, 向源 UE所在 PDN连接上 的源 MME转发所述本地路由请求, 以使得源 MME向目的 SGW发送源 SGW 到目的 SGW的转发隧道建立请求;  The source SGW is configured to: after receiving the local routing request of the PGW, forward the local routing request to the source MME on the PDN connection where the source UE is located, so that the source MME sends a forwarding tunnel establishment request from the source SGW to the destination SGW to the destination SGW;
目的 SGW用于将分配的源 SGW到目的 SGW的转发隧道标识返回源 MME , 并由源 MME转发给源 SGW;  The destination SGW is configured to return the forwarding tunnel identifier of the source SGW to the source SGW, and the source MME forwards the source tunnel to the source SGW.
目的 SGW还用于在接收 PGW的本地路由请求后,向目的 UE所在的 PDN 连接上的目的 MME转发接收到的本地路由请求, 以使得目的 MME向源 SGW 发送目的 SGW到源 SGW的转发隧道建立请求;  The destination SGW is further configured to: after receiving the local routing request of the PGW, forward the received local routing request to the destination MME on the PDN connection where the destination UE is located, so that the destination MME sends the forwarding tunnel of the destination SGW to the source SGW to the source SGW. Request
源 SGW还用于将分配的目的 SGW到源 SGW的转发隧道标识返回目的 MME , 并由目的 MME转发给目的 SGW。  The source SGW is further configured to return the forwarding tunnel identifier of the allocated destination SGW to the source SGW to the destination MME, and forwarded by the destination MME to the destination SGW.
25、 根据权利要求 23或 24 所述的系统, 其特征在于, 所述检测装 置集成在 SGW或 PGW中, 所述建立装置集成在 SGW或 eNodeB中。  The system according to claim 23 or 24, wherein the detecting device is integrated in an SGW or a PGW, and the establishing device is integrated in an SGW or an eNodeB.
PCT/CN2011/077273 2011-07-18 2011-07-18 Method, device and system for detecting and establishing local route WO2012167480A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001365.0A CN103004151B (en) 2011-07-18 2011-07-18 The detection method of local routing and device
PCT/CN2011/077273 WO2012167480A1 (en) 2011-07-18 2011-07-18 Method, device and system for detecting and establishing local route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077273 WO2012167480A1 (en) 2011-07-18 2011-07-18 Method, device and system for detecting and establishing local route

Publications (1)

Publication Number Publication Date
WO2012167480A1 true WO2012167480A1 (en) 2012-12-13

Family

ID=47295370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077273 WO2012167480A1 (en) 2011-07-18 2011-07-18 Method, device and system for detecting and establishing local route

Country Status (2)

Country Link
CN (1) CN103004151B (en)
WO (1) WO2012167480A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428945A (en) * 2017-08-29 2019-03-05 华为技术有限公司 Data transmission method, equipment and system
CN113194517A (en) * 2016-10-11 2021-07-30 中国移动通信有限公司研究院 Local routing processing method, device and storage medium
TWI793904B (en) * 2021-12-08 2023-02-21 中華電信股份有限公司 Mobile-edge computing device and method of performing traffic forwarding for local service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127698A (en) * 2006-09-07 2008-02-20 中兴通讯股份有限公司 System and method for realizing service-based routing selection in packet domain
CN101365228A (en) * 2007-08-07 2009-02-11 华为技术有限公司 Method for mobile terminal access network and anchor point management apparatus
CN101998670A (en) * 2009-08-25 2011-03-30 华为技术有限公司 Paging processing method and device under scene of home base station access
CN101998365A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Method and device for source management of communication system supporting local IP access

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2117201A1 (en) * 2008-05-07 2009-11-11 Alcatel Lucent Network device and method for local routing of data traffic
CN101686520A (en) * 2008-09-24 2010-03-31 三星电子株式会社 Method supporting home base station context management
CN101883352B (en) * 2009-05-08 2013-10-09 三星电子株式会社 Method for supporting PDNGW selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127698A (en) * 2006-09-07 2008-02-20 中兴通讯股份有限公司 System and method for realizing service-based routing selection in packet domain
CN101365228A (en) * 2007-08-07 2009-02-11 华为技术有限公司 Method for mobile terminal access network and anchor point management apparatus
CN101998365A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Method and device for source management of communication system supporting local IP access
CN101998670A (en) * 2009-08-25 2011-03-30 华为技术有限公司 Paging processing method and device under scene of home base station access

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194517A (en) * 2016-10-11 2021-07-30 中国移动通信有限公司研究院 Local routing processing method, device and storage medium
CN109428945A (en) * 2017-08-29 2019-03-05 华为技术有限公司 Data transmission method, equipment and system
US11612013B2 (en) 2017-08-29 2023-03-21 Huawei Technologies Co., Ltd. Data transmission method, device, and system
TWI793904B (en) * 2021-12-08 2023-02-21 中華電信股份有限公司 Mobile-edge computing device and method of performing traffic forwarding for local service

Also Published As

Publication number Publication date
CN103004151B (en) 2016-03-09
CN103004151A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
US20220150166A1 (en) Methods and apparatuses for supporting a local area network (lan)
EP2945320B1 (en) Method, device and routing system for data transmission of network virtualization
KR100943078B1 (en) A bearer control and management method in the IP-based evolved UMTS Network
US20160337454A1 (en) Sgc and pgc and sgu and pgu allocation procedure
US9788353B2 (en) Mobile network communications method, communications apparatus, and communications system
JP6501967B2 (en) Data transmission method, related apparatus, and system
WO2016004556A1 (en) Service flow processing method, apparatus and device
WO2016150140A1 (en) Processing method and system for control packet in sdn-based gateway
US20200153735A1 (en) Data link layer-based communication method, device, and system
WO2014086280A1 (en) Method, device and system for processing wireless network user access
WO2011137842A1 (en) Cgn (carrier grade nat) entity based data transmission method, cgn entity, gateway and system
US9398513B2 (en) Communication system and computer-readable recording medium
WO2014000591A1 (en) Method, device, and system for routing function activation and data transmission
WO2011134327A1 (en) Method and system for determining policy and charging rules function
US9668176B2 (en) Method for selecting shunt gateway and controller
WO2011079782A1 (en) Policy and charging control method, gateway and mobile terminal thereof
US20140071907A1 (en) Method and Apparatus for Handling PDN Connections
WO2014089756A1 (en) Communication method and device for ue and communication system
US20160262197A1 (en) Routing method between base stations, serving gateway, and base station
US20220248321A1 (en) Methods and Apparatus for Transport Context Translation
CN114125995B (en) Data transmission method and device
WO2012167480A1 (en) Method, device and system for detecting and establishing local route
WO2010069188A1 (en) Service processing method, device and system
WO2012028071A1 (en) Method and system for searching local gateway
WO2017071399A1 (en) Service data transmission method, apparatus, control device and communication system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001365.0

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11867365

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

Country of ref document: EP

Kind code of ref document: A1