欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    GSM协议栈原理.ppt

    • 资源ID:70724684       资源大小:626KB        全文页数:81页
    • 资源格式: PPT        下载积分:11.9金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要11.9金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    GSM协议栈原理.ppt

    GSM/GPRS Protocol Stack ArchitectureVito TaiOutlinenGSM/GPRS Protocol Stack ArchitecturenIntroduce the architecture and all modules of Protocol stacknCommon ProceduresnIncludes general procedures,like LU,MO call,GPRS ATTACH,and etc.,for illustration of the functionality and interaction of modules of Protocol stack.OutlinenGSM/GPRS Protocol Stack ArchitecturenIntroductionnL4nNASnASnDatanSIMnCommon ProceduresIntroduction:Task v.s.ModulenOne Module implements one layer or groups of functionalities.nTask is the unit of OS schedulingnThe communication between Modules is by Primitives(Messages)nMore overhead in inter-task communication nPut modules into one tasknShare common memorynLousy communicationsnShare the same prioritynOther considerationnGeneral priority arrangement:lower layer higher priorityTask1KALModule1Task2Module3Module2SAPMCDTSTSAPIntroduction:Task main while(1)receive_msg_ext_q(task_ext_qid,&current_ilm);process_ilm(&current_ilm);/*process external ILM*/while(receive_msg_int_q(task_entry_ptr-task_indx,&current_ilm)process_ilm(&current_ilm);/*process internal ILM*/void process_ilm(ilm_struct*current_ilm)switch(current_ilm-dest_mod_id)case MOD_CSM:csm_main(current_ilm);break;/while(1)receive_msg_ext_q(task_ext_qid,&current_ilm);/*process external ILM*/mm_main(&current_ilm);free_ilm(&current_ilm);Multi-moduleMulti-moduleSingle-moduleSingle-moduleSAP headers:define message idsDriver interfaceASN file of CCHeader file of CCSource file of CCMcd_parser Generated header fileHeaders of common local structureHeaders of structures for primitivesHeaders of common used enumsASNs of common used and SS ACT FilesIntroduction:Directory StructureLayer 4nThe interface between PS and MMI/ATL4-L4C(1/9)nL4CnLayer 4 controllernCo-ordinate all L4 modules to perform the requests from AT or MMInInterfaces nThere are interfaces between all modules in L4nPPP_L4C_SAP -PPPnL4C_ABM_SAP-ABMnSourcenmcu/ps/l4/l4cL4-L4A&ATCI(2/9)nL4AnLayer 4 adaptationnTranslate function calls to primitives between MMI and L4C.nCode generated by tool base on an Excel filenSourcenmcu/ps/l4/l4anATCInSub-module of L4CnAT command InterpreternSourcenmcu/ps/l4/l4cL4 RAC(3/9)nRegistration Access ControlnGSM/GPRS registration managementnPLMN List/SelectionnCell power level reportnInterfacenL4C_RAC_SAP L4CnGMMREG_SAP MMnMMIAS_SAP-RMPCnSourcenmcu/ps/l4/racL4 TCM(4/9)nTerminal Context ManagementnHandle PDP context profilesnQoS,PDP address,PDP typesnRequest to activate PDP contextsnRelay of Data transfernInterfacesnTCM_L4C_SAP L4CnSMREG_SAP SMnSNDCP_REG_SAP-SNDCPnTCM_PPP_SAP PPPnTCM_TCPIP_SAP-TCPIPnSourcenmcupsl4tcmL4 SMSAL(5/9)nSMS Application LayernMessage box of ME&SIMnTransmitting and receiving SMSnCell Broadcast managementnInterfacesnSMSAL_L4C_SAP L4CnSMSAL_SOC_SAP SOCnMNSMS_SAP SMSnSMSAL_AS_SAP-RMPCnSourcenmcu/ps/l4/smsalL4 TCM/SMSAL in WAP/GPRS(6/9)nTCM will relay IP packets to SNDCP,and vice versa.nSMSAL forwards PUSH message to SocketL4 CSM(7/9)nCall Service ManagementnBearer Capability HandlingnCODEC attachment managementnCSD/Fax activation/deactivationnCall information maintainingnCall related SS handlingnInterfacesnCSM_L4C_SAP L4CnMNCC_SAP CCnCSM_TDT_SAP TDT of DatanCSM_L2R_SAP L2R of DatanMNSS_SAP-CISSnSourcenmcu/ps/l4/csmL4 SMU(8/9)nSecurity Management UnitnSecurity CheckingnPhone locknCHV1/CHV2nPersonalization(ETSI 02.22)nAutolocknInterfacesnSMU_L4C_SAP L4CnPS_SIM_SAP-SIMnSourcenmcu/ps/l4/smuL4-PHB&UEM(9/9)nPhonebooknIdentify Emergency callnPhonebook managementnUser Equipment ManagementnPeripheral managementNASnNon Access StratumNAS CISS(1/12)nCall Independent Supplemental Servicen3GPP/ETSI specifications:n22.08122.088,22.091,22.091,22.093,22.072nSAPsnMM_SS_SAP-MMnMNSS_SAP -CSM of L4nSourcenmcu/ps/cc-ss/ssNAS CC(2/12)nCall Controln3GPP/ETSI specificationsn24.008(Clause 5)nSAPsnMM_CC_SAP MMnMNCC_SAP -CSM of L4nSourcenmcu/ps/cc-ss/ccNAS SMS(3/12)nShort Message Servicen3GPP/ETSI specification:n23.040nSAPsnMM_SMS_SAP -MMnMNSMS_SAP -SMSAL of L4nLLC_SMS_SAP -LLC(GPRS-only)nSourcenmcu/ps/smsNAS-MM/GMM(4/12)nMobility Managementn3GPP/ETSI specificationn24.008(Clause 4)nSAPsnMM_CC_SAP -CCnMM_SS_SAP -CISSnMM_SMS_SAP-SMSnGMMREG_SAP RAC of L4nMM_AS_SAP -RRnGMM_SM_SAP-SMnLLC_GMM_SAP-LLCNAS-MM/GMM(5/12)nSourcenmcu/ps/mm/cmm -CS domainnmcu/ps/mm/pmm -PS domainnmcu/ps/mm/common -commonnSingle task,single Module,Two FSMsNAS SM(6/12)nSession Managementn3GPP/ETSI specification:n24.008(Clause 6)nSAPsnGMM_SM_SAP MMnSMREG_SAP -TCM of L4nSM_DATA_PLANE_SAP SNDCPnSourcenmcu/ps/smNAS SNDCP(7/12)nSubNetwork Dependency Convergence Protocoln3GPP/ETSI specificationn04.65nRFC1144(for TCP/IP header compression)nSAPsnSM_DATA_PLANE_SAP -SMnSM_REG_SAP -TCMnLLC_SNDCP_SAP -LLCnSourcenmcu/ps/sndcpNAS LLC(8/12)nLogical Link Controln3GPP/ETSI specificationn04.64nSAPsnLLC_GMM_SAP -GMMnLLC_SNDCP_SAP-SNDCPnLLC_SMS_SAP -SMSnLLC_RLC_SAP -RLCnSourcenmcu/ps/llcNAS PPP(9/12)nPoint to Point ProtocolnRFC specificationn1661,1662,1332,1877,1334,1994nTwo RolesnServer in GPRS dial-upnClient in WAP over CSDnSAPs(for GPRS dialup)nPPP_L4C_SAP -L4C of L4nPPP_TCM_SAP -TCM of L4nUart driver interfacenSourcenmcu/ps/pppNAS PPP in GPRS dial-up(10/12)nReference model in ETSI 07.60NAS-PPP in WAP/CSD(11/12)nSAPsnPPP_TCPIP_SAP -TCPIPnPPP_TDT_SAP -TDTnL2R_PPP_SAP -L2RNAS PPP of Two roles(12/12)nWhy not two tasks?nSave stack,Task control block,etc.nPriority of PPP TasknPPP is in lower layer than WAP and TCP/IP in WAP/CSD,WAP is the same position as MMIn In GPRS Dial-up PPP has nothing to do with MMI,but busty GPRS data may affect MMI if PPP has higher priority than MMInSolution:make PPP lower priority,and rise it when needed.nIs it possible that two modes of it are active at the same time?nYesData TaskData RLP(1/3)nRadio Link Protocoln3GPP/ETSI specificationn24.022nSAPsnL2R_RLP_SAP -L2RnRLP_RA_SAP -L1(callback)nSourcenmcu/ps/data/rlpData-L2R(2/3)nLayer 2 Relayn3GPP/ETSI specificationn27.001,27.002nSAPsnCSM_L2R_SAP CSM of L4nL2R_RLP_SAP -L2RnPPP_L2R_SAP -PPPnUART drivernSourcenmcu/ps/data/l2rData TDT(3/3)nTransparent Data Transfern3GPP/ETSI specificationn27.001,27.002nSAPsnCSM_TDT_SAP CSM of L4nPPP_TDT_SAP -PPPnLayer1nSourcenmcu/ps/data/tdtSIMnSIM managernSIM Application Toolkitn3GPP/ETSI Specificationsn11.11,11.14nSAPsnSIM_PS_SAP -to all modulesnFunction interface with SIM drivernSourcenmcu/ps/simAS(RR)nAccess StratumRRnRadio ResourcenMost modules are in RR taskn3GPP/ETSI Specificationsn03.22,04.18,04.60,05.02,05.08RR-RRM(1/10)nRadio Resource Management InitnPower on PLMN SelectionnCell selectionnManual PLMN SelectionnHome PLMN SearchnRecovery to normal servicenSAPsnRRM_RMPC_SAP RMPCnMM_AS_SAP MMnSourcenmcu/ps/rr/rrmRR-RMPC(2/10)nRadio Resource Management on CCCH or PCCCHnDecision rule:SI13 will indicate if P channel is supported in the cellnIdle ModenMonitor(packet)system information on BCCH or PBCCHnPerform cell reselectionnPerform(packet)channel access on CCCH or PCCCHnResponse to(packet)paging messages on CCCH or PCCCHRR-RMPC(3/10)nDedicated modenMeasurements on SDCCH/TCHnMonitoring neighboring cellsnMonitor System Information on SACCHnPerform cell reselection(NW initiated)nDedicated mode proceduresnSAPsnMMI_AS_SAP MMInSMSAL_AS_SAP SMSALnMM_AS_SAP MMnRRM_RMPC_SAP RRMnRMC_LAPDM_SAP RMCRR-RMPC(4/10)nRLC_RMPC_SAP RLCnMAC_RMPC_SAP MACnRMPC_MPAL_SAP-MPALnSourcenmcu/ps/rr/rmpnmcu/ps/rr/rmcnmcu/ps/rr/srcRR-LAPDm(5/10)nLayer 2nProvide SAPI0/SAPI3 connectionsnTransfer layer 3 messagenSequence controlnSegmentation and re-assembly of framesnSAPsnRMC_LAPDM_SAP RMCnLAPDM_MPAL_SAP MPALnSourcenmcu/ps/rr/lapdmMobile Physical Abstraction LayerAdaptation to L1SAPsRRM_MPAL_SAP RRMRMPC_MPAL_SAP RMPCMAC_MPAL_SAP MACSourcemcu/ps/rr/mpalRR-MPAL(6/10)RR-RLC(7/10)nRadio Link ControlnRequest TBF establishment or releasenSegmentation of LLC PDUsnAcknowledged/Unacknowledged data transfernSAPsnLLC_RLC_SAP LLCnRLC_REASM_SAP REASMnRLC_MAC_SAP MACnRLC_RMPC_SAP RMPCnSourcenmcu/ps/rr/rlcReassembleTo put non realtime constraint task into another TaskRe-assemble Downlink RLC/MAC blocksSAPsLLC_RLC_SAP LLCRLC_REASM_SAP REASMSourcemcu/ps/rr/rlcReasm(8/10)RR-MAC(9/10)nMedium Access ControlnHandling TBF establishment and releasenTransfer or receive RLC data blocksnHandling control messages received on PACCHnPacket Resource Request,Packet PDCH release and etcnForward PMO or PCCO to RMPCnHandling PSI messages received on PACCHnSending Packet Measurement Report on PACCHSAPsRLC_MAC_SAP RLCMAC_RMPC_SAP RMPCMAC_MPAL_SAP MPALSourcemcu/ps/rr/macRR-MAC(10/10)OutlinenGSM/GPRS Protocol Stack ArchitecturenCommon ProceduresnPower OnnLocation UpdatenMO callnGPRS AttachnPDP context ActivationnTBF OperationPower On ProcedurenConditionnPower on by long press Power keynAll tasks are created and initialized when the target is powered,but only if“long”press was detected,power on procedure will beginnPlayersnSIM,L4nNVRAM,MM,RRPower On-1Read all necessary EFs Power On-2Read NVRAM via L4CIf Not Flight ModePower On-3Read IMEI,MSCAP,etc.Read from NVRAMSearch Any CellPower On-4Read all security record from NVRAMCheck Phone LockStart SIM Driver Power On-5Input PIN Personalization Lock Handling Power On-6Initialize SMS Service Parameter Read LDNPower On-7Read all EFs for MM/RRSearch Normal ServicePower On-8Read SMSLocation UpdatenConditionnA suitable cell was found when power on PLMN selectionnPlayersnMM,RRnL4C,RACLocation Update-1Location Update-2Location Update-3MO callnConditionnA normal service cell is camped-onnPlayersnL4C,CSM,CC,MM,RRnMMI,UEM,PHBMO call-1Check ECC&PHBMO Call-2MO call-3TCH Assigned MO call-4Attach User SpeechGPRS AttachnConditionnMS is idle in a cell that supports GPRSnMS is requested for GPRS Attach by AT commandnPlayersnL4C,RAC,MM,LLC,RRGPRS Attach 1Read SI13/PSI1GPRS Attach-2PDP Context ActivationnConditionnGPRS AttachednPDP Context activation is triggered by dial-up from PCnPlayersnL4C,TCM,PPP,SMnLLC,MM,RRPDP Context Activation 1Atd*99#(UART)LCP/PAP/IPCPPDP Context Activation 2(UART)IPCP ACKPDP Context Activation 3Read PPP frame from UARTWrite PPP frame from UARTUplink TBF OperationnConditionnIdle state,GPRS service is availablenOne uplink LL-PDUnOne-phase accessnPlayersnRLC,MAC,RMC,MPAL,REASMnLLC,L1UL TBF 1UL TBF 2UL TBF 3ConditionIdle state.GPRS service is available.One downlink LL-PDUPlayersRLC,MAC,RMC,MPAL,REASM,LLC,L1Downlink TBF OperationDL TBF 1DL TBF 2Q&A

    注意事项

    本文(GSM协议栈原理.ppt)为本站会员(wuy****n92)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开