[go: up one dir, main page]

CN105208598A - Network access method and apparatus - Google Patents

Network access method and apparatus Download PDF

Info

Publication number
CN105208598A
CN105208598A CN201510509482.8A CN201510509482A CN105208598A CN 105208598 A CN105208598 A CN 105208598A CN 201510509482 A CN201510509482 A CN 201510509482A CN 105208598 A CN105208598 A CN 105208598A
Authority
CN
China
Prior art keywords
data packet
user equipment
wap gateway
ggsn
web server
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
Application number
CN201510509482.8A
Other languages
Chinese (zh)
Other versions
CN105208598B (en
Inventor
王尧
胡尼亚
陈豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510509482.8A priority Critical patent/CN105208598B/en
Publication of CN105208598A publication Critical patent/CN105208598A/en
Application granted granted Critical
Publication of CN105208598B publication Critical patent/CN105208598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/166IP fragmentation; TCP segmentation

Landscapes

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

Abstract

本发明公开了一种网络接入方法和装置,包括:NET接入点对应的GGSN-NET接收用户设备通过NET接入点发送的第一数据包;其中,第一数据包中包含有用户设备访问WEB服务器的请求消息以及GGSN-NET为用户设备分配的IP地址;GGSN-NET根据预设封装技术将第一数据包进行封装并将封装后得到的第二数据包发送给WAP网关;WAP网关对接收到的第二数据包进行解封装以获取第一数据包并将第一数据包发送给WEB服务器。在本发明的技术方案中,通过将一部分NET流量接入WAP网关,能够在一定程度上降低现网NET业务的负荷,提高WAP网关的利用率以及运营商的业务管控能力。

The present invention discloses a network access method and device, comprising: the GGSN-NET corresponding to the NET access point receives the first data packet sent by the user equipment through the NET access point; wherein, the first data packet contains the user equipment The request message for accessing the WEB server and the IP address assigned by GGSN-NET to the user equipment; GGSN-NET encapsulates the first data packet according to the preset encapsulation technology and sends the encapsulated second data packet to the WAP gateway; the WAP gateway Decapsulating the received second data packet to obtain the first data packet and sending the first data packet to the WEB server. In the technical solution of the present invention, by connecting a part of NET traffic to the WAP gateway, the load of the NET service on the existing network can be reduced to a certain extent, and the utilization rate of the WAP gateway and the service management and control ability of the operator can be improved.

Description

一种网络接入方法和装置A network access method and device

技术领域technical field

本发明涉及移动通信技术,尤指一种网络接入方法和装置。The invention relates to mobile communication technology, in particular to a network access method and device.

背景技术Background technique

随着移动网络的不断演进和智能终端日趋普及,移动用户的上网方式发生了不断变化,在移动数据业务发展初期的电信运营商为用户提供的WAP业务正在被逐步边缘化,目前市场中NET流量在用户上网总流量的比重越来越大,已经达到了90%的比例,NET流量迅猛增长也给现网带来很大的负荷。并且随着智能终端市场占有率的不断扩大,以及用户使用的移动网络逐步演进到3G(第三代移动通信技术)网络、4G(第四代移动通信技术)网络,WAP业务未来的趋势会持续萎缩。With the continuous evolution of mobile networks and the increasing popularity of smart terminals, the way mobile users surf the Internet has undergone constant changes. In the early stages of mobile data service development, the WAP services provided by telecom operators to users are being gradually marginalized. Currently, NET traffic in the market The proportion of the total Internet traffic of users is increasing, reaching 90%. The rapid growth of NET traffic also brings a heavy load to the existing network. And with the continuous expansion of the market share of smart terminals, and the gradual evolution of the mobile network used by users to 3G (third generation mobile communication technology) network and 4G (fourth generation mobile communication technology) network, the future trend of WAP business will continue shrinking.

目前,作为运营商投入很大成本建设的网络管控核心网元之一的WAP网关随着业务量的萎缩,与当初设计容量相比,WAP网关近些年来系统使用率在不断下降,已经到了很低的系统利用率程度;并且,在目前NET流量占比很高的情况下,用户终端通过网关GPRS支持节点(GatewayGPRSSupportNode,GGSN)网元直接接入互联网,路由过程中无需经过运营商的任何网元设备,便可访问到服务提供商的服务器,电信运营商已经沦为纯粹的管道提供者,业务管控能力在逐步丧失。At present, as one of the core network elements of network management and control that operators have invested a lot of money in, the WAP gateway has shrunk in business volume. Low system utilization rate; and, in the case of high proportion of NET traffic at present, the user terminal directly connects to the Internet through the Gateway GPRS Support Node (GatewayGPRSSupportNode, GGSN) network element, and does not need to go through any network of the operator during the routing process. The server of the service provider can be accessed without any meta-equipment. The telecom operator has been reduced to a pure channel provider, and its business management and control capabilities are gradually being lost.

发明内容Contents of the invention

为了解决上述技术问题,本发明提供了一种网络接入方法和装置,通过将一部分NET流量接入WAP网关,能够在一定程度上降低现网NET业务的负荷,提高WAP网关的利用率以及运营商的业务管控能力。In order to solve the above technical problems, the present invention provides a network access method and device. By connecting a part of NET traffic to the WAP gateway, the load of the NET business on the existing network can be reduced to a certain extent, and the utilization rate and operation of the WAP gateway can be improved. business management capabilities.

为了达到本发明目的,本发明提供了一种网络接入方法,包括:In order to achieve the purpose of the present invention, the present invention provides a network access method, including:

NET接入点对应的GGSN接收用户设备通过所述NET接入点发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;The GGSN corresponding to the NET access point receives the first data packet sent by the user equipment through the NET access point; wherein, the first data packet includes a request message for the user equipment to access the network WEB server and the GGSN An Internet Protocol IP address assigned to the user equipment;

所述GGSN根据预设封装技术将所述第一数据包进行封装并将封装后得到的第二数据包发送给WAP网关;The GGSN encapsulates the first data packet according to a preset encapsulation technology and sends the encapsulated second data packet to the WAP gateway;

所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器。The WAP gateway decapsulates the received second data packet to obtain the first data packet and sends the first data packet to the WEB server.

进一步的,所述方法还包括:Further, the method also includes:

所述WEB服务器向所述WAP网关返回第三数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The WEB server returns a third data packet to the WAP gateway; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server;

所述WAP网关根据所述预设封装技术将所述第三数据包进行封装并将封装后得到的第四数据包发送给所述GGSN;The WAP gateway encapsulates the third data packet according to the preset encapsulation technology and sends the encapsulated fourth data packet to the GGSN;

所述GGSN对接收到的所述第四数据包进行解封装以获取所述第三数据包并将所述第三数据包发送给所述用户设备。The GGSN decapsulates the received fourth data packet to obtain the third data packet, and sends the third data packet to the user equipment.

进一步的,所述第一数据包中还包括:所述用户设备的移动用户号码MSISDN;Further, the first data packet further includes: the mobile subscriber number MSISDN of the user equipment;

相应的,所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器,具体包括:Correspondingly, the WAP gateway decapsulates the received second data packet to obtain the first data packet and sends the first data packet to the WEB server, specifically including:

所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包;The WAP gateway decapsulates the received second data packet to obtain the first data packet;

所述WAP网关将所述第一数据包中包含的所述请求消息发送给所述WEB服务器并且所述WAP网关将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器。The WAP gateway sends the request message included in the first data packet to the WEB server and the WAP gateway sends the MSISDN of the user equipment included in the first data packet to a marketing server.

进一步的,所述在所述WAP网关将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器之后,所述方法还包括:Further, after the WAP gateway sends the MSISDN of the user equipment contained in the first data packet to the marketing server, the method further includes:

所述营销服务器根据所述MSISDN从运营商的业务支撑系统BSS获取所述用户设备的相关信息并根据所述相关信息生成营销信息;The marketing server obtains relevant information of the user equipment from the operator's business support system BSS according to the MSISDN, and generates marketing information according to the relevant information;

所述营销服务器将所述营销信息发送给所述WAP网关;The marketing server sends the marketing information to the WAP gateway;

相应的,在所述WAP网关根据所述预设封装技术将所述第三数据包进行封装并将封装后得到的第四数据包发送给所述GGSN之前,所述方法还包括:Correspondingly, before the WAP gateway encapsulates the third data packet according to the preset encapsulation technology and sends the encapsulated fourth data packet to the GGSN, the method further includes:

所述WAP网关接收到所述营销信息后将所述营销信息添加到所述第三数据包中。After receiving the marketing information, the WAP gateway adds the marketing information to the third data packet.

进一步的,所述GGSN使用的IP地址段与WAP接入点对应的GGSN使用的IP地址段不重合。Further, the IP address segment used by the GGSN does not coincide with the IP address segment used by the GGSN corresponding to the WAP access point.

进一步的,所述预设封装技术包括:通用路由封装GRE。Further, the preset encapsulation technology includes: general routing encapsulation GRE.

本发明提供一种网关GGSN,包括:The present invention provides a gateway GGSN, including:

第一接收单元,用于接收用户设备通过NET接入点向所述GGSN发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;The first receiving unit is configured to receive the first data packet sent by the user equipment to the GGSN through the NET access point; wherein, the first data packet includes a request message for the user equipment to access the network WEB server and the The Internet Protocol IP address assigned by the GGSN to the user equipment;

封装单元,用于根据预设封装技术将所述第一数据包进行封装得到第二数据包;An encapsulation unit, configured to encapsulate the first data packet according to a preset encapsulation technology to obtain a second data packet;

第一发送单元,用于将所述第二数据包发送给WAP网关。The first sending unit is configured to send the second data packet to the WAP gateway.

进一步的,所述GGSN还包括:Further, the GGSN also includes:

第二接收单元,用于当所述WAP网关根据所述预设封装技术对从所述WEB服务器接收到的第三数据包进行封装得到第四数据包后,接收WAP网关发送的所述第四数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The second receiving unit is configured to receive the fourth data packet sent by the WAP gateway after the WAP gateway encapsulates the third data packet received from the WEB server according to the preset encapsulation technology to obtain a fourth data packet. A data packet; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server;

解封装单元,用于对接收到的所述第四数据包进行解封装以获取所述第三数据包;a decapsulating unit, configured to decapsulate the received fourth data packet to obtain the third data packet;

第二发送单元,用于将所述第三数据包发送给所述用户设备。a second sending unit, configured to send the third data packet to the user equipment.

进一步的,所述预设封装技术包括:通用路由封装GRE。Further, the preset encapsulation technology includes: general routing encapsulation GRE.

本发明提供一种WAP网关,包括:The invention provides a WAP gateway, comprising:

第一接收单元,用于当NET接入点对应的GGSN根据预设封装技术对通过所述NET接入点从用户设备接收的第一数据包进行封装得到第二数据包后,接收所述GGSN发送的所述第二数据包;并对所述第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;The first receiving unit is configured to receive the GGSN after the GGSN corresponding to the NET access point encapsulates the first data packet received from the user equipment through the NET access point according to a preset encapsulation technology to obtain a second data packet. The second data packet sent; and for the first data packet; wherein, the first data packet contains a request message for the user equipment to access the network WEB server and the GGSN assigns the user equipment Internet Protocol IP address;

解封装单元,用于对接收到的所述第二数据包进行解封装以获取所述第一数据包;a decapsulating unit, configured to decapsulate the received second data packet to obtain the first data packet;

第一发送单元,用于将所述第一数据包发送给所述WEB服务器。A first sending unit, configured to send the first data packet to the WEB server.

进一步的,所述WAP网关还包括:Further, the WAP gateway also includes:

第二接收单元,用于接收所述WEB服务器向所述WAP网关发送的第三数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The second receiving unit is configured to receive a third data packet sent by the WEB server to the WAP gateway; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server;

封装单元,用于根据所述预设封装技术将所述第三数据包进行封装后得到第四数据包;An encapsulation unit, configured to obtain a fourth data packet after encapsulating the third data packet according to the preset encapsulation technology;

第二发送单元,用于将所述第四数据包发送给所述GGSN。A second sending unit, configured to send the fourth data packet to the GGSN.

进一步的,所述预设封装技术包括:通用路由封装GRE。Further, the preset encapsulation technology includes: general routing encapsulation GRE.

进一步的,所述第一数据包中还包括:所述用户设备的移动用户号码MSISDN;相应的,Further, the first data packet also includes: the mobile subscriber number MSISDN of the user equipment; correspondingly,

所述第一发送单元具体用于:将所述第一数据包中包含的所述请求消息发送给所述WEB服务器;The first sending unit is specifically configured to: send the request message included in the first data packet to the WEB server;

所述WAP网关还包括:The WAP gateway also includes:

第三发送单元,用于将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器。A third sending unit, configured to send the MSISDN of the user equipment included in the first data packet to a marketing server.

进一步的,所述WAP网关还包括:Further, the WAP gateway also includes:

第三接收单元,用于当所述营销服务器根据所述MSISDN从运营商的业务支撑系统BSS获取所述用户设备的相关信息并根据所述相关信息生成营销信息后,接收所述营销服务器发送的所述营销信息;The third receiving unit is configured to receive the marketing information sent by the marketing server after the marketing server acquires relevant information of the user equipment from the operator's business support system BSS according to the MSISDN and generates marketing information according to the relevant information said marketing information;

添加单元,用于将接收到的所述营销信息添加到所述第三数据包中。An adding unit, configured to add the received marketing information to the third data packet.

本发明实施例提供的一种网络接入方法和装置,NET接入点对应的GGSN接收用户设备通过NET接入点发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;所述GGSN根据预设封装技术将所述第一数据包进行封装并将封装后得到的第二数据包发送给WAP网关;所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器。在本发明实施例提供的技术方案中,通过将一部分NET流量接入WAP网关,能够在一定程度上降低现网NET业务的负荷,提高WAP网关的利用率以及运营商的业务管控能力。In the network access method and device provided by the embodiments of the present invention, the GGSN corresponding to the NET access point receives the first data packet sent by the user equipment through the NET access point; wherein, the first data packet includes the A request message for the user equipment to access the network WEB server and the Internet protocol IP address assigned by the GGSN to the user equipment; the GGSN encapsulates the first data packet according to a preset encapsulation technology and encapsulates the second The data packet is sent to the WAP gateway; the WAP gateway decapsulates the received second data packet to obtain the first data packet and sends the first data packet to the WEB server. In the technical solution provided by the embodiment of the present invention, by connecting part of the NET traffic to the WAP gateway, the load of the NET service on the existing network can be reduced to a certain extent, and the utilization rate of the WAP gateway and the service management and control ability of the operator can be improved.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

附图说明Description of drawings

附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention, and constitute a part of the description, and are used together with the embodiments of the application to explain the technical solution of the present invention, and do not constitute a limitation to the technical solution of the present invention.

图1为本发明实施例提供的一种网络接入的方法的流程示意图一;FIG. 1 is a first schematic flowchart of a network access method provided by an embodiment of the present invention;

图2为本发明实施例提供的一种网络接入的方法的流程示意图二;FIG. 2 is a second schematic flow diagram of a network access method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种GGSN的结构示意图一;FIG. 3 is a first structural diagram of a GGSN provided by an embodiment of the present invention;

图4为本发明实施例提供的一种GGSN的结构示意图二;FIG. 4 is a second structural diagram of a GGSN provided by an embodiment of the present invention;

图5为本发明实施例提供的一种WAP网关的结构示意图;FIG. 5 is a schematic structural diagram of a WAP gateway provided by an embodiment of the present invention;

图6为本发明实施例提供的具体实施例的实施示意图;Fig. 6 is a schematic diagram of implementation of a specific embodiment provided by an embodiment of the present invention;

图7为本发明实施例提供的具体实施例中GGSN-NET与WAP网关之间建立GRE隧道的示意图。Fig. 7 is a schematic diagram of establishing a GRE tunnel between the GGSN-NET and the WAP gateway in the specific embodiment provided by the embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

本发明实施例提供一种网络接入方法,如图1所示,该方法包括:An embodiment of the present invention provides a network access method, as shown in Figure 1, the method includes:

步骤101、NET接入点对应的GGSN接收用户设备通过所述NET接入点发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议(InternetProtocol,IP)地址。Step 101, the GGSN corresponding to the NET access point receives the first data packet sent by the user equipment through the NET access point; wherein, the first data packet contains a request message for the user equipment to access the network WEB server and The GGSN is an Internet Protocol (Internet Protocol, IP) address allocated to the user equipment.

需要说明的是,在运营商的网络系统中,NET接入点对应的GGSN(以下简称为GGSN-NET)与WAP接入点对应的GGSN(以下简称为GGSN-WAP)可以是在物理上直接互相独立,也可以是在逻辑上互相独立、物理上集成在同一个物理实体上,GGSN-NET处理的通过NET接入点接入的用户设备的业务数据,而GGSN-WAP处理的是通过WAP接入点接入的用户设备的业务数据。It should be noted that, in the operator's network system, the GGSN corresponding to the NET access point (hereinafter referred to as GGSN-NET) and the GGSN corresponding to the WAP access point (hereinafter referred to as GGSN-WAP) can be directly connected physically. Independent of each other, or logically independent of each other and physically integrated on the same physical entity, GGSN-NET processes the service data of user equipment accessed through the NET access point, while GGSN-WAP processes the business data of user equipment accessed through the WAP Service data of user equipment accessed by the access point.

步骤102、所述GGSN根据预设封装技术将所述第一数据包进行封装并将封装后得到的第二数据包发送给WAP网关。Step 102, the GGSN encapsulates the first data packet according to a preset encapsulation technology and sends the encapsulated second data packet to the WAP gateway.

进一步的,所述预设封装技术包括:通用路由封装(GenericRoutingEncapsulation,GRE)。Further, the preset encapsulation technology includes: Generic Routing Encapsulation (Generic Routing Encapsulation, GRE).

需要说明的是,在现网环境中由于NET接入点的业务和WAP接入点的业务是完全独立的,所以现网环境中GGSN-NET使用的IP地址段与GGSN-WAP使用的IP地址段也是相互独立的,因此,现网环境中GGSN-NET使用的IP地址段与GGSN-WAP使用的IP地址段是可以相同的也即IP地址段可以复用的;在本发明实施例提供的技术方案中,由于GGSN-NET需要将NET接入点的业务数据接入到WAP网关,通过GRE隧道将GGSN-NET接入WAP网关,使得NET接入点的用户设备的IP地址对WAP网关透明化,从而不会造成NET接入点的用户设备的IP地址与WAP接入点的用户设备的IP地址冲突的情况;更优选的,在本发明实施例提供的技术方案中,可以对GGSN-NET以及GGSN-WAP两者使用的IP地址段进行划分,使得两者使用的IP地址段不重合,这样,更加保证不会出现两者冲突的情况。It should be noted that in the live network environment, since the services of the NET access point and the service of the WAP access point are completely independent, the IP address segment used by GGSN-NET in the live network environment is different from the IP address segment used by GGSN-WAP. The segments are also independent of each other. Therefore, the IP address segment used by GGSN-NET and the IP address segment used by GGSN-WAP in the current network environment can be the same, that is, the IP address segment can be reused; In the technical solution, since the GGSN-NET needs to connect the service data of the NET access point to the WAP gateway, the GGSN-NET is connected to the WAP gateway through the GRE tunnel, so that the IP address of the user equipment of the NET access point is transparent to the WAP gateway so that the IP address of the user equipment of the NET access point will not conflict with the IP address of the user equipment of the WAP access point; more preferably, in the technical solution provided in the embodiments of the present invention, the GGSN- NET and GGSN-WAP to divide the IP address segments used by both, so that the IP address segments used by the two do not overlap. In this way, it is more guaranteed that there will be no conflict between the two.

步骤103、所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器。Step 103, the WAP gateway decapsulates the received second data packet to obtain the first data packet, and sends the first data packet to the WEB server.

需要说明的是,步骤103中WAP网关对所述第二数据包进行解封装时按照GRE封装时的方式反向解封即可,GRE技术中的封装与解封装均属于现有的技术手段,本发明中对此不做赘述。It should be noted that, when the WAP gateway decapsulates the second data packet in step 103, it can be reversely decapsulated according to the GRE encapsulation method, and the encapsulation and decapsulation in the GRE technology belong to the existing technical means. This will not be described in detail in the present invention.

进一步的,如图2所示,所述方法还可以包括:Further, as shown in Figure 2, the method may also include:

步骤104、所述WEB服务器向所述WAP网关返回第三数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息。Step 104, the WEB server returns a third data packet to the WAP gateway; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server.

具体的,步骤104属于现有的技术手段,本领域技术人员可参考现有技术理解,在此不做赘述。Specifically, step 104 belongs to existing technical means, and those skilled in the art can refer to the prior art for understanding, and details are not described here.

步骤105、所述WAP网关根据所述预设封装技术将所述第三数据包进行封装并将封装后得到的第四数据包发送给所述GGSN。Step 105: The WAP gateway encapsulates the third data packet according to the preset encapsulation technology, and sends the encapsulated fourth data packet to the GGSN.

具体的,所述WAP网关对所述第三数据包进行GRE封装并将封装后得到的第四数据包发送给GGSN-NET。Specifically, the WAP gateway performs GRE encapsulation on the third data packet and sends the encapsulated fourth data packet to the GGSN-NET.

步骤106、所述GGSN对接收到的所述第四数据包进行解封装以获取所述第三数据包并将所述第三数据包发送给所述用户设备。Step 106, the GGSN decapsulates the received fourth data packet to obtain the third data packet, and sends the third data packet to the user equipment.

进一步的,所述第一数据包中还可以包括:所述用户设备的移动用户号码(MobileSubscriberInternationalISDNnumber,MSISDN);Further, the first data packet may further include: a mobile subscriber number (MobileSubscriberInternationalISDNnumber, MSISDN) of the user equipment;

相应的,如图2所示,步骤103可以具体包括:Correspondingly, as shown in FIG. 2, step 103 may specifically include:

步骤103a、所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包。Step 103a, the WAP gateway decapsulates the received second data packet to obtain the first data packet.

步骤103b、所述WAP网关将所述第一数据包中包含的所述请求消息发送给所述WEB服务器并且所述WAP网关将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器。Step 103b, the WAP gateway sends the request message contained in the first data packet to the WEB server and the WAP gateway sends the MSISDN of the user equipment contained in the first data packet to marketing server.

进一步的,如图2所示,在步骤103b之后,所述方法还可以包括:Further, as shown in FIG. 2, after step 103b, the method may further include:

步骤107、所述营销服务器根据所述MSISDN从运营商的业务支撑系统(Bussinesssupportsystem,BSS)获取所述用户设备的相关信息并根据所述相关信息生成营销信息。Step 107: The marketing server obtains relevant information of the user equipment from a business support system (Business support system, BSS) of an operator according to the MSISDN, and generates marketing information according to the relevant information.

步骤108、所述营销服务器将所述营销信息发送给所述WAP网关。Step 108, the marketing server sends the marketing information to the WAP gateway.

具体的,步骤107、108属于现有的技术手段,本领域技术人员可参考现有技术理解,在此不做赘述。Specifically, steps 107 and 108 belong to existing technical means, and those skilled in the art can refer to the prior art for understanding, and details are not repeated here.

相应的,如图2所示,在步骤104与步骤105之间,所述方法还可以包括:Correspondingly, as shown in FIG. 2, between step 104 and step 105, the method may further include:

步骤104'、所述WAP网关接收到所述营销信息后将所述营销信息添加到所述第三数据包中。Step 104', after receiving the marketing information, the WAP gateway adds the marketing information to the third data packet.

本发明实施例提供的一种网络接入方法,GGSN-NET接收用户设备通过NET接入点发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN-NET为所述用户设备分配的互联网协议IP地址;所述GGSN-NET根据预设封装技术将所述第一数据包进行封装并将封装后得到的第二数据包发送给WAP网关;所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器。在本发明实施例提供的技术方案中,通过将一部分NET流量接入WAP网关,能够在一定程度上降低现网NET业务的负荷,提高WAP网关的利用率以及运营商的业务管控能力。In a network access method provided by an embodiment of the present invention, the GGSN-NET receives the first data packet sent by the user equipment through the NET access point; wherein, the first data packet includes the user equipment access network WEB server request message and the Internet Protocol IP address assigned by the GGSN-NET to the user equipment; the GGSN-NET encapsulates the first data packet according to a preset encapsulation technology and obtains the second data packet obtained after encapsulation sending to the WAP gateway; the WAP gateway decapsulates the received second data packet to obtain the first data packet and sends the first data packet to the WEB server. In the technical solution provided by the embodiment of the present invention, by connecting part of the NET traffic to the WAP gateway, the load of the NET service on the existing network can be reduced to a certain extent, and the utilization rate of the WAP gateway and the service management and control ability of the operator can be improved.

本发明实施例提供一种网关GGSN10,如图3所示,包括:An embodiment of the present invention provides a gateway GGSN10, as shown in FIG. 3 , including:

第一接收单元11,用于接收用户设备通过NET接入点向所述GGSN发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问WEB服务器的请求消息以及所述GGSN为所述用户设备分配的IP地址;The first receiving unit 11 is configured to receive the first data packet sent by the user equipment to the GGSN through the NET access point; wherein, the first data packet contains a request message for the user equipment to access the WEB server and the The IP address allocated by the GGSN to the user equipment;

封装单元12,用于根据预设封装技术将所述第一数据包进行封装得到第二数据包;An encapsulation unit 12, configured to encapsulate the first data packet according to a preset encapsulation technology to obtain a second data packet;

第一发送单元13,用于将所述第二数据包发送给WAP网关。The first sending unit 13 is configured to send the second data packet to the WAP gateway.

进一步的,如图4所示,所述GGSN10还可以包括:Further, as shown in Figure 4, the GGSN10 may also include:

第二接收单元14,用于当所述WAP网关根据所述预设封装技术对从所述WEB服务器接收到的第三数据包进行封装得到第四数据包后,接收WAP网关发送的所述第四数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The second receiving unit 14 is configured to receive the fourth data packet sent by the WAP gateway after the WAP gateway encapsulates the third data packet received from the WEB server according to the preset encapsulation technology to obtain a fourth data packet Four data packets; wherein, the third data packet contains a response message for responding to the user equipment accessing the WEB server;

解封装单元15,用于对接收到的所述第四数据包进行解封装以获取所述第三数据包;A decapsulation unit 15, configured to decapsulate the received fourth data packet to obtain the third data packet;

第二发送单元16,用于将所述第三数据包发送给所述用户设备。The second sending unit 16 is configured to send the third data packet to the user equipment.

进一步的,所述预设封装技术包括:GRE。Further, the preset encapsulation technology includes: GRE.

本实施例用于实现上述各方法实施例,本实施例中各个单元的工作流程和工作原理参见上述各方法实施例中的描述,在此不再赘述。This embodiment is used to implement the above-mentioned method embodiments. For the workflow and working principle of each unit in this embodiment, refer to the descriptions in the above-mentioned method embodiments, and details are not repeated here.

本发明实施例提供的一种GGSN,接收用户设备通过NET接入点向所述GGSN发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;根据预设封装技术将所述第一数据包进行封装得到第二数据包;将所述第二数据包发送给WAP网关。在本发明实施例提供的技术方案中,通过将一部分NET流量接入WAP网关,能够在一定程度上降低现网NET业务的负荷,提高WAP网关的利用率以及运营商的业务管控能力。A GGSN provided by an embodiment of the present invention receives a first data packet sent by a user equipment to the GGSN through a NET access point; wherein, the first data packet includes a request message for the user equipment to access a WEB server and the Internet Protocol IP address assigned by the GGSN to the user equipment; encapsulating the first data packet according to a preset encapsulation technology to obtain a second data packet; and sending the second data packet to a WAP gateway. In the technical solution provided by the embodiment of the present invention, by connecting part of the NET traffic to the WAP gateway, the load of the NET service on the existing network can be reduced to a certain extent, and the utilization rate of the WAP gateway and the service management and control ability of the operator can be improved.

本发明实施例提供一种WAP网关20,如图5所示,包括:The embodiment of the present invention provides a WAP gateway 20, as shown in FIG. 5, comprising:

第一接收单元21,用于当NET接入点对应的GGSN根据预设封装技术对通过所述NET接入点从用户设备接收的第一数据包进行封装得到第二数据包后,接收所述GGSN发送的所述第二数据包;并对所述第一数据包;其中,所述第一数据包中包含有所述用户设备访问WEB服务器的请求消息以及所述GGSN为所述用户设备分配的IP地址;The first receiving unit 21 is configured to receive the second data packet after the GGSN corresponding to the NET access point encapsulates the first data packet received from the user equipment through the NET access point according to a preset encapsulation technology to obtain the second data packet. The second data packet sent by the GGSN; and the first data packet; wherein, the first data packet contains a request message for the user equipment to access the WEB server and the GGSN assigns the user equipment IP address;

解封装单元22,用于对接收到的所述第二数据包进行解封装以获取所述第一数据包;A decapsulation unit 22, configured to decapsulate the received second data packet to obtain the first data packet;

第一发送单元23,用于将所述第一数据包发送给所述WEB服务器;A first sending unit 23, configured to send the first data packet to the WEB server;

进一步的,所述WAP网关还可以包括:Further, the WAP gateway may also include:

第二接收单元24,用于接收所述WEB服务器向所述WAP网关发送的第三数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The second receiving unit 24 is configured to receive a third data packet sent by the WEB server to the WAP gateway; wherein, the third data packet contains a response message for responding to the user equipment accessing the WEB server ;

封装单元25,用于根据所述预设封装技术将所述第三数据包进行封装后得到第四数据包;An encapsulation unit 25, configured to obtain a fourth data packet after encapsulating the third data packet according to the preset encapsulation technology;

第二发送单元26,用于将所述第四数据包发送给所述GGSN。The second sending unit 26 is configured to send the fourth data packet to the GGSN.

进一步的,所述预设封装技术包括:GRE。Further, the preset encapsulation technology includes: GRE.

进一步的,所述第一数据包中还包括:所述用户设备的MSISDN;相应的,Further, the first data packet also includes: the MSISDN of the user equipment; correspondingly,

所述第一发送单元23具体用于:将所述第一数据包中包含的所述请求消息发送给所述WEB服务器;The first sending unit 23 is specifically configured to: send the request message included in the first data packet to the WEB server;

所述WAP网关20还可以包括:The WAP gateway 20 may also include:

第三发送单元27,用于将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器。The third sending unit 27 is configured to send the MSISDN of the user equipment included in the first data packet to a marketing server.

进一步的,所述WAP网关20还可以包括:Further, the WAP gateway 20 may also include:

第三接收单元28,用于当所述营销服务器根据所述MSISDN从运营商的业务支撑系统BSS获取所述用户设备的相关信息并根据所述相关信息生成营销信息后,接收所述营销服务器发送的所述营销信息;The third receiving unit 28 is configured to receive, after the marketing server obtains relevant information of the user equipment from the operator's business support system BSS according to the MSISDN and generates marketing information according to the relevant information, receive the The marketing information of the above;

添加单元29,用于将接收到的所述营销信息添加到所述第三数据包中。The adding unit 29 is configured to add the received marketing information to the third data packet.

本实施例用于实现上述各方法实施例,本实施例中各个单元的工作流程和工作原理参见上述各方法实施例中的描述,在此不再赘述。This embodiment is used to implement the above-mentioned method embodiments. For the workflow and working principle of each unit in this embodiment, refer to the descriptions in the above-mentioned method embodiments, and details are not repeated here.

本发明实施例提供的一种WAP网关,当NET接入点对应的GGSN根据预设封装技术对通过所述NET接入点从用户设备接收的第一数据包进行封装得到第二数据包后,接收所述GGSN发送的所述第二数据包;并对所述第一数据包;其中,所述第一数据包中包含有所述用户设备访问WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;对接收到的所述第二数据包进行解封装以获取所述第一数据包;将所述第一数据包发送给所述WEB服务器。在本发明实施例提供的技术方案中,通过将一部分NET流量接入WAP网关,能够在一定程度上降低现网NET业务的负荷,提高WAP网关的利用率以及运营商的业务管控能力。In a WAP gateway provided by an embodiment of the present invention, when the GGSN corresponding to the NET access point encapsulates the first data packet received from the user equipment through the NET access point according to the preset encapsulation technology to obtain the second data packet, receiving the second data packet sent by the GGSN; and for the first data packet; wherein, the first data packet contains a request message for the user equipment to access the WEB server and the GGSN is the An Internet Protocol IP address assigned by the user equipment; decapsulating the received second data packet to obtain the first data packet; sending the first data packet to the WEB server. In the technical solution provided by the embodiment of the present invention, by connecting part of the NET traffic to the WAP gateway, the load of the NET service on the existing network can be reduced to a certain extent, and the utilization rate of the WAP gateway and the service management and control ability of the operator can be improved.

为了使本领域技术人员能够更清楚地理解本发明提供的技术方案,下面通过具体的实施例,对本发明提供的技术方案进行详细说明:In order to enable those skilled in the art to understand the technical solution provided by the present invention more clearly, the technical solution provided by the present invention will be described in detail below through specific examples:

在以下具体实施例中,如图6所示,包括以下步骤:In the following specific embodiments, as shown in Figure 6, the following steps are included:

步骤1、以用户设备接入的GGSN为单位,根据用户设备分布情况和NET流量负载情况选取需要分流的GGSN-NET,将需要分流的GGSN-NET的NET流量接入WAP网关,进行NET流量分流。Step 1. Taking the GGSN connected by the user equipment as the unit, select the GGSN-NET that needs to be offloaded according to the distribution of the user equipment and the NET traffic load, and connect the NET traffic of the GGSN-NET that needs to be offloaded to the WAP gateway for NET traffic offloading .

步骤2、对GGSN-NET使用的IP地址段和GGSN-WAP使用的IP地址段进行统一规划,使得GGSN-NET使用的IP地址段和GGSN-WAP使用的IP地址段不重复。Step 2. Unified planning is made for the IP address segment used by the GGSN-NET and the IP address segment used by the GGSN-WAP, so that the IP address segment used by the GGSN-NET and the IP address segment used by the GGSN-WAP do not overlap.

步骤3、选定GGSN-NET与WAP网关之间采用GRE隧道的连接方式;Step 3, select the GRE tunnel connection mode between GGSN-NET and WAP gateway;

示例性的,例如图7所示。Exemplarily, for example, as shown in FIG. 7 .

步骤4、将用户设备通过NET接入点访问网络时发送给GGSN-NET的私有IP数据包进行封装,GGSN将用户设备的私有IP数据包进行封装后通过GRE隧道传输到WAP网关后,WAP网关对封装数据包进行解析,获取到用户设备发送给GGSN-NET的私有IP数据包。Step 4. Encapsulate the private IP data packet sent to GGSN-NET when the user equipment accesses the network through the NET access point. After the GGSN encapsulates the private IP data packet of the user equipment and transmits it to the WAP gateway through the GRE tunnel, the WAP gateway The encapsulated data packet is analyzed to obtain the private IP data packet sent by the user equipment to the GGSN-NET.

其中,现网的WAP方式上网环境中,只有GGSN-WAP地址池与WAP网关相连,GGSN-NET地址池与WAP网关之间不存在连接。Among them, in the WAP access environment of the existing network, only the GGSN-WAP address pool is connected to the WAP gateway, and there is no connection between the GGSN-NET address pool and the WAP gateway.

具体的,为了实现将NET流量引入WAP网关,关键是在GGSN-NET与WAP网关之间建立GRE隧道。Specifically, in order to introduce NET traffic into the WAP gateway, the key is to establish a GRE tunnel between the GGSN-NET and the WAP gateway.

建立GRE隧道的目的有两个:The purpose of establishing a GRE tunnel is twofold:

(1)改变NET流量的路由方式,通过GRE隧道将用户设备原本访问WEB服务器的数据包进行封装,GGSN-NET只需通过GRE隧道将数据包传输给WAP网关,WAP网关对数据包进行解析后,获取用户设备需要访问的WEB服务器的IP地址,再对数据包进行路由转发;(1) Change the routing method of NET traffic, encapsulate the data packets originally accessed by the user equipment to the WEB server through the GRE tunnel, GGSN-NET only needs to transmit the data packets to the WAP gateway through the GRE tunnel, and the WAP gateway parses the data packets , obtain the IP address of the WEB server that the user equipment needs to access, and then route and forward the data packet;

(2)由于GGSN-WAP与GGSN-NET本来属于互相独立的业务,两类业务的IP地址池是允许相互复用的,所以如果将NET流量直接引入WAP网关,会造成WAP网关内部WAP用户和NET用户的IP地址冲突,通过GRE隧道将GGSN-NET接入WAP网关,使得NET用户的IP地址对WAP网关透明化,不会造成NET用户IP地址与WAP用户IP地址冲突的情况。WAP网关收到NET用户的业务请求后,对数据包进行解析后进行路由分发到对应的WEB服务器,WAP网关收到包含有WEB服务器响应NET接入点的用户设备的信息的数据包后,仅需将数据包封装后通过GRE隧道返回至GGSN-NET,再由GGSN-NET返回给用户设备。远程用户拨号认证服务请求(RemoteAuthenticationDialInUserServiceRequest,RadiusRequest)消息(该消息包含在GGSN-NET发给WAP网关的数据包中)(2) Since GGSN-WAP and GGSN-NET are originally independent services, the IP address pools of the two types of services are allowed to be reused each other, so if the NET traffic is directly introduced into the WAP gateway, it will cause WAP users inside the WAP gateway and If the IP addresses of NET users conflict, the GGSN-NET is connected to the WAP gateway through the GRE tunnel, so that the IP addresses of NET users are transparent to the WAP gateway, and there will be no conflict between the IP addresses of NET users and WAP users. After the WAP gateway receives the service request of the NET user, it analyzes the data packet and distributes it to the corresponding WEB server. The data packet needs to be encapsulated and returned to the GGSN-NET through the GRE tunnel, and then returned to the user equipment by the GGSN-NET. Remote user dial-in authentication service request (RemoteAuthenticationDialInUserServiceRequest, RadiusRequest) message (this message is included in the data packet sent by GGSN-NET to the WAP gateway)

步骤5、WAP网关从GGSN-NET端接收包含有用户设备访问WEB服务器的请求消息,RadiusRequest消息的内容中包括用户设备的IP地址和MSISDN,并且WAP网关在会话期间负责维护用户设备的IP地址与MSISDN号码的对应关系。WAP网关将用户设备的MSISDN号码路由转发给营销服务器,营销服务器通过MSISDN识别用户,根据MSISDN这一唯一标识字段,从运营商的BSS获取用户设备的相关信息,可以包括但不限于以下字段:Step 5, the WAP gateway receives from the GGSN-NET end the request message that contains the user equipment to access the WEB server, the content of the RadiusRequest message includes the IP address and the MSISDN of the user equipment, and the WAP gateway is responsible for maintaining the IP address and the MSISDN of the user equipment during the session. Correspondence between MSISDN numbers. The WAP gateway routes and forwards the MSISDN number of the user equipment to the marketing server. The marketing server identifies the user through the MSISDN. According to the MSISDN, the unique identification field, obtains the relevant information of the user equipment from the operator's BSS, which may include but not limited to the following fields:

11 剩余话费remaining credit 55 合约到期日期contract expiration date 22 剩余流量residual flow 66 用户类型(2G/3G/4G)User type (2G/3G/4G) 33 剩余通话时间remaining talk time 77 用户终端型号User terminal model 44 剩余短信数量Remaining number of text messages 88 最新活动信息Latest event information

步骤6、营销服务器根据获取的用户设备的相关信息生成营销信息并将营销信息返回给WAP网关。Step 6. The marketing server generates marketing information according to the acquired information about the user equipment and returns the marketing information to the WAP gateway.

具体的,结合步骤5中上述的表格,可以有3种情况:Specifically, combined with the above table in step 5, there can be 3 situations:

(1)在营销服务器内部对于用户的话费、流量、通话、短信、合约到期日期设置阈值,从BSS域获取到的用户计费信息触发阈值时,营销服务器生成通知消息,将通知消息返回给WAP网关。(1) Thresholds are set within the marketing server for user charges, traffic, calls, short messages, and contract expiration dates. When the user billing information obtained from the BSS domain triggers the threshold, the marketing server generates a notification message and returns the notification message to WAP gateway.

(2)当有新的促销活动时,营销服务器将促销活动信息返回给WAP网关。(2) When there is a new promotional activity, the marketing server returns the promotional activity information to the WAP gateway.

(3)针对2G和3G用户,以及终端老旧的用户,向WAP网关返回用于激励用户升级网络制式以及更新智能机的推送消息。(3) For 2G and 3G users, as well as users with old terminals, return push messages for encouraging users to upgrade network standards and update smart phones to the WAP gateway.

步骤7、WAP网关从GGSN-NET端收到用户设备的数据包后,对数据包进行解析,将用户设备访问WEB服务器的业务请求路由转发给对应的WEB服务器,WEB服务器收到请求后返回响应消息给WAP网关。Step 7. After the WAP gateway receives the data packet of the user equipment from the GGSN-NET end, it analyzes the data packet, routes and forwards the service request of the user equipment to access the WEB server to the corresponding WEB server, and the WEB server returns a response after receiving the request message to the WAP gateway.

步骤8、WAP网关收到WEB服务器返回的响应消息和营销服务器返回的营销消息后,会将两部分消息进行合并,WAP网关将合并后的消息包含在数据包中通过GRE隧道发送对应的GGSN-NET。Step 8. After the WAP gateway receives the response message returned by the WEB server and the marketing message returned by the marketing server, it will combine the two parts of the message, and the WAP gateway will include the combined message in the data packet and send the corresponding GGSN- NET.

步骤9、GGSN-NET收到WAP网关发送的数据包,对封装的消息进行解析获取到WAP网关合并后的消息,再转发给相应的用户设备,从而实现NET接入点的用户设备通过WAP网关访问WEB服务器,另外由于在返回消息中有针对用户设备的营销信息,可以帮助运营商实现一定程度的营销推广。Step 9, GGSN-NET receives the data packet sent by the WAP gateway, analyzes the encapsulated message to obtain the combined message of the WAP gateway, and then forwards it to the corresponding user equipment, so that the user equipment of the NET access point passes through the WAP gateway Access to the WEB server, in addition, because there is marketing information for the user equipment in the returned message, it can help the operator to achieve a certain degree of marketing promotion.

虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described content is only an embodiment adopted for understanding the present invention, and is not intended to limit the present invention. Anyone skilled in the field of the present invention can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed by the present invention, but the patent protection scope of the present invention must still be The scope defined by the appended claims shall prevail.

Claims (14)

1.一种网络接入方法,其特征在于,包括:1. A network access method, characterized in that, comprising: NET接入点对应的GGSN接收用户设备通过所述NET接入点发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;The GGSN corresponding to the NET access point receives the first data packet sent by the user equipment through the NET access point; wherein, the first data packet includes a request message for the user equipment to access the network WEB server and the GGSN An Internet Protocol IP address assigned to the user equipment; 所述GGSN根据预设封装技术将所述第一数据包进行封装并将封装后得到的第二数据包发送给WAP网关;The GGSN encapsulates the first data packet according to a preset encapsulation technology and sends the encapsulated second data packet to the WAP gateway; 所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器。The WAP gateway decapsulates the received second data packet to obtain the first data packet and sends the first data packet to the WEB server. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 所述WEB服务器向所述WAP网关返回第三数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The WEB server returns a third data packet to the WAP gateway; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server; 所述WAP网关根据所述预设封装技术将所述第三数据包进行封装并将封装后得到的第四数据包发送给所述GGSN;The WAP gateway encapsulates the third data packet according to the preset encapsulation technology and sends the encapsulated fourth data packet to the GGSN; 所述GGSN对接收到的所述第四数据包进行解封装以获取所述第三数据包并将所述第三数据包发送给所述用户设备。The GGSN decapsulates the received fourth data packet to obtain the third data packet, and sends the third data packet to the user equipment. 3.根据权利要求2所述的方法,其特征在于,所述第一数据包中还包括:所述用户设备的移动用户号码MSISDN;3. The method according to claim 2, wherein the first data packet further includes: the mobile subscriber number MSISDN of the user equipment; 相应的,所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包并将所述第一数据包发送给所述WEB服务器,具体包括:Correspondingly, the WAP gateway decapsulates the received second data packet to obtain the first data packet and sends the first data packet to the WEB server, specifically including: 所述WAP网关对接收到的所述第二数据包进行解封装以获取所述第一数据包;The WAP gateway decapsulates the received second data packet to obtain the first data packet; 所述WAP网关将所述第一数据包中包含的所述请求消息发送给所述WEB服务器并且所述WAP网关将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器。The WAP gateway sends the request message included in the first data packet to the WEB server and the WAP gateway sends the MSISDN of the user equipment included in the first data packet to a marketing server. 4.根据权利要求3所述的方法,其特征在于,所述在所述WAP网关将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器之后,所述方法还包括:4. The method according to claim 3, wherein, after the WAP gateway sends the MSISDN of the user equipment contained in the first data packet to a marketing server, the method further comprises: 所述营销服务器根据所述MSISDN从运营商的业务支撑系统BSS获取所述用户设备的相关信息并根据所述相关信息生成营销信息;The marketing server obtains relevant information of the user equipment from the operator's business support system BSS according to the MSISDN, and generates marketing information according to the relevant information; 所述营销服务器将所述营销信息发送给所述WAP网关;The marketing server sends the marketing information to the WAP gateway; 相应的,在所述WAP网关根据所述预设封装技术将所述第三数据包进行封装并将封装后得到的第四数据包发送给所述GGSN之前,所述方法还包括:Correspondingly, before the WAP gateway encapsulates the third data packet according to the preset encapsulation technology and sends the encapsulated fourth data packet to the GGSN, the method further includes: 所述WAP网关接收到所述营销信息后将所述营销信息添加到所述第三数据包中。After receiving the marketing information, the WAP gateway adds the marketing information to the third data packet. 5.根据权利要求1所述的方法,其特征在于,所述GGSN使用的IP地址段与WAP接入点对应的GGSN使用的IP地址段不重合。5. The method according to claim 1, wherein the IP address segment used by the GGSN does not overlap with the IP address segment used by the GGSN corresponding to the WAP access point. 6.根据权利要求1至5任一项所述的方法,其特征在于,所述预设封装技术包括:通用路由封装GRE。6. The method according to any one of claims 1 to 5, wherein the preset encapsulation technology comprises: general routing encapsulation (GRE). 7.一种网关GGSN,其特征在于,包括:7. A gateway GGSN, characterized in that it comprises: 第一接收单元,用于接收用户设备通过NET接入点向所述GGSN发送的第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;The first receiving unit is configured to receive the first data packet sent by the user equipment to the GGSN through the NET access point; wherein, the first data packet includes a request message for the user equipment to access the network WEB server and the The Internet Protocol IP address assigned by the GGSN to the user equipment; 封装单元,用于根据预设封装技术将所述第一数据包进行封装得到第二数据包;An encapsulation unit, configured to encapsulate the first data packet according to a preset encapsulation technology to obtain a second data packet; 第一发送单元,用于将所述第二数据包发送给WAP网关。The first sending unit is configured to send the second data packet to the WAP gateway. 8.根据权利要求7所述的GGSN,其特征在于,所述GGSN还包括:8. The GGSN according to claim 7, characterized in that, the GGSN further comprises: 第二接收单元,用于当所述WAP网关根据所述预设封装技术对从所述WEB服务器接收到的第三数据包进行封装得到第四数据包后,接收WAP网关发送的所述第四数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The second receiving unit is configured to receive the fourth data packet sent by the WAP gateway after the WAP gateway encapsulates the third data packet received from the WEB server according to the preset encapsulation technology to obtain a fourth data packet. A data packet; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server; 解封装单元,用于对接收到的所述第四数据包进行解封装以获取所述第三数据包;a decapsulating unit, configured to decapsulate the received fourth data packet to obtain the third data packet; 第二发送单元,用于将所述第三数据包发送给所述用户设备。a second sending unit, configured to send the third data packet to the user equipment. 9.根据权利要求7或8所述的GGSN,其特征在于,所述预设封装技术包括:通用路由封装GRE。9. The GGSN according to claim 7 or 8, characterized in that the preset encapsulation technology comprises: general routing encapsulation (GRE). 10.一种WAP网关,其特征在于,包括:10. A WAP gateway, characterized in that, comprising: 第一接收单元,用于当NET接入点对应的GGSN根据预设封装技术对通过所述NET接入点从用户设备接收的第一数据包进行封装得到第二数据包后,接收所述GGSN发送的所述第二数据包;并对所述第一数据包;其中,所述第一数据包中包含有所述用户设备访问网络WEB服务器的请求消息以及所述GGSN为所述用户设备分配的互联网协议IP地址;The first receiving unit is configured to receive the GGSN after the GGSN corresponding to the NET access point encapsulates the first data packet received from the user equipment through the NET access point according to a preset encapsulation technology to obtain a second data packet. The second data packet sent; and for the first data packet; wherein, the first data packet contains a request message for the user equipment to access the network WEB server and the GGSN assigns the user equipment Internet Protocol IP address; 解封装单元,用于对接收到的所述第二数据包进行解封装以获取所述第一数据包;a decapsulating unit, configured to decapsulate the received second data packet to obtain the first data packet; 第一发送单元,用于将所述第一数据包发送给所述WEB服务器。A first sending unit, configured to send the first data packet to the WEB server. 11.根据权利要求10所述的WAP网关,其特征在于,所述WAP网关还包括:11. WAP gateway according to claim 10, is characterized in that, described WAP gateway also comprises: 第二接收单元,用于接收所述WEB服务器向所述WAP网关发送的第三数据包;其中,所述第三数据包中包含有用于响应所述用户设备访问所述WEB服务器的响应消息;The second receiving unit is configured to receive a third data packet sent by the WEB server to the WAP gateway; wherein, the third data packet includes a response message for responding to the user equipment accessing the WEB server; 封装单元,用于根据所述预设封装技术将所述第三数据包进行封装后得到第四数据包;An encapsulation unit, configured to obtain a fourth data packet after encapsulating the third data packet according to the preset encapsulation technology; 第二发送单元,用于将所述第四数据包发送给所述GGSN。A second sending unit, configured to send the fourth data packet to the GGSN. 12.根据权利要求10或11所述的WAP网关,其特征在于,所述预设封装技术包括:通用路由封装GRE。12. The WAP gateway according to claim 10 or 11, characterized in that the preset encapsulation technology comprises: general routing encapsulation (GRE). 13.根据权利要求10或11所述的WAP网关,其特征在于,所述第一数据包中还包括:所述用户设备的移动用户号码MSISDN;相应的,13. The WAP gateway according to claim 10 or 11, wherein the first data packet also includes: the mobile subscriber number MSISDN of the user equipment; correspondingly, 所述第一发送单元具体用于:将所述第一数据包中包含的所述请求消息发送给所述WEB服务器;The first sending unit is specifically configured to: send the request message included in the first data packet to the WEB server; 所述WAP网关还包括:The WAP gateway also includes: 第三发送单元,用于将所述第一数据包中包含的所述用户设备的MSISDN发送给营销服务器。A third sending unit, configured to send the MSISDN of the user equipment included in the first data packet to a marketing server. 14.根据权利要求13所述的WAP网关,其特征在于,所述WAP网关还包括:14. The WAP gateway according to claim 13, wherein the WAP gateway further comprises: 第三接收单元,用于当所述营销服务器根据所述MSISDN从运营商的业务支撑系统BSS获取所述用户设备的相关信息并根据所述相关信息生成营销信息后,接收所述营销服务器发送的所述营销信息;The third receiving unit is configured to receive the marketing information sent by the marketing server after the marketing server acquires relevant information of the user equipment from the operator's business support system BSS according to the MSISDN and generates marketing information according to the relevant information said marketing information; 添加单元,用于将接收到的所述营销信息添加到所述第三数据包中。An adding unit, configured to add the received marketing information to the third data packet.
CN201510509482.8A 2015-08-18 2015-08-18 A kind of network access method and device Active CN105208598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510509482.8A CN105208598B (en) 2015-08-18 2015-08-18 A kind of network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510509482.8A CN105208598B (en) 2015-08-18 2015-08-18 A kind of network access method and device

Publications (2)

Publication Number Publication Date
CN105208598A true CN105208598A (en) 2015-12-30
CN105208598B CN105208598B (en) 2019-03-12

Family

ID=54955950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510509482.8A Active CN105208598B (en) 2015-08-18 2015-08-18 A kind of network access method and device

Country Status (1)

Country Link
CN (1) CN105208598B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789124A (en) * 2017-02-21 2017-05-31 中国联合网络通信集团有限公司 WAP flow rate testing methods and its system, GGSN servers and WAP gateway
CN107770027A (en) * 2017-09-19 2018-03-06 大唐网络有限公司 A kind of implementation method that gre tunneling service is provided based on OpenStack frameworks
CN108134857A (en) * 2017-12-26 2018-06-08 中国联合网络通信集团有限公司 A kind of IP address distribution method, apparatus and system
CN108989433A (en) * 2018-07-23 2018-12-11 中国联合网络通信集团有限公司 A kind of WAP-APN business access method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426287A (en) * 2008-11-21 2009-05-06 中国移动通信集团广东有限公司 Radius process routing policy optimization method for WAP service
CN102006672A (en) * 2010-09-28 2011-04-06 中国联合网络通信集团有限公司 Service request processing method, communication system and household base station
US20130013722A1 (en) * 2010-03-26 2013-01-10 Zte Corporation Method for a mobile email client to access to a server, and mobile terminal thereof
CN103152369A (en) * 2011-12-07 2013-06-12 中国移动通信集团浙江有限公司 Internet access method, system, mobile station, gateway GPRS support node (GGSN) and wireless application protocol (WAP) gateway
CN103220372A (en) * 2012-01-19 2013-07-24 中国移动通信集团公司 Data service access method and system
CN103648134A (en) * 2013-11-26 2014-03-19 小米科技有限责任公司 Access point switching method, access point switching device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426287A (en) * 2008-11-21 2009-05-06 中国移动通信集团广东有限公司 Radius process routing policy optimization method for WAP service
US20130013722A1 (en) * 2010-03-26 2013-01-10 Zte Corporation Method for a mobile email client to access to a server, and mobile terminal thereof
CN102006672A (en) * 2010-09-28 2011-04-06 中国联合网络通信集团有限公司 Service request processing method, communication system and household base station
CN103152369A (en) * 2011-12-07 2013-06-12 中国移动通信集团浙江有限公司 Internet access method, system, mobile station, gateway GPRS support node (GGSN) and wireless application protocol (WAP) gateway
CN103220372A (en) * 2012-01-19 2013-07-24 中国移动通信集团公司 Data service access method and system
CN103648134A (en) * 2013-11-26 2014-03-19 小米科技有限责任公司 Access point switching method, access point switching device and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨丽: "APN融合建设和改造实施", 《互联网天地 2013年第1期》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789124A (en) * 2017-02-21 2017-05-31 中国联合网络通信集团有限公司 WAP flow rate testing methods and its system, GGSN servers and WAP gateway
CN107770027A (en) * 2017-09-19 2018-03-06 大唐网络有限公司 A kind of implementation method that gre tunneling service is provided based on OpenStack frameworks
CN107770027B (en) * 2017-09-19 2021-01-05 大唐网络有限公司 Implementation method for providing GRE tunnel service based on OpenStack architecture
CN108134857A (en) * 2017-12-26 2018-06-08 中国联合网络通信集团有限公司 A kind of IP address distribution method, apparatus and system
CN108989433A (en) * 2018-07-23 2018-12-11 中国联合网络通信集团有限公司 A kind of WAP-APN business access method and system

Also Published As

Publication number Publication date
CN105208598B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN104301890B (en) Wireless Internet access flow Compliance control method and system
CN108702381B (en) Message transmission method and core network interface equipment
CN104335641B (en) Data service handling method, device and system under roaming scence
CN101400186B (en) A method for realizing one number and two cards in mobile communication system
CN104993993B (en) A kind of message processing method, equipment and system
CN103547333A (en) Advertisement push method, device and system
CN102695236B (en) A kind of data routing method and system
CN103563449B (en) Cut-in method and mobile management device, user equipment
CN103517266A (en) Method for activating mobile terminal on mobile network side and mobile gateway system
WO2021174943A1 (en) Data forwarding method and apparatus, and device and storage medium
US9749850B2 (en) System and method operable to enable shortest connection route
CN105208598A (en) Network access method and apparatus
CN103491517A (en) Method and equipment for obtaining PCC rules
CN103428731A (en) Method and system for routing optimization, and service gateway
CN104168545A (en) Method and system realizing instant message and short message/multimedia message intercommunication
US10666812B2 (en) Charging control apparatus, method, and system
CN112953843B (en) Data transmission method and device
CN103152369A (en) Internet access method, system, mobile station, gateway GPRS support node (GGSN) and wireless application protocol (WAP) gateway
CN101795478A (en) Method for data bypass, network side equipment and access gateway
CN101170469B (en) Registration information processing method, data processing device and system
CN109309766B (en) Addressing method and device
CN101651941B (en) Home agent clustering system and deployment method thereof
CN104735645A (en) Method and interworking function device for converting routing parameters
CN100484007C (en) Grouping service charging method
US8942700B2 (en) System and method operable to enable shortest connection route

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant