[go: up one dir, main page]

CN1214578C - Group domain communication method - Google Patents

Group domain communication method Download PDF

Info

Publication number
CN1214578C
CN1214578C CNB021184879A CN02118487A CN1214578C CN 1214578 C CN1214578 C CN 1214578C CN B021184879 A CNB021184879 A CN B021184879A CN 02118487 A CN02118487 A CN 02118487A CN 1214578 C CN1214578 C CN 1214578C
Authority
CN
China
Prior art keywords
ggsn
apn
context
message
activation
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.)
Expired - Fee Related
Application number
CNB021184879A
Other languages
Chinese (zh)
Other versions
CN1453965A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB021184879A priority Critical patent/CN1214578C/en
Publication of CN1453965A publication Critical patent/CN1453965A/en
Application granted granted Critical
Publication of CN1214578C publication Critical patent/CN1214578C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及到移动通信领域。一种通过分组域通信的方法,其特征在于用户根据移动台国际ISDN号码MSISDN(Mobile Station International ISDNNumber)和接入点名称APN(Access Point Name)通过公共陆地移动网PLMN(Public Land Mobile Network)分组域呼叫另外的用户,自动获取对方IP地址,在两个用户之间建立基于IP的通信链路进行通信。本发明方法简单实用,丰富了WCDMA/GPRS系统的功能,有效利用了网络资源,降低用户成本。

The invention relates to the field of mobile communication. A method of communication through the packet domain, characterized in that the user is grouped through the public land mobile network PLMN (Public Land Mobile Network) according to the mobile station international ISDN number MSISDN (Mobile Station International ISDNNumber) and the access point name APN (Access Point Name) The domain calls another user, automatically obtains the IP address of the other party, and establishes an IP-based communication link between the two users for communication. The method of the invention is simple and practical, enriches the functions of the WCDMA/GPRS system, effectively utilizes network resources, and reduces user costs.

Description

一种通过分组域通信的方法A method of communicating over a packet domain

技术领域technical field

本发明涉及到移动通信领域,尤其涉及WCDMA/GPRS领域里,提供一种两个用户终端UE(User Equipment)通过公共陆地移动网PLMN(Public Land MobileNetwork)分组域通信的方法。The present invention relates to the field of mobile communication, in particular to the field of WCDMA/GPRS, and provides a method for two user terminals UE (User Equipment) to communicate through a public land mobile network PLMN (Public Land Mobile Network) packet domain.

技术背景technical background

在现代移动通信中,通信网络已经逐渐由传统的GSM过度到2.5G的通用分组无线业务GPRS(General Packet Radio Service)或者宽带码分多址WCDMA(WideCode Division Multiple Access),围绕新一代的通信网络,科研人员正在进行不停的完善工作,其中终端用户之间的通信问题,就是一个比较热门的研究领域。In modern mobile communications, the communication network has gradually transitioned from traditional GSM to 2.5G general packet radio service GPRS (General Packet Radio Service) or wideband code division multiple access WCDMA (WideCode Division Multiple Access). , scientific researchers are constantly improving the work, among which the communication between end users is a relatively popular research field.

WCDMA/GPRS系统网络由核心网和无线接入网构成,核心网分为电路域和分组域两个子系统,电路域包括移动交换中心MSC(Mobile Switching Center)、归属位置寄存器HLR(Home Location Register)等设备,为用户提供基于电路链接的语音业务和承载业务,如可视电话、短消息等,它的特点是可靠性高,但速度低,费用高;分组域包括GPRS业务支持节点SGSN(Serving GPRS SupportNode)、GPRS网关支持节点GGSN(Gateway GPRS Support Node)、域名系统DNS(Domain Name System)等设备,为用户提供基于IP的分组承载业务,如网页浏览、在线游戏、视屏点播等,它的特点是可靠性不高,但速度高,费用低。The WCDMA/GPRS system network consists of a core network and a wireless access network. The core network is divided into two subsystems, the circuit domain and the packet domain. The circuit domain includes the mobile switching center MSC (Mobile Switching Center) and the home location register HLR (Home Location Register) Provide users with voice services and bearer services based on circuit links, such as videophones, short messages, etc. It is characterized by high reliability, but low speed and high cost; the packet domain includes GPRS service support nodes SGSN (Serving GPRS SupportNode), GPRS gateway support node GGSN (Gateway GPRS Support Node), domain name system DNS (Domain Name System) and other equipment, provide users with IP-based packet bearer services, such as web browsing, online games, video-on-demand, etc., its The characteristic is that the reliability is not high, but the speed is high and the cost is low.

网络结构图1所示:The network structure is shown in Figure 1:

图中黑色粗线表示两个UE通过电路域呼叫接通后所形成的通讯链路。一个UE呼叫另外一个UE时,主叫方把呼叫信息经过无线接入网传递给MSC,MSC根据被UE登记的位置信息,呼叫被叫UE,然后在两个UE之间建立基于电路的通讯链路,可以进行端到端的语音业务或者其它承载业务。The thick black line in the figure indicates a communication link formed after two UEs are connected through a CS domain call. When a UE calls another UE, the calling party transmits the call information to the MSC through the wireless access network, and the MSC calls the called UE according to the location information registered by the UE, and then establishes a circuit-based communication link between the two UEs. end-to-end voice services or other bearer services.

图中黑色粗线表示UE访问外部分组数据网络时使用的承载链路。UE主动发起访问外部分组数据网时,激活消息经过无线接入网传递到SGSN设备,SGSN根据UE访问的外部网络标识接入点名称APN(Access Point Name),通过DNS解析得到接入的GGSN地址,SGSN再把激活消息传递给GGSN,GGSN终结激活消息,建立起一条从UE到GGSN的承载链路,然后UE就可以使用此承载链路访问外部数据网络。GGSN作为接入外部分组网络的网关设备,可以直接访问外部网络,不需要建立GGSN和外部服务器间的链路。The thick black line in the figure indicates the bearer link used by the UE to access the external packet data network. When the UE actively initiates access to the external packet data network, the activation message is transmitted to the SGSN device through the wireless access network. The SGSN identifies the access point name APN (Access Point Name) according to the external network accessed by the UE, and obtains the accessed GGSN address through DNS resolution. , the SGSN then transmits the activation message to the GGSN, the GGSN terminates the activation message, and establishes a bearer link from the UE to the GGSN, and then the UE can use the bearer link to access the external data network. As a gateway device for accessing the external packet network, the GGSN can directly access the external network without establishing a link between the GGSN and the external server.

在现在的WCDMA/GPRS网络中,主要有以下问题存在:In the current WCDMA/GPRS network, there are mainly the following problems:

1、在遵从3GPP R99和R4版本协议的WCDMA/GPRS网络中,UE通过PLMN分组域主要是访问外部分组数据网络,不能通过分组域呼叫另外一个UE,两个UE之间的呼叫只能通过电路域进行。随着3GPP协议向R5版本演进,核心网的分组域和电路域将演变成一个全IP的分组网络,通过全IP网可以实现两个UE间的相互呼叫,但需要对目前的核心网设备做大的改变,而且需要增加其它设备,发展成熟尚需时间。1. In the WCDMA/GPRS network complying with the 3GPP R99 and R4 version protocols, the UE mainly accesses the external packet data network through the PLMN packet domain, and cannot call another UE through the packet domain, and the call between two UEs can only pass through the circuit domain. With the evolution of the 3GPP protocol to the R5 version, the packet domain and the circuit domain of the core network will evolve into an all-IP packet network. Through the all-IP network, mutual calls between two UEs can be realized, but the current core network equipment needs to be modified. Big changes, and need to add other equipment, it will take time to develop and mature.

2、目前在WCDMA/GPRS网络中,两个UE可采用如下方法相互访问:都有属于同一个APN的静态IP地址,而且通信双方UE都知道对方这个静态IP地址,当它们同时在同一个APN和同一个GGSN激活上下文时(需主动激活,不能相互呼叫),使用GGSN设备外的专门设备对它们的IP数据报进行路由转发,可以实现两个UE间的相互访问。但这种方法使用不方便,限制很多,很难进行实际的大规模的应用,更多的用于演示或者试验。2. At present, in the WCDMA/GPRS network, two UEs can access each other in the following way: Both UEs have static IP addresses belonging to the same APN, and the UEs on both sides of the communication know the static IP address of the other party. When they are in the same APN at the same time When activating the context with the same GGSN (requires active activation and cannot call each other), use special equipment outside the GGSN equipment to route and forward their IP datagrams, so as to realize mutual access between the two UEs. But this method is inconvenient to use and has many limitations, it is difficult to carry out actual large-scale application, and it is more used for demonstration or experiment.

3、两个UE通过电路域呼叫和通信,需要独占无线资源和核心网的电路资源;而分组域采用基于IP的分组传输方式,相应的无线接入网络也是采用共享复用的方式,所以如果UE间通过分组域通讯可以有效利用网络资源和降低成本。3. Two UEs call and communicate through the circuit domain, and need to monopolize the wireless resources and the circuit resources of the core network; while the packet domain adopts the IP-based packet transmission mode, and the corresponding wireless access network also adopts the sharing and multiplexing method, so if Communication between UEs through the packet domain can effectively utilize network resources and reduce costs.

4、两个UE通过电路域建立的承载链路,受速度限制,承载业务有限;而通过分组域建立的UE和UE端到端的通信链路,速度可达到384kbps,可以承载目前基于IP分组的任何应用业务。4. The bearer link established by two UEs through the circuit domain is limited by the speed, and the bearer service is limited; while the UE and UE end-to-end communication link established through the packet domain, the speed can reach 384kbps, which can carry the current IP packet-based Any application business.

5、通过电路域进行的语音、可视电话等业务费用很高,而使用分组域的传输费用却比较低廉。5. The cost of services such as voice and video telephony through the circuit domain is very high, while the transmission cost using the packet domain is relatively low.

为了便于贵审查员可以更清楚的了解本发明的技术背景,现将移动通信领域现有的几个关键技术做一个说明。In order to facilitate your examiners to have a clearer understanding of the technical background of the present invention, several existing key technologies in the field of mobile communications are now described.

归属位置寄存器HLR(Home Location Register):归属位置寄存器,是用于对移动台的数据库进行管理,主要功能有:对HLR中登记的移动台的所有用户参数进行管理和修改、计费管理、VLR的更新等。Home Location Register HLR (Home Location Register): Home Location Register is used to manage the database of the mobile station. The main functions are: management and modification of all user parameters of the mobile station registered in the HLR, billing management, VLR update etc.

接入用户远程鉴权服务RADIUS(Remote Authentication Dial in UserService):接入用户远程鉴权服务,是在一台交换机或多台交换机VPN上集中化管理客户的一种方法,RADIUS用于整合网络访问服务器(VPN交换机)和中央认证和授权服务器(RADIUS Server,在RFC 2138中定义)之间的鉴别和授权信息。Access user remote authentication service RADIUS (Remote Authentication Dial in UserService): access user remote authentication service is a method of centralized management of customers on one switch or multiple switches VPN, RADIUS is used to integrate network access Authentication and authorization information between the server (VPN switch) and the central authentication and authorization server (RADIUS Server, defined in RFC 2138).

AAA SERVER:AAA服务器是用来验明访问者的身份的,这个服务器将执行“验证”、“授权”和“记录”三个步骤。一般称包含Radius计费功能的Radius功能为AAA功能。AAA SERVER: The AAA server is used to verify the identity of the visitor. This server will perform three steps of "authentication", "authorization" and "record". Generally, the Radius function including the Radius accounting function is called the AAA function.

网关支持节点GSN(GPRS Support Node):是GPRS网络中最重要的网络节点,WCDMA网络中也有用到。GSN具有移动路由管理功能,它可以连接各种类型的数据网络,并可以连到归属位置寄存器,可以完成移动台和各种数据网络之间的数据传送和格式转换。GSN可以是一种类似于路由器的独立设备,也可以与GSM中的MSC集成在一起。GSN有两种类型:一种为GPRS业务支持节点SGSN(Serving GPRS Support Node),另一种为GPRS网关支持节点GGSN(GatewayGPRS Support Node),SGSN的主要作用是记录移动台的当前位置信息,并且在移动台和GGSN之间完成移动分组数据的发送和接收。GGSN主要是起网关作用,它可以和多种不同的数据网络连接,如ISDN、PSPDN和LAN等。有的文献中,把GGSN称为GPRS路由器。GGSN可以把GSM网中的GPRS分组数据包进行协议转换,从而可以把这些分组数据包传送到远端的TCP/IP或X.25网络。Gateway support node GSN (GPRS Support Node): It is the most important network node in the GPRS network, and it is also used in the WCDMA network. GSN has the function of mobile routing management, it can be connected to various types of data networks, and can be connected to the home location register, which can complete the data transmission and format conversion between the mobile station and various data networks. GSN can be an independent device similar to a router, or it can be integrated with MSC in GSM. There are two types of GSN: one is the GPRS service support node SGSN (Serving GPRS Support Node), and the other is the GPRS gateway support node GGSN (GatewayGPRS Support Node). The main function of the SGSN is to record the current location information of the mobile station, and The transmission and reception of mobile packet data is completed between the mobile station and the GGSN. GGSN mainly acts as a gateway, and it can be connected to many different data networks, such as ISDN, PSPDN and LAN. In some documents, the GGSN is called a GPRS router. GGSN can convert the GPRS packet in the GSM network to the protocol, so that these packets can be sent to the remote TCP/IP or X.25 network.

发明内容:Invention content:

本发明的目的就是通过PLMN提供一种UE和UE之间通过分组域相互呼叫和建立维护基于IP的通信链路的简单实用方法,以丰富WCDMA/GPRS系统的功能,有效利用网络资源,降低用户成本。The purpose of the present invention is to provide a simple and practical method for calling each other and establishing and maintaining an IP-based communication link between a UE and a UE through the PLMN, so as to enrich the functions of the WCDMA/GPRS system, effectively utilize network resources, and reduce the number of users. cost.

一种通过分组域通信的方法,其特征在于用户根据移动台国际ISDN号码MSISDN(Mobile Station International SDN Number)和接入点名称APN(AccessPoint Name)通过PLMN分组域呼叫另外的用户,在两个用户终端UE(UserEquipment)之间建立基于IP的通信链路进行通信。A method for communicating in a packet domain, characterized in that the user calls another user through the PLMN packet domain according to the mobile station international ISDN number MSISDN (Mobile Station International SDN Number) and the access point name APN (AccessPoint Name), between two users An IP-based communication link is established between terminals UE (UserEquipment) for communication.

所述的建立通信链路包括如下步骤:The described establishment of a communication link includes the following steps:

A、UE1向GGSN发起请求,该请求消息携带用户选择的APN;A. UE1 initiates a request to the GGSN, and the request message carries the APN selected by the user;

B、GGSN分析该请求消息的内容,根据消息中携带APN生成新的APN,在GGSN查找是否有此新APN的配置信息,如果有,进入步骤C,如果没有,则按照正常激活流程处理;B, GGSN analyzes the content of the request message, generates a new APN according to the APN carried in the message, and searches whether there is configuration information of this new APN at the GGSN, if there is, enter step C, if not, then process according to the normal activation process;

C、根据被叫号码MSISDN查找GGSN的网络侧激活配置信息,获得被叫用户UE2的IMSI和IP地址,进入步骤D;如果查找失败,则向UE1的SGSN返回激活失败消息,SGSN再重新选择GGSN进行激活;C. Search the activation configuration information on the network side of the GGSN according to the called number MSISDN, obtain the IMSI and IP address of the called user UE2, and proceed to step D; if the search fails, return the activation failure message to the SGSN of UE1, and the SGSN selects the GGSN again to activate;

D、GGSN创建UE1的用户上下文,对UE2发起网络侧激活,消息中的APN重新生成进入步骤E;如果网络侧激活失败,则向U1返回失败消息,结束流程;D. GGSN creates the user context of UE1, initiates network side activation to UE2, and the APN in the message is regenerated and enters step E; if the network side activation fails, return a failure message to U1, and end the process;

E、GGSN接收到UE2的响应网络侧激活的上下文激活请求消息,分析消息内容,进行条件查询,如通过,继续步骤F,不通过则结束流程;E. GGSN receives UE2's context activation request message in response to network side activation, analyzes the content of the message, and performs conditional query. If it passes, continue to step F, and if it does not pass, end the process;

F、GGSN为UE1上下文分配资源,为UE2创建用户上下文并分配资源,完成后向UE1、UE2返回激活成功应答消息,并设置UE1和UE2的上下文为相互关联上下文,以用于UE1和UE2间的数据转发;若任意一个UE的激活失败,则GGSN返回失败的应答消息,删除另一个UE的上下文;F. GGSN allocates resources for the UE1 context, creates a user context and allocates resources for UE2, returns an activation success response message to UE1 and UE2 after completion, and sets the context of UE1 and UE2 as an interrelated context for use between UE1 and UE2 Data forwarding; if the activation of any UE fails, the GGSN returns a failure response message and deletes the context of another UE;

G、UE1和UE2间端到端进行PPP协商,若协商通过,进入步骤H;不通过,则结束流程;G. UE1 and UE2 perform end-to-end PPP negotiation. If the negotiation passes, enter step H; if not, end the process;

H、根据APN的属性,对两个UE的上下文发起接入用户远程鉴权服务Radius(Remote Authentication Dial in User Service)计费过程,若通过,进入步骤I,若任意一个计费不成功,则两个上下文都被删除,结束流程;H. According to the attributes of the APN, initiate the access user remote authentication service Radius (Remote Authentication Dial in User Service) billing process for the context of the two UEs. If it passes, enter step I. If any billing is unsuccessful, then Both contexts are deleted, ending the process;

I、链路连接完成,UE间进行通信。1. The link connection is completed, and the UEs communicate with each other.

所述的通过分组域通信的方法还包括一个设置GGSN步骤;其设置内容包括:The described method of communicating through the packet domain also includes a step of setting the GGSN; its setting content includes:

A、支持UE呼叫UE的APN设置;A. Support UE to call UE's APN setting;

B、在网络侧激活配置里增加MSISDN数据项。B. Add the MSISDN data item in the activation configuration on the network side.

所述步骤A中APN格式为:被叫MSISDN.特定APN名称,该特定APN名称可以为空。The APN format in the step A is: called MSISDN. specific APN name, and the specific APN name can be empty.

所述步骤B分析该消息内容包括:该消息若是PPP类型的上下文激活消息,且符合步骤A中的APN形式,则把APN的第一个标签记为被叫UE2号码,把后面部分标签作为一个新的APN名称。The step B analyzing the content of the message includes: if the message is a PPP-type context activation message and conforms to the APN form in step A, then record the first label of the APN as the number of the called UE2, and use the latter part of the label as a The new APN name.

所述步骤D中重新生成的APN格式与步骤A中产生的APN格式相同,把UE1使用的APN的第一个标签修改成从UE1激活消息中提取的主叫用户UE1的号码。The APN format regenerated in step D is the same as the APN format generated in step A, and the first label of the APN used by UE1 is changed to the number of the calling user UE1 extracted from the UE1 activation message.

所述步骤E中,分析消息内容包括:In the step E, analyzing the message content includes:

A、是否是PPP类型的上下文激活消息;A. Whether it is a context activation message of the PPP type;

B、消息中携带APN是否如步骤A中所描述的形式且和步骤D中的APN相同;B. Whether the APN carried in the message is in the form described in step A and is the same as the APN in step D;

C、APN的第一个标签和主叫UE1号码MSISDN是否相同,根据此MSISDN在GGSN查找时应当有正在激活的上下文存在;C. Whether the first label of the APN is the same as the MSISDN of the calling UE1 number. According to this MSISDN, there should be an active context when the GGSN searches;

D、APN后面部分标签作为新APN在GGSN查找配置信息,GGSN应当把此新APN配置为UE呼叫UE的特殊APN,且和UE1使用的APN的后缀部分相同。D. The label behind the APN is used as a new APN to search for configuration information in the GGSN. The GGSN should configure the new APN as a special APN for the UE to call the UE, and the suffix part of the APN used by UE1 is the same.

所述的步骤G中的PPP协商过程包括:The PPP negotiation process in the described step G includes:

A、LCP协商过程;A. LCP negotiation process;

B、鉴权过程;B. Authentication process;

C、NCP协商过程。C. NCP negotiation process.

所述LCP协商过程包括:The LCP negotiation process includes:

GGSN获链路质量协商数据包,和GTP协议规定的Qos作映射,LCP协商完成后,发起网络侧更新Qos过程,使两个UE上下文的Qos一致;The GGSN obtains the link quality negotiation data packet and maps it with the Qos stipulated in the GTP protocol. After the LCP negotiation is completed, it initiates the Qos update process on the network side to make the Qos of the two UE contexts consistent;

GGSN和两个UE协商鉴权方式,决定是否鉴权和使用PAP或者CHAP进行鉴权;LCP协商若不通过则删除两个UE的上下文,否则进行鉴权过程。The GGSN negotiates the authentication mode with the two UEs, and decides whether to authenticate and use PAP or CHAP for authentication; if the LCP negotiation fails, the context of the two UEs will be deleted; otherwise, the authentication process will be performed.

所述的鉴权过程包括:The authentication process includes:

GGSN分析两个UE在PPP协商鉴权阶段的鉴权请求消息,根据APN属性进行Radius鉴权,若有一个UE鉴权失败,则把两个UE的上下文都删除;若都成功,进行NCP协商;The GGSN analyzes the authentication request messages of the two UEs during the PPP negotiation authentication phase, and performs Radius authentication according to the APN attribute. If one UE fails to authenticate, the contexts of both UEs are deleted; if both succeed, NCP negotiation is performed. ;

所述的NCP协商过程包括:GGSN为UE1分配动态IP地址,然后GGSN模拟UE的IPCP协商行为,分别和两个UE进行IP地址协商,使两个UE获得自身的IP地址和对端UE的IP地址;The NCP negotiation process includes: GGSN allocates a dynamic IP address for UE1, and then GGSN simulates the IPCP negotiation behavior of UE, and performs IP address negotiation with two UEs respectively, so that the two UEs can obtain their own IP addresses and the IP address of the peer UE. address;

在UE2使用静态地址和对端协商时,GGSN需要根据配置的网络侧激活信息检查此IP地址的合法性;When UE2 uses a static address to negotiate with the peer, the GGSN needs to check the validity of the IP address according to the configured activation information on the network side;

在通信的过程中,还包括服务质量Qos(Quality of Service)更新的过程。在WCDMA系统中,所述的Qos更新过程为:In the process of communication, it also includes the process of QoS (Quality of Service) update. In the WCDMA system, the described Qos update process is:

(1)UE1或SGSN发起Qos更新请求消息,GGSN接收到Qos更新请求后,对用户请求的Qos进行协商,按照协商后的Qos对UE2发起网络侧更新请求消息;(1) UE1 or SGSN initiates a Qos update request message. After receiving the Qos update request, the GGSN negotiates the Qos requested by the user, and initiates a network side update request message to UE2 according to the negotiated Qos;

(2)SGSN和UE2对网络侧请求的Qos进行协商和处理后,向GGSN返回Qos更新应答;若GGSN接收到UE2的更新失败应答,则向UE1返回Qos更新失败应答,上下文保持不变;(2) After SGSN and UE2 negotiate and process the Qos requested by the network side, return a Qos update response to GGSN; if GGSN receives UE2's update failure response, it returns a Qos update failure response to UE1, and the context remains unchanged;

(3)若GGSN接收到UE2返回的Qos更新成功应答,则对UE1和UE2进行更新流程的其他过程,成功后向UE1返回Qos更新成功应答;若正常的更新流程不成功,则删除两个上下文;(3) If the GGSN receives the Qos update success response returned by UE2, it will perform other processes of the update process on UE1 and UE2, and return the Qos update success response to UE1 after success; if the normal update process is unsuccessful, delete the two contexts ;

(4)若GGSN接收到SGSN因为其它原因发起的更新过程,仅仅更新当前UE的上下文,不对另外一个UE发起更新过程,和正常处理方法相同。(4) If the GGSN receives the update process initiated by the SGSN for other reasons, it only updates the context of the current UE and does not initiate an update process for another UE, which is the same as the normal processing method.

如果是GGSN主动发起Qos更新,则需要对两个UE上下文的Qos同时更新。所述的通过分组域通信的方法,还包括一个拆除通信链路的流程:If the GGSN initiates the Qos update, it needs to update the Qos of the two UE contexts at the same time. The method for communicating through the packet domain also includes a process of dismantling the communication link:

(1)当UE1或者SGSN等设备触发删除通信链路时,首先删除PPP链路,GGSN监控链路拆除过程,回收分配的动态IP地址等资源,然后UE1向GGSN发起上下文删除消息;(1) When a device such as UE1 or SGSN triggers the deletion of the communication link, the PPP link is deleted first, and the GGSN monitors the link removal process, reclaims resources such as the allocated dynamic IP address, and then UE1 sends a context deletion message to the GGSN;

(2)GGSN接收到UE1的删除消息时,删除GGSN分配的上下文资源,然后向该UE1返回删除成功应答消息,再发起Radius计费结束过程;(2) When the GGSN receives the delete message from UE1, it deletes the context resource allocated by the GGSN, then returns a delete success response message to the UE1, and then initiates the Radius charging end process;

(3)同时GGSN发起网络侧删除UE2上下文的过程,该UE2返回删除应答后,删除GGSN分配的该UE2上下文资源等资源,再发起Radius计费结束过程,链路删除完成。(3) At the same time, the GGSN initiates the process of deleting the UE2 context on the network side. After the UE2 returns the deletion response, it deletes resources such as the UE2 context resources allocated by the GGSN, and then initiates the Radius charging end process, and the link deletion is completed.

如果是GGSN发起的删除一个UE上下文时,需要同时触发删除另一个UE的上下文,GGSN也需要参与PPP链路拆除过程,回收IP地址等资源。If the deletion of a UE context is initiated by the GGSN, it needs to trigger the deletion of the context of another UE at the same time, and the GGSN also needs to participate in the PPP link teardown process to reclaim resources such as IP addresses.

本发明在PLMN提供一种UE和UE之间通过分组域相互呼叫和建立维护基于IP的通信链路的简单实用方法,丰富了WCDMA/GPRS系统的功能,有效利用了网络资源,降低用户成本。The present invention provides a simple and practical method for calling each other and establishing and maintaining an IP-based communication link between UEs in the PLMN through the packet domain, enriches the functions of the WCDMA/GPRS system, effectively utilizes network resources, and reduces user costs.

附图说明Description of drawings

图1是现有技术中UE之间通信的示意图;FIG. 1 is a schematic diagram of communication between UEs in the prior art;

图2是本发明实施后UE间通信的示意图;FIG. 2 is a schematic diagram of communication between UEs after the implementation of the present invention;

图3是本发明的一个通信链路连接流程示意图;Fig. 3 is a schematic diagram of a communication link connection flow chart of the present invention;

图4是非GGSN主动发起的UE间Qos更新流程示意图;FIG. 4 is a schematic diagram of a QoS update process between UEs initiated by a non-GGSN;

图5是GGSN主动发起的UE间Qos更新流程示意图;FIG. 5 is a schematic diagram of the QoS update process between UEs actively initiated by the GGSN;

图6是非GGSN主动发起的拆除通信链路流程示意图;FIG. 6 is a schematic diagram of a process for dismantling a communication link initiated by a non-GGSN;

图7是GGSN主动发起的拆除通信链路流程示意图。Fig. 7 is a schematic diagram of the process of dismantling the communication link initiated by the GGSN.

具体实施方式Detailed ways

下面结合说明书附图来说明本发明的具体实施方式。The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings.

如图2所示,本发明是要使UE之间可以建立如图所示黑色细线所示的通信链路进行通信。本发明的外部硬件环境包括GGSN、SGSN,HLR、DNS、UE等,根据用户号码MSISDN和APN通过PLMN分组域呼叫另外的用户,在两个用户之间建立基于IP的通信链路进行通信。对系统的GGSN进行如下设置:As shown in FIG. 2 , the present invention enables UEs to establish a communication link as shown by the thin black line in the figure for communication. The external hardware environment of the present invention includes GGSN, SGSN, HLR, DNS, UE, etc., calls other users through the PLMN packet domain according to the user number MSISDN and APN, and establishes an IP-based communication link for communication between the two users. Set the GGSN of the system as follows:

1、支持UE呼叫UE的APN设置,如规定huawei.com为此特定APN,用户呼叫时使用“被叫MSISDN.huawei.com”,则在GGSN需要配置此APN huawei.com的属性是:选择模式=1,支持业务类型=PPP类型,其它属性和通用配置相同1. Support the UE to call the APN setting of the UE. If huawei.com is specified as this specific APN, and the user uses "called MSISDN.huawei.com" when calling, the attribute of this APN huawei.com needs to be configured on the GGSN: selection mode =1, supported service type=PPP type, other attributes are the same as general configuration

2、配置网络侧激活信息:在标准的网络侧激活配置里增加MSISDN数据项,其他配置都是标准的2. Configure network-side activation information: add MSISDN data items in the standard network-side activation configuration, and other configurations are standard

如图3所示,本发明的方法具体包括以下步骤:As shown in Figure 3, the method of the present invention specifically comprises the following steps:

A、UE1向GGSN发起请求,该请求消息携带用户选择的APN;UE1激活PPP类型上下文,发起的请求消息携带用户选择的APN,APN格式如下:被叫MSISDN.特定APN名称,如13641091737.wcdma.com,其中第一个标签13641091737是被叫用户的号码,后面的标签wcdma.com是运营商规定的通过分组域呼叫另一个UE时使用的APN名称,这种标签可以随便使用一个,只要不和其它标签冲突;该请求消息的格式“被叫MSISDN.特定APN名称”,是本发明新规定,而在现有的标准中的APN名称和一般使用的网络地址格式一样,如www.sina.com.cn等。其中格式中“特定的APN名称”可以为空,那么用户使用时只需要输入对方手机号码就行了,这样可以大大方便客户的使用。A. UE1 initiates a request to GGSN, and the request message carries the APN selected by the user; UE1 activates the PPP type context, and the request message initiated carries the APN selected by the user, and the APN format is as follows: called MSISDN.Specific APN name, such as 13641091737.wcdma. com, where the first label 13641091737 is the number of the called user, and the following label wcdma.com is the APN name specified by the operator when calling another UE through the packet domain. This label can be used casually, as long as it does not match Other label conflicts; the format of the request message "called MSISDN. specific APN name" is a new regulation of the present invention, and the APN name in the existing standard is the same as the generally used network address format, such as www.sina.com .cn etc. The "specific APN name" in the format can be empty, so the user only needs to enter the mobile phone number of the other party when using it, which can greatly facilitate the use of customers.

B、GGSN分析该请求的内容,产生新的APN格式,在GGSN查找是否有此新APN的配置信息,如果有,进入步骤C,如果没有,则按照正常激活流程处理;B, GGSN analyzes the content of the request, generates a new APN format, checks whether there is configuration information of this new APN at the GGSN, if yes, enters step C, if not, then processes according to the normal activation process;

GGSN接收到UE1激活请求消息后,对该消息的内容进行分析,若是PPP类型上下文激活消息,且消息中携带APN是如A步骤中所描述的形式,则把APN的第一个标签记为被叫UE2号码(MSISDN),把后面部分标签作为一个新的APN名称,在GGSN查找是否有此新APN的配置信息。若有此种配置方式,且配置为UE呼叫UE的特殊APN,则认为此激活是UE1呼叫UE2的激活请求;否则按照正常激活流程处理。After receiving the UE1 activation request message, the GGSN analyzes the content of the message. If it is a PPP type context activation message, and the APN carried in the message is in the form described in step A, then record the first label of the APN as being Call the UE2 number (MSISDN), use the latter part of the label as a new APN name, and check whether there is configuration information for this new APN in the GGSN. If there is such a configuration method, and the configuration is a special APN for UE to call UE, then this activation is considered to be an activation request for UE1 to call UE2; otherwise, it is processed according to the normal activation process.

C、根据被叫号码查找GGSN的网络侧激活配置信息,获得UE2的IMSI和IP地址,进入步骤D;如果查找失败,则向UE1的SGSN返回激活失败消息,SGSN再重新选择GGSN进行激活;C. Find the network side activation configuration information of GGSN according to the called number, obtain the IMSI and IP address of UE2, and enter step D; if the search fails, return an activation failure message to the SGSN of UE1, and SGSN reselects GGSN for activation;

根据记录的被叫号码MSISDN查GGSN的网络侧激活配置信息,每个具有网络侧激活功能的用户至少具有如下配置内容:MSISDN、IMSI、用户IP地址、IP地址所属的APN,在通用的规定中只配置参数:IMSI、用户IP地址及IP地址所属的APN,本发明只是在配置里增加一项MSISDN。Check the network-side activation configuration information of GGSN according to the recorded called number MSISDN. Each user with the network-side activation function has at least the following configuration content: MSISDN, IMSI, user IP address, and the APN to which the IP address belongs. In the general regulations Only configuration parameters: IMSI, user IP address and APN to which the IP address belongs, the present invention only adds an MSISDN in the configuration.

通过这种查找来获得被叫用户UE2的IMSI和IP地址;若查找失败,说明此GGSN不支持被叫用户的网络侧激活,则向UE1的SGSN返回激活失败消息,根据协议UE1的SGSN会重新选择支持被叫用户UE2网络侧激活的GGSN进行激活;Obtain the IMSI and IP address of the called user UE2 through this search; if the search fails, it means that the GGSN does not support the network side activation of the called user, and then return an activation failure message to the SGSN of UE1, and the SGSN of UE1 will restart according to the protocol Select the GGSN that supports the network side activation of the called user UE2 for activation;

D、GGSN创建UE1的用户上下文,对UE2发起网络侧激活,消息中的APN重新生成,进入步骤E;如果网络侧激活失败,则向U1返回失败消息,结束流程;D. GGSN creates the user context of UE1, initiates network side activation to UE2, regenerates the APN in the message, and enters step E; if the network side activation fails, returns a failure message to U1, and ends the process;

GGSN创建UE1的用户上下文,对被叫用户UE2发起网络侧激活过程,消息中的APN重新生成,格式如A中所描述,但把第一个标签修改成从UE1激活消息中提取的主叫用户UE1的号码,后面部分标签内容和UE1激活时使用的APN一样,如13688856789.wcdma.com,其中13688856789是主叫用户号码;若网络侧激活失败,呼叫失败,GGSN应当删除与此呼叫相关的所有资源,向UE1返回激活失败应答消息;否则等待UE2发起响应网络侧激活的激活请求消息;GGSN creates the user context of UE1, initiates the activation process on the network side for the called user UE2, the APN in the message is regenerated, the format is as described in A, but the first label is modified to the calling user extracted from the UE1 activation message The number of UE1, the content of the latter part of the label is the same as the APN used when UE1 is activated, such as 13688856789.wcdma.com, where 13688856789 is the calling party number; if the activation fails on the network side and the call fails, the GGSN should delete all the calls related to the call. resources, return an activation failure response message to UE1; otherwise, wait for UE2 to initiate an activation request message in response to network activation;

E、GGSN分析消息内容,进行条件查询,如通过,继续步骤F,不通过则结束流程;E. GGSN analyzes the content of the message and performs conditional query. If passed, continue to step F, and if not passed, then end the process;

GGSN接收到UE2的响应激活请求消息后,分析消息内容,检查是否满足以下条件:After receiving the response activation request message from UE2, the GGSN analyzes the content of the message and checks whether the following conditions are met:

a、是PPP类型上下文激活消息;a. It is a PPP type context activation message;

b、消息中携带APN是如(1)所描述的形式且和UE1使用的APN相同;b. The APN carried in the message is in the form described in (1) and is the same as the APN used by UE1;

c、APN的第一个标签和主叫UE1号码MSISDN相同,根据此MSISDN在GGSN查找时应当有正在激活的上下文存在;c. The first label of the APN is the same as the MSISDN of the calling UE1 number. According to this MSISDN, there should be an active context when searching in the GGSN;

d、APN后面部分标签作为新APN在GGSN查找配置信息,GGSN应当把此新APN配置为UE呼叫UE的特殊APN,且和UE1使用的APN的后缀部分相同;d. The label behind the APN is used as a new APN to search for configuration information in the GGSN. The GGSN should configure the new APN as a special APN for the UE to call the UE, and the suffix part of the APN used by UE1 is the same;

若以上条件全满足,则认为是UE2响应UE1呼叫的激活消息;如果有条件不满足,则结束流程。If the above conditions are all satisfied, it is considered that UE2 responds to the call activation message of UE1; if any condition is not satisfied, the process ends.

F、GGSN为UE1上下文分配资源,为UE2创建用户上下文并分配资源,完成后向UE1、UE2返回激活成功应答消息,并设置UE1和UE2的上下文为相互关联上下文,以用于UE1和UE2间的数据转发;若任意激活失败,则GGSN返回失败的应答消息,且删除另一个UE的上下文;F. GGSN allocates resources for the UE1 context, creates a user context and allocates resources for UE2, returns an activation success response message to UE1 and UE2 after completion, and sets the context of UE1 and UE2 as an interrelated context for use between UE1 and UE2 Data forwarding; if any activation fails, the GGSN returns a failed response message and deletes the context of another UE;

GGSN为UE1的上下文分配资源,完成后向UE1返回激活成功应答消息;为UE2创建用户上下文并分配资源,对被叫用户UE2的上下文Qos协商时需要特别处理,使它的协商值尽量和UE1上下文的Qos协商值差距最小,完成后向UE2返回成功激活应答消息;The GGSN allocates resources for the context of UE1, and returns an activation success response message to UE1 after completion; creates a user context and allocates resources for UE2, and needs special handling when negotiating the context Qos of the called user UE2, so that its negotiation value is as close as possible to the UE1 context The difference between the Qos negotiation values of the two is the smallest, and returns a successful activation response message to UE2 after completion;

若UE1或者UE2激活失败,GGSN返回失败应答消息,并且主动触发删除另外一个UE的上下文;若都成功,设置两个UE的上下文为相互关联上下文,以用于两个UE间的数据转发;若删除另一个UE的上下文后,把GGSN与此相关的资源全部释放。If the activation of UE1 or UE2 fails, the GGSN returns a failure response message and actively triggers the deletion of the context of the other UE; if both succeed, set the context of the two UEs as an interrelated context for data forwarding between the two UEs; if After deleting the context of another UE, release all resources related to the GGSN.

G、进行UE1和UE2间PPP协商,若协商通过,进入步骤H;不通过,则结束流程,重新发起请求;G. Carry out PPP negotiation between UE1 and UE2. If the negotiation passes, enter step H; if not, end the process and initiate the request again;

至此,两个UE间的通信链路(相当于PPP协议的物理层)已经建成,接下来两个UE间进行PPP协商(遵从3GPP协议和RFC协议),分为LCP协商、鉴权、NCP协商三个阶段。由GGSN监控PPP协商过程,作为两个UE进行PPP协商的中继,需要分析处理链路质量协商、鉴权、IP地址协商等PPP协商数据包,但GGSN的行为对两个UE应当是透明的。So far, the communication link between the two UEs (equivalent to the physical layer of the PPP protocol) has been established, and then the PPP negotiation between the two UEs (complying with the 3GPP protocol and the RFC protocol) is divided into LCP negotiation, authentication, and NCP negotiation three phases. The GGSN monitors the PPP negotiation process. As a relay for two UEs to perform PPP negotiation, it needs to analyze and process PPP negotiation data packets such as link quality negotiation, authentication, and IP address negotiation, but the behavior of the GGSN should be transparent to the two UEs. .

对不需要GGSN分析处理的PPP数据包,GGSN只负责在两个UE间转发:对UE1发送的上行数据报,GGSN查找到上下文后,根据UE1和UE2两个上下文的关联关系,作为下行数据发送给UE2;对UE2发送的上行数据报,GGSN用相同方法发送给UE1;For PPP data packets that do not need to be analyzed and processed by the GGSN, the GGSN is only responsible for forwarding between the two UEs: for the uplink datagram sent by UE1, after the GGSN finds the context, it sends it as downlink data according to the relationship between the two contexts of UE1 and UE2 To UE2; for the uplink datagram sent by UE2, GGSN sends it to UE1 in the same way;

首先是LCP协商过程:GGSN获链路质量协商数据包,和GTP协议规定的Qos作映射,LCP协商完成后,发起网络侧更新Qos过程,使两个UE上下文的Qos一致(这个功能可选,参见GGSN发起的Qos更新流程);GGSN还需要和两个UE协商鉴权方式,决定是否鉴权和使用PAP或者CHAP进行鉴权;LCP协商若不通过则删除两个UE的上下文,否则进行鉴权过程;The first is the LCP negotiation process: GGSN obtains the link quality negotiation data packet, and maps it with the Qos stipulated in the GTP protocol. After the LCP negotiation is completed, it initiates the Qos update process on the network side to make the Qos of the two UE contexts consistent (this function is optional, Refer to the Qos update process initiated by GGSN); GGSN also needs to negotiate with the two UEs on the authentication method, decide whether to authenticate and use PAP or CHAP for authentication; if the LCP negotiation fails, delete the context of the two UEs, otherwise perform authentication rights process;

鉴权过程:GGSN分析两个UE在PPP协商鉴权阶段的鉴权请求消息,根据APN属性进行Radius鉴权,若有一个UE鉴权失败,则把两个UE的上下文都删除;若都成功,进行NCP协商;删除报文后需要把GGSN的相关资源全部清除,是否重新发起由用户决定;Authentication process: GGSN analyzes the authentication request messages of two UEs in the PPP negotiation authentication phase, and performs Radius authentication according to the APN attribute. If one UE fails authentication, the context of both UEs is deleted; if both succeed , to carry out NCP negotiation; after deleting the message, all related resources of the GGSN need to be cleared, and whether to re-initiate is determined by the user;

NCP协商过程:NCP协商包括IPCP、IPXCP等网络层的协商,这里以IPCP为例进行说明。GGSN为UE1分配动态IP地址(若UE2使用动态地址网络侧激活,也需要为UE2分配IP地址),然后GGSN模拟UE的IPCP协商行为,分别和两个UE进行IP地址协商,使两个UE获得GGSN为其分配的动态IP地址和对端UE的IP地址;NCP negotiation process: NCP negotiation includes network layer negotiation such as IPCP and IPXCP. Here, IPCP is used as an example for illustration. GGSN assigns a dynamic IP address to UE1 (if UE2 uses a dynamic address network side activation, it also needs to assign an IP address to UE2), then GGSN simulates the IPCP negotiation behavior of UE, and conducts IP address negotiation with two UEs respectively, so that the two UEs can obtain The dynamic IP address assigned by the GGSN and the IP address of the peer UE;

在UE2使用静态地址和对端协商时,GGSN需要根据配置的网络侧激活信息检查此IP地址的合法性。When UE2 uses a static address and negotiates with the peer, the GGSN needs to check the validity of the IP address according to the configured activation information on the network side.

H、根据APN的属性,对两个UE的上下文发起Radius计费过程,若通过,进入步骤I,若任意一个计费不成功,则两个上下文都被删除,结束流程;H, according to the attribute of APN, initiate Radius billing process to the context of two UEs, if pass, enter step 1, if any billing is unsuccessful, then two contexts are all deleted, end flow process;

两个UE间的PPP协商完成后,根据APN的属性,对两个UE的上下文发起Radius计费过程,若其中任意一个计费不成功,则两个上下文都被删除;删除报文后需要把GGSN的相关资源全部清除,是否重新发起由用户决定。After the PPP negotiation between the two UEs is completed, according to the attributes of the APN, the Radius charging process is initiated for the contexts of the two UEs. If any one of them fails to charge, both contexts will be deleted; after deleting the message, you need to All relevant resources of the GGSN are cleared, and it is up to the user to decide whether to re-initiate.

I、链路连接完成,UE间进行通信。1. The link connection is completed, and the UEs communicate with each other.

至此,呼叫成功和通信链路建立完成,可以运行任何基于IP的应用软件;GGSN负责转发两个UE间的数据包:接收到一个UE的上行数据包,查找上下文,作检查,作为下行数据报转发给另一个UE。So far, the call is successful and the communication link is established, and any IP-based application software can be run; GGSN is responsible for forwarding data packets between two UEs: receiving an uplink data packet from a UE, searching for the context, checking, and serving as a downlink datagram forwarded to another UE.

如图4、5所示,本发明在通过PLAM进行UE间的通信过程中,还可以包括Qos更新的过程,在WCDMA系统中,所述的Qos更新过程为:As shown in Figures 4 and 5, the present invention may also include a Qos update process in the communication process between UEs through PLAM. In a WCDMA system, the Qos update process is:

(1)UE或SGSN发起Qos更新请求消息,GGSN接收到Qos更新请求后,对用户请求的Qos进行协商,按照协商后的Qos对UE2发起网络侧更新请求消息;(1) UE or SGSN initiates a Qos update request message. After receiving the Qos update request, GGSN negotiates the Qos requested by the user, and initiates a network side update request message to UE2 according to the negotiated Qos;

(2)SGSN和UE2对网络侧请求的Qos进行协商和处理后,向GGSN返回Qos更新应答;若GGSN接收到UE2的更新失败应答,则向UE1返回Qos更新失败应答,上下文保持不变;(2) After SGSN and UE2 negotiate and process the Qos requested by the network side, return a Qos update response to GGSN; if GGSN receives UE2's update failure response, it returns a Qos update failure response to UE1, and the context remains unchanged;

(3)若GGSN接收到UE2返回的Qos更新成功应答,则对UE1和UE2进行更新流程的其他过程,成功后向UE1返回Qos更新成功应答;若正常的更新流程不成功,则删除两个上下文;(3) If the GGSN receives the Qos update success response returned by UE2, it will perform other processes of the update process on UE1 and UE2, and return the Qos update success response to UE1 after success; if the normal update process is unsuccessful, delete the two contexts ;

(4)若GGSN接收到SGSN因为其它原因,发起的更新过程,仅仅更新当前UE的上下文,不对另外一个UE发起更新过程,和正常处理方法相同。(4) If the GGSN receives the update process initiated by the SGSN for other reasons, only the context of the current UE is updated, and the update process is not initiated for another UE, which is the same as the normal processing method.

如果上述Qos更新是GGSN主动发起的,则根据要求需要对两个UE上下文的Qos同时更新。If the aforementioned Qos update is initiated by the GGSN, the Qos of the two UE contexts need to be updated at the same time as required.

如图6、7所示,在本发明中,还包括一个拆除通信链路的过程:As shown in Figures 6 and 7, in the present invention, a process of dismantling the communication link is also included:

(1)当某个UE1或者SGSN等设备触发删除通信链路时,首先按照3GPP协议和RFC协议删除PPP链路,GGSN监控链路拆除过程,回收分配的动态IP地址等资源,然后UE1向GGSN发起上下文删除消息;(1) When a device such as UE1 or SGSN triggers the deletion of the communication link, first delete the PPP link according to the 3GPP protocol and the RFC protocol, and the GGSN monitors the link removal process, reclaims resources such as the allocated dynamic IP address, and then UE1 sends the GGSN Initiate a context delete message;

(2)GGSN接收到UE1的删除消息时,删除GGSN分配的上下文资源,然后向UE1返回删除成功应答消息,再发起Radius计费结束过程;(2) When GGSN receives UE1's deletion message, it deletes the context resources allocated by GGSN, then returns a deletion success response message to UE1, and then initiates the Radius charging end process;

(3)同时GGSN发起网络侧删除UE2上下文的过程,UE2返回删除应答后,删除GGSN分配的UE2上下文资源等资源,再发起Radius计费结束过程,链路删除完成。(3) At the same time, the GGSN initiates the process of deleting the UE2 context on the network side. After UE2 returns the deletion response, it deletes the resources such as the UE2 context resources allocated by the GGSN, and then initiates the Radius charging end process, and the link deletion is completed.

如果该拆除是GGSN发起的删除一个UE上下文时,需要同时触发删除另一个UE的上下文,GGSN也需要参与PPP链路拆除过程,回收IP地址等资源。If the removal is initiated by the GGSN to delete the context of one UE, it needs to trigger the deletion of the context of another UE at the same time, and the GGSN also needs to participate in the PPP link removal process and reclaim resources such as IP addresses.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉该技术的人在本发明所揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person familiar with the technology can easily think of changes or replacements within the technical scope disclosed in the present invention. , should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (16)

1、一种通过分组域通信的方法,其特征在于包括如下步骤:1. A method for communicating through a packet domain, characterized in that it comprises the steps of: GPRS网关支持节点GGSN(Gateway GPRS Support Node)接收用户终端UE1(User Equipment)的呼叫请求,在该GGSN上根据该呼叫请求携带的接入点名称APN(Access Point Name)生成新的APN,并查找在该GGSN上是否有该新的APN的配置信息,如果没有则按照正常激活流成处理,如果有则在该GGSN上根据被叫移动台国际ISDN号码MSISDN获得被叫用户终端UE2国际移动用户标识IMSI和IP地址,由该GGSN创建UE1和UE2的用户上下文并分配资源,并设置UE1和UE2的上下文为相互关联上下文,以用于UE1和UE2间的数据转发,链路连接完成,UE间进行通信。The GPRS gateway support node GGSN (Gateway GPRS Support Node) receives the call request of the user terminal UE1 (User Equipment), generates a new APN on the GGSN according to the APN (Access Point Name) carried by the call request, and searches Whether there is configuration information of the new APN on the GGSN, if not, proceed according to the normal activation process, if yes, obtain the international mobile subscriber identity of the called user terminal UE2 on the GGSN according to the international ISDN number MSISDN of the called mobile station IMSI and IP address, the GGSN creates the user contexts of UE1 and UE2 and allocates resources, and sets the contexts of UE1 and UE2 as interrelated contexts for data forwarding between UE1 and UE2. communication. 2、如权利要求1所述的通过分组域通信的方法,其特征在于,所述的链路连接还包括如下具体步骤:2. The method for communicating in a packet domain as claimed in claim 1, wherein said link connection further comprises the following specific steps: A、UE1向GPRS网关支持节点GGSN(Gateway GPRS Support Node)发起请求,该请求消息携带用户选择的APN;A. UE1 initiates a request to the GPRS gateway support node GGSN (Gateway GPRS Support Node), and the request message carries the APN selected by the user; B、GGSN分析该请求消息的内容,根据消息中携带的APN生成新的APN,在GGSN查找是否有该新APN的配置信息,如果有,进入步骤C,若没有,则按照正常激活流程处理;B, GGSN analyzes the content of this request message, generates new APN according to the APN carried in the message, searches whether there is the configuration information of this new APN at GGSN, if yes, enters step C, if not, then process according to normal activation process; C、根据被叫号码MSISDN查找GGSN的网络侧激活配置信息,获得被叫用户UE2的国际移动用户标识IMSI(International Mobile SubscriberIdentity)和IP地址,进入步骤D;若查找失败,则向UE1的GPRS业务支持节点SGSN(Serving GPRS Support Node)返回激活失败消息,SGSN再重新选择GGSN进行激活;C. Find the network side activation configuration information of the GGSN according to the called number MSISDN, obtain the IMSI (International Mobile Subscriber Identity) and IP address of the called user UE2, and enter step D; if the search fails, send the GPRS service to UE1 The support node SGSN (Serving GPRS Support Node) returns an activation failure message, and the SGSN reselects the GGSN for activation; D、GGSN创建UE1的用户上下文,对UE2发起网络侧激活,消息中的APN重新生成,进入步骤E;若网络侧激活失败,则GGSN返回失败消息,结束流程;D. GGSN creates the user context of UE1, initiates network side activation to UE2, regenerates the APN in the message, and enters step E; if the network side activation fails, GGSN returns a failure message and ends the process; E、GGSN接收到UE2的响应网络侧激活的上下文激活请求消息,分析消息内容,进行条件查询,如通过,继续步骤F,不通过则结束流程;E. GGSN receives UE2's context activation request message in response to network side activation, analyzes the content of the message, and performs conditional query. If it passes, continue to step F, and if it does not pass, end the process; F、GGSN为UE1上下文分配资源,为UE2创建用户上下文并分配资源,完成后向UE1、UE2返回激活成功应答消息,并设置UE1和UE2的上下文为相互关联上下文,以用于UE1和UE2间的数据转发;若任意一个UE的激活失败,则GGSN返回失败的应答消息,删除另一个UE的上下文;F. GGSN allocates resources for UE1 context, creates user context and allocates resources for UE2, and returns an activation success response message to UE1 and UE2 after completion, and sets the context of UE1 and UE2 as an interrelated context for use between UE1 and UE2 Data forwarding; if the activation of any UE fails, the GGSN returns a failure response message and deletes the context of another UE; G、UE1和UE2间端到端进行PPP协商,若协商通过,进入步骤H;不通过,则结束流程;G. UE1 and UE2 perform end-to-end PPP negotiation. If the negotiation passes, enter step H; if not, end the process; H、根据APN的属性,对两个UE的上下文发起Radius计费过程,若通过,进入步骤I,若任意一个计费不成功,则两个上下文都被删除,结束流程;H, according to the attribute of APN, initiate Radius billing process to the context of two UEs, if pass, enter step 1, if any billing is unsuccessful, then two contexts are all deleted, end flow process; I、链路连接完成,UE间进行通信。I. The link connection is completed, and communication between UEs is performed. 3、如权利要求2所述的通过分组域通信的方法,其特征在于还包括一个设置GGSN步骤;其设置内容包括:3. The method for communicating in the packet domain as claimed in claim 2, further comprising a step of setting the GGSN; the setting content includes: A、支持UE呼叫UE的APN设置;A. Support UE to call UE's APN setting; B、在网络侧激活配置里增加MSISDN数据项。B. Add the MSISDN data item in the activation configuration on the network side. 4、如权利要求2或3所述的通过分组域通信的方法,其特征在于所述步骤A中APN格式为:被叫MSISDN.特定APN名称,其中该特定APN名称可以为空。4. The method for communicating through the packet domain as claimed in claim 2 or 3, wherein the APN format in the step A is: called MSISDN. specific APN name, wherein the specific APN name can be empty. 5、如权利要求4所述的通过分组域通信的方法,其特征在于所述步骤B分析该消息内容包括:该消息若是点到点协议PPP(Point to Point Protocol)类型的上下文激活消息,且符合步骤A中的APN形式,则把APN的第一个标签记为被叫UE2号码,把后面部分标签作为一个新的APN名称。5. The method for communicating in a packet domain as claimed in claim 4, wherein said step B analyzing the content of the message comprises: if the message is a context activation message of the Point to Point Protocol (PPP) type, and If it conforms to the APN form in step A, record the first label of the APN as the called UE2 number, and use the latter part of the label as a new APN name. 6、如权利要求5所述的通过分组域通信的方法,其特征在于所述步骤D中重新生成的APN格式与步骤A中产生的APN格式相同,把UE1使用APN的第一个标签修改成从UE1激活消息中提取的主叫用户UE1的号码。6. The method for communicating in the packet domain according to claim 5, wherein the APN format regenerated in step D is the same as the APN format generated in step A, and the first label of the APN used by UE1 is modified to The number of the calling user UE1 extracted from the UE1 activation message. 7、如权利要求4所述的通过分组域通信的方法,其特征在于所述步骤E中分析消息内容包括:7. The method for communicating in the packet domain as claimed in claim 4, characterized in that analyzing the message content in the step E includes: a、是否是PPP类型的上下文激活消息;a. Whether it is a context activation message of PPP type; b、消息中携带APN是否如步骤A中所描述的形式且和步骤D的APN相同;b. Whether the APN carried in the message is in the form described in step A and is the same as the APN in step D; c、APN的第一个标签和主叫UE1号码MSISDN是否相同,根据此MSISDN在GGSN查找时应当有正在激活的上下文存在;c. Whether the first label of the APN is the same as the MSISDN of the calling UE1 number. According to this MSISDN, there should be an active context in the GGSN search; d、APN后面部分标签作为新APN在GGSN查找配置信息,GGSN应当把此新APN配置为UE呼叫UE的特殊APN,且和UE1使用的APN的后缀部分相同。d. The label behind the APN is used as a new APN to search for configuration information in the GGSN. The GGSN should configure the new APN as a special APN for the UE to call the UE, and the suffix part of the APN used by UE1 is the same. 8、如权利要求2或3所述的通过分组域通信的方法,其特征在于所述的步骤G中的PPP协商过程包括:8. The method for communicating in the packet domain as claimed in claim 2 or 3, characterized in that the PPP negotiation process in the step G includes: a、链路控制协议LCP(Link Control Protocol)协商过程;a. Link Control Protocol LCP (Link Control Protocol) negotiation process; b、鉴权过程;b. Authentication process; c、网络控制协议NCP(Network Control Protocol)协商过程。c. Network Control Protocol NCP (Network Control Protocol) negotiation process. 9、如权利要求8所述的通过分组域通信的方法,其特征在于所述LCP协商过程包括:9. The method for communicating in the packet domain according to claim 8, characterized in that the LCP negotiation process includes: GGSN获链路质量协商数据包,和GTP协议规定的服务质量Qos(Quality ofService)作映射,LCP协商完成后,发起网络侧更新Qos过程,使两个UE上下文的Qos一致;The GGSN obtains the link quality negotiation data packet, and maps it with the QoS (Quality of Service) stipulated in the GTP protocol. After the LCP negotiation is completed, it initiates the QoS process on the network side to make the QoS of the two UE contexts consistent; GGSN和两个UE协商鉴权方式,决定是否鉴权和使用PAP或者CHAP进行鉴权;The GGSN negotiates the authentication mode with the two UEs, decides whether to authenticate and uses PAP or CHAP for authentication; LCP协商若不通过则删除两个UE的上下文,否则进行鉴权过程。If the LCP negotiation fails, the contexts of the two UEs are deleted; otherwise, the authentication process is performed. 10、如权利要求8所述的通过分组域通信的方法,其特征在于所述的鉴权过程包括:10. The method for communicating in the packet domain as claimed in claim 8, characterized in that said authentication process includes: GGSN分析两个UE在PPP协商鉴权阶段的鉴权请求消息,根据APN属性进行接入用户远程鉴权服务Radius(Remote Authentication Dial in UserService)鉴权,若有一个UE鉴权失败,则把两个UE的上下文都删除;若都成功,进行NCP协商。The GGSN analyzes the authentication request messages of the two UEs during the authentication phase of the PPP negotiation, and performs Radius (Remote Authentication Dial in UserService) authentication for the access user according to the APN attribute. The contexts of all UEs are deleted; if all succeed, NCP negotiation is performed. 11、如权利要求8所述的通过分组域通信的方法,其特征在于所述的NCP协商过程包括:11. The method for communicating in the packet domain as claimed in claim 8, characterized in that said NCP negotiation process includes: GGSN为UE1分配动态IP地址,然后GGSN模拟UE的IPCP协商行为,分别和两个UE进行IP地址协商,使两个UE获得自身的IP地址和对端UE的IP地址;The GGSN assigns a dynamic IP address to UE1, and then the GGSN simulates the IPCP negotiation behavior of the UE, and performs IP address negotiation with the two UEs, so that the two UEs can obtain their own IP addresses and the IP address of the peer UE; 在UE2使用静态地址和对端协商时,GGSN需要根据配置的网络侧激活信息检查此IP地址的合法性。When UE2 uses a static address and negotiates with the peer, the GGSN needs to check the validity of the IP address according to the configured activation information on the network side. 12、如权利要求1、2或3所述的通过分组域通信的方法,其特征在于在通信的过程中,还包括Qos更新的过程。12. The method for communicating in the packet domain as claimed in claim 1, 2 or 3, characterized in that the communication process also includes a Qos update process. 13、如权利要求12所述的UE间通过分组域通信的方法,其特征在于在WCDMA系统中,所述的Qos更新过程为:13. The method for communication between UEs via packet domain as claimed in claim 12, characterized in that in the WCDMA system, the Qos update process is: (1)UE1或SGSN发起Qos更新请求消息,GGSN接收到Qos更新请求后,对用户请求的Qos进行协商,按照协商后的Qos对UE2发起网络侧更新请求消息;(1) UE1 or SGSN initiates a Qos update request message. After receiving the Qos update request, the GGSN negotiates the Qos requested by the user, and initiates a network side update request message to UE2 according to the negotiated Qos; (2)SGSN和UE2对网络侧请求的Qos进行协商和处理后,向GGSN返回Qos更新应答;若GGSN接收到UE2的更新失败应答,则向UE1返回Qos更新失败应答,上下文保持不变;(2) After SGSN and UE2 negotiate and process the Qos requested by the network side, return a Qos update response to GGSN; if GGSN receives UE2's update failure response, it returns a Qos update failure response to UE1, and the context remains unchanged; (3)若GGSN接收到UE2返回的Qos更新成功应答,则对UE1和UE2进行更新流程的其他过程,成功后向UE1返回Qos更新成功应答;若正常的更新流程不成功,则删除两个上下文;(3) If the GGSN receives the Qos update success response returned by UE2, it will perform other procedures of the update process on UE1 and UE2, and return the Qos update success response to UE1 after success; if the normal update process is unsuccessful, delete the two contexts ; (4)若GGSN接收到SGSN因为其它原因发起的更新过程,仅仅更新当前UE的上下文,不对另外一个UE发起更新过程,和正常处理方法相同。(4) If the GGSN receives the update process initiated by the SGSN for other reasons, it only updates the context of the current UE and does not initiate an update process for another UE, which is the same as the normal processing method. 14、如权利要求13所述的通过分组域通信的方法,其特征在于如果是GGSN主动发起Qos更新,则需要对两个UE上下文的Qos同时更新。14. The method for communicating in the packet domain according to claim 13, wherein if the GGSN initiates the Qos update on its own initiative, it needs to update the Qos of the two UE contexts at the same time. 15、如权利要求2或3所述的通过分组域通信的方法,其特征在于还包括一个拆除通信链路的步骤:15. The method for communicating through the packet domain as claimed in claim 2 or 3, further comprising a step of dismantling the communication link: (1)当UE1或者SGSN等设备触发删除通信链路时,首先删除PPP链路,GGSN监控链路拆除过程,回收分配的动态IP地址等资源,然后UE1向GGSN发起上下文删除消息;(1) When a device such as UE1 or SGSN triggers the deletion of the communication link, the PPP link is deleted first, and the GGSN monitors the link removal process, reclaims resources such as the allocated dynamic IP address, and then UE1 sends a context deletion message to the GGSN; (2)GGSN接收到UE1的删除消息时,删除GGSN分配的上下文资源,然后向该UE1返回删除成功应答消息,再发起Radius计费结束过程;(2) When the GGSN receives the delete message from UE1, it deletes the context resource allocated by the GGSN, then returns a delete success response message to the UE1, and then initiates the Radius charging end process; (3)同时GGSN发起网络侧删除UE2上下文的过程,该UE2返回删除应答后,删除GGSN分配的该UE2上下文资源等资源,再发起Radius计费结束过程,链路删除完成。(3) At the same time, the GGSN initiates the process of deleting the UE2 context on the network side. After the UE2 returns the deletion response, it deletes resources such as the UE2 context resources allocated by the GGSN, and then initiates the Radius charging end process, and the link deletion is completed. 16、如权利要求15所述的通过分组域通信的方法,其特征在于如果是GGSN发起的删除一个UE上下文时,需要同时触发删除另一个UE的上下文,GGSN也需要参与PPP链路拆除过程,回收IP地址等资源。16. The method for communicating in the packet domain as claimed in claim 15, characterized in that if the deletion of a UE context is initiated by the GGSN, it needs to trigger the deletion of the context of another UE at the same time, and the GGSN also needs to participate in the PPP link teardown process, Recycle resources such as IP addresses.
CNB021184879A 2002-04-27 2002-04-27 Group domain communication method Expired - Fee Related CN1214578C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021184879A CN1214578C (en) 2002-04-27 2002-04-27 Group domain communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021184879A CN1214578C (en) 2002-04-27 2002-04-27 Group domain communication method

Publications (2)

Publication Number Publication Date
CN1453965A CN1453965A (en) 2003-11-05
CN1214578C true CN1214578C (en) 2005-08-10

Family

ID=29257366

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021184879A Expired - Fee Related CN1214578C (en) 2002-04-27 2002-04-27 Group domain communication method

Country Status (1)

Country Link
CN (1) CN1214578C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100372342C (en) * 2004-11-08 2008-02-27 华为技术有限公司 Method for providing services to circuit domain users through packet domain
WO2009097780A1 (en) * 2008-02-04 2009-08-13 Huawei Technologies Co., Ltd. Processing method and device for static ip address
CN101594676B (en) * 2008-05-27 2012-04-04 电信科学技术研究院 Bearer deletion method and device
CN101902483B (en) * 2008-11-20 2014-07-23 熊猫电子集团有限公司 Network service realization method for portable satellite station
CN101668258B (en) * 2009-07-23 2011-12-28 中兴通讯股份有限公司 Method, system and device for data transmission
CN102932953B (en) * 2012-09-20 2016-04-13 中国联合网络通信集团有限公司 PDP context activation method, equipment and system

Also Published As

Publication number Publication date
CN1453965A (en) 2003-11-05

Similar Documents

Publication Publication Date Title
CN1623309A (en) Method and system for connecting mobile client devices to the internet
CN1898933A (en) Methods and apparatus for network initiated data services
CN101040463A (en) Handover system and method for dual-mode mobility connecting mobile communication system and wireless network
CN101056448A (en) Method for detecting the service quality parameters and network side communication device
CN1297174C (en) Method for user terminal communication through Package Domain of Public Land Mobile Telecommunication Network
CN1925690A (en) Method and system for providing roaming service in mobile communication system
CN1794870A (en) Method of establishing interface link
CN101080098A (en) A communication method and system
CN101047950A (en) Method for allocating default load in 3GPP evolution network
CN101064953A (en) Register method for mobile communication system and the used bimodule terminal
CN1214578C (en) Group domain communication method
CN1852304A (en) Method for selecting gateway general packet wireless service support node
CN100344199C (en) System of radio local network mobility management and its method
CN1306762C (en) Method of keeping IP address of CDMA2000 incorporated WLAN user on cross-network switchover
CN1913713A (en) Public data networking access method and system
CN1283055C (en) A processing method for creating packet data protocol context request
CN1492628A (en) Method and system for matching user status in a network
CN1213626C (en) A Method of GPRS Supporting Intelligent Service
CN1949923A (en) Idle mode movement performace managing method and wireless communication system in wireless communication system
CN1925669A (en) Method and device for realizing position updating of user's set
CN1992606A (en) NGN network system and method for implementing mobility management
CN1848823A (en) System and method for intercommunicating with mobile network short message based on IP switch-in network
CN1197398C (en) Data transmitting method in mobile communication system
CN101043414A (en) Method for guarantying consistency of quality of service configuration of wireless LAN and sealed packet data gateway
CN1859777A (en) Method for realizing PDP address distribution in service cut-in

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050810

Termination date: 20200427