CN101795478A - Method for data bypass, network side equipment and access gateway - Google Patents
Method for data bypass, network side equipment and access gateway Download PDFInfo
- Publication number
- CN101795478A CN101795478A CN 201010138780 CN201010138780A CN101795478A CN 101795478 A CN101795478 A CN 101795478A CN 201010138780 CN201010138780 CN 201010138780 CN 201010138780 A CN201010138780 A CN 201010138780A CN 101795478 A CN101795478 A CN 101795478A
- Authority
- CN
- China
- Prior art keywords
- ggsn
- request message
- apn
- service
- sgsn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种数据旁路的方法、网络侧设备和接入网关,所述数据旁路的方法包括:网络侧设备接收用户设备发送的第一请求消息;所述网络侧设备确定所述第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,将所述标识旁路业务的接入点名称修改为指向GGSN的接入点名称;所述网络侧设备向所述GGSN发送第二请求消息,所述第二请求消息携带所述指向GGSN的接入点名称,以建立接入网关与所述GGSN之间的隧道;所述GGSN为与接入网关联合部署的GGSN或与所述接入网关集成的GGSN。本发明实施例实现了接入网关支持数据旁路的功能。
An embodiment of the present invention provides a data bypass method, a network side device, and an access gateway. The data bypass method includes: the network side device receives a first request message sent by the user equipment; the network side device determines the After the access point name in the first request message is the access point name identifying the bypass service, modify the access point name identifying the bypass service to the access point name pointing to the GGSN; the network side device Sending a second request message to the GGSN, where the second request message carries the name of the access point pointing to the GGSN, so as to establish a tunnel between the access gateway and the GGSN; the GGSN is associated with the access gateway The deployed GGSN or the GGSN integrated with the access gateway. The embodiment of the present invention realizes the function of the access gateway supporting data bypass.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种数据旁路的方法、网络侧设备和接入网关。The embodiments of the present invention relate to the technical field of communications, and in particular, to a data bypass method, network side equipment and access gateway.
背景技术Background technique
接入点(Access Point;以下简称:AP)是基于固定因特网协议(InternetProtocol;以下简称:IP)传输网,为家庭或企业提供无线接入服务的网络设备。An Access Point (hereinafter referred to as: AP) is a network device that provides wireless access services for families or businesses based on a fixed Internet Protocol (Internet Protocol; hereinafter referred to as: IP) transmission network.
用户设备(User Equipment;以下简称:UE)可以通过空口接入AP,AP通过家庭网关(Home Gateway;以下简称:HGW)接入IP传输网,然后通过IP传输网连接到移动核心网中的安全网关(Security Gateway;以下简称:SeGW),再连接到接入网关(Access Gateway;以下简称:AG),然后AG再连接到电路交换(Circuit Switched;以下简称:CS)域核心网和分组交换(Packet Switched;以下简称:PS)域核心网。User Equipment (hereinafter referred to as: UE) can access the AP through the air interface, and the AP accesses the IP transmission network through the home gateway (Home Gateway; hereinafter referred to as: HGW), and then connects to the security network in the mobile core network through the IP transmission network. The gateway (Security Gateway; hereinafter referred to as: SeGW), and then connected to the access gateway (Access Gateway; hereinafter referred to as: AG), and then the AG is connected to the circuit switched (Circuit Switched; hereinafter referred to as: CS) domain core network and packet switched ( Packet Switched; hereinafter referred to as: PS) domain core network.
如果UE通过AP访问因特网,则要通过PS域核心网的网关通用分组无线业务支持节点(Gateway General Packet Radio Service Support Node;以下简称:GGSN)网元的Gi接口,来连接因特网。If the UE accesses the Internet through the AP, it needs to connect to the Internet through the Gi interface of the Gateway General Packet Radio Service Support Node (Gateway General Packet Radio Service Support Node; hereinafter referred to as: GGSN) network element of the PS domain core network.
现有的数据旁路方案一般都是通过AP提供的Gi接口来实现的,即由AP提供Gi接口,然后UE通过AP的Gi接口来访问家庭网络,或者直接访问因特网;这时,UE访问家庭网络或因特网的数据流不需通过移动核心网,即UE访问家庭网络或因特网的数据流不再经过GGSN和服务通用分组无线业务支持节点(Service General Packet Radio Service SupportNode;以下简称:SGSN),达到了数据旁路的目的。Existing data bypass solutions are generally implemented through the Gi interface provided by the AP, that is, the AP provides the Gi interface, and then the UE accesses the home network or the Internet directly through the Gi interface of the AP; at this time, the UE accesses the home network. The data flow of the network or the Internet does not need to pass through the mobile core network, that is, the data flow of the UE accessing the home network or the Internet no longer passes through the GGSN and the Service General Packet Radio Service Support Node (hereinafter referred to as: SGSN), to achieve The purpose of data bypass.
但是,现有的数据旁路方案一般都是通过AP提供的Gi接口来实现的,现有技术并未提供一种通过AG实现数据旁路的方法;另外,现有的通过AP实现数据旁路的方案不支持对旁路流量进行合法侦听,也不支持对旁路流量进行计费。However, the existing data bypass solutions are generally implemented through the Gi interface provided by the AP, and the existing technology does not provide a method for realizing data bypass through the AG; in addition, the existing data bypass through the AP The scheme does not support lawful interception of bypass traffic, nor does it support accounting for bypass traffic.
发明内容Contents of the invention
本发明实施例提供一种数据旁路的方法、网络侧设备和接入网关,以实现接入网关支持数据旁路的功能。Embodiments of the present invention provide a data bypass method, a network side device and an access gateway, so as to realize the function of the access gateway supporting data bypass.
本发明实施例提供一种数据旁路的方法,包括:An embodiment of the present invention provides a data bypass method, including:
网络侧设备接收用户设备发送的第一请求消息,所述第一请求消息携带标识旁路业务的接入点名称;The network side device receives a first request message sent by the user equipment, where the first request message carries an access point name identifying the bypass service;
所述网络侧设备确定所述第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,将所述标识旁路业务的接入点名称修改为指向网关通用分组无线业务支持节点GGSN的接入点名称;After the network side device determines that the access point name in the first request message is the access point name identifying the bypass service, it modifies the access point name identifying the bypass service to point to the gateway general packet radio service The access point name of the support node GGSN;
所述网络侧设备向所述GGSN发送第二请求消息,所述第二请求消息携带所述指向GGSN的接入点名称,以便于建立接入网关与所述GGSN之间的隧道;所述GGSN为与接入网关联合部署的GGSN或与所述接入网关集成的GGSN。The network side device sends a second request message to the GGSN, and the second request message carries the name of the access point pointing to the GGSN, so as to establish a tunnel between the access gateway and the GGSN; the GGSN It is the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway.
本发明实施例还提供一种网络侧设备,包括:The embodiment of the present invention also provides a network side device, including:
接收模块,用于接收用户设备发送的第一请求消息,所述第一请求消息携带标识旁路业务的接入点名称;A receiving module, configured to receive a first request message sent by a user equipment, where the first request message carries an access point name identifying a bypass service;
确定模块,用于确定所述接收模块接收的第一请求消息中的接入点名称为标识旁路业务的接入点名称;A determining module, configured to determine that the access point name in the first request message received by the receiving module is the access point name identifying the bypass service;
修改模块,用于在所述确定模块确定所述接收模块接收的第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,将所述标识旁路业务的接入点名称修改为指向网关通用分组无线业务支持节点GGSN的接入点名称;A modifying module, configured to, after the determining module determines that the access point name in the first request message received by the receiving module is the name of the access point identifying the bypass service, change the access point identifying the bypass service to The name is changed to point to the access point name of the Gateway General Packet Radio Service Support Node GGSN;
发送模块,用于向所述GGSN发送第二请求消息,所述第二请求消息携带所述指向GGSN的接入点名称,以便于建立接入网关与所述GGSN之间的隧道;所述GGSN为与接入网关联合部署的GGSN或与所述接入网关集成的GGSN。A sending module, configured to send a second request message to the GGSN, the second request message carrying the name of the access point pointing to the GGSN, so as to establish a tunnel between the access gateway and the GGSN; the GGSN It is the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway.
本发明实施例还提供一种数据旁路的方法,包括:The embodiment of the present invention also provides a data bypass method, including:
接收服务通用分组无线业务支持节点SGSN发送的第一请求消息,所述第一请求消息携带标识旁路业务的接入点名称;所述第一请求消息是所述SGSN接收到用户设备发送的所述第一请求消息,并确定所述第一请求消息中的接入点名称为标识旁路业务的接入点名称之后发送的;Receiving a first request message sent by a serving general packet radio service support node SGSN, where the first request message carries an access point name identifying a bypass service; the first request message is that the SGSN receives the The first request message is sent after determining that the access point name in the first request message is the access point name identifying the bypass service;
向网关通用分组无线业务支持节点GGSN发送第二请求消息,所述第二请求消息携带所述标识旁路业务的接入点名称;Sending a second request message to the gateway general packet radio service support node GGSN, where the second request message carries the name of the access point identifying the bypass service;
接收所述GGSN发送的与所述第二请求消息对应的响应消息,将所述响应消息发送给所述SGSN,以便于建立接入网关与所述GGSN之间的隧道;所述GGSN为与接入网关联合部署的GGSN或与所述接入网关集成的GGSN。receiving a response message corresponding to the second request message sent by the GGSN, and sending the response message to the SGSN, so as to establish a tunnel between the access gateway and the GGSN; The GGSN jointly deployed by the ingress gateway or the GGSN integrated with the access gateway.
本发明实施例还提供一种接入网关,包括:The embodiment of the present invention also provides an access gateway, including:
消息接收模块,用于接收服务通用分组无线业务支持节点SGSN发送的第一请求消息,所述第一请求消息携带标识旁路业务的接入点名称;所述第一请求消息是所述SGSN接收到用户设备发送的所述第一请求消息,并确定所述第一请求消息中的接入点名称为标识旁路业务的接入点名称之后发送的;The message receiving module is configured to receive the first request message sent by the serving general packet radio service support node SGSN, the first request message carries the name of the access point identifying the bypass service; the first request message is received by the SGSN receiving the first request message sent by the user equipment, and sending it after determining that the access point name in the first request message is the access point name identifying the bypass service;
消息发送模块,用于向网关通用分组无线业务支持节点GGSN发送第二请求消息,所述第二请求消息携带所述标识旁路业务的接入点名称;A message sending module, configured to send a second request message to a gateway general packet radio service support node GGSN, where the second request message carries the name of the access point identifying the bypass service;
所述消息接收模块,还用于接收所述GGSN发送的与所述第二请求消息对应的响应消息;The message receiving module is further configured to receive a response message sent by the GGSN and corresponding to the second request message;
所述消息发送模块,还用于将所述响应消息发送给所述SGSN,以便于建立接入网关与所述GGSN之间的隧道;所述GGSN为与接入网关联合部署的GGSN或与所述接入网关集成的GGSN。The message sending module is further configured to send the response message to the SGSN, so as to establish a tunnel between the access gateway and the GGSN; the GGSN is a GGSN jointly deployed with the access gateway or a The GGSN integrated with the above-mentioned access gateway.
通过本发明实施例,接入网关或服务通用分组无线业务支持节点确定第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,向GGSN发送第二请求消息,以便于建立接入网关与GGSN之间的隧道;其中,该GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了接入网关支持数据旁路的功能,并且实现了对旁路业务进行计费和/或合法侦听的功能。Through the embodiment of the present invention, after the access gateway or the serving GPRS support node determines that the access point name in the first request message is the access point name identifying the bypass service, it sends the second request message to the GGSN, so that Establish a tunnel between the access gateway and the GGSN; wherein, the GGSN is a GGSN deployed jointly with the access gateway or a GGSN integrated with the access gateway. Therefore, the access gateway can directly send the bypass traffic to the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway, and then the above GGSN sends the bypass traffic to the home network or the Internet, realizing the support of the access gateway The function of data bypass, and realize the function of charging and/or lawful interception of the bypass business.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明数据旁路的方法实施例一的流程图;FIG. 1 is a flow chart of Embodiment 1 of the data bypass method of the present invention;
图2为本发明数据旁路的方法实施例二的流程图;FIG. 2 is a flow chart of Embodiment 2 of the data bypass method of the present invention;
图3为本发明数据旁路的方法实施例三的流程图;FIG. 3 is a flow chart of Embodiment 3 of the data bypass method of the present invention;
图4为本发明数据旁路的方法实施例四的流程图;FIG. 4 is a flow chart of Embodiment 4 of the data bypass method of the present invention;
图5为本发明数据旁路的方法实施例五的流程图;FIG. 5 is a flow chart of Embodiment 5 of the data bypass method of the present invention;
图6为本发明网络侧设备实施例一的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 1 of the network side device of the present invention;
图7为本发明接入网关实施例一的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 1 of the access gateway of the present invention;
图8为本发明数据旁路的系统实施例一的示意图。FIG. 8 is a schematic diagram of Embodiment 1 of the data bypass system of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
图1为本发明数据旁路的方法实施例一的流程图,如图1所示,该数据旁路的方法可以包括:Fig. 1 is a flow chart of Embodiment 1 of the data bypass method of the present invention. As shown in Fig. 1, the data bypass method may include:
步骤101,网络侧设备接收用户设备发送的第一请求消息,该第一请求消息携带标识旁路业务的接入点名称。
本实施例中,该第一请求消息可以为激活分组数据协议(Packet DataProtocol;以下简称:PDP)上下文请求消息。In this embodiment, the first request message may be an activation packet data protocol (Packet Data Protocol; hereinafter referred to as: PDP) context request message.
步骤102,网络侧设备确定该第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,将标识旁路业务的接入点名称修改为指向GGSN的接入点名称。Step 102: After determining that the AP name in the first request message is the AP name identifying the bypass service, the network side device modifies the AP name identifying the bypass service to the AP name pointing to the GGSN.
具体地,网络侧设备可以将第一请求消息中的接入点名称与预先配置的标识旁路业务的接入点名称进行对比;如果该第一请求消息中的接入点名称与预先配置的标识旁路业务的接入点名称相同,则可以确定第一请求消息中的接入点名称为标识旁路业务的接入点名称。Specifically, the network side device may compare the access point name in the first request message with the pre-configured access point name identifying the bypass service; if the access point name in the first request message is different from the pre-configured If the names of the access points identifying the bypass service are the same, it may be determined that the name of the access point in the first request message is the name of the access point identifying the bypass service.
本实施例中,网络侧设备本地配置有与指向GGSN的接入点名称对应的IP地址,该IP地址为该GGSN的IP地址;根据上述指向GGSN的接入点名称,网络侧设备可以获得该GGSN的IP地址。In this embodiment, the network side device is locally configured with an IP address corresponding to the access point name pointing to the GGSN, and the IP address is the IP address of the GGSN; according to the above access point name pointing to the GGSN, the network side device can obtain the The IP address of the GGSN.
本实施例中,如无特殊说明,GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN,如图8所示,图8中的第一GGSN 85即为与接入网关联合部署的GGSN或与接入网关集成的GGSN。其中,与接入网关联合部署的GGSN包括与接入网关直接连接的GGSN,或者,与接入网关通过路由器或交换机连接的GGSN。In this embodiment, unless otherwise specified, the GGSN is a GGSN deployed jointly with the access gateway or a GGSN integrated with the access gateway, as shown in FIG. 8, the first GGSN 85 in FIG. The deployed GGSN or the GGSN integrated with the access gateway. Wherein, the GGSN jointly deployed with the access gateway includes a GGSN directly connected to the access gateway, or a GGSN connected to the access gateway through a router or a switch.
步骤103,网络侧设备向GGSN发送第二请求消息,该第二请求消息携带指向GGSN的接入点名称,以便于建立接入网关与该GGSN之间的隧道;进一步地,还便于该GGSN对旁路业务进行计费和/或合法侦听。
本实施例中,网络侧设备可以为SGSN或接入网关。当该网络侧设备为接入网关时,向GGSN发送第二请求消息可以为:接入网关通过第一请求消息将指向GGSN的接入点名称发送给服务通用分组无线业务支持节点SGSN,以便该SGSN根据指向GGSN的接入点名称,向GGSN发送第二请求消息。其中,根据指向GGSN的接入点名称,SGSN可以获得该GGSN的IP地址,进而SGSN可以根据该GGSN的IP地址,向该GGSN发送第二请求消息。In this embodiment, the network side device may be an SGSN or an access gateway. When the network side device is an access gateway, sending the second request message to the GGSN may be: the access gateway sends the access point name pointing to the GGSN to the serving general packet radio service support node SGSN through the first request message, so that the The SGSN sends the second request message to the GGSN according to the access point name pointing to the GGSN. Wherein, according to the access point name pointing to the GGSN, the SGSN can obtain the IP address of the GGSN, and then the SGSN can send the second request message to the GGSN according to the IP address of the GGSN.
本实施例中,接入网关与GGSN之间的隧道可以是一条直接隧道(Directtunnel),即通过该隧道,接入网关可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In this embodiment, the tunnel between the access gateway and the GGSN can be a direct tunnel (Directtunnel), that is, through the tunnel, the access gateway can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to go through the SGSN .
本实施例中的GGSN可以对旁路业务进行计费和/或合法侦听。具体地,GGSN可以统计旁路业务的计费信息,根据该计费信息生成呼叫详细记录,并通过计费网关功能实体将该呼叫详细记录发送给计费系统;和/或,The GGSN in this embodiment can perform charging and/or lawful interception on the bypass service. Specifically, the GGSN may collect the charging information of the bypass service, generate a call detail record according to the charging information, and send the call detail record to the charging system through the charging gateway functional entity; and/or,
GGSN可以接收合法监听网关发送的侦听控制信息,并根据侦听控制信息侦听用户设备的通信信息,并将侦听到的该用户设备的通信信息发送给上述合法监听网关;上述侦听控制信息包括监听激活、监听关闭或状态查询。The GGSN can receive the interception control information sent by the legal interception gateway, and intercept the communication information of the user equipment according to the interception control information, and send the intercepted communication information of the user equipment to the above-mentioned legal interception gateway; the above-mentioned interception control Messages include listener active, listener off, or status queries.
本实施例中,上述第二请求消息可以为创建PDP上下文请求消息。In this embodiment, the above-mentioned second request message may be a PDP context creation request message.
上述实施例中,接入网关或SGSN确定第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,将标识旁路业务的接入点名称修改为指向GGSN的接入点名称,并向GGSN发送第二请求消息,以建立接入网关与GGSN之间的隧道;其中,该GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了接入网关支持数据旁路的功能;并且上述实施例实现了对旁路业务进行计费和/或合法侦听的功能。In the above embodiment, after the access gateway or SGSN determines that the access point name in the first request message is the access point name identifying the bypass service, it modifies the access point name identifying the bypass service to point to the access point of the GGSN Point the name, and send a second request message to the GGSN to establish a tunnel between the access gateway and the GGSN; wherein, the GGSN is a GGSN deployed jointly with the access gateway or a GGSN integrated with the access gateway. Therefore, the access gateway can directly send the bypass traffic to the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway, and then the above GGSN sends the bypass traffic to the home network or the Internet, realizing the support of the access gateway The function of data bypass; and the above embodiment realizes the function of charging and/or lawful interception on the bypass service.
图2为本发明数据旁路的方法实施例二的流程图,本实施例以第一请求消息为激活PDP上下文请求消息,第二请求消息为创建PDP上下文请求消息为例进行说明。FIG. 2 is a flow chart of Embodiment 2 of the data bypass method of the present invention. In this embodiment, the first request message is an activation PDP context request message, and the second request message is a PDP context creation request message as an example for illustration.
如图2所示,该数据旁路的方法可以包括:As shown in Figure 2, the data bypass method may include:
步骤201,当UE有业务要发起时,向AG发送激活PDP上下文请求消息,该激活PDP上下文请求消息携带标识旁路业务的接入点名称(AccessPoint Name;以下简称:APN)来访问旁路业务。Step 201, when the UE has a service to initiate, it sends an activation PDP context request message to the AG, and the activation PDP context request message carries an Access Point Name (AccessPoint Name; hereinafter referred to as: APN) identifying the bypass service to access the bypass service .
步骤202,AG确定激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,将标识旁路业务的APN修改为指向GGSN的APN,执行步骤203。In step 202, after the AG determines that the APN in the activation PDP context request message is the APN identifying the bypass service, it modifies the APN identifying the bypass service to the APN pointing to the GGSN, and performs step 203.
具体地,AG可以将激活PDP上下文请求消息中的APN与预先配置的标识旁路业务的APN进行对比;如果该激活PDP上下文请求消息中的APN与预先配置的标识旁路业务的APN相同,则可以确定激活PDP上下文请求消息中的APN为标识旁路业务的APN。Specifically, the AG can compare the APN in the activation PDP context request message with the preconfigured APN identifying the bypass service; if the APN in the activating PDP context request message is the same as the preconfigured APN identifying the bypass service, then It may be determined that the APN in the activate PDP context request message is the APN identifying the bypass service.
本实施例中,AG本地配置有与指向GGSN的接入点名称对应的IP地址,该IP地址为该GGSN的IP地址。In this embodiment, the AG is locally configured with an IP address corresponding to the name of the access point pointing to the GGSN, and the IP address is the IP address of the GGSN.
本实施例中,如无特殊说明,GGSN为与AG联合部署的GGSN或与AG集成的GGSN,如图8所示,图8中的第一GGSN 85即为与接入网关联合部署的GGSN或与接入网关集成的GGSN。其中,与AG联合部署的GGSN包括与AG直接连接的GGSN,或者,与AG通过路由器或交换机连接的GGSN。In this embodiment, unless otherwise specified, the GGSN is a GGSN jointly deployed with the AG or a GGSN integrated with the AG. As shown in FIG. 8, the
另外,如果AG确定激活PDP上下文请求消息中的APN不是标识旁路业务的APN,则AG可以按照正常流程来处理该激活PDP上下文请求消息,将该激活PDP上下文请求消息透传给SGSN,并按照正常的PDP上下文激活流程进行后续流程。In addition, if the AG determines that the APN in the Activation PDP Context Request message is not the APN that identifies the bypass service, the AG can process the Activation PDP Context Request message according to the normal process, transparently transmit the Activation PDP Context Request message to the SGSN, and follow the The normal PDP context activation process proceeds with subsequent processes.
步骤203,AG将激活PDP上下文请求消息发送给SGSN,该激活PDP上下文请求消息携带指向GGSN的APN。In step 203, the AG sends an activation PDP context request message to the SGSN, and the activation PDP context request message carries an APN pointing to the GGSN.
步骤204,SGSN根据激活PDP上下文请求消息中的APN进行用户签约信息检查;该激活PDP上下文请求消息中的APN通过SGSN的用户签约信息检查之后,SGSN根据激活PDP上下文请求消息中的APN选择GGSN,然后向选择的GGSN发送创建PDP上下文请求消息。Step 204, SGSN carries out user subscription information inspection according to the APN in the activation PDP context request message; After the APN in the activation PDP context request message is checked by the user subscription information of SGSN, SGSN selects GGSN according to the APN in the activation PDP context request message, It then sends a Create PDP Context Request message to the selected GGSN.
本实施例中,用户签约信息包括通配APN(wild card APN),所以激活PDP上下文请求消息中指向GGSN的APN会通过SGSN的用户签约信息检查。在激活PDP上下文请求消息中指向GGSN的APN通过SGSN的用户签约信息检查之后,SGSN可以根据激活PDP上下文请求消息中指向GGSN的APN,选择与AG联合部署的GGSN或与AG集成的GGSN,并根据指向GGSN的APN获得该GGSN的IP地址,然后根据获得的IP地址向选择的GGSN发送创建PDP上下文请求消息。In this embodiment, the user subscription information includes a wild card APN (wild card APN), so the APN pointing to the GGSN in the activation PDP context request message will pass the user subscription information check of the SGSN. After the APN pointed to the GGSN in the Activate PDP Context Request message passes the user subscription information check of the SGSN, the SGSN can select the GGSN jointly deployed with the AG or the GGSN integrated with the AG according to the APN pointed to the GGSN in the Activate PDP Context Request message, and The APN pointing to the GGSN obtains the IP address of the GGSN, and then sends a PDP context creation request message to the selected GGSN according to the obtained IP address.
步骤205,GGSN向SGSN发送创建PDP上下文响应消息。In step 205, the GGSN sends a create PDP context response message to the SGSN.
步骤206,可选的,SGSN触发建立无线接入承载(Radio Access Bearer;以下简称:RAB)的过程。Step 206, optionally, the SGSN triggers the process of establishing a radio access bearer (Radio Access Bearer; RAB for short).
步骤207,SGSN确定开通了直接隧道(Direct tunnel)功能,SGSN向GGSN发送更新PDP上下文请求消息,以便于建立AG与GGSN之间的隧道。本实施例中,AG与GGSN之间的隧道是一条直接隧道(Direct tunnel),即通过该隧道,AG可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In step 207, the SGSN determines that the direct tunnel (Direct tunnel) function has been opened, and the SGSN sends an update PDP context request message to the GGSN, so as to establish a tunnel between the AG and the GGSN. In this embodiment, the tunnel between the AG and the GGSN is a direct tunnel (Direct tunnel), that is, through the tunnel, the AG can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to pass through the SGSN again.
步骤208,GGSN向SGSN发送更新PDP上下文响应消息。In step 208, the GGSN sends an update PDP context response message to the SGSN.
步骤209,SGSN向UE发送激活PDP上下文接受消息。In step 209, the SGSN sends an Activation PDP Context Accept message to the UE.
这时,AP可以将旁路流量发送给AG,再由AG将该旁路流量发送给GGSN,然后由GGSN将旁路流量发送到家庭网络或因特网。At this time, the AP can send the bypass traffic to the AG, and then the AG sends the bypass traffic to the GGSN, and then the GGSN sends the bypass traffic to the home network or the Internet.
上述实施例中,AG确定激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,将标识旁路业务的APN修改为指向GGSN的APN,并向SGSN转发激活PDP上下文请求消息,以建立AG与GGSN之间的隧道,该GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了AG支持数据旁路的功能;并且进一步地,上述实施例中的与接入网关联合部署的GGSN或与接入网关集成的GGSN还可以实现对旁路业务进行计费和/或合法侦听的功能。In the above embodiment, after the AG determines that the APN in the activation PDP context request message is the APN that identifies the bypass service, it modifies the APN that identifies the bypass service to the APN pointing to the GGSN, and forwards the activation PDP context request message to the SGSN to establish A tunnel between the AG and the GGSN, where the GGSN is a GGSN deployed jointly with the access gateway or a GGSN integrated with the access gateway. Therefore, the access gateway can directly send the bypass traffic to the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway, and then the above GGSN sends the bypass traffic to the home network or the Internet, realizing AG support data bypass and further, the GGSN co-deployed with the access gateway or the GGSN integrated with the access gateway in the above embodiments can also implement the functions of charging and/or lawful interception of the bypass traffic.
图3为本发明数据旁路的方法实施例三的流程图,本实施例以第一请求消息为激活PDP上下文请求消息,第二请求消息为创建PDP上下文请求消息为例进行说明。FIG. 3 is a flow chart of Embodiment 3 of the data bypass method of the present invention. In this embodiment, the first request message is an activation PDP context request message, and the second request message is a PDP context creation request message.
如图3所示,该数据旁路的方法可以包括:As shown in Figure 3, the data bypass method may include:
步骤301,当UE有业务要发起时,向SGSN发送激活PDP上下文请求消息,该激活PDP上下文请求消息携带标识旁路业务的APN来访问旁路业务。Step 301, when the UE has a service to initiate, it sends an activate PDP context request message to the SGSN, and the activate PDP context request message carries an APN identifying the bypass service to access the bypass service.
步骤302,SGSN确定激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,将标识旁路业务的APN修改为指向GGSN的APN。Step 302: After determining that the APN in the activate PDP context request message is the APN identifying the bypass service, the SGSN modifies the APN identifying the bypass service to point to the APN of the GGSN.
具体地,SGSN可以将激活PDP上下文请求消息中的APN与预先配置的标识旁路业务的APN进行对比;如果该激活PDP上下文请求消息中的APN与预先配置的标识旁路业务的APN相同,则可以确定激活PDP上下文请求消息中的APN为标识旁路业务的APN。Specifically, the SGSN can compare the APN in the activation PDP context request message with the pre-configured APN identifying the bypass service; if the APN in the activating PDP context request message is the same as the pre-configured APN identifying the bypass service, then It may be determined that the APN in the activate PDP context request message is the APN identifying the bypass service.
本实施例中,SGSN本地配置有与指向GGSN的接入点名称对应的IP地址,该IP地址为该GGSN的IP地址。In this embodiment, the SGSN is locally configured with an IP address corresponding to the name of the access point pointing to the GGSN, and the IP address is the IP address of the GGSN.
本实施例中,如无特殊说明,GGSN为与AG联合部署的GGSN或与AG集成的GGSN,如图8所示,图8中的第一GGSN 85即为与接入网关联合部署的GGSN或与接入网关集成的GGSN。其中,与AG联合部署的GGSN包括与AG直接连接的GGSN,或者,与AG通过路由器或交换机连接的GGSN。In this embodiment, unless otherwise specified, the GGSN is a GGSN jointly deployed with the AG or a GGSN integrated with the AG. As shown in FIG. 8, the
另外,如果SGSN确定激活PDP上下文请求消息中的APN不是标识旁路业务的APN,则SGSN可以按照正常流程来处理该激活PDP上下文请求消息,向核心网中的GGSN发送创建PDP上下文请求消息,并按照正常的PDP上下文激活流程进行后续流程。In addition, if the SGSN determines that the APN in the activation PDP context request message is not the APN that identifies the bypass service, then the SGSN can process the activation PDP context request message according to the normal flow, send the creation PDP context request message to the GGSN in the core network, and Follow the normal PDP context activation process for subsequent processes.
步骤303,SGSN根据激活PDP上下文请求消息中的APN进行用户签约信息检查;该激活PDP上下文请求消息中的APN通过SGSN的用户签约信息检查之后,SGSN根据激活PDP上下文请求消息中的APN选择GGSN,然后向选择的GGSN发送创建PDP上下文请求消息。Step 303, SGSN carries out user subscription information inspection according to the APN in the activation PDP context request message; After the APN in the activation PDP context request message is checked by the user subscription information of SGSN, SGSN selects GGSN according to the APN in the activation PDP context request message, It then sends a Create PDP Context Request message to the selected GGSN.
本实施例中,用户签约信息包括wild card APN,所以激活PDP上下文请求消息中指向GGSN的APN会通过SGSN的用户签约信息检查。在激活PDP上下文请求消息中的APN通过SGSN的用户签约信息检查之后,SGSN可以根据激活PDP上下文请求消息中指向GGSN的APN,选择与AG联合部署的GGSN或与AG集成的GGSN,并根据指向GGSN的APN获得该GGSN的IP地址,然后根据获得的IP地址向选择的GGSN发送创建PDP上下文请求消息。In this embodiment, the user subscription information includes wild card APN, so the APN pointing to the GGSN in the activation PDP context request message will pass the user subscription information check of the SGSN. After the APN in the Activate PDP Context Request message passes the user subscription information check of the SGSN, the SGSN can select the GGSN jointly deployed with the AG or the GGSN integrated with the AG according to the APN pointed to the GGSN in the Activate PDP Context Request message, and according to the APN pointed to the GGSN The APN obtains the IP address of the GGSN, and then sends a PDP context creation request message to the selected GGSN according to the obtained IP address.
步骤304,GGSN向SGSN发送创建PDP上下文响应消息。In step 304, the GGSN sends a create PDP context response message to the SGSN.
步骤305,可选的,SGSN触发建立RAB的过程。Step 305, optionally, the SGSN triggers the process of establishing the RAB.
步骤306,SGSN确定开通了直接隧道功能,SGSN向GGSN发送更新PDP上下文请求消息,以建立AG与GGSN之间的隧道。本实施例中,AG与GGSN之间的隧道是一条直接隧道,即通过该隧道,AG可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In step 306, the SGSN determines that the direct tunnel function is enabled, and the SGSN sends an update PDP context request message to the GGSN to establish a tunnel between the AG and the GGSN. In this embodiment, the tunnel between the AG and the GGSN is a direct tunnel, that is, through this tunnel, the AG can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to pass through the SGSN.
步骤307,GGSN向SGSN发送更新PDP上下文响应消息。In step 307, the GGSN sends an update PDP context response message to the SGSN.
步骤308,SGSN向UE发送激活PDP上下文接受消息。In step 308, the SGSN sends an Activation PDP Context Accept message to the UE.
这时,AP可以将旁路流量发送给AG,再由AG将该旁路流量发送给GGSN,然后由GGSN将旁路流量发送到家庭网络或因特网。At this time, the AP can send the bypass traffic to the AG, and then the AG sends the bypass traffic to the GGSN, and then the GGSN sends the bypass traffic to the home network or the Internet.
上述实施例中,SGSN确定激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,将标识旁路业务的APN修改为指向GGSN的APN,并向GGSN发送创建PDP上下文请求消息,以建立AG与GGSN之间的隧道,该GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了AG支持数据旁路的功能;并且进一步地,上述实施例中的与接入网关联合部署的GGSN或与接入网关集成的GGSN还可以实现对旁路业务进行计费和/或合法侦听的功能。In the above embodiment, after the SGSN determines that the APN in the activation PDP context request message is the APN that identifies the bypass service, it modifies the APN that identifies the bypass service to the APN that points to the GGSN, and sends a create PDP context request message to the GGSN to establish A tunnel between the AG and the GGSN, where the GGSN is a GGSN deployed jointly with the access gateway or a GGSN integrated with the access gateway. Therefore, the access gateway can directly send the bypass traffic to the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway, and then the above GGSN sends the bypass traffic to the home network or the Internet, realizing AG support data bypass and further, the GGSN co-deployed with the access gateway or the GGSN integrated with the access gateway in the above embodiments can also implement the functions of charging and/or lawful interception of the bypass traffic.
本发明图2和图3所示实施例不仅实现了AG支持数据旁路的功能,进一步地,本发明图2和图3所示实施例中,与接入网关联合部署的GGSN或与接入网关集成的GGSN还可以实现对旁路业务进行合法侦听和对旁路业务进行计费,并可实现实时计费。具体地,GGSN可以统计旁路业务的计费信息,根据该计费信息生成呼叫详细记录(Calling Detail Records;以下简称:CDR),然后GGSN将CDR发送给计费网关功能(Charging Gateway Function;以下简称:CGF)实体,再由CGF实体将该CDR发送给计费系统,从而实现对旁路业务进行计费。The embodiments shown in Figure 2 and Figure 3 of the present invention not only realize the function of AG supporting data bypass, further, in the embodiments shown in Figure 2 and Figure 3 of the present invention, the GGSN deployed jointly with the access gateway or the access The GGSN integrated in the gateway can also implement legal interception and charging of bypass services, and real-time charging. Specifically, the GGSN can count the charging information of the bypass service, generate call detail records (Calling Detail Records; hereinafter referred to as: CDR) according to the charging information, and then the GGSN sends the CDR to the charging gateway function (Charging Gateway Function; hereinafter Abbreviation: CGF) entity, and then the CGF entity sends the CDR to the charging system, so as to implement charging for the bypass service.
另外,GGSN可以接收合法监听网关(Lawful Interception Gateway;以下简称:LIG)发送的侦听控制信息,并根据该侦听控制信息侦听UE的通信信息,并将侦听到的该UE的通信信息发送给LIG;上述侦听控制信息包括监听激活、监听关闭或状态查询;从而实现了对旁路业务进行合法侦听。In addition, the GGSN can receive the interception control information sent by the Lawful Interception Gateway (Lawful Interception Gateway; hereinafter referred to as: LIG), and intercept the communication information of the UE according to the interception control information, and send the intercepted communication information of the UE sent to the LIG; the above-mentioned interception control information includes interception activation, interception deactivation, or status query; thereby realizing legal interception of the bypass service.
图4为本发明数据旁路的方法实施例四的流程图,如图4所示,该数据旁路的方法可以包括:FIG. 4 is a flow chart of Embodiment 4 of the data bypass method of the present invention. As shown in FIG. 4, the data bypass method may include:
步骤401,接收SGSN发送的第一请求消息,该第一请求消息携带标识旁路业务的接入点名称;该第一请求消息是SGSN接收到用户设备发送的第一请求消息,并确定该第一请求消息中的接入点名称为标识旁路业务的接入点名称之后发送的。
具体地,SGSN可以将第一请求消息中的接入点名称与预先配置的标识旁路业务的接入点名称进行对比;如果第一请求消息中的接入点名称与预先配置的标识旁路业务的接入点名称相同,则SGSN可以确定该第一请求消息中的接入点名称为标识旁路业务的接入点名称。然后,SGSN将该第一请求消息发送给接入网关。Specifically, the SGSN can compare the access point name in the first request message with the pre-configured access point name identifying the bypass service; if the access point name in the first request message and the pre-configured identification bypass service If the service access point names are the same, the SGSN may determine that the access point name in the first request message is the access point name identifying the bypass service. Then, the SGSN sends the first request message to the access gateway.
本实施例中,第一请求消息可以为激活PDP上下文请求消息。In this embodiment, the first request message may be a PDP context activation request message.
步骤402,向GGSN发送第二请求消息,该第二请求消息携带标识旁路业务的接入点名称。Step 402: Send a second request message to the GGSN, where the second request message carries the name of the access point identifying the bypass service.
本实施例中,如无特殊说明,GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN,如图8所示。其中,与接入网关联合部署的GGSN包括与接入网关直接连接的GGSN,或者,与接入网关通过路由器或交换机连接的GGSN。In this embodiment, unless otherwise specified, the GGSN is a GGSN deployed jointly with the access gateway or a GGSN integrated with the access gateway, as shown in FIG. 8 . Wherein, the GGSN jointly deployed with the access gateway includes a GGSN directly connected to the access gateway, or a GGSN connected to the access gateway through a router or a switch.
步骤403,接收GGSN发送的与第二请求消息对应的响应消息,将该响应消息发送给SGSN,以便于建立接入网关与GGSN之间的隧道。Step 403: Receive a response message sent by the GGSN corresponding to the second request message, and send the response message to the SGSN, so as to establish a tunnel between the access gateway and the GGSN.
本实施例中,GGSN接收到接入网关发送的第二请求消息之后,将与该第二请求消息对应的响应消息发送给该接入网关,然后该接入网关会将接收到的响应消息发送给SGSN,以便于建立接入网关与GGSN之间的隧道;进一步地,还便于该GGSN对旁路业务进行计费和/或合法侦听。In this embodiment, after receiving the second request message sent by the access gateway, the GGSN sends a response message corresponding to the second request message to the access gateway, and then the access gateway sends the received response message to To the SGSN, so as to establish a tunnel between the access gateway and the GGSN; further, it is also convenient for the GGSN to perform charging and/or lawful interception on the bypass service.
本实施例中,接入网关与GGSN之间的隧道是一条直接隧道(Directtunnel),即通过该隧道,接入网关可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In this embodiment, the tunnel between the access gateway and the GGSN is a direct tunnel (Directtunnel), that is, through the tunnel, the access gateway can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to pass through the SGSN.
本实施例中的GGSN可以对旁路业务进行计费和/或合法侦听。具体地,GGSN可以统计旁路业务的计费信息,根据该计费信息生成呼叫详细记录,并通过计费网关功能实体将该呼叫详细记录发送给计费系统;和/或,The GGSN in this embodiment can perform charging and/or lawful interception on the bypass service. Specifically, the GGSN may collect the charging information of the bypass service, generate a call detail record according to the charging information, and send the call detail record to the charging system through the charging gateway functional entity; and/or,
GGSN可以接收合法监听网关发送的侦听控制信息,并根据该侦听控制信息侦听用户设备的通信信息,并将侦听到的该用户设备的通信信息发送给上述合法监听网关;上述侦听控制信息包括监听激活、监听关闭或状态查询。The GGSN can receive the interception control information sent by the legal interception gateway, and intercept the communication information of the user equipment according to the interception control information, and send the intercepted communication information of the user equipment to the above-mentioned legal interception gateway; the above-mentioned interception Control messages include listener activation, listener deactivation, or status queries.
本实施例中,第二请求消息可以为创建PDP上下文请求消息。In this embodiment, the second request message may be a PDP context creation request message.
上述实施例中,接入网关接收到SGSN发送的第一请求消息之后,向GGSN发送第二请求消息,以建立接入网关与GGSN之间的隧道;其中,第一请求消息是SGSN确定第一请求消息中的接入点名称为标识旁路业务的接入点名称之后发送的,GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了接入网关支持数据旁路的功能;并且上述实施例实现了对旁路业务进行计费和/或合法侦听的功能。In the above embodiment, after the access gateway receives the first request message sent by the SGSN, it sends a second request message to the GGSN to establish a tunnel between the access gateway and the GGSN; wherein, the first request message is that the SGSN determines the first The access point name in the request message is sent after identifying the access point name of the bypass service, and the GGSN is the GGSN deployed jointly with the access gateway or the GGSN integrated with the access gateway. Therefore, the access gateway can directly send the bypass traffic to the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway, and then the above GGSN sends the bypass traffic to the home network or the Internet, realizing the support of the access gateway The function of data bypass; and the above embodiment realizes the function of charging and/or legally intercepting the bypass service.
图5为本发明数据旁路的方法实施例五的流程图,本实施例以第一请求消息为激活PDP上下文请求消息,第二请求消息为创建PDP上下文请求消息为例进行说明。FIG. 5 is a flow chart of Embodiment 5 of the data bypass method of the present invention. In this embodiment, the first request message is an activation PDP context request message, and the second request message is a PDP context creation request message as an example for illustration.
如图5所示,该数据旁路的方法可以包括:As shown in Figure 5, the data bypass method may include:
步骤501,当UE有业务要发起时,向SGSN发送激活PDP上下文请求消息,该激活PDP上下文请求消息携带标识旁路业务的APN来访问旁路业务。Step 501, when the UE has a service to initiate, it sends an activate PDP context request message to the SGSN, and the activate PDP context request message carries an APN identifying the bypass service to access the bypass service.
步骤502,SGSN根据激活PDP上下文请求消息中的APN进行用户签约信息检查。In step 502, the SGSN checks the user subscription information according to the APN in the activate PDP context request message.
本实施例中,用户签约信息包括wild card APN,因此激活PDP上下文请求消息中的APN会通过SGSN的用户签约信息检查。In this embodiment, the user subscription information includes wild card APN, so the APN in the activation PDP context request message will pass the user subscription information check of the SGSN.
步骤503,SGSN确定激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,向AG发送创建PDP上下文请求消息。Step 503: After determining that the APN in the activate PDP context request message is the APN identifying the bypass service, the SGSN sends a create PDP context request message to the AG.
具体地,SGSN可以将激活PDP上下文请求消息中的APN与预先配置的标识旁路业务的APN进行对比;如果该激活PDP上下文请求消息中的APN与预先配置的标识旁路业务的APN相同,则可以确定激活PDP上下文请求消息中的APN为标识旁路业务的APN。在确定激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,SGSN向AG发送创建PDP上下文请求消息。Specifically, the SGSN can compare the APN in the activation PDP context request message with the pre-configured APN identifying the bypass service; if the APN in the activating PDP context request message is the same as the pre-configured APN identifying the bypass service, then It may be determined that the APN in the activate PDP context request message is the APN identifying the bypass service. After determining that the APN in the activate PDP context request message is the APN identifying the bypass service, the SGSN sends a create PDP context request message to the AG.
本实施例中,如无特殊说明,GGSN为与AG联合部署的GGSN或与AG集成的GGSN,如图8所示,图8中的第一GGSN 85即为与接入网关联合部署的GGSN或与接入网关集成的GGSN。其中,与AG联合部署的GGSN包括与AG直接连接的GGSN,或者,与AG通过路由器或交换机连接的GGSN。In this embodiment, unless otherwise specified, the GGSN is a GGSN jointly deployed with the AG or a GGSN integrated with the AG. As shown in FIG. 8, the
另外,如果SGSN确定激活PDP上下文请求消息中的APN不是标识旁路业务的APN,则SGSN可以按照正常流程处理该激活PDP上下文请求消息,向核心网中的GGSN发送创建PDP上下文请求消息,并按照正常的PDP上下文激活流程进行后续流程。In addition, if the SGSN determines that the APN in the Activation PDP Context Request message is not the APN that identifies the bypass service, the SGSN can process the Activation PDP Context Request message according to the normal flow, send the Create PDP Context Request message to the GGSN in the core network, and follow the The normal PDP context activation process proceeds with subsequent processes.
步骤504,AG向GGSN发送创建PDP上下文请求消息。In step 504, the AG sends a PDP context creation request message to the GGSN.
步骤505,GGSN向AG发送创建PDP上下文响应消息。In step 505, the GGSN sends a create PDP context response message to the AG.
步骤506,AG向SGSN发送创建PDP上下文响应消息。In step 506, the AG sends a create PDP context response message to the SGSN.
步骤507,可选的,SGSN触发建立RAB的过程。Step 507, optionally, the SGSN triggers the process of establishing the RAB.
步骤508,SGSN判断开通了直接隧道功能,SGSN向AG发送更新PDP上下文请求消息,以便于建立AG与GGSN之间的隧道。本实施例中,AG与GGSN之间的隧道是一条直接隧道,即通过该隧道,AG可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In step 508, the SGSN judges that the direct tunnel function is enabled, and the SGSN sends an update PDP context request message to the AG, so as to establish a tunnel between the AG and the GGSN. In this embodiment, the tunnel between the AG and the GGSN is a direct tunnel, that is, through this tunnel, the AG can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to pass through the SGSN.
步骤509,AG向GGSN发送更新PDP上下文请求消息。In step 509, the AG sends an update PDP context request message to the GGSN.
步骤510,GGSN向AG发送更新PDP上下文响应消息。In step 510, the GGSN sends an update PDP context response message to the AG.
步骤511,AG向SGSN发送更新PDP上下文响应消息。In step 511, the AG sends an update PDP context response message to the SGSN.
步骤512,SGSN向UE发送激活PDP上下文接受消息。In step 512, the SGSN sends an Activation PDP Context Accept message to the UE.
这时,AP可以将旁路流量发送给AG,再由AG将该旁路流量发送给GGSN,然后由GGSN将旁路流量发送到家庭网络或因特网。At this time, the AP can send the bypass traffic to the AG, and then the AG sends the bypass traffic to the GGSN, and then the GGSN sends the bypass traffic to the home network or the Internet.
上述实施例中,SGSN确定接收到的激活PDP上下文请求消息中的APN为标识旁路业务的APN之后,向AG发送创建PDP上下文请求消息,然后AG向GGSN发送创建PDP上下文请求消息,以便于建立AG与GGSN之间的隧道,其中,GGSN为与AG联合部署的GGSN或与AG集成的GGSN,从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了接入网关支持数据旁路的功能;并且进一步地,上述实施例中的与接入网关联合部署的GGSN或与接入网关集成的GGSN还可以实现对旁路业务进行计费和/或合法侦听的功能,其中,该GGSN对旁路业务进行计费和/或合法侦听的操作,与本发明图2和图3所示实施例中GGSN对旁路业务进行计费和/或合法侦听的操作相同,在此不再赘述。In the above embodiment, after the SGSN determines that the APN in the received Activation PDP Context Request message is the APN that identifies the bypass service, it sends a Create PDP Context Request message to the AG, and then the AG sends a Create PDP Context Request message to the GGSN, so as to establish The tunnel between the AG and the GGSN, where the GGSN is a GGSN jointly deployed with the AG or a GGSN integrated with the AG, so that the access gateway can directly send the bypass traffic to the GGSN jointly deployed with the access gateway or the GGSN integrated with the access gateway The integrated GGSN, and then the above-mentioned GGSN sends the bypass traffic to the home network or the Internet, realizing the function of the access gateway supporting data bypass; and further, the GGSN deployed jointly with the access gateway or the The GGSN integrated in the access gateway can also implement the function of charging and/or legally intercepting the bypass service, wherein the GGSN performs the charging and/or legally intercepting operation on the bypass service, which is the same as that shown in Figure 2 of the present invention. The operation of the GGSN performing charging and/or lawful interception on the bypass service in the embodiment shown in FIG. 3 is the same and will not be repeated here.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
图6为本发明网络侧设备实施例一的结构示意图,本实施例中的网络侧设备可以实现本发明图1所示实施例的流程,如图6所示,该网络侧设备可以包括:接收模块61、确定模块62、修改模块63和发送模块64。FIG. 6 is a schematic structural diagram of Embodiment 1 of the network side device of the present invention. The network side device in this embodiment can implement the process of the embodiment shown in FIG. 1 of the present invention. As shown in FIG. 6 , the network side device may include: receiving
其中,接收模块61,用于接收用户设备发送的第一请求消息,该第一请求消息携带标识旁路业务的接入点名称。Wherein, the receiving
确定模块62,用于确定接收模块61接收的第一请求消息中的接入点名称为标识旁路业务的接入点名称;具体地,确定模块62可以将第一请求消息中的接入点名称与预先配置的标识旁路业务的接入点名称进行对比;如果该第一请求消息中的接入点名称与预先配置的标识旁路业务的接入点名称相同,则可以确定第一请求消息中的接入点名称为标识旁路业务的接入点名称。The determining
修改模块63,用于在确定模块62确定接收模块61接收的第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,将标识旁路业务的接入点名称修改为指向GGSN的接入点名称;本实施例中,网络侧设备本地配置有与指向GGSN的接入点名称对应的IP地址,该IP地址为该GGSN的IP地址;根据上述指向GGSN的接入点名称,网络侧设备可以获得该GGSN的IP地址。A
本实施例中,如无特殊说明,GGSN可以为与接入网关联合部署的GGSN或与接入网关集成的GGSN,如图8所示,图8中的第一GGSN 85即为与接入网关联合部署的GGSN或与接入网关集成的GGSN。其中,与接入网关联合部署的GGSN包括与接入网关直接连接的GGSN,或者,与接入网关通过路由器或交换机连接的GGSN。In this embodiment, unless otherwise specified, the GGSN can be a GGSN jointly deployed with the access gateway or a GGSN integrated with the access gateway, as shown in Figure 8, the
发送模块64,用于向上述GGSN发送第二请求消息,该第二请求消息携带指向GGSN的接入点名称,以便于建立接入网关与上述GGSN之间的隧道;进一步地,还便于该GGSN对旁路业务进行计费和/或合法侦听。The sending
本实施例中的网络侧设备可以为SGSN或接入网关,当网络设备为接入网关时,发送模块64可以通过第一请求消息将指向GGSN的接入点名称发送给SGSN,以便该SGSN根据指向GGSN的接入点名称,向上述GGSN发送第二请求消息。其中,根据指向GGSN的接入点名称,发送模块64可以获得该GGSN的IP地址,进而发送模块64可以根据该GGSN的IP地址,向该GGSN发送第二请求消息。The network side device in this embodiment may be an SGSN or an access gateway. When the network device is an access gateway, the sending
本实施例中,接入网关与GGSN之间的隧道是一条直接隧道(Directtunnel),即通过该隧道,接入网关可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In this embodiment, the tunnel between the access gateway and the GGSN is a direct tunnel (Directtunnel), that is, through the tunnel, the access gateway can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to pass through the SGSN.
上述实施例中,确定模块62确定第一请求消息中的接入点名称为标识旁路业务的接入点名称之后,修改模块63将标识旁路业务的接入点名称修改为指向GGSN的接入点名称,并由发送模块64向GGSN发送第二请求消息,以建立接入网关与GGSN之间的隧道,其中,该GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了接入网关支持数据旁路的功能;并且上述实施例实现了对旁路业务进行计费和/或合法侦听的功能。In the above embodiment, after the determining
图7为本发明接入网关实施例一的结构示意图,本实施例中的接入网关可以实现本发明图4所示实施例的流程,如图7所示,该接入网关可以包括:消息接收模块71和消息发送模块72。Fig. 7 is a schematic structural diagram of Embodiment 1 of the access gateway of the present invention. The access gateway in this embodiment can implement the process of the embodiment shown in Fig. 4 of the present invention. As shown in Fig. 7, the access gateway may include: message A receiving
其中,消息接收模块71,用于接收SGSN发送的第一请求消息,该第一请求消息携带标识旁路业务的接入点名称;该第一请求消息是SGSN接收到用户设备发送的第一请求消息,并确定该第一请求消息中的接入点名称为标识旁路业务的接入点名称之后发送的;Wherein, the
消息发送模块72,用于向GGSN发送第二请求消息,该第二请求消息携带标识旁路业务的接入点名称。本实施例中,如无特殊说明,GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN,如图8所示,图8中的第一GGSN 85即为与接入网关联合部署的GGSN或与接入网关集成的GGSN。其中,与接入网关联合部署的GGSN包括与接入网关直接连接的GGSN,或者,与接入网关通过路由器或交换机连接的GGSN。The
本实施例中,消息接收模块71,还用于接收GGSN发送的与第二请求消息对应的响应消息;In this embodiment, the
消息发送模块72,还用于将上述响应消息发送给SGSN,以便于建立接入网关与上述GGSN之间的隧道;进一步地,还便于该GGSN对旁路业务进行计费和/或合法侦听。The
本实施例中,接入网关与GGSN之间的隧道是一条直接隧道(Directtunnel),即通过该隧道,接入网关可以直接将旁路流量发送给GGSN,这样旁路流量不需再经过SGSN。In this embodiment, the tunnel between the access gateway and the GGSN is a direct tunnel (Directtunnel), that is, through the tunnel, the access gateway can directly send the bypass traffic to the GGSN, so that the bypass traffic does not need to pass through the SGSN.
上述实施例中,消息接收模块71接收到SGSN发送的第一请求消息之后,消息发送模块72向GGSN发送第二请求消息,以建立接入网关与GGSN之间的隧道;其中,第一请求消息是SGSN确定第一请求消息中的接入点名称为标识旁路业务的接入点名称之后发送的,GGSN为与接入网关联合部署的GGSN或与接入网关集成的GGSN。从而接入网关可以将旁路流量直接发送给与接入网关联合部署的GGSN或与接入网关集成的GGSN,再由上述GGSN将旁路流量发送到家庭网络或因特网,实现了接入网关支持数据旁路的功能;并且上述实施例实现了对旁路业务进行计费和/或合法侦听的功能。In the above embodiment, after the
图8为本发明数据旁路的系统实施例一的示意图,如图8所示,该数据旁路的系统可以包括:UE 81、AP 82、AG 83、SGSN 84、第一GGSN 85和第二GGSN 86。Figure 8 is a schematic diagram of Embodiment 1 of the data bypass system of the present invention. As shown in Figure 8, the data bypass system may include:
其中,第一GGSN 85为与AG 83联合部署的GGSN或与AG 83集成的GGSN;其中,与接入网关联合部署的GGSN包括与接入网关直接连接的GGSN,或者,与接入网关通过路由器或交换机连接的GGSN;第二GGSN 86为核心网中的GGSN。Wherein, the
本实施例中,UE 81、AP 82、AG 83、SGSN 84、第一GGSN 85和第二GGSN 86可以采用本发明图2、图3或图5所示实施例的流程进行交互。其中,AG 83可以通过本发明图6所示的网络侧设备或本发明图7所示的接入网关实现;SGSN 84可以通过本发明图6所示的网络侧设备实现。In this embodiment,
需要说明的是,本发明图1~图5所示实施例的内容也可以作为本发明图6、图7和图8所示实施例的内容的补充。It should be noted that the content of the embodiment shown in FIGS. 1 to 5 of the present invention can also be used as a supplement to the content of the embodiment shown in FIG. 6 , FIG. 7 and FIG. 8 of the present invention.
本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the drawing is only a schematic diagram of a preferred embodiment, and the modules or processes in the drawing are not necessarily necessary for implementing the present invention.
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, or can be located in one or more devices different from the embodiment according to corresponding changes. The modules in the above embodiments can be combined into one module, and can also be further split into multiple sub-modules.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101387808A CN101795478B (en) | 2010-03-31 | 2010-03-31 | Method for data bypass, network side equipment and access gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101387808A CN101795478B (en) | 2010-03-31 | 2010-03-31 | Method for data bypass, network side equipment and access gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101795478A true CN101795478A (en) | 2010-08-04 |
CN101795478B CN101795478B (en) | 2012-08-08 |
Family
ID=42587846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101387808A Expired - Fee Related CN101795478B (en) | 2010-03-31 | 2010-03-31 | Method for data bypass, network side equipment and access gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101795478B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102308603A (en) * | 2011-07-12 | 2012-01-04 | 华为技术有限公司 | Charge mode, network access device and core network device |
CN102523313A (en) * | 2011-12-09 | 2012-06-27 | 华为技术有限公司 | Identification method of data bypass and apparatus thereof |
WO2012119399A1 (en) * | 2011-08-19 | 2012-09-13 | 华为技术有限公司 | Service bypass method, access network device and security gateway |
CN104521188A (en) * | 2013-06-28 | 2015-04-15 | 华为技术有限公司 | Method, apparatus and system for establishing optical bypass |
WO2018090658A1 (en) * | 2016-11-16 | 2018-05-24 | 华为技术有限公司 | Data connection method, control plane node and user equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009055827A1 (en) * | 2007-10-25 | 2009-04-30 | Starent Networks, Corp. | Interworking gateway for mobile nodes |
CN101646205A (en) * | 2008-08-05 | 2010-02-10 | 华为技术有限公司 | Node, method and system for accessing mobile network to public network at high speed |
CN101925038A (en) * | 2009-06-12 | 2010-12-22 | 华为技术有限公司 | Data transmission method, communication device and network system |
-
2010
- 2010-03-31 CN CN2010101387808A patent/CN101795478B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009055827A1 (en) * | 2007-10-25 | 2009-04-30 | Starent Networks, Corp. | Interworking gateway for mobile nodes |
CN101646205A (en) * | 2008-08-05 | 2010-02-10 | 华为技术有限公司 | Node, method and system for accessing mobile network to public network at high speed |
CN101925038A (en) * | 2009-06-12 | 2010-12-22 | 华为技术有限公司 | Data transmission method, communication device and network system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102308603B (en) * | 2011-07-12 | 2014-01-22 | 华为技术有限公司 | Charge mode and network access device |
CN102308603A (en) * | 2011-07-12 | 2012-01-04 | 华为技术有限公司 | Charge mode, network access device and core network device |
WO2012106881A1 (en) * | 2011-07-12 | 2012-08-16 | 华为技术有限公司 | Charging method, network access device and core network device |
WO2012119399A1 (en) * | 2011-08-19 | 2012-09-13 | 华为技术有限公司 | Service bypass method, access network device and security gateway |
CN102726075A (en) * | 2011-08-19 | 2012-10-10 | 华为技术有限公司 | Business by-pass method, access network device and secure gateway |
CN102726075B (en) * | 2011-08-19 | 2014-12-03 | 华为技术有限公司 | Business by-pass method, access network device and secure gateway |
CN102523313B (en) * | 2011-12-09 | 2015-03-18 | 华为技术有限公司 | Identification method of data bypass and apparatus thereof |
WO2013082975A1 (en) * | 2011-12-09 | 2013-06-13 | 华为技术有限公司 | Identification method and device for data bypass |
CN102523313A (en) * | 2011-12-09 | 2012-06-27 | 华为技术有限公司 | Identification method of data bypass and apparatus thereof |
CN104521188A (en) * | 2013-06-28 | 2015-04-15 | 华为技术有限公司 | Method, apparatus and system for establishing optical bypass |
US9736066B2 (en) | 2013-06-28 | 2017-08-15 | Huawei Technologies Co., Ltd. | Method, apparatus and system for establishing optical bypass |
CN104521188B (en) * | 2013-06-28 | 2017-09-05 | 华为技术有限公司 | A method, device and system for establishing optical bypass |
WO2018090658A1 (en) * | 2016-11-16 | 2018-05-24 | 华为技术有限公司 | Data connection method, control plane node and user equipment |
CN108377532A (en) * | 2016-11-16 | 2018-08-07 | 华为技术有限公司 | A kind of data connecting method, control plane node and user equipment |
CN108377532B (en) * | 2016-11-16 | 2019-08-06 | 华为技术有限公司 | A kind of data connecting method, control plane node and user equipment |
US11290944B2 (en) | 2016-11-16 | 2022-03-29 | Huawei Technologies Co., Ltd. | Data connection method, control-plane node, and user equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101795478B (en) | 2012-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11973746B2 (en) | Connecting IMSI-less devices to the EPC | |
CN104412628B (en) | A kind of method, apparatus and computer-readable medium that application service is provided in telecommunication network | |
US20060203774A1 (en) | System, method and apparatus for selecting a remote tunnel endpoint for accessing packet data services | |
EP2421326B1 (en) | Method and apparatus for acquiring machine type communication device group identification | |
WO2011082636A1 (en) | An access implementing method and device for machine to machine core network | |
EP4044685A1 (en) | Network access method and communication apparatus | |
US8848579B1 (en) | Methods and systems for using transport-layer source ports to identify sources of packet payloads in mixed tethering and non-tethering environments | |
CN101867897A (en) | Telephone terminal, system and method for supporting IP short messages | |
US11825331B2 (en) | Systems and methods for quality-of-service framework for enterprise applications in mobile wireless networks | |
CN108668223A (en) | Mobile network connection method and device for attached terminal in No. 1 multi-terminal | |
CN101516123A (en) | Data service packet access roaming control method and system | |
US9713176B2 (en) | Telecommunication method and telecommunication system | |
CN101068439B (en) | Communicating method, mobile terminal, insertion point equipment and communication system | |
WO2010133107A1 (en) | Method and system for home node b gateway forwarding messages to home node b | |
CN101795478A (en) | Method for data bypass, network side equipment and access gateway | |
CN100486382C (en) | Aging processing apparatus and method in communications system | |
CN102480714A (en) | Method for inquiring gateway and system thereof | |
CN102457931B (en) | A kind of data route control method and system | |
CN101925038B (en) | Data transmission method, communication device and network system | |
Lin et al. | General Packet Radio Service (GPRS): architecture, interfaces, and deployment | |
CN103974456A (en) | Communication system and method | |
CN100461958C (en) | A mobile communication access system and method | |
CN103856931B (en) | A kind of transmission method of data, system and equipment | |
CN113938349B (en) | Wireless industrial bus communication method and system | |
CN102369698B (en) | Method for offloading data stream and traffic offload function entity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120808 |