CN1691796A - Communication load sharing system and method thereof - Google Patents
Communication load sharing system and method thereof Download PDFInfo
- Publication number
- CN1691796A CN1691796A CN 200410038803 CN200410038803A CN1691796A CN 1691796 A CN1691796 A CN 1691796A CN 200410038803 CN200410038803 CN 200410038803 CN 200410038803 A CN200410038803 A CN 200410038803A CN 1691796 A CN1691796 A CN 1691796A
- Authority
- CN
- China
- Prior art keywords
- gprs
- ggsn
- node
- master
- request message
- 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.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动通信技术,特别涉及多个通信节点之间的负荷分担技术。The invention relates to mobile communication technology, in particular to load sharing technology among multiple communication nodes.
背景技术Background technique
通用分组无线业务(General Packet Radio Service,简称“GPRS”)是全球移动系统(Global System for Mobile,简称“GSM”)第2.1阶段规范实现的内容之一,它通过在GSM系统中引入GPRS服务支持节点(Serving GPRSSupporting Node,简称“SGSN”)、GPRS网关支持节点(Gateway GPRSSuporting Node,简称“GGSN”)和分组控制单元,使GPRS系统能提供比现有GSM网的9.6kbit/s更高的数据速率。GPRS的优势在于资源利用率高、传输速率高、接入时间短、支持IP协议和X.25协议等。General Packet Radio Service (General Packet Radio Service, referred to as "GPRS") is one of the contents of the implementation of the Global System for Mobile (Global System for Mobile, referred to as "GSM") Phase 2.1 specification. It introduces GPRS service support in the GSM system Node (Serving GPRSSupporting Node, referred to as "SGSN"), GPRS gateway support node (Gateway GPRSSuporting Node, referred to as "GGSN") and packet control unit, so that the GPRS system can provide higher data than the existing GSM network 9.6kbit/s rate. The advantages of GPRS are high resource utilization, high transmission rate, short access time, and support for IP protocol and X.25 protocol.
GPRS移动台与GSM基站通信,将GPRS分组发送到基站。但与电路交换式的呼叫不同,GPRS分组是从基站发送到SGSN,而不是通过移动交换中心连接到语音网络上。SGSN与GGSN进行通信,将GPRS分组发送到GGSN。GGSN对分组数据进行相应的处理,再发送到目的网络,如因特网或X.25网络。来自因特网的标识有移动台地址的IP包由GGSN接收,再转发到SGSN,继而传送到移动台上。SGSN通过帧中继与基站收发子系统相连,是GSM网络与移动台之间的接口。SGSN的主要作用是记录移动台的当前位置信息,并且在移动台和GGSN之间完成移动分组数据的发送和接收。GGSN通过基于IP协议的GPRS骨干网连接到SGSN,是连接GSM网络和外部分组交换网的网关。GGSN主要是起网关作用,所以也将GGSN称为GPRS路由器。GGSN可以对GSM网中的GPRS分组数据包进行协议转换,从而可以把这些分组数据包传送到远端的TCP/IP或X.25网络。SGSN和GGSN利用GPRS隧道协议对IP或X.25分组进行封装,实现二者之间的数据传输。The GPRS mobile station communicates with the GSM base station and sends GPRS packets to the base station. But different from the circuit-switched call, GPRS groups are sent from the base station to the SGSN, rather than connected to the voice network through a mobile switching center. SGSN communicates with GGSN and sends GPRS packets to GGSN. The GGSN performs corresponding processing on the packet data, and then sends it to the destination network, such as the Internet or X.25 network. The IP packet marked with the address of the mobile station from the Internet is received by the GGSN, and then forwarded to the SGSN, and then transmitted to the mobile station. The SGSN is connected with the transceiver subsystem of the base station through frame relay, and is the interface between the GSM network and the mobile station. The main role of the SGSN is to record the current location information of the mobile station, and complete the sending and receiving of mobile packet data between the mobile station and the GGSN. GGSN is connected to SGSN through GPRS backbone network based on IP protocol, and is the gateway connecting GSM network and external packet switching network. GGSN mainly acts as a gateway, so GGSN is also called a GPRS router. GGSN can convert the protocol of GPRS packet in GSM network, so that these packets can be sent to the remote TCP/IP or X.25 network. SGSN and GGSN use GPRS tunnel protocol to encapsulate IP or X.25 packets to realize data transmission between them.
当用户需要使用GPRS提供的无线分组业务时,首先需要在移动台上设定接入点名称(Access Point Name,简称“APN”),然后向SGSN发出激活请求消息,发起激活流程。APN代表了GPRS接入的分组网络的名称。SGSN收到移动台发来的激活请求消息后,从中提取出APN信息,然后到域名服务器(Domain Name Server,简称“DNS”)查询需要接入到的GGSN网关的地址。当得到GGSN的地址后,SGSN向选定的GGSN发起创建分组数据协议(Packet Data Protocol,简称“PDP”)上下文请求消息,在得到GGSN发回的响应后,逻辑链路被激活,用户就可以通过选定的GGSN执行因特网浏览、多媒体短消息等GPRS提供的分组业务了。When users need to use the wireless packet service provided by GPRS, they first need to set the access point name (Access Point Name, "APN" for short) on the mobile station, and then send an activation request message to the SGSN to initiate the activation process. APN represents the name of the packet network accessed by GPRS. After the SGSN receives the activation request message sent by the mobile station, it extracts the APN information, and then queries the domain name server (Domain Name Server, referred to as "DNS") for the address of the GGSN gateway that needs to be accessed. After obtaining the address of the GGSN, the SGSN initiates a packet data protocol (Packet Data Protocol, referred to as "PDP") context request message to the selected GGSN, and after receiving the response sent back by the GGSN, the logical link is activated, and the user can The grouping services provided by GPRS such as Internet browsing and multimedia short messages have been implemented through the selected GGSN.
一般一个城市或者局点只需设置一个GGSN即可了;但是随着移动数据业务的发展,移动用户的GPRS分组业务需求量越来越大,这样就有可能某个地区需要设置多个GGSN。此时就存在着多个GGSN节点之间的组网、业务负荷分担的问题。解决这个问题的一种方案是,按不同的接入点名称划分不同的GGSN。在DNS解析域名时,将根据接入点名称给出不同GGSN的地址,从而实现不同的GGSN分担不同网络的负荷。Generally, only one GGSN needs to be set up in a city or site; however, with the development of mobile data services, the demand for GPRS packet services of mobile users is increasing, so it is possible that multiple GGSNs need to be set up in a certain area. At this time, there are problems of networking and service load sharing between multiple GGSN nodes. A solution to this problem is to divide different GGSNs according to different access point names. When DNS resolves the domain name, the addresses of different GGSNs will be given according to the access point names, so that different GGSNs can share the load of different networks.
在实际应用中,上述方案存在以下问题:由于大多数情况下各个接入网络的业务量是不均等的,所以这种方法不能实现各个GGSN负荷的均匀分担。此外,每种接入网络使用一个GGSN网关,就不能利用各个GGSN的资源进行互相冗余备份,可靠性得不到保证。In practical application, the above solution has the following problems: Since the traffic volume of each access network is unequal in most cases, this method cannot realize uniform load sharing of each GGSN. In addition, if each access network uses one GGSN gateway, the resources of each GGSN cannot be used for mutual redundant backup, and the reliability cannot be guaranteed.
造成这种情况的一个主要原因在于,这种方案简单的将某种接入网络分配给了某个GGSN,造成了各个GGSN的负荷不均匀,各个GGSN也不能互为备份。One of the main reasons for this situation is that this solution simply assigns a certain access network to a certain GGSN, resulting in uneven loads on each GGSN, and each GGSN cannot be a backup for each other.
另外一种现有技术是在SGSN和DNS上配置地址轮选功能。在DNS的域名解析表中为每个域名配置多个GGSN的地址,假定有3个GGSN,地址分别为IP1、IP2、IP3,DNS每次进行域名解析的时候依次轮换它给出的地址列表的排列顺序,如第一次给出的是IP1、IP2、IP3(DNS一次返回多个GGSN地址供移动台选择),第二次给出IP2、IP3、IP1,第三次给出IP3、IP1、IP2,依此类推。同样,也可以在SGSN上依次轮选多个地址中的一个作为选定的GGSN的地址。这样也可以在一定程度上做到各GGSN的负荷分担。Another prior art is to configure an address round-robin function on the SGSN and the DNS. Configure multiple GGSN addresses for each domain name in the DNS domain name resolution table. Assume that there are 3 GGSNs with addresses IP1, IP2, and IP3. DNS rotates the address list given by it each time it performs domain name resolution. Arrangement sequence, such as IP1, IP2, IP3 given for the first time (DNS returns multiple GGSN addresses for mobile stations to choose at a time), IP2, IP3, IP1 given for the second time, IP3, IP1, IP3 given for the third time IP2, and so on. Similarly, one of multiple addresses may be selected in turn on the SGSN as the address of the selected GGSN. In this way, load sharing among the GGSNs can also be achieved to a certain extent.
在实际应用中,上述方案存在以下问题:多个GGSN之间还是不能达到很好的负荷均匀分担、冗余保护的目的。In practical application, the above solution has the following problems: the objectives of evenly load sharing and redundant protection cannot be achieved among multiple GGSNs.
造成这种情况的一个主要原因在于,这种方案中的SGSN和多个GGSN之间没有资源信息交互的手段,不能根据各GGSN的负荷状况智能地进行业务量分配。One of the main reasons for this situation is that there is no resource information exchange means between the SGSN and multiple GGSNs in this scheme, and traffic allocation cannot be intelligently performed according to the load status of each GGSN.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种通信负荷分担系统及其方法,使得多个GGSN能够有效地分担负荷并提供冗余保护。In view of this, the main purpose of the present invention is to provide a communication load sharing system and method thereof, so that multiple GGSNs can effectively share the load and provide redundant protection.
为实现上述目的,本发明提供了一种通信负荷分担系统,包含至少两个通用分组无线业务网关支持节点,其中至少有一个为主节点,另外至少有一个为从节点;To achieve the above object, the present invention provides a communication load sharing system, comprising at least two GPRS gateway support nodes, at least one of which is a master node, and at least one of which is a slave node;
所述主节点用于维护所述系统中所有通用分组无线业务网关支持节点的资源占用情况,接收到来自通用分组无线业务服务支持节点的创建分组数据协议上下文请求消息时,判断本主节点是否为当前资源占用最少的通用分组无线业务网关支持节点,如果是则对该请求消息进行处理,否则把该请求消息转发给当前资源占用最少的通用分组无线业务网关支持节点;The master node is used to maintain the resource occupancy of all GPRS gateway support nodes in the system, and when receiving a packet data protocol context creation request message from a GPRS service support node, judges whether the master node is The GPRS GW support node with the least current resource occupation, if so, processes the request message, or forwards the request message to the GPRS GW support node with the minimum current resource occupation;
所述从节点用于对来自所述主节点的所述请求消息进行处理。The slave node is configured to process the request message from the master node.
其中,所述系统至少包含两个所述主节点。Wherein, the system includes at least two master nodes.
所述主节点通过通用无线分组服务隧道协议消息的私有信息单元获得其他通用分组无线业务网关支持节点的资源占用情况信息。The master node obtains resource occupation information of other GPRS gateway support nodes through the private information unit of the GPRS tunneling protocol message.
所述资源占用情况可以是激活的用户数或占用的地址池数。The resource occupation situation may be the number of activated users or the number of occupied address pools.
所述通用分组无线业务网关支持节点属于通用分组无线业务系统或宽带码分多址系统。The GPRS gateway support node belongs to a GPRS system or a broadband code division multiple access system.
本发明还提供了一种通信负荷分担方法,所述通用分组无线业务网关支持节点至少有两个,其中至少有一个为主节点,每一个主节点中维护着所有通用分组无线业务网关支持节点的资源占用情况;所述方法包含以下步骤:The present invention also provides a communication load sharing method. There are at least two GPRS GW support nodes, at least one of which is a master node, and each master node maintains all GPRS GW support nodes resource occupancy; the method includes the following steps:
B所述通用分组无线业务服务支持节点向所述主节点发送创建分组数据协议上下文请求消息;B. The GPRS service support node sends a packet data protocol context creation request message to the master node;
C所述主节点判断本主节点是否为当前资源占用最少的通用分组无线业务网关支持节点,如果是则对所述请求消息进行处理,否则把所述请求消息转发给当前资源占用最少的通用分组无线业务网关支持节点进行处理;C. The master node judges whether the master node is the GPRSG support node with the least current resource occupation, and if so, processes the request message, or forwards the request message to the GPRS with the least current resource occupation The wireless service gateway supports nodes to process;
其中,还包含以下步骤:Among them, the following steps are also included:
D创建分组数据协议上下文成功以后,数据流直接在处理所述请求消息的通用分组无线业务网关支持节点和所述通用分组无线业务服务支持节点之间交互。D After the packet data protocol context is created successfully, the data flow directly interacts between the GPRS gateway support node processing the request message and the GPRS service support node.
在所述步骤B之前,还包含以下步骤:Before the step B, the following steps are also included:
A通用分组无线业务服务支持节点向域名服务系统查询并获得所述主节点的地址;A GPRS service support node queries the domain name service system and obtains the address of the master node;
其中,所述步骤C中还包含以下子步骤:Wherein, the following sub-steps are also included in the step C:
如果是所述主节点处理了所述请求消息,则所述主节点向所述通用分组无线业务服务支持节点发送创建分组数据协议上下文响应消息;If the master node has processed the request message, the master node sends a packet data protocol context creation response message to the GPRS service support node;
如果是其他通用分组无线业务网关支持节点处理了所述请求消息,则该通用分组无线业务网关支持节点向所述主节点发送创建分组数据协议上下文响应消息,所述主节点向所述通用分组无线业务服务支持节点转发该创建分组数据协议上下文响应消息。If other GPRS GW support nodes have processed the request message, then the GPRS GW support node sends a packet data protocol context response message to the master node, and the master node sends a packet data protocol context response message to the GPRS The business service support node forwards the packet data protocol context creation response message.
所述步骤C中,当所述主节点收到来自其他主节点的创建分组数据协议上下文请求消息时,所述主节点对该请求消息直接进行处理。In the step C, when the master node receives a packet data protocol context creation request message from another master node, the master node directly processes the request message.
所述步骤A还进一步包含以下子步骤:Described step A also further comprises following sub-steps:
A1所述通用分组无线业务服务支持节点向所述域名服务系统查询通用分组无线业务网关支持节点的地址;The GPRS service support node in A1 queries the domain name service system for the address of the GPRS gateway support node;
A2所述域名服务系统向所述通用分组无线业务服务支持节点以随机的次序返回多个所述主节点的地址;A2 The domain name service system returns the addresses of multiple master nodes in random order to the GPRS service support node;
A3所述通用分组无线业务服务支持节点从返回的多个所述主节点地址中任意选取一个用于发送所述创建分组数据协议上下文请求消息。A3 The GPRS service support node arbitrarily selects one of the multiple master node addresses returned to send the packet data protocol context creation request message.
所述通用分组无线业务网关支持节点属于通用分组无线业务系统或宽带码分多址系统。The GPRS gateway support node belongs to a GPRS system or a broadband code division multiple access system.
通过比较可以发现,本发明的技术方案与现有技术的区别在于,引入了主-从GGSN的组网方式,主GGSN可以有多个,在主GGSN上进行功能增强,利用标准GTP协议进行GGSN节点间的信息交互和信令转发,实现了链路检测,并在主GGSN上维护了各GGSN的负荷状态信息。本发明中提到的对负荷状态信息的维护是指不断查询各GGSN的负荷状态信息、用查询到的信息不断刷新本身保存的各GGSN的负荷状态信息。By comparison, it can be found that the difference between the technical solution of the present invention and the prior art is that a master-slave GGSN networking mode is introduced, there can be multiple master GGSNs, function enhancements are performed on the master GGSN, and GGSN is implemented using the standard GTP protocol. Information exchange and signaling forwarding between nodes realize link detection, and maintain the load status information of each GGSN on the main GGSN. The maintenance of the load state information mentioned in the present invention refers to continuously inquiring the load state information of each GGSN, and constantly updating the load state information of each GGSN saved by itself with the inquired information.
这种技术方案上的区别,带来了较为明显的有益效果,即因为在主GGSN上维护了各个GGSN的负荷状态信息,因此主GGSN可以在收到信令时找到负荷最轻的GGSN进行转发,实现了多个GGSN的均匀负荷分担;又因为使用了多个主GGSN,每一个主GGSN的功能相同并且和其他GGSN都有连接,因此只要有一个主GGSN还能够正常工作就能够保证整个系统不会完全失效,系统的可靠性得到了保证;这种主-从GGSN的组网模式非常灵活,并可随着网络业务量的增加而继续扩充,满足了大业务量的GPRS和WCDMA网络需求。The difference in this technical solution has brought obvious beneficial effects, that is, because the load status information of each GGSN is maintained on the primary GGSN, the primary GGSN can find the GGSN with the lightest load to forward when receiving the signaling , to achieve even load sharing of multiple GGSNs; and because multiple primary GGSNs are used, each primary GGSN has the same function and is connected to other GGSNs, so as long as there is one primary GGSN that can still work normally, the entire system can be guaranteed It will not completely fail, and the reliability of the system is guaranteed; this master-slave GGSN networking mode is very flexible, and can continue to expand with the increase of network traffic, meeting the needs of GPRS and WCDMA networks with large traffic volumes .
附图说明Description of drawings
图1是根据本发明的一个实施例的多个GGSN以主从(单主GGSN)方式组网结构图;Fig. 1 is a plurality of GGSNs according to an embodiment of the present invention network structure diagram in master-slave (single master GGSN) mode;
图2是根据本发明的一个实施例的多个GGSN以主从(多主GGSN)方式组网结构图;Fig. 2 is a plurality of GGSNs according to an embodiment of the present invention in a master-slave (multi-master GGSN) mode networking structure diagram;
图3是根据本发明的一个实施例的多个GGSN以主从方式组网的业务消息流程图。Fig. 3 is a flow chart of service messages of multiple GGSNs networking in a master-slave manner according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
如图1所示,在本发明的一个实施例中,以单主GGSN方式组网的多GGSN系统由SGSN 11,主GGSN 21,1号从GGSN 31,2号从GGSN 32和DNS 41构成。其中SGSN 11分别和DNS 41以及主GGSN 21相连接。主GGSN21分别和从GGSN 31和从GGSN 32相连接。在SGSN 11看来,只存在主GGSN 21。在本发明的另一个实施例中,可以有两个以上的从GGSN,所有的从GGSN都和主GGSN连接。As shown in Fig. 1, in one embodiment of the present invention, the multi-GGSN system of networking with single master GGSN mode is made up of
SGSN 11负责接收来自用户的GPRS业务请求,将该请求转变为相应的创建PDP上下文请求消息后根据DNS返回的GGSN地址将其发往主GGSN21。主GGSN 21除了具备普通GGSN的所有功能之外,还维护了从GGSN 31和从GGSN 32的资源占用信息。主GGSN 21不断通过链路检测消息了解每个从GGSN的资源占用情况(包括激活的用户数、占用的地址池数等)并更新信息。需要说明的是,链路检测采用的是标准GPRS隧道协议(GPRS TunnelProtocol,简称“GTP”)握手消息,利用消息的私有信息单元扩展GGSN节点间需要交互的信息。当主GGSN 21收到创建PDP上下文请求消息之后,根据自己维护的信息选择最空闲的GGSN转发,从而有效地实现了负荷分担。转发消息也采用标准的GTP消息,目的是为了保证从GGSN能够正常处理。
从GGSN 31和从GGSN 32只需要告知主GGSN 21自身的资源占用信息以及处理转自主GGSN 21的创建PDP上下文请求消息,他们本身不需要维护资源占用信息。The
DNS 41主要负责向SGSN 11提供合适的GGSN的地址,采用图1所示的系统结构,只需将该地址固定为主GGSN 21的地址即可。
图1所示的系统结构能够很好地实现多个GGSN之间的负荷分担,但是一旦SGSN 11和主GGSN 21之间或者主GGSN 21和任一从GGSN之间的链路发生故障将会造成大范围的影响。出于安全性考虑,本发明又对图1所示系统结构作了如下改进:The system structure shown in Fig. 1 can well realize the load sharing between multiple GGSNs, but once the link between
在本发明的一个较佳实施例中增加了另一个主GGSN 32,如图2所示,以多个主GGSN方式组网的多GGSN系统由SGSN 11、主GGSN 21、主GGSN22、从GGSN 31、从GGSN 32和DNS 41构成。其中SGSN 11除了与DNS 41相连之外,还分别与主GGSN 21和主GGSN 22相连接。主GGSN 21和主GGSN 22分别与从GGSN 31和从GGSN 32相连接,两个主GGSN也相互连接。在SGSN11看来,只存在主GGSN 21和主GGSN 22。而对主GGSN 21而言,主GGSN 22、从GGSN 31和从GGSN 32都是它的从GGSN;同样地,主GGSN 22也将主GGSN 21、从GGSN 31和从GGSN 32视为它的从GGSN。In a preferred embodiment of the present invention, another
图2中各实体(包含DNS、SGSN、主GGSN、从GGSN)的功能以及相互之间的消息与图1中相同,只是SGSN 11在用户上网过程中,可以根据DNS 41的解析结果任意选择主GGSN 21或者主GGSN 22接入,而这两个主GGSN可以根据自己所维护的资源的忙闲信息选择自己处理或者转发给自己所连3个从GGSN(另一个主GGSN也被当前GGSN视为从GGSN)中任意一个进行处理。但是需要注意的是,每个PDP上下文请求消息最多只能被转发一次,否则可能导致PDP上下文请求消息被无限制地转发。相对于图1所示的系统,改进后的系统除了能够有效地进行负荷分担之外还有了一定的冗余度,从而提高了系统的可靠性。The functions of each entity (including DNS, SGSN, primary GGSN, and secondary GGSN) in Figure 2 and the mutual messages are the same as those in Figure 1, except that the
值得一提的是,随着网络规模的扩大,当原有的系统的GGSN负荷都过重时,可以按照图2所示的结构方便地进行扩容,增加主GGSN和从GGSN,从而建立超大GGSN节点。例如主GGSN可以扩展为3个,从GGSN可以扩展为6个。熟悉本领域的技术人员可以知道,WCDMA网络和GPRS网络都拥有SNSN和GGSN节点,功能也一致,因此本发明提出的结构同时适用于GPRS网络和WCDMA网络。It is worth mentioning that with the expansion of the network scale, when the GGSN load of the original system is too heavy, it can be easily expanded according to the structure shown in Figure 2, and the master GGSN and slave GGSN can be added to establish a super-large GGSN node. For example, the master GGSN can be expanded to 3, and the slave GGSN can be expanded to 6. Those skilled in the art can know that both WCDMA network and GPRS network have SSNN and GGSN nodes, and the functions are also consistent, so the structure proposed by the present invention is applicable to both GPRS network and WCDMA network.
以上说明了本发明的通信负荷分担系统,下面结合该系统说明本发明的通信负荷分担方法。The communication load sharing system of the present invention has been described above, and the communication load sharing method of the present invention will be described below in conjunction with the system.
如图3所示,在步骤101,当SGSN 11接收到用户上网请求后,向DNS41发起DNS查询请求消息,查询所需接入的主GGSN的地址。As shown in Figure 3, in step 101, after
接着进入步骤102,DNS 41向SGSN 11返回DNS查询响应消息,消息中带有全部或部分可供接入的主GGSN的地址。这些地址信息通常是预先配置在DNS 41中。例如对于图2所示的系统,DNS 41中保存了各主GGSN(GGSN 21和GGSN 22)的地址。Then enter step 102,
接着进入步骤103,SGSN 11根据DNS 41返回的地址,选择主GGSN 21进行接入并向其发起创建PDP上下文请求消息,通常消息中包含所采用的协议类型、接入点名称、服务质量等信息。主GGSN的选择是随机的,也可以选择GGSN 22,这里以GGSN 21为例进行说明。Then enter step 103, the
接着进入步骤104,主GGSN 21根据自己所维护的各GGSN节点资源使用情况,将发自SGSN 11的创建PDP上下文请求消息转发给较为空闲的从GGSN 31。需要说明的是,主GGSN 21中包含本身和所有与其相连接的从GGSN节点的资源占用信息,如果采用多主GGSN方式,那么还包括其他与其相连的主GGSN节点资源占用信息。除了本身的信息之外,其他各个节点的信息都是通过链路检测机制获得的。除了图示的情况外,如果主GGSN 21本身就是最空闲的,则可以不转发该消息而自己处理该次会话,直接向SGSN11回复创建PDP上下文响应消息,进入步骤106。Then enter step 104,
接着进入步骤105,从GGSN 31接收到主GGSN 21转发来的创建PDP上下文请求消息后,向主GGSN 21发送创建PDP上下文响应消息,该消息中包含从GGSN 31的地址。Then enter step 105, after receiving the PDP context request message forwarded by the
接着进入步骤106,主GGSN 21将发自从GGSN 31的创建PDP上下文响应消息转发给SGSN11,由SGSN 11反馈给用户。对于主GGSN 21自己处理的会话,则不是转发而是主动向SGSN 11发出创建PDP上下文响应消息。Then enter step 106, the
步骤103到步骤106中,如果主GGSN21对创建PDP上下文请求消息需要转发,可以采用申请号为02129375.9的中国专利中提出的技术。在该专利中,假定系统中有代号为A的SGSN,代号为B的GGSN和代号为C的GGSN,如果要通过B的转发实现A和C的连接,则可以采用以下步骤:From step 103 to step 106, if the master GGSN21 needs to forward the create PDP context request message, it can adopt the technology proposed in the Chinese patent application number 02129375.9. In this patent, it is assumed that there are SGSN code-named A, GGSN code-named B and GGSN code-named C in the system. If the connection between A and C is to be realized through the forwarding of B, the following steps can be taken:
首先:A向B发送激活PDP上下文请求消息,该消息的IP头中源地址为A,目的地址为B,该消息中包含两个信元:“SGSN Address for signalling”和“SGSN Address for user traffic”,分别代表该PDP上下文使用的SGSN信令地址和数据地址。该消息关键信息如下:First: A sends a PDP context activation request message to B. The source address in the IP header of the message is A, and the destination address is B. The message contains two information elements: "SGSN Address for signaling" and "SGSN Address for user traffic ", respectively representing the SGSN signaling address and data address used by the PDP context. The key information of the message is as follows:
IP header:A->BIP header: A->B
SGSN Address for signalling:ASGSN Address for signaling: A
SGSN Address for user traffic:ASGSN Address for user traffic: A
其次:B将该消息向C转发。其中IP头中源地址为B,目的地址为C,GTP包的内容不做任何修改。该消息关键信息如下:Second: B forwards the message to C. The source address in the IP header is B, the destination address is C, and the content of the GTP packet is not modified. The key information of the message is as follows:
IP header:B->CIP header: B->C
SGSN Address for signalling:ASGSN Address for signaling: A
SGSN Address for user traffic:ASGSN Address for user traffic: A
再次:C接收到激活请求消息之后将会建立一个PDP上下文,根据GTP协议,其中SGSN信令地址应该为激活请求消息中携带的信元SGSN Addressfor signalling:A,SGSN数据地址为消息中携带的信元SGSN Address for usertraffic:A,并指定GGSN信令和数据地址为本身的地址C,然后返回一个激活响应消息,根据GTP协议,该消息IP头中源地址应该为C,目的地址为B。激活响应消息中包含两个信元:“GGSN Address for signalling”和“GGSNAddress for user traffic”,分别代表该PDP上下文使用的GGSN信令地址和数据地址,其值为C。该消息关键信息如下:Again: C will establish a PDP context after receiving the activation request message. According to the GTP protocol, the SGSN signaling address should be the cell SGSN Address for signaling carried in the activation request message: A, and the SGSN data address is the signal carried in the message. Set SGSN Address for usertraffic: A, and specify the GGSN signaling and data address as its own address C, and then return an activation response message. According to the GTP protocol, the source address in the IP header of the message should be C, and the destination address should be B. The activation response message contains two information elements: "GGSN Address for signaling" and "GGSNAddress for user traffic", respectively representing the GGSN signaling address and data address used by the PDP context, and its value is C. The key information of the message is as follows:
IP header:C->BIP header: C->B
GGSN Address for signalling:CGGSN Address for signaling: C
GGSN Address for user traffic:CGGSN Address for user traffic: C
接着:B接收到激活响应消息之后向A转发,消息IP头中源地址为B,目的地址为A,B对激活响应消息中的内容不关心也不做任何修改。该消息关键信息如下:Then: B forwards to A after receiving the activation response message, the source address in the message IP header is B, the destination address is A, B does not care about the content of the activation response message and does not make any modification. The key information of the message is as follows:
IP header:B->AIP header: B->A
GGSN Address for signalling:CGGSN Address for signaling: C
GGSN Address for user traffic:CGGSN Address for user traffic: C
最后:A接收到激活响应消息,建立一个PDP上下文,根据GTP协议,PDP上下文中的SGSN地址应该是其自身指定的地址A,GGSN信令地址应该是激活响应消息中携带的信元GGSN Address for signalling:C,GGSN数据地址为消息中携带的信元GGSN Address for user traffic:C;这样在A和C之间就建立了一对PDP上下文,其中SGSN地址为A、GGSN地址为C,相当于就是在A和C之间建立了一条GTP消息传输的逻辑通道,后续的GTP信令消息以及GTP数据包,都是在A和C之间直接交互,不再涉及B。Finally: A receives the activation response message and establishes a PDP context. According to the GTP protocol, the SGSN address in the PDP context should be the address A specified by itself, and the GGSN signaling address should be the information element GGSN Address for carried in the activation response message. signaling: C, the GGSN data address is the cell carried in the message GGSN Address for user traffic: C; in this way, a pair of PDP contexts is established between A and C, where the SGSN address is A and the GGSN address is C, which is equivalent to That is, a logical channel for GTP message transmission is established between A and C. Subsequent GTP signaling messages and GTP data packets are directly interacted between A and C, and B is no longer involved.
接着进入步骤107,用户获取到从GGSN 31的地址后,便将从GGSN 31作为网关,开始上网,进行数据传输过程。需要说明的是,数据流不再需要经过主GGSN 21转发,而是在SGSN 11和真正激活的从GGSN 31之间直接交互。Then enter step 107, after the user obtains the address from the
当用户结束上网时,进入步骤108。SGSN 11直接向从GGSN 31发起删除PDP上下文请求消息,告之数据传送结束。When the user finishes surfing the Internet, enter step 108 . The
接着进入步骤109,从GGSN 31向SGSN 11回送删除PDP上下文响应消息,至此完整的一次GPRS上网过程结束。Then enter step 109, send back the deletion PDP context response message from
虽然通过参照本发明的某些优选实施例,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种各样的改变,而不偏离所附权利要求书所限定的本发明的精神和范围。Although the present invention has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein, and without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410038803 CN1691796A (en) | 2004-04-30 | 2004-04-30 | Communication load sharing system and method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410038803 CN1691796A (en) | 2004-04-30 | 2004-04-30 | Communication load sharing system and method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1691796A true CN1691796A (en) | 2005-11-02 |
Family
ID=35346864
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200410038803 Pending CN1691796A (en) | 2004-04-30 | 2004-04-30 | Communication load sharing system and method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1691796A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008154781A1 (en) * | 2007-06-19 | 2008-12-24 | Zte Corporation | A method for processing ether rig net message and an ether rig net protection system using the method |
| CN101217405B (en) * | 2008-01-15 | 2011-01-05 | 华为技术有限公司 | SGSN backup method, communication system, and communication equipment |
| CN102149213A (en) * | 2010-02-10 | 2011-08-10 | 广州科讯技术有限公司 | Relaying transmission method based on GTP (GPRS Tunneling Protocol) protocol and system thereof |
| CN101075965B (en) * | 2007-06-22 | 2012-04-18 | 中兴通讯股份有限公司 | A method for classified transmission of Ethernet ring network control messages |
| CN101352004B (en) * | 2005-12-30 | 2012-10-10 | 艾利森电话股份有限公司 | Redirection of B-grade PDP data stream to A-grade PDP before establishing B-grade PDP context |
| CN101686172B (en) * | 2008-09-27 | 2013-03-20 | 华为技术有限公司 | Method, system and equipment for selecting gateway node |
-
2004
- 2004-04-30 CN CN 200410038803 patent/CN1691796A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101352004B (en) * | 2005-12-30 | 2012-10-10 | 艾利森电话股份有限公司 | Redirection of B-grade PDP data stream to A-grade PDP before establishing B-grade PDP context |
| WO2008154781A1 (en) * | 2007-06-19 | 2008-12-24 | Zte Corporation | A method for processing ether rig net message and an ether rig net protection system using the method |
| CN101068185B (en) * | 2007-06-19 | 2012-06-06 | 中兴通讯股份有限公司 | Ether loop net message processing method and Ethernet protecting system using the same method |
| US8320236B2 (en) | 2007-06-19 | 2012-11-27 | Zte Corporation | Method for processing ethernet ring message and an ethernet ring protection system using the method |
| CN101075965B (en) * | 2007-06-22 | 2012-04-18 | 中兴通讯股份有限公司 | A method for classified transmission of Ethernet ring network control messages |
| CN101217405B (en) * | 2008-01-15 | 2011-01-05 | 华为技术有限公司 | SGSN backup method, communication system, and communication equipment |
| CN101686172B (en) * | 2008-09-27 | 2013-03-20 | 华为技术有限公司 | Method, system and equipment for selecting gateway node |
| CN102149213A (en) * | 2010-02-10 | 2011-08-10 | 广州科讯技术有限公司 | Relaying transmission method based on GTP (GPRS Tunneling Protocol) protocol and system thereof |
| CN102149213B (en) * | 2010-02-10 | 2014-02-12 | 邬学农 | Relaying transmission method based on GTP (GPRS Tunneling Protocol) protocol and system thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1183718C (en) | System and method for packet data servicing node (PDSN) initial assignment and reselection | |
| CN1202689C (en) | Method for providing mobility to mobile host and mobile communication system | |
| CN1126388C (en) | Method and apparatus for addressing wireless communication stations using dynamically assigned addresses | |
| CN1303833C (en) | System and method for packet data serving node load balancing and fault tolerance | |
| CN1515122A (en) | Method and device for transmitting data packets from an external packet network to a mobile radio station | |
| CN1177433C (en) | A method for managing broadcast and multicast service sources in a mobile network | |
| CN1914933A (en) | Method for dynamic group call | |
| CN1527551A (en) | IP address selection method for packet communication system, communication network and mobile node | |
| EP2161875A1 (en) | Method and device for configuring configuration data of user access network | |
| CN101080098A (en) | A communication method and system | |
| CN1845554A (en) | Control method for dynamically distributing IP address in 3G network | |
| CN1297174C (en) | Method for user terminal communication through Package Domain of Public Land Mobile Telecommunication Network | |
| CN1691796A (en) | Communication load sharing system and method thereof | |
| CN1902971A (en) | Dynamic selection of a packet data serving node | |
| CN1258932C (en) | Method for forwarding packet calls in mobile communication system | |
| CN1889611A (en) | Real-time speech communicating method and real-time speech communicating system | |
| CN1633096A (en) | A method of short message value-added service access | |
| WO2009012694A1 (en) | Network address processing method and router node | |
| CN1188993C (en) | Method of configuring interface between serving GPRS support node and base station system | |
| US11057745B2 (en) | Data transmission method and related apparatus | |
| CN1722692A (en) | Casual network prefix dispatching system and method | |
| CN1835475A (en) | Method of side activating general packet radio service network | |
| CN1214578C (en) | Group domain communication method | |
| CN1917697A (en) | Method for transferring user inside node pool of core network, and node | |
| CN1217555C (en) | Method for building-up R-P chain circuit in mobile communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |