GSM协议栈原理.ppt

上传人:小飞机 文档编号:5432621 上传时间:2023-07-06 格式:PPT 页数:81 大小:626KB
返回 下载 相关 举报
GSM协议栈原理.ppt_第1页
第1页 / 共81页
GSM协议栈原理.ppt_第2页
第2页 / 共81页
GSM协议栈原理.ppt_第3页
第3页 / 共81页
GSM协议栈原理.ppt_第4页
第4页 / 共81页
GSM协议栈原理.ppt_第5页
第5页 / 共81页
点击查看更多>>
资源描述

《GSM协议栈原理.ppt》由会员分享,可在线阅读,更多相关《GSM协议栈原理.ppt(81页珍藏版)》请在三一办公上搜索。

1、GSM/GPRS Protocol Stack Architecture,Vito Tai,Outline,GSM/GPRS Protocol Stack ArchitectureIntroduce the architecture and all modules of Protocol stackCommon ProceduresIncludes general procedures,like LU,MO call,GPRS ATTACH,and etc.,for illustration of the functionality and interaction of modules of

2、Protocol stack.,Outline,GSM/GPRS Protocol Stack ArchitectureIntroductionL4NASASDataSIMCommon Procedures,Introduction:Task v.s.Module,One Module implements one layer or groups of functionalities.Task is the unit of OS schedulingThe communication between Modules is by Primitives(Messages)More overhead

3、 in inter-task communication Put modules into one taskShare common memoryLousy communicationsShare the same priorityOther considerationGeneral priority arrangement:lower layer higher priority,Introduction:Task main,while(1)receive_msg_ext_q(task_ext_qid,/,while(1)receive_msg_ext_q(task_ext_qid,Multi

4、-module,Single-module,SAP headers:define message ids,Driver interface,ASN file of CC,Header file of CC,Source file of CC,Mcd_parser Generated header file,Headers of common local structure,Headers of structures for primitives,Headers of common used enums,ASNs of common used and SS ACT Files,Introduct

5、ion:Directory Structure,Layer 4,The interface between PS and MMI/AT,L4-L4C(1/9),L4CLayer 4 controllerCo-ordinate all L4 modules to perform the requests from AT or MMIInterfaces There are interfaces between all modules in L4PPP_L4C_SAP-PPPL4C_ABM_SAP-ABMSourcemcu/ps/l4/l4c,L4-L4A&ATCI(2/9),L4ALayer 4

6、 adaptationTranslate function calls to primitives between MMI and L4C.Code generated by tool base on an Excel fileSourcemcu/ps/l4/l4aATCISub-module of L4CAT command InterpreterSourcemcu/ps/l4/l4c,L4 RAC(3/9),Registration Access ControlGSM/GPRS registration managementPLMN List/SelectionCell power lev

7、el reportInterfaceL4C_RAC_SAP L4CGMMREG_SAP MMMMIAS_SAP-RMPCSourcemcu/ps/l4/rac,L4 TCM(4/9),Terminal Context ManagementHandle PDP context profilesQoS,PDP address,PDP typesRequest to activate PDP contextsRelay of Data transferInterfacesTCM_L4C_SAP L4CSMREG_SAP SMSNDCP_REG_SAP-SNDCPTCM_PPP_SAP PPPTCM_

8、TCPIP_SAP-TCPIPSourcemcupsl4tcm,L4 SMSAL(5/9),SMS Application LayerMessage box of ME&SIMTransmitting and receiving SMSCell Broadcast managementInterfacesSMSAL_L4C_SAP L4CSMSAL_SOC_SAP SOCMNSMS_SAP SMSSMSAL_AS_SAP-RMPCSourcemcu/ps/l4/smsal,L4 TCM/SMSAL in WAP/GPRS(6/9),TCM will relay IP packets to SN

9、DCP,and vice versa.SMSAL forwards PUSH message to Socket,L4 CSM(7/9),Call Service ManagementBearer Capability HandlingCODEC attachment managementCSD/Fax activation/deactivationCall information maintainingCall related SS handlingInterfacesCSM_L4C_SAP L4CMNCC_SAP CCCSM_TDT_SAP TDT of DataCSM_L2R_SAP L

10、2R of DataMNSS_SAP-CISSSourcemcu/ps/l4/csm,L4 SMU(8/9),Security Management UnitSecurity CheckingPhone lockCHV1/CHV2Personalization(ETSI 02.22)AutolockInterfacesSMU_L4C_SAP L4CPS_SIM_SAP-SIMSourcemcu/ps/l4/smu,L4-PHB&UEM(9/9),PhonebookIdentify Emergency callPhonebook managementUser Equipment Manageme

11、ntPeripheral management,NAS,Non Access Stratum,NAS CISS(1/12),Call Independent Supplemental Service3GPP/ETSI specifications:22.08122.088,22.091,22.091,22.093,22.072SAPsMM_SS_SAP-MMMNSS_SAP-CSM of L4Sourcemcu/ps/cc-ss/ss,NAS CC(2/12),Call Control3GPP/ETSI specifications24.008(Clause 5)SAPsMM_CC_SAP M

12、MMNCC_SAP-CSM of L4Sourcemcu/ps/cc-ss/cc,NAS SMS(3/12),Short Message Service3GPP/ETSI specification:23.040SAPsMM_SMS_SAP-MMMNSMS_SAP-SMSAL of L4LLC_SMS_SAP-LLC(GPRS-only)Sourcemcu/ps/sms,NAS-MM/GMM(4/12),Mobility Management3GPP/ETSI specification24.008(Clause 4)SAPsMM_CC_SAP-CCMM_SS_SAP-CISSMM_SMS_S

13、AP-SMSGMMREG_SAP RAC of L4MM_AS_SAP-RRGMM_SM_SAP-SMLLC_GMM_SAP-LLC,NAS-MM/GMM(5/12),Sourcemcu/ps/mm/cmm-CS domainmcu/ps/mm/pmm-PS domainmcu/ps/mm/common-commonSingle task,single Module,Two FSMs,NAS SM(6/12),Session Management3GPP/ETSI specification:24.008(Clause 6)SAPsGMM_SM_SAP MMSMREG_SAP-TCM of L

14、4SM_DATA_PLANE_SAP SNDCPSourcemcu/ps/sm,NAS SNDCP(7/12),SubNetwork Dependency Convergence Protocol3GPP/ETSI specification04.65RFC1144(for TCP/IP header compression)SAPsSM_DATA_PLANE_SAP-SMSM_REG_SAP-TCMLLC_SNDCP_SAP-LLCSourcemcu/ps/sndcp,NAS LLC(8/12),Logical Link Control3GPP/ETSI specification04.64

15、SAPsLLC_GMM_SAP-GMMLLC_SNDCP_SAP-SNDCPLLC_SMS_SAP-SMSLLC_RLC_SAP-RLCSourcemcu/ps/llc,NAS PPP(9/12),Point to Point ProtocolRFC specification1661,1662,1332,1877,1334,1994Two RolesServer in GPRS dial-upClient in WAP over CSDSAPs(for GPRS dialup)PPP_L4C_SAP-L4C of L4PPP_TCM_SAP-TCM of L4Uart driver inte

16、rfaceSourcemcu/ps/ppp,NAS PPP in GPRS dial-up(10/12),Reference model in ETSI 07.60,NAS-PPP in WAP/CSD(11/12),SAPsPPP_TCPIP_SAP-TCPIPPPP_TDT_SAP-TDTL2R_PPP_SAP-L2R,NAS PPP of Two roles(12/12),Why not two tasks?Save stack,Task control block,etc.Priority of PPP TaskPPP is in lower layer than WAP and TC

17、P/IP in WAP/CSD,WAP is the same position as MMI In GPRS Dial-up PPP has nothing to do with MMI,but busty GPRS data may affect MMI if PPP has higher priority than MMISolution:make PPP lower priority,and rise it when needed.Is it possible that two modes of it are active at the same time?Yes,Data Task,

18、Data RLP(1/3),Radio Link Protocol3GPP/ETSI specification24.022SAPsL2R_RLP_SAP-L2RRLP_RA_SAP-L1(callback)Sourcemcu/ps/data/rlp,Data-L2R(2/3),Layer 2 Relay3GPP/ETSI specification27.001,27.002SAPsCSM_L2R_SAP CSM of L4L2R_RLP_SAP-L2RPPP_L2R_SAP-PPPUART driverSourcemcu/ps/data/l2r,Data TDT(3/3),Transpare

19、nt Data Transfer3GPP/ETSI specification27.001,27.002SAPsCSM_TDT_SAP CSM of L4PPP_TDT_SAP-PPPLayer1Sourcemcu/ps/data/tdt,SIM,SIM managerSIM Application Toolkit3GPP/ETSI Specifications11.11,11.14SAPsSIM_PS_SAP-to all modulesFunction interface with SIM driverSourcemcu/ps/sim,AS(RR),Access Stratum,RR,Ra

20、dio ResourceMost modules are in RR task3GPP/ETSI Specifications03.22,04.18,04.60,05.02,05.08,RR-RRM(1/10),Radio Resource Management InitPower on PLMN SelectionCell selectionManual PLMN SelectionHome PLMN SearchRecovery to normal serviceSAPsRRM_RMPC_SAP RMPCMM_AS_SAP MMSourcemcu/ps/rr/rrm,RR-RMPC(2/1

21、0),Radio Resource Management on CCCH or PCCCHDecision rule:SI13 will indicate if P channel is supported in the cellIdle ModeMonitor(packet)system information on BCCH or PBCCHPerform cell reselectionPerform(packet)channel access on CCCH or PCCCHResponse to(packet)paging messages on CCCH or PCCCH,RR-R

22、MPC(3/10),Dedicated modeMeasurements on SDCCH/TCHMonitoring neighboring cellsMonitor System Information on SACCHPerform cell reselection(NW initiated)Dedicated mode proceduresSAPsMMI_AS_SAP MMISMSAL_AS_SAP SMSALMM_AS_SAP MMRRM_RMPC_SAP RRMRMC_LAPDM_SAP RMC,RR-RMPC(4/10),RLC_RMPC_SAP RLCMAC_RMPC_SAP

23、MACRMPC_MPAL_SAP-MPALSourcemcu/ps/rr/rmpmcu/ps/rr/rmcmcu/ps/rr/src,RR-LAPDm(5/10),Layer 2Provide SAPI0/SAPI3 connectionsTransfer layer 3 messageSequence controlSegmentation and re-assembly of framesSAPsRMC_LAPDM_SAP RMCLAPDM_MPAL_SAP MPALSourcemcu/ps/rr/lapdm,Mobile Physical Abstraction LayerAdaptat

24、ion to L1SAPsRRM_MPAL_SAP RRMRMPC_MPAL_SAP RMPCMAC_MPAL_SAP MACSourcemcu/ps/rr/mpal,RR-MPAL(6/10),RR-RLC(7/10),Radio Link ControlRequest TBF establishment or releaseSegmentation of LLC PDUsAcknowledged/Unacknowledged data transferSAPsLLC_RLC_SAP LLCRLC_REASM_SAP REASMRLC_MAC_SAP MACRLC_RMPC_SAP RMPC

25、Sourcemcu/ps/rr/rlc,ReassembleTo put non realtime constraint task into another TaskRe-assemble Downlink RLC/MAC blocksSAPsLLC_RLC_SAP LLCRLC_REASM_SAP REASMSourcemcu/ps/rr/rlc,Reasm(8/10),RR-MAC(9/10),Medium Access ControlHandling TBF establishment and releaseTransfer or receive RLC data blocksHandl

26、ing control messages received on PACCHPacket Resource Request,Packet PDCH release and etcForward PMO or PCCO to RMPCHandling PSI messages received on PACCHSending Packet Measurement Report on PACCH,SAPsRLC_MAC_SAP RLCMAC_RMPC_SAP RMPCMAC_MPAL_SAP MPALSourcemcu/ps/rr/mac,RR-MAC(10/10),Outline,GSM/GPR

27、S Protocol Stack ArchitectureCommon ProceduresPower OnLocation UpdateMO callGPRS AttachPDP context ActivationTBF Operation,Power On Procedure,ConditionPower on by long press Power keyAll tasks are created and initialized when the target is powered,but only if“long”press was detected,power on procedu

28、re will beginPlayersSIM,L4NVRAM,MM,RR,Power On-1,Read all necessary EFs,Power On-2,Read NVRAM via L4C,If Not Flight Mode,Power On-3,Read IMEI,MSCAP,etc.,Read from NVRAM,Search Any Cell,Power On-4,Read all security record from NVRAM,Check Phone Lock,Start SIM Driver,Power On-5,Input PIN,Personalizati

29、on Lock Handling,Power On-6,Initialize SMS Service Parameter,Read LDN,Power On-7,Read all EFs for MM/RR,Search Normal Service,Power On-8,Read SMS,Location Update,ConditionA suitable cell was found when power on PLMN selectionPlayersMM,RRL4C,RAC,Location Update-1,Location Update-2,Location Update-3,M

30、O call,ConditionA normal service cell is camped-onPlayersL4C,CSM,CC,MM,RRMMI,UEM,PHB,MO call-1,Check ECC&PHB,MO Call-2,MO call-3,TCH Assigned,MO call-4,Attach User Speech,GPRS Attach,ConditionMS is idle in a cell that supports GPRSMS is requested for GPRS Attach by AT commandPlayersL4C,RAC,MM,LLC,RR

31、,GPRS Attach 1,Read SI13/PSI1,GPRS Attach-2,PDP Context Activation,ConditionGPRS AttachedPDP Context activation is triggered by dial-up from PCPlayersL4C,TCM,PPP,SMLLC,MM,RR,PDP Context Activation 1,Atd*99#,(UART)LCP/PAP/IPCP,PDP Context Activation 2,(UART)IPCP ACK,PDP Context Activation 3,Read PPP

32、frame from UART,Write PPP frame from UART,Uplink TBF Operation,ConditionIdle state,GPRS service is availableOne uplink LL-PDUOne-phase accessPlayersRLC,MAC,RMC,MPAL,REASMLLC,L1,UL TBF 1,UL TBF 2,UL TBF 3,ConditionIdle state.GPRS service is available.One downlink LL-PDUPlayersRLC,MAC,RMC,MPAL,REASM,LLC,L1,Downlink TBF Operation,DL TBF 1,DL TBF 2,Q&A,

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

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号