SMS流程分析Word下载.docx
《SMS流程分析Word下载.docx》由会员分享,可在线阅读,更多相关《SMS流程分析Word下载.docx(26页珍藏版)》请在冰点文库上搜索。
3.7 优先级(Priority) 9
4 短消息流程 9
4.1移动始发短消息的基本流程 9
4.2移动终结短消息的基本流程 12
5 短消息异常流程 14
5.1 短消息网关错误(GT码错误……) 14
5.3 MSC或SGSN错误(MSC号段GT错误,未做……) 15
5.4 VLR信息获取错误 16
5.5 RR侧的错误(无寻呼,数据传输时丢失) 17
6 短消息提醒流程 20
6.1 可及通知流程 20
6.2 MS内存可用通知流程 21
7 协议层次 22
8 短消息传递时使用的信道 23
9 SMS的无线接口协议 23
9.1 ShortMessageTransferLayer(SM-TL) 23
9.2 ShortMessageRelayLayer(SM-RL) 24
9.3 CM-sublayer 27
1Reference
0411700 Point-to-pointshortmessageservicesupportonmobileradiointerface0340720 TechnicalrealizationoftheShortMessageService(SMS)
0341610 ShortMessageServiceCellBroadcast
0412600 ShortMessageServiceCellBroadcast(SMSCB)supportonthemobileradiointerface0339600 InterfaceprotocolsfortheconnectionofShortMessageServiceCentres(SMSCs)to
ShortMessageEntities(SMEs)
2Definitions
activeMS:
Aswitched-onmobilestationwithaSIM/UICCsee3GPPTS31.101[31]moduleattached.
alert-SC:
ServiceelementprovidedbyaGSM/UMTSPLMNtoinformanSCwhichhaspreviouslyinitiatedunsuccessfulshortmessagedeliveryattempt(s)toaspecificMS,thattheMSisnowrecognizedbythePLMNtohaverecoveredoperation.
statusreport:
SCinformingtheoriginatingMSoftheoutcomeofashortmessagesubmittedtoanSME.
GatewayMSCForShortMessageService(SMS-GMSC):
AfunctionofanMSCcapableofreceivingashortmessagefromanSC,interrogatinganHLRforroutinginformationandSMSinfo,anddeliveringtheshortmessagetotheVMSCortheSGSNoftherecipientMS.
InterworkingMSCForShortMessageService(SMS-IWMSC):
AfunctionofanMSCcapableofreceivingashortmessagefromwithinthePLMNandsubmittingittotherecipientSC.
Messages-Waiting(MW):
ServiceelementthatmakesaPLMNstoreinformation
(Messages-Waiting-Indication),listingthoseSCsthathavemadeunsuccessfulshortmessagedeliveryattemptstoMSsinthatPLMN.
Messages-Waiting-Indication(MWI):
DatatobestoredintheHLRandVLRwithwhichanMSisassociated,indicatingthatthereisoneormoremessageswaitinginasetofSCstobedeliveredtotheMS(duetounsuccessfuldeliveryattempt(s)).
Messages-Waiting-Data(MWD):
ApartoftheMWItobestoredintheHLR.MWDconsistsofanaddresslistoftheSCswhichhavemessageswaitingtobedeliveredtotheMS.
Mobile-servicesSwitchingCentre(MSC):
TheMobile-servicesSwitchingCentreisanexchangewhichperformsswitchingfunctionsformobilestationslocatedinageographicalareadesignatedastheMSCarea.
Mobile-Station-Memory-Capacity-Exceeded-Flag(MCEF):
ApartoftheMWItobestoredintheHLR.MCEFisaBooleanparameterindicatingiftheaddresslistofMWDcontainsoneormoreentriesbecauseanattempttodeliverashortmessagetoanMShasfailedwithacauseofMSMemoryCapacityExceeded.
Mobile-Station-Not-Reachable-Flag(MNRF):
ThepartoftheMWItobestoredintheVLRandtheHLR.MNRFisaBooleanparameterindicatingiftheaddresslistofMWDcontainsoneormoreentriesbecauseanattempttodeliverashortmessagetoanMShasfailedwithacauseofAbsentSubscriber.
Mobile-station-Not-Reachable-for-GPRS(MNRG):
ThepartoftheMWItobestoredintheSGSNandtheHLR.MNRGisaBooleanparameterindicatingiftheaddresslistofMWDcontainsoneormoreentriesbecauseanattempttodeliverashortmessagetoanMShasfailedwithacauseofAbsentSubscriber.
Mobile-Station-Not-Reachable-Reason(MNRR):
ThepartoftheMWIintheHLRwhichstoresthereasonforanMSbeingabsentwhenanattempttodeliverashortmessagetoanMSfailsattheMSCwithacauseofAbsentSubscriber.
More-Messages-To-Send(MMS):
InformationelementofferinganMSreceivingashortmessagefromanSCtheinformationwhethertherearestillmoremessageswaitingtobesentfromthatSCtotheMS.TheTP-MMSelement(conveyedintheTransferlayer)iscopiedintotheRP-MMSelement(conveyedintheRelaylayer).ItispossiblewithPhase2andlaterversionsofMAP(3GPPTS29.002[15])fortheRP-MMSelementtokeepanSMtransactionopenbetweentheGMSCandtheMSinthecasewheretherearemore-messages-to-send.EarlierversionsofMAPsupportthetransportofthe
TP-MMSelement.
priority:
ServiceelementenablingtheSCorSMEtorequestashortmessagedeliveryattempttoanMSirrespectiveofwhetherornottheMShasbeenidentifiedastemporarilyabsent.
protocol-identifier:
Informationelementbywhichtheoriginatorofashortmessage(eitheranSCoranMS)mayrefertoahigherlayerprotocol.
replypathprocedure:
AmechanismwhichallowsanSMEtorequestthatanSCshouldbepermittedtohandleareplysentinresponsetoamessagepreviouslysentfromthatSMEtoanotherSME.ThismayhappeneventhoughtheSCmaybeunknowntotheSMEwhichreceivedtheinitialmessage.
report:
ResponsefromeitherthenetworkortherecipientuponashortmessagebeingsentfromeitheranSCoranMS.Areportmaybeadeliveryreport,whichconfirmsthedeliveryoftheshortmessageto
therecipient,oritmaybeafailurereport,whichinformstheoriginatorthattheshortmessagewasneverdeliveredandthereasonwhy.
WhenissuedbytheServiceCentre,thedeliveryreportconfirmsthereceptionoftheShortMessagebytheSC,andnotthedeliveryoftheShortMessagetotheSME.
WhenissuedbytheMobileStation,thedeliveryreportconfirmsthereceptionoftheShortMessagebytheMobileStation,andnotthedeliveryoftheShortMessagetotheuser.
replaceshortmessagetype:
ArangeofvaluesintheProtocolIdentifierwhichallowsanindicationtobesentwithashortmessage(MTorMO)thattheshortmessageisofaparticulartypeallowingthereceivingMSortheSCtoreplaceanexistingmessageofthesametypeheldintheSC,theMEorontheSIM/UICC,provideditcomes:
-inMTcases:
fromthesameSCandoriginatingaddress;
-inMOcases:
fromthesameMS.
ServiceCentre(SC):
Functionresponsiblefortherelayingandstore-and-forwardingofashortmessagebetweenanSMEandanMS.TheSCisnotapartoftheGSM/UMTSPLMN,howeverMSC
andSCmaybeintegrated.(短信业务中心,主要就是在SME和MS之间层递,存储转发短信,
一般情况下他时短消息数据库)。
ServingGPRSSupportNode(SGSN):
TheServingGPRSSupportNodeisanexchangewhichperformspacketswitchingfunctionsformobilestationslocatedinageographicalareadesignatedastheSGSNarea.
shortmessage:
InformationthatmaybeconveyedbymeansoftheShortMessageServicedescribedinthepresentdocument.
ShortMessageEntity(SME):
AnentitywhichmaysendorreceiveShortMessages.TheSMEmaybelocatedinafixednetwork,anMS,oranSC.(可以接受和发送短信的实体,他存在与SC和MS中)
SMS-STATUS-REPORT:
ShortmessagetransferprotocoldataunitinformingthereceivingMSofthestatusofamobileoriginatedshortmessagepreviouslysubmittedbytheMS,i.e.whethertheSCwasabletoforwardthemessageornot,orwhetherthemessagewasstoredintheSCforlaterdelivery.
SMS-COMMAND:
ShortmessagetransferprotocoldataunitwhichenablesanMStoinvokeanoperationattheSC.AnMSmaythen,forexample,deleteashortmessage,cancela
TP-Status-Report-Request,enquireaboutthestatusofashortmessageorrequestanotherfunctiontobeperformedbytheSC.
ThetypeofoperationisindicatedbytheTP-Command-TypeandtheparticularSMtooperateonisindicatedbytheTP-Message-NumberandtheTP-Destination-Address.Receiptofan
SMS-COMMANDisconfirmedbyanRP-ACKorRP-ERROR.InthecaseofcertainSMS-COMMANDs,anSMS-STATUS-REPORTmaybesent,wheretheoutcomeoftheSMS-COMMANDispassedinitsTP-Statusfield.
SMS-DELIVER:
Shortmessagetransferprotocoldataunitcontaininguserdata(theshortmessage),beingsentfromanSCtoanMS.
SMS-SUBMIT:
Shortmessagetransferprotocoldataunitcontaininguserdata(theshortmessage),beingsentfromanMStoanSC.
Service-Centre-Time-Stamp(SCTS):
InformationelementofferingtherecipientofashortmessagetheinformationofwhenthemessagearrivedattheSM-TLentityoftheSC.Thetimeofarrivalcomprisestheyear,month,day,hour,minute,secondandtimezone.
Validity-Period(VP):
InformationelementenablingtheoriginatorMStoindicatethetimeperiodduringwhichtheoriginatorconsiderstheshortmessagetobevalid.
3短消息的业务信元
短消息由7个业务信元组成,他们是如下
3.1有效周期(ValidityPeriod)
是一个InformationElement(IE),此信元是MS在传递SMS-SUBMIT消息到SC时,在短消息内容时可能包含了一个时间周期值(TP-ValidityPeriod),这个表明了多少时间在短消息中心是有效的,也就是在有效周期内SC中心保证此短信是有效的。
此消息是MO手机上设置的。
3.2业务中心时间戳(ServiceCentreTimeStamp)
是一个InformationElement(IE),SC通过此信息元通知接收MS关于一个有效的短消息时间在SM-TL协议实体SC。
这个消息被包含在SMS-DELIVR,并被派发到MS中,用来表明此短消息是SC什么时候发给MS的。
此消息可以在接收短消息上可以查看。
3.3协议标识(ProtocolIdenitifier)
是一个InformationElement(IE),此信息元给SM-TL使用,不是提及的高层协议,就是某种交互的特定电信设备。
3.4多条短消息的发送(MoreMessagetosend)
是一个InformationElement(IE),此信息元是SC通知MS说明SC内有多条SMS需要发送给
MS,是一个布尔参数,承载在SMS-DELIVER消息中。
3.5提醒短消息中心(AlertingSC)
是一个业务信元(ServiceElement),他标识PLMN有一个能力通知SC,这个MS由于用户不可及,手机内存满导致MS无法正常的短消息,而MS在可以及和有手机有新的内存的时候,HLR通过Alerting-SC通知SC在此发送短消息。
3.6消息等待(MessageWait)
消息等待是一个业务信元(ServiceElement),允许PLMN上提供给HLR、VLR、SGSN一种能力,使主叫短信等待派送到被叫MS上。
这仅仅在MT先前发送不成功的情况下使用,如暂时缺席,内存满。
此信息元被标识为MessageWaitIndication(MWI),MWI由MessageWaitData
(MWD),MobileStationNotReachableFlag(MNRF),MobileStationNotReachableforGPRS
(MNRG),MobileStationNotReachableReason(MNRR