1、 ETSI TS 123 040 V14.0.0 (2017-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 14.0.0 Release 14) TECHNICAL SPECIFICATION GLOBAL SYSTEM FOR MOBILE COMM
2、UNICATIONSRETSI ETSI TS 123 040 V14.0.0 (2017-04)13GPP TS 23.040 version 14.0.0 Release 14Reference RTS/TSGC-0123040ve00 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 2017. 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 V14.0.0 (2017-04)23GPP TS 23.040 version 14.0.0 Release 14Intellectual 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 the ETSI 3rdGeneration Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or GSM identities. These
13、 should 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“,
14、 “may“, “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
15、 V14.0.0 (2017-04)33GPP TS 23.040 version 14.0.0 Release 14Contents 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
16、 service elements 15g33.1 Basic services . 15g33.2 Short Message Service elements 17g33.2.0 Introduction. 17g33.2.1 Validity-Period . 17g33.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 . 17g
17、33.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 oc
18、curring 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
19、 combination 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
20、.8.2.2 Real Name . 29g33.8.2.3 Optional Control Flag . 29g33.8.3 Text concatenation 30g33.8.4 Alternative characters for Internet email addresses in MO SMS. . 30g33.9 SMS COMPRESSION . 30g33.10 Enhanced Messaging Service . 31g33.10.1 Text formatting . 31g33.10.2 Pictures . 32g33.10.3 Animations 32g3
21、3.10.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 33g34 Network architecture 33g3ETSI ETSI TS 123 040 V14.0.0 (2017-04)43GPP TS 23.040 version 14.0.0 Release 144.1 Basic network structure 33g34.2 Transfer on
22、 reference point 3 . 34g35 Service Centre and PLMN interconnection 35g35.1 Service centre connection . 35g35.2 Routing requirements . 35g35.2.1 Mobile terminated short message . 35g35.2.2 Mobile originated short message 35g36 Service Centre functionality . 36g36.1 Service Centre capabilities . 36g36
23、.2 SC functional requirements 36g36.2.1 Subaddressing support 36g36.2.2 Support for trigger SMS filtering for Tsms submissions 37g36.3 SC EMS Extended Object Data Request Command Feature . 37g37 MS functionality . 37g37.1 MS capabilities . 37g37.2 MS configuration 37g38 Node functionality 38g38.1 No
24、de functionality related to SM MT 38g38.1.1 Functionality of the SMS-GMSC . 38g38.1.2 Functionality of the MSC . 40g38.1.3 Functionality of the SGSN 41g38.1.4 Functionality of the SMS Router 41g38.1.5 Functionality of the IP-SM-GW . 43g38.2 Node functionality related to SM MO 43g38.2.1 Functionality
25、 of the MSC . 43g38.2.2 Functionality of the SMS-IWMSC . 44g38.2.3 Functionality of the SGSN 44g38.2.4 Functionality of the IP-SM-GW . 45g38.3 SMS-IWMSC functionality related to alerting . 45g39 Protocols and protocol architecture 45g39.1 Protocol element features . 46g39.1.1 Octet and Bit transmiss
26、ion order . 46g39.1.2 Numeric and alphanumeric representation . 46g39.1.2.1 Integer representation 46g39.1.2.2 Octet representation 47g39.1.2.3 Semi-octet representation 47g39.1.2.4 Alphanumeric representation 48g39.1.2.5 Address fields 48g39.2 Service provided by the SM-TL . 50g39.2.1 General 50g39
27、.2.2 PDU Type repertoire at SM-TL 50g39.2.2.1 SMS-DELIVER type 51g39.2.2.1a SMS-DELIVER-REPORT type 53g39.2.2.2 SMS-SUBMIT type 55g39.2.2.2a SMS-SUBMIT-REPORT type 58g39.2.2.3 SMS-STATUS-REPORT type 60g39.2.2.4 SMS-COMMAND type 62g39.2.3 Definition of the TPDU parameters 63g39.2.3.1 TP-Message-Type-
28、Indicator (TP-MTI) . 63g39.2.3.2 TP-More-Messages-to-Send (TP-MMS) . 63g39.2.3.3 TP-Validity-Period-Format (TP-VPF) 64g39.2.3.4 TP-Status-Report-Indication (TP-SRI) 64g39.2.3.5 TP-Status-Report-Request (TP-SRR) 64g39.2.3.6 TP-Message-Reference (TP-MR) . 64g39.2.3.7 TP-Originating-Address (TP-OA) . 6
29、5g39.2.3.8 TP-Destination-Address (TP-DA). 65g39.2.3.9 TP-Protocol-Identifier (TP-PID) . 65g39.2.3.10 TP-Data-Coding-Scheme (TP-DCS) . 67g39.2.3.11 TP-Service-Centre-Time-Stamp (TP-SCTS) 67g3ETSI ETSI TS 123 040 V14.0.0 (2017-04)53GPP TS 23.040 version 14.0.0 Release 149.2.3.12 TP-Validity-Period (T
30、P-VP) . 68g39.2.3.12.1 TP-VP (Relative format) . 68g39.2.3.12.2 TP-VP (Absolute format) 68g39.2.3.12.3 TP-VP (Enhanced format) . 68g39.2.3.13 TP-Discharge-Time (TP-DT) 69g39.2.3.14 TP-Recipient-Address (TP-RA) 69g39.2.3.15 TP-Status (TP-ST) . 69g39.2.3.16 TP-User-Data-Length (TP-UDL) 70g39.2.3.17 TP
31、-Reply-Path (TP-RP) 71g39.2.3.18 TP-Message-Number (TP-MN) 71g39.2.3.19 TP-Command-Type (TP-CT) 71g39.2.3.20 TP-Command-Data-Length (TP-CDL) . 71g39.2.3.21 TP-Command-Data (TP-CD) 72g39.2.3.22 TP-Failure-Cause (TP-FCS) 72g39.2.3.23 TP-User-Data-Header-Indicator (TP-UDHI) 73g39.2.3.24 TP-User Data (T
32、P-UD) . 73g39.2.3.24.1 Concatenated Short Messages . 77g39.2.3.24.2 Special SMS Message Indication 78g39.2.3.24.3 Application Port Addressing 8 bit address 80g39.2.3.24.4 Application Port Addressing 16 bit address 80g39.2.3.24.5 SMSC Control Parameters. 81g39.2.3.24.6 UDH Source Indicator . 82g39.2.
33、3.24.7 (U)SIM Toolkit Security Headers . 82g39.2.3.24.8 Concatenated short messages, 16-bit reference number 82g39.2.3.24.9 Wireless Control Message Protocol. 83g39.2.3.24.10 Enhanced Messaging Service 84g39.2.3.24.10.1 EMS Coding 84g39.2.3.24.10.1.1 Text Formatting 84g39.2.3.24.10.1.2 Predefined So
34、und . 86g39.2.3.24.10.1.3 User Defined Sound . 86g39.2.3.24.10.1.4 Predefined Animation 86g39.2.3.24.10.1.5 Large Animation 86g39.2.3.24.10.1.6 Small Animation 86g39.2.3.24.10.1.7 Large Picture 87g39.2.3.24.10.1.8 Small Picture 87g39.2.3.24.10.1.9 Variable Picture 87g39.2.3.24.10.1.10 User Prompt In
35、dicator 87g39.2.3.24.10.1.11 Standard WVG Object . 88g39.2.3.24.10.1.12 Character Size WVG Object 88g39.2.3.24.10.1.13 Extended Object . 89g39.2.3.24.10.1.14 Reused Extended Object 91g39.2.3.24.10.1.15 Compression Control 91g39.2.3.24.10.1.15.1 LZSS Implementation for EMS extended object compression
36、 93g39.2.3.24.10.1.15.2 Data Compression 95g39.2.3.24.10.1.15.3 Data De-compression . 95g39.2.3.24.10.1.15.4 Test Vectors . 96g39.2.3.24.10.1.16 Object Distribution Indicator 96g39.2.3.24.10.1.17 Reply Address Element 96g39.2.3.24.10.1.18 Extended Object Data Request Command . 97g39.2.3.24.10.2.1 Ex
37、ample of Basic text formatting and predefined EMS coding . 97g39.2.3.24.10.2.2 Example of User defined Objects EMS coding 98g39.2.3.24.10.2.3 Concatenation of SMS messages . 98g39.2.3.24.10.3 EMS Formats . 99g39.2.3.24.10.3.1 Sounds 99g39.2.3.24.10.3.2 Pictures. 99g39.2.3.24.10.3.3 Animation . 100g3
38、9.2.3.24.11 IETF RFC 5322 E-Mail Header 100g39.2.3.24.12 Hyperlink format element 102g39.2.3.24.13 Enhanced Voice Mail Information 103g39.2.3.24.13.1 Enhanced Voice Mail Notification 103g39.2.3.24.13.2 Enhanced Voice Mail Delete Confirmation . 106g39.2.3.24.14 Identification of a directory number wi
39、thin the User Data Field . 108g3ETSI ETSI TS 123 040 V14.0.0 (2017-04)63GPP TS 23.040 version 14.0.0 Release 149.2.3.24.15 National Language Single Shift . 108g39.2.3.24.16 National Language Locking Shift 109g39.2.3.25 TP-Reject-Duplicates (TP-RD) . 109g39.2.3.26 TP-Status-Report-Qualifier (TP-SRQ)
40、109g39.2.3.27 TP-Parameter-Indicator (TP-PI) 109g39.2.3.28 TP-Loop-Prevention (TP-LP) . 110g39.3 Service provided by the SM-RL . 111g39.3.1 General 111g39.3.2 Protocol element repertoire at SM-RL 111g39.3.2.1 RP-MO-DATA 111g39.3.2.2 RP-MT-DATA 112g39.3.2.3 RP-ACK 112g39.3.2.4 RP-ERROR . 112g39.3.2.5
41、 RP-ALERT-SC . 113g39.3.2.6 RP-SM-MEMORY-AVAILABLE . 113g310 Fundamental procedures within SMS 113g310.1 Short message mobile terminated . 114g310.2 Short message mobile originated 133g310.3 Alert transfer 141g311 Mapping of error causes between RP layers 144g311.1 Mobile Terminated short message tr
42、ansfer 144g311.2 Memory available notification . 145g311.3 Mobile Originated short message transfer 145g3Annex A (informative): Protocol stacks for interconnecting SCs and MSCs . 147g3Annex B (informative): Information now contained in 3GPP TS 23.038 9 148g3Annex C (informative): Short message infor
43、mation flow . 149g3Annex D (informative): Mobile Station reply procedures 166g3D.1 Introduction 166g3D.2 The scope of applicability 166g3D.3 Terminology . 166g3D.4 The reply path requesting procedure 166g3D.5 The reception of an original MT SM 167g3D.6 The submission of the reply MO SM . 167g3D.7 Us
44、age of SCs for replying 167g3D.8 Replying possibilities for Phase 1 mobile stations . 168g3D.9 The resulting service for originating SMEs 168g3Annex E (normative): Extended Object Format Type . 169g3E.1 Predefined Sound . 169g3E.2 iMelody 169g3E.3 Black and white bitmap 169g3E.4 2-bit greyscale bitm
45、ap 169g3E.5 6-bit colour bitmap . 170g3E.6 Predefined animation 170g3E.7 Black and white bitmap animation . 170g3E.8 2-bit greyscale bitmap animation . 171g3ETSI ETSI TS 123 040 V14.0.0 (2017-04)73GPP TS 23.040 version 14.0.0 Release 14E.9 6-bit colour bitmap animation 171g3E.10 vCard 172g3E.11 vCal
46、endar . 172g3E.12 Data Format Delivery Request . 172g3E.13 Standard WVG Object 172g3E.14 Polyphonic melody . 173g3Annex F (informative) : Compression methods for EMS . 174g3F.1 LZSS compression . 174g3F.1.1 Introduction 174g3F.1.2 LZSS Basic Algorithm . 174g3F 1.3 Informative Example. . 175g3Annex G
47、 (normative): WVG (Wireless Vector Graphics) data format 177g3G.1 Introduction 177g3G.1.1 Standard and Character Size WVG elements . 177g3G.1.2 Compression methods 177g3G.1.3 Coordinate Systems 177g3G.1.3.1 Compact Coordinate System. 177g3G.1.3.2 Flat Coordinate System . 179g3G.1.3.3 Coordinate valu
48、es . 180g3G.1.4 Color schemes 180g3G.1.5 Rendering model 180g3G.2 Graphical elements . 180g3G.2.1 Line elements . 180g3G.2.1.1 Polyline . 181g3G.2.1.2 Circular Polyline . 181g3G.2.1.3 Bezier Polyline 181g3G.2.1.4 Auto-closure of a line . 181g3G.2.2 Polygon elements . 182g3G.2.3 Simple shape elements
49、 . 182g3G.2.3.1 Ellipse . 182g3G.2.3.2 Rectangle 182g3G.2.4 Special shape elements . 182g3G.2.5 Text element . 183g3G.2.6 Group elements 183g3G.2.7 Reuse element 184g3G.2.8 Animation elements 184g3G.2.8.1 Simple animation elements . 184g3G.2.8.2 Standard Animation Element 185g3G.2.9 Frame Element . 185g3G.2.10 Local Element 185g3G.2.11 Extended Element. 186g3G.3 Element attributes . 186g3G.4 Element Transform . 187g3G.5 Character Size WVG Element 187g3G.6 Data Format BNF . 187g3G.7 Web Safe Color Palette 204g3Annex H (informative): Development Guidelines for Creation of Pol