- 1、本文档共7页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
短信DCS理解
特殊消息-DCS字段承载
字段来源
1、TP-DCS字段在etsi 0338协议或3gpp 23038协议里规定,也就是我们平时常说的0338协议,打开此协议你可以看到此字段虽然是一字节,但规定的值很多,含义丰富。
2、SMPP协议里的DCS字段参照etsi 0338协议里的定义。
如何理解
打开etsi 0338协议,我们可以看到其DCS分多种情况进行定义,bit7~bit4为一段,bit3~bit0为一段。我们平时常用的dcs=0/4/8其实仅仅是其中的bit3与bit2的取值。重要的导读语在下面是蓝色字体标出:
SMS Data Coding Scheme
The TP-Data-Coding-Scheme field, defined in GSM?03.40, indicates the data coding scheme of the TPUD field, and may indicate a message class. Any reserved codings shall be assumed to be the GSM default alphabet (the same as codepoint by a receiving entity. The octet is used according to a coding group which is indicated in bits 7..4. The octet is then coded as follows:
Coding Group Bits
7..4 Use of bits 3..0 00xx General Data Coding indicationBits 5..0 indicate the following : Bit 5, if set to 0, indicates the text is uncompressedBit 5, if set to 1, indicates the text is compressed using the GSM standard compression algorithm. ( see GSM TS 03.42)Bit 4, if set to 0, indicates that bits 1 to 0 are reserved and have no message class meaning
Bit 4, if set to 1, indicates that bits 1 to 0 have a message class meaning : Bit 1 Bit 0 Message Class0 0 Class 00 1 Class 1 Default meaning: ME-specific.1 0 Class 2 SIM specific message1 1 Class 3 Default meaning: TE specific (see GSM?TS 07.05?[8])
解读:
当bit7bit6=00时:
1、如果bit5=0表示内容是非压缩方式,如果bit5=1表示内容是压缩方式,压缩方法可参见GSM TS 03.42协议。
2、如果bit4=0表示bit1bit0无其它含义,如果bit4=1表示bit1bit0有意义,其bit1bit0的几种取值也是一些比较特殊的消息,其含义在后面的详细的解释,请先在这里作一标记,后面再解惑不同的Class究竟是什么意思。
Bits 3 and 2 indicate the alphabet being used, as follows :Bit 3 Bit2 Alphabet:0 0 Default alphabet0 1 8 bit data1 0 UCS2 (16bit)?[10]1 1 Reserved
解读:
Bits 3 and 2,我们测试过程中最常见的dcs=0/4/8。所以看到这里要摆脱新员工学习时的误区,不要认为ucs2编码时dcs只等于8,因为dcs字段是按比特来算的,同样dcs=24时bit3bit2也为10,也是ucs2编码,等等。
NOTE: The special case of bits 7..0 being 0000 0000 indicates the Default Alphabet as in Phase 2 0100..1011 Reserved coding groups 1100 Message Waiting Indication Group: Discard Message
Bits 3..0 are coded ex
您可能关注的文档
最近下载
- 2024年湘潭医卫职业技术学院高职单招职业技能测验历年参考题库(频考版)含答案解析.docx
- 【人教版美术教案】新人教版四年级下册美术全册教案.pdf VIP
- 人民大2024教学课件完整版简明证据法学(第六版)配套课件.pptx
- 2025年苏州经贸职业技术学院单招职业技能测试题库(各地真题).docx VIP
- 湘教版二年级下册音乐全册教案.docx
- SH/T 3613-2013-石油化工非金属管道工程施工技术规范.pdf
- 2024年北京社会管理职业学院单招英语题库及答案解析.docx
- 《大学物理教学课件》广工大:(改) 16-5麦克斯韦电磁场理论.ppt VIP
- 第5章 飞机燃油系统《航空器系统与动力装置》.pptx VIP
- MIDIPLUS_X_Pro_mini_series英文使用说明书.pdf
文档评论(0)