1、 ETSI TS 123 040 V13.1.0 (2016-04) Digital cellular telecommunications system (Phase 2+) (GSM); Universal Mobile Telecommunications System (UMTS); Technical realization of the Short Message Service (SMS) (3GPP TS 23.040 version 13.1.0 Release 13) TECHNICAL SPECIFICATION GLOBAL SYSTEM FOR MOBILE COMM
2、UNICATIONSRETSI ETSI TS 123 040 V13.1.0 (2016-04)13GPP TS 23.040 version 13.1.0 Release 13Reference RTS/TSGC-0123040vd10 Keywords GSM,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Associat
3、ion but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print v
4、ersions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a
5、specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If y
6、ou find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and mi
7、crofilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2016. All right
8、s reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and ow
9、ned by the GSM Association. ETSI ETSI TS 123 040 V13.1.0 (2016-04)23GPP TS 23.040 version 13.1.0 Release 13Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publi
10、cly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI
11、Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or m
12、ay become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or GSM identities. These sh
13、ould be interpreted as being references to the corresponding ETSI deliverables. The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “m
14、ay“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI TS 123 040 V1
15、3.1.0 (2016-04)33GPP TS 23.040 version 13.1.0 Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 9g3Introduction 9g31 Scope 10g32 References 10g32.1 Definitions and abbreviations . 12g32.1.1 Definitions 12g32.1.2 Abbreviations 15g33 Services and se
16、rvice elements 15g33.1 Basic services . 15g33.2 Short Message Service elements 16g33.2.0 Introduction. 16g33.2.1 Validity-Period . 16g33.2.2 Service-Centre-Time-Stamp . 17g33.2.3 Protocol-Identifier . 17g33.2.4 More-Messages-to-Send . 17g33.2.5 Delivery of Priority and non-Priority Messages . 17g33.
17、2.6 Messages-Waiting . 18g33.2.7 Alert-SC 21g33.2.7a MT Correlation ID 21g33.2.8 Options concerning MNRG, MNRF, UNRI, MNRR-MSC, MNRR-SGSN, UNRR, MCEF and MWD 22g33.2.9 Status report capabilities . 23g33.2.10 Reply Path . 24g33.3 Unsuccessful short message TPDU transfer SC - MS 24g33.3.1 Errors occur
18、ring during transfer of TPDU to MS . 24g33.3.2 Errors occurring after TPDU arrives at MS 24g33.4 Unsuccessful short message TPDU transfer MS - SC 27g33.4.1 Errors occurring during transfer of TPDU to SC 27g33.4.2 Errors occurring after TPDU arrives at SC . 27g33.5 Use of Supplementary Services in co
19、mbination with the Short Message Service 27g33.6 Applicability of Operator Determined Barring to the Short Message Service . 28g33.7 Multiple short message transfer 28g33.8 SMS and Internet Electronic Mail interworking 28g33.8.1 Basic Format . 28g33.8.2 Optional Fields 29g33.8.2.1 Subject . 29g33.8.
20、2.2 Real Name . 29g33.8.2.3 Optional Control Flag . 29g33.8.3 Text concatenation 29g33.8.4 Alternative characters for Internet email addresses in MO SMS. . 30g33.9 SMS COMPRESSION . 30g33.10 Enhanced Messaging Service . 30g33.10.1 Text formatting . 31g33.10.2 Pictures . 31g33.10.3 Animations 31g33.1
21、0.4 Sound 32g33.10.5 vCard and vCalendar 32g33.10.6 WVG (Wireless Vector Graphics) Object 32g33.10.6.1 Overview of WVG Graphical Primitives 32g34 Network architecture 33g34.1 Basic network structure 33g3ETSI ETSI TS 123 040 V13.1.0 (2016-04)43GPP TS 23.040 version 13.1.0 Release 134.2 Transfer on re
22、ference point 3 . 34g35 Service Centre and PLMN interconnection 34g35.1 Service centre connection . 34g35.2 Routing requirements . 35g35.2.1 Mobile terminated short message . 35g35.2.2 Mobile originated short message 35g36 Service Centre functionality . 35g36.1 Service Centre capabilities . 35g36.2
23、SC functional requirements 35g36.2.1 Subaddressing support 36g36.2.2 Support for trigger SMS filtering for Tsms submissions 36g36.3 SC EMS Extended Object Data Request Command Feature . 36g37 MS functionality . 36g37.1 MS capabilities . 36g37.2 MS configuration 37g38 Node functionality 37g38.1 Node
24、functionality related to SM MT 37g38.1.1 Functionality of the SMS-GMSC . 37g38.1.2 Functionality of the MSC . 39g38.1.3 Functionality of the SGSN 40g38.1.4 Functionality of the SMS Router 41g38.1.5 Functionality of the IP-SM-GW . 42g38.2 Node functionality related to SM MO 42g38.2.1 Functionality of
25、 the MSC . 42g38.2.2 Functionality of the SMS-IWMSC . 43g38.2.3 Functionality of the SGSN 44g38.2.4 Functionality of the IP-SM-GW . 44g38.3 SMS-IWMSC functionality related to alerting . 44g39 Protocols and protocol architecture 44g39.1 Protocol element features . 45g39.1.1 Octet and Bit transmission
26、 order . 45g39.1.2 Numeric and alphanumeric representation . 45g39.1.2.1 Integer representation 45g39.1.2.2 Octet representation 46g39.1.2.3 Semi-octet representation 46g39.1.2.4 Alphanumeric representation 47g39.1.2.5 Address fields 47g39.2 Service provided by the SM-TL . 49g39.2.1 General 49g39.2.
27、2 PDU Type repertoire at SM-TL 49g39.2.2.1 SMS-DELIVER type 50g39.2.2.1a SMS-DELIVER-REPORT type 52g39.2.2.2 SMS-SUBMIT type 54g39.2.2.2a SMS-SUBMIT-REPORT type 57g39.2.2.3 SMS-STATUS-REPORT type 59g39.2.2.4 SMS-COMMAND type 61g39.2.3 Definition of the TPDU parameters 62g39.2.3.1 TP-Message-Type-Ind
28、icator (TP-MTI) . 62g39.2.3.2 TP-More-Messages-to-Send (TP-MMS) . 62g39.2.3.3 TP-Validity-Period-Format (TP-VPF) 63g39.2.3.4 TP-Status-Report-Indication (TP-SRI) 63g39.2.3.5 TP-Status-Report-Request (TP-SRR) 63g39.2.3.6 TP-Message-Reference (TP-MR) . 63g39.2.3.7 TP-Originating-Address (TP-OA) . 64g3
29、9.2.3.8 TP-Destination-Address (TP-DA). 64g39.2.3.9 TP-Protocol-Identifier (TP-PID) . 64g39.2.3.10 TP-Data-Coding-Scheme (TP-DCS) . 66g39.2.3.11 TP-Service-Centre-Time-Stamp (TP-SCTS) 66g39.2.3.12 TP-Validity-Period (TP-VP) . 67g3ETSI ETSI TS 123 040 V13.1.0 (2016-04)53GPP TS 23.040 version 13.1.0 R
30、elease 139.2.3.12.1 TP-VP (Relative format) . 67g39.2.3.12.2 TP-VP (Absolute format) 67g39.2.3.12.3 TP-VP (Enhanced format) . 67g39.2.3.13 TP-Discharge-Time (TP-DT) 68g39.2.3.14 TP-Recipient-Address (TP-RA) 68g39.2.3.15 TP-Status (TP-ST) . 68g39.2.3.16 TP-User-Data-Length (TP-UDL) 69g39.2.3.17 TP-Re
31、ply-Path (TP-RP) 70g39.2.3.18 TP-Message-Number (TP-MN) 70g39.2.3.19 TP-Command-Type (TP-CT) 70g39.2.3.20 TP-Command-Data-Length (TP-CDL) . 70g39.2.3.21 TP-Command-Data (TP-CD) 70g39.2.3.22 TP-Failure-Cause (TP-FCS) 71g39.2.3.23 TP-User-Data-Header-Indicator (TP-UDHI) 72g39.2.3.24 TP-User Data (TP-U
32、D) . 72g39.2.3.24.1 Concatenated Short Messages . 76g39.2.3.24.2 Special SMS Message Indication 77g39.2.3.24.3 Application Port Addressing 8 bit address 79g39.2.3.24.4 Application Port Addressing 16 bit address 79g39.2.3.24.5 SMSC Control Parameters. 80g39.2.3.24.6 UDH Source Indicator . 81g39.2.3.2
33、4.7 (U)SIM Toolkit Security Headers . 81g39.2.3.24.8 Concatenated short messages, 16-bit reference number 81g39.2.3.24.9 Wireless Control Message Protocol. 82g39.2.3.24.10 Enhanced Messaging Service 83g39.2.3.24.10.1 EMS Coding 83g39.2.3.24.10.1.1 Text Formatting 83g39.2.3.24.10.1.2 Predefined Sound
34、 . 85g39.2.3.24.10.1.3 User Defined Sound . 85g39.2.3.24.10.1.4 Predefined Animation 85g39.2.3.24.10.1.5 Large Animation 85g39.2.3.24.10.1.6 Small Animation 85g39.2.3.24.10.1.7 Large Picture 85g39.2.3.24.10.1.8 Small Picture 86g39.2.3.24.10.1.9 Variable Picture 86g39.2.3.24.10.1.10 User Prompt Indic
35、ator 86g39.2.3.24.10.1.11 Standard WVG Object . 87g39.2.3.24.10.1.12 Character Size WVG Object 87g39.2.3.24.10.1.13 Extended Object . 88g39.2.3.24.10.1.14 Reused Extended Object 90g39.2.3.24.10.1.15 Compression Control 90g39.2.3.24.10.1.15.1 LZSS Implementation for EMS extended object compression 92
36、g39.2.3.24.10.1.15.2 Data Compression 94g39.2.3.24.10.1.15.3 Data De-compression . 94g39.2.3.24.10.1.15.4 Test Vectors . 95g39.2.3.24.10.1.16 Object Distribution Indicator 95g39.2.3.24.10.1.17 Reply Address Element 95g39.2.3.24.10.1.18 Extended Object Data Request Command . 96g39.2.3.24.10.2.1 Examp
37、le of Basic text formatting and predefined EMS coding . 96g39.2.3.24.10.2.2 Example of User defined Objects EMS coding 97g39.2.3.24.10.2.3 Concatenation of SMS messages . 97g39.2.3.24.10.3 EMS Formats . 98g39.2.3.24.10.3.1 Sounds 98g39.2.3.24.10.3.2 Pictures. 98g39.2.3.24.10.3.3 Animation . 99g39.2.
38、3.24.11 IETF RFC 5322 E-Mail Header 99g39.2.3.24.12 Hyperlink format element 101g39.2.3.24.13 Enhanced Voice Mail Information 102g39.2.3.24.13.1 Enhanced Voice Mail Notification 102g39.2.3.24.13.2 Enhanced Voice Mail Delete Confirmation . 105g39.2.3.24.14 Identification of a directory number within
39、the User Data Field . 107g39.2.3.24.15 National Language Single Shift . 107g3ETSI ETSI TS 123 040 V13.1.0 (2016-04)63GPP TS 23.040 version 13.1.0 Release 139.2.3.24.16 National Language Locking Shift 108g39.2.3.25 TP-Reject-Duplicates (TP-RD) . 108g39.2.3.26 TP-Status-Report-Qualifier (TP-SRQ) 108g3
40、9.2.3.27 TP-Parameter-Indicator (TP-PI) 108g39.2.3.28 TP-Loop-Prevention (TP-LP) . 109g39.3 Service provided by the SM-RL . 109g39.3.1 General 109g39.3.2 Protocol element repertoire at SM-RL 110g39.3.2.1 RP-MO-DATA 110g39.3.2.2 RP-MT-DATA 110g39.3.2.3 RP-ACK 111g39.3.2.4 RP-ERROR . 111g39.3.2.5 RP-A
41、LERT-SC . 111g39.3.2.6 RP-SM-MEMORY-AVAILABLE . 112g310 Fundamental procedures within SMS 112g310.1 Short message mobile terminated . 112g310.2 Short message mobile originated 131g310.3 Alert transfer 140g311 Mapping of error causes between RP layers 143g311.1 Mobile Terminated short message transfe
42、r 143g311.2 Memory available notification . 144g311.3 Mobile Originated short message transfer 144g3Annex A (informative): Protocol stacks for interconnecting SCs and MSCs . 146g3Annex B (informative): Information now contained in 3GPP TS 23.038 9 147g3Annex C (informative): Short message informatio
43、n flow . 148g3Annex D (informative): Mobile Station reply procedures 165g3D.1 Introduction 165g3D.2 The scope of applicability 165g3D.3 Terminology . 165g3D.4 The reply path requesting procedure 165g3D.5 The reception of an original MT SM 166g3D.6 The submission of the reply MO SM . 166g3D.7 Usage o
44、f SCs for replying 166g3D.8 Replying possibilities for Phase 1 mobile stations . 166g3D.9 The resulting service for originating SMEs 167g3Annex E (normative): Extended Object Format Type . 168g3E.1 Predefined Sound . 168g3E.2 iMelody 168g3E.3 Black and white bitmap 168g3E.4 2-bit greyscale bitmap 16
45、8g3E.5 6-bit colour bitmap . 169g3E.6 Predefined animation 169g3E.7 Black and white bitmap animation . 169g3E.8 2-bit greyscale bitmap animation . 170g3E.9 6-bit colour bitmap animation 170g3ETSI ETSI TS 123 040 V13.1.0 (2016-04)73GPP TS 23.040 version 13.1.0 Release 13E.10 vCard 171g3E.11 vCalendar
46、 . 171g3E.12 Data Format Delivery Request . 171g3E.13 Standard WVG Object 171g3E.14 Polyphonic melody . 172g3Annex F (informative) : Compression methods for EMS 173g3F.1 LZSS compression . 173g3F.1.1 Introduction 173g3F.1.2 LZSS Basic Algorithm . 173g3F 1.3 Informative Example. . 173g3Annex G (norma
47、tive): WVG (Wireless Vector Graphics) data format 176g3G.1 Introduction 176g3G.1.1 Standard and Character Size WVG elements . 176g3G.1.2 Compression methods 176g3G.1.3 Coordinate Systems 176g3G.1.3.1 Compact Coordinate System. 176g3G.1.3.2 Flat Coordinate System . 178g3G.1.3.3 Coordinate values . 17
48、8g3G.1.4 Color schemes 179g3G.1.5 Rendering model 179g3G.2 Graphical elements . 179g3G.2.1 Line elements . 179g3G.2.1.1 Polyline . 179g3G.2.1.2 Circular Polyline . 179g3G.2.1.3 Bezier Polyline 180g3G.2.1.4 Auto-closure of a line . 180g3G.2.2 Polygon elements . 180g3G.2.3 Simple shape elements . 181g
49、3G.2.3.1 Ellipse . 181g3G.2.3.2 Rectangle 181g3G.2.4 Special shape elements . 181g3G.2.5 Text element . 182g3G.2.6 Group elements 182g3G.2.7 Reuse element 183g3G.2.8 Animation elements 183g3G.2.8.1 Simple animation elements . 183g3G.2.8.2 Standard Animation Element 184g3G.2.9 Frame Element . 184g3G.2.10 Local Element 184g3G.2.11 Extended Element. 185g3G.3 Element attributes . 185g3G.4 Element Transform . 185g3G.5 Character Size WVG Element 186g3G.6 Data Format BNF . 186g3G.7 Web Safe Color Palette 203g3Annex H (informative): Development Guidelines for Creation of Polyhony U