C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2013-10-31
发表于 2014-7-18 16:30:01 |显示全部楼层
SMS
3GPP TS 24.011 http://www.etsi.org
The Short Message Service (SMS) is used to transfer text messages over mobile networks between a GSM PLMN Mobile Station and a Short Message Entity via a Service Center. The terms MO (Mobile Originating) and MT (Mobile Terminating) are used to indicate the direction in which the short message is sent.
SMS messages can be encapsulated in control or relay messages.
SMS Control Message
The format of the control protocol message header is shown in the following illustration:
8
7
6
5
4
3
2
1
Octet
Protocol discriminator
Transaction identifier
1
Message type
2
Information elements
3-n
SMS control protocol header structureheader structure
Protocol discriminator
1001 identifies the SMS protocol.
Transaction identifier
The transaction identifier (TI) distinguishes multiple parallel activities (transactions) within one mobile station. The format of the transaction identifier is as follows:
4
3
2
1
TI flag
TI value
- - - -
Transaction identifier
TI flag
Identifies who allocated the TI value for this transaction. The purpose of the TI flag is to resolve simultaneous attempts to allocate the same TI value.
TI value
TI values are assigned by the side of the interface initiating a transaction. At the beginning of a transaction, a free TI value is chosen and assigned to this transaction. It then remains fixed for the lifetime of the transaction. After a transaction ends, the associated TI value is free and may be reassigned to a later transaction. Two identical transaction identifier values may be used when each value pertains to a transaction originated at opposite ends of the interface.
Message type
The message type, together with the protocol discriminator, identifies the function of the message being sent. Messages may be of the following:
0000 0001CP-DATA
0000 0100CP-ACK
0001 0000CP-ERROR
Information elements
Each IE has an identifier which is coded as a single octet. The length of an IE may be fixed or variable and may or may not include a length indicator.

SMS Relay Protocol Message
The format of the relay protocol message header is shown in the following illustration:
8
7
6
5
4
3
2
1
Octet
0
0
0
0
0
1
Message reference
2
Information elements
3-n
SMS relay protocol header structure
MTI
Message type indicator. Values are as follows:
Bit Value (3 2 1) Direction RP-Message
0 0 0ms -> nRP-DATA
0 0 0n -> msReserved
0 0 1ms -> nReserved
0 0 1n -> msRP-DATA
0 1 0ms -> nRP-ACK
0 1 0n -> msReserved
0 1 1ms -> nReserved
0 1 1n -> msRP-ACK
1 0 0ms -> nRP-ERROR
1 0 0n -> msReserved
1 0 1ms -> nReserved
1 0 1n -> msRP-ERROR
1 1 0ms -> nRP-SMMA
1 1 0n -> msReserved
1 1 1ms -> nReserved
Message reference
Used to link an RP-ACK message or RP-ERROR message to the associated RP-Data or RP-SMMA message transfer attempt.
Information elements
Each IE has an identifier which is coded as a single octet. The length of an IE may be fixed or variable and may or may not include a length indicator.

SMS TP
ETSI TS 123 040. (You can download all the ETSI files from www.ETSI.org)
The SMS TP (Short Message Transfer Layer Protocol) is comprised of two basic services:
  • SM MT (Short Message Mobile Terminated).
  • SM MO (Short Message Mobile Originated).
SM MO denotes the capability of the GSM/UMTS system to transfer a short message submitted by the MS to one SME via an SC, and to provide information about the delivery of the short message either by a delivery report or a failure report with a specific mechanism for later delivery. The message must include the address of that SME to which the SC shall eventually attempt to relay the short Message Transfer Layer Protocol.
The text messages to be transferred by means of the SM MT or SM MO contains up to 140 octets.
The structure of the SMS TP protocol header is as follows:
8
7
6
5
4
3
2
1
Octet
Message type
1
Information Elements
2-n
Message Type
The type of message, the following message types are available:
SC To MS
0
1
2
3
SMS-DELIVER
SMS-SUBMIT-REPORT
SMS-STATUS-REPORT
Reserved
MS To SC
0
1
2
3
SMS-DELIVER-REPORT
SMS-SUBMIT
SMS-COMMAND
Reserved


SS
This Supplementary Services protocol defines the structure of the messages of the layer 3 protocol defined in 3GPP TS 24.080. These messages are standard L3 messages. SS is both for GPRS and for UMTS.
The structure of the header is as follows:
8
7
6
5
4
3
2
1
Octet
Protocol Discriminator
Transaction ID
1
Message type
2
Information elements
3-n

Protocol Discriminator
The Protocol discriminator (must be 0x0B).
Transaction Identifier
The format and coding of transaction identifier values.
Message Type
The Message type number.
The following message types are available
42Release Complete
58Facility
59Register


举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-11-17 20:51 , Processed in 0.332273 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图