行動通訊簡訊及多媒體訊息 溫志宏 博士 吳承崧 博士 蘇暉凱 博士 國立中正大學電信研究中心 1 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Outlines 課程內容: GSM Introduction (3 hrs) GPRS Introduction (3 hrs) SMS & EMS (3 hrs) (Ref: 3GPP TS 23.040_MMS.pdf) MMS (9 hrs) (Ref: 3GPP TS 23.140_MMSFD.pdf) MMS Application (Java 2 Micro Edition) Programming (9 hrs) 實習: MMS Application (Java 2 Micro Edition) Programming (9 hrs) 2 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service The Short Message Service comprise two basic services SM MT (Short Message Mobile Terminated) SM MO (Short Message Mobile Originated) 3 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Basic Services:SM-MT and SM-MO 4 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements The SMS comprises 7 elements Validity-Period Service-Centre-Time-Stamp Protocol-Identifier More-Messages-to-Send Priority Messages-Waiting Alert-SC 5 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Validity-Period The Validity-Period is the information element which gives an MS submitting an SMS-SUBMIT to the SC the possibility to include a specific time period value in the short message. 6 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Service-Centre-Time-Stamp; The Service-Centre-Time-Stamp is the information element by which the SC informs the recipient MS about the time of arrival of the short message at the SM-TL entity of the SC. 7 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Protocol-Identifier The Protocol-Identifier is the information element by which the SM-TL either refers to the higher layer protocol being used, or indicates interworking with a certain type of telematic device. The Protocol-Identifier information element makes use of a particular field in the message types SMS-SUBMIT, SMS-SUBMIT-REPORT for RP-ACK SMS-DELIVER DELIVER SMS-DELIVER-REPORT for RP-ACK SMS_STATUS_REPORT SMS-COMMAND TP-Protocol-Identifier (TP-PID). 8 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements More-Messages-to-Send The More-Messages-to-Send is the information element by which the SC informs the MS that there is one or more messages waiting in that SC to be delivered to the MS. The More-Messages-to-Send information element makes use of a Boolean parameter in the message SMS-DELIVER TP-More-Messages-to-Send (TP-MMS) 9 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Priority Priority is the information element provided by an SC or SME to indicate to the PLMN whether or not a message is a priority message. 10 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Messages-Waiting The Messages-Waiting is the service element that enables the PLMN to provide the HLR, SGSN and VLR with which the recipient MS is associated with the information that there is a message in the originating SC waiting to be delivered to the MS. Messages-Waiting-Indication (MWI) Messages-Waiting-Data (MWD) The Mobile-station-Not-Reachable-for-GPRS (MNRG) The Mobile-Station-Not-Reachable-Flag (MNRF) The Mobile-Not-Reachable-Reason (MNRR) The Mobile-Station-Memory-Capacity-Exceeded-Flag (MCEF) located in the HLR The Mobile-station-Not Reachable-for-GPRS (MNRG) located in the SGSN The Mobile-Station-Not-Reachable-Flag (MNRF) located in the VLR. 11 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Messages-Waiting 12 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Short Message Service elements Alert-SC The Alert-SC is the service element, which may be provided by some GSM/UMTS PLMNs, to inform the SC that an MS 1) to which a delivery attempt has failed because the MS is not reachable or because the MS memory capacity was exceeded and 2) which is now recognized by the PLMN: a) to have resumed operation (e.g. to have responded to a paging request) or b) to have memory newly available (which implies that the mobile is reachable). is again ready to receive one or more short messages. The SC may - on reception of an Alert-SC - initiate the delivery attempt procedure for the queued messages destined for this MS. 13 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Status Report Capabilities The SMS also offers to the SC the capabilities of informing the MS of the status of a previously sent mobile originated short message. The status of the message can be: Successfully delivered to the SME The SC was not able to forward the message to the SME 14 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. SMS and Internet Electronic Mail interworking The interworking between Internet electronic mail and SMS is offered in both directions which enables new and old mobiles to send/receive Internet electronic mails via SMS. The interworking is according to the following procedures: An SMS message which is required to interwork with Internet email may have its TP-PID value set for Internet electronic mail; Either single or concatenated SMS can be used to transport the email; Concatenation may be achieved by the TPUDH mechanism. Alternatively, concatenation may be achieved using the text-based means described below; Email cc fields are not supported; Where multiple fields are present, additional spaces may be inserted by the sender to improve presentation of the message. Spaces may not be inserted into the actual email address (e.g. user@domain1.domain2). 15 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Enhanced Messaging Service The Enhanced Messaging Service (EMS) is based upon the standard SMS, but with formatting added to the text. The formatting may permit the message to contain Animations Predefined User Defined Extended Animations Pictures Basic Pictures Extended Pictures Melodies Predefined User Defined Extended Sounds Formatted text vCard vCalendar WVG objects. 16 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Basic Network Structure SME(Short Message Entity): An entity may receive or send short messages. The SME may be located in a fixed network, an MS or an SC. 17 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Basic Network Structure 18 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 1 Short Message 3 VLRISD SC/ SMS-GMSC HLR 2 SRI-SM 4 FSM 6 Report MSC/VLR 19 5 Message Delivery MS 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 20 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 21 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 22 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 23 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 24 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 25 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 26 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 27 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 28 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 29 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 30 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Terminated Short Message 31 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Originated Short Message SC/ SMS-IWMSC 3 Report 2 FSM MSC/VLR 32 1 Message Submission MS 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Originated Short Message 33 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Originated Short Message 34 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Originated Short Message 35 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Originated Short Message 36 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Mobile Originated Short Message 37 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Phone Not Available 2 Short Message SC/ SMS-GMSC HLR 3 SRI-SM 9 •Start Retry Procedure •Retry Procedure based on Error Type, Scheme, and Level 7 MWD 4 VLRISD 8 •Set MWD flag •Store SC address 5 FSM 6 Report (T_absent_detached) OFF MSC/VLR MS 38 1 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Phone Becomes Available SC/ SMS-GMSC 1 5 SC_Alert 6 SRI-SM HLR 7 VLRISD Destination SME in Retry mode 8 FSM 4 10 Report •Unset MWD flag •Send SC_Alert to SC 3 Location Update ON MSC/VLR 9 Message Delivery 39 MS 2 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Telepath SMSC Message Routing Destination Validation SMSC Customer Validation 6 5 4 7 Tx K 3 Address Translation File Source Address Validation 2 1 SM-MO 40 SMD 8 9 Rx 10 MSC MSC 11 SM-MT 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Telepath SMSC Messaging via GPRS 1 Short Message 3 SGSN+MSC Address HLR SMSC 2 SRI-SM 4 FSM Location Update Location Update MSC/VLR SGSN 5 GPRS Packets 41 MS 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. Telepath SMSC Messaging via GPRS 1 Short Message 4 3 SMSC 2 SRI-SM 6 error FSM SGSN 42 SGSN+MSC Address HLR 7 Attempt delivery via MSC 5 ? 8 MSC/VLR Message Delivery MS 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab. GSM Phase Negotiation 1 GSM Phase 2+ error MSC or HLR 2 GSM Phase 2 error SMSC 3 GSM Phase 1 GSM Phase 1 43 行動通訊簡訊及多媒體訊息 NCCU Wireless Comm. Lab.