WO2011147069A1 - Method and apparatus for implementing traffic offloading - Google Patents

Method and apparatus for implementing traffic offloading Download PDF

Info

Publication number
WO2011147069A1
WO2011147069A1 PCT/CN2010/073113 CN2010073113W WO2011147069A1 WO 2011147069 A1 WO2011147069 A1 WO 2011147069A1 CN 2010073113 W CN2010073113 W CN 2010073113W WO 2011147069 A1 WO2011147069 A1 WO 2011147069A1
Authority
WO
WIPO (PCT)
Prior art keywords
bypass
indication
information
data stream
uplink data
Prior art date
Application number
PCT/CN2010/073113
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 PCT/CN2010/073113 priority Critical patent/WO2011147069A1/en
Priority to CN201080001656.5A priority patent/CN102369715B/en
Publication of WO2011147069A1 publication Critical patent/WO2011147069A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for implementing data flow bypass. Background technique
  • the data stream is bypassed near the base station side and is not transmitted to the core network.
  • the existing implementation method is as follows: a TOF (Traffic Offload Function) is set between the RNC (Radio Network Controller) and the SGSN (Serving GPRS Support Node).
  • a bypass policy is configured on the T0F.
  • the T0F determines the data according to the APN (Access Point Name) selected by the user by detecting the message between the UE (User Equipment) and the SGSN and between the RNC and the SGSN. Whether the flow needs to be bypassed.
  • APN Access Point Name
  • the T0F can only determine whether the data flow needs to be bypassed according to the APN selected by the user, and cannot implement different services according to the user under the same APN. To determine if the data stream needs to be bypassed. Summary of the invention
  • Embodiments of the present invention provide a method and apparatus for implementing data flow bypass, which can determine whether a data flow needs to be bypassed according to different services performed by a user under the same APN.
  • a method for implementing data flow bypass includes:
  • the bypass function entity obtains the bypass flow description information and the bypass indication carried in the signaling message; the bypass function entity determines, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed;
  • bypass function entity When the upstream data stream needs to be bypassed, the bypass function entity performs a network address translation The upstream data stream is bypassed.
  • a bypass function entity including:
  • An obtaining module configured to obtain a bypass flow description information and a bypass indication carried in the signaling message
  • a determining module configured to determine, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be adjacent Road
  • the bypass module is configured to bypass the uplink data stream that is subjected to network address translation when the uplink data stream needs to be bypassed.
  • the bypass function entity determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass flow description information and the bypass indication obtained by the signaling message.
  • the uplink data stream that has undergone network address translation is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • Embodiment 1 is a flowchart of a method according to Embodiment 1 of the present invention.
  • Embodiment 3 is a flowchart of a method according to Embodiment 3 of the present invention.
  • Embodiment 4 is a flowchart of a method according to Embodiment 4 of the present invention.
  • FIG. 5 is a flowchart of a method according to Embodiment 5 of the present invention.
  • FIG. 6 is a flowchart of a method according to Embodiment 6 of the present invention.
  • Embodiment 7 is a flowchart of a method according to Embodiment 7 of the present invention.
  • FIG. 9, FIG. 10, FIG. 11, and FIG. 12 are schematic diagrams of a bypass function entity node according to Embodiment 8 of the present invention. Schematic diagram. detailed description
  • the embodiment provides a method for implementing data flow bypass. As shown in FIG. 1 , the method includes: 101.
  • the bypass function entity acquires the bypass flow description information and the bypass indication carried in the signaling message.
  • bypass function entity acquires the bypass flow description information from the signaling message;
  • bypass function entity detects
  • the signaling information between the RNC and the SGSN acquires the bypass flow description information.
  • the method may further include:
  • the non-bypass gateway acquires a bypass policy
  • the non-bypass gateway passes the bypass indication and the bypass flow description information through the signaling message, and the bypass indication and the bypass flow description information are obtained according to the bypass policy.
  • the non-bypassing gateway may be a GGSN (Gateway GPRS Suppor t Node, Gateway GPRS Support Node), but is not limited thereto.
  • GGSN Gateway GPRS Suppor t Node, Gateway GPRS Support Node
  • non-bypass gateway acquiring the bypass policy may include:
  • non-bypassing gateway may further include:
  • bypass indication and the bypass flow description information are passed through the newly added cells in the signaling message.
  • the method may further include:
  • the bypass function entity removes the bypass indication in the signaling message
  • the bypass function entity sends the signaling message that removes the bypass indication to the terminal.
  • the bypass function entity acquires the bypass flow description information and the bypass indication carried in the signaling message, including: The entity obtains the bypass indication and the bypass flow description information carried in the signaling message; the bypass function entity removes the bypass indication in the signaling message; and the bypass function entity removes the bypass indication Sending a message to the terminal includes:
  • the bypass function entity removes the bypass indication and the bypass flow description information in the signaling message; the bypass function entity transmits the signaling message that removes the bypass indication and the bypass flow description information to the terminal.
  • the bypass function entity determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass indication and the bypass flow description information.
  • bypass function entity bypasses the uplink data stream that is subjected to network address translation.
  • the method may further include:
  • the bypass function entity sends the downlink data stream recovered by the network address translation NAT to the terminal.
  • the method for implementing data flow bypassing in the embodiment of the present invention determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass flow description information and the bypass indication obtained by the signaling message, when the uplink When the data stream needs to be bypassed, the upstream data stream that has undergone network address translation is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data flow that needs to be bypassed, thereby further saving transmission resources.
  • This embodiment provides a method for implementing data flow bypass.
  • the PCRF instructs the GGSN to activate the predefined one while issuing the PCC (Policy and Charging Control) rule.
  • SIPTO Select IP Traffic Offload
  • the GGSN carries the SIPTO indication and the bypass flow information in the PCO (Protocol Configuration Options) cell of the first context response message.
  • the SIPTO indication is a bypass indication. .
  • the method for implementing data flow bypass includes:
  • the UE sends a first context setup request to the SGSN.
  • the SGSN sends a create context request to the GGSN.
  • the GGSN requests a PCC rule from the PCRF.
  • the PCRF sends a PCC rule to the GGSN, and instructs the GGSN to activate the SIPTO policy defined by the PCRF and predefined on the GGSN.
  • the GGSN is pre-defined with one or more SIPT0 policies.
  • a predefined SIPT0 policy that requires GGSN activation is specified.
  • the GGSN activates the predefined SIPT0 policy according to the indication of the PCRF.
  • the GGSN sends a create context response message to the SGSN, where the PC0 cell that creates the context response message carries the flow information and SIPT0 indication of the activated predefined SIPT0 policy.
  • the SGSN sends a first context response message to the UE. Wherein the first context response In the message, the PC0 cell in the create context response message is transparently transmitted.
  • the TOF detects the first context response message, and parses the PC0 cell of the first context response message, and records the SIPT0 indication and the flow information.
  • the T0F may remove the S I PT0 indication and the flow information in the PC0 cell of the first context response message.
  • the T0F sends the first context response message that has removed the SIPT0 indication and the flow information in the PC0 cell to the UE.
  • the UE sends an uplink data stream to the T0F, where the source address of the uplink data stream is srcl and the destination address is ds t l.
  • the TOF compares the flow information of the uplink data stream with the flow information of the TOF record that needs to perform the data flow of the SIPT0, and determines whether the uplink data flow needs to be bypassed according to the SIPT0 indication recorded by the TOF. If the flow information of the upstream data stream is matched with the flow information of the data stream that needs to be processed by the T0F, the uplink data flow needs to be bypassed according to the SIPT0 indication, and step 212 is performed;
  • the determining that the uplink data stream needs to be bypassed according to the SIPT0 indication may include: the SIPT0 indication is a variable, when the variable is 1, indicating that the uplink data stream needs to be bypassed; when the variable is 0 When it is indicated, the upstream data stream does not need to be bypassed.
  • SIPT0 indication When the SIPT0 indication is carried, it indicates that the uplink data stream needs to be bypassed; when the SIPT0 indication is not carried, it indicates that the uplink data stream does not need to be bypassed.
  • the uplink data stream is determined not to be bypassed, and the TOF is not processed, and the uplink data stream is according to the source address. Transfer with the destination address.
  • the T0F sends the uplink data stream by using a network (NAT), and the source address of the uplink data stream after the NAT is src2, and the destination address is ds tl. 213.
  • the TOF receives the downlink data stream, where the source address of the downlink data stream is dstl, and the destination address is src2.
  • the TOF performs NAT recovery on the downlink data stream, and the source address of the downlink data stream after the NAT recovery is dstl, and the destination address is srcl.
  • the TOF sends the downlink data stream after the NAT recovery to the UE.
  • the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN, and the GGSN carries the SIPT0 policy in the first context response message.
  • the SIPT0 indication of the transmission level; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the SIPT0 indication and the flow information obtained by the PC0 cell of the first context response message, when the uplink data stream needs to be bypassed, Bypassing the upstream data stream that has undergone network address translation.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, so that the transmission resource can be further saved.
  • This embodiment provides a method for implementing data flow bypass.
  • the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN.
  • the GGSN triggers a secondary context activation request, carrying a SIPT0 indication in the PC0 cell of the secondary context activation request message.
  • the method for implementing data flow bypass includes:
  • the GGSN sends a create context response message to the SGSN.
  • the SGSN forwards the create context response message to the UE.
  • the GGSN activates the predefined SIPT0 policy according to the indication of the PCRF.
  • the GGSN performs bearer binding according to the QSI (Quality of Service Class Identifier) of the SIPT0 policy, the ARP (Address Resolution Protocol), and the SIPT0 indication. If the binding is not suitable, the GGSN SGSN sends two The secondary context activation request message, the PC0 cell of the secondary context activation request message carries a SIPT0 indication and a Correlation-ID, and the Correlation-ID is used by the GGSN to associate a subsequent secondary context activation procedure.
  • QSI Quality of Service Class Identifier
  • ARP Address Resolution Protocol
  • the SGSN sends a secondary context activation request message to the UE, where the secondary context activation request message carries a TI (Transaction Identifier) allocated by the SGSN for the secondary context activation request, and a secondary context activation sent by the GGSN.
  • the PC0 cell of the request message The SGSN records the correspondence between the TI and the Correlation-ID in the secondary context activation request message sent by the GGSN.
  • the TOF detects the secondary context activation request message, and parses the PC0 cell of the secondary context activation request message, and records the TI and SIPT0 indications.
  • the T0F may remove the SIPT0 indication in the PC0 cell of the secondary context activation request message.
  • the T0F sends the secondary context activation request message that has been removed from the SIPT0 in the PC0 cell to the UE, where the secondary context activation request message carries T1.
  • the UE sends a secondary context activation request message to the SGSN, where the secondary context activation request message carries a TI and an NSAPI (Network Service Access Point Identifier), where the TI and the NSAPI have Correspondence relationship.
  • a secondary context activation request message carries a TI and an NSAPI (Network Service Access Point Identifier), where the TI and the NSAPI have Correspondence relationship.
  • NSAPI Network Service Access Point Identifier
  • the TOF detects the secondary context activation request message, and associates the TI in the secondary context activation request message with the TI recorded in step 310. If the association is performed, the NSAPI is recorded; if the association is not, the subsequent During the process, the data stream is not bypassed.
  • the SGSN sends a create context request message to the GGSN, where the create context request message carries the NSAPI and the Correlation-ID.
  • the Correlation-ID is obtained by associating the TI in the secondary context activation request message sent by the SGSN with the correspondence between TI and C 0 r r e 1 a t i 0 n - 1 D recorded in step 309.
  • the GGSN replies to the SGSN to create a context response message.
  • the SGSN sends an RAB (Radio Access Bearer) allocation to the RNC. Request message.
  • RAB allocation request message carries the RAB ID and the SGSN tunnel information.
  • the OT probes the RAB allocation request message, and uses the NS AP I recorded in step 313 to associate the RAB ID carried in the RAB allocation request message. If the association is performed, the SGSN tunnel information and the RAB ID in the RAB allocation request message are recorded. ; If the association is not available, the data flow is not bypassed in the subsequent process.
  • the NSAPI and the RAB ID are the same, it indicates that the NSAPI is associated with the RAB ID.
  • the T0F forwards the RAB allocation request message to the RNC.
  • the RNC establishes an RRC (Radio Resource Control) with the UE.
  • RRC Radio Resource Control
  • the RNC allocates tunnel information for the downlink data flow, and sends an RAB allocation response message to the SGSN.
  • the OT probes the RAB allocation response message, and associates the RAB ID carried in the RAB allocation response message with the NSAPI recorded in step 313. If the association is performed, the RNC tunnel information in the RAB allocation response message is recorded; , in the subsequent process, the data stream is not bypassed.
  • the T0F records the correspondence between the TI, NSAPI, RAB ID, SIPTO indication, RNC tunnel information, and SGSN tunnel information that need to be SIPT0.
  • the OTF forwards the RAB allocation response message to the SGSN.
  • the SGSN sends a secondary context request accept message to the UE.
  • the SGSN sends a secondary context activation request acknowledgement message to the GGSN.
  • the UE sends an uplink data stream to the T0F, where the source address of the uplink data stream is s rcl and the destination address is ds t l.
  • the TOF compares the tunnel information of the uplink data stream with the tunnel information (SGSN tunnel information and RNC tunnel information) of the TOF record that needs to perform SIPTO data flow, and determines the tunnel according to the SIPT0 indication recorded by the TOF. Whether the transmitted data stream needs to be bypassed. If the tunnel information of the uplink data stream matches the tunnel information of the data stream that needs to be SI PT0 recorded by the TOF, the data stream transmitted on the tunnel needs to be bypassed according to the SIPT0 indication, and step 327 is performed; Determining, according to the S IPT0 indication, that the data stream transmitted on the tunnel needs to be bypassed may include:
  • the SIPTO is indicated as a variable. When the variable is 1, it indicates that the data stream transmitted on the tunnel needs to be bypassed. When the variable is 0, it indicates that the data stream transmitted on the tunnel does not need to be bypassed.
  • SIPT0 indication When the SIPT0 indication is carried, it indicates that the data stream transmitted on the tunnel needs to be bypassed; when the S IPT0 indication is not carried, it indicates that the data stream transmitted on the tunnel does not need to be bypassed.
  • the tunnel information of the uplink data stream does not match the tunnel information of the data stream that needs to be transmitted by the IPT0, it is determined that the data stream transmitted on the tunnel does not need to be bypassed, and the T0F does not process the uplink data.
  • the stream is transmitted according to the source address and destination address.
  • the data stream is bypassed.
  • the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN, and the GGSN triggers the secondary context activation request in the secondary context activation.
  • the PC0 cell of the request message carries the SIPT0 indication; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information, and when the uplink data stream needs to be bypassed, the network address translation is performed.
  • the upstream data stream is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • the embodiment provides a method for implementing data flow bypass.
  • the UE initiates a secondary context activation request.
  • the PCRF sends a dynamic SIPT0 policy, or
  • the GGSN matches the statically configured SIPT0 policy on the GGSN.
  • the GGSN carries the SIPT0 indication in the PC0 cell of the secondary activation response message.
  • the method for implementing data flow bypass includes:
  • the UE sends a secondary context activation request message to the SGSN, where the secondary context activation request message carries the TI and the NSAPI.
  • the TOF detects the secondary context activation request message, and records the TI and the NSAPI. 403.
  • the SGSN sends a secondary context setup request message to the GGSN.
  • GGSN request PCC rules to the PCRF, wherein the request carries the user information, for example: APN, IMSI (Interna t iona l Mob i le Subscr iber Ident i ty, international mobile subscriber identification code further 1 J) and the like, and the service information e.g. : TFT (traff ic Flow Templa te, business flow template), etc.
  • APN APN
  • IMSI Interna t iona l Mob i le Subscr iber Ident i ty, international mobile subscriber identification code further 1 J
  • service information e.g. : TFT (traff ic Flow Templa te, business flow template), etc.
  • the PCRF determines, according to the user information and the service information, the SIPT0 policy of the service according to the self-configuration and the operator policy and the SPR (Subscribing Database) subscription information.
  • the PCRF sends a PCC rule to the GGSN, and sends a SIPT0 policy.
  • the GGSN may also be matched to the SIPT0 policy configured on the GGSN, and the steps 404-406 may be replaced by the following steps:
  • the GGSN matches the configured SIPT0 policy according to the user information in the secondary context request message, for example: APN, IMSI, etc., and service information such as: TFT.
  • the GGSN sends a secondary context response message to the SGSN, where the PC0 cell of the secondary context response message carries a SIPT0 indication.
  • the SGSN sends an RAB allocation request message to the RNC.
  • the RAB allocation request message carries the RAB ID and the SGSN tunnel information.
  • the OT probes the RAB allocation request message, and uses the NSAPI associated with the RAB ID recorded in step 402. If the association is performed, the RAB ID and the SGSN tunnel information in the RAB allocation request message are recorded; if the association is not, the subsequent During the process, the data stream is not bypassed.
  • the T0F forwards the RAB allocation request message to the RNC.
  • the RNC establishes an RRC with the UE.
  • the RNC allocates tunnel information for the downlink data flow, and sends an RAB allocation response message to the SGSN.
  • the OT probes the RAB allocation response message, and associates the RAB ID carried in the RAB allocation response message with the RAB ID recorded in step 409. If the association is performed, the RNC tunnel information in the RAB allocation response message is recorded; If not, the data stream is not bypassed in the subsequent process.
  • the SGSN returns a secondary context request acceptance response message to the UE, where the secondary context request is
  • the PC PT0 indication is carried in the PC0 cell that accepts the response message.
  • the TOF detects the secondary context request accept response message, and the TI recorded in step 402 associates the TI in the second context request with the T0F, and if the association, records the secondary context request accept response message.
  • the T0F records the correspondence between the TI, NSAPI, RAB ID, SIPTO indication, RNC tunnel information, and SGSN tunnel information that need to be SIPT0.
  • the T0F may remove the S I PT0 indication in the PC0 cell of the secondary context request acceptance response message.
  • the T0F sends the secondary context request accept response message indicated by the S IPT0 in the PC0 cell to the UE.
  • the method for implementing data flow bypassing the UE initiates a secondary context activation request, and the PCRF sends a dynamic SIPT0 policy at the same time as the PCC rule is sent, or the GGSN matches the SIPT0 policy configured on the GGSN, and the GGSN is in the second
  • the PC0 cell of the secondary activation response message carries the SIPT0 indication; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information, and when the uplink data stream needs to be bypassed, the network address is passed.
  • the converted upstream data stream is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • This embodiment provides a method for implementing data flow bypass.
  • the PCRF instructs the GGSN to activate the S IPT0 policy predefined on the GGSN.
  • the GGSN triggers a secondary context activation, and carries a S IPT0 indication in the secondary context activation request message.
  • the method for implementing data flow bypass includes: 501-507, which are the same as steps 301-307, and are not described herein again.
  • the GGSN performs the bearer binding according to the QCI, the ARP, and the SIPT0 of the SIPT0 policy. If the binding is not suitable, the GGSN sends a secondary context activation request message to the SGSN, where the secondary context activation request message carries the SIPT0 indication. And Corre la t ion-ID, the Co rre 1 ati on- 1 D is used for the subsequent secondary context activation process of the GGSN association.
  • the SGSN sends a secondary context activation request message to the T0F, where the secondary context activation request message carries the TI allocated by the SGSN for the secondary context activation request, and the SIPT0 indication in the secondary context activation request message sent by the GGSN.
  • the SGSN records the correspondence between Co r r e 1 a t i on- 1 D in the secondary context activation request message sent by the TI and the GGSN.
  • the TOF detects the secondary context activation request message, and records the TI and SIPT0 indications. Further, in order to ensure that the UE does not perceive the bypass of the data flow, the T0F may remove the S I PT0 indication in the secondary context activation request message.
  • the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN, and the GGSN triggers the secondary context activation in the secondary context activation request.
  • the message carries the SIPT0 indication.
  • the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information. When the uplink data stream needs to be bypassed, the uplink data stream that is converted by the network address is used. Bypass.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • the embodiment provides a method for implementing data flow bypass.
  • the UE initiates a secondary context activation request.
  • the PCRF sends a dynamic SIPT0 policy, or
  • the GGSN matches the statically configured SIPT0 policy on the GGSN.
  • the GGSN carries the S IPT0 indication in the secondary activation response message.
  • the method for implementing data flow bypass includes: 601-606, which are the same as steps 401-406, and are not described herein again.
  • the GGSN may also be matched to the SIPT0 policy configured on the GGSN, and the steps 604-606 may be replaced by the following steps:
  • the L1 and the GGSN match the configured SIPT0 policy according to the user information in the secondary context request message, for example: APN, IMSI, etc., and service information such as: TFT.
  • the GGSN sends a secondary context response message to the SGSN, where the secondary context response message carries a SIPT0 indication.
  • steps 508-513 which are the same as steps 508-513, and are not described herein again.
  • the SGSN returns a secondary context request acceptance response message to the T0F, where the secondary context request acceptance response message carries the S I PT0 indication.
  • the T0F detects the secondary context request accept response message, and uses the TI record previously recorded by the TOF to associate the TI in the response request message with the TI context. If the association is performed, the second context request accept response message is recorded. S IPT0 indicates; if the association is not available, the data flow is not bypassed in the subsequent process.
  • the T0F records the correspondence between the TI, NSAPI, RAB ID, SIPTO indication, RNC tunnel information, and SGSN tunnel information that need to be SIPT0.
  • the T0F may remove the S I PT0 indication in the secondary context request acceptance response message.
  • the T0F sends the secondary context request accept response message that has been removed by the SIPT0 to the UE.
  • the method for implementing data flow bypassing the UE initiates a secondary context activation request, and the PCRF sends a dynamic SIPT0 policy at the same time as the PCC rule is sent, or the GGSN matches the SIPT0 policy configured on the GGSN, and the GGSN is in the second
  • the secondary activation response message carries the IPT0 indication; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information, and when the uplink data stream needs to be bypassed, the network address translation is performed.
  • the upstream data stream is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • This embodiment provides a method for implementing data flow bypass.
  • the UE initiates a secondary context modification, and adds filtering information of the existing TFT.
  • the filtering information is specified, and the GGSN is signaling.
  • the message carries the SIPT0 indication with filtering information.
  • the method for implementing data flow bypass includes:
  • the UE sends a secondary context modification request to the SGSN, requesting to add the filtering information of the existing TFT.
  • the SGSN sends an update secondary context request message to the GGSN.
  • the GGSN sends an IP-CAN modification request to the PCRF, and requests a PCC rule, where the request carries the modified TFT information, the TFT operation, and the like.
  • the PCRF determines the SIPT0 policy of the service according to the user information and the service information sent by the GGSN according to the configuration, the operator policy, and the SPR subscription information.
  • the PCRF sends a PCC rule to the GGSN, and sends a SIPT0 policy. If the PCRF determines that the TFT-added part of the corresponding service S IPT0 policy is different from the SIPT0 policy of the previous service flow, the SIPT0 policy can be sent for the service flow. That is, the filtering information is specified when the SIPT0 policy is delivered.
  • the GGSN sends an update secondary context response message to the SGSN, where the updated secondary context response message carries an S I PT0 indication with filtering information.
  • the SGSN sends a secondary context modification accept response message to the UE, where the secondary context modification accept response message carries an S I PT0 indication with filtering information.
  • the T0F detects the secondary context modification accept response message, and uses the TI record previously recorded by the TOF to associate the TI in the second context modification response response message, and if the association is performed, record the secondary context modification accept response message.
  • the SIPT0 indicates and filters the information; if the association is not, the data flow is not bypassed in the subsequent process.
  • the T0F may remove the SI PT0 indication and the filtering information in the secondary context modification acceptance response message. 709. The TOF forwards the secondary context modification acceptance response message that has been removed from the SIPTO indication.
  • the UE sends an uplink data stream to the TOF, where the source address of the uplink data stream is s rcl and the destination address is ds t l.
  • the TOF compares the filtering information of the uplink data stream with the filtering information of the TOF record, and determines whether the uplink data stream needs to be bypassed according to the SIPT0 indication recorded by the TOF. If the filtering information of the uplink data stream matches the filtering information of the T0F record, determining that the uplink data stream needs to be bypassed according to the SIPT0 indication, and performing step 712;
  • the determining that the uplink data stream needs to be bypassed according to the SIPT0 indication may include: the SIPT0 indication is a variable, when the variable is 1, indicating that the uplink data stream needs to be bypassed; when the variable is 0 When it is indicated, the upstream data stream does not need to be bypassed.
  • SIPT0 indication When the SIPT0 indication is carried, it indicates that the uplink data stream needs to be bypassed; when the SIPT0 indication is not carried, it indicates that the uplink data stream does not need to be bypassed.
  • the filtering information of the uplink data stream does not match the filtering information recorded by the TOF, it is determined that the uplink data stream does not need to be bypassed, and the TOF does not perform processing, and the uplink data stream is transmitted according to the source address and the destination address.
  • the method for implementing the data flow bypassing the UE initiates the secondary context modification, and adds the filtering information of the existing TFT.
  • the PCRF sends the SIPT0 policy
  • the filtering information is specified, and the GGSN carries the transparent transmission level of the IPT0 in the signaling message.
  • the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the SIPT0 indication and the filtering information obtained by the signaling message, and the uplink data that is converted by the network address when the uplink data stream needs to be bypassed.
  • the flow is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • Example eight The embodiment provides a bypass function entity.
  • the bypass function entity includes: an obtaining module 81, configured to acquire a bypass flow description information and a bypass indication carried in the signaling message;
  • the acquiring module 81 obtains the bypass flow description information from the signaling message;
  • the acquiring module 81 acquires the bypass flow description information by detecting signaling information between the RNC and the SGSN.
  • the determining module 82 is configured to determine, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed;
  • the bypass module 83 is configured to bypass the uplink data stream that is subjected to network address translation when the uplink data stream needs to be bypassed.
  • bypass indication and the bypass flow description information are obtained by the non-bypass gateway according to the obtained bypass policy, and the non-bypass gateway acquiring the bypass policy may be performed by using the following methods:
  • the non-bypassing gateway transmits the bypass indication and the bypass flow description information by using a signaling message, and the specific delivery method may include:
  • bypass indication and the bypass flow description information are passed through the newly added cells in the signaling message.
  • the non-bypass gateway may be a GGSN, but is not limited thereto.
  • bypass function entity may further include:
  • a removing module 84 configured to remove a bypass indication in the signaling message
  • the first sending module 85 is configured to send the signaling message that removes the bypass indication to the terminal.
  • the acquiring module 81 is specifically configured to acquire the bypass indication and the bypass flow description information carried in the signaling message;
  • the removing module 84 is specifically configured to remove the bypass indication and the bypass flow description information in the signaling message;
  • the first sending module 85 is specifically configured to send the signaling message that removes the bypass indication and the bypass flow description information to the terminal.
  • bypass function entity may further include:
  • the second sending module 86 is configured to send the downlink data stream recovered by the network address translation to the terminal.
  • the obtaining module 81 may include:
  • the first obtaining unit 811 is configured to detect a first context response message sent to the terminal, and obtain a bypass indication and bypass flow information.
  • the determining module 82 can include:
  • the first determining unit 821 is configured to compare the flow information of the uplink data stream with the bypass flow information, and when the flow information of the uplink data flow matches the bypass flow information, according to the The bypass indication determines that the upstream data stream needs to be bypassed.
  • the obtaining module 81 may include:
  • a second obtaining unit 812 configured to acquire a bypass indication and bypass tunnel information
  • the determining module 82 can include:
  • the second determining unit 822 is configured to compare the tunnel information of the uplink data stream with the bypass tunnel information, and when the tunnel information of the uplink data stream matches the bypass tunnel information, according to the The bypass indication determines that the upstream data stream needs to be bypassed.
  • the second obtaining unit 812 may include:
  • a first obtaining sub-unit 8121 configured to send a secondary context activation request message to the terminal Line detection, get bypass indication and session identifier ⁇ ;
  • the second obtaining sub-unit 8122 is configured to detect a secondary context activation request message sent by the terminal, and associate the ⁇ with the ⁇ in the secondary context activation request message to obtain a network service access point identifier NSAPI;
  • the third obtaining sub-unit 8123 is configured to detect a radio access bearer RAB allocation request message sent to the RNC, and associate the NSAPI with the RAB ID in the RAB allocation request message to obtain the SGSN tunnel information.
  • the fourth obtaining sub-unit 8124 is configured to detect an RAB response message of the RNC, and associate the NSAPI with the RAB I D in the RAB response message to obtain RNC tunnel information.
  • the second obtaining unit 812 may include:
  • the fifth obtaining subunit 8125 is configured to detect a secondary context activation request message sent by the terminal, and acquire the TI and the NSAPI;
  • the sixth obtaining sub-unit 8126 is configured to detect the RAB allocation request message sent to the RNC, and associate the NSAPI with the RAB ID in the RAB allocation request message to obtain the SGSN tunnel information.
  • the seventh obtaining subunit 8127 is configured to detect an RAB response message of the RNC, and associate the NSAPI with the RAB I D in the RAB response message to obtain RNC tunnel information.
  • the eighth obtaining subunit 8128 is configured to detect a secondary context activation response message sent to the terminal, and associate the TI with the TI in the secondary context activation response message to obtain a bypass indication.
  • the obtaining module 81 may include:
  • the third obtaining unit 813 is configured to detect a secondary context modification acceptance response message sent to the terminal, associate the recorded TI with the TI in the secondary context modification acceptance response message, and obtain a bypass indication and a bypass. Filtering information, where the secondary context modification accept response message carries an SI PT0 indication with filtering information;
  • the determining module 82 can include: The third determining unit 823 is configured to compare the filtering information of the uplink data stream with the bypass filtering information, and when the filtering information of the uplink data stream matches the bypass filtering information, according to the The bypass indication determines that the upstream data stream needs to be bypassed.
  • bypass function entity may be T0F, but is not limited thereto.
  • the bypass function entity of the embodiment of the present invention determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass flow description information and the bypass indication obtained by the signaling message, when the uplink data flow needs When bypassing, the upstream data stream that has undergone network address translation is bypassed.
  • the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
  • the apparatus for implementing data flow bypass provided by the embodiment of the present invention can implement the method embodiment provided above.
  • the method and apparatus for implementing data flow bypass provided by the embodiments of the present invention can be applied to data flow bypass under the GPRS network, but is not limited thereto.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

Embodiments of the prevent invention disclose a method and apparatus for implementing traffic offloading, and said method includes: an offloading function entity acquires traffic offloading description information and offloading indications carried in signaling messages; the offloading function entity determines whether an offloading is necessary for uplink traffic from terminals based on said offloading indications and traffic offloading description information; if yes, the offloading function entity offloads the uplink traffic which has been network address conversed. The present invention applies to perform offloading on traffic.

Description

实现数据流旁路的方法和装置 技术领域  Method and device for implementing data flow bypass
本发明涉及无线通信技术领域, 特别涉及一种实现数据流旁路的方法和 装置。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for implementing data flow bypass. Background technique
目前, 在 GPRS ( General Packet Radio Service, 通用分组无线月良务) 网络下, 为了节省运营商核心网传输成本, 将数据流在靠近基站侧旁路, 不 再传送到核心网。 现有的实现方法为: 在 RNC (Radio Network Controller, 无线网络控制器 )与 SGSN ( Serving GPRS Support Node, 服务 GPRS支持节点 ) 之间设置 TOF (Traffic Offload Function, 数据流旁路功能实体), 在 T0F上 配置有旁路策略, T0F通过探测 UE (User Equipment, 用户设备)和 SGSN之间 以及 RNC和 SGSN之间的消息, 按照用户选择的 APN (Access Point Name, 接入 点名称) 来判断数据流是否需要旁路。  At present, in the GPRS (General Packet Radio Service) network, in order to save the carrier core network transmission cost, the data stream is bypassed near the base station side and is not transmitted to the core network. The existing implementation method is as follows: a TOF (Traffic Offload Function) is set between the RNC (Radio Network Controller) and the SGSN (Serving GPRS Support Node). A bypass policy is configured on the T0F. The T0F determines the data according to the APN (Access Point Name) selected by the user by detecting the message between the UE (User Equipment) and the SGSN and between the RNC and the SGSN. Whether the flow needs to be bypassed.
在实现本发明的过程中, 发明人发现现有技术中至少存在如下问题: T0F只能按照用户选择的 APN来判断数据流是否需要旁路, 而不能实现在 同一 APN下按照用户进行的不同业务来判断数据流是否需要旁路。 发明内容  In the process of implementing the present invention, the inventor has found that at least the following problems exist in the prior art: The T0F can only determine whether the data flow needs to be bypassed according to the APN selected by the user, and cannot implement different services according to the user under the same APN. To determine if the data stream needs to be bypassed. Summary of the invention
本发明的实施例提供一种实现数据流旁路的方法和装置, 能够实现在同 一 APN下按照用户进行的不同业务来判断数据流是否需要旁路。  Embodiments of the present invention provide a method and apparatus for implementing data flow bypass, which can determine whether a data flow needs to be bypassed according to different services performed by a user under the same APN.
本发明实施例釆用的技术方案为:  The technical solution adopted by the embodiment of the present invention is:
一种实现数据流旁路的方法, 包括:  A method for implementing data flow bypass includes:
旁路功能实体获取旁路流描述信息以及信令消息中携带的旁路指示; 旁路功能实体根据所述旁路指示以及旁路流描述信息, 判断终端发送的 上行数据流是否需要旁路;  The bypass function entity obtains the bypass flow description information and the bypass indication carried in the signaling message; the bypass function entity determines, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed;
当所述上行数据流需要旁路时, 旁路功能实体对经过网络地址转换的所 述上行数据流进行旁路。 When the upstream data stream needs to be bypassed, the bypass function entity performs a network address translation The upstream data stream is bypassed.
一种旁路功能实体, 包括:  A bypass function entity, including:
获取模块, 用于获取旁路流描述信息以及信令消息中携带的旁路指示; 判断模块, 用于根据所述旁路指示以及旁路流描述信息, 判断终端发送 的上行数据流是否需要旁路;  An obtaining module, configured to obtain a bypass flow description information and a bypass indication carried in the signaling message, and a determining module, configured to determine, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be adjacent Road
旁路模块, 用于当所述上行数据流需要旁路时, 对经过网络地址转换的 所述上行数据流进行旁路。  The bypass module is configured to bypass the uplink data stream that is subjected to network address translation when the uplink data stream needs to be bypassed.
本发明实施例实现数据流旁路的方法和装置, 旁路功能实体根据旁路流 描述信息以及由信令消息中获取的旁路指示, 判断终端发送的上行数据流是 否需要旁路, 当所述上行数据流需要旁路时, 对经过网络地址转换的所述上 行数据流进行旁路。 与现有技术相比, 本发明能够对用户在同一 APN下传输的 各数据流进行判断, 并对需要进行旁路的数据流进行旁路, 从而可以进一步 地节省传输资源。 附图说明  The method and device for implementing data flow bypassing in the embodiment of the present invention, the bypass function entity determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass flow description information and the bypass indication obtained by the signaling message. When the upstream data stream needs to be bypassed, the uplink data stream that has undergone network address translation is bypassed. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其它的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and those skilled in the art can obtain other drawings according to these drawings without any creative work.
图 1为本发明实施例一提供的方法流程图;  1 is a flowchart of a method according to Embodiment 1 of the present invention;
图 2为本发明实施例二提供的方法流程图;  2 is a flowchart of a method according to Embodiment 2 of the present invention;
图 3为本发明实施例三提供的方法流程图;  3 is a flowchart of a method according to Embodiment 3 of the present invention;
图 4为本发明实施例四提供的方法流程图;  4 is a flowchart of a method according to Embodiment 4 of the present invention;
图 5为本发明实施例五提供的方法流程图;  FIG. 5 is a flowchart of a method according to Embodiment 5 of the present invention;
图 6为本发明实施例六提供的方法流程图;  6 is a flowchart of a method according to Embodiment 6 of the present invention;
图 7为本发明实施例七提供的方法流程图;  7 is a flowchart of a method according to Embodiment 7 of the present invention;
图 8、 图 9、 图 10、 图 11、 图 12为本发明实施例八提供的旁路功能实体结 构示意图。 具体实施方式 8, FIG. 9, FIG. 10, FIG. 11, and FIG. 12 are schematic diagrams of a bypass function entity node according to Embodiment 8 of the present invention. Schematic diagram. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其它实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. 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 those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为使本发明技术方案的优点更加清楚, 下面结合附图和实施例对本发明 作详细说明。  In order to make the advantages of the technical solutions of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
实施例一  Embodiment 1
本实施例提供一种实现数据流旁路的方法, 如图 1所示, 所述方法包括: 101、 旁路功能实体获取旁路流描述信息以及信令消息中携带的旁路指 示;  The embodiment provides a method for implementing data flow bypass. As shown in FIG. 1 , the method includes: 101. The bypass function entity acquires the bypass flow description information and the bypass indication carried in the signaling message.
当所述旁路流描述信息为旁路流信息或旁路过滤信息时, 所述旁路功能 实体由所述信令消息中获取所述旁路流描述信息;  When the bypass flow description information is bypass flow information or bypass filtering information, the bypass function entity acquires the bypass flow description information from the signaling message;
当所述旁路流描述信息为旁路隧道信息时, 所述旁路功能实体通过探测 When the bypass flow description information is bypass tunnel information, the bypass function entity detects
RNC与 SGSN之间的信令信息获取所述旁路流描述信息。 The signaling information between the RNC and the SGSN acquires the bypass flow description information.
进一步的, 在步骤 101之前, 所述方法还可以包括:  Further, before step 101, the method may further include:
非旁路网关获取旁路策略;  The non-bypass gateway acquires a bypass policy;
非旁路网关通过信令消息传递旁路指示以及旁路流描述信息, 所述旁路 指示以及旁路流描述信息根据所述旁路策略得到。  The non-bypass gateway passes the bypass indication and the bypass flow description information through the signaling message, and the bypass indication and the bypass flow description information are obtained according to the bypass policy.
其中, 所述非旁路网关可以为 GGSN ( Ga teway GPRS Suppor t Node , 网关 GPRS支持节点), 但不仅限于此。  The non-bypassing gateway may be a GGSN (Gateway GPRS Suppor t Node, Gateway GPRS Support Node), but is not limited thereto.
进一步的, 所述非旁路网关获取旁路策略可以包括:  Further, the non-bypass gateway acquiring the bypass policy may include:
根据 PCRF ( Pol icy and Charg ing Rules Func t ion , 策略与计费规则功 能实体) 下发的预定义的旁路策略, 激活 PCRF指定的预定义的旁路策略; 或 者 接收 PCRF动态下发的旁路策略; 或者 Activating a predefined bypass policy specified by the PCRF according to a predefined bypass policy delivered by the PCRF (Poly icy and Charging Rules Function Entity); or Receiving a bypass policy dynamically sent by the PCRF; or
匹配自身静态配置的旁路策略。  Match the bypass policy of its static configuration.
进一步的, 所述非旁路网关通过信令消息传递旁路指示以及旁路流描述 信息具体可以包括:  Further, the non-bypassing gateway may further include:
将所述旁路指示以及旁路流描述信息通过所述信令消息中已有的信元透 传; 或者  Passing the bypass indication and the bypass flow description information through existing cells in the signaling message; or
将所述旁路指示以及旁路流描述信息通过所述信令消息中新增的信元传 递。  The bypass indication and the bypass flow description information are passed through the newly added cells in the signaling message.
进一步的, 在所述旁路功能实体获取旁路流描述信息以及信令消息中携 带的旁路指示之后, 还可以包括:  Further, after the bypass function entity obtains the bypass flow description information and the bypass indication carried in the signaling message, the method may further include:
旁路功能实体将所述信令消息中的旁路指示去除;  The bypass function entity removes the bypass indication in the signaling message;
旁路功能实体将去除旁路指示的所述信令消息向终端发送。  The bypass function entity sends the signaling message that removes the bypass indication to the terminal.
进一步的, 当所述旁路流描述信息为旁路流信息或旁路过滤信息时, 所 述旁路功能实体获取旁路流描述信息以及信令消息中携带的旁路指示包括: 旁路功能实体获取信令消息中携带的旁路指示及旁路流描述信息; 所述旁路功能实体将所述信令消息中的旁路指示去除; 旁路功能实体将 去除旁路指示的所述信令消息向终端发送包括:  Further, when the bypass flow description information is bypass flow information or bypass filtering information, the bypass function entity acquires the bypass flow description information and the bypass indication carried in the signaling message, including: The entity obtains the bypass indication and the bypass flow description information carried in the signaling message; the bypass function entity removes the bypass indication in the signaling message; and the bypass function entity removes the bypass indication Sending a message to the terminal includes:
旁路功能实体将所述信令消息中的旁路指示以及旁路流描述信息去除; 旁路功能实体将去除旁路指示以及旁路流描述信息的所述信令消息向终 端发送。  The bypass function entity removes the bypass indication and the bypass flow description information in the signaling message; the bypass function entity transmits the signaling message that removes the bypass indication and the bypass flow description information to the terminal.
1 02、 旁路功能实体根据所述旁路指示以及旁路流描述信息, 判断终端发 送的上行数据流是否需要旁路。  The bypass function entity determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass indication and the bypass flow description information.
1 03、 当所述上行数据流需要旁路时, 旁路功能实体对经过网络地址转换 的所述上行数据流进行旁路。  1 03. When the uplink data stream needs to be bypassed, the bypass function entity bypasses the uplink data stream that is subjected to network address translation.
进一步的, 在步骤 1 03之后, 所述方法还可以包括:  Further, after step 130, the method may further include:
旁路功能实体将经过网络地址转换 NAT恢复的下行数据流向终端发送。 本发明实施例实现数据流旁路的方法, 旁路功能实体根据旁路流描述信 息以及由信令消息中获取的旁路指示, 判断终端发送的上行数据流是否需要 旁路, 当所述上行数据流需要旁路时, 对经过网络地址转换的所述上行数据 流进行旁路。 与现有技术相比, 本发明能够对用户在同一 APN下传输的各数据 流进行判断, 并对需要进行旁路的数据流进行旁路, 从而可以进一步地节省 传输资源。 The bypass function entity sends the downlink data stream recovered by the network address translation NAT to the terminal. The method for implementing data flow bypassing in the embodiment of the present invention, the bypass function entity determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass flow description information and the bypass indication obtained by the signaling message, when the uplink When the data stream needs to be bypassed, the upstream data stream that has undergone network address translation is bypassed. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data flow that needs to be bypassed, thereby further saving transmission resources.
实施例二  Embodiment 2
本实施例提供一种实现数据流旁路的方法, 在本实施例中, 首次上下文 建立时, PCRF在下发 PCC (Policy and Charging Control, 策略和计费控制) 规则的同时, 指示 GGSN激活预定义在 GGSN上的 SIPTO ( Selected IP Traffic Offload, 选择性 IP数据流旁路) 策略。 GGSN在首次上下文响应消息的 PCO (Protocol Configuration Options, 协议配置选项)信元中携带 SIPTO指示 以及旁路流信息, 在本实施例及以下各方法实施例中, 所述 SIPTO指示均为旁 路指示。  This embodiment provides a method for implementing data flow bypass. In this embodiment, when the first context is established, the PCRF instructs the GGSN to activate the predefined one while issuing the PCC (Policy and Charging Control) rule. SIPTO (Selected IP Traffic Offload) policy on the GGSN. The GGSN carries the SIPTO indication and the bypass flow information in the PCO (Protocol Configuration Options) cell of the first context response message. In this embodiment and the following method embodiments, the SIPTO indication is a bypass indication. .
如图 2所示, 所述实现数据流旁路的方法包括:  As shown in FIG. 2, the method for implementing data flow bypass includes:
201、 UE向 SGSN发送首次上下文建立请求。  201. The UE sends a first context setup request to the SGSN.
202、 SGSN向 GGSN发送创建上下文请求。  202. The SGSN sends a create context request to the GGSN.
203、 GGSN向 PCRF请求 PCC规则。  203. The GGSN requests a PCC rule from the PCRF.
204、 PCRF向 GGSN下发 PCC规则,并指示 GGSN激活 PCRF指定的预定义在 GGSN 上的 SIPTO策略。  204. The PCRF sends a PCC rule to the GGSN, and instructs the GGSN to activate the SIPTO policy defined by the PCRF and predefined on the GGSN.
其中, GGSN上预定义有一个或多个 SIPT0策略, 在 PCRF向 GGSN发送的指示 中, 指定一种需要 GGSN激活的预定义的 SIPT0策略。  The GGSN is pre-defined with one or more SIPT0 policies. In the indication sent by the PCRF to the GGSN, a predefined SIPT0 policy that requires GGSN activation is specified.
205、 GGSN根据 PCRF的指示, 激活预定义的 SIPT0策略。  205. The GGSN activates the predefined SIPT0 policy according to the indication of the PCRF.
206、 GGSN向 SGSN发送创建上下文响应消息, 所述创建上下文响应消息的 PC0信元中携带已激活的预定义的 SIPT0策略的流信息和 SIPT0指示。  206. The GGSN sends a create context response message to the SGSN, where the PC0 cell that creates the context response message carries the flow information and SIPT0 indication of the activated predefined SIPT0 policy.
207、 SGSN向 UE发送首次上下文响应消息。 其中, 在所述首次上下文响应 消息中, 所述创建上下文响应消息中的 PC0信元被透传。 207. The SGSN sends a first context response message to the UE. Wherein the first context response In the message, the PC0 cell in the create context response message is transparently transmitted.
208、 T0F探测所述首次上下文响应消息, 并对所述首次上下文响应消息 的 PC0信元进行解析, 记录 SIPT0指示和流信息。  208. The TOF detects the first context response message, and parses the PC0 cell of the first context response message, and records the SIPT0 indication and the flow information.
进一步的, 为了保证 UE不感知数据流的旁路, T0F可以将所述首次上下文 响应消息的 PC0信元中的 S I PT0指示和流信息去除。  Further, in order to ensure that the UE does not perceive the bypass of the data flow, the T0F may remove the S I PT0 indication and the flow information in the PC0 cell of the first context response message.
209、 T0F将所述已经去除 PC0信元中的 SIPT0指示和流信息的首次上下文 响应消息向 UE发送。  209. The T0F sends the first context response message that has removed the SIPT0 indication and the flow information in the PC0 cell to the UE.
210、 UE向 T0F发送上行数据流, 所述上行数据流的源地址为 srcl , 目的 地址为 ds t l。  210. The UE sends an uplink data stream to the T0F, where the source address of the uplink data stream is srcl and the destination address is ds t l.
211、 TOF将所述上行数据流的流信息与 TOF记录的需要进行 SIPT0的数据 流的流信息进行比较, 并根据 T0F记录的 SIPT0指示, 判断所述上行数据流是 否需要旁路。 如果所述上行数据流的流信息与 T0F记录的需要进行 SIPT0的数 据流的流信息相匹配, 则根据所述 SIPT0指示确定所述上行数据流需要旁路, 执行步骤 212;  211. The TOF compares the flow information of the uplink data stream with the flow information of the TOF record that needs to perform the data flow of the SIPT0, and determines whether the uplink data flow needs to be bypassed according to the SIPT0 indication recorded by the TOF. If the flow information of the upstream data stream is matched with the flow information of the data stream that needs to be processed by the T0F, the uplink data flow needs to be bypassed according to the SIPT0 indication, and step 212 is performed;
所述根据所述 SIPT0指示确定所述上行数据流需要旁路具体可以包括: 所述 SIPT0指示为一个变量, 当该变量为 1时, 表示所述上行数据流需要 旁路; 当该变量为 0时, 表示所述上行数据流不需要旁路。  The determining that the uplink data stream needs to be bypassed according to the SIPT0 indication may include: the SIPT0 indication is a variable, when the variable is 1, indicating that the uplink data stream needs to be bypassed; when the variable is 0 When it is indicated, the upstream data stream does not need to be bypassed.
或者  Or
当携带所述 SIPT0指示时, 表示所述上行数据流需要旁路; 当不携带所述 SIPT0指示时, 表示所述上行数据流不需要旁路。  When the SIPT0 indication is carried, it indicates that the uplink data stream needs to be bypassed; when the SIPT0 indication is not carried, it indicates that the uplink data stream does not need to be bypassed.
如果所述上行数据流的流信息与 T0F记录的需要进行 SIPT0的数据流的流 信息不匹配, 则确定所述上行数据流不需要旁路, T0F不进行处理, 所述上行 数据流按照源地址和目的地址进行传送。  If the stream information of the uplink data stream does not match the stream information of the data stream that needs to be performed by the SIPT0, the uplink data stream is determined not to be bypassed, and the TOF is not processed, and the uplink data stream is according to the source address. Transfer with the destination address.
212、 T0F对所述上行数据流进行 NAT ( Network Addres s Trans lat ion, 网络地址转换)后发送, 经过 NAT后的所述上行数据流的源地址为 src2 , 目的 地址为 ds t l。 213、 TOF接收下行数据流, 所述下行数据流的源地址为 dstl, 目的地址 为 src2。 212. The T0F sends the uplink data stream by using a network (NAT), and the source address of the uplink data stream after the NAT is src2, and the destination address is ds tl. 213. The TOF receives the downlink data stream, where the source address of the downlink data stream is dstl, and the destination address is src2.
214、 TOF将所述下行数据流进行 NAT恢复, 经过 NAT恢复后的所述下行数 据流的源地址为 dstl, 目的地址为 srcl。  214. The TOF performs NAT recovery on the downlink data stream, and the source address of the downlink data stream after the NAT recovery is dstl, and the destination address is srcl.
215、 TOF将经过 NAT恢复后的所述下行数据流向 UE发送。  215. The TOF sends the downlink data stream after the NAT recovery to the UE.
本发明实施例实现数据流旁路的方法, 首次上下文建立时, PCRF在下发 PCC规则的同时, 指示 GGSN激活预定义在 GGSN上的 SIPT0策略, GGSN在首次上 下文响应消息的 PC0信元中携带透传级的 SIPT0指示; T0F根据由该首次上下文 响应消息的 PC0信元中获取的 SIPT0指示和流信息, 判断 UE发送的上行数据流 是否需要旁路, 当所述上行数据流需要旁路时, 对经过网络地址转换的所述 上行数据流进行旁路。 与现有技术相比, 本发明能够对用户在同一 APN下传输 的各数据流进行判断, 并对需要进行旁路的数据流进行旁路, 从而可以进一 步地节省传输资源。  In the embodiment of the present invention, when the first context is established, the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN, and the GGSN carries the SIPT0 policy in the first context response message. The SIPT0 indication of the transmission level; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the SIPT0 indication and the flow information obtained by the PC0 cell of the first context response message, when the uplink data stream needs to be bypassed, Bypassing the upstream data stream that has undergone network address translation. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, so that the transmission resource can be further saved.
实施例三  Embodiment 3
本实施例提供一种实现数据流旁路的方法, 在本实施例中, 首次上下文 建立时, PCRF在下发 PCC规则的同时, 指示 GGSN激活预定义在 GGSN上的 SIPT0 策略。 GGSN触发二次上下文激活请求, 在二次上下文激活请求消息的 PC0信元 中携带 SIPT0指示。  This embodiment provides a method for implementing data flow bypass. In this embodiment, when the first context is established, the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN. The GGSN triggers a secondary context activation request, carrying a SIPT0 indication in the PC0 cell of the secondary context activation request message.
如图 3所示, 所述实现数据流旁路的方法包括:  As shown in FIG. 3, the method for implementing data flow bypass includes:
301-304、 与步骤 201-204相同, 在此不再赘述。  301-304, which are the same as steps 201-204, and are not described herein again.
305、 GGSN向 SGSN发送创建上下文响应消息。  305. The GGSN sends a create context response message to the SGSN.
306、 SGSN向 UE转发所述创建上下文响应消息。  306. The SGSN forwards the create context response message to the UE.
307、 GGSN根据 PCRF的指示, 激活预定义的 SIPT0策略。  307. The GGSN activates the predefined SIPT0 policy according to the indication of the PCRF.
308、 GGSN按照 SIPT0策略的 QCI (Quality of Service Class Identifier, 服务质量类别标识), ARP (Address Resolution Protocol, 地址解析协议) 以及 SIPT0指示执行承载绑定, 如果绑定不到合适的承载, GGSN向 SGSN发送二 次上下文激活请求消息, 所述二次上下文激活请求消息的 PC0信元中携带 SIPT0指示以及 Correlation-ID, 所述 Correlation-ID用于 GGSN关联后续的二 次上下文激活流程。 308. The GGSN performs bearer binding according to the QSI (Quality of Service Class Identifier) of the SIPT0 policy, the ARP (Address Resolution Protocol), and the SIPT0 indication. If the binding is not suitable, the GGSN SGSN sends two The secondary context activation request message, the PC0 cell of the secondary context activation request message carries a SIPT0 indication and a Correlation-ID, and the Correlation-ID is used by the GGSN to associate a subsequent secondary context activation procedure.
309、 SGSN向 UE发送二次上下文激活请求消息, 所述二次上下文激活请求 消息中携带 SGSN为该二次上下文激活请求分配的 TI ( Transaction Identifier, 会话标识), 以及 GGSN发送的二次上下文激活请求消息的 PC0信 元。 SGSN记录 TI与 GGSN发送来的二次上下文激活请求消息中的 Correlation-ID的对应关系。  309. The SGSN sends a secondary context activation request message to the UE, where the secondary context activation request message carries a TI (Transaction Identifier) allocated by the SGSN for the secondary context activation request, and a secondary context activation sent by the GGSN. The PC0 cell of the request message. The SGSN records the correspondence between the TI and the Correlation-ID in the secondary context activation request message sent by the GGSN.
310、 T0F探测所述二次上下文激活请求消息, 并对所述二次上下文激活 请求消息的 PC0信元进行解析, 记录 TI以及 SIPT0指示。  310. The TOF detects the secondary context activation request message, and parses the PC0 cell of the secondary context activation request message, and records the TI and SIPT0 indications.
进一步的, 为了保证 UE不感知到数据流的旁路, T0F可以将所述二次上下 文激活请求消息的 PC0信元中的 SIPT0指示去除。  Further, in order to ensure that the UE does not perceive the bypass of the data stream, the T0F may remove the SIPT0 indication in the PC0 cell of the secondary context activation request message.
311、 T0F将所述已经去除 PC0信元中的 SIPT0指示的二次上下文激活请求 消息向 UE发送, 所述二次上下文激活请求消息中携带 T I。  311. The T0F sends the secondary context activation request message that has been removed from the SIPT0 in the PC0 cell to the UE, where the secondary context activation request message carries T1.
312、 UE向 SGSN发送二次上下文激活请求消息, 所述二次上下文激活请求 消息中携带 TI和 NSAPI ( Network Service Access Point Identif ier , 网络 业务接入点标识), 所述 TI和 NSAPI具有——对应关系。  312. The UE sends a secondary context activation request message to the SGSN, where the secondary context activation request message carries a TI and an NSAPI (Network Service Access Point Identifier), where the TI and the NSAPI have Correspondence relationship.
313、 T0F探测所述二次上下文激活请求消息, 将该二次上下文激活请求 消息中的 TI与在步骤 310中记录的 TI进行关联, 如果关联上, 记录 NSAPI; 如 果关联不上, 则在后续过程中, 数据流不进行旁路。  313. The TOF detects the secondary context activation request message, and associates the TI in the secondary context activation request message with the TI recorded in step 310. If the association is performed, the NSAPI is recorded; if the association is not, the subsequent During the process, the data stream is not bypassed.
314、 SGSN向 GGSN发送创建上下文请求消息, 所述创建上下文请求消息中 携带 NSAPI和 Correlation- ID。 其中, 所述 Correlation-ID为 SGSN利用 UE发送 来的二次上下文激活请求消息中的 TI , 与步骤 309中记录的 TI与 C 0 r r e 1 a t i 0 n - 1 D的对应关系进行关联得到。  314. The SGSN sends a create context request message to the GGSN, where the create context request message carries the NSAPI and the Correlation-ID. The Correlation-ID is obtained by associating the TI in the secondary context activation request message sent by the SGSN with the correspondence between TI and C 0 r r e 1 a t i 0 n - 1 D recorded in step 309.
315、 GGSN向 SGSN回复创建上下文响应消息。  315. The GGSN replies to the SGSN to create a context response message.
316、 SGSN向 RNC发送 RAB (Radio Access Bearer, 无线接入 载) 分配 请求消息。 所述 RAB分配请求消息中携带 RAB ID和 SGSN隧道信息。 316. The SGSN sends an RAB (Radio Access Bearer) allocation to the RNC. Request message. The RAB allocation request message carries the RAB ID and the SGSN tunnel information.
317、 T0F探测所述 RAB分配请求消息, 利用步骤 313中记录的 NS AP I关联该 RAB分配请求消息中携带的 RAB ID, 如果关联上, 则记录 RAB分配请求消息中 的 SGSN隧道信息以及 RAB ID; 如果关联不上, 则在后续过程中, 数据流不进 行旁路。  317. The OT probes the RAB allocation request message, and uses the NS AP I recorded in step 313 to associate the RAB ID carried in the RAB allocation request message. If the association is performed, the SGSN tunnel information and the RAB ID in the RAB allocation request message are recorded. ; If the association is not available, the data flow is not bypassed in the subsequent process.
具体地, 当 NSAPI与 RAB ID相同时, 表明 NSAPI与 RAB ID关联上。  Specifically, when the NSAPI and the RAB ID are the same, it indicates that the NSAPI is associated with the RAB ID.
318、 T0F向 RNC转发所述 RAB分配请求消息。  318. The T0F forwards the RAB allocation request message to the RNC.
319、 RNC与 UE建立 RRC ( Radio Resource Control , 无线资源控制)。 319. The RNC establishes an RRC (Radio Resource Control) with the UE.
320、 RNC分配用于下行数据流的隧道信息,向 SGSN发送 RAB分配响应消息。320. The RNC allocates tunnel information for the downlink data flow, and sends an RAB allocation response message to the SGSN.
321、 T0F探测所述 RAB分配响应消息, 利用步骤 313中记录的 NSAPI关联该 RAB分配响应消息中携带的 RAB ID, 如果关联上, 则记录 RAB分配响应消息中 的 RNC隧道信息; 如果关联不上, 则在后续过程中, 数据流不进行旁路。 321. The OT probes the RAB allocation response message, and associates the RAB ID carried in the RAB allocation response message with the NSAPI recorded in step 313. If the association is performed, the RNC tunnel information in the RAB allocation response message is recorded; , in the subsequent process, the data stream is not bypassed.
至此, T0F记录了需要进行 SIPT0的 TI、 NSAPI、 RAB ID、 SIPTO指示、 RNC 隧道信息和 SGSN隧道信息之间的对应关系。  So far, the T0F records the correspondence between the TI, NSAPI, RAB ID, SIPTO indication, RNC tunnel information, and SGSN tunnel information that need to be SIPT0.
322、 T0F向 SGSN转发所述 RAB分配响应消息。  322. The OTF forwards the RAB allocation response message to the SGSN.
323、 SGSN向 UE发送二次上下文请求接受消息。  323. The SGSN sends a secondary context request accept message to the UE.
324、 SGSN向 GGSN发送二次上下文激活请求确认消息。  324. The SGSN sends a secondary context activation request acknowledgement message to the GGSN.
325、 UE向 T0F发送上行数据流, 所述上行数据流的源地址为 s rcl , 目的 地址为 ds t l。  325. The UE sends an uplink data stream to the T0F, where the source address of the uplink data stream is s rcl and the destination address is ds t l.
326、 TOF将所述上行数据流的隧道信息与 TOF记录的需要进行 SIPTO的数 据流的隧道信息 (SGSN隧道信息和 RNC隧道信息)进行比较, 并根据 T0F记录 的 SIPT0指示, 判断该条隧道上传输的数据流是否需要旁路。 如果所述上行数 据流的隧道信息与 T0F记录的需要进行 S I PT0的数据流的隧道信息相匹配, 则 根据所述 S IPT0指示确定该条隧道上传输的数据流需要旁路, 执行步骤 327; 所述根据所述 S IPT0指示确定该条隧道上传输的数据流需要旁路具体可 以包括: 所述 SIPTO指示为一个变量, 当该变量为 1时, 表示该条隧道上传输的数 据流需要旁路; 当该变量为 0时, 表示该条隧道上传输的数据流不需要旁路。 326. The TOF compares the tunnel information of the uplink data stream with the tunnel information (SGSN tunnel information and RNC tunnel information) of the TOF record that needs to perform SIPTO data flow, and determines the tunnel according to the SIPT0 indication recorded by the TOF. Whether the transmitted data stream needs to be bypassed. If the tunnel information of the uplink data stream matches the tunnel information of the data stream that needs to be SI PT0 recorded by the TOF, the data stream transmitted on the tunnel needs to be bypassed according to the SIPT0 indication, and step 327 is performed; Determining, according to the S IPT0 indication, that the data stream transmitted on the tunnel needs to be bypassed may include: The SIPTO is indicated as a variable. When the variable is 1, it indicates that the data stream transmitted on the tunnel needs to be bypassed. When the variable is 0, it indicates that the data stream transmitted on the tunnel does not need to be bypassed.
或者  Or
当携带所述 SIPT0指示时, 表示该条隧道上传输的数据流需要旁路; 当不 携带所述 S IPT0指示时, 表示该条隧道上传输的数据流不需要旁路。  When the SIPT0 indication is carried, it indicates that the data stream transmitted on the tunnel needs to be bypassed; when the S IPT0 indication is not carried, it indicates that the data stream transmitted on the tunnel does not need to be bypassed.
如果所述上行数据流的隧道信息与 T0F记录的需要进行 S IPT0的数据流的 隧道信息不匹配, 则确定该条隧道上传输的数据流不需要旁路, T0F不进行处 理, 所述上行数据流按照源地址和目的地址进行传送。  If the tunnel information of the uplink data stream does not match the tunnel information of the data stream that needs to be transmitted by the IPT0, it is determined that the data stream transmitted on the tunnel does not need to be bypassed, and the T0F does not process the uplink data. The stream is transmitted according to the source address and destination address.
327-330、 与步骤 212-215相同, 在此不再赘述。  327-330, which are the same as steps 212-215, and are not described herein again.
本发明实施例实现数据流旁路的方法, 首次上下文建立时, PCRF在下发 PCC规则的同时, 指示 GGSN激活预定义在 GGSN上的 SIPT0策略, GGSN触发二次 上下文激活请求, 在二次上下文激活请求消息的 PC0信元中携带 SIPT0指示; T0F根据获取的 SIPT0指示和隧道信息, 判断 UE发送的上行数据流是否需要旁 路, 当所述上行数据流需要旁路时, 对经过网络地址转换的所述上行数据流 进行旁路。 与现有技术相比, 本发明能够对用户在同一 APN下传输的各数据流 进行判断, 并对需要进行旁路的数据流进行旁路, 从而可以进一步地节省传 输资源。  In the embodiment of the present invention, the data stream is bypassed. When the first context is established, the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN, and the GGSN triggers the secondary context activation request in the secondary context activation. The PC0 cell of the request message carries the SIPT0 indication; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information, and when the uplink data stream needs to be bypassed, the network address translation is performed. The upstream data stream is bypassed. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
实施例四  Embodiment 4
本实施例提供一种实现数据流旁路的方法, 在本实施例中, UE发起二次 上下文激活请求, 当部属有 PCRF时, PCRF在下发 PCC规则的同时, 下发动态的 SIPT0策略, 或者, 未部属 PCRF时, GGSN匹配到 GGSN上静态配置的 SIPT0策略。 GGSN在二次激活响应消息的 PC0信元中携带 SIPT0指示。  The embodiment provides a method for implementing data flow bypass. In this embodiment, the UE initiates a secondary context activation request. When the PCRF is sent, the PCRF sends a dynamic SIPT0 policy, or When the PCRF is not attached, the GGSN matches the statically configured SIPT0 policy on the GGSN. The GGSN carries the SIPT0 indication in the PC0 cell of the secondary activation response message.
如图 4所示, 所述实现数据流旁路的方法包括:  As shown in FIG. 4, the method for implementing data flow bypass includes:
401、 UE向 SGSN发送二次上下文激活请求消息, 所述二次上下文激活请求 消息中携带 TI和 NSAPI。  401. The UE sends a secondary context activation request message to the SGSN, where the secondary context activation request message carries the TI and the NSAPI.
402、 T0F探测所述二次上下文激活请求消息, 记录 TI和 NSAPI。 403、 SGSN向 GGSN发送二次上下文建立请求消息。 402. The TOF detects the secondary context activation request message, and records the TI and the NSAPI. 403. The SGSN sends a secondary context setup request message to the GGSN.
404、 GGSN向 PCRF请求 PCC规则,所述请求中携带用户信息例如: APN、 IMSI ( Interna t iona l Mob i le Subscr iber Ident i ty, 国际移动用户识另1 J码)等, 以及业务信息例如: TFT ( Traff ic Flow Templa te , 业务流模板)等。 404, GGSN request PCC rules to the PCRF, wherein the request carries the user information, for example: APN, IMSI (Interna t iona l Mob i le Subscr iber Ident i ty, international mobile subscriber identification code further 1 J) and the like, and the service information e.g. : TFT (traff ic Flow Templa te, business flow template), etc.
405、 PCRF根据所述用户信息以及业务信息, 并根据自身配置以及运营商 策略和 SPR ( Subscr ipt ion Prof i le Repos i tory, 签约数据库)签约信息决 策出该业务的 SIPT0策略。  405. The PCRF determines, according to the user information and the service information, the SIPT0 policy of the service according to the self-configuration and the operator policy and the SPR (Subscribing Database) subscription information.
406、 PCRF向 GGSN下发 PCC规则, 同时下发 SIPT0策略。  406. The PCRF sends a PCC rule to the GGSN, and sends a SIPT0 policy.
可选地, 也可以由 GGSN匹配到 GGSN上配置的 SIPT0策略, 则所述步骤 404-406可以由如下步骤替代:  Alternatively, the GGSN may also be matched to the SIPT0 policy configured on the GGSN, and the steps 404-406 may be replaced by the following steps:
Sl、 GGSN根据二次上下文请求消息中的用户信息例如: APN、 IMSI等, 以 及业务信息例如: TFT等, 匹配到已配置的 SIPT0策略。  The GGSN matches the configured SIPT0 policy according to the user information in the secondary context request message, for example: APN, IMSI, etc., and service information such as: TFT.
407、 GGSN向 SGSN发送二次上下文响应消息, 所述二次上下文响应消息的 PC0信元中携带 SIPT0指示。  407. The GGSN sends a secondary context response message to the SGSN, where the PC0 cell of the secondary context response message carries a SIPT0 indication.
408、 SGSN向 RNC发送 RAB分配请求消息。 所述 RAB分配请求消息中携带 RAB ID和 SGSN隧道信息。  408. The SGSN sends an RAB allocation request message to the RNC. The RAB allocation request message carries the RAB ID and the SGSN tunnel information.
409、 T0F探测所述 RAB分配请求消息, 利用步骤 402记录的 NSAPI关联 RAB ID, 如果关联上, 则记录所述 RAB分配请求消息中的 RAB ID和 SGSN隧道信息; 如果关联不上, 则在后续过程中, 数据流不进行旁路。  409. The OT probes the RAB allocation request message, and uses the NSAPI associated with the RAB ID recorded in step 402. If the association is performed, the RAB ID and the SGSN tunnel information in the RAB allocation request message are recorded; if the association is not, the subsequent During the process, the data stream is not bypassed.
410、 T0F向 RNC转发所述 RAB分配请求消息。  410. The T0F forwards the RAB allocation request message to the RNC.
411、 RNC与 UE建立 RRC。  411. The RNC establishes an RRC with the UE.
412、 RNC分配用于下行数据流的隧道信息,向 SGSN发送 RAB分配响应消息。 412. The RNC allocates tunnel information for the downlink data flow, and sends an RAB allocation response message to the SGSN.
413、 T0F探测所述 RAB分配响应消息, 利用步骤 409中记录的 RAB ID关联 所述 RAB分配响应消息中携带的 RAB ID , 如果关联上, 则记录 RAB分配响应消 息中的 RNC隧道信息; 如果关联不上, 则在后续过程中, 数据流不进行旁路。 413. The OT probes the RAB allocation response message, and associates the RAB ID carried in the RAB allocation response message with the RAB ID recorded in step 409. If the association is performed, the RNC tunnel information in the RAB allocation response message is recorded; If not, the data stream is not bypassed in the subsequent process.
414、 SGSN向 UE回复二次上下文请求接受响应消息, 所述二次上下文请求 接受响应消息的 PC0信元中携带 S I PT0指示。 414. The SGSN returns a secondary context request acceptance response message to the UE, where the secondary context request is The PC PT0 indication is carried in the PC0 cell that accepts the response message.
415、 T0F探测所述二次上下文请求接受响应消息, 利用 T0F在步骤 402记 录的 TI关联该二次上下文请求接受响应消息中的 TI , 如果关联上, 则记录所 述二次上下文请求接受响应消息的 PC0信元中的 SIPT0指示; 如果关联不上, 则在后续过程中, 数据流不进行旁路。  415. The TOF detects the secondary context request accept response message, and the TI recorded in step 402 associates the TI in the second context request with the T0F, and if the association, records the secondary context request accept response message. The SIPT0 indication in the PC0 cell; if the association is not, the data flow is not bypassed in the subsequent process.
至此, T0F记录了需要进行 SIPT0的 TI、 NSAPI、 RAB ID、 SIPTO指示、 RNC 隧道信息和 SGSN隧道信息之间的对应关系。  So far, the T0F records the correspondence between the TI, NSAPI, RAB ID, SIPTO indication, RNC tunnel information, and SGSN tunnel information that need to be SIPT0.
进一步的, 为了保证 UE不感知到数据流的旁路, T0F可以将所述二次上下 文请求接受响应消息的 PC0信元中的 S I PT0指示去除。  Further, in order to ensure that the UE does not perceive the bypass of the data stream, the T0F may remove the S I PT0 indication in the PC0 cell of the secondary context request acceptance response message.
416、 T0F将已经去除 PC0信元中的 S IPT0指示的二次上下文请求接受响应 消息向 UE发送。  416. The T0F sends the secondary context request accept response message indicated by the S IPT0 in the PC0 cell to the UE.
417-422、 与步骤 325-330相同, 在此不再赘述。  417-422, which are the same as steps 325-330, and are not described herein again.
本发明实施例实现数据流旁路的方法, UE发起二次上下文激活请求, PCRF 在下发 PCC规则的同时, 下发动态的 SIPT0策略, 或者, GGSN匹配到 GGSN上配 置的 SIPT0策略, GGSN在二次激活响应消息的 PC0信元中携带 SIPT0指示; T0F 根据获取的 SIPT0指示和隧道信息, 判断 UE发送的上行数据流是否需要旁路, 当所述上行数据流需要旁路时, 对经过网络地址转换的所述上行数据流进行 旁路。 与现有技术相比, 本发明能够对用户在同一 APN下传输的各数据流进行 判断, 并对需要进行旁路的数据流进行旁路, 从而可以进一步地节省传输资 源。  In the embodiment of the present invention, the method for implementing data flow bypassing, the UE initiates a secondary context activation request, and the PCRF sends a dynamic SIPT0 policy at the same time as the PCC rule is sent, or the GGSN matches the SIPT0 policy configured on the GGSN, and the GGSN is in the second The PC0 cell of the secondary activation response message carries the SIPT0 indication; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information, and when the uplink data stream needs to be bypassed, the network address is passed. The converted upstream data stream is bypassed. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
实施例五  Embodiment 5
本实施例提供一种实现数据流旁路的方法, 在本实施例中, 首次上下文 建立时, PCRF在下发 PCC规则的同时, 指示 GGSN激活预定义在 GGSN上的 S IPT0 策略。 GGSN触发二次上下文激活, 在二次上下文激活请求消息中携带 S IPT0指 示。  This embodiment provides a method for implementing data flow bypass. In this embodiment, when the first context is established, the PCRF instructs the GGSN to activate the S IPT0 policy predefined on the GGSN. The GGSN triggers a secondary context activation, and carries a S IPT0 indication in the secondary context activation request message.
如图 5所示, 所述实现数据流旁路的方法包括: 501-507、 与步骤 301-307相同, 在此不再赘述。 As shown in FIG. 5, the method for implementing data flow bypass includes: 501-507, which are the same as steps 301-307, and are not described herein again.
508、 GGSN按照 SIPT0策略的 QCI , ARP以及 SIPT0指示执行承载绑定, 如果 绑定不到合适的承载, GGSN向 SGSN发送二次上下文激活请求消息, 所述二次 上下文激活请求消息中携带 SIPT0指示以及 Corre la t ion-ID , 所述 Co r r e 1 a t i on- 1 D用于 GGSN关联后续的二次上下文激活流程。  508. The GGSN performs the bearer binding according to the QCI, the ARP, and the SIPT0 of the SIPT0 policy. If the binding is not suitable, the GGSN sends a secondary context activation request message to the SGSN, where the secondary context activation request message carries the SIPT0 indication. And Corre la t ion-ID, the Co rre 1 ati on- 1 D is used for the subsequent secondary context activation process of the GGSN association.
509、 SGSN向 T0F发送二次上下文激活请求消息, 所述二次上下文激活请 求消息中携带 SGSN为该二次上下文激活请求分配的 TI , 以及 GGSN发送的二次 上下文激活请求消息中的 SIPT0指示。 SGSN记录 TI以及 GGSN发送来的二次上下 文激活请求消息中的 Co r r e 1 a t i on- 1 D的对应关系。  509. The SGSN sends a secondary context activation request message to the T0F, where the secondary context activation request message carries the TI allocated by the SGSN for the secondary context activation request, and the SIPT0 indication in the secondary context activation request message sent by the GGSN. The SGSN records the correspondence between Co r r e 1 a t i on- 1 D in the secondary context activation request message sent by the TI and the GGSN.
510、 T0F探测所述二次上下文激活请求消息, 记录 TI以及 SIPT0指示。 进一步的, 为了保证 UE不感知到数据流的旁路, T0F可以将所述二次上下 文激活请求消息中的 S I PT0指示去除。  510. The TOF detects the secondary context activation request message, and records the TI and SIPT0 indications. Further, in order to ensure that the UE does not perceive the bypass of the data flow, the T0F may remove the S I PT0 indication in the secondary context activation request message.
511-530、 与步骤 311-330相同, 在此不再赘述。  511-530, which is the same as steps 311-330, and details are not described herein again.
本发明实施例实现数据流旁路的方法, 首次上下文建立时, PCRF在下发 PCC规则的同时, 指示 GGSN激活预定义在 GGSN上的 SIPT0策略, GGSN触发二次 上下文激活, 在二次上下文激活请求消息中携带 SIPT0指示; T0F根据获取的 SIPT0指示和隧道信息, 判断 UE发送的上行数据流是否需要旁路, 当所述上行 数据流需要旁路时, 对经过网络地址转换的所述上行数据流进行旁路。 与现 有技术相比, 本发明能够对用户在同一 APN下传输的各数据流进行判断, 并对 需要进行旁路的数据流进行旁路, 从而可以进一步地节省传输资源。  In the embodiment of the present invention, when the first context is established, the PCRF instructs the GGSN to activate the SIPT0 policy predefined on the GGSN, and the GGSN triggers the secondary context activation in the secondary context activation request. The message carries the SIPT0 indication. The T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information. When the uplink data stream needs to be bypassed, the uplink data stream that is converted by the network address is used. Bypass. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
实施例六  Embodiment 6
本实施例提供一种实现数据流旁路的方法, 在本实施例中, UE发起二次 上下文激活请求, 当部属有 PCRF时, PCRF在下发 PCC规则的同时, 下发动态的 SIPT0策略, 或者, 未部属有 PCRF时, GGSN匹配到 GGSN上静态配置的 S IPT0策 略。 GGSN在二次激活响应消息中携带 S IPT0指示。  The embodiment provides a method for implementing data flow bypass. In this embodiment, the UE initiates a secondary context activation request. When the PCRF is sent, the PCRF sends a dynamic SIPT0 policy, or When there is a PCRF in the other part, the GGSN matches the statically configured SIPT0 policy on the GGSN. The GGSN carries the S IPT0 indication in the secondary activation response message.
如图 6所示, 所述实现数据流旁路的方法包括: 601-606、 与步骤 401-406相同, 在此不再赘述。 As shown in FIG. 6, the method for implementing data flow bypass includes: 601-606, which are the same as steps 401-406, and are not described herein again.
可选地, 也可以由 GGSN匹配到 GGSN上配置的 SIPT0策略, 则所述步骤 604-606可以由如下步骤替代:  Alternatively, the GGSN may also be matched to the SIPT0 policy configured on the GGSN, and the steps 604-606 may be replaced by the following steps:
Ll、 GGSN根据二次上下文请求消息中的用户信息例如: APN、 IMSI等, 以 及业务信息例如: TFT等, 匹配到已配置的 SIPT0策略。  The L1 and the GGSN match the configured SIPT0 policy according to the user information in the secondary context request message, for example: APN, IMSI, etc., and service information such as: TFT.
607、 GGSN向 SGSN发送二次上下文响应消息, 所述二次上下文响应消息中 携带 SIPT0指示。  607. The GGSN sends a secondary context response message to the SGSN, where the secondary context response message carries a SIPT0 indication.
608-613、 与步骤 508-513相同, 在此不再赘述。  608-613, which are the same as steps 508-513, and are not described herein again.
614、 SGSN向 T0F回复二次上下文请求接受响应消息, 所述二次上下文请 求接受响应消息中携带 S I PT0指示。  614. The SGSN returns a secondary context request acceptance response message to the T0F, where the secondary context request acceptance response message carries the S I PT0 indication.
615、 T0F探测所述二次上下文请求接受响应消息, 利用 T0F之前记录的 TI 关联该二次上下文请求接受响应消息中的 TI , 如果关联上, 则记录所述二次 上下文请求接受响应消息中的 S IPT0指示; 如果关联不上, 则在后续过程中, 数据流不进行旁路。  615. The T0F detects the secondary context request accept response message, and uses the TI record previously recorded by the TOF to associate the TI in the response request message with the TI context. If the association is performed, the second context request accept response message is recorded. S IPT0 indicates; if the association is not available, the data flow is not bypassed in the subsequent process.
至此, T0F记录了需要进行 SIPT0的 TI、 NSAPI、 RAB ID、 SIPTO指示、 RNC 隧道信息和 SGSN隧道信息之间的对应关系。  So far, the T0F records the correspondence between the TI, NSAPI, RAB ID, SIPTO indication, RNC tunnel information, and SGSN tunnel information that need to be SIPT0.
进一步的, 为了保证 UE不感知到数据流的旁路, T0F可以将所述二次上下 文请求接受响应消息中的 S I PT0指示去除。  Further, in order to ensure that the UE does not perceive the bypass of the data flow, the T0F may remove the S I PT0 indication in the secondary context request acceptance response message.
616、 T0F将已经去除 SIPT0指示的二次上下文请求接受响应消息向 UE发 送。  616. The T0F sends the secondary context request accept response message that has been removed by the SIPT0 to the UE.
617-622、 与步骤 417-422相同, 在此不再赘述。  617-622, which are the same as steps 417-422, and are not described here.
本发明实施例实现数据流旁路的方法, UE发起二次上下文激活请求, PCRF 在下发 PCC规则的同时, 下发动态的 SIPT0策略, 或者, GGSN匹配到 GGSN上配 置的 SIPT0策略, GGSN在二次激活响应消息中携带 S IPT0指示; T0F根据获取的 SIPT0指示和隧道信息, 判断 UE发送的上行数据流是否需要旁路, 当所述上行 数据流需要旁路时, 对经过网络地址转换的所述上行数据流进行旁路。 与现 有技术相比, 本发明能够对用户在同一 APN下传输的各数据流进行判断, 并对 需要进行旁路的数据流进行旁路, 从而可以进一步地节省传输资源。 In the embodiment of the present invention, the method for implementing data flow bypassing, the UE initiates a secondary context activation request, and the PCRF sends a dynamic SIPT0 policy at the same time as the PCC rule is sent, or the GGSN matches the SIPT0 policy configured on the GGSN, and the GGSN is in the second The secondary activation response message carries the IPT0 indication; the T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the obtained SIPT0 indication and the tunnel information, and when the uplink data stream needs to be bypassed, the network address translation is performed. The upstream data stream is bypassed. And now Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
实施例七  Example 7
本实施例提供一种实现数据流旁路的方法, 在本实施例中, UE发起二次 上下文修改, 增添已有 TFT的过滤信息, PCRF下发 S IPT0策略时指定过滤信息, GGSN在信令消息中携带带有过滤信息的 S IPT0指示。  This embodiment provides a method for implementing data flow bypass. In this embodiment, the UE initiates a secondary context modification, and adds filtering information of the existing TFT. When the PCRF sends the IPT0 policy, the filtering information is specified, and the GGSN is signaling. The message carries the SIPT0 indication with filtering information.
如图 7所示, 所述实现数据流旁路的方法包括:  As shown in FIG. 7, the method for implementing data flow bypass includes:
701、 UE向 SGSN发起二次上下文修改请求, 请求增添已有 TFT的过滤信息。 701. The UE sends a secondary context modification request to the SGSN, requesting to add the filtering information of the existing TFT.
702、 SGSN向 GGSN发送更新二次上下文请求消息。 702. The SGSN sends an update secondary context request message to the GGSN.
703、 GGSN向 PCRF发送 IP-CAN修改请求, 并请求 PCC规则, 所述请求中携 带修改的 TFT信息、 TFT操作等。  703. The GGSN sends an IP-CAN modification request to the PCRF, and requests a PCC rule, where the request carries the modified TFT information, the TFT operation, and the like.
704、 PCRF根据 GGSN发送的用户信息以及业务信息, 并根据自身配置以及 运营商策略和 SPR签约信息决策出该业务的 SIPT0策略。  704. The PCRF determines the SIPT0 policy of the service according to the user information and the service information sent by the GGSN according to the configuration, the operator policy, and the SPR subscription information.
705、 PCRF向 GGSN下发 PCC规则, 同时下发 SIPT0策略。 如果 PCRF判断 TFT 增添部分对应业务 S IPT0策略和之前业务流的 SIPT0策略不同, 可针对业务流 下发 SIPT0策略。 即下发 SIPT0策略时指定过滤信息。  705. The PCRF sends a PCC rule to the GGSN, and sends a SIPT0 policy. If the PCRF determines that the TFT-added part of the corresponding service S IPT0 policy is different from the SIPT0 policy of the previous service flow, the SIPT0 policy can be sent for the service flow. That is, the filtering information is specified when the SIPT0 policy is delivered.
706、 GGSN向 SGSN发送更新二次上下文响应消息, 所述更新二次上下文响 应消息中携带带有过滤信息的 S I PT0指示。  706. The GGSN sends an update secondary context response message to the SGSN, where the updated secondary context response message carries an S I PT0 indication with filtering information.
707、 SGSN向 UE发送二次上下文修改接受响应消息, 所述二次上下文修改 接受响应消息中携带带有过滤信息的 S I PT0指示。  707. The SGSN sends a secondary context modification accept response message to the UE, where the secondary context modification accept response message carries an S I PT0 indication with filtering information.
708、 T0F探测所述二次上下文修改接受响应消息, 利用 T0F之前记录的 TI 关联所述二次上下文修改接受响应消息中的 TI , 如果关联上, 则记录所述二 次上下文修改接受响应消息中的 SIPT0指示和过滤信息; 如果关联不上, 则在 后续过程中, 数据流不进行旁路。  708. The T0F detects the secondary context modification accept response message, and uses the TI record previously recorded by the TOF to associate the TI in the second context modification response response message, and if the association is performed, record the secondary context modification accept response message. The SIPT0 indicates and filters the information; if the association is not, the data flow is not bypassed in the subsequent process.
进一步的, 为了保证 UE不会感知到 SIPTO , T0F可以将所述二次上下文修 改接受响应消息中的 S I PT0指示以及过滤信息去除。 709、 TOF将已经去除 SIPTO指示的二次上下文修改接受响应消息转发给Further, in order to ensure that the UE does not perceive the SIPTO, the T0F may remove the SI PT0 indication and the filtering information in the secondary context modification acceptance response message. 709. The TOF forwards the secondary context modification acceptance response message that has been removed from the SIPTO indication.
UE。 UE.
710、 UE向 TOF发送上行数据流, 所述上行数据流的源地址为 s rcl , 目的 地址为 ds t l。  710. The UE sends an uplink data stream to the TOF, where the source address of the uplink data stream is s rcl and the destination address is ds t l.
711、 TOF将所述上行数据流的过滤信息与 TOF记录的过滤信息进行比较, 并根据 T0F记录的 SIPT0指示, 判断所述上行数据流是否需要旁路。 如果所述 上行数据流的过滤信息与 T0F记录的过滤信息相匹配, 则根据所述 SIPT0指示 确定所述上行数据流需要旁路, 执行步骤 712;  711. The TOF compares the filtering information of the uplink data stream with the filtering information of the TOF record, and determines whether the uplink data stream needs to be bypassed according to the SIPT0 indication recorded by the TOF. If the filtering information of the uplink data stream matches the filtering information of the T0F record, determining that the uplink data stream needs to be bypassed according to the SIPT0 indication, and performing step 712;
所述根据所述 SIPT0指示确定所述上行数据流需要旁路具体可以包括: 所述 SIPT0指示为一个变量, 当该变量为 1时, 表示所述上行数据流需要 旁路; 当该变量为 0时, 表示所述上行数据流不需要旁路。  The determining that the uplink data stream needs to be bypassed according to the SIPT0 indication may include: the SIPT0 indication is a variable, when the variable is 1, indicating that the uplink data stream needs to be bypassed; when the variable is 0 When it is indicated, the upstream data stream does not need to be bypassed.
或者  Or
当携带所述 SIPT0指示时, 表示所述上行数据流需要旁路; 当不携带所述 SIPT0指示时, 表示所述上行数据流不需要旁路。  When the SIPT0 indication is carried, it indicates that the uplink data stream needs to be bypassed; when the SIPT0 indication is not carried, it indicates that the uplink data stream does not need to be bypassed.
如果所述上行数据流的过滤信息与 T0F记录的过滤信息不匹配, 则确定所 述上行数据流不需要旁路, T0F不进行处理, 所述上行数据流按照源地址和目 的地址进行传送。  If the filtering information of the uplink data stream does not match the filtering information recorded by the TOF, it is determined that the uplink data stream does not need to be bypassed, and the TOF does not perform processing, and the uplink data stream is transmitted according to the source address and the destination address.
712-715、 与步骤 212-215相同, 在此不再赘述。  712-715 is the same as steps 212-215, and details are not described herein again.
本发明实施例实现数据流旁路的方法, UE发起二次上下文修改, 增添已 有 TFT的过滤信息, PCRF下发 SIPT0策略时指定过滤信息, GGSN在信令消息中 携带透传级别的 S IPT0指示; T0F根据由信令消息中获取的 SIPT0指示和过滤信 息, 判断 UE发送的上行数据流是否需要旁路, 当所述上行数据流需要旁路时, 对经过网络地址转换的所述上行数据流进行旁路。 与现有技术相比, 本发明 能够对用户在同一 APN下传输的各数据流进行判断, 并对需要进行旁路的数据 流进行旁路, 从而可以进一步地节省传输资源。  In the embodiment of the present invention, the method for implementing the data flow bypassing, the UE initiates the secondary context modification, and adds the filtering information of the existing TFT. When the PCRF sends the SIPT0 policy, the filtering information is specified, and the GGSN carries the transparent transmission level of the IPT0 in the signaling message. The T0F determines whether the uplink data stream sent by the UE needs to be bypassed according to the SIPT0 indication and the filtering information obtained by the signaling message, and the uplink data that is converted by the network address when the uplink data stream needs to be bypassed. The flow is bypassed. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
实施例八 本实施例提供一种旁路功能实体, 如图 8所示, 所述旁路功能实体包括: 获取模块 81 , 用于获取旁路流描述信息以及信令消息中携带的旁路指示; 当所述旁路流描述信息为旁路流信息或旁路过滤信息时, 所述获取模块 81由所述信令消息中获取所述旁路流描述信息; Example eight The embodiment provides a bypass function entity. As shown in FIG. 8, the bypass function entity includes: an obtaining module 81, configured to acquire a bypass flow description information and a bypass indication carried in the signaling message; When the bypass flow description information is bypass flow information or bypass filtering information, the acquiring module 81 obtains the bypass flow description information from the signaling message;
当所述旁路流描述信息为旁路隧道信息时, 所述获取模块 81通过探测 RNC 与 SGSN之间的信令信息获取所述旁路流描述信息。  When the bypass flow description information is bypass tunnel information, the acquiring module 81 acquires the bypass flow description information by detecting signaling information between the RNC and the SGSN.
判断模块 82 , 用于根据所述旁路指示以及旁路流描述信息, 判断终端发 送的上行数据流是否需要旁路;  The determining module 82 is configured to determine, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed;
旁路模块 83 , 用于当所述上行数据流需要旁路时, 对经过网络地址转换 的所述上行数据流进行旁路。  The bypass module 83 is configured to bypass the uplink data stream that is subjected to network address translation when the uplink data stream needs to be bypassed.
其中, 所述旁路指示以及旁路流描述信息由非旁路网关根据获取到的旁 路策略得到, 所述非旁路网关获取旁路策略可以釆用以下方法进行:  The bypass indication and the bypass flow description information are obtained by the non-bypass gateway according to the obtained bypass policy, and the non-bypass gateway acquiring the bypass policy may be performed by using the following methods:
根据 PCRF下发的预定义的旁路策略, 激活 PCRF指定的预定义的旁路策略; 或者  Activating a predefined bypass policy specified by the PCRF according to a predefined bypass policy delivered by the PCRF; or
接收 PCRF动态下发的旁路策略; 或者  Receiving a bypass policy dynamically sent by the PCRF; or
匹配自身静态配置的旁路策略。  Match the bypass policy of its static configuration.
所述非旁路网关将所述旁路指示以及旁路流描述信息通过信令消息进行 传递, 具体的传递方法可以包括:  The non-bypassing gateway transmits the bypass indication and the bypass flow description information by using a signaling message, and the specific delivery method may include:
将所述旁路指示以及旁路流描述信息通过所述信令消息中已有的信元透 传; 或者  Passing the bypass indication and the bypass flow description information through existing cells in the signaling message; or
将所述旁路指示以及旁路流描述信息通过所述信令消息中新增的信元传 递。  The bypass indication and the bypass flow description information are passed through the newly added cells in the signaling message.
其中, 所述非旁路网关可以为 GGSN , 但不仅限于此。  The non-bypass gateway may be a GGSN, but is not limited thereto.
进一步的, 如图 9、 图 1 0、 图 1 1、 图 12所示, 所述旁路功能实体还可以包 括:  Further, as shown in FIG. 9, FIG. 10, FIG. 11, and FIG. 12, the bypass function entity may further include:
去除模块 84 , 用于将所述信令消息中的旁路指示去除; 第一发送模块 85 , 用于将去除旁路指示的所述信令消息向终端发送。 进一步的, 当所述旁路流描述信息为旁路流信息或旁路过滤信息时, 所 述获取模块 81 , 具体用于获取信令消息中携带的旁路指示及旁路流描述信息; 所述去除模块 84 , 具体用于将所述信令消息中的旁路指示以及旁路流描 述信息去除; a removing module 84, configured to remove a bypass indication in the signaling message; The first sending module 85 is configured to send the signaling message that removes the bypass indication to the terminal. Further, when the bypass flow description information is the bypass flow information or the bypass filter information, the acquiring module 81 is specifically configured to acquire the bypass indication and the bypass flow description information carried in the signaling message; The removing module 84 is specifically configured to remove the bypass indication and the bypass flow description information in the signaling message;
所述第一发送模块 85 , 具体用于将去除旁路指示以及旁路流描述信息的 所述信令消息向终端发送。  The first sending module 85 is specifically configured to send the signaling message that removes the bypass indication and the bypass flow description information to the terminal.
进一步的, 如图 9、 图 10、 图 11、 图 12所示, 所述旁路功能实体还可以包 括:  Further, as shown in FIG. 9, FIG. 10, FIG. 11, and FIG. 12, the bypass function entity may further include:
第二发送模块 86 , 用于将经过网络地址转换恢复的下行数据流向终端发 送。  The second sending module 86 is configured to send the downlink data stream recovered by the network address translation to the terminal.
进一步的, 如图 9所示, 所述获取模块 81可以包括:  Further, as shown in FIG. 9, the obtaining module 81 may include:
第一获取单元 811 , 用于对发送至终端的首次上下文响应消息进行探测, 获取旁路指示和旁路流信息;  The first obtaining unit 811 is configured to detect a first context response message sent to the terminal, and obtain a bypass indication and bypass flow information.
所述判断模块 82可以包括:  The determining module 82 can include:
第一判断单元 821 , 用于将所述上行数据流的流信息与所述旁路流信息进 行比较, 当所述上行数据流的流信息与所述旁路流信息相匹配时, 根据所述 旁路指示确定所述上行数据流需要旁路。  The first determining unit 821 is configured to compare the flow information of the uplink data stream with the bypass flow information, and when the flow information of the uplink data flow matches the bypass flow information, according to the The bypass indication determines that the upstream data stream needs to be bypassed.
进一步的, 如图 1 0、 图 1 1所示, 所述获取模块 81可以包括:  Further, as shown in FIG. 10 and FIG. 11 , the obtaining module 81 may include:
第二获取单元 812 , 用于获取旁路指示和旁路隧道信息;  a second obtaining unit 812, configured to acquire a bypass indication and bypass tunnel information;
所述判断模块 82可以包括:  The determining module 82 can include:
第二判断单元 822 , 用于将所述上行数据流的隧道信息与所述旁路隧道信 息进行比较, 当所述上行数据流的隧道信息与所述旁路隧道信息相匹配时, 根据所述旁路指示确定所述上行数据流需要旁路。  The second determining unit 822 is configured to compare the tunnel information of the uplink data stream with the bypass tunnel information, and when the tunnel information of the uplink data stream matches the bypass tunnel information, according to the The bypass indication determines that the upstream data stream needs to be bypassed.
进一步的, 如图 1 0所示, 所述第二获取单元 812可以包括:  Further, as shown in FIG. 10, the second obtaining unit 812 may include:
第一获取子单元 8121 , 用于对发送至终端的二次上下文激活请求消息进 行探测, 获取旁路指示和会话标识 τι; a first obtaining sub-unit 8121, configured to send a secondary context activation request message to the terminal Line detection, get bypass indication and session identifier τι;
第二获取子单元 8122 , 用于对终端发出的二次上下文激活请求消息进行 探测, 将所述 ΤΙ与所述二次上下文激活请求消息中的 ΤΙ进行关联, 获取网络 业务接入点标识 NSAPI ;  The second obtaining sub-unit 8122 is configured to detect a secondary context activation request message sent by the terminal, and associate the ΤΙ with the ΤΙ in the secondary context activation request message to obtain a network service access point identifier NSAPI;
第三获取子单元 8123 , 用于对发送至 RNC的无线接入承载 RAB分配请求消 息进行探测, 将所述 NSAPI与所述 RAB分配请求消息中的 RAB ID进行关联, 获 取 SGSN隧道信息;  The third obtaining sub-unit 8123 is configured to detect a radio access bearer RAB allocation request message sent to the RNC, and associate the NSAPI with the RAB ID in the RAB allocation request message to obtain the SGSN tunnel information.
第四获取子单元 8124 , 用于对 RNC的 RAB响应消息进行探测, 将所述 NSAPI 与所述 RAB响应消息中的 RAB I D进行关联, 获取 RNC隧道信息。  The fourth obtaining sub-unit 8124 is configured to detect an RAB response message of the RNC, and associate the NSAPI with the RAB I D in the RAB response message to obtain RNC tunnel information.
进一步的, 如图 11所示, 所述第二获取单元 812可以包括:  Further, as shown in FIG. 11, the second obtaining unit 812 may include:
第五获取子单元 8125 , 用于对终端发出的二次上下文激活请求消息进行 探测, 获取 TI和 NSAPI ;  The fifth obtaining subunit 8125 is configured to detect a secondary context activation request message sent by the terminal, and acquire the TI and the NSAPI;
第六获取子单元 8126 , 用于对发送至 RNC的 RAB分配请求消息进行探测, 将所述 NSAPI与所述 RAB分配请求消息中的 RAB ID进行关联, 获取 SGSN隧道信 息;  The sixth obtaining sub-unit 8126 is configured to detect the RAB allocation request message sent to the RNC, and associate the NSAPI with the RAB ID in the RAB allocation request message to obtain the SGSN tunnel information.
第七获取子单元 8127 , 用于对 RNC的 RAB响应消息进行探测, 将所述 NSAPI 与所述 RAB响应消息中的 RAB I D进行关联, 获取 RNC隧道信息;  The seventh obtaining subunit 8127 is configured to detect an RAB response message of the RNC, and associate the NSAPI with the RAB I D in the RAB response message to obtain RNC tunnel information.
第八获取子单元 8128 , 用于对发送至终端的二次上下文激活响应消息进 行探测, 将所述 TI与所述二次上下文激活响应消息中的 TI进行关联, 获取旁 路指示。  The eighth obtaining subunit 8128 is configured to detect a secondary context activation response message sent to the terminal, and associate the TI with the TI in the secondary context activation response message to obtain a bypass indication.
进一步的, 如图 12所示, 所述获取模块 81可以包括:  Further, as shown in FIG. 12, the obtaining module 81 may include:
第三获取单元 813 , 用于对发送至终端的二次上下文修改接受响应消息进 行探测, 将记录的 TI与所述二次上下文修改接受响应消息中的 TI进行关联, 获取旁路指示和旁路过滤信息, 其中, 所述二次上下文修改接受响应消息中 携带带有过滤信息的 S I PT0指示;  The third obtaining unit 813 is configured to detect a secondary context modification acceptance response message sent to the terminal, associate the recorded TI with the TI in the secondary context modification acceptance response message, and obtain a bypass indication and a bypass. Filtering information, where the secondary context modification accept response message carries an SI PT0 indication with filtering information;
所述判断模块 82可以包括: 第三判断单元 823 , 用于将所述上行数据流的过滤信息与所述旁路过滤信 息进行比较, 当所述上行数据流的过滤信息与所述旁路过滤信息相匹配时, 根据所述旁路指示确定所述上行数据流需要旁路。 The determining module 82 can include: The third determining unit 823 is configured to compare the filtering information of the uplink data stream with the bypass filtering information, and when the filtering information of the uplink data stream matches the bypass filtering information, according to the The bypass indication determines that the upstream data stream needs to be bypassed.
在本实施例中, 所述旁路功能实体的具体实现形式可以为 T0F , 但不仅限 于此。  In this embodiment, the specific implementation form of the bypass function entity may be T0F, but is not limited thereto.
本发明实施例旁路功能实体, 旁路功能实体根据旁路流描述信息以及由 信令消息中获取的旁路指示, 判断终端发送的上行数据流是否需要旁路, 当 所述上行数据流需要旁路时, 对经过网络地址转换的所述上行数据流进行旁 路。 与现有技术相比, 本发明能够对用户在同一 APN下传输的各数据流进行判 断, 并对需要进行旁路的数据流进行旁路, 从而可以进一步地节省传输资源。  The bypass function entity of the embodiment of the present invention, the bypass function entity determines whether the uplink data stream sent by the terminal needs to be bypassed according to the bypass flow description information and the bypass indication obtained by the signaling message, when the uplink data flow needs When bypassing, the upstream data stream that has undergone network address translation is bypassed. Compared with the prior art, the present invention can judge each data stream transmitted by the user under the same APN, and bypass the data stream that needs to be bypassed, thereby further saving transmission resources.
本发明实施例提供的实现数据流旁路的装置可以实现上述提供的方法实 施例。 本发明实施例提供的实现数据流旁路的方法和装置可以适用于 GPRS网 络下的数据流旁路, 但不仅限于此。  The apparatus for implementing data flow bypass provided by the embodiment of the present invention can implement the method embodiment provided above. The method and apparatus for implementing data flow bypass provided by the embodiments of the present invention can be applied to data flow bypass under the GPRS network, but is not limited thereto.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, ROM )或随机存 己忆体 ( Random Access Memory, RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保 护范围应该以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope of the present invention is All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要求 书 Claim
1、 一种实现数据流旁路的方法, 其特征在于, 包括:  A method for implementing data flow bypass, which is characterized by comprising:
旁路功能实体获取旁路流描述信息以及信令消息中携带的旁路指示; 旁路功能实体根据所述旁路指示以及旁路流描述信息, 判断终端发送的上 行数据流是否需要旁路;  The bypass function entity obtains the bypass flow description information and the bypass indication carried in the signaling message; the bypass function entity determines, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed;
当所述上行数据流需要旁路时, 旁路功能实体对经过网络地址转换的所述 上行数据流进行旁路。  When the upstream data stream needs to be bypassed, the bypass function entity bypasses the upstream data stream that has undergone network address translation.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising:
非旁路网关获取旁路策略;  The non-bypass gateway acquires a bypass policy;
非旁路网关通过信令消息传递旁路指示以及旁路流描述信息, 所述旁路指 示以及旁路流描述信息根据所述旁路策略得到。  The non-bypass gateway passes the bypass indication and the bypass flow description information through the signaling message, and the bypass indication and the bypass flow description information are obtained according to the bypass policy.
3、 根据权利要求 2所述的方法, 其特征在于, 所述非旁路网关获取旁路策 略包括:  The method according to claim 2, wherein the non-bypassing gateway acquiring the bypass policy comprises:
根据策略和计费规则功能实体 PCRF下发的预定义的旁路策略, 激活 PCRF指 定的预定义的旁路策略; 或者  Activating a predefined bypass policy specified by the PCRF according to a predefined bypass policy delivered by the functional entity PCRF of the policy and charging rule; or
接收 PCRF动态下发的旁路策略; 或者  Receiving a bypass policy dynamically sent by the PCRF; or
匹配自身静态配置的旁路策略。  Match the bypass policy of its static configuration.
4、 根据权利要求 2所述的方法, 其特征在于, 所述非旁路网关通过信令消 息传递旁路指示以及旁路流描述信息包括:  The method according to claim 2, wherein the non-bypassing gateway transmits the bypass indication and the bypass flow description information by using the signaling message, including:
将所述旁路指示以及旁路流描述信息通过所述信令消息中已有的信元透 传; 或者  Passing the bypass indication and the bypass flow description information through existing cells in the signaling message; or
将所述旁路指示以及旁路流描述信息通过所述信令消息中新增的信元传 递。  The bypass indication and the bypass flow description information are passed through the newly added cells in the signaling message.
5、 根据权利要求 1所述的方法, 其特征在于, 在所述旁路功能实体获取旁 路流描述信息以及信令消息中携带的旁路指示之后, 还包括:  The method according to claim 1, wherein after the bypass function entity acquires the bypass flow description information and the bypass indication carried in the signaling message, the method further includes:
旁路功能实体将所述信令消息中的旁路指示去除; 旁路功能实体将去除旁路指示的所述信令消息向终端发送。 The bypass function entity removes the bypass indication in the signaling message; The bypass function entity sends the signaling message that removes the bypass indication to the terminal.
6、 根据权利要求 5所述的方法, 其特征在于, 当所述旁路流描述信息为旁 路流信息或旁路过滤信息时, 所述旁路功能实体获取旁路流描述信息以及信令 消息中携带的旁路指示包括:  The method according to claim 5, wherein when the bypass flow description information is bypass flow information or bypass filtering information, the bypass function entity acquires bypass flow description information and signaling The bypass indication carried in the message includes:
旁路功能实体获取信令消息中携带的旁路指示及旁路流描述信息; 所述旁路功能实体将所述信令消息中的旁路指示去除; 旁路功能实体将去 除旁路指示的所述信令消息向终端发送包括:  The bypass function entity acquires the bypass indication and the bypass flow description information carried in the signaling message; the bypass function entity removes the bypass indication in the signaling message; the bypass function entity removes the bypass indication The sending the signaling message to the terminal includes:
旁路功能实体将所述信令消息中的旁路指示以及旁路流描述信息去除; 旁路功能实体将去除旁路指示以及旁路流描述信息的所述信令消息向终端 发送。  The bypass function entity removes the bypass indication and the bypass flow description information in the signaling message; the bypass function entity transmits the signaling message that removes the bypass indication and the bypass flow description information to the terminal.
7、 根据权利要求 1所述的方法, 其特征在于, 还包括:  7. The method according to claim 1, further comprising:
旁路功能实体将经过网络地址转换恢复的下行数据流向终端发送。  The bypass function entity sends the downlink data stream recovered by the network address translation to the terminal.
8、 根据权利要求 1、 5或 7所述的方法, 其特征在于, 所述获取旁路流描述 信息以及信令消息中携带的旁路指示包括:  The method according to claim 1, 5 or 7, wherein the acquiring the bypass flow description information and the bypass indication carried in the signaling message comprises:
对发送至终端的首次上下文响应消息进行探测, 获取旁路指示和旁路流信 息;  Detecting the first context response message sent to the terminal, obtaining the bypass indication and the bypass flow information;
所述旁路功能实体根据所述旁路指示以及旁路流描述信息, 判断终端发送 的上行数据流是否需要旁路包括:  The bypass function entity determines, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed, including:
将所述上行数据流的流信息与所述旁路流信息进行比较, 当所述上行数据 流的流信息与所述旁路流信息相匹配时, 根据所述旁路指示确定所述上行数据 流需要旁路。  Comparing the flow information of the uplink data stream with the bypass flow information, and determining, when the flow information of the uplink data flow matches the bypass flow information, the uplink data according to the bypass indication The flow needs to be bypassed.
9、 根据权利要求 1、 5或 7所述的方法, 其特征在于, 所述获取旁路流描述 信息以及信令消息中携带的旁路指示包括:  The method according to claim 1, 5 or 7, wherein the acquiring the bypass flow description information and the bypass indication carried in the signaling message comprises:
获取旁路指示和旁路隧道信息;  Obtaining bypass indication and bypass tunnel information;
所述根据所述旁路指示以及旁路流描述信息, 判断终端发送的上行数据流 是否需要旁路包括: 将所述上行数据流的隧道信息与所述旁路隧道信息进行比较, 当所述上行 数据流的隧道信息与所述旁路隧道信息相匹配时, 根据所述旁路指示确定所述 上行数据流需要旁路。 Determining, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be bypassed includes: Comparing the tunnel information of the uplink data stream with the bypass tunnel information, and when the tunnel information of the uplink data stream matches the bypass tunnel information, determining the uplink data according to the bypass indication The flow needs to be bypassed.
10、 根据权利要求 9所述的方法, 其特征在于, 所述获取旁路指示和旁路隧 道信息包括:  10. The method according to claim 9, wherein the acquiring the bypass indication and the bypass tunnel information comprises:
对发送至终端的二次上下文激活请求消息进行探测, 获取旁路指示和会话 标识 TI ;  Detecting a secondary context activation request message sent to the terminal, acquiring a bypass indication and a session identifier TI;
对终端发出的二次上下文激活请求消息进行探测, 将所述 TI与所述二次上 下文激活请求消息中的 T I进行关联, 获取网络业务接入点标识 NS AP I;  Detecting a secondary context activation request message sent by the terminal, and associating the TI with the T I in the secondary context activation request message to obtain a network service access point identifier NS AP I;
对发送至 RNC的无线接入承载 RAB分配请求消息进行探测, 将所述 NS AP I与所 述 RAB分配请求消息中的 RAB ID进行关联, 获取 SGSN隧道信息;  Detecting a radio access bearer RAB allocation request message sent to the RNC, and associating the NS AP I with the RAB ID in the RAB allocation request message to obtain SGSN tunnel information;
对 RNC的 RAB响应消息进行探测,将所述 NSAPI与所述 RAB响应消息中的 RAB ID 进行关联, 获取 RNC隧道信息。  The RAB response message of the RNC is detected, and the NSAPI is associated with the RAB ID in the RAB response message to obtain RNC tunnel information.
11、 根据权利要求 9所述的方法, 其特征在于, 所述获取旁路指示和旁路隧 道信息包括:  The method according to claim 9, wherein the acquiring the bypass indication and the bypass tunnel information comprises:
对终端发出的二次上下文激活请求消息进行探测, 获取 T I和 NS AP I; 对发送至 RNC的 RAB分配请求消息进行探测, 将所述 NSAPI与所述 RAB分配请 求消息中的 RAB ID进行关联, 获取 SGSN隧道信息;  Detecting a secondary context activation request message sent by the terminal, acquiring the TI and the NS AP I; detecting the RAB allocation request message sent to the RNC, and associating the NSAPI with the RAB ID in the RAB allocation request message, Obtain SGSN tunnel information;
对 RNC的 RAB响应消息进行探测,将所述 NSAPI与所述 RAB响应消息中的 RAB ID 进行关联, 获取 RNC隧道信息;  Detecting the RAB response message of the RNC, associating the NSAPI with the RAB ID in the RAB response message, and acquiring the RNC tunnel information;
对发送至终端的二次上下文激活响应消息进行探测, 将所述 TI与所述二次 上下文激活响应消息中的 T I进行关联, 获取旁路指示。  The secondary context activation response message sent to the terminal is detected, and the TI is associated with the T I in the secondary context activation response message to obtain a bypass indication.
12、 根据权利要求 1、 5或 7所述的方法, 其特征在于, 所述获取旁路流描述 信息以及信令消息中携带的旁路指示包括:  The method according to claim 1, 5 or 7, wherein the acquiring the bypass flow description information and the bypass indication carried in the signaling message comprises:
对发送至终端的二次上下文修改接受响应消息进行探测, 将记录的 TI与所 述二次上下文修改接受响应消息中的 TI进行关联, 获取旁路指示和旁路过滤信 息, 其中, 所述二次上下文修改接受响应消息中携带带有过滤信息的旁路指示; 所述根据所述旁路指示以及旁路流描述信息, 判断终端发送的上行数据流 是否需要旁路包括: Detecting a secondary context modification acceptance response message sent to the terminal, associating the recorded TI with the TI in the secondary context modification acceptance response message, acquiring a bypass indication and a bypass filtering signal The second context modification accepting response message carries a bypass indication with filtering information; the determining, according to the bypass indication and the bypass flow description information, whether the uplink data stream sent by the terminal needs to be bypassed include:
将所述上行数据流的过滤信息与所述旁路过滤信息进行比较, 当所述上行 数据流的过滤信息与所述旁路过滤信息相匹配时, 根据所述旁路指示确定所述 上行数据流需要旁路。  Comparing the filtering information of the uplink data stream with the bypass filtering information, and when the filtering information of the uplink data stream matches the bypass filtering information, determining the uplink data according to the bypass indication The flow needs to be bypassed.
1 3、 一种旁路功能实体, 其特征在于, 包括:  1 3, a bypass function entity, comprising:
获取模块, 用于获取旁路流描述信息以及信令消息中携带的旁路指示; 判断模块, 用于根据所述旁路指示以及旁路流描述信息, 判断终端发送的 上行数据流是否需要旁路;  An obtaining module, configured to obtain a bypass flow description information and a bypass indication carried in the signaling message, and a determining module, configured to determine, according to the bypass indication and the bypass flow description information, whether the uplink data flow sent by the terminal needs to be adjacent Road
旁路模块, 用于当所述上行数据流需要旁路时, 对经过网络地址转换的所 述上行数据流进行旁路。  The bypass module is configured to bypass the uplink data stream that is subjected to network address translation when the uplink data stream needs to be bypassed.
14、 根据权利要求 1 3所述的旁路功能实体, 其特征在于, 还包括: 去除模块, 用于将所述信令消息中的旁路指示去除;  The bypass function entity according to claim 13, further comprising: a removing module, configured to remove the bypass indication in the signaling message;
第一发送模块, 用于将去除旁路指示的所述信令消息向终端发送。  And a first sending module, configured to send the signaling message that removes the bypass indication to the terminal.
15、 根据权利要求 14所述的旁路功能实体, 其特征在于, 当所述旁路流描 述信息为旁路流信息或旁路过滤信息时, 所述获取模块, 具体用于获取信令消 息中携带的旁路指示及旁路流描述信息;  The bypass function entity according to claim 14, wherein the acquiring module is specifically configured to acquire a signaling message when the bypass flow description information is bypass flow information or bypass filtering information. Bypass indication and bypass flow description information carried in;
所述去除模块, 具体用于将所述信令消息中的旁路指示以及旁路流描述信 息去除;  The removing module is specifically configured to remove the bypass indication and the bypass flow description information in the signaling message;
所述第一发送模块, 具体用于将去除旁路指示以及旁路流描述信息的所述 信令消息向终端发送。  The first sending module is specifically configured to send the signaling message that removes the bypass indication and the bypass flow description information to the terminal.
16、 根据权利要求 1 3所述的旁路功能实体, 其特征在于, 还包括: 第二发送模块, 用于将经过网络地址转换恢复的下行数据流向终端发送。 The bypass function entity according to claim 13, further comprising: a second sending module, configured to send the downlink data stream recovered by the network address translation to the terminal.
17、 根据权利要求 1 3、 14或 16所述的旁路功能实体, 其特征在于, 所述获 取模块包括: 第一获取单元, 用于对发送至终端的首次上下文响应消息进行探测, 获取 旁路指示和旁路流信息; The bypass function entity according to claim 13, wherein the acquiring module comprises: a first acquiring unit, configured to detect a first context response message sent to the terminal, and obtain a bypass indication and bypass flow information;
所述判断模块包括:  The determining module includes:
第一判断单元, 用于将所述上行数据流的流信息与所述旁路流信息进行比 较, 当所述上行数据流的流信息与所述旁路流信息相匹配时, 根据所述旁路指 示确定所述上行数据流需要旁路。  a first determining unit, configured to compare flow information of the uplink data stream with the bypass flow information, and when the flow information of the uplink data stream matches the bypass flow information, according to the side The way indication determines that the upstream data stream needs to be bypassed.
18、 根据权利要求 13、 14或 16所述的旁路功能实体, 其特征在于, 所述获 取模块包括:  The bypass function entity according to claim 13, 14, or 16, wherein the obtaining module comprises:
第二获取单元, 用于获取旁路指示和旁路隧道信息;  a second acquiring unit, configured to acquire a bypass indication and bypass tunnel information;
所述判断模块包括:  The determining module includes:
第二判断单元, 用于将所述上行数据流的隧道信息与所述旁路隧道信息进 行比较, 当所述上行数据流的隧道信息与所述旁路隧道信息相匹配时, 根据所 述旁路指示确定所述上行数据流需要旁路。  a second determining unit, configured to compare tunnel information of the uplink data stream with the bypass tunnel information, and when the tunnel information of the uplink data stream matches the bypass tunnel information, according to the side The way indication determines that the upstream data stream needs to be bypassed.
19、 根据权利要求 18所述的旁路功能实体, 其特征在于, 所述第二获取单 元包括:  The bypass function entity according to claim 18, wherein the second acquiring unit comprises:
第一获取子单元, 用于对发送至终端的二次上下文激活请求消息进行探测, 获取旁路指示和会话标识 TI;  a first obtaining subunit, configured to detect a secondary context activation request message sent to the terminal, and obtain a bypass indication and a session identifier TI;
第二获取子单元, 用于对终端发出的二次上下文激活请求消息进行探测, 将所述 TI与所述二次上下文激活请求消息中的 TI进行关联, 获取网络业务接入 点标识 NS API ;  a second obtaining sub-unit, configured to detect a secondary context activation request message sent by the terminal, and associate the TI with the TI in the secondary context activation request message to obtain a network service access point identifier NS API;
第三获取子单元, 用于对发送至 RNC的无线接入承载 RAB分配请求消息进行 探测, 将所述 NSAPI与所述 RAB分配请求消息中的 RAB ID进行关联, 获取 SGSN隧 道信息;  a third obtaining sub-unit, configured to detect a radio access bearer RAB allocation request message sent to the RNC, and associate the NSAPI with the RAB ID in the RAB allocation request message to obtain SGSN tunnel information;
第四获取子单元, 用于对 RNC的 RAB响应消息进行探测, 将所述 NSAPI与所述 RAB响应消息中的 RAB I D进行关联, 获取 RNC隧道信息。  And a fourth acquiring sub-unit, configured to detect the RAB response message of the RNC, and associate the NSAPI with the RAB I D in the RAB response message to obtain RNC tunnel information.
20、 根据权利要求 18所述的旁路功能实体, 其特征在于, 所述第二获取单 元包括: 20. The bypass function entity according to claim 18, wherein the second acquisition order The yuan includes:
第五获取子单元, 用于对终端发出的二次上下文激活请求消息进行探测, 获取 TI和 NSAPI ;  a fifth obtaining subunit, configured to detect a secondary context activation request message sent by the terminal, and acquire TI and NSAPI;
第六获取子单元, 用于对发送至 RNC的 RAB分配请求消息进行探测, 将所述 NSAPI与所述 RAB分配请求消息中的 RAB ID进行关联, 获取 SGSN隧道信息;  a sixth obtaining sub-unit, configured to detect an RAB allocation request message sent to the RNC, and associate the NSAPI with the RAB ID in the RAB allocation request message to obtain SGSN tunnel information;
第七获取子单元, 用于对 RNC的 RAB响应消息进行探测, 将所述 NSAPI与所述 RAB响应消息中的 RAB I D进行关联, 获取 RNC隧道信息;  a seventh acquiring subunit, configured to detect an RAB response message of the RNC, and associate the NSAPI with the RAB I D in the RAB response message to obtain RNC tunnel information;
第八获取子单元, 用于对发送至终端的二次上下文激活响应消息进行探测, 将所述 TI与所述二次上下文激活响应消息中的 TI进行关联, 获取旁路指示。  And an eighth obtaining subunit, configured to detect a secondary context activation response message sent to the terminal, and associate the TI with the TI in the secondary context activation response message to obtain a bypass indication.
21、 根据权利要求 13、 14或 16所述的旁路功能实体, 其特征在于, 所述获 取模块包括:  The bypass function entity according to claim 13, 14, or 16, wherein the obtaining module comprises:
第三获取单元, 用于对发送至终端的二次上下文修改接受响应消息进行探 测, 将记录的 TI与所述二次上下文修改接受响应消息中的 TI进行关联, 获取旁 路指示和旁路过滤信息, 其中, 所述二次上下文修改接受响应消息中携带带有 过滤信息的 SIPT0指示;  a third acquiring unit, configured to detect a secondary context modification acceptance response message sent to the terminal, and associate the recorded TI with the TI in the secondary context modification acceptance response message to obtain a bypass indication and bypass filtering Information, where the secondary context modification accept response message carries a SIPT0 indication with filtering information;
所述判断模块包括:  The determining module includes:
第三判断单元, 用于将所述上行数据流的过滤信息与所述旁路过滤信息进 行比较, 当所述上行数据流的过滤信息与所述旁路过滤信息相匹配时, 根据所 述旁路指示确定所述上行数据流需要旁路。  a third determining unit, configured to compare the filtering information of the uplink data stream with the bypass filtering information, and when the filtering information of the uplink data stream matches the bypass filtering information, according to the side The way indication determines that the upstream data stream needs to be bypassed.
PCT/CN2010/073113 2010-05-24 2010-05-24 Method and apparatus for implementing traffic offloading WO2011147069A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2010/073113 WO2011147069A1 (en) 2010-05-24 2010-05-24 Method and apparatus for implementing traffic offloading
CN201080001656.5A CN102369715B (en) 2010-05-24 2010-05-24 Method and apparatus for implementing traffic offloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2010/073113 WO2011147069A1 (en) 2010-05-24 2010-05-24 Method and apparatus for implementing traffic offloading

Publications (1)

Publication Number Publication Date
WO2011147069A1 true WO2011147069A1 (en) 2011-12-01

Family

ID=45003192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073113 WO2011147069A1 (en) 2010-05-24 2010-05-24 Method and apparatus for implementing traffic offloading

Country Status (2)

Country Link
CN (1) CN102369715B (en)
WO (1) WO2011147069A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978440B (en) * 2022-05-24 2023-09-12 北京立华莱康平台科技有限公司 Data processing method and device for network conduction

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791213A (en) * 2005-12-27 2006-06-21 北京邮电大学 Mobile video order service system with optimized performance and realizing method
CN101350746A (en) * 2007-07-20 2009-01-21 莱克斯信息技术(北京)有限公司 By-path interdiction TCP connection

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064936B (en) * 2006-04-28 2011-08-24 华为技术有限公司 Method and system for accessing home zone of roaming users
CN101202702A (en) * 2006-12-12 2008-06-18 华为技术有限公司 Network flow quantity shunting method and network device
CN100558081C (en) * 2007-01-29 2009-11-04 华为技术有限公司 The keepalive method of address repeat listing and system
JP2009253431A (en) * 2008-04-02 2009-10-29 Alcatel-Lucent Usa Inc METHOD FOR OFF-LOADING PS TRAFFIC IN UMTS FEMTO CELL SOLUTION HAVING Iu INTERFACE

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791213A (en) * 2005-12-27 2006-06-21 北京邮电大学 Mobile video order service system with optimized performance and realizing method
CN101350746A (en) * 2007-07-20 2009-01-21 莱克斯信息技术(北京)有限公司 By-path interdiction TCP connection

Also Published As

Publication number Publication date
CN102369715A (en) 2012-03-07
CN102369715B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
US8621555B2 (en) Access control method and system for packet data network, PCRF entity
KR101792378B1 (en) Support of quality of service control in a mobile communication system
US9686116B2 (en) Dynamic service information for the access network
WO2017124308A1 (en) Method and device for allocating ip address
US20100281170A1 (en) Method for selecting a policy and charging rules function entity in the non-roaming scenario
EP2154842A1 (en) Method and network element device for acquiring the policy control information of ip access session
US8284724B2 (en) Method of deciding to release communication resources
US20150289304A1 (en) Method,system and device for switching communication paths
WO2011006447A1 (en) Method, device and system for transmitting packet service data
WO2009138030A1 (en) Method and device for acquiring policy and charging control rule
WO2011047589A1 (en) Method and apparatus for establishing network connection, method and system for making policy and charging control (pcc) strategy
WO2010133181A1 (en) Multi-access data connection management method, system and related device
WO2015120902A1 (en) Pcrf assisted apn selection
CN104412630A (en) A node and method for service specific management
WO2013060170A1 (en) Method and device for providing charging support based on lipa bearer
WO2012130098A1 (en) Method and system for obtaining an ip address of a machine type communication (mtc) device
CN103685052A (en) Method and system for diversion control of network data traffic
WO2016000172A1 (en) Network device and method for allocating access point names
EP2850853A1 (en) Method and apparatus for populating m2m relevant identities during access network bearer setup
CN109151901B (en) Service quality guarantee method and device
WO2011044816A1 (en) Monitoring method and monitoring device for user equipment
WO2014000301A1 (en) Method and gateway for gateway billing
US10321354B2 (en) Methods, network nodes, and computer program products for providing access point name (APN) based group congestion control
WO2015085685A1 (en) Apparatus and method for uplink service data flow transmission
WO2011147069A1 (en) Method and apparatus for implementing traffic offloading

Legal Events

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

Ref document number: 201080001656.5

Country of ref document: CN

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

Ref document number: 10851941

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

Country of ref document: EP

Kind code of ref document: A1