CN102726078B - Method for mobile terminal registration in Pool area and access network entity - Google Patents

Method for mobile terminal registration in Pool area and access network entity Download PDF

Info

Publication number
CN102726078B
CN102726078B CN201180002442.4A CN201180002442A CN102726078B CN 102726078 B CN102726078 B CN 102726078B CN 201180002442 A CN201180002442 A CN 201180002442A CN 102726078 B CN102726078 B CN 102726078B
Authority
CN
China
Prior art keywords
sgsn
mobile terminal
access network
network entity
registration
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
CN201180002442.4A
Other languages
Chinese (zh)
Other versions
CN102726078A (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
Publication of CN102726078A publication Critical patent/CN102726078A/en
Application granted granted Critical
Publication of CN102726078B publication Critical patent/CN102726078B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种Pool区中移动终端注册方法及系统、接入网实体,该方法包括:接入网实体接收移动终端发送的请求消息,所述请求消息携带有所述移动终端的身份标识信息,所述请求消息用以请求进行移动终端注册;所述接入网实体从通用分组无线服务支持节点SGSN状态表中选取出状态正常,并且优先级别最高的SGSN;所述接入网实体将所述请求消息发送至所述优先级别最高的SGSN,以完成所述移动终端的注册。可以提高SGSN选择的灵活性。

A method and system for registering a mobile terminal in a Pool area, and an access network entity, the method comprising: the access network entity receives a request message sent by the mobile terminal, the request message carries identity information of the mobile terminal, and the request The message is used to request mobile terminal registration; the access network entity selects the SGSN with normal status and the highest priority from the general packet radio service support node SGSN status table; the access network entity sends the request message to the SGSN with the highest priority to complete the registration of the mobile terminal. The flexibility of SGSN selection can be improved.

Description

Pool区中移动终端注册方法及接入网实体Mobile terminal registration method and access network entity in Pool area

技术领域 technical field

本发明涉及移动通信领域,尤其涉及一种Pool区中移动终端注册方法及接入网实体。The invention relates to the field of mobile communication, in particular to a method for registering a mobile terminal in a Pool area and an access network entity.

背景技术 Background technique

在移动通信网络中,为了给用户提供更平稳的上网体验,通常将部署在不同区域的多个通用分组无线服务支持节点(Serving GPRS Support Node,SGSN)组成一个池(Pool)区,在这个Pool区内移动终端漫游时不仅不需要切换服务SGSN,而且移动终端的业务可靠性还有所提升。In a mobile communication network, in order to provide users with a more stable online experience, usually a plurality of Serving GPRS Support Nodes (SGSN) deployed in different areas form a pool (Pool) area. Not only does it not need to switch the serving SGSN when the mobile terminal roams in the area, but also the service reliability of the mobile terminal is improved.

一种Pool区的示意图如图1所示,其中,分别在城市city1、city2和city3部署的SGSN1、SGSN2和SGSN3组成了一个pool区。移动终端在不需要切换服务SGSN的情况下即可在图1所示的pool区内漫游。更进一步地,如图1所示,无线网络控制器(Radio Network Controller,RNC)1、2和3是分别部署在城市city1、city2和city3的RNC。其中,RNC1、RNC2和RNC3分别通过租用承载网与SGSN1、SGSN2和SGSN3连接。一般地,租用承载网都是按照流量付费的,因此运营商往往希望RNC1范围下的移动终端可以优选本地SGSN1注册、RNC2范围下的移动终端可以优选本地SGSN2注册、RNC3范围下的移动终端可以优选本地SGSN3注册。而实际应用中,Pool区内的某一SGSN发生异常(例如该SGSN故障或该SGSN与其对应的RNC之间的链路故障)时,该SGSN对应的RNC会按照其余SGSN的容量比为其范围下的移动终端选择相应的SGSN进行注册。以图1所示的Pool区为例,假如RNC2上配置的SGSN1、SGSN2以及SGSN3的容量比例为3∶3∶4,当SGSN2异常时,RNC2会按照SGSN1和SGSN3的容量比例3∶4为其范围下的移动终端选择相应的SGSN进行注册。举例来说,RNC2在接收到其范围下的每一个移动终端发送的请求时,可以随机产生一随机数n,并对该随机数n作模7(7=3+4)运算,若运算结果在(0~2)范围内,则RNC2选择SGSN1为其范围下的移动终端进行注册,若运算结果在(3~6)范围内,则RNC2选择SGSN3为其范围下的移动终端进行注册,使得一段时间后RNC2范围下的所有移动终端将完成注册并附着在SGSN1和SGSN3上。A schematic diagram of a Pool area is shown in FIG. 1, wherein SGSN1, SGSN2, and SGSN3 deployed in cities city1, city2, and city3 form a pool area. The mobile terminal can roam in the pool area shown in FIG. 1 without switching the serving SGSN. Further, as shown in FIG. 1, radio network controllers (Radio Network Controller, RNC) 1, 2 and 3 are RNCs deployed in cities city1, city2 and city3 respectively. Wherein, RNC1, RNC2 and RNC3 are respectively connected to SGSN1, SGSN2 and SGSN3 through the leased bearer network. Generally, the leased bearer network is paid according to the traffic, so operators often hope that mobile terminals under the scope of RNC1 can preferably register with the local SGSN1, mobile terminals under the scope of RNC2 can preferably register with the local SGSN2, and mobile terminals under the scope of RNC3 can preferably register Local SGSN3 registration. In practical applications, when an SGSN in the Pool area is abnormal (for example, the SGSN fails or the link between the SGSN and its corresponding RNC fails), the RNC corresponding to the SGSN will use the capacity ratio of the other SGSNs as its range The mobile terminal under selects the corresponding SGSN to register. Taking the Pool area shown in Figure 1 as an example, if the capacity ratio of SGSN1, SGSN2, and SGSN3 configured on RNC2 is 3:3:4, when SGSN2 is abnormal, RNC2 will use it according to the capacity ratio of SGSN1 and SGSN3 of 3:4. The mobile terminal under the range selects the corresponding SGSN to register. For example, when RNC2 receives the request sent by each mobile terminal under its range, it can randomly generate a random number n, and perform a modulo 7 (7=3+4) operation on the random number n, if the operation result In the range of (0-2), RNC2 selects SGSN1 as its mobile terminal to register, and if the calculation result is in the range of (3-6), RNC2 selects SGSN3 as its mobile terminal to register, so that After a period of time, all mobile terminals under the range of RNC2 will complete registration and attach to SGSN1 and SGSN3.

实践中发现,上述Pool区中移动终端注册方法的灵活性较差,特别是当Pool区的某一SGSN异常时,该SGSN对应的RNC按照其余SGSN的容量比将其范围下的所有移动终端的请求发送到相应的SGSN进行注册,这种方式无法满足根据网络情况优选SGSN进行注册的需求。In practice, it is found that the flexibility of the mobile terminal registration method in the above-mentioned Pool area is poor, especially when a certain SGSN in the Pool area is abnormal, the RNC corresponding to the SGSN will send the requests of all mobile terminals under its scope according to the capacity ratio of the remaining SGSNs. Sending to the corresponding SGSN for registration, this method cannot meet the requirement of selecting the SGSN for registration according to network conditions.

发明内容 Contents of the invention

本发明实施例提供的一种Pool区中移动终端注册方法及接入网实体,可以提高SGSN选择的灵活性。The embodiment of the present invention provides a method for registering a mobile terminal in a Pool area and an access network entity, which can improve the flexibility of SGSN selection.

一种Pool区中移动终端注册方法,包括:A method for registering a mobile terminal in a Pool area, comprising:

接入网实体接收移动终端发送的请求消息,所述请求消息携带有所述移动终端的身份标识信息,所述请求消息用以请求进行移动终端注册;The access network entity receives a request message sent by the mobile terminal, the request message carries the identity information of the mobile terminal, and the request message is used to request registration of the mobile terminal;

所述接入网实体从通用分组无线服务支持节点SGSN状态表中选取出状态正常,并且优先级别最高的SGSN;The access network entity selects the SGSN with normal status and the highest priority from the SGSN status table of the general packet radio service support node;

所述接入网实体将所述请求消息发送至所述优先级别最高的SGSN,以完成所述移动终端的注册。The access network entity sends the request message to the SGSN with the highest priority, so as to complete the registration of the mobile terminal.

一种接入网实体,应用于Pool区,包括:An access network entity, applied to a Pool area, including:

第一单元,用于接收移动终端发送的请求消息,所述请求消息携带有所述移动终端的身份标识信息;所述请求消息用以请求进行移动终端注册;The first unit is configured to receive a request message sent by the mobile terminal, the request message carrying the identity information of the mobile terminal; the request message is used to request registration of the mobile terminal;

第二单元,用于从通用分组无线服务支持节点SGSN状态表中选取出状态正常,并且优先级别最高的SGSN;The second unit is used to select the SGSN with normal status and the highest priority from the SGSN status table of the general packet radio service support node;

第三单元,用于将所述请求消息发送至所述优先级别最高的SGSN,以完成所述移动终端的注册。The third unit is configured to send the request message to the SGSN with the highest priority, so as to complete the registration of the mobile terminal.

本发明实施例提供的上述方案中,接入网实体接收到移动终端发送的请求消息之后,可以从SGSN状态表中选取出状态正常,并且优先级别最高的SGSN,并将该请求消息发送至优先级别最高的SGSN,以完成所述移动终端的注册。特别是当接入网实体对应的SGSN异常时,可以为移动终端选择与接入网实体对应的SGSN最接近的SGSN或者移动终端接入数量最少的SGSN进行注册,从而提高了SGSN选择的灵活性。In the above solution provided by the embodiment of the present invention, after the access network entity receives the request message sent by the mobile terminal, it can select the SGSN with normal status and the highest priority from the SGSN status table, and send the request message to the priority The highest-level SGSN to complete the registration of the mobile terminal. Especially when the SGSN corresponding to the access network entity is abnormal, the mobile terminal can select the SGSN closest to the SGSN corresponding to the access network entity or the SGSN with the least number of mobile terminal accesses for registration, thereby improving the flexibility of SGSN selection .

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some examples of the embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为现有一种Pool区的示意图;FIG. 1 is a schematic diagram of an existing Pool area;

图2为本发明实施例提供的一种Pool区中移动终端注册方法的流程图;Fig. 2 is a flowchart of a method for registering a mobile terminal in a Pool area provided by an embodiment of the present invention;

图3、图4为本发明实施例提供的几种Pool区中移动终端注册方法的流程图;Fig. 3, Fig. 4 are the flowcharts of the mobile terminal registration methods in several Pool areas provided by the embodiments of the present invention;

图5~图9为本发明实施例提供的几种接入网实体的结构图;5 to 9 are structural diagrams of several access network entities provided by embodiments of the present invention;

图10为本发明实施例提供的一种Pool区中移动终端注册系统的结构图。FIG. 10 is a structural diagram of a mobile terminal registration system in a Pool area provided by an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例提供的一种Pool区中移动终端注册方法及系统、接入网实体,可以提高SGSN选择的灵活性。下面通过具体实施例进行说明。The embodiment of the present invention provides a mobile terminal registration method and system in a Pool area, and an access network entity, which can improve the flexibility of SGSN selection. The following will be described through specific examples.

实施例一:Embodiment one:

请参阅图2,图2为本发明实施例提供的一种Pool区中移动终端注册方法。其中,图2描述的方法可以应用于码分多址接入2000(Code DivisionMultiple Access 2000,CDMA2000)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、时分同步码分多址(Time Division-SynchronousCode Division Multiple Access,TD-SCDMA)等第三代移动通信系统(3rd-generation,3G)系统中,也可以应用于全球移动通信系统(GlobalSystem For Mobile Communications,GSM)等第二代移动通信系统中。更进一步地,若图2描述的方法应用于3G系统,则可以由Pool区中的无线网络控制器(RNC)来执行图2描述的方法,实现移动终端在Pool中的注册;若图2描述的方法应用于第二代移动通信系统,则可以由Pool区中的基站控制器(Base Station Controller,BSC)来执行图2描述的方法,同样可以实现移动终端在Pool中的注册。为了便于描述,在图2描述的方法中,将RNC和BSC统称为接入网实体,即本发明实施例后续描述的接入网实体既可以是RNC,也可以是BSC。如图2所示,该方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a method for registering a mobile terminal in a Pool area provided by an embodiment of the present invention. Wherein, the method described in Fig. 2 can be applied to code division multiple access 2000 (Code Division Multiple Access 2000, CDMA2000), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), time division synchronous code division multiple access (Time Division- Synchronous Code Division Multiple Access, TD-SCDMA) and other third-generation mobile communication systems (3rd-generation, 3G) systems, can also be applied to global mobile communication systems (Global System For Mobile Communications, GSM) and other second-generation mobile communication systems . Furthermore, if the method described in FIG. 2 is applied to a 3G system, the method described in FIG. 2 can be performed by the radio network controller (RNC) in the Pool area to realize the registration of the mobile terminal in the Pool; if the method described in FIG. 2 If the method is applied to the second generation mobile communication system, the method described in FIG. 2 can be executed by the base station controller (Base Station Controller, BSC) in the Pool area, and the registration of the mobile terminal in the Pool can also be realized. For ease of description, in the method described in FIG. 2 , the RNC and the BSC are collectively referred to as an access network entity, that is, the access network entity described later in the embodiment of the present invention may be either an RNC or a BSC. As shown in Figure 2, the method may include the following steps:

201、接入网实体接收移动终端发送的请求消息,该请求消息携带有移动终端的身份标识信息,该请求消息用以请求移动终端进行注册。201. An access network entity receives a request message sent by a mobile terminal, the request message carries identity information of the mobile terminal, and the request message is used to request the mobile terminal to register.

其中,上述请求消息可以是附着请求消息Attach Request,也可以是路由器更新请求消息,本发明实施例不作限定。Wherein, the above request message may be an Attach Request message, or a router update request message, which is not limited in this embodiment of the present invention.

其中,移动终端可以是漫游至接入网实体覆盖范围内的移动终端,可以是接入网实体覆盖范围内的本地的移动终端,本发明实施例不作限定。Wherein, the mobile terminal may be a mobile terminal that roams within the coverage of the access network entity, or may be a local mobile terminal within the coverage of the access network entity, which is not limited in this embodiment of the present invention.

其中,移动终端可以分布于整个无线网络中的用户设备(UserEquipment,UE),每个UE可以是静态的或移动的。UE又可以称为终端(terminal),移动台(mobile station),用户单元(subscriber unit),站台(station)等。UE可以为蜂窝电话(cellular phone),个人数字助理(PersonalDigital Assistant,PDA),无线调制解调器(modem),无线通信设备,手持设备(handheld),膝上型电脑(laptop computer),无绳电话(cordlessphone),无线本地环路(Wireless Local Loop,WLL)台等。UE可以与宏基站、皮(pico)基站,毫微微蜂窝(femto)基站等进行通信。Wherein, the mobile terminal may be user equipment (User Equipment, UE) distributed throughout the wireless network, and each UE may be static or mobile. The UE can also be called a terminal, a mobile station, a subscriber unit, a station, etc. UE can be cellular phone (cellular phone), personal digital assistant (Personal Digital Assistant, PDA), wireless modem (modem), wireless communication device, handheld device (handheld), laptop computer (laptop computer), cordless phone (cordlessphone) , wireless local loop (Wireless Local Loop, WLL) station, etc. The UE may communicate with a macro base station, a pico base station, a femto cell (femto) base station, and the like.

其中,移动终端的身份标识信息可以是移动终端的国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI),也可以是移动终端的临时移动用户识别码(P-TMSI)。其中,移动终端的P-TMSI中会携带有网络资源标识(Network Resource Identifier,NRI),该NRI是移动终端前次接入的某一SGSN分配的,用于标识该SGSN。Wherein, the identity information of the mobile terminal may be an International Mobile Subscriber Identification Number (IMSI) of the mobile terminal, or a Temporary Mobile Subscriber Identification Number (P-TMSI) of the mobile terminal. Wherein, the P-TMSI of the mobile terminal will carry a Network Resource Identifier (Network Resource Identifier, NRI), and the NRI is allocated by a certain SGSN that the mobile terminal accessed last time, and is used to identify the SGSN.

在实际应用中,当移动终端初次向接入网实体发送附着请求消息AttachRequest或路由器更新请求消息时,该附着请求消息Attach Request或路由器更新请求消息中可以携带用于表示移动终端身份的IMSI。而当移动终端初次成功注册到Pool区内的某一SGSN后,该SGSN将分配含有本局NRI的P-TMSI给移动终端,使得移动终端后续再次向接入网实体发送附着请求消息Attach Request或路由器更新请求消息时,该附着请求消息Attach Request或路由器更新请求消息可以携带用于表示移动终端身份的P-TMSI。这样,接入网实体接收到移动终端发送的附着请求消息Attach Request或路由器更新请求消息时,可以从附着请求消息Attach Request或路由器更新请求消息携带的P-TMSI中解析出NRI,并将移动终端发送的附着请求消息或路由器更新请求消息发送到NRI对应的SGSN。从而可以保证Pool内的移动终端每次发起附着请求或路由器更新请求时均能够被路由到移动终端已注册的SGSN上,使得移动终端在Pool区内漫游时,无需更改服务SGSN。与传统组网相比,通过NRI,可以使Pool组网减少Iu/Gb接口的信令负载。In practical application, when the mobile terminal sends the Attach Request message AttachRequest or the router update request message to the access network entity for the first time, the Attach Request message or the Router Update Request message may carry the IMSI used to represent the identity of the mobile terminal. When the mobile terminal successfully registers to an SGSN in the Pool area for the first time, the SGSN will assign the P-TMSI containing the local NRI to the mobile terminal, so that the mobile terminal will send an Attach Request message to the access network entity or router When updating the request message, the Attach Request message or the router update request message may carry the P-TMSI used to indicate the identity of the mobile terminal. In this way, when the access network entity receives the Attach Request message Attach Request or the router update request message sent by the mobile terminal, it can parse out the NRI from the P-TMSI carried in the Attach Request message Attach Request or the router update request message, and send the mobile terminal The sent attach request message or router update request message is sent to the SGSN corresponding to the NRI. Therefore, it can be guaranteed that the mobile terminal in the Pool can be routed to the SGSN registered by the mobile terminal every time it initiates an attach request or a router update request, so that the mobile terminal does not need to change the serving SGSN when roaming in the Pool area. Compared with the traditional networking, the NRI can reduce the signaling load of the Iu/Gb interface in the Pool networking.

一般地,NRI位于P-TMSI的第23bit~14bit。NRI的长度可以调整(0~10bit),NRI长度不为0时,NRI必须以第23bit开始。Pool区内各SGSN以及各个SGSN对应的接入网实体(即RNC或BSC)中配置的NRI长度必须相同。Generally, the NRI is located in the 23rd to 14th bits of the P-TMSI. The length of the NRI can be adjusted (0~10 bits). When the length of the NRI is not 0, the NRI must start with the 23rd bit. The NRI lengths configured in the SGSNs in the Pool area and the access network entities (that is, the RNC or BSC) corresponding to the SGSNs must be the same.

其中,SGSN对应的接入网实体(即RNC或BSC)是指SGSN作为本地SGSN时,接本地SGSN的RNC或BSC。Wherein, the access network entity (that is, RNC or BSC) corresponding to the SGSN refers to the RNC or BSC connected to the local SGSN when the SGSN serves as the local SGSN.

202、接入网实体从SGSN状态表中选取出状态正常的,并且优先级别最高的SGSN。202. The access network entity selects an SGSN with a normal state and the highest priority from the SGSN state table.

其中,优先级别最高的SGSN可以是接入网实体对应的SGSN,也可以是接入网实体对应的SGSN异常时,距离接入网实体对应的SGSN最近的SGSN,或者也可以是移动终端接入数量最少的SGSN,也可以是符合其他条件的SGSN,本发明实施例不作限定。Among them, the SGSN with the highest priority can be the SGSN corresponding to the access network entity, or the SGSN closest to the SGSN corresponding to the access network entity when the SGSN corresponding to the access network entity is abnormal, or it can also be the SGSN that the mobile terminal accesses. The SGSN with the least number may also be an SGSN that meets other conditions, which is not limited in this embodiment of the present invention.

其中,接入网实体对应的SGSN即是指接入网实体接入的本地SGSN。Wherein, the SGSN corresponding to the access network entity refers to the local SGSN accessed by the access network entity.

本发明实施例中,可以利用SGSN状态表来记录状态正常的SGSN及其优先级别。举例来说,在接入网实体对应的SGSN异常时,优先级别最高的SGSN可以是与接入网实体对应的SGSN(即接入网实体接入的本地SGSN)最接近的SGSN,也可以是移动终端接入数量最少的SGSN。显然,在接入网实体对应的SGSN异常时,与接入网实体对应的SGSN最接近的SGSN的数量可以是一个或至少二个;同样,移动终端接入数量最少的SGSN的数量也可以是一个或至少二个。也即是说,在接入网实体对应的SGSN异常时,从预设的SGSN状态表中选取出的状态正常,并且优先级别最高的SGSN的数量可以是一个或至少二个。当然,在接入网实体对应的SGSN状态正常时,从SGSN状态表中选取出的优先级别最高的SGSN可以是接入网实体对应的SGSN,使得移动终端可以优选接入网实体对应的SGSN进行注册。显然,如果从SGSN状态表中选取出的优先级别最高的SGSN是接入网实体对应的SGSN,则从SGSN状态表中选取出的优先级别最高的SGSN的数量就为一个。In the embodiment of the present invention, the SGSN status table can be used to record the SGSNs in normal status and their priority levels. For example, when the SGSN corresponding to the access network entity is abnormal, the SGSN with the highest priority may be the closest SGSN to the SGSN corresponding to the access network entity (that is, the local SGSN accessed by the access network entity), or it may be The SGSN with the least number of mobile terminals accessing. Obviously, when the SGSN corresponding to the access network entity is abnormal, the number of SGSNs closest to the SGSN corresponding to the access network entity can be one or at least two; similarly, the number of SGSNs with the least number of mobile terminal accesses can also be One or at least two. That is to say, when the SGSN corresponding to the access network entity is abnormal, the state selected from the preset SGSN state table is normal, and the number of SGSNs with the highest priority can be one or at least two. Of course, when the state of the SGSN corresponding to the access network entity is normal, the SGSN with the highest priority selected from the SGSN state table may be the SGSN corresponding to the access network entity, so that the mobile terminal can preferably select the SGSN corresponding to the access network entity for register. Obviously, if the SGSN with the highest priority selected from the SGSN state table is the SGSN corresponding to the access network entity, then the number of the SGSN with the highest priority selected from the SGSN state table is one.

可选地,上述SGSN状态表中,针对每一个状态正常的SGSN,还可以记录其对应容量、移动终端接入次数以及一定时间内移动终端接入失败次数和原因等等,本发明实施例不作限定。Optionally, in the above SGSN state table, for each SGSN in a normal state, its corresponding capacity, number of times of mobile terminal access, and number of times and reasons for mobile terminal access failures within a certain period of time may also be recorded. limited.

其中,SGSN异常可以是SGSN自身出现故障,也可以是SGSN与其对应的接入网实体之间的链路出现故障,也可以是SGSN与归属位置寄存器(Home Location Register,HLR)之间的Gr接口不可用,也可以是SGSN与网关通过分组无线服务支持节点(Gateway GPRS Support Node,GGSN)之间的Gr接口不可用。进一步地,SGSN出现异常后,该SGSN可以主动广播用于指示其发生异常的消息,本发明实施例不作限定。Among them, the SGSN abnormality may be that the SGSN itself fails, or the link between the SGSN and its corresponding access network entity fails, or the Gr interface between the SGSN and the Home Location Register (HLR) Unavailable, it may also be that the Gr interface between the SGSN and the gateway via a packet radio service support node (Gateway GPRS Support Node, GGSN) is unavailable. Further, after an abnormality occurs in the SGSN, the SGSN may proactively broadcast a message indicating that the abnormality occurs, which is not limited in this embodiment of the present invention.

203、接入网实体将请求消息发送至优先级别最高的SGSN,以完成移动终端的注册。203. The access network entity sends the request message to the SGSN with the highest priority, so as to complete the registration of the mobile terminal.

如上述所说,接入网实体从SGSN状态表中选取出的优先级别最高的SGSN的数量可以为至少二个,那么当移动终端发送的请求消息中携带的移动终端的身份标识信息为IMSI时,步骤203具体可以为:As mentioned above, the number of SGSNs with the highest priority selected by the access network entity from the SGSN state table can be at least two, then when the identity information of the mobile terminal carried in the request message sent by the mobile terminal is IMSI , step 203 may specifically be:

接入网实体按照预配置的上述至少二个优先级别最高的SGSN的容量比,将请求消息发送至上述至少二个优先级别最高的SGSN中的相应SGSN,以完成移动终端的注册;The access network entity sends the request message to the corresponding SGSN among the at least two SGSNs with the highest priority according to the pre-configured capacity ratio of the at least two SGSNs with the highest priority, so as to complete the registration of the mobile terminal;

或者,接入网实体将请求消息发送至上述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成移动终端的注册。Alternatively, the access network entity sends the request message to the one of the at least two SGSNs with the highest priority that has the least access quantity of mobile terminals, so as to complete the registration of the mobile terminal.

举例来说,假设接入网实体从SGSN状态表中选取出优先级别最高,而且优先级别一致的SGSN1和SGSN3,其中,SGSN1和SGSN3的容量比例为5∶2,那么接入网实体可以随机产生一随机数n,并对该随机数n作模7(7=5+2)运算,若运算结果在(0~4)范围内,则接入网实体可以将请求消息发至SGSN1进行注册;若运算结果在(5~6)范围内,则接入网实体可以将请求消息发至SGSN3进行注册。For example, assuming that the access network entity selects SGSN1 and SGSN3 with the highest priority from the SGSN state table, and the priority levels are consistent, where the capacity ratio of SGSN1 and SGSN3 is 5:2, then the access network entity can randomly generate A random number n, and perform a modulo 7 (7=5+2) operation on the random number n, if the operation result is within the range of (0-4), the access network entity can send a request message to SGSN1 for registration; If the calculation result is within the range of (5-6), the access network entity may send a request message to SGSN3 for registration.

又举例来说,假设接入网实体从SGSN状态表中选取出优先级别最高,而且优先级别一致的SGSN1和SGSN3,其中,SGSNI中的移动终端接入次数少于SGSN3中的移动终端的接入次数;则接入网实体可以将请求消息发送至移动终端接入数量最少的SGSN1。For another example, assume that the access network entity selects SGSN1 and SGSN3 with the highest priority from the SGSN state table, and the priority levels are the same. number of times; then the access network entity may send the request message to the SGSN1 with the least number of mobile terminal accesses.

当然,如果接入网实体从SGSN状态表中选取出的优先级别最高的SGSN是接入网实体对应的SGSN,则接入网实体可以将请求消息发送至其对应的SGSN进行注册。Of course, if the SGSN with the highest priority selected by the access network entity from the SGSN state table is the corresponding SGSN of the access network entity, the access network entity may send a request message to its corresponding SGSN for registration.

如上述所说,接入网实体从SGSN状态表中选取出的优先级别最高的SGSN的数量可以为至少二个,那么当移动终端发送的请求消息中携带的移动终端的身份标识信息为P-TMSI时,步骤203具体可以为:As mentioned above, the number of SGSNs with the highest priority selected by the access network entity from the SGSN state table can be at least two, then when the identity information of the mobile terminal carried in the request message sent by the mobile terminal is P- In the case of TMSI, step 203 may specifically be:

接入网实体从P-TMSI中解析出NRI,并判断从预设的SGSN状态表中选取出的至少二个优先级别最高的SGSN中是否存在有NRI标识的SGSN,如果存在,则接入网实体可以将请求消息发送至NRI标识的SGSN,以完成移动终端的注册;如果不存在,则接入网实体可以按照预配置的至少二个优先级别最高的SGSN的容量比,将请求消息发送给至少二个优先级别最高的SGSN中的相应SGSN,以完成移动终端的注册;或者,接入网实体可以将请求消息发送至至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成移动终端的注册。The access network entity parses the NRI from the P-TMSI, and judges whether there is an SGSN identified by the NRI among at least two SGSNs with the highest priority selected from the preset SGSN state table, and if so, the access network entity The entity can send the request message to the SGSN identified by the NRI to complete the registration of the mobile terminal; if it does not exist, the access network entity can send the request message to the preconfigured capacity ratio of at least two SGSNs with the highest priority Corresponding SGSNs in at least two SGSNs with the highest priority levels to complete the registration of the mobile terminal; or, the access network entity may send the request message to the one with the least number of mobile terminal accesses among the at least two SGSNs with the highest priority levels, To complete the registration of the mobile terminal.

作为一种可选的实施方式,图2所描述的方法还可以包括以下步骤:As an optional implementation manner, the method described in FIG. 2 may also include the following steps:

接入网实体接收优先级别最高的SGSN返回的注册完成响应消息以及将注册完成响应消息发送给移动终端,完成移动终端的注册。The access network entity receives the registration completion response message returned by the SGSN with the highest priority and sends the registration completion response message to the mobile terminal to complete the registration of the mobile terminal.

其中,上述的注册完成响应消息可以是附着接受消息Attach Accept,也可以是路由器更新完成响应消息,本发明实施例不作限定。Wherein, the above-mentioned registration completion response message may be an Attach Accept message, or a router update completion response message, which is not limited in this embodiment of the present invention.

其中,上述的注册完成响应消息是优先级别最高的SGSN在验证移动终端发送的请求消息(如Attach Request)中携带的身份标识信息正确无误之后(即验证移动终端的身份正确)才发送的,该注册完成响应消息(如附着接受消息Attach Accept)的目的是确认移动终端附着成功。Among them, the above-mentioned registration completion response message is sent by the SGSN with the highest priority after verifying that the identity information carried in the request message (such as Attach Request) sent by the mobile terminal is correct (that is, verifying that the identity of the mobile terminal is correct). The purpose of the registration completion response message (such as Attach Accept message) is to confirm that the mobile terminal is successfully attached.

作为一种可选的实施方式,本发明实施例提供的上述方法中,接入网实体在执行完毕步骤201之后,还可以先执行以下步骤:As an optional implementation manner, in the above-mentioned method provided by the embodiment of the present invention, after the access network entity completes step 201, it may also first perform the following steps:

接入网实体检测优选SGSN功能是否开启,如果优选SGSN功能开启,则接入网实体再执行步骤202~203;如果优选SGSN功能未开启,则接入网实体可以按照预配置的SGSN的容量比,将请求消息发(如Attach Request)送至相应SGSN,以完成移动终端的注册。相应地,移动终端还可以接收相应SGSN返回的注册完成响应消息(如附着接受消息Attach Accept),以及将注册完成响应消息(如附着接受消息Attach Accept)发送给移动终端,从而完成移动终端的注册。其中,相应SGSN可以是接入网实体对应的SGSN,也可以是其他SGSN,本发明实施例不作限定。The access network entity detects whether the preferred SGSN function is enabled. If the preferred SGSN function is enabled, the access network entity then performs steps 202 to 203; , send a request message (such as Attach Request) to the corresponding SGSN to complete the registration of the mobile terminal. Correspondingly, the mobile terminal can also receive a registration completion response message (such as an attach acceptance message Attach Accept) returned by the corresponding SGSN, and send a registration completion response message (such as an attachment acceptance message Attach Accept) to the mobile terminal, thereby completing the registration of the mobile terminal . Wherein, the corresponding SGSN may be the SGSN corresponding to the access network entity, or other SGSNs, which is not limited in this embodiment of the present invention.

本发明实施例提供的上述方法中,接入网实体还可以探测Pool区内的每一个SGSN的状态,如果探测到某一SGSN正常,则说明该SGSN可以参与接入网实体对SGSN的选择,可以将该SGSN以及其优先级别写入SGSN状态表,从而形成SGSN状态表。反之,如果探测到某一SGSN异常,则该SGSN不参与接入网实体对SGSN的选择,无需将该SGSN写入状态表。In the above method provided by the embodiment of the present invention, the access network entity can also detect the status of each SGSN in the Pool area, if a certain SGSN is detected to be normal, it means that the SGSN can participate in the selection of the SGSN by the access network entity, The SGSN and its priority level can be written into the SGSN state table, thereby forming the SGSN state table. Conversely, if a certain SGSN is detected to be abnormal, the SGSN does not participate in the selection of the SGSN by the access network entity, and there is no need to write the SGSN into the state table.

作为一种可选的实施方式,接入网实体探测Pool区内的每一个SGSN的状态,并形成SGSN状态表的方式可以如下:As an optional implementation, the access network entity detects the state of each SGSN in the Pool area, and forms the SGSN state table in the following manner:

接入网实体向Pool区内的每一SGSN发送探测信令,以及检测在预设时间内是否接收到Pool区内的SGSN针对该探测信令返回的探测信令响应,如果是,则确定返回探测信令响应的SGSN正常,并将返回探测信令响应的SGSN以及其优先级别写入SGSN状态表;如果否,则确定未返回探测信令响应的SGSN异常,无需将该SGSN写入状态表。The access network entity sends a probe signaling to each SGSN in the Pool area, and detects whether a probe signaling response returned by the SGSN in the Pool area for the probe signaling is received within a preset time, and if so, determines to return The SGSN that responded to the probe signaling is normal, and the SGSN that returned the probe signaling response and its priority level are written into the SGSN status table; .

其中,接入网实体可以以分钟为单位设置一个预设时间,接入网实体在发送探测信令后,如果在该预设时间内接收到某一SGSN返回的探测信令响应,则说明该SGSN正常,可以参与接入网实体对SGSN的选择;反之,则说明该SGSN异常,该SGSN无需参与接入网实体对SGSN的选择。Among them, the access network entity can set a preset time in minutes. After the access network entity sends the detection signaling, if it receives the detection signaling response returned by a certain SGSN within the preset time, it means that the If the SGSN is normal, it can participate in the selection of the SGSN by the access network entity; otherwise, it means that the SGSN is abnormal, and the SGSN does not need to participate in the selection of the SGSN by the access network entity.

或者,接入网实体可以以分钟为单位设置一个时间段T,接入网实体每隔时间段T向某一个SGSN发送一次探测信令,如果连续发送N次探测信令都没有收到该SGSN返回的探测信令响应,或者N次探测信令中的M次(M<N)没有收到该SGSN返回的探测信令响应,则认为该SGSN异常;反之,则认为该SGSN正常,该SGSN可以参与接入网实体对SGSN的选择。Alternatively, the access network entity can set a time period T in minutes, and the access network entity sends a detection signal to a certain SGSN every time period T. If the SGSN is not received after sending N times of detection signals continuously Returned probe signaling response, or M times (M<N) in N times of probe signaling did not receive the probe signaling response returned by the SGSN, then the SGSN is considered to be abnormal; otherwise, the SGSN is considered to be normal, and the SGSN Can participate in the selection of the SGSN by the access network entity.

实际应用中,接入网实体可以周期性地向Pool区内的每一SGSN发送探测信令,也可以由事件触发向Pool区内的每一SGSN发送探测信令,本发明实施例不作限定。In practical applications, the access network entity may periodically send detection signaling to each SGSN in the Pool area, or may be triggered by an event to send detection signaling to each SGSN in the Pool area, which is not limited in the embodiment of the present invention.

作为另一种可选的实施方式,接入网实体探测Pool区内的每一个SGSN的状态,并形成SGSN状态表的方式可以如下:As another optional implementation manner, the access network entity detects the state of each SGSN in the Pool area and forms the SGSN state table in the following manner:

接入网实体接收Pool区内的任一SGSN发送的广播消息,该广播消息用于指示该SGSN异常;接入网实体确定Pool区内除该SGSN外的其余SGSN都正常,并将其余SGSN以及其优先级别写入SGSN状态表。其中,该SGSN异常包括该SGSN自身故障,和/或该SGSN与HLR之间的Gr接口不可用,和/或该SGSN与GGSN之间的Gn接口不可用等等。The access network entity receives the broadcast message sent by any SGSN in the Pool area, and the broadcast message is used to indicate that the SGSN is abnormal; the access network entity determines that the rest of the SGSNs in the Pool area except the SGSN are normal, and sends the remaining SGSN and Its priority level is written into the SGSN status table. Wherein, the SGSN abnormality includes the failure of the SGSN itself, and/or the unavailability of the Gr interface between the SGSN and the HLR, and/or the unavailability of the Gn interface between the SGSN and the GGSN, and so on.

当接入网实体接收到移动终端发送的请求消息之后,接入网实体可以从SGSN状态表中选取出优先级别最高的SGSN,并将该请求消息发送至优先级别最高的SGSN,以完成移动终端的注册。由此可见,本发明实施例一可以提高了SGSN选择的灵活性,特别是当接入网实体对应的SGSN异常时,可以为移动终端选择与接入网实体对应的SGSN最接近的SGSN或者移动终端接入数量最少的SGSN进行注册,提高了SGSN选择的灵活性。After the access network entity receives the request message sent by the mobile terminal, the access network entity can select the SGSN with the highest priority from the SGSN state table, and send the request message to the SGSN with the highest priority to complete the mobile terminal registration. It can be seen that Embodiment 1 of the present invention can improve the flexibility of SGSN selection, especially when the SGSN corresponding to the access network entity is abnormal, the SGSN or the mobile terminal closest to the SGSN corresponding to the access network entity can be selected for the mobile terminal. The terminal accesses the SGSN with the least number to register, which improves the flexibility of SGSN selection.

实施例二:Embodiment two:

请参阅图3,图3为本发明实施例二提供的几种Pool区中移动终端注册方法的流程图。在图3描述的方法中,假设Pool区由SGSN1和SGSN2组成,并且以RNC作为接入网实体为例介绍本发明实施例提供的Pool区中移动终端注册方法。当BSC作为接入网实体时的Pool区中移动终端注册方法的具体实现过程是与图3类似的,因此,本发明实施例二不作复述。在图3描述的方法中,RNC可以排除Pool区中出现异常的SGSN,开启优选SGSN功能以及记录好优先级别一致的SGSN容量比和/或移动终端接入次数(SGSN容量比和/或移动终端接入次数又可以看作是SGSN权重)。另外,Pool区中的SGSN在判断出Gr接口不可用和/或Gn接口不可用时,也可以通知RNC该SGSN异常。Please refer to FIG. 3 . FIG. 3 is a flow chart of several registration methods for mobile terminals in the Pool area provided by Embodiment 2 of the present invention. In the method described in FIG. 3 , it is assumed that the Pool area is composed of SGSN1 and SGSN2, and the method for registering a mobile terminal in the Pool area provided by the embodiment of the present invention is introduced by taking RNC as an access network entity as an example. When the BSC acts as an access network entity, the specific implementation process of the method for registering a mobile terminal in the Pool area is similar to that shown in FIG. 3 , so the second embodiment of the present invention will not be repeated. In the method described in Fig. 3, the RNC can exclude abnormal SGSNs in the Pool area, enable the preferred SGSN function and record the SGSN capacity ratio and/or mobile terminal access times (SGSN capacity ratio and/or mobile terminal The access times can be regarded as the SGSN weight). In addition, when the SGSN in the Pool area determines that the Gr interface is unavailable and/or the Gn interface is unavailable, it may also notify the RNC that the SGSN is abnormal.

如图3所示,一种Pool区中移动终端注册方法的实现过程如下:As shown in Figure 3, the implementation process of a mobile terminal registration method in the Pool area is as follows:

11、移动终端UE发送的携带有IMSI的附着请求消息Attach Request给RNC。11. The mobile terminal UE sends an Attach Request message carrying the IMSI to the RNC.

12、RNC从SGSN状态表中选取出状态正常,并且优先级别最高的SGSN2;其中,优先级别最高的SGSN2是RNC对应的SGSN(即RNC接入的本地SGSN)。12. The RNC selects the SGSN2 with a normal state and the highest priority from the SGSN status table; wherein, the SGSN2 with the highest priority is the SGSN corresponding to the RNC (that is, the local SGSN accessed by the RNC).

13、RNC将携带有IMSI的附着请求消息Attach Request发送至SGSN2。13. The RNC sends the Attach Request message carrying the IMSI to the SGSN2.

14、RNC接收SGSN2返回的附着接受消息Attach Accept。14. The RNC receives the Attach Accept message returned by the SGSN2.

其中,SGSN2返回的附着接受消息Attach Accept中携带有SGSN2为移动终端UE分配的P-TMSI,该P-TMSI中包含有SGSN2的NRI。Wherein, the Attach Accept message returned by SGSN2 carries the P-TMSI allocated by SGSN2 for the mobile terminal UE, and the P-TMSI includes the NRI of SGSN2.

15、RNC将SGSN2返回的附着接受消息Attach Accept发送给移动终端UE,完成移动终端UE的注册。15. The RNC sends the Attach Accept message returned by the SGSN2 to the mobile terminal UE to complete the registration of the mobile terminal UE.

如图3所示,另一种Pool区中移动终端注册方法的实现过程如下:As shown in Figure 3, the implementation process of another mobile terminal registration method in the Pool area is as follows:

21、移动终端UE发送的携带有P-TMSI的附着请求消息Attach Request给RNC。21. The mobile terminal UE sends an Attach Request message carrying the P-TMSI to the RNC.

其中,附着请求消息Attach Request中携带的P-TMSI是SGSN2为移动终端UE分配的,该P-TMSI中包含有SGSN2的NRI。Wherein, the P-TMSI carried in the Attach Request message is allocated by the SGSN2 for the mobile terminal UE, and the P-TMSI includes the NRI of the SGSN2.

22、RNC从SGSN状态表中选取出优先级别最高的SGSN2;其中,优先级别最高的SGSN2是RNC对应的SGSN。22. The RNC selects the SGSN2 with the highest priority from the SGSN state table; wherein, the SGSN2 with the highest priority is the SGSN corresponding to the RNC.

其中,由于RNC从SGSN状态表中选取出的优先级别最高的SGSN有且仅有SGSN2一个,因此UE发送的P-TMSI中包括的SGSN2的NRI不起作用。Wherein, since the SGSN with the highest priority selected by the RNC from the SGSN state table has one and only SGSN2, the NRI of SGSN2 included in the P-TMSI sent by the UE does not work.

23、RNC将携带有P-TMSI的附着请求消息Attach Request发送至SGSN2。23. The RNC sends the Attach Request message carrying the P-TMSI to the SGSN2.

24、RNC接收SGSN2返回的附着接受消息Attach Accept。24. The RNC receives the Attach Accept message returned by the SGSN2.

25、RNC将SGSN2返回的附着接受消息Attach Accept发送给移动终端UE,完成移动终端UE的注册。25. The RNC sends the Attach Accept message returned by the SGSN2 to the mobile terminal UE to complete the registration of the mobile terminal UE.

如图3所示,另一种Pool区中移动终端注册方法的实现过程如下:As shown in Figure 3, the implementation process of another mobile terminal registration method in the Pool area is as follows:

31、移动终端UE发送的携带有P-TMSI的附着请求消息Attach Request给RNC。31. The mobile terminal UE sends an Attach Request message carrying the P-TMSI to the RNC.

其中,附着请求消息Attach Request中携带的P-TMSI是SGSN2为移动终端UE分配的,该P-TMSI中包含有SGSN2的NRI。Wherein, the P-TMSI carried in the Attach Request message is allocated by the SGSN2 for the mobile terminal UE, and the P-TMSI includes the NRI of the SGSN2.

32、RNC从SGSN状态表中选取出优先级别最高的SGSN1;其中,RNC对应的SGSN2异常。32. The RNC selects the SGSN1 with the highest priority from the SGSN state table; wherein, the SGSN2 corresponding to the RNC is abnormal.

其中,由于RNC从SGSN状态表中选取出的优先级别最高的SGSN有且仅有SGSN1一个,因此UE发送的P-TMSI中包括的SGSN2的NRI不起作用。Wherein, since the SGSN with the highest priority selected by the RNC from the SGSN state table has one and only SGSN1, the NRI of SGSN2 included in the P-TMSI sent by the UE has no effect.

33、RNC将携带有P-TMSI的附着请求消息Attach Request发送至SGSN1。33. The RNC sends the Attach Request message carrying the P-TMSI to the SGSN1.

34、RNC接收SGSN1返回的附着接受消息Attach Accept。34. The RNC receives the Attach Accept message returned by the SGSN1.

其中,SGSN1返回的附着接受消息Attach Accept中携带有SGSN1为移动终端UE分配的P-TMSI,该P-TMSI中包含有SGSN1的NRI。Wherein, the Attach Accept message returned by SGSN1 carries the P-TMSI allocated by SGSN1 for the mobile terminal UE, and the P-TMSI includes the NRI of SGSN1.

35、RNC将SGSN1返回的附着接受消息Attach Accept发送给移动终端UE,完成移动终端UE的注册。35. The RNC sends the Attach Accept message returned by the SGSN1 to the mobile terminal UE to complete the registration of the mobile terminal UE.

本发明实施例二可以提高SGSN选择的灵活性,特别是当RNC对应的SGSN异常时,可以为移动终端选择与RNC对应的SGSN最接近的SGSN或者移动终端接入数量最少的SGSN进行注册,提高了SGSN选择的灵活性。Embodiment 2 of the present invention can improve the flexibility of SGSN selection, especially when the SGSN corresponding to the RNC is abnormal, it can select the SGSN closest to the SGSN corresponding to the RNC for the mobile terminal or the SGSN with the least number of mobile terminals to access for registration, thereby improving This increases the flexibility of SGSN selection.

实施例三:Embodiment three:

请参阅图4,图4为本发明实施例三提供的几种Pool区中移动终端注册方法的流程图。在图4描述的方法中,假设Pool区由SGSN1和SGSN2组成,并且以RNC作为接入网实体为例介绍本发明实施例提供的Pool区中移动终端注册方法。当BSC作为接入网实体时的Pool区中移动终端注册方法的具体实现过程是与图4类似的,因此,本发明实施例三不作复述。在图3描述的方法中,RNC可以排除Pool区中出现异常的SGSN,并开启优选SGSN功能以及记录好优先级别一致的SGSN容量比和/或移动终端接入次数(SGSN容量比和/或移动终端接入次数可以看作是SGSN权重)。另外,Pool区中的SGSN在判断出Gr接口不可用和/或Gn接口不可用时,也可以通知RNC该SGSN异常。Please refer to FIG. 4 . FIG. 4 is a flowchart of several methods for registering a mobile terminal in a Pool area provided by Embodiment 3 of the present invention. In the method described in FIG. 4 , it is assumed that the Pool area is composed of SGSN1 and SGSN2, and the method for registering a mobile terminal in the Pool area provided by the embodiment of the present invention is introduced by taking RNC as an access network entity as an example. When the BSC is used as the access network entity, the specific implementation process of the mobile terminal registration method in the Pool area is similar to that shown in FIG. 4 , therefore, the third embodiment of the present invention will not be repeated. In the method described in Fig. 3, the RNC can exclude abnormal SGSNs in the Pool area, and enable the preferred SGSN function and record the SGSN capacity ratio and/or mobile terminal access times with the same priority level (SGSN capacity ratio and/or mobile terminal access times). The number of terminal access times can be regarded as the SGSN weight). In addition, when the SGSN in the Pool area determines that the Gr interface is unavailable and/or the Gn interface is unavailable, it may also notify the RNC that the SGSN is abnormal.

如图4所示,一种Pool区中移动终端注册方法的实现过程如下:As shown in Figure 4, the implementation process of a mobile terminal registration method in the Pool area is as follows:

41、移动终端UE发送的携带有P-TMSI的附着请求消息Attach Request给RNC。41. The mobile terminal UE sends an Attach Request message carrying the P-TMSI to the RNC.

其中,附着请求消息Attach Request中携带的P-TMSI是SGSN2为移动终端UE分配的,该P-TMSI中包含有SGSN2的NRI。Wherein, the P-TMSI carried in the Attach Request message is allocated by the SGSN2 for the mobile terminal UE, and the P-TMSI includes the NRI of the SGSN2.

42、RNC从SGSN状态表中选取出优先级别最高的SGSN1;其中,RNC对应的SGSN2异常。42. The RNC selects the SGSN1 with the highest priority from the SGSN state table; wherein, the SGSN2 corresponding to the RNC is abnormal.

43、RNC将携带有P-TMSI的附着请求消息Attach Request发送至SGSN1。43. The RNC sends the Attach Request message carrying the P-TMSI to the SGSN1.

其中,由于RNC从SGSN状态表中选取出的优先级别最高的SGSN有且仅有SGSN1一个,因此UE发送的P-TMSI中包括的SGSN2的NRI不起作用。Wherein, since the SGSN with the highest priority selected by the RNC from the SGSN state table has one and only SGSN1, the NRI of SGSN2 included in the P-TMSI sent by the UE has no effect.

44、RNC接收SGSN1返回的附着接受消息Attach Accept。44. The RNC receives the Attach Accept message returned by the SGSN1.

其中,SGSN1返回的附着接受消息Attach Accept中携带有SGSN1为移动终端UE分配的P-TMSI,该P-TMSI中包含有SGSN1的NRI。Wherein, the Attach Accept message returned by SGSN1 carries the P-TMSI allocated by SGSN1 for the mobile terminal UE, and the P-TMSI includes the NRI of SGSN1.

45、RNC将SGSN1返回的附着接受消息Attach Accept发送给移动终端UE,完成移动终端UE的注册。45. The RNC sends the Attach Accept message returned by the SGSN1 to the mobile terminal UE to complete the registration of the mobile terminal UE.

如图4所示,另一种Pool区中移动终端注册方法的实现过程如下:As shown in Figure 4, the implementation process of another mobile terminal registration method in the Pool area is as follows:

51、移动终端UE发送的携带有P-TMSI的附着请求消息Attach Request给RNC。51. The mobile terminal UE sends an Attach Request message carrying the P-TMSI to the RNC.

其中,附着请求消息Attach Request中携带的P-TMSI是SGSN1为移动终端UE分配的,该P-TMSI中包含有SGSN1的NRI。Wherein, the P-TMSI carried in the Attach Request message is allocated by the SGSN1 for the mobile terminal UE, and the P-TMSI includes the NRI of the SGSN1.

52、RNC从SGSN状态表中选取出优先级别最高的SGSN2;52. The RNC selects SGSN2 with the highest priority from the SGSN status table;

其中,RNC通过前面描述方法检测出RNC对应的SGSN2恢复正常,RNC将SGSN2及其优先级别写入SGSN状态表,SGSN2的优先级别最高。Wherein, the RNC detects that the SGSN2 corresponding to the RNC returns to normal through the method described above, and the RNC writes the SGSN2 and its priority into the SGSN state table, and the priority of the SGSN2 is the highest.

53、RNC将携带有P-TMSI的附着请求消息Attach Request发送至SGSN2。53. The RNC sends the Attach Request message carrying the P-TMSI to the SGSN2.

其中,由于RNC从SGSN状态表中选取出的优先级别最高的SGSN有且仅有SGSN2一个,因此UE发送的P-TMSI中包括的SGSN1的NRI不起作用。Wherein, since the SGSN with the highest priority selected by the RNC from the SGSN state table has one and only SGSN2, the NRI of SGSN1 included in the P-TMSI sent by the UE does not work.

54、RNC接收SGSN2返回的附着接受消息Attach Accept。54. The RNC receives the Attach Accept message returned by the SGSN2.

其中,SGSN2返回的附着接受消息Attach Accept中携带有SGSN2为移动终端UE分配的P-TMSI,该P-TMSI中包含有SGSN2的NRI。Wherein, the Attach Accept message returned by SGSN2 carries the P-TMSI allocated by SGSN2 for the mobile terminal UE, and the P-TMSI includes the NRI of SGSN2.

55、RNC将SGSN2返回的附着接受消息Attach Accept发送给移动终端UE,完成移动终端UE的注册。55. The RNC sends the Attach Accept message returned by the SGSN2 to the mobile terminal UE to complete the registration of the mobile terminal UE.

本发明实施例三可以提高SGSN选择的灵活性,特别是当RNC对应的SGSN异常时,可以为移动终端选择与RNC对应的SGSN最接近的SGSN或者移动终端接入数量最少的SGSN进行注册,提高了SGSN选择的灵活性。Embodiment 3 of the present invention can improve the flexibility of SGSN selection, especially when the SGSN corresponding to the RNC is abnormal, it can select the SGSN closest to the SGSN corresponding to the RNC for the mobile terminal or the SGSN with the least number of accesses to the mobile terminal for registration, thereby improving This increases the flexibility of SGSN selection.

实施例四:Embodiment four:

请参阅图5,图5为本发明实施例四提供的一种接入网实体的结构图,应用于Pool区。其中,本发明实施例四提供的接入网实体可以是RNC,也可以是BSC,本发明实施例不作限定。如图5所示,该接入网实体可以包括:Please refer to FIG. 5 . FIG. 5 is a structural diagram of an access network entity provided by Embodiment 4 of the present invention, which is applied to a Pool area. Wherein, the access network entity provided in Embodiment 4 of the present invention may be an RNC or a BSC, which is not limited in this embodiment of the present invention. As shown in Figure 5, the access network entity may include:

第一单元501,用于接收移动终端发送的请求消息,该请求消息携带有移动终端的身份标识信息,该请求消息用以请求进行移动终端注册。The first unit 501 is configured to receive a request message sent by a mobile terminal, the request message carries identity information of the mobile terminal, and the request message is used to request registration of the mobile terminal.

其中,上述请求消息包括附着请求消息和/或路由器更新请求消息。Wherein, the above request message includes an attach request message and/or a router update request message.

第二单元502,用于从SGSN状态表中选取出状态正常,并且优先级别最高的SGSN。The second unit 502 is configured to select an SGSN with a normal state and the highest priority from the SGSN state table.

其中,优先级别最高的SGSN可以是接入网实体对应的SGSN,也可以是接入网实体对应的SGSN异常时,距离接入网实体对应的SGSN最近的SGSN,或者也可以是移动终端接入数量最少的SGSN,也可以是其它的SGSN,本发明实施例不作限定。Among them, the SGSN with the highest priority can be the SGSN corresponding to the access network entity, or the SGSN closest to the SGSN corresponding to the access network entity when the SGSN corresponding to the access network entity is abnormal, or it can also be the SGSN that the mobile terminal accesses. The SGSN with the least number may also be other SGSNs, which is not limited in this embodiment of the present invention.

其中,上述距离可以是物理距离,也可以是路由距离,本发明实施例不作限定。Wherein, the foregoing distance may be a physical distance or a routing distance, which is not limited in this embodiment of the present invention.

第三单元503,用于将上述请求消息发送至优先级别最高的SGSN,以完成所述移动终端的注册。The third unit 503 is configured to send the above request message to the SGSN with the highest priority, so as to complete the registration of the mobile terminal.

作为一种可选的实施方式,第一单元501还可以用于接收优先级别最高的SGSN返回的注册完成响应消息;As an optional implementation manner, the first unit 501 may also be configured to receive a registration completion response message returned by the SGSN with the highest priority;

相应地,图5所示的接入网实体还可以包括第四单元504,用于将上述注册完成响应消息发送给移动终端,完成移动终端的注册。Correspondingly, the access network entity shown in FIG. 5 may further include a fourth unit 504, configured to send the above registration completion response message to the mobile terminal to complete the registration of the mobile terminal.

本发明实施例中,第二单元502中可以存储一SGSN状态表,用于来记录状态正常的SGSN及其优先级别。举例来说,在接入网实体对应的SGSN异常时,优先级别最高的SGSN可以是与接入网实体对应的SGSN最接近的SGSN,也可以是移动终端接入数量最少的SGSN。显然,在接入网实体对应的SGSN异常时,与接入网实体对应的SGSN最接近的SGSN的数量可以是一个或至少二个;同样,移动终端接入数量最少的SGSN的数量也可以是一个或至少二个。也即是说,在接入网实体对应的SGSN异常时,第二单元502从SGSN状态表中选取出的优先级别最高的SGSN的数量可以是一个或至少二个。当然,在接入网实体对应的SGSN正常时,第二单元502从SGSN状态表中选取出的优先级别最高的SGSN可以是接入网实体对应的SGSN,使得移动终端可以优选接入网实体对应的SGSN进行注册。显然,如果第二单元502从SGSN状态表中选取出的优先级别最高的SGSN是接入网实体对应的SGSN,则第二单元502从SGSN状态表中选取出的优先级别最高的SGSN的数量就为一个。In the embodiment of the present invention, the second unit 502 may store an SGSN status table for recording SGSNs in normal status and their priority levels. For example, when the SGSN corresponding to the access network entity is abnormal, the SGSN with the highest priority may be the closest SGSN to the SGSN corresponding to the access network entity, or the SGSN with the least number of mobile terminals. Obviously, when the SGSN corresponding to the access network entity is abnormal, the number of SGSNs closest to the SGSN corresponding to the access network entity can be one or at least two; similarly, the number of SGSNs with the least number of mobile terminal accesses can also be One or at least two. That is to say, when the SGSN corresponding to the access network entity is abnormal, the number of SGSNs with the highest priority selected by the second unit 502 from the SGSN state table may be one or at least two. Of course, when the SGSN corresponding to the access network entity is normal, the SGSN with the highest priority selected by the second unit 502 from the SGSN status table may be the SGSN corresponding to the access network entity, so that the mobile terminal can preferably select the SGSN corresponding to the access network entity. Register with the SGSN. Obviously, if the SGSN with the highest priority selected by the second unit 502 from the SGSN state table is the SGSN corresponding to the access network entity, then the number of SGSNs with the highest priority selected by the second unit 502 from the SGSN state table is for one.

可选地,上述第二单元502存储的SGSN状态表中,针对每一个状态正常的SGSN,还可以记录其对应容量、移动终端接入次数以及一定时间内移动终端接入失败次数和原因等等,本发明实施例不作限定。Optionally, in the SGSN state table stored by the above-mentioned second unit 502, for each SGSN in a normal state, its corresponding capacity, the number of mobile terminal accesses, and the number of mobile terminal access failures and reasons within a certain period of time may also be recorded. , the embodiments of the present invention are not limited.

作为一种可选的实施方式,移动终端的身份标识信息可以是移动终端的IMSI。As an optional implementation manner, the identity information of the mobile terminal may be the IMSI of the mobile terminal.

如上述所说,第二单元502从SGSN状态表中选取出的优先级别最高的SGSN数量可以为至少二个,那么当移动终端的身份标识信息为移动终端的IMSI时,第三单元503具体用于按照预配置的上述至少二个优先级别最高的SGSN的容量比,将请求消息发送至上述至少二个优先级别最高的SGSN中的相应SGSN,以完成移动终端的注册;或者用于将请求消息发送至上述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成移动终端的注册。As mentioned above, the number of SGSNs with the highest priority selected by the second unit 502 from the SGSN state table can be at least two, then when the identity information of the mobile terminal is the IMSI of the mobile terminal, the third unit 503 specifically uses According to the pre-configured capacity ratio of the at least two SGSNs with the highest priority, send the request message to the corresponding SGSN among the at least two SGSNs with the highest priority to complete the registration of the mobile terminal; or send the request message It is sent to the at least two SGSNs with the highest priority that have the least number of mobile terminal accesses, so as to complete the registration of the mobile terminal.

作为一种可选的实施方式,移动终端的身份标识信息可以是移动终端的P-TMSI。As an optional implementation manner, the identity information of the mobile terminal may be the P-TMSI of the mobile terminal.

如上述所说,第二单元502从SGSN状态表中选取出的优先级别最高的SGSN数量可以为至少二个,那么当移动终端的身份标识信息为移动终端的P-TMSI时,第三单元503的结构图可以如图6所示,包括:As mentioned above, the number of SGSNs with the highest priority selected by the second unit 502 from the SGSN state table can be at least two, then when the identity information of the mobile terminal is the P-TMSI of the mobile terminal, the third unit 503 The structure diagram can be shown in Figure 6, including:

第一模块5031,用于从上述请求消息携带的P-TMSI中解析出NRI;The first module 5031 is configured to parse out the NRI from the P-TMSI carried in the above request message;

第二模块5032,用于判断从SGSN状态表中选取出的优先级别最高的SGSN中是否存在NRI标识的SGSN;The second module 5032 is used to judge whether there is an SGSN identified by NRI in the SGSN with the highest priority selected from the SGSN state table;

第三模块5033,用于在第二模块5032的判断结果为是时,将请求消息发送至NRI标识的SGSN,以完成移动终端的注册。The third module 5033 is configured to send a request message to the SGSN identified by the NRI when the judgment result of the second module 5032 is yes, so as to complete the registration of the mobile terminal.

作为一种可选的实施方式,第三单元503还可以包括第四模块5034:As an optional implementation manner, the third unit 503 may also include a fourth module 5034:

第四模块5034,用于在第二模块5032的判断结果为否时,按照预配置的上述至少二个优先级别最高的SGSN的容量比,将请求消息发送至上述至少二个优先级别最高的SGSN中的相应SGSN,以完成移动终端的注册;或者用于将请求消息发送至上述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成移动终端的注册。The fourth module 5034 is configured to send the request message to the at least two SGSNs with the highest priority according to the preconfigured capacity ratio of the at least two SGSNs with the highest priority when the judgment result of the second module 5032 is No The corresponding SGSN in the SGSN to complete the registration of the mobile terminal; or to send a request message to the one of the at least two SGSNs with the highest priority that has the least number of mobile terminal accesses to complete the registration of the mobile terminal.

举例来说,假设第二单元502从SGSN状态表中选取出状态正常,并且优先级别最高的SGSN包括SGSNI和SGSN3,其中SGSNI和SGSN3优先级别一致,而且SGSNI和SGSN3的容量比为2∶3,那么第二模块5032判断SGSNI和SGSN3中不存在第一模块解析出的NRI标识的SGSN时,第四模块5034可以随机产生一随机数n,并对该随机数n作模5(5=2+3)运算,若运算结果在(0~1)范围内,则第四模块5034可以将请求消息发至SGSN1进行注册;若运算结果在(2~4)范围内,则第四模块5034可以将请求消息发至SGSN3进行注册。For example, assuming that the second unit 502 selects from the SGSN state table that the state is normal and the SGSN with the highest priority includes SGSNI and SGSN3, wherein the priority levels of SGSNI and SGSN3 are the same, and the capacity ratio of SGSNI and SGSN3 is 2:3, Then when the second module 5032 judges that there is no SGSN identified by the NRI identified by the first module in SGSNI and SGSN3, the fourth module 5034 can randomly generate a random number n, and modulo 5 (5=2+ 3) calculation, if the calculation result is within the range of (0-1), the fourth module 5034 can send a request message to SGSN1 for registration; if the calculation result is within the range of (2-4), the fourth module 5034 can send the The request message is sent to SGSN3 for registration.

请一并参阅图7,图7为图6所示的接入网实体进一步优化后得到的一种接入网实体的结构图。与图6所示的接入网实体相比,图7所示的接入网实体还包括:Please also refer to FIG. 7 . FIG. 7 is a structural diagram of an access network entity obtained after the access network entity shown in FIG. 6 is further optimized. Compared with the access network entity shown in Figure 6, the access network entity shown in Figure 7 also includes:

第五单元505,用于在第一单元501接收到移动终端发送的请求消息之后,检测SGSN功能是否开启,如果是,则通知第二单元502从预设的SGSN状态表中选取出状态正常,并且优先级别最高的SGSN;如果否,则按照预配置的SGSN容量比,将请求消息发送至相应SGSN,以完成移动终端的注册;The fifth unit 505 is used to detect whether the SGSN function is enabled after the first unit 501 receives the request message sent by the mobile terminal, and if so, notify the second unit 502 to select the state from the preset SGSN state table to be normal, And the SGSN with the highest priority; if not, according to the pre-configured SGSN capacity ratio, send the request message to the corresponding SGSN to complete the registration of the mobile terminal;

相应地,第一单元501还用于接收相应SGSN返回的注册完成响应消息;Correspondingly, the first unit 501 is also configured to receive a registration completion response message returned by the corresponding SGSN;

第五单元505还用于将相应SGSN返回的注册完成响应消息发送给移动终端,完成移动终端的注册。The fifth unit 505 is further configured to send the registration completion response message returned by the corresponding SGSN to the mobile terminal to complete the registration of the mobile terminal.

请一并参阅图8,图8为图7所示的接入网实体进一步优化后得到的另一种接入网实体的结构图。与图7所示的接入网实体相比,图8所示的接入网实体还包括:Please also refer to FIG. 8 . FIG. 8 is a structural diagram of another access network entity obtained after the access network entity shown in FIG. 7 is further optimized. Compared with the access network entity shown in Figure 7, the access network entity shown in Figure 8 also includes:

第六单元506,用于向Pool区内的每一SGSN发送探测信令,并检测在预设时间内是否接收到Pool区内的SGSN针对探测信令返回的探测信令响应,如果是,则确定返回探测信令响应的SGSN正常,并将返回探测信令响应的SGSN以及其优先级别写入SGSN状态表;如果否,则确定未返回探测信令响应的SGSN异常。The sixth unit 506 is configured to send probe signaling to each SGSN in the Pool area, and detect whether a probe signaling response returned by the SGSN in the Pool area for the probe signaling is received within a preset time, and if yes, then Determining that the SGSN that returned the probe signaling response is normal, and writing the SGSN that returned the probe signaling response and its priority into the SGSN status table; if not, determining that the SGSN that did not return the probe signaling response is abnormal.

请一并参阅图9,图9为图7所示的接入网实体进一步优化后得到的另一种接入网实体的结构图。与图7所示的接入网实体相比,图9所示的接入网实体还包括:Please also refer to FIG. 9 . FIG. 9 is a structural diagram of another access network entity obtained after the access network entity shown in FIG. 7 is further optimized. Compared with the access network entity shown in Figure 7, the access network entity shown in Figure 9 also includes:

第七单元507,用于接收Pool区内的任一SGSN发送的广播消息,该广播消息用于指示该SGSN异常;其中,该SGSN异常可以包括该SGSN的Gr接口不可用、Gn接口不可用等等;以及确定Pool区内除该SGSN外的其余SGSN正常,并将其余SGSN以及其优先级别写入SGSN状态表。The seventh unit 507 is configured to receive a broadcast message sent by any SGSN in the Pool area, and the broadcast message is used to indicate that the SGSN is abnormal; wherein, the SGSN abnormality may include that the Gr interface of the SGSN is unavailable, the Gn interface is unavailable, etc. etc.; and determine that the remaining SGSNs in the Pool area except the SGSN are normal, and write the remaining SGSNs and their priority levels into the SGSN status table.

本发明实施例提供的接入网实体中,当接收到移动终端发送的请求消息之后,可以从SGSN状态表中选取出优先级别最高的SGSN,并将该请求消息发送至优先级别最高的SGSN,以完成移动终端的注册。由此可见,本发明实施例可以提高SGSN选择的灵活性,特别是当接入网实体对应的SGSN异常时,可以为移动终端选择与接入网实体对应的SGSN最接近的SGSN或者移动终端接入数量最少的SGSN进行注册,提高了SGSN选择的灵活性。In the access network entity provided by the embodiment of the present invention, after receiving the request message sent by the mobile terminal, the SGSN with the highest priority can be selected from the SGSN state table, and the request message can be sent to the SGSN with the highest priority, To complete the registration of the mobile terminal. It can be seen that the embodiments of the present invention can improve the flexibility of SGSN selection, especially when the SGSN corresponding to the access network entity is abnormal, the SGSN closest to the SGSN corresponding to the access network entity or the mobile terminal access network can be selected for the mobile terminal. Register with the SGSN with the least number of entries, which improves the flexibility of SGSN selection.

实施例五:Embodiment five:

请参阅图10,图10为本发明实施例提供的一种Pool区中移动终端注册系统。如图10所示,该系统可以包括:Please refer to FIG. 10 . FIG. 10 is a mobile terminal registration system in a Pool area provided by an embodiment of the present invention. As shown in Figure 10, the system can include:

至少一个移动终端1001和接入网实体1002;at least one mobile terminal 1001 and an access network entity 1002;

其中,移动终端1001用于发送请求消息至接入网实体1002,该请求消息携带有移动终端1001的身份标识信息,所述请求消息用以请求进行移动终端注册。Wherein, the mobile terminal 1001 is configured to send a request message to the access network entity 1002, the request message carries the identity information of the mobile terminal 1001, and the request message is used to request registration of the mobile terminal.

其中,所述请求消息包括附着请求消息和/或路由器更新请求消息。Wherein, the request message includes an attach request message and/or a router update request message.

其中,移动终端1001还可以接收接入网实体1002发送的注册完成响应消息,完成移动终端1001的注册。Wherein, the mobile terminal 1001 may also receive a registration completion response message sent by the access network entity 1002 to complete the registration of the mobile terminal 1001 .

其中,接入网实体1002可以是RNC,也可以是BSC。Wherein, the access network entity 1002 may be an RNC or a BSC.

其中,接入网实体1002的结构、功能与图5~图9中任意一种接入网实体的结构、功能相同,本发明实施例不作复述。Wherein, the structure and function of the access network entity 1002 are the same as those of any one of the access network entities shown in FIG. 5 to FIG. 9 , and will not be repeated in this embodiment of the present invention.

其中,移动终端1001和接入网实体1002之间的虚线表示无线连接。Wherein, the dotted line between the mobile terminal 1001 and the access network entity 1002 represents a wireless connection.

本发明实施例提供的系统可以提高SGSN选择的灵活性,特别是当接入网实体对应的SGSN异常时,可以为移动终端选择与接入网实体对应的SGSN最接近的SGSN或者移动终端接入数量最少的SGSN进行注册,提高了SGSN选择的灵活性。The system provided by the embodiments of the present invention can improve the flexibility of SGSN selection, especially when the SGSN corresponding to the access network entity is abnormal, it can select the SGSN closest to the SGSN corresponding to the access network entity for the mobile terminal or the mobile terminal access The minimum number of SGSNs are registered, which improves the flexibility of SGSN selection.

本发明实施例中,在本地SGSN异常后,RNC可以为移动终端优选Pool区最接近RNC对应的SGSN的或者移动终端接入次数最少的SGSN进行注册,而无需进行其余多个SGSN的轮选。In the embodiment of the present invention, after the local SGSN is abnormal, the RNC can register for the SGSN that is closest to the SGSN corresponding to the RNC in the preferred Pool area of the mobile terminal or the SGSN that the mobile terminal accesses the least number of times, without the need to perform round selection of the remaining SGSNs.

本发明实施例中,在RNC对应的SGSN恢复正常后,RNC可以自动将移动终端迁移至RNC对应的SGSN进行注册,而无需以手工方式将移动终端迁移至RNC对应的SGSN进行注册,并且能够做到全部移动终端的回迁,可以解决现有Pool区中RNC对在迁移流程内未附着的用户无法成功迁移的缺陷,从而对在迁移流程内未附着的用户无法成功迁移,实现100%的用户回迁,In the embodiment of the present invention, after the SGSN corresponding to the RNC returns to normal, the RNC can automatically migrate the mobile terminal to the SGSN corresponding to the RNC for registration, without manually migrating the mobile terminal to the SGSN corresponding to the RNC for registration, and can do The relocation to all mobile terminals can solve the defect that the RNC in the existing Pool area cannot successfully migrate users who are not attached during the migration process, so that users who are not attached during the migration process cannot be migrated successfully, and achieve 100% user relocation ,

本发明实施例中,由于在SGSN上可以设置传递给GGSN的一些信元,所以间接实现了灵活传递给GGSN诸如计费属性策略(CC)、SGSN所在时区(TZ),以及不同服务质量(QoS)的参数值,同时保证了业务更大的可靠性。In the embodiment of the present invention, because some information elements delivered to the GGSN can be set on the SGSN, so the flexible delivery to the GGSN such as the charging attribute policy (CC), the time zone (TZ) where the SGSN is located, and different quality of service (QoS) are indirectly realized. ) parameter value, while ensuring greater reliability of the business.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the foregoing method embodiments; and the aforementioned storage medium includes: various program codes that can be stored in a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc. medium.

以上对本发明实施例提供的一种Pool区中移动终端注册方法及系统、接入网实体进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above describes in detail the mobile terminal registration method, system, and access network entity in the Pool area provided by the embodiment of the present invention. In this paper, a specific example is used to illustrate the principle and implementation of the present invention. The description of the above embodiment It is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, The contents of this description should not be construed as limiting the present invention.

Claims (17)

1.一种Pool区中移动终端注册方法,其特征在于,包括:1. A mobile terminal registration method in a Pool area, characterized in that, comprising: 接入网实体接收移动终端发送的请求消息,所述请求消息携带有所述移动终端的身份标识信息,所述请求消息用以请求进行移动终端注册;所述身份标识信息包括国际移动用户识别码IMSI或者临时移动用户识别码P-TMSI;The access network entity receives the request message sent by the mobile terminal, the request message carries the identity information of the mobile terminal, and the request message is used to request the registration of the mobile terminal; the identity information includes an international mobile subscriber identification code IMSI or Temporary Mobile Subscriber Identity P-TMSI; 所述接入网实体从通用分组无线服务支持节点SGSN状态表中选取出状态正常,并且优先级别最高的SGSN;所述优先级别最高的SGSN数量为至少二个;The access network entity selects an SGSN with a normal state and the highest priority from the general packet radio service support node SGSN status table; the number of SGSNs with the highest priority is at least two; 若所述身份标识信息包括国际移动用户识别码IMSI,则所述接入网实体按照预配置的所述至少二个优先级别最高的SGSN的容量比,将所述请求消息发送至所述至少二个优先级别最高的SGSN中的相应SGSN,以完成所述移动终端的注册;或者,所述接入网实体将所述请求消息发送至所述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成所述移动终端的注册;或者,If the identity information includes an International Mobile Subscriber Identity IMSI, the access network entity sends the request message to the at least two corresponding SGSNs in the SGSNs with the highest priority to complete the registration of the mobile terminal; or, the access network entity sends the request message to the mobile terminal in the at least two SGSNs with the highest priority. enter the least number to complete the registration of the mobile terminal; or, 若所述身份标识信息包括临时移动用户识别码P-TMSI,则所述接入网实体从所述P-TMSI中解析出网络资源标识NRI;所述接入网实体判断所述至少二个优先级别最高的SGSN中是否存在所述NRI标识的SGSN,如果存在,则将所述请求消息发送至所述NRI标识SGSN,以完成所述移动终端的注册。If the identity information includes a temporary mobile subscriber identity code P-TMSI, the access network entity resolves the network resource identifier NRI from the P-TMSI; the access network entity judges that the at least two priority Whether the SGSN identified by the NRI exists in the highest-level SGSN, and if so, the request message is sent to the SGSN identified by the NRI to complete the registration of the mobile terminal. 2.根据权利要求1所述的移动终端注册方法,其特征在于,还包括:2. The mobile terminal registration method according to claim 1, further comprising: 所述接入网实体接收所述优先级别最高的SGSN返回的注册完成响应消息;The access network entity receives the registration completion response message returned by the SGSN with the highest priority; 所述接入网实体将所述注册完成响应消息发送给所述移动终端,完成所述移动终端的注册。The access network entity sends the registration completion response message to the mobile terminal to complete the registration of the mobile terminal. 3.根据权利要求1所述的移动终端注册方法,其特征在于,所述优先级别最高的SGSN是所述接入网实体对应的SGSN,或者是距离与所述接入网实体对应的SGSN最接近的SGSN,或者是移动终端接入数量最少的SGSN。3. The mobile terminal registration method according to claim 1, wherein the SGSN with the highest priority is the SGSN corresponding to the access network entity, or the SGSN closest to the SGSN corresponding to the access network entity. The closest SGSN, or the SGSN with the least number of accesses by the mobile terminal. 4.根据权利要求1所述的移动终端注册方法,其特征在于,还包括:4. The mobile terminal registration method according to claim 1, further comprising: 如果所述至少二个优先级别最高的SGSN中不存在所述NRI标识的SGSN,则所述接入网实体按照预配置的所述至少二个优先级别最高的SGSN的容量比,将所述请求消息发送至所述至少二个优先级别最高的SGSN中的相应SGSN,以完成所述移动终端的注册;If the SGSN identified by the NRI does not exist in the at least two SGSNs with the highest priority, the access network entity sends the request to The message is sent to the corresponding SGSN among the at least two SGSNs with the highest priority to complete the registration of the mobile terminal; 或者,所述接入网实体将所述请求消息发送至所述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成所述移动终端的注册。Alternatively, the access network entity sends the request message to the one of the at least two SGSNs with the highest priority that has the least access quantity of mobile terminals, so as to complete the registration of the mobile terminal. 5.根据权利要求1~4任一项所述的移动终端注册方法,其特征在于,所述接入网实体接收移动终端发送的请求消息之后,还包括:5. The mobile terminal registration method according to any one of claims 1 to 4, characterized in that, after the access network entity receives the request message sent by the mobile terminal, it further includes: 所述接入网实体检测优选SGSN功能是否开启,如果是,则所述接入网实体执行从所述SGSN状态表中选取出状态正常,并且优先级别最高的SGSN的步骤。The access network entity detects whether the preferred SGSN function is enabled, and if yes, the access network entity performs the step of selecting the SGSN with normal status and the highest priority from the SGSN status table. 6.根据权利要求5所述的移动终端注册方法,其特征在于,还包括:6. The mobile terminal registration method according to claim 5, further comprising: 如果检测所述优选SGSN功能未开启,则所述接入网实体按照预配置的SGSN的容量比,将所述请求消息发送至相应SGSN,以完成所述移动终端的注册。If it is detected that the preferred SGSN function is not enabled, the access network entity sends the request message to the corresponding SGSN according to the pre-configured capacity ratio of the SGSN, so as to complete the registration of the mobile terminal. 7.根据权利要求1~4任一项所述的移动终端注册方法,其特征在于,还包括:7. The mobile terminal registration method according to any one of claims 1 to 4, further comprising: 所述接入网实体向所述Pool区内的每一SGSN发送探测信令;The access network entity sends detection signaling to each SGSN in the Pool area; 所述接入网实体检测在预设时间内是否接收到所述Pool区内的SGSN针对所述探测信令返回的探测信令响应,如果是,则确定返回探测信令响应的SGSN正常,并将返回探测信令响应的SGSN以及其优先级别写入所述SGSN状态表。The access network entity detects whether a probe signaling response returned by the SGSN in the Pool area for the probe signaling is received within a preset time, and if so, determines that the SGSN that returns the probe signaling response is normal, and Write the SGSN that returns the probe signaling response and its priority into the SGSN status table. 8.根据权利要求1~4任一项所述的移动终端注册方法,其特征在于,还包括:8. The mobile terminal registration method according to any one of claims 1 to 4, further comprising: 所述接入网实体接收所述Pool区内的任一SGSN发送的广播消息,所述广播消息用于指示所述任一SGSN异常;The access network entity receives a broadcast message sent by any SGSN in the Pool area, where the broadcast message is used to indicate that any SGSN is abnormal; 所述接入网实体确定所述Pool区内除所述任一SGSN外的其余SGSN正常,并将所述其余SGSN以及其优先级别写入所述SGSN状态表。The access network entity determines that the remaining SGSNs in the Pool area except the any SGSN are normal, and writes the remaining SGSNs and their priority levels into the SGSN status table. 9.一种接入网实体,应用于Pool区,其特征在于,包括:9. An access network entity, applied to a Pool area, is characterized in that, comprising: 第一单元,用于接收移动终端发送的请求消息,所述请求消息携带有所述移动终端的身份标识信息;所述请求消息用以请求进行移动终端注册;所述身份标识信息包括国际移动用户识别码IMSI或者临时移动用户识别码P-TMSI;The first unit is configured to receive a request message sent by a mobile terminal, where the request message carries identity information of the mobile terminal; the request message is used to request mobile terminal registration; the identity information includes an international mobile user Identity code IMSI or temporary mobile subscriber identity code P-TMSI; 第二单元,用于从通用分组无线服务支持节点SGSN状态表中选取出状态正常,并且优先级别最高的SGSN;所述优先级别最高的SGSN数量为至少二个;The second unit is used to select the SGSN with normal status and the highest priority from the SGSN status table of the general packet radio service support node; the number of SGSNs with the highest priority is at least two; 所述接入网实体还包括:第三单元;The access network entity further includes: a third unit; 若所述身份标识信息包括国际移动用户识别码IMSI,则所述第三单元,用于按照预配置的所述至少二个优先级别最高的SGSN的容量比,将所述请求消息发送至所述至少二个优先级别最高的SGSN中的相应SGSN,以完成所述移动终端的注册;或者,将所述请求消息发送至所述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成所述移动终端的注册;If the identity information includes an International Mobile Subscriber Identity IMSI, the third unit is configured to send the request message to the Corresponding SGSNs in at least two SGSNs with the highest priority to complete the registration of the mobile terminal; or, sending the request message to the one with the least number of mobile terminals in the at least two SGSNs with the highest priority , to complete the registration of the mobile terminal; 或者,若所述身份标识信息包括临时移动用户识别码P-TMSI,则所述第三单元包括:第一模块,用于从所述P-TMSI中解析出网络资源标识NRI;第二模块,用于判断从所述至少二个优先级别最高的SGSN中是否存在所述NRI标识的SGSN;第三模块,用于在所述第二模块的判断结果为是时,将所述请求消息发送至所述NRI标识的SGSN,以完成所述移动终端的注册。Or, if the identity information includes a temporary mobile subscriber identity code P-TMSI, the third unit includes: a first module, configured to parse out a network resource identifier NRI from the P-TMSI; a second module, It is used to judge whether there is an SGSN identified by the NRI among the at least two SGSNs with the highest priority; the third module is used to send the request message to The SGSN identified by the NRI to complete the registration of the mobile terminal. 10.根据权利要求9所述的接入网实体,其特征在于,所述第一单元还用于接收所述优先级别最高的SGSN返回的注册完成响应消息;10. The access network entity according to claim 9, wherein the first unit is further configured to receive a registration completion response message returned by the SGSN with the highest priority; 所述接入网实体还包括:The access network entity also includes: 第四单元,用于将所述注册完成响应消息发送给所述移动终端,完成所述移动终端的注册。The fourth unit is configured to send the registration completion response message to the mobile terminal to complete the registration of the mobile terminal. 11.根据权利要求9或10所述的接入网实体,其特征在于,所述优先级别最高的SGSN是所述接入网实体对应的SGSN,或者是距离与所述接入网实体对应的SGSN最接近的SGSN,或者是移动终端接入数量最少的SGSN。11. The access network entity according to claim 9 or 10, wherein the SGSN with the highest priority is the SGSN corresponding to the access network entity, or the SGSN corresponding to the access network entity at a distance The SGSN closest to the SGSN, or the SGSN with the least number of mobile terminals accessing. 12.根据权利要求11所述的接入网实体,其特征在于,所述第三单元还包括:12. The access network entity according to claim 11, wherein the third unit further comprises: 第四模块,用于在所述第二模块的判断结果为否时,按照预配置的所述至少二个优先级别最高的SGSN的容量比,将所述请求消息发送至所述至少二个优先级别最高的SGSN中的相应SGSN,以完成所述移动终端的注册;或者将所述请求消息发送至所述至少二个优先级别最高的SGSN中的移动终端接入数量最少者,以完成所述移动终端的注册。The fourth module is configured to send the request message to the at least two priority SGSNs according to the pre-configured capacity ratio of the at least two highest priority SGSNs when the judgment result of the second module is No. the corresponding SGSN in the highest-level SGSN to complete the registration of the mobile terminal; or send the request message to the one with the least number of mobile terminal accesses among the at least two highest-priority SGSNs to complete the registration of the mobile terminal. Registration of mobile terminals. 13.根据权利要求9或10所述的接入网实体,其特征在于,还包括:13. The access network entity according to claim 9 or 10, further comprising: 第五单元,用于在所述第一单元接收到移动终端发送的请求消息之后,检测优选通用分组无线服务支持节点SGSN功能是否开启,如果是,则通知所述第二单元从所述SGSN状态表中选取出状态正常,并且优先级别最高的SGSN。The fifth unit is configured to detect whether the preferred general packet radio service support node SGSN function is enabled after the first unit receives the request message sent by the mobile terminal, and if so, notify the second unit to switch from the SGSN state Select the SGSN with normal status and the highest priority from the table. 14.根据权利要求13所述的接入网实体,其特征在于,14. The access network entity according to claim 13, characterized in that, 如果检测所述优选SGSN功能未开启,则第五单元还用于按照预配置的SGSN的容量比,将所述请求消息发送至相应SGSN,以完成所述移动终端的注册。If it is detected that the preferred SGSN function is not enabled, the fifth unit is further configured to send the request message to the corresponding SGSN according to the preconfigured capacity ratio of the SGSN, so as to complete the registration of the mobile terminal. 15.根据权利要求9或10述的接入网实体,其特征在于,还包括:15. The access network entity according to claim 9 or 10, further comprising: 第六单元,用于向所述Pool区内的每一SGSN发送探测信令,并检测在预设时间内是否接收到所述Pool区内的SGSN针对所述探测信令返回的探测信令响应,如果是,则确定返回探测信令响应的SGSN正常,并将返回探测信令响应的SGSN以及其优先级别写入所述SGSN状态表。A sixth unit, configured to send probe signaling to each SGSN in the Pool area, and detect whether a probe signaling response returned by the SGSN in the Pool area for the probe signaling is received within a preset time , if yes, determine that the SGSN that returned the probe signaling response is normal, and write the SGSN that returned the probe signaling response and its priority into the SGSN status table. 16.根据权利要求9或10所述的接入网实体,其特征在于,还包括:16. The access network entity according to claim 9 or 10, further comprising: 第七单元,用于接收所述Pool区内的任一SGSN发送的广播消息,所述广播消息用于指示所述任一SGSN异常;以及确定所述Pool区内除所述任一SGSN外的其余SGSN正常,并将所述其余SGSN以及其优先级别写入所述SGSN状态表。A seventh unit, configured to receive a broadcast message sent by any SGSN in the Pool area, where the broadcast message is used to indicate that any SGSN is abnormal; and determine that any SGSN in the Pool area other than the SGSN The remaining SGSNs are normal, and write the remaining SGSNs and their priority levels into the SGSN state table. 17.根据权利要求9或10所述的接入网实体,其特征在于,所述接入网实体包括无线网络控制器RNC或基站控制器BSC。17. The access network entity according to claim 9 or 10, wherein the access network entity comprises a radio network controller (RNC) or a base station controller (BSC).
CN201180002442.4A 2011-11-09 2011-11-09 Method for mobile terminal registration in Pool area and access network entity Expired - Fee Related CN102726078B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/081975 WO2012149817A1 (en) 2011-11-09 2011-11-09 Method for mobile terminal registration in pool area and access network entity

Publications (2)

Publication Number Publication Date
CN102726078A CN102726078A (en) 2012-10-10
CN102726078B true CN102726078B (en) 2014-07-09

Family

ID=46950497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180002442.4A Expired - Fee Related CN102726078B (en) 2011-11-09 2011-11-09 Method for mobile terminal registration in Pool area and access network entity

Country Status (2)

Country Link
CN (1) CN102726078B (en)
WO (1) WO2012149817A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604324A (en) * 2015-10-15 2017-04-26 大唐移动通信设备有限公司 Network switching method and mobility management entity (MME)
CN107864484B (en) * 2017-12-01 2021-03-16 Oppo广东移动通信有限公司 Method and device for detecting LTE network access result, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620048A (en) * 2003-11-19 2005-05-25 华为技术有限公司 Selection Method of Gateway Support Node in General Packet Radio Service
CN1905526A (en) * 2006-07-31 2007-01-31 上海华为技术有限公司 Method and apparatus for processing overload in network
CN101325799A (en) * 2007-06-15 2008-12-17 华为技术有限公司 Method of selecting server and equipment supporting packet switching
CN101426227A (en) * 2008-11-21 2009-05-06 中国移动通信集团广东有限公司 PDP context activation method using GGSN resource pool having priority in packet domain
CN101453687A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Method and system for providing service to customer using SGSN pool, and SGSN pool

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100455138C (en) * 2006-08-01 2009-01-21 上海华为技术有限公司 Method for re-sharing services after core network failure recovery
CN101272614B (en) * 2007-03-20 2010-12-08 华为技术有限公司 A method, system and device for selecting network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620048A (en) * 2003-11-19 2005-05-25 华为技术有限公司 Selection Method of Gateway Support Node in General Packet Radio Service
CN1905526A (en) * 2006-07-31 2007-01-31 上海华为技术有限公司 Method and apparatus for processing overload in network
CN101325799A (en) * 2007-06-15 2008-12-17 华为技术有限公司 Method of selecting server and equipment supporting packet switching
CN101453687A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Method and system for providing service to customer using SGSN pool, and SGSN pool
CN101426227A (en) * 2008-11-21 2009-05-06 中国移动通信集团广东有限公司 PDP context activation method using GGSN resource pool having priority in packet domain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MSC池技术及组网应用;蓝澜;《邮电设计技术》;20100331;全文 *
蓝澜.MSC池技术及组网应用.《邮电设计技术》.2010,

Also Published As

Publication number Publication date
CN102726078A (en) 2012-10-10
WO2012149817A1 (en) 2012-11-08

Similar Documents

Publication Publication Date Title
US20190261227A1 (en) Method and device for accessing and obtaining user equipment context and user equipment identity
CN102450052B (en) Method, equipment and system for processing data gateway load
CN102714615B (en) Node fault processing method, system and related device
CN101127652B (en) A method, device and system for determining an anchor point for a user terminal to access an external network
ES2786003T3 (en) Nomadic or fixed user support on a mobile network
CN101511076A (en) Management method, device and system for user access network
JP2015536081A (en) Serving network, time zone and UCI reports
WO2008028426A1 (en) The method, system and mobile switch center for load transferring in the pool area
CN104255054A (en) Method and device for congestion control
CN103313329B (en) Gateway system of selection and Mobility Management Entity
US11089527B2 (en) Telecommunications network bearer allocation and deallocation
US20220116469A1 (en) Event management mechanism in 5g systems and methods
CN101267397B (en) Method, device and system for sharing network nodes in the core network of AP system
CN101653023B (en) Radio telecommunications network management
CN109462863B (en) A method and device for a voice call
CN103702368B (en) A kind of SGSN systems of selection and equipment
WO2024037611A1 (en) Registration information synchronization method and apparatus, and device and medium
CN102131238B (en) Load balancing method from time division-synchronization code division multiple access (TD-SCDMA) system to global system for mobile communication (GSM) system
CN1878404B (en) A load redistribution processing method under A-Flex architecture
CN101557646A (en) Load creating method, service gateway and mobility management entity
CN102006673B (en) Method, device and system for releasing connection
CN101330720A (en) A processing method for accessing users, a user accessing system and equipment
CN102726078B (en) Method for mobile terminal registration in Pool area and access network entity
CN101287287B (en) Method, system and apparatus for realizing load migration in pool area
CN103782629A (en) Method, device and system for handover to circuit switched domain

Legal Events

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

Granted publication date: 20140709