GPRS各接口信令分析.doc

上传人:laozhun 文档编号:4137041 上传时间:2023-04-07 格式:DOC 页数:37 大小:884KB
返回 下载 相关 举报
GPRS各接口信令分析.doc_第1页
第1页 / 共37页
GPRS各接口信令分析.doc_第2页
第2页 / 共37页
GPRS各接口信令分析.doc_第3页
第3页 / 共37页
GPRS各接口信令分析.doc_第4页
第4页 / 共37页
GPRS各接口信令分析.doc_第5页
第5页 / 共37页
点击查看更多>>
资源描述

《GPRS各接口信令分析.doc》由会员分享,可在线阅读,更多相关《GPRS各接口信令分析.doc(37页珍藏版)》请在三一办公上搜索。

1、GPRS各接口信令分析一 GPRS Air Interface1. 空中接口逻辑信道。(1) 分组广播控制信道(PBCCH-Packet Broadcast Control Channel)向小区内所有GPRS移动终端发送系统信息,下行。(2) 分组公共控制信道(PCCCH-Packet Common Control Channel)A. 上行分组随机接入信道(PRACH-Packet Random Access Channel)GPRS用户通过该信道向基站发出业务信道的申请。B. 下行分组寻呼信道(PPCH-Packet Paging Channel)用于寻呼GPRS被叫用户C. 下行分组接

2、入允许信道(PAGCH-Packet Access Grant Channel) 在开始传送分组之前,向移动终端发送资源分配消息,用以对PRACH作出应答。D. 分组通知信道(PNCH-Packet Notification Channel) 用于在PTM-M(点对多点的多播业务)分组开始传送之前,向一组移动终端发送PTM-M通知。该通知内有用于分组传送的资源分配格式。下行。(3) 分组业务信道(PDTCH-Packet Data Traffic Channel)A. 分组数据业务信道(PDTCH-Packet Data Traffic Channel)传送GPRS分组数据。一个移动终端可以并

3、行使用一个以上的PDTCH(即占用多时隙工作)传送一个用户的分组信息。下行和上行。B. 分组随路控制信道(PACCH-Packet Assosiated Control Channel)在传送GPRS数据业务过程中传送控制信令的信令通道,如传送功率控制(PC)信息。2. 空中接口信令(1) Mobile originated packet transferAccess & allocation(如果是MT接受数据时的通信流程,还应在PRACH前面接上PPCH用以寻呼用户)MSNetworkPacket Channel RequestPacket Immediate AssignmentPack

4、et Resource RequestPacket Resource AssignmentPRACH or RACHPAGCH or AGCHPACCHPACCH(Optional)(Optional)(2) Mobile terminated packet transferDownlink PDTCH assignment in Ready stateMSNetworkPacket Resource AssignmentPACCH orPAGCH orAGCH(3) Mobile terminated packet transferWith resource reassignmentData

5、 Blocktemporary Packet Ack/Nack Access and AssignmentMSNetworkPDTCHPACCHPacket Resource ReassignmentPacket Resource Reassignment AckPACCHPACCHPACCHfinal Packet Ack/NackData BlockPDTCHData BlockPDTCHData Block (polling)PDTCHData BlockPDTCHData BlockPDTCHData BlockPDTCHData BlockPDTCHData BlockPDTCHDa

6、ta Block (last, polling)PACCH3. Coding schemes and multiple timeslotsIncreased data transmission ratesvia newCoding SchemesCS-19.05kbpsCS-213.4kbpsCS-315.6kbpsCS-421.4kbpsBundling of up to 8 physical channels“Net” transmission rate up to171.2 kbpsUm接口上新增了以上四种编码方式,同时支持最多8时隙的时隙合并传输方式。因此GPRS最高速率可达到171.

7、2kbps。注:EDGE在单时隙时的用户速率为48 kbps,占用8个时隙的用户速率为384 kbps二Mobility managementMobility Management (MM) handles the subscriber when he is requesting access to the GPRS network or when he wants to stop using the GPRS network. MM handles the location management procedure transferring the necessary information

8、 from one SGSN/PAPU unit to another SGSN/PAPU unit and updating HLR if subscriber has changed SGSN. As described in module SGSN Architecture, all MM procedures related to one MS are handled by the PAPU serving the RA in which the MS is currently located in Nokia 2G SGSN implementation. If the subscr

9、iber has attached to CS services, MM updates the location also to VLR. MM handles the subscribers authentication functions and provides information to charging and statistics services.The procedures of Mobility Management are: GPRS Attach GPRS Detach Purge Security- Authentication- Subscriber identi

10、ty confidentiality- Ciphering- Identity check Location management- Cell update- Normal/periodic routing area update Subscriber Management Interaction with MSC/VLR- IMSI attach/detach, combined IMSI/GPRS attach/detach - Combined routing area and location area update- CS paging- Non-GPRS alert - Ident

11、ification procedure- MM information.(一) GPRS AttachMS向新SGSN发送激活请求消息,消息中包括PTMSI旧的RAI(没有可用的PTMSI时用IMSI)、CKSN、激活类型(只激活GPRS、IMSI已被激活的情况下激活GPRS、GPRSIMSI联合激活三者之一)、DRX参数(discontinuous reception,非连续性接收)、旧PTMSI签名。 Attach Request 新SGSN向旧SGSN发送身份认证请求消息(PTMSI、旧RAI、旧PTMSI签名),以获取MS的IMSI。旧SGSN回送认证响应消息(IMSI,鉴权三参数组)

12、,如果旧SGSN不能认证MS,将回送相应的出错原因。 Identification Request/Identification Response请求与答复移动台IMSI或P-TMSI 如果新、旧SGSN都无法认证MS,那么新SGSN将向MS发送认证请求消息(认证类型=IMSI), MS回送响应消息(IMSI)。 Identity Request/Identity Response MS、新SGSN、HLR之间进行保密鉴权。SGSN用取得的IMSI到HLR中请求认证三码组(Authentication Triplets),并对 MS进行鉴权。Authentication MS、新SGSN、EI

13、R之间进行IMEI检查。 IMEI Check 如果是初次激活或者再次激活时SGSN编号已改变(比较上次而言),SGSN要通知HLR。由新 SGSN向HLR发送位置更新消息(SGSN编号、SGSN地址、IMSI(注意已经转换为E.214码)) Update Location;HLR向旧SGSN发送位置消除消息 (IMSI,消除类型) Cancel Location;旧SGSN应答(IMSI) Cancel Location Ack;HLR向新SGSN发送插入用户数据消息(IMSI,GPRS用户数据(包括16进制格式的APN,包括MSISDN?) Insert Subscriber Data;新

14、SGSN检查MS在新RA的合法性,如果MS是局部受限用户而不允许在新RA激活,则新SGSN向HLR返回应答(IMSI,SGSN区域受限),拒绝激活请求。如果是其他原因不允许激活,则返回HLR的是应答(IMSI,原因)。如果MS经检查合法,则返回应答(IMSI) SGSN根据移动台的GPRS签约数据决定是否允许移动台在当前路由区内附着,如允许,SGSN将向HLR返回一条消息Insert Subscriber Data Ack。;HLR向新SGSN回送位置更新应答Update Location Ack。 如果第点中的激活类型为后两者(IMSI已被激活的情况下激活GPRS、GPRSIMSI联合激活)

15、,当SGSN与MSCVLR之间的Gs接口存在时,要更新VLR。VLR的编号从RA获取。新SGSN向新MSCVLR发送位置更新请求消息(新LAI、IMSI、SGSN编号,位置更新类型);新VLR向HLR请求位置更新(IMSI,新VLR);HLR通知旧VLR消除位置信息(IMSI);旧VLR对HLR应答(IMSI); HLR向新MSCVLR发送插入用户数据消息(IMSI,GSM用户数据);新VLR应答HLR(IMSI)。这时新MSCVLR向新 SGSN发送位置更新接受的响应(VLRTMSI)。 新SGSN向MS发送激活接受消息(PTMSI,VLRTMSI,PTMSI签名)。 Attach Acce

16、pt MS向新SGSN回送激活完成消息(PTMSI,VLRTMSI)。 Attach Complete 新SGSN向新MSCVLR发送TMSI再分配完成消息(VLRTMSI)。TMSI Reallocation CompleteWhen subscriber wants to start using services of GPRS network, he has to connect to the network. The MS informs SGSN that it desires to connect to GPRS network. He informs SGSN with a mo

17、bility management procedure called GPRS Attach procedure. Only MS can start this procedure.The procedure is described in Figure 1.Figure 1.GPRS Attach procedure1The MS initiates the attach procedure by the transmission GMM. Attach Request (IMSI or PTMSI and old RAI, Classmark, CKSN, Attach Type, DRX

18、 Parameters, old PTMSI Signature) message to the PAPU handling the RA in which the MS is camped. If the MS has a valid PTMSI, then PTMSI and the old RAI associated with PTMSI shall be included. In this case if it has also stored its old PTMSI Signature, then the MS shall include the old PTMSI Signat

19、ure in the Attach Request message for identification checking purposes. Classmark contains the MSs GPRS multislot capabilities and supported GPRS ciphering algorithms. Attach Type indicates which type of attach that is to be performed, i.e., GPRS attach only, GPRS Attach while already IMSI attached,

20、 or combined GPRS / IMSI attach (in this section GPRS attach only is analysed). DRX Parameters indicates whether the MS uses discontinuous reception or not. If the MS uses discontinuous reception, then DRX Parameters also indicate when the MS is in a non-sleep mode able to receive paging requests an

21、d channel assignments.NotePTMSI Signature is a random number optionally allocated and sent by the SGSN to the MS in Attach Accept and Routing Area Update Accept messages. If the PTMSI Signature has been sent by the SGSN to the MS since the current PTMSI was allocated, then the MS shall include the P

22、TMSI Signature in the next Routing Area Update Request and Attach Request for identification checking purposes. In the Attach and Routing Area Update procedures, the SGSN compares the PTMSI Signature sent by the MS with the signature stored in the SGSN. If the values match, the SGSN may use the secu

23、rity functions to authenticate the MS. If the values do not match or if the PTMSI Signature is missing, SGSN uses security functions to authenticate the MS. PTMSI Signature parameter has only local significance in the SGSN that allocated the signature.2 If the MS has detached in a routing area handl

24、ed by the same PAPU, the PAPU already has the subscriber P-TMSI-IMSI association. This means that PAPU can directly perform step 3 (Authentication, see section (五) and shall accept the attach request. a.If MS was previously attach in a RA handled by different PAPU the IMSI is first inquired from the

25、 old PAPU unit that has stored the P-TMSI-IMSI association. The new PAPU sends a GTP.Identification Request (P-TMSI, old RAI and old P-TMSI Signature) to the old PAPU to get the IMSI of the MS. The old PAPU responds with GTP.Identification Response (IMSI, Authentication Vectors). In order to find th

26、e IP address of old PAPU two cases can be distinguished:l the old PAPU belongs to different SGSN: the new PAPU has to find out the IP address of the old PAPU asking from the DNS server. Old PAPU name is formed by the old RAI(=MCC+MNC+LAC+RAC) in the following way: racRAC.lacLAC.mncMNC.mccMCC.gprs (f

27、or example if the old RAI is 222 + 10 + 1234 + 100 the RAI name is rac100.lac1234.mnc010.mcc222.gprs) l the old PAPU belongs to the same SGSN: the IP address of the previous PAPU unit is known by the MCHU of same SGSN and no DNS queries needs to be performed. In this case PAPU interrogates the GPRS

28、Parameter Database (GPDATA) in MCHU where are stored the relation between IP PAPU address and RAI handled by SGSN. b.If for the some reason the new PAPU cannot find IMSI of MS (e.g. PAPU reset or Detached subscriber storage time is expired), it asks the IMSI directly to the MS sending to him GMM.Ide

29、ntity Request (Identity Type = IMSI). The MS shall respond with a GMM.Identity Response (IMSI) message. 3. Depending on PLMN parameter Authentication repetition rate for GPRS Attach, the PAPU performs Authentication procedure toward MS (Authentication, see section (五).4.Depending on PLMN Parameter I

30、MEI check repetition rate for GPRS attach the PAPU may perform the equipment checking functions. Identity check procedure is described in section (六).5.If the SGSN number has changed since the GPRS detach, or if it is the very first attach, then the SGSN informs the HLR and performs the Update Locat

31、ion procedure to HLR (see section (四): Update Location procedure to HLR).6.The PAPU selects Radio Priority SMS, and sends an GMM.Attach Accept (P-TMSI, P-TMSI Signature, Radio Priority SMS, Periodic RA update timer, Force to Standby) message to the MS. Force to Standby (SGSN parameter: FTS) may indi

32、cate Force to standby not indicated or Force to standby indicated. It is to force the MS to stop the READY timer in order to prevent the MS to perform cell updates. P-TMSI is included if the SGSN allocates a new P-TMSI. If P-TMSI was changed, the MS acknowledges the received P-TMSI with GMM.Attach C

33、omplete (P-TMSI).A GPRS MS has now a MM context in PAPU serving the RA in which the MS in camped and the GPRS subscription data are downloaded from HLR and are stored in SMMU.If the Attach Request cannot be accepted, the PAPU returns a GMM. Attach Reject (IMSI, Cause) message to the MS.MS makes Atta

34、ch to network using IMSIIf MS has not a valid P-TMSI, the MS shall send the GMM.Attach request (IMSI, Attach Type) where Attach Type is GPRS attach. In this case the PAPU performs directly:Step 3: Authentication procedure as mandatory (see section (五): Authentication). Step 4: IMEI checking procedur

35、e (see section (六): Identity check procedure).Step 5: Update Location procedure to HLR (see section (四): Update Location procedure to HLR).Step 6: The PAPU selects Radio Priority SMS, and sends a GMM.Attach Accept (P-TMSI, P-TMSI Signature, Radio Priority SMS) message to the MS. P-TMSI is included i

36、f the SGSN allocates a new P-TMSI. If P-TMSI was changed, the MS acknowledges the received P-TMSI with GMM.Attach Complete (P-TMSI).If the Attach Request cannot be accepted, the PAPU returns a GMM.Attach Reject (IMSI, Cause) message to the MS.(二) GPRS DetachThe Detach function allows an MS to inform

37、 the network that it wants to make a GPRS and/or IMSI detach, and it allows the network to inform an MS that it has been GPRS-detached or IMSI-detached by the network. The different types of detach are:- IMSI detach;- GPRS detach; and- combined GPRS / IMSI detach (MS-initiated only).The MS is detach

38、ed from GPRS either explicitly or implicitly: Explicit detach: The network or the MS explicitly requests detach. Implicit detach: The network detaches the MS, without notifying the MS, a configuration-dependent time after the mobile reachable timer expired, or after an irrecoverable radio error caus

39、es disconnection of the logical link.In the explicit detach case, a Detach Request (Cause) is sent by the SGSN to the MS, or by the MS to the SGSN.When network receive detach request from MS or send a detach request to MS, it aborts any data transfer for the subscriber.The MS can make an IMSI detach

40、 in one of two ways depending on if it is GPRS-attached or not:- A GPRS-attached MS sends a Detach Request message to the SGSN, indicating an IMSI detach. This can be made in combination with GPRS detach.- An MS not attached to the GPRS makes the IMSI detach as already defined in GSM.In the MO Detac

41、h Request message there is an indication to tell if the detach is due to switch off or not. The indication is needed to know whether a Detach Accept message should be returned or not.In the network-originated Detach Request message there may be an indication to tell the MS that it is requested to in

42、itiate GPRS Attach and PDP Context Activation procedures for the previously activated PDP contexts.After successful detach, the MS State shall change to IDLE and its MM context and PDP contexts in PAPU are removed. However, the subscribers IMSI-PTMSI association is not removed from PAPU. It is remov

43、ed after the subscriber is removed from Visiting GPRS subscriber database in SMMU. The subscriber information in Visiting GPRS subscriber database (GSBASE) in SMMU may be deleted after a successful detach. Alternatively, the SMMU may keep the subscriber information and the authentication vectors of

44、the detached MS, so that the contexts can be reused at a later GPRS attach without accessing the HLR. Subscriber information is removed from SMMU when the Detached subscriber storage time timer expires (SGSN parameter: STT). When the SMMU deletes the subscriber data from its memory, it shall initiat

45、e the Purge procedure to inform HLR about deleting (see section Error! Reference source not found. Error! Reference source not found.).MS-initiated Detach Procedure(1) 用户发送分离请求消息 带有Detach Type P-TMSI P-TMSI Signature Switch Off 给SGSN 从而发起分离流程 Detach Type指示将要进行何种类型的分离流程 即GPRS分离 IMSI分离 联合分离 Switch Off

46、指示用户的分离是否是因为关机 分离请求消息带有用户的P-TMSI和P-TMSI签名 签名是用来检查用户分离消息的合法性的 如果用户的签名不合法或者没有带 SGSN应该发起鉴权(2) 如果是GPRS分离 存在于GGSN中属于该用户的激活的PDP上下文的去活 是通过SGSN向GGSN发送删除PDP上下文请求消息 带有TEID 来实现的 GGSN以删除PDP上下文响应消息予以确认(3) 如果是IMSI分离 SGSN应该发送IMSI分离指示消息给VLR(4) 如果用户需要在GPRS分离同时保留IMSI附着 SGSN应该发送GPRS分离指示消息给VLR VLR删除和SGSN的关联 并且不再通过SGSN发

47、起寻呼和Location Update(5) 如用户不是因为关机发起分离 SGSN应该回应分离接受消息给用户(6) 如果用户发起GPRS分离 SGSN释放PS域信令连接MS requests detach from the GPRS network when it wants to stop using services of GPRS network. The procedure is described in Figure 2.Figure 2.MS-initiated GPRS detach procedureThe MS detaches by sending GMM.Detach Request (Detach Type, Switch Off) to the PAPU serving the Routing Area where MS is camped. Switch Off indicates whether detach is due to a switch off situation or not. The Detach Type information element may indicate “GPRS detach with switchin

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公文档 > 其他范文


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号