GSM短消息协议汪晓阳•GSM电路域协议•GPRS协议•GSM短消息协议•GSM补充业务协议课程计划内容提要•概述•点对点短消息•小区广播短消息概述—短消息业务概述—网络结构(PP)概述—网络结构(CB)内容提要•概述•点对点短消息•小区广播短消息PP—协议PP—无线接口电路域协议PP—无线接口GPRS协议PP—信道GSM电路域:GPRS:PDTCHPP—层二•当有MO短消息时MS发起SAPI3应答模式的建立•当有MT短消息时网络发起SAPI3应答模式的建立GSM电路域:GPRS:•GPRS使用LLC非应答模式帧传输,在LLC层用SAPI7标识SMS逻辑链路实体(LLE)PP—CM子层(MO)SM-RLSM-RLCMMMMMCMMNSMS-EST-Req(RP-DATA)MMSMS-EST-ReqMMSMS-EST-ConfMMSMS-EST-IndMNSMS-EST-Ind(RP-DATA)CP-DATACP-ACKMNSMS-DATA-Req(RP-ACK)CP-DATACP-ACKMNSMS-DATA-Ind(RP-ACK)MNSMS-REL-ReqMNSMS-REL-ReqMMSMS-REL-ReqMMSMS-REL-ReqNetworkSideMobileStationSidePP—CM子层(MT)SM-RLSM-RLCMMMMMCMMMSMS-EST-ReqMMSMS-EST-ConfCP-DATACP-ACKMNSMS-EST-Req(RP-DATA)CP-DATACP-ACKMNSMS-EST-Ind(RP-DATA)MNSMS-REL-ReqMNSMS-REL-ReqMMSMS-REL-ReqMMSMS-REL-ReqMMSMS-EST-IndMNSMS-DATA-Req(RP-ACK)MNSMS-DATA-Ind(RP-ACK)NetworkSideMobileStationSidePP—CM子层(GPRSMO)SM-RLSM-RLCMLLCCMMNSMS-EST-Req(RP-DATA)MNSMS-EST-Ind(RP-DATA)LLC-UI(CPDATA)MNSMS-DATA-Req(RP-ACK)MNSMS-DATA-Ind(RP-ACK)NetworkSideMobileStationSideLLCLL-UNITDATA-Req(TLLI,CPDATA)LL-UNITDATA-Ind(TLLI,CPDATA)LL-UNITDATA-Ind(TLLI,CPDATA)LL-UNITDATA-Req(TLLI,CPDATA)LL-UNITDATA-Req(TLLI,CPACK)LL-UNITDATA-Ind(TLLI,CPACK)LL-UNITDATA-Req(TLLI,CPACK)LL-UNITDATA-Ind(TLLI,CPACK)LLC-UI(CPDATA)LLC-UI(CPACK)LLC-UI(CPACK)MNSMS-REL-reqMNSMS-REL-reqPP—CM子层(GPRSMT)SM-RLSM-RLCMLLCCMNetworkSideMobileStationSideLLCLL-UNITDATA-Req(TLLI,CPDATA)LL-UNITDATA-Ind(TLLI,CPDATA)LL-UNITDATA-Ind(TLLI,CPDATA)LL-UNITDATA-Req(TLLI,CPDATA)LL-UNITDATA-Req(TLLI,CPACK)LL-UNITDATA-Ind(TLLI,CPACK)LL-UNITDATA-Req(TLLI,CPACK)LL-UNITDATA-Ind(TLLI,CPACK)MNSMS-EST-Req(RPDATA)MNSMS-EST-Ind(RPDATA)MNSMS-DATA-Req(RPACK)MNSMS-DATA-Ind(RPACK)LLC-UI(CPDATA)LLC-UI(CPDATA)LLC-UI(CPACK)LLC-UI(CPACK)MNSMS-REL-reqMNSMS-REL-reqPP—CM子层(消息1)PP—CM子层(消息2)PP—SM-RL(MO)SM-TLRLSM-RLCMCMSM-RLSM-RL-DATA-Req(SMS-SUBMIT)SM-RL-DATA-Ind(SMS-SUBMIT)RP-DATASM-RL-REPORT-ReqRP-ACKSM-RL-REPORT-IndMobileStationSideNetworksidePP—SM-RL(MT)SM-TLRLSM-RLCMCMSM-RLSM-RL-REPORT-IndRP-DATASM-RL-DATA-Req(SMS-DELIVER)RP-ACKSM-RL-DATA-Ind(SMS-DELIVER)MobileStationSideNetworksideSM-RL-REPORT-ReqPP—SM-RL(内存有空通知)SM-TLRLSM-RLCMCMSM-RLSM-RL-MEMORYAVAILABLE-ReqSM-RL-MEMORY-AVAILABLE-IndRP-SMMASM-RL-REPORT-ReqRP-ACK/RP-ERRORSM-RL-REPORT-IndMobileStationSideNetworksidePP—SM-RL(内存有空通知中止)SM-TLRLSM-RLCMCMSM-RLSM-RL-MEMORYAVAILABLE-ReqSM-RL-REPORT-IndMobileStationSideNetworksideSM-RL-MEMORYAVAILABLE-Req(SMS-MEM-NOTIF-ABORT)SM-RL-MEMORY-AVAILABLE-IndRP-SMMASM-RL-REPORT-ReqRP-ACK/RP-ERRORPP—SM-RL(消息1)MTRP-DATA233序号,用于把RP-ACK或RP-ERROR消息与RP-DATA或RP-SMMA消息相关联SC地址232PP—SM-RL(消息2)MORP-DATA233SC地址234234PP—SM-TLSM-TL包含六类PDU:•SMS-DELIVER从短信中心(SC)传送短消息到终端(MS)•SMS-DELIVER-REPORT对SMS-DELIVER或SMS-STATUS-REPORT的应答或报错•SMS-SUBMIT从终端(MS)传送短消息到短信中心(SC)•SMS-SUBMIT-REPORT对SMS-SUBMIT或SMS-COMMAND的应答或报错•SMS-STATUS-REPORT从短信中心(SC)传送状态报告到终端(MS)•SMS-COMMAND从终端(MS)传送命令到短信中心(SC)PP—SMS-DELIVER0:SC还有更多短消息要发给MS1:存在回复路径1:TP-UD包含头1:要求回状态报告PP—TP-UD(1)PP—TP-UD(2)PP—SMS-DELIVER-REPORTforRP-ACKPP—SMS-DELIVER-REPORTforRP-ERRORPP—SMS-SUBMIT0:接受1:拒绝00:TP-VP不存在10:TP-VP存在-相对01:TP-VP存在-增强11:TP-VP存在-绝对1:要求状态报告PP—SMS-SUBMIT-REPORTforRP-ACKPP—SMS-SUBMIT-REPORTforRP-ERRORPP—SMS-STATUS-REPORT0:SMS-SUBMIT1:SMS-COMMANDPP—SMS-COMMAND内容提要•概述•点对点短消息•小区广播短消息CB—CBS消息一条CBS消息可有最多15个CBSpage级连而成一条CBS消息内的每个CBSpage有相同的messageidentifier(表示消息来源和类型)和相同的serialnumberCB—CBSpageBit0-3:CBS消息的总page数Bit4-7:pagenumberCB—消息发送(1)一个CBSpage88字节,分割成4个22字节消息块,分四次发送分割由BSC实现一个CBSpage88字节,分割成4个22字节消息块,分四次发送分割由BTS实现CB—消息发送(2)CB—信道消息块在基本CBCH或扩展CBCH上发送CB—消息块LinkProtocolDiscriminator必须取值“01”LastBlock0:下一块含SMSCB信息1:余下块不含SMSCB信息CB—调度消息一条调度消息包含四个块:firstscheduleblock,secondblock,thirdblock,fourthblock不足88字节用十六进制“2B”填充在消息末尾取值“1”此messageslot包含SMSCBpage为“new”结束—欢迎批评指正!ThankYou!