sgip sp长短信实现方案20091029

上传人:第*** 文档编号:31080146 上传时间:2018-02-04 格式:DOC 页数:7 大小:2.90MB
返回 下载 相关 举报
sgip sp长短信实现方案20091029_第1页
第1页 / 共7页
sgip sp长短信实现方案20091029_第2页
第2页 / 共7页
sgip sp长短信实现方案20091029_第3页
第3页 / 共7页
sgip sp长短信实现方案20091029_第4页
第4页 / 共7页
sgip sp长短信实现方案20091029_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《sgip sp长短信实现方案20091029》由会员分享,可在线阅读,更多相关《sgip sp长短信实现方案20091029(7页珍藏版)》请在金锄头文库上搜索。

1、 本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 1 / 7 页SP 长短信改造建议一、 设置 UDHI 标志TP_udhiValue 1 Integer GSM 协议类型。详细解释请参考 GSM03.40 中的9.2.3.23,仅使用 1 位,右对齐。SGIP 的 Submit 信令中的 TP_udhi 设置为 0x40。二、消息内容增加用户数据包头 UDH包头一共 6 个字节,如下:1、 字节一:包头长度,固定填写 0x05;2、 字节二:包头类型标识,固定填写 0x00,表示长短信;3、 字节三:子包长度,固定填写 0x03,表示后面三个字节的长度;4、 字节四到字节

2、六:包内容:1) 字节四:长消息参考号,每个 SP 给每个用户发送的每条参考号都应该不同,可以从 0 开始,每次加 1,最大 255,便于同一个终端对同一个 SP 的消息的不同的长短信进行识别;2) 字节五:本条长消息的的总消息数,从 1 到 255,一般取值应该大于 2;3) 字节六:本条消息在长消息中的位置或序号,从 1 到 255,第一条为 1,第二条为 2,最后一条等于第四字节的值。注:移动终端支持的一条消息的内容长度为 140 字节,因此后面还可以增加 134 个字节的真实的消息内容,若编码格式为 0 则可以增加 134 个 ASCII 字符,若编码格式为 8 则可以增加 67 个中

3、英文字符。例子:05 00 03 00 02 0105 00 03 00 02 023GPP0340 对长短信的实现方案进行了详细的说明,请参考:9.2.3.24 TP-User Data (TP-UD)The length of the TP-User-Data field is defined in the PDUs of the SM-TL ( see subclause 9.2.2 ).The TP-User-Data field may comprise just the short message itself or a Header in addition to the shor

4、t message depending upon the setting of TP-UDHI.Where the TP-UDHI value is set to 0 the TP-User-Data field comprises the short message only, where the user data can be 7 bit (default alphabet) data, 8 bit data, or 16 bit (UCS2) data.Where the TP-UDHI value is set to 1 the first octets of the TP-User

5、-Data field contains a Header in the following order starting at the first octet of the TP-User-Data field.Irrespective of whether any part of the User Data Header is ignored or discarded, the MS shall always store the entire TPDU exactly as received.FIELD LENGTHLength of User Data Header 1 octetInf

6、ormation-Element-Identifier A 1 octet 本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 2 / 7 页Length of Information-Element A 1 octetInformation-Element A Data 0 to n octetsInformation-Element-Identifier B 1 octetLength of Information-Element B 1 octetInformation-Element B Data 0 to n octetsInformation-Element-Ide

7、ntifier X 1 octetLength of Information-Element X 1 octetInformation-Element X Data 0 to n octetsThe diagram below shows the layout of the TP-User-Data-Length and the TP-User-Data for uncompressed GSM 7 bit default alphabet data. The UDHL field is the first octet of the TP-User-Data content of the Sh

8、ort Message.UDLUDHLIEIa IEDaIEIb.IEInIEDLnIEDnFil bitsSM (7bit dat)Septt BoundaryTotal number of OctetsLength IndicatorTotal number of SepttsLength IndicatorOctetsOctetsIEIDLaFigure 9.2.3.24 (a) The diagram below shows the layout of the TP-User-Data-Length and the TP-User-Data for uncompressed 8 bit

9、 data or uncompressed UCS2 data. The UDHL field is the first octet of the TP-User-Data content of the Short Message. 本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 3 / 7 页UDLUDHLIEIa IEDaIEIb.IEInIEDLnIEDn Octet BoundaryTotal number of OctetsLength Indicator Total number of OctetsLength IndicatorOctetsOctetsIEID

10、La SM (8 bit dator UCS-2dat)Figure 9.2.3.24 (b)The diagram below shows the layout of the TP-User-Data-Length and the TP-User-Data for compressed GSM 7 bit default alphabet data, compressed 8 bit data or compressed UCS2 data. The UDHL field is the first octet of the TP-User-Data content of the Short

11、Message.UDLUDHLIEIa IEDaIEIb.IEInIEDLnIEDn Octet BoundaryTotal number of OctetsLength IndicatorTotal number of OctetsLength IndicatorOctetsOctetsIEIDLa CompresedSM (octets)Figure 9.2.3.24 (c)The definition of the TP-User-Data-Length field which immediately precedes the Length of User Data Header is

12、unchanged and will therefore be the total length of the TP-User-Data field including the Header, if present. (see 9.2.3.16)The Length-of-Information-Element fields shall be the integer representation of the number of octets within its associated Information-Element-Data field which follows and shall

13、 not include itself in its count value.The Length-of-User-Data-Header field shall be the integer representation of the number of octets within the User-Data-Header information fields which follow and shall not include itself in its count or any fill 本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 4 / 7 页bits whic

14、h may be present (see text below).Information Elements may appear in any order and need not necessarily follow the order used in the present document. If Information Elements are duplicated (either with the same or different content) then the contents of the last occurrence of the Information Elemen

15、t shall be used. If the length of the User Data Header overall is such that there appear to be too few or too many octets in the final Information Element then the whole User Data Header shall be ignored.If any reserved values are received within the content of any Information Element then that part

16、 of the Information Element shall be ignored. 本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 5 / 7 页The Information Element Identifier octet shall be coded as follows:VALUE (hex) MEANING00 Concatenated short messages, 8-bit reference number01 Special SMS Message Indication02 Reserved03 Value not used to avoid misinterpretation as character04 Application port addressing

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 解决方案

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号