<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[利剑之辉的博客]]></title> 
<link>http://www.cnljh.com/index.php</link> 
<description><![CDATA[世事如棋 乾坤莫测 笑尽英雄－－利剑之辉的个人站点，该站点记录了站长日常生活、学习和工作中的经历，同由于站长是个霹雳布袋戏爱好者，所以收集了很多的布袋戏剧情和资料发布在blog，供各位戏迷过瘾，同时欢迎各位同仁光临本站点]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[利剑之辉的博客]]></copyright>
<item>
<link>http://www.cnljh.com/read.php/372.htm</link>
<title><![CDATA[logback配置日志文件按时间和大小滚动]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[JAVA SSH学习]]></category>
<pubDate>Fri, 11 May 2012 01:20:07 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/372.htm</guid> 
<description>
<![CDATA[ 
	<p>1. 使用logback 0.9.7版本，我在使用logback0.9.5版本时不支持</p><p>2. 配置实例如下：</p><p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</p><p>&lt;configuration&gt;<br /> &lt;substitutionProperty name=&quot;log.base&quot; value=&quot;logs&quot; /&gt;</p><p> &lt;jmxConfigurator /&gt;</p><p> &lt;appender name=&quot;stdout&quot; class=&quot;ch.qos.logback.core.ConsoleAppender&quot;&gt;<br />&nbsp;&nbsp;&lt;layout class=&quot;ch.qos.logback.classic.PatternLayout&quot;&gt;<br />&nbsp;&nbsp; &lt;pattern&gt;%date [%thread] %-5level %logger&#123;80&#125; - %msg%n&lt;/pattern&gt;<br />&nbsp;&nbsp;&lt;/layout&gt;<br /> &lt;/appender&gt;</p><p> &lt;appender name=&quot;logfile&quot; class=&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;&gt;<br />&nbsp;&nbsp;&lt;Encoding&gt;UTF-8&lt;/Encoding&gt;<br />&nbsp;&nbsp;&lt;File&gt;$&#123;log.base&#125;/cds.log&lt;/File&gt;<br />&nbsp;&nbsp;&lt;rollingPolicy class=&quot;ch.qos.logback.core.rolling.TimeBasedRollingPolicy&quot;&gt;<br />&nbsp;&nbsp; &lt;FileNamePattern&gt;$&#123;log.base&#125;/cds-%d&#123;yyyy-MM-dd&#125;-%i.log&lt;/FileNamePattern&gt;<br />&nbsp;&nbsp; &lt;MaxHistory&gt;10&lt;/MaxHistory&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TimeBasedFileNamingAndTriggeringPolicy class=&quot;ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP&quot;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;MaxFileSize&gt;2MB&lt;/MaxFileSize&gt;<br />&nbsp;&nbsp; &lt;/TimeBasedFileNamingAndTriggeringPolicy&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&lt;/rollingPolicy&gt;<br />&nbsp;&nbsp;&lt;layout class=&quot;ch.qos.logback.classic.PatternLayout&quot;&gt;<br />&nbsp;&nbsp; &lt;pattern&gt;%date [%thread] %-5level %logger&#123;80&#125; - %msg%n&lt;/pattern&gt;<br />&nbsp;&nbsp;&lt;/layout&gt;<br /> &lt;/appender&gt;</p><p>&nbsp;&nbsp;&lt;logger name=&quot;org.springframework&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;INFO&quot; /&gt;<br /> &lt;/logger&gt;<br /> &lt;logger name=&quot;org.apache.ftpserver&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;WARN&quot; /&gt;<br /> &lt;/logger&gt;<br /> &lt;logger name=&quot;org.hibernate&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;INFO&quot; /&gt;<br /> &lt;/logger&gt;<br /> &lt;logger name=&quot;org.hibernate.SQL&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;ERROR&quot; /&gt;<br /> &lt;/logger&gt;<br />&nbsp;&nbsp;&lt;logger name=&quot;org.hibernate.cache&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;INFO&quot; /&gt;<br /> &lt;/logger&gt;<br /> &lt;logger name=&quot;org.safehaus.asyncweb&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;INFO&quot; /&gt;<br /> &lt;/logger&gt;<br /> &lt;logger name=&quot;org.logicalcobwebs.proxool&quot;&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;DEBUG&quot; /&gt;<br /> &lt;/logger&gt;</p><p> &lt;root&gt;<br />&nbsp;&nbsp;&lt;level value=&quot;WARN&quot; /&gt;<br />&nbsp;&nbsp;&lt;appender-ref ref=&quot;stdout&quot; /&gt;<br />&nbsp;&nbsp;&lt;appender-ref ref=&quot;logfile&quot; /&gt;<br /> &lt;/root&gt;<br />&lt;/configuration&gt;</p>
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/371.htm</link>
<title><![CDATA[Spring中Quartz的Cron表达式详解]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[JAVA SSH学习]]></category>
<pubDate>Thu, 03 May 2012 05:04:21 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/371.htm</guid> 
<description>
<![CDATA[ 
	<table border="1" cellspacing="1" cellpadding="0"><tbody><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>位置</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>时间域名</span></p></td><td width="133" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>允许值</span></p></td><td width="290" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>允许的特殊字符</span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>秒</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">0-59</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * /</span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">2</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>分钟</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">0-59</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * /</span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">3</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>小时</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">0-23</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * /</span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">4</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>日期</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1-31</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * ? / L W C </span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>月份</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1-12</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * /</span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">6</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>星期</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1-7</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * ? / L C #</span></p></td></tr><tr><td width="54" valign="top" style="padding: 0.75pt; width: 40.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">7</span></p></td><td width="82" valign="top" style="padding: 0.75pt; width: 61.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>年</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(</span><span>可选</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">)</span></p></td><td width="133" valign="top" style="padding: 0.75pt; width: 99.75pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>空值</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1970-2099</span></p></td><td width="290" valign="top" style="padding: 0.75pt; width: 217.5pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">, - * /</span></p></td></tr></tbody></table><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">Cron</span><span>表达式的时间字段除允许设置数值外，还可使用一些特殊的字符，提供列表、范围、通配符等功能，细说如下：</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●</span><span>星号</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(*)</span><span>：可用在所有字段中，表示对应时间域的每一个时刻，例如，</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">*</span><span>在分钟字段时，表示</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;</span><span>每分钟</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&rdquo;</span><span>；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●</span><span>问号（</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">?</span><span>）：该字符只在日期和星期字段中使用，它通常指定为</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;</span><span>无意义的值</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&rdquo;</span><span>，相当于点位符；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●</span><span>减号</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(-)</span><span>：表达一个范围，如在小时字段中使用</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;10-12&rdquo;</span><span>，则表示从</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10</span><span>到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">12</span><span>点，即</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10,11,12</span><span>；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●</span><span>逗号</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(,)</span><span>：表达一个列表值，如在星期字段中使用</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;MON,WED,FRI&rdquo;</span><span>，则表示星期一，星期三和星期五；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●</span><span>斜杠</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(/)</span><span>：</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">x/y</span><span>表达一个等步长序列，</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">x</span><span>为起始值，</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">y</span><span>为增量步长值。如在分钟字段中使用</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">0/15</span><span>，则表示为</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">0,15,30</span><span>和</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">45</span><span>秒，而</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5/15</span><span>在分钟字段中表示</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5,20,35,50</span><span>，你也可以使用</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">*/y</span><span>，它等同于</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">0/y</span><span>；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●L</span><span>：该字符只在日期和星期字段中使用，代表</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;Last&rdquo;</span><span>的意思，但它在两个字段中意思不同。</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">L</span><span>在日期字段中，表示这个月份的最后一天，如一月的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">31</span><span>号，非闰年二月的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">28</span><span>号；如果</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">L</span><span>用在星期中，则表示星期六，等同于</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">7</span><span>。但是，如果</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">L</span><span>出现在星期字段里，而且在前面有一个数值</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">X</span><span>，则表示</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;</span><span>这个月的最后</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">X</span><span>天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&rdquo;</span><span>，例如，</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">6L</span><span>表示该月的最后星期五；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●W</span><span>：该字符只能出现在日期字段里，是对前导日期的修饰，表示离该日期最近的工作日。例如</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15W</span><span>表示离该月</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>号最近的工作日，如果该月</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>号是星期六，则匹配</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14</span><span>号星期五；如果</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>日是星期日，则匹配</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">16</span><span>号星期一；如果</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>号是星期二，那结果就是</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>号星期二。但必须注意关联的匹配日期不能够跨月，如你指定</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1W</span><span>，如果</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1</span><span>号是星期六，结果匹配的是</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">3</span><span>号星期一，而非上个月最后的那天。</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">W</span><span>字符串只能指定单一日期，而不能指定日期范围；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●LW</span><span>组合：在日期字段可以组合使用</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">LW</span><span>，它的意思是当月的最后一个工作日；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">●</span><span>井号</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(#)</span><span>：该字符只能在星期字段中使用，表示当月某个工作日。如</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">6#3</span><span>表示当月的第三个星期五</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">(6</span><span>表示星期五，</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">#3</span><span>表示当前的第三个</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">)</span><span>，而</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">4#5</span><span>表示当月的第五个星期三，假设当月没有第五个星期三，忽略不触发；</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">● C</span><span>：该字符只在日期和星期字段中使用，代表</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&ldquo;Calendar&rdquo;</span><span>的意思。它的意思是计划所关联的日期，如果日期没有被关联，则相当于日历中所有日期。例如</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5C</span><span>在日期字段中就相当于日历</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5</span><span>日以后的第一天。</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">1C</span><span>在星期字段中相当于星期日后的第一天。</span></p><p style="text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">Cron</span><span>表达式对特殊字符的大小写不敏感，对代表星期的缩写英文大小写也不敏感。</span></p><p style="text-align: left; line-height: 150%" align="left"><span>表</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">2</span><span>下面给出一些完整的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">Cron</span><span>表示式的实例：</span></p><p style="text-align: left; line-height: 150%" align="left"><span>表</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">2 Cron</span><span>表示式示例</span></p><table border="1" cellspacing="1" cellpadding="0"><tbody><tr><td width="235" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>表示式</span></p></td><td width="324" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>说明</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 0 12 * * ? &quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">12</span><span>点运行</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 ? * *&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>运行</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 * * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>运行</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 * * ? *&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>运行</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 * * ? 2008&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>在</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">2008</span><span>年的每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10</span><span>：</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>运行</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 * 14 * * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14</span><span>点到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>点之间每分钟运行一次，开始于</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:00</span><span>，结束于</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:59</span><span>。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 0/5 14 * * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14</span><span>点到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>点每</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5</span><span>分钟运行一次，开始于</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:00</span><span>，结束于</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:55</span><span>。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 0/5 14,18 * * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14</span><span>点到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>点每</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5</span><span>分钟运行一次，此外每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">18</span><span>点到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">19</span><span>点每</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">5</span><span>钟也运行一次。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 0-5 14 * * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:00</span><span>点到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:05</span><span>，每分钟运行一次。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 10,44 14 ? 3 WED&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">3</span><span>月每周三的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:10</span><span>分到</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">14:44</span><span>，每分钟运行一次。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 ? * MON-FRI&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每周一，二，三，四，五的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>分运行。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 15 * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每月</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">15</span><span>日</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>分运行。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 L * ?&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每月最后一天</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>分运行。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 ? * 6L&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每月最后一个星期五</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>分运行。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 ? * 6L 2007-2009&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>在</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">2007,2008,2009</span><span>年每个月的最后一个星期五的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>分运行。</span></p></td></tr><tr><td width="235" valign="top" style="padding: 0.75pt; width: 176.25pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">&quot;0 15 10 ? * 6#3&quot;</span></p></td><td width="324" valign="top" style="padding: 0.75pt; width: 243pt"><p style="margin: 0cm 6pt 0pt; text-align: left; line-height: 150%" align="left"><span>每月第三个星期五的</span><span style="color: black; line-height: 150%; font-family: &quot;Courier New&quot;; font-size: 10pt">10:15</span><span>分运行。</span></p></td></tr></tbody></table>
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/370.htm</link>
<title><![CDATA[PowerDesigner表设计的数据初始化问题]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[利剑之辉的快乐生活]]></category>
<pubDate>Thu, 26 Apr 2012 01:45:46 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/370.htm</guid> 
<description>
<![CDATA[ 
	使用PowerDesigner设计表的时候需要直接将一些数据插入到数据库中：<br /> （1）在视图中找到&ldquo;Script&rdquo;，在&ldquo;end&rdquo;中写入insert语句<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;（注：begin--是在表create语句执行之前的执行脚本<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end--是在表create语句执行之后的执行脚本）<br /> （2）使用<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insert into %TABLE% values('1','oracle');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insert into %TABLE% values('2','mysql');<br />&nbsp;&nbsp;这里使用%TABLE%的话会动态生成表名称，当修改了表名称的话不会出现问题。<br /> （3）字段的动态生成还未找到？？？？<br />
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/369.htm</link>
<title><![CDATA[手机短信(SMS)PDU编码与解码]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[利剑之辉的快乐生活]]></category>
<pubDate>Tue, 27 Mar 2012 02:37:30 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/369.htm</guid> 
<description>
<![CDATA[ 
	PDU简介及其格式<br />PDU是大多数手机短信通讯的核心，仅有少数手机只支持Text模式。PDU模式比起Text模式可以提供能为强大的功能，但其编码较Text模式困难。无论哪种模式，我们都可以通过AT指令控制终端实现短信的发送、接收、删除等管理。下面主要介绍PDU的构成及编码解码。<br />PDU的构成<br />PDU是由一串由&ldquo;0-9&rdquo;及&ldquo;A-F&rdquo;组成。表面上看起来就是一组16进制的数所组成的。<br />下面举一个发送和接收的例子。<br />1、&nbsp; 手机发送的一个PDU串：<br />0891683108200805F011190D91683188902848F40008FF108FD9662F4E0067616D4B8BD577ED4FE<br />对比3GPP协议得到：（二进制代码从左到右依次为高位-&gt;低位）<br />短信中心地址字段 <br />08&nbsp;&nbsp;Address-Lengt(地址长度)：短信息中心地址长度。指（91）+（683108701305F0）的长度。8个字节，包括其后的91<br />91&nbsp;&nbsp;Type-of-Address(地址类型)：10010001 <br />&nbsp;&nbsp;&nbsp;&nbsp;Bit7：1。始终为1<br />&nbsp;&nbsp;&nbsp;&nbsp;Bits 6,5,4：Type-of-Number（号码类型）：001&mdash;代表Internation Number(国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 际号码)。也即是号码前加&ldquo;+&rdquo;。注意：对某些比较特殊的号码，例如手机与&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 小灵通的互通时，这里不能设置为001;而要设置成000&mdash;未知，代表号码前没&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 有&ldquo;+&rdquo;，否则无法接收。;010&mdash;国内号码;011&mdash;111也分别代表不同的号码类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 型,一般不用.<br />Bits 3,2,1,0：Numbering-plan-identification(号码鉴别)：0000&mdash;未知，0001&mdash;ISDN/电话号码(E.164/E.163)，1111&mdash;留作扩展；一般默认为0001，表示电话号码类型的。<br />683108200805F0&nbsp;&nbsp;(Service center number)短信中心号码：一个字节内反转，8613800280500，如果长度为奇数则需要加&ldquo;F&rdquo;补齐<br />&nbsp;&nbsp;FirstOctet字段 (文件头字节)<br />11&nbsp;&nbsp; 包含TP-MTI(2bit)，TP-RD(1bit)，TP-VPF(2bit)，TP-RP（1bit），TP-UDHI(1bit)，TP-SRR(1bit)<br />二进制表示形式：0 0 0 10 0 01 <br />TP-RP：0<br />&nbsp;&nbsp;TP-Reply-Path（回复路径）<br />&nbsp;&nbsp;Bit7：0&mdash;不设置; 1&mdash;设置<br />0&nbsp;&nbsp;指示没有设置回复路径。<br />TP-UDHI：0<br />&nbsp;&nbsp;TP-User-Data-Header-Indicator（用户数据头标示）<br />&nbsp;&nbsp;Bit6：0&mdash;不含任何头信息; 1&mdash;含头信息 <br />0&nbsp;&nbsp;指示这是一个SMS消息，没有用户数据头。EMS消息需要设置。<br />TP-SRR：0<br />&nbsp;&nbsp;TP-Status-Report-Request<br />&nbsp;&nbsp;Bit5：0&mdash;需要报告; 1&mdash;不需要报告<br />TP-VPF：10<br />&nbsp;&nbsp;TP-Validity-Period-Format（有效期格式）<br />&nbsp;&nbsp;Bit4,3：：00&mdash;不提供（Not present）; 10&mdash;整型（标准）；01&mdash;预留; 11&mdash;提供8位字节的一半（Semi-Octet Represented） <br />10 指示使用相对格式。<br />TP-RD：0<br />TP-Reject-Duplicates（是否拒绝相同重复消息）<br />Bit2：0&mdash;接受复制; 1&mdash;拒绝复制<br />0 指示短消息中心接受未转发的具有相同TP-MR的消息。<br />TP-MTI：01<br />&nbsp;&nbsp;TP-Message-Type-Indicator（消息类型指示符）<br />Bit1,0：00&mdash;读出（Deliver）; 01&mdash;提交（Submit）<br />01 指示为SMS-SUBMIT类型<br /><br />0&nbsp;&nbsp;指示不使用状态报告。<br />消息参考值TP-MR<br />19&nbsp;&nbsp;TP-Message-Reference<br />使用&quot;00&quot; 值代表让电话自己设置消息参考值.<br />&nbsp;&nbsp;对方号码字段<br />&nbsp;&nbsp;&nbsp;&nbsp;0D91683188902848F4<br />&nbsp;&nbsp;&nbsp;&nbsp;其结构与短信中心号码字段部分类似，不再赘述。<br />&nbsp;&nbsp;协议标识TP-PID<br />&nbsp;&nbsp;00&nbsp;&nbsp;TP-Protocol-Identifier（上层协议指示），一般设置为00，表示普通GSM，点对点<br />BIT No.&nbsp; 7 6 5 4 3 2 1 0&nbsp; <br />Bit7与Bit6： 00&mdash;使用Bit0至Bit5定义的分配；01&mdash;使用Bit0至Bit5定义的分配,参见GSM03.40协议标识完全定义；10&mdash;预留；11&mdash;使用Bit0至Bit5定义的分配,为服务中心（SC）特殊用途分配。 <br />一般将这两位置为00。 <br />Bit5：0&mdash;不使用远程网络，只是短消息设备之间的协议；1&mdash;使用远程网络。 <br />Bit0,1,2,3,4：00000&mdash;隐含；00001&mdash;电传；00010&mdash;group 3 telefax；00100&mdash;语音；00101&mdash;欧洲无线信息系统（ERMES）；00110&mdash;国内系统；10001&mdash;任何基于X.400的公用信息处理系统；10010&mdash;Email。 <br />编码方法TP-DCS&nbsp; <br /><br />08&nbsp;&nbsp;TP-Data-Coding-Scheme（数据编码设置），指示TP-UD的编码方式。08代表Unicode方式。00为7Bit编码<br />BIT No. 7 6 5 4 3 2 1 0&nbsp; <br />Bit7与Bit6 :一般设置为00；<br />Bit5：0&mdash;文本未压缩，1&mdash;文本用GSM标准压缩算法压缩；<br />Bit4：0&mdash;表示Bit1、Bit0为保留位，不含信息类型信息，1&mdash;表示Bit1、Bit0含有信息类型信息；<br />Bit3与Bit2：00&mdash;默认的字母表，01&mdash;8bit，10&mdash;USC2（16bit），11&mdash;预留；<br />Bit1与Bit0：00&mdash;Class 0 立即显示就是闪信(Immediate display) ，01&mdash;Class 1，10&mdash;Class 2（SIM卡特定信息），11&mdash;Class 3。 <br />&nbsp;&nbsp;有效期TP-VP<br />FF&nbsp;&nbsp;TP-Validity-Period（有效期）。FF表示最大。<br />VP value(&amp;h)&nbsp; 相应的有效期&nbsp; <br />00 to 8F(0 to 143)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (VP+1)*5 分钟&nbsp; <br />90 to A7(144 to 167)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12小时+(VP-143)*30分钟&nbsp; <br />A8 to C4(168 to 196)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (VP-166)*1天 <br />C5 to FF(197 to 255)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (VP-192)*1 周<br />&nbsp;&nbsp;用户数据长度TP-UDL<br />10&nbsp;&nbsp;TP-User-Data-Length（用户数据长度）<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x10长度。注意不同编码下用户长度定义不同。<br />&nbsp;&nbsp;用户数据TP-UD<br />8FD9662F4E0067616D4B8BD577ED4FE&nbsp;&nbsp;TP-User-Data<br />&nbsp;&nbsp;&nbsp;&nbsp;中文&ldquo;这是一条测试短信&rdquo;的Unicode编码<br />&nbsp;<br />2、&nbsp; 手机接收的PDU串<br />0891683108200805F0040D91683188902848F4000850208151754500108FD9662F4E0067616D4B8BD577ED4FE1<br />短信中心地址字段<br />&nbsp;&nbsp;&nbsp;&nbsp;0891683108200805F0：+861380280500<br />FirstOctet<br />&nbsp;&nbsp;&nbsp;&nbsp;04<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其二进制代码：00000100<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TP-MTI：00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TP-MMS(TP-More-Message-to-Send)：1 短信中心没有更多的消息发送<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TP-SRI：0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TP-UDHI：0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TP-RP：0<br />发送方号码<br />&nbsp;&nbsp;&nbsp;&nbsp;0D91683188902848F4：+8613880982844<br />协议标识<br />&nbsp;&nbsp;&nbsp;&nbsp;00&nbsp;&nbsp;TP-PID&nbsp;&nbsp;点对点<br />编码方式<br />&nbsp;&nbsp;&nbsp;&nbsp;08&nbsp;&nbsp;TP-DCS&nbsp;&nbsp;Unicode编码<br />短信中心时间戳<br />&nbsp;&nbsp;&nbsp;&nbsp;50208151754500 TP-SCTS&nbsp;&nbsp;字节反转05/02/18 15：57：45&nbsp; 最后的00代表时区，这里为0<br />用户数据长度()<br />&nbsp;&nbsp;&nbsp;&nbsp;10&nbsp;&nbsp;TP-DHL （按字节计）<br />用户数据(TP-User-Data)<br />&nbsp;&nbsp;&nbsp;&nbsp;8FD9662F4E0067616D4B8BD577ED4FE1&nbsp;&nbsp;&nbsp;&nbsp;TP-UD<br />&nbsp;&nbsp;中文&ldquo;这是一条测试短信&rdquo;的Unicode编码<br /><br /><br />下面的代码使用3508i测试通过<br /><br />unit SMS2PDU;<br />interface<br />type<br />&nbsp; TSms2Pdu = record<br />&nbsp;&nbsp;&nbsp; PDUString: string;<br />&nbsp;&nbsp;&nbsp; SMSLen: Integer;<br />&nbsp; end;<br />&nbsp; TPdu2Sms = record<br />&nbsp;&nbsp;&nbsp; SMSCAddressType,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SMSCNumber,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FirstOctet: string;<br />&nbsp;&nbsp;&nbsp; PhoneAddressType,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PhoneNumber,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TPPID,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TPDCS,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timezone,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TimeStamp: string;<br />&nbsp;&nbsp;&nbsp; SMSMessage: string;<br />&nbsp; end;<br />function HexToBin(HexNr: string): string;<br />function IntToBin(data: integer): string;<br />function HexToInt(HexStr: string): Integer;<br />function EncodeUniCode(s: WideString): string;<br />function DecodeUniCode(s:String):WideString;<br />&#123;SMSCenter:短信中心号码 可填可不填,如果不用则代表使用手机中设置的短信中心号码,<br /> Phone:接收移动设备号码, SMSMessage: 短信内容; Flash:是否是闪信&#125;<br />function DecomposePDUMessage(PDUMessage: string): TPdu2Sms;<br /><br />function BuildPDUMessage(SMSCenter, Phone, SMSMessage: string; Flash:<br />&nbsp; Boolean): TSms2Pdu;<br />implementation<br />uses<br />&nbsp; SysUtils, Classes;<br /><br />function IntToBin(data: integer): string;<br />begin<br />&nbsp; result := '';<br />&nbsp; while (data &gt; 1) do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; result := inttostr(data mod 2) + result;<br />&nbsp;&nbsp;&nbsp; data := data shr 1; //右移一位<br />&nbsp; end;<br />&nbsp; result := inttostr(data) + result;<br />end;<br /><br />function HexToBin(HexNr: string): string;<br />begin<br />&nbsp; Result := IntToBin(HexToInt(HexNr));<br />end;<br /><br />function HexToInt(HexStr: string): Integer;<br />var<br />&nbsp; i, TempInt, LocalInt: Integer;<br />begin<br />&nbsp; HexStr := UpperCase(HexStr);<br /><br />&nbsp; LocalInt := 1;<br />&nbsp; Result := 0;<br />&nbsp; for i := Length(HexStr) downto 1 do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; if HexStr[i] in ['0'..'9'] then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TempInt := StrToInt(HexStr[i])<br />&nbsp;&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TempInt := Ord(HexStr[i]) - Ord('A') + 10;<br /><br />&nbsp;&nbsp;&nbsp; if i = Length(HexStr) then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LocalInt := 1<br />&nbsp;&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LocalInt := LocalInt * 16;<br /><br />&nbsp;&nbsp;&nbsp; Result := Result + TempInt * LocalInt;<br />&nbsp; end;<br />end;<br /><br />function EncodeUniCode(s: WideString): string;<br />var<br />&nbsp; i, len: Integer;<br />&nbsp; cur: Integer;<br />&nbsp; t: string;<br />begin<br />&nbsp; Result := '';<br />&nbsp; len := Length(s);<br />&nbsp; i := 1;<br />&nbsp; while i &lt;= len do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; cur := ord(s[i]);<br />&nbsp;&nbsp;&nbsp; Result := Result + IntToHex(Cur, 4);<br />&nbsp;&nbsp;&nbsp; inc(i);<br />&nbsp; end;<br />end;<br />function DecodeUniCode(s:String):WideString;<br />var<br />&nbsp; p:PWord;<br />&nbsp; i,len:Integer;<br />&nbsp; cur:Integer;<br />&nbsp; TempChar:WideChar;<br />&nbsp; t:String;<br />begin<br />&nbsp; New(p);<br /><br />&nbsp; Result:='';<br />&nbsp; len:=Length(s) div 4;<br />&nbsp; i:=1;<br /><br />&nbsp; for i:=0 to Len-1 do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; t:=Copy(s,4*i+1,4);<br />&nbsp;&nbsp;&nbsp; p^:=HexToInt(t);<br /><br />&nbsp;&nbsp;&nbsp; Move(p^,TempChar,2);<br />&nbsp;&nbsp;&nbsp; Result:=Result+TempChar;<br />&nbsp; end;<br /><br />&nbsp; Dispose(p);<br />end;<br /><br />&#123;SMSCenter:短信中心号码 可填可不填,如果不用则代表使用手机中设置的短信中心号码,<br /> Phone:接收手机及小灵通号码, SMSMessage: 短信内容; Flash:是否是闪信&#125;<br /><br />function BuildPDUMessage(SMSCenter, Phone, SMSMessage: string; Flash:<br />&nbsp; Boolean): TSms2Pdu;<br />var<br />&nbsp; aLength, I: Integer;<br />&nbsp; S: string;<br /><br />begin<br />&nbsp; //<br />&#123;清除短信中心和接收手机号码前面的+号&#125;<br />&nbsp; if (SMSCenter &lt;&gt; '') and (SMSCenter[1] = '+') then delete(SMSCenter, 1, 1);<br />&nbsp; if (Phone &lt;&gt; '') and (Phone[1] = '+') then<br />&nbsp;&nbsp;&nbsp; delete(Phone, 1, 1);<br /><br />&nbsp; &#123;写入短信中心信息&#125;<br />&nbsp; if SMSCenter = '' then<br />&nbsp;&nbsp;&nbsp; result.PDUString := '00'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#123;短信中心SMSC 长度信息. 长度为零0, 表示SMSC存储在发送短信的设备中.&#125;<br />&nbsp; else<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; aLength := Length(SMSCenter);<br />&nbsp;&nbsp;&nbsp; if Odd(aLength) then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aLength := aLength + 1;<br />&nbsp;&nbsp;&nbsp; &#123;如果短信中心号码长度为奇数，需要添加 F 。使用odd (11) &#125;<br />&nbsp;&nbsp;&nbsp; aLength := 1 + (aLength div 2); &#123;短信中心地址 SMSC 长度，八位&#125;<br /><br />&nbsp;&nbsp;&nbsp; &#123;写入短信中心地址长度 SMSC &#125;<br />&nbsp;&nbsp;&nbsp; if aLength &lt; 10 then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result.PDUString := '0' + IntToStr(aLength)<br />&nbsp;&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result.PDUString := IntToStr(aLength);<br /><br />&nbsp;&nbsp;&nbsp; &#123;写入短信中心短信息中心号码类型（Type-of-address of the SMSC）. (91 代表国际格式的电话号码)&#125;<br />&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + '91';<br /><br />&nbsp;&nbsp;&nbsp; &#123;短信中心号码移位处理&#125;<br />&nbsp;&nbsp;&nbsp; aLength := Length(SMSCenter);<br />&nbsp;&nbsp;&nbsp; I := 1;<br />&nbsp;&nbsp;&nbsp; while I &lt; aLength do<br />&nbsp;&nbsp;&nbsp; begin<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + SMSCenter[I + 1] + SMSCenter[I];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I := I + 2;<br />&nbsp;&nbsp;&nbsp; end;<br /><br />&nbsp;&nbsp;&nbsp; &#123;短信中心号码如果不是偶数,末尾添加 F.&#125;<br />&nbsp;&nbsp;&nbsp; if Odd(aLength) then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + 'F' + SMSCenter[aLength];<br />&nbsp; end;<br /><br />&nbsp; &#123;写入文件头信息 First octet .此值中包含是否需要报告,是否允许重复,及有效时间格式等信息<br />&nbsp; &quot;11&quot;的二进制值为&quot;0 0 0 10 0 01&quot; ,依次代表0-回复路径不设置,0-不含头信息,0-不需要报告,10-有效期格式 整形,0-接受同样的短消息,01-提交<br />&nbsp; 一般也可以设置为&quot;35&quot; 二进制值&quot;0 0 1 10 1 01&quot;,&quot;11&quot;相比,需要报告并且拒绝同样的短信息.&#125;<br />&nbsp; result.PDUString := result.PDUString + '11';<br /><br />&nbsp; &#123;写入 TP-Message-Reference 消息参考值&nbsp; &quot;00&quot; 代表使用发送设备设置消息参考值.&#125;<br />&nbsp; result.PDUString := result.PDUString + '00';<br /><br />&nbsp; &#123;写入接受手机号码长度 &#125;<br />&nbsp; result.PDUString := result.PDUString + Format('%02.2x',<br />&nbsp;&nbsp;&nbsp; [Length(Phone)]);<br /><br />&nbsp; &#123;写入手机号码类型. (91 国际号码 81 本地号码，即如果接收手机号码前面有+为91否则为81,主要用来处理小灵通).&#125;<br />&nbsp; if Phone[1] = '+' then<br />&nbsp;&nbsp;&nbsp; Result.PDUString := Result.PDUString + '91'<br />&nbsp; else<br />&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + '81';<br /><br />&nbsp; &#123;接收手机号码移位处理&#125;<br />&nbsp; aLength := Length(Phone);<br />&nbsp; I := 1;<br />&nbsp; while I &lt; aLength do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + Phone[I + 1] + Phone[I];<br />&nbsp;&nbsp;&nbsp; I := I + 2;<br />&nbsp; end;<br /><br />&nbsp; &#123;如果电话号码不为偶数, 则末尾添加 F &#125;<br />&nbsp; if Odd(aLength) then<br />&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + 'F' + Phone[aLength];<br /><br />&nbsp; &#123;TP-PID. Protocol identifier 协议标识&#125;<br />&nbsp; result.PDUString := result.PDUString + '00';<br /><br />&nbsp; &#123;TP-DCS. Data coding scheme 编码方式.&#125;<br />&nbsp; if Flash then<br />&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + '18'<br />&nbsp; else<br />&nbsp;&nbsp;&nbsp; result.PDUString := result.PDUString + '08';<br />&nbsp;&nbsp;&nbsp; <br />&nbsp; &#123;信息有效时间TP-Validity-Period. &quot;AA&quot; 代表最大值. 注意: 是任选项目,其具体的代表的时间<br />&nbsp; 决定于头字节(First octet)中的第4和3字节&#125;<br />&nbsp; result.PDUString := result.PDUString + 'AA';<br />&nbsp; s := EncodeUniCode(SMSMessage);<br />&nbsp; <br />&nbsp; &#123;信息长度转为十六进制 HEX&#125;<br />&nbsp; result.PDUString := result.PDUString + Format('%.2x', [Length(s) div<br />&nbsp;&nbsp;&nbsp; 2]);<br />&nbsp;&nbsp;&nbsp; <br />&nbsp; &#123;添加短信内容信息&#125;<br />&nbsp; Result.PDUString := Result.PDUString + s;<br />&nbsp; <br />&nbsp; &#123;PDU代码长度,不包括短信中心地址字段&#125;<br />&nbsp; Result.SMSLen := (Length(Result.PDUString) - StrToInt(Copy(Result.PDUString,<br />&nbsp;&nbsp;&nbsp; 1, 2)) * 2 - 2) div 2;<br /><br />end;<br /><br />function DecomposePDUMessage(PDUMessage: string): TPdu2Sms;<br />var<br />&nbsp; aLength, I, smsclen, phonelen: Integer;<br />&nbsp; S, SMSCNu, PhoneNu, A_T_bin, smslen, Timestr: string;<br /><br />begin<br />&nbsp; &#123;短信中心地址长度&#125;<br />&nbsp; smsclen := StrToInt(Copy(PDUMessage, 1, 2)) * 2;<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; <br />&nbsp; &#123;短信中心地址类型&#125;<br />&nbsp; Result.SMSCAddressType := Copy(PDUMessage, 1, 2);<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; <br />&nbsp; &#123;短信中心号码&#125;<br />&nbsp; SMSCNu := Copy(PDUMessage, 1, smsclen - 2);<br />&nbsp; I := 1;<br />&nbsp; while I &lt; smsclen - 2 do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; result.SMSCNumber := result.SMSCNumber + SMSCNu[I + 1] + SMSCNu[I];<br />&nbsp;&nbsp;&nbsp; I := I + 2;<br />&nbsp; end;<br />&nbsp; result.SMSCNumber := StringReplace(result.SMSCNumber, 'F', '',<br />&nbsp;&nbsp;&nbsp; [rfReplaceAll]);//&#123;短信中心号码必须添加+号&#125;<br />&nbsp; result.SMSCNumber := '+' + result.SMSCNumber;<br />&nbsp; Delete(PDUMessage, 1, smsclen - 2);<br />&nbsp; <br />&nbsp; &#123;短信头字节&#125;<br />&nbsp; Result.FirstOctet := Copy(PDUMessage, 1, 2);<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; <br />&nbsp; &#123;发送者电话号码长度&#125;<br />&nbsp; phonelen := HexToInt(Copy(PDUMessage, 1, 2));<br />&nbsp;&nbsp;&nbsp; if Odd(phonelen) then<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; phonelen := phonelen + 1;//&#123;不是偶数加1&#125;<br />&nbsp; end;<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; <br />&nbsp; &#123;发送者电话号码类型&#125;<br />&nbsp; Result.PhoneAddressType := Copy(PDUMessage, 1, 2);<br />&nbsp; delete(PDUMessage, 1, 2);<br /><br /> &#123;是否为国际号码,如果是添加+号&#125;<br />&nbsp; A_T_bin := Format('%.8s', [HexToBin(Result.PhoneAddressType)]);<br />&nbsp; IF Copy(A_T_bin,2,3)='001' then<br />&nbsp;&nbsp; result.PhoneNumber := '+';<br />&nbsp; PhoneNu := Copy(PDUMessage, 1, phonelen);<br />&nbsp; delete(PDUMessage, 1, phonelen);<br />&nbsp; <br />&nbsp; &#123;发送者电话号码移位处理&#125;<br />&nbsp; i := 1;<br />&nbsp; while I &lt; phonelen do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; result.PhoneNumber := result.PhoneNumber + PhoneNu[I + 1] + PhoneNu[I];<br />&nbsp;&nbsp;&nbsp; I := I + 2;<br />&nbsp; end;<br />&nbsp; <br />&nbsp; &#123;删除添加的F&#125;<br />&nbsp; result.PhoneNumber := StringReplace(result.PhoneNumber, 'F', '',<br />&nbsp;&nbsp;&nbsp; [rfReplaceAll]);<br />&nbsp;&nbsp;&nbsp; <br />&nbsp; &#123;取得TP_PID信息&#125;&nbsp; <br />&nbsp; Result.TPPID := Copy(PDUMessage, 1, 2);<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; <br />&nbsp; &#123;取得TP_DCS信息&#125;<br />&nbsp; Result.TPDCS := Copy(PDUMessage, 1, 2);<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; <br />&nbsp; &#123;取得日期和时间,格式为'yy-mm-dd hh:mm:ss'&#125;<br />&nbsp; Timestr := Copy(PDUMessage, 1, 12);<br />&nbsp; i := 1;<br />&nbsp; while I &lt; 6 do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; Result.TimeStamp := Result.TimeStamp + Timestr[I + 1] + Timestr[I] + '-';<br />&nbsp;&nbsp;&nbsp; I := I + 2;<br />&nbsp; end;<br />&nbsp; Delete(Result.TimeStamp, Length(Result.TimeStamp), 1);<br />&nbsp; i := 7;<br />&nbsp; Result.TimeStamp := Result.TimeStamp + ' ';<br />&nbsp; while I &lt; 12 do<br />&nbsp; begin<br />&nbsp;&nbsp;&nbsp; Result.TimeStamp := Result.TimeStamp + Timestr[I + 1] + Timestr[I] +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ':';<br />&nbsp;&nbsp;&nbsp; I := I + 2;<br />&nbsp; end;<br />&nbsp; Delete(Result.TimeStamp, Length(Result.TimeStamp), 1);<br />&nbsp; delete(PDUMessage, 1, 12);<br />&nbsp; <br />&nbsp; &#123;取得时区&#125;<br />&nbsp; Result.Timezone := Copy(PDUMessage, 1, 2);<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; &#123;短信内容长度&#125;<br />&nbsp; smsclen := HexToInt(Copy(PDUMessage, 1, 2)) * 2;<br />&nbsp; delete(PDUMessage, 1, 2);<br />&nbsp; &#123;取得信息内容UniCode编码&#125;<br />&nbsp; Result.SMSMessage := Copy(PDUMessage, 1, smsclen);<br />&nbsp; &#123;解码信息内容&#125;<br />&nbsp; Result.SMSMessage:=DecodeUniCode(Result.SMSMessage);<br /><br />end;<br /><br />end.<br />
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/368.htm</link>
<title><![CDATA[手机短信的PDU编码和解码]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[利剑之辉的快乐生活]]></category>
<pubDate>Sun, 25 Mar 2012 14:48:28 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/368.htm</guid> 
<description>
<![CDATA[ 
	<span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">共有三种方式来发送和接收SMS信息：Block Mode, Text Mode和PDU Mode。其中PDU Mode被所有手机支持，可以使用任何字符集，这也是手机默认的编码方式。</span><br /><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">发 送短消息常用Text和PDU(Protocol Data Unit，协议数据单元)模式。使用Text模式收发短信代码简单，实现起来十分容易，但最大的缺点是不能收发中文短信；而PDU模式不仅支持中文短信，也能发送英文短信。PDU模式收发短信可以使用3种编码：7-bit、8-bit和UCS2编码。7-bit编码用于发送普通的ASCII字符，它将一串 7-bit的字符(最高位为0)编码成8-bit的数据，每8个字符可&ldquo;压缩&rdquo;成7个；8-bit编码通常用于发送数据消息，比如图片和铃声等；而 UCS2编码用于发送Unicode字符。在这三种编码方式下，PDU串的用户信息(TP-UD)段最大容量(可以发送的短消息的最大字符数)分别是 160、140和70。这里，将一个英文字母、一个汉字和一个数据字节都视为一个字符。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">PDU串的用户信息长度(TP-UDL)，在各种编码方式下意义有所不同。7-bit编码时，指原始短消息的字符个数，而不是编码后的字节数。8-bit编码时，就是字节数。UCS2编码时，也是字节数，等于原始短消息的字符数的两倍。如果用户信息(TP-UD)中存在一个头(基本参数的TP-UDHI为1)，在所有编码方式下，用户信息长度(TP-UDL)都等于头长度与编码后字节数之和。如果采用GSM 03.42所建议的压缩算法(TP-DCS的高3位为001)，则该长度也是压缩编码后字节数或头长度与压缩编码后字节数之和。&nbsp;</span><br /><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">PDU 相当于一个数据包，它由构成消息（SMS）的信息组成。作为一种数据单元，它必须包含源/目的地址、保护（有效）时间、数据格式、协议类型和正文，正文长度可达140字节，它们都以十六进制表示。PDU结构根据短消息由移动终端发起或以移动终端为目的而不同。每条消息可以发送140个字节，由于本系统中最长的数据串没有超过140个字节，因此数据均可以用一条消息来发送。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">一般的PDU编码由A B C D E F G H I J K L M十三项组成。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">A：短信息中心地址长度，2位十六进制数(1字节)。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">B：短信息中心号码类型，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">C：短信息中心号码，B+C的长度将由A中的数据决定。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">D：文件头字节，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">E：信息类型，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">F：被叫号码长度，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">G：被叫号码类型，2位十六进制数，取值同B。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">H：被叫号码，长度由F中的数据决定。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">I：协议标识，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">J：数据编码方案，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">K：有效期，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">L：用户数据长度，2位十六进制数。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">M：用户数据，其长度由L中的数据决定。J中设定采用UCS2编码，这里是中英文的Unicode字符。</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">PDU编码协议简单说明<br /></strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">例1 发送：SMSC号码是</span><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">+8613800250500</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">，对方号码是</span><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">13693092030</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">，消息内容是&ldquo;</span><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Hello!</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&rdquo;。从手机发出的PDU串可以是</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">08 91 68 31 08 20 05 05 F0 11 00 0D 91 68 31 96 03 29 30 F0 00 00 00 06 C8 32 9B FD 0E 01<br /></strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">对照规范，具体分析：</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">分段&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">含义&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">说明</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">08</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SMSC地址信息的长度&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">共8个八位字节(包括91)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">91</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SMSC地址格式(TON/NPI)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用国际格式号码(在前面加&lsquo;+&rsquo;)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">68 31 08 20 05 05 F0</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SMSC地址&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">8613800250500，补&lsquo;F&rsquo;凑成偶数个</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">11</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">基本参数(TP-MTI/VFP)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">发送，TP-VP用相对格式</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">00</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">消息基准值(TP-MR)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0D</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">目标地址数字个数&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">共13个十进制数(不包括91和&lsquo;F&rsquo;)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">91</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">目标地址格式(TON/NPI)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用国际格式号码(在前面加&lsquo;+&rsquo;)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">68 31 96 03 29 30 F0</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">目标地址(TP-DA)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">8613693092030，补&lsquo;F&rsquo;凑成偶数个</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">00</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">协议标识(TP-PID)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">是普通GSM类型，点到点方式</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">00</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用户信息编码方式(TP-DCS)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">7-bit编码</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">00</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">有效期(TP-VP)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">5分钟</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">06</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用户信息长度(TP-UDL)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">实际长度6个字节</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">C8 32 9B FD 0E 01</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用户信息(TP-UD)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&ldquo;Hello!&rdquo;</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">例2 接收：SMSC号码是</span><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">+8613800250500</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">，对方号码是</span><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">13693092030</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">，消息内容是&ldquo;</span><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">你好!</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&rdquo;。手机接收到的PDU串可以是</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">08 91 68 31 08 20 05 05 F0 84 0D 91 68 31 96 03 29 30 F0 00 08 30 30 21 80 63 54 80 06 4F 60 59 7D 00 21<br /></strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">对照规范，具体分析：</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">分段&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">含义&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">说明</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">08</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">地址信息的长度&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">个八位字节(包括91)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">91</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SMSC地址格式(TON/NPI)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用国际格式号码(在前面加&lsquo;+&rsquo;)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">68 31 08 20 05 05 F0</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SMSC地址&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">8613800250500，补&lsquo;F&rsquo;凑成偶数个</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">84</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">基本参数(TP-MTI/MMS/RP)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">接收，无更多消息，有回复地址</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0D</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">回复地址数字个数&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">共13个十进制数(不包括91和&lsquo;F&rsquo;)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">91</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">回复地址格式(TON/NPI)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用国际格式号码(在前面加&lsquo;+&rsquo;)</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">68 31 96 03 29 30 F0</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">回复地址(TP-RA)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">8613693092030，补&lsquo;F&rsquo;凑成偶数个</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">00</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">协议标识(TP-PID)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">是普通GSM类型，点到点方式</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">08</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用户信息编码方式(TP-DCS)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">UCS2编码</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">30 30 21 80 63 54 80</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">时间戳(TP-SCTS)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2003-3-12 08:36:45&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>+8时区</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">06</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用户信息长度(TP-UDL)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">实际长度6个字节</span><br /><strong style="text-align: justify; color: #332e38; text-transform: none; line-height: 25px; text-indent: 0px; letter-spacing: normal; font-family: Palatino, Georgia, Times, &quot;Times New Roman&quot;; font-size: 18px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">4F 60 59 7D 00 21</strong><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">用户信息(TP-UD)&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&ldquo;你好!&rdquo;</span><br /><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">详细解析：</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0891683108200505F011190D91683105155694F50008FF10</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">008FF044F60597D</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>&lt;1&gt;短信中心地址字段:0891&nbsp;</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>08：Address-Lengt(地址长度)，短信息中心地址长度为8个字节，是（91）+（683108200505F0）的长度，8个8位字节</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">91 地址类型：10010001&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Bit7：1。始终为1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Bits 6,5,4：Type-of-Number（号码类型）：001，代表Internation Number。也即是号码前加&ldquo;+&rdquo;。注意：对某些比较特殊的号码，例如手机与小灵通的互通时，这里不能设置为001，而要设置成000，代表号码前没有 &ldquo;+&rdquo;，否则无法接收。</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">下面是GSM03.40协议号码类型的解释：</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 0 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Unknown</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 0 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>International number</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 1 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>National number</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 1 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Network specific number</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 0 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Subscriber number</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 0 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Alphanumeric(coded according to TS03.38 7-bit default alphabet)</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 1 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Abbreviated number</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 1 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Reserved for extension</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">ll not interpret reserved values but will store them as received.</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Bits 3,2,1，0：Numbering-plan-identification(号码鉴别)，0000&mdash;未知，0001&mdash;ISDN/电话号码 (E.164/E.163)，1111&mdash;留作扩展；一般默认为0001，表示电话号码类型的。下面是GSM03.40号码鉴别的解释：</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Bits3 2 1 0</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 0 0 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Unknown</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 0 0 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>ISDN/telephone numbering plan (E.164/E.163)</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 0 1 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Data numbering plan (X.121)</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">0 1 0 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Telex numbering plan</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 0 0 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>National numbering plan</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 0 0 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Private numbering plan</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 0 1 0&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>ERMES numbering plan (ETSI DE/PS 3 01-3)</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1 1 1 1&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Reserved for extension</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">All other values are reserved.</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&lt;2&gt;短信中心号码:683108200805F0</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">一个字节内反转，8613800280500，如果长度为奇数则需要加&ldquo;F&rdquo;补齐。比如号码为：+8613505165495，去掉&quot;+&quot;后在末尾添加F变为：8613505165495F，再将手机号码的奇数位和偶数位的相交换为683105155694F5</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&lt;3&gt;FirstOctet字段:1119</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>(1)11&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</span><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">包含TP-MTI(2bit)，TP-RD(1bit)，TP-VPF(2bit)，TP-RP（1bit），TP-UDHI(1bit)，TP-SRR(1bit)</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">二进制表示形式：0 0 0 10 0 01</span><br /><span style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">TP-MTI：01 TP-Message-Type-Indicator（消息类型指示符）</span><p style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Bit1,0：00&mdash;读出（Deliver）;&nbsp;01&mdash;提交（Submit）<br />Bit1,0：01指示为SMS-SUBMIT类型&nbsp;<br />下面是GSM03.40的解释：<br />&nbsp;bit1 bit0&nbsp;<span class="Apple-converted-space">&nbsp;</span>Message type<br />&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SMS-DELIVER (in the direction SC to MS)<br />&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SMS-DELIVER REPORT (in the direction MS to SC)<br />&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SMS-STATUS-REPORT (in the direction SC to MS)<br />&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SMS-COMMAND (in the direction MS to SC)<br />&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SMS-SUBMIT (in the direction MS to SC)<br />&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SMS-SUBMIT-REPORT (in the direction SC to MS)<br />&nbsp;1&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>ReservedTP-RD：0&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-Reject-Duplicates（是否拒绝相同重复消息）</p><p style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Bit2：0&mdash;接受复制;&nbsp;1&mdash;拒绝复制<br />&nbsp;<br />&nbsp;Bit2：0&nbsp;&nbsp;&nbsp;指示短消息中心接收未转发的具有相同TP-MR的消息。<br />&nbsp;Bit 2:<br />&nbsp;0&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Instruct the SC to accept an SMS-SUBMIT for an SM still held in the&nbsp;<span class="Apple-converted-space">&nbsp;</span>SC which has the same TP-MR and the same TP-DA as a previously submitted SM from the same OA.<br />&nbsp;1&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Instruct the SC to reject an SMS-SUBMIT for an SM still held in the&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>SC which has the same TP-MR and the same TP-DA as the&nbsp;<span class="Apple-converted-space">&nbsp;</span>previously submitted SM from the same OA. In this case an&nbsp;<span class="Apple-converted-space">&nbsp;</span>appropriate TP-FCS value will be returned in the SMS-SUBMIT-REPORT.<br />TP-VPF：10&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-Validity-Period-Format（有效期格式）</p><p style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Bit4,3：：00&mdash;不提供（Not&nbsp;present）；01&mdash;预留；&nbsp;&nbsp;10&mdash;整型（标准），指使用相对格式；11&mdash;提供8位字节的一半（Semi-Octet&nbsp;Represented）&nbsp;<br />下面是GSM03.40的解释:<br />bit4 bit3<br />0&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-VP field not present<br />1&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-VP field present and integer represented (relative)<br />0&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Reserved<br />1&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-VP field present and semi-octet represented (absolute)<br />TP-SRR：0&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-Status-Report-Request<br />&nbsp;&nbsp;&nbsp;Bit5：&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1：需要报告，0：不需要报告。<br />Bit 5:<br />0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>A status report is not requested<br />1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>A status report is requested<br />TP -UDHI：0&nbsp;&nbsp;&nbsp;TP-User-Data-Header-Indicator（用户数据头标示）&nbsp;&nbsp;&nbsp;Bit6：&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1：含头信息&nbsp;<span class="Apple-converted-space">&nbsp;</span>0：不含头信息，指示这是一个SMS消息，没有用户数据头，EMS（增强消息业务）消息需要设置。图片铃声这些都是包含头部信息的.文本不包含头部信息<br />Bit&nbsp;<span class="Apple-converted-space">&nbsp;</span>6<br />0&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>The TP-UD field contains only the short message<br />1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>The beginning of the TP-UD field contains a Header in addition to the&nbsp;<span class="Apple-converted-space">&nbsp;</span>short message<br />TP-RP：0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TP-Reply-Path（回复路径）&nbsp;&nbsp;&nbsp;Bit7：&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>1：设置回复路径，0：没有设置回复路径。<br />下面是GSM03.40解释：<br />Bit 7:<br />0：&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-Reply-Path parameter is not set in this SMS-SUBMIT/DELIVER<br />1：&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-Reply-Path parameter is set in this SMS-SUBMIT/DELIVER<br />(2)消息参考值TP-MR (TP-Message-Reference):19如果使用&quot;00&quot;&nbsp;值代表让电话自己设置消息参考值.<br />&nbsp;<br />&nbsp;&nbsp;&lt;4&gt;&nbsp;对方号码字段：0D913105155694F5&nbsp;<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>0D:目标地址数字个数,共13个十进制数(不包括91和&lsquo;F&rsquo;)<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>91:地址类型,同短信中心号码设置.<br />&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>3105155694F5：目标手机号码。</p><p style="font: 18px/25px Palatino, Georgia, Times, &quot;Times New Roman&quot;; text-align: justify; color: #332e38; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; word-wrap: break-word; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: #fdfdfd; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&lt;5&gt;上层协议标识TP-PID(TP-Protocol-Identifier)：00<br />&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>一般设置为00，表示普通GSM，点对点&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;6&gt; 数据编码设置TP-DCS(TP-Data-Coding-Scheme):08<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>指示TP-UD的编码方式。08代表Unicode方式。参照GSM03.38协议：<br />Bit 3,2<br />00&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Default alphabet<br />01&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>8 bit<br />10&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>UCS2 (16bit) [10]<br />11&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>Reserved<br />&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;7&gt;有效期TP-VP(TP-Validity-Period):FF<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>FF表示最大。<br />&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;8&gt; 用户数据长度TP-UDL(TP-User-Data-Length):4<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>用户数据实际长度。注意不同编码下用户长度定义不同。<br />&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;9&gt;用户数据 :4F60597D&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>&quot;你好&quot;的Unicode编码<br />你：0x4F60；好：0x597D<br />&nbsp;<span class="Apple-converted-space">&nbsp;</span>2:手机接收的PDU串<br />&nbsp;0891683108200505F0040D91683105155694F5000850208151754500044F60597D<br />&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;1&gt;短信中心地址字段：0891683108200505F0，即是+8613800250500<br />&nbsp;&lt;2&gt;FirstOctet :04&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>其二进制代码：00000100<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-MTI：00<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-MMS(TP-More-Message-to-Send)：1 短信中心没有更多的消息发送<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-SRI： 0<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-UDHI：0<br />&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-RP：&nbsp;<span class="Apple-converted-space">&nbsp;</span>0<br />&nbsp;&lt;3&gt;发送方号码：0D91683105155694F5&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>即+8613505165495<br />&nbsp;&lt;4&gt;协议标识: 00&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-DCS 点对点<br />&nbsp;&lt;5&gt;编码方式: 08&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>TP-DCS Unicode编码<br />&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;6&gt;短信中心时间&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>50208151754500&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>字节反转05/02/18 15：57：45 最后的00代表时区，这里为0<br />&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>&lt;7&gt;用户数据长度 ：4<br />&nbsp;&lt;8&gt;用户数据：4F60597D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span>中文&ldquo;你好&rdquo;的Unicode编码</p>
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/367.htm</link>
<title><![CDATA[【转发】写卡短信]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[利剑之辉的快乐生活]]></category>
<pubDate>Sun, 25 Mar 2012 10:57:41 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/367.htm</guid> 
<description>
<![CDATA[ 
	<div id="detail" class="detail" style="line-height: 1.3"> <p> </p><div>被这个写卡短信折磨了很久，终于试通了，所以赶紧记下来。</div> <div> </div> <div>我们的项目中使用的短信接口包括CMPP2.0（移动）和SGIP1.2（联通G网），所以下面的设置也只针对这两种协议。</div> <div>这两种协议中，写卡短信和普通短信的Submit命令的差别只在下面三个字段：</div> <div>TP_PID,TP_UDHI,MessageCoding。对于写卡短信，TP_PID＝0x7F;TP_UDHI=0xF6(这个是在高人指点下搞定的，后来自己查了一下GSM03.40协议，发现协议中说这个字段只使用了bit6,换句话说，设成0x40应该也是一样的，不过没有试，不知道是否可行）。上述两个字段的设置对CMPP2.0（移动）和SGIP1.2（联通G网）是一样的，但是MessageCoding的设置两者就有所不同了，对于CMPP2.0,MessageCoding＝4（二进制编码）就OK了，但是对于SGIP1.2，尝试了SGIP协议中提到的所有MessageCoding值都不行，没办法，只好把协议中提到的GSM03.40，GSM3.38的相关章节找出来研究。看到GSM03.40中介绍TP_PID的地方写有一句，当TP_PID=0X7F的时候，MessageCoding应该置为0xf6或者0x16，赶紧一试，把MessageCoding置为0xf6，OK了！</div> <div> </div> <div>疑问：</div> <div>1、不管是CPMM还是SGIP，两者的基础都是GSM，为什么对于MessageCoding的实现会不一样呢？</div> <div>2、GSM3.38中，MessageCoding 等于0xf6或者0x16的含义是完全一样的，为什么SGIP只支持0xf6呢？<br /><br />=======================<br />最近在搞这个，搜到这个东东，记录一下。<br /></div> <p></p></div>
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/366.htm</link>
<title><![CDATA[网站成功的指标]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[利剑之辉的快乐生活]]></category>
<pubDate>Mon, 12 Dec 2011 09:19:21 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/366.htm</guid> 
<description>
<![CDATA[ 
	如何衡量网站的成功，谷歌PageRank和纯粹的流量&ldquo;点击&rdquo;方式 ：所有这些旧的数据变得越来越没有意义在目前的网络环境。<br /><br />　　*为什么当他们衡量排名不同地点和计算机由于本地化和个性化的努力，谷歌和其他搜索引擎?<br /><br />　　* 为什么看一个网站的PageRank时，谷歌本身的承认，它只有一个200信号，确定评估一个网站的权威网站，谷歌认为PR3高于 PR7网站?<br /><br />　　* 为什么吹嘘流量当你能得到成千上万的人访问您通过Digg和喜欢只是瞬间关闭窗口?<br /><br />　　简单的单一考核网站成功已经成为历史。中小企业的需求不仅仅是流量和排名，获得更多的市场营销专业的网络，而不是12岁的孩子几乎都出生谁在网络上和新的网络分析工具终于使人们有可能考虑更为具体的数据比以往任何时候。因<br /><br />　　此，请检查这些网站的成功33个指标，而不是排名，谷歌PageRank和流量：<br /><br />　　业务指标<br /><br />　　网上做生意的人，无论是电子商务网站，例如商店，出版公司，咨询公司等也希望看到的结果人民币，在大多数情况下才有意义。虽然博客例如做提供的投资回报率是不容易衡量的。 通常它更需要品牌知名度，信誉建设等对于大多数商业网站决定是否成功的衡量可能收入是最好的，也是最现实的。<br /><br />　　投资回报率<br /><br />　　投资回报率是指是指达产期正常年度利润或年均利润占投资总额的百分比。如果您花1000到您的网站上并赚取2000 您的投资回报率是200 % 。 因此，只有投资利润率指标大于或等于无风险投资利润率的投资项目才具有财务可行性。<br /><br />　　销售<br /><br />　　投资回报率有时会难以确定和预估 。 什么是投资完全是花的时间对社会媒体如投资或工作，只在网站上? 因此，衡量销售，尤其是商店，要容易得多。 销售=良好的网站的优化过程。<br /><br />　　定位<br /><br />　　你在您的网站上什么也不直接销售? 您想通过您的网站直接找到你的准客户? SEO，效果达到了100比1 ，使100万的页面浏览量(PV)，但没有新的潜在客户。<br /><br />　　转换<br /><br />　　好吧，你不直接卖任何产品并且您不卖服务，不过你想加入的人，参加了调查，建议您的网站或直接订阅您的动态? 你应该做它的销售额和销售机会太多，但即使没有这些转换作出了非常可靠的网站或营销活动的成功指标。<br /><br />　　用户<br /><br />　　虽然用户可以被称为转换你可以指望的数量应该由每一个网站都提供RSS和追踪的RSS以及电子邮件订阅喜欢的博客做。 您的订阅者是最重要的网站的用户，即使不买任何东西。 所以，如果你没有的RSS / Atom或什么样的饲料获得一个。<br /><br />　　可用性指标<br /><br />　　虽然并非每一个网站的成功来衡量的收入，销售或潜在你总是可以而且应该衡量纯粹的可用性您的网站。 许多网站今天仍然集中在被漂亮， &ldquo;有一个更大的标志&rdquo;和一些特殊效果像Flash或AJAX技术，声音或视频。虽然这看起来可能会好在大多数情况下这不是最重要的因素，决定是否您的网站是要失败或成功，可用性是。<br /><br />　　回访者<br /><br />　　这是明显的，只有回访者真的很喜欢您的网站。所以，更多更好地回来了，比较成功的你。 有一次搜索的访问者和游客的休闲社交媒体没有的骨干您的网站。 用户和回访者(通常是同一人) 。<br /><br />　　每次访问的综合浏览量<br /><br />　　虽然有时是衡量综合浏览量徒劳的不良网站，你必须按一下更可以有较高的综合浏览量数目的每次访问的综合浏览量往往会告诉你一大堆多少访问者喜欢你的网站。 1至1的比例是坏的，除非他们所有点击立即购买按钮。<br /><br />　　页面停留时间<br /><br />　　花的时间可以在网页上阅读各种方式，视频网站，在线电影很占便宜，但扣除您可以从它人是否公正脱脂您的内容或阅读整篇文章等等。<br /><br />　　网站停留时间<br /><br />　　这并不总是更好，但时间越长， 5分钟是在大多数情况下，更好地超过30秒，尤其是对出版网站或只是一个博客。<br /><br />　　跳出率<br /><br />　　在跳出 率是一个最重要的可用性指标和感谢谷歌分析或Woopra操作容易，现在。 10万游客Digg的退回率为95 %意味着，实际上只有5.000实际访问您的网站。因此，一个网站要低得多游客数量和退回率可以更成功的一个&ldquo;愚蠢的流量&rdquo;网站的巨大流量数字。有针对性的高质量的流量是关键的一个成功的网站。<br /><br />　　购物车放弃率<br /><br />　　购物车是最重要的部分大多数网站在商业方面，无论是联系购物车的技术在大多数情况下是一种形式。现在想象一个超级市场一半或一半以上的客户放弃其购物车中的结帐程序或在阅读市场。 指望这些人，并设法使他们留下来。最简单的方法就是检查购物车放弃率是通过发电子邮件至客户支持每一次车或其他形式被放弃。 有时候，你可以要回的潜在客户，他的不完整的数据输入。<br /><br />　　下一个页面<br /><br />　　使人们访问多个页面的网站上，我们使用内部链接。 一些链接联系我们真正想要的人遵循。选中&ldquo;下一个页面&rdquo;从一个特定的目标网页，我们可以判断是否遵循我们的读者意见或希望看到更多的。 当您的主页上的下一个网页是在大多数情况下，搜索的网站或网页你有一个问题。<br /><br />　　点击链接(热图)<br /><br />　　现代&ldquo;网络2.0 &rdquo; 的网站分析解决方案 ，有时热图意见或至少是网站覆盖方式检查点击。 这样就可以判断您的访问者点击或尝试单击(有时是徒劳的案件没有关联的标识或强调的话是没有联系) 。 这样做的人点击您想他们点击或没有?<br /><br />　　eyetracking<br /><br />　　甚至优于热图点击行为的热图 ， 实际眼睛的运动 。 你需要一个多网络分析软件包来检查您所需要的真实的人 ， 参加了一项研究 ，但如果你是大公司根据您的网站应该检查这是肯定的。 这样的人看看你的主要信息呢?他们是否真正看到&ldquo;立即购买&rdquo;按钮?<br /><br />　　内部搜索<br /><br />　　最访客无言以对或者目标?你就会发现通过分析内部搜索。 甚至有工具来做到这一点。 谷歌分析也可以说 。<br /><br />　　搜索引擎优化指标<br /><br />　　来衡量搜索引擎优化的效果。 测量的PageRank ，排名和流量，seoer仍然需要一些遵循这一要求。那么，仍然有很多措施，超越严格的业务或可用性指标。守旧派搜索引擎优化仍然是有意义的许多案件，特别是与反向仍然决定你的成功首先在谷歌搜索。我会集中在这里谷歌，但在美国市场上它仍然也是有道理的检查这些与雅虎及其他。 此外，检查反向与谷歌是不是乐趣(只有一小部分数据是由谷歌，除非您检查您自己的网站在谷歌网站管理员工具)，所以建议您来衡量他们与雅虎工具测量工具，它使用Yahoo数据。<br /><br />　　反向链接数<br /><br />　　您仍然需要知道有多少人或者页面链接到你 。 特别是如果这个星期或多或少地做到这一点。 数量之多，可能是毫无意义的如果您有10.000链接从一个网站的。 因此，重点域名受欢迎(链接从一个域名算作1 ) 。<br /><br />　　高质量的反向链接<br /><br />　　使用一卡车的链接可能毫无意义相比于一个链接从百度。因此，确定的质量，相关链接：是否连接网页许多其他外向链接? 它PageRank吗?这是一个老权威域名等?<br /><br />　　谷歌缓存日期<br /><br />　　许多搜索引擎优化专家诉诸检查缓存迄今在谷歌(谷歌保存最网页在&ldquo;缓存&rdquo; )确定的质量和成功的网站在谷歌。如果缓存的日期是1个月以上的网站要么死亡(不新鲜的内容)或非常低管理局与谷歌。当然，你总是应该检查是否有一个缓存的网站在所有。 没有缓存的网站大概索引(沙盒处罚)。<br /><br />　　谷歌机器人访问频率<br /><br />　　您的缓存可能会一周岁，但如果谷歌robots访问每天都OK在大多数情况下。您可以检查与大多数服务器端的网络分析解决方案，那些依赖于服务器日志或者PHP 。<br /><br />　　最后一次访问谷歌bot<br /><br />　　这是几乎相同跟上一点。如果你有一个新的内容页和Bot访问昨天和您仍然没有在谷歌索引有可能是错误的(如重复的内容的问题)。<br /><br />　　网页索引<br /><br />　　这是很少那样简单&ldquo;索引的网页越多就越好&rdquo; ，但对小网站往往是。 如果您有50页，但只有20在线索引您的网站没有成功spidered的谷歌。 site：yoursite.com搜索谷歌就足以找到。<br /><br />　　PageRank的&ldquo;合格率&rdquo;<br /><br />　　虽然我认为，着眼于实际的工具栏的PageRank没有多大意义了。现在你一定要来看看的及格率的PageRank 。 谷歌PageRank是通过通过网站上的链接。 网站PR5应与PR4或至少3 ，否则，你有太多的链接，或您的内部链接结构被打破了。<br /><br />　　Alexa的排名<br /><br />　　虽然Alexa的是没有真正可靠的或从未被许多广告客户使用它来检查您的流量数字。 此外， Alexa的流量估算可适用于同行业网站的对比，其他的时间段(更多流量今年比去年? )和其他流量估算工具。<br /><br />　　社会媒体数据<br /><br />　　时代的社会媒体，用户生成的内容你不能仅仅依靠漫游和其他自动收集数据，收集数据，在您的网站上取得成功。 你必须了解你的用户喜欢什么，其实说的你，或者至少多久。<br /><br />　　delicious书签<br /><br />　　网站或网页 ， 几百个或几千书签的delicious不能说不好，可以吗? 另一方面，网站也没有不能成功的可能呢?<br /><br />　　其他书签<br /><br />　　你有时感到惊讶有多少人收藏你的文章或网站你甚至不知道的。具体就不一一说了，光QQ书签的流量就够你打注意的了。<br /><br />　　tweets (t/w/i/t/t/e/r mentions)<br /><br />　　被提到或建议对t/w/i/t/t/e/r的是一个真正成功的，因为这里的人与他们的同行和球迷，只有他们真正的网页链接建议。 这意味着2或3的人说200或者200人，你的关注者。 TweetBeep将向您发送电子邮件，每次。<br /><br />　　公司评语反馈<br /><br />　　用户的口碑，另一种说法是网站的信任度。<br /><br />　　名人博客<br /><br />　　Keso曾经评论过很多网站，我印象最深的就是豆瓣。 如果你经常联订阅其他博客，你会发现很多话题会影响了你，深深的。在keso的权威不是作为一个最可靠的指标，但是我只是举例。<br /><br />　　谷歌BlogSearch链接<br /><br />　　虽然主要的谷歌搜索能源部许多无法显示您的链接是谷歌博客搜索擅长。 它会告诉您的合法的其他博客链接，而不是spam博客。留意这些，最简单的方法来监测他们是使用AideRSS 。<br /><br />　　你们当中有些人可能会一直在关注这些，这一切是过于复杂，事实也许并非如此。免费提供的工具，如谷歌分析使每一个网站管理员，了解更多关于网站不仅仅是一个几年前，我们的PageRank ，排名和流量已不够。真正的网络数据专家在大多数情况下可能开始将这个名单作为SEO数据及网络分析，远远超出了如何在这里提到。<br />
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/365.htm</link>
<title><![CDATA[JavaScript的document和window对象详解 ]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[JAVA SSH学习]]></category>
<pubDate>Mon, 12 Dec 2011 08:41:11 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/365.htm</guid> 
<description>
<![CDATA[ 
	[<strong>document对象</strong> ]<br />　　该对象是window和frames对象的一个属性,是显示于窗口或框架内的一个文档。<br />　　<strong>属性</strong><br />　　alinkColor 活动链接的颜色(ALINK)<br />　　anchor 一个HTMI锚点,使用标记创建(该属性本身也是一个对象)<br />　　anchors array 列出文档锚点对象的数组()(该属性本身也是一个对象)<br />　　bgColor 文档的背景颜色(BGCOLOR) <br />　　cookie 存储于cookie.txt文件内的一段信息,它是该文档对象的一个属性<br />　　fgColor 文档的文本颜色(标记里的TEXT特性)<br />　　form 文档中的一个窗体()(该属性本身也是一个对象)<br />　　forms anay 按照其出现在文档中的顺序列出窗体对象的一个数组(该属性本身也是一个对象)<br />　　lastModified 文档最后的修改日期<br />　　linkColor 文档的链接的颜色,即标记中的LINK特性(链接到用户没有观察到的文档)<br />　　link 文档中的一个标记(该属性本身也是一个对象)<br />　　links array 文档中link对象的一个数组,按照它们出现在文档中的顺序排列(该属性本身也是一个对象)<br />　　location 当前显示文档的URL。用户不能改变document.location(因为这是当前显示文档的位置)。但是,可以改变window.location (用其它文档取代当前文档)window.location本身也是一个对象,而document.location不是对象<br />　　referrer 包含链接的文档的URL,用户单击该链接可到达当前文档<br />　　title 文档的标题((TITLE&gt;)<br />　　vlinkColor 指向用户已观察过的文档的链接文本颜色,即标记的VLINK特性<br />　　<strong>方法</strong><br />　　clear 清除指定文档的内容<br />　　close 关闭文档流<br />　　open 打开文档流<br />　　write 把文本写入文档<br />　　writeln 把文本写入文档,并以换行符结尾<br /><br />[<strong>window对象</strong> ]<br />　　它是一个顶层对象,而不是另一个对象的属性即浏览器的窗口。<br />　　<strong>属性</strong><br />　　defaultStatus 缺省的状态条消息<br />　　document 当前显示的文档(该属性本身也是一个对象)<br />　　frame 窗口里的一个框架((FRAME&gt;)(该属性本身也是一个对象)<br />　　frames array 列举窗口的框架对象的数组,按照这些对象在文档中出现的顺序列出(该属性本身也是一个对象)<br />　　history 窗口的历史列表(该属性本身也是一个对象)<br />　　length 窗口内的框架数<br />　　location 窗口所显示文档的完整(绝对)URL(该属性本身也是一个对象)不要把它与如document.location混淆,后者是当前显示文档的URL。用户可以改变window.location(用另一个文档取代当前文档),但却不能改变document.location(因为这是当前显示文档的位置)<br />　　name 窗口打开时,赋予该窗口的名字<br />　　opener 代表使用window.open打开当前窗口的脚本所在的窗口(这是Netscape Navigator 3.0beta 3所引入的一个新属性)<br />　　parent 包含当前框架的窗口的同义词。frame和window对象的一个属性<br />　　self 当前窗口或框架的同义词<br />　　status 状态条中的消息<br />　　top 包含当前框架的最顶层浏览器窗口的同义词<br />　　window 当前窗口或框架的同义词,与self相同<br />　　<strong>方法</strong><br />　　alert() 打开一个Alert消息框<br />　　clearTimeout() 用来终止setTimeout方法的工作<br />　　close() 关闭窗口<br />　　confirm() 打开一个Confirm消息框,用户可以选择OK或Cancel,如果用户单击OK,该方法返回true,单击Cancel返回false<br />　　blur() 把焦点从指定窗口移开(这是Netscape Navigator 3.0 beta 3引入的新方法)<br />　　focus() 把指定的窗口带到前台(另一个新方法)<br />　　open() 打开一个新窗口<br />　　prompt() 打开一个Prompt对话框,用户可向该框键入文本,并把键入的文本返回到脚本<br />　　setTimeout() 等待一段指定的毫秒数时间,然后运行指令事件处理程序<br />　　<strong>事件处理程序</strong><br />　　Onload() 页面载入时触发<br />　　Onunload() 页面关闭时触发<br />
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/364.htm</link>
<title><![CDATA[struts2.1.X关于配置redirect-action启动出错的解决方法 ]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[JAVA SSH学习]]></category>
<pubDate>Sat, 10 Dec 2011 09:09:13 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/364.htm</guid> 
<description>
<![CDATA[ 
	<p>最近在学习Struts2,在配置struts-spring.xml的时候,我的配置文件struts-spring.xml如下:</p><div class="dp-highlighter"><div class="bar"><div class="tools">Xml代码 <a href="http://wubin850219.iteye.com/blog/521385#" title="复制代码"><img src="http://wubin850219.iteye.com/images/icon_copy.gif" border="0" alt="复制代码" /></a> <a href="javascript:void()" title="收藏这段代码"><img class="star" src="http://wubin850219.iteye.com/images/icon_star.png" border="0" alt="收藏代码" /><img style="display: none" class="spinner" src="http://wubin850219.iteye.com/images/spinner.gif" border="0" /></a></div></div><ol class="dp-xml"><li><span><span class="tag">&lt;</span><span class="tag-name">action</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;userlogin&quot;</span><span> </span><span class="attribute">class</span><span>=</span><span class="attribute-value">&quot;UserLoginAction&quot;</span><span> </span><span class="attribute">method</span><span>=</span><span class="attribute-value">&quot;userlogin&quot;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">result</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;success&quot;</span><span> </span><span class="attribute">type</span><span>=</span><span class="attribute-value">&quot;redirect-action&quot;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">param</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;actionName&quot;</span><span class="tag">&gt;</span><span>login</span><span class="tag">&lt;/</span><span class="tag-name">param</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">param</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;namespace&quot;</span><span class="tag">&gt;</span><span>/</span><span class="tag">&lt;/</span><span class="tag-name">param</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;/</span><span class="tag-name">result</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">result</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;error&quot;</span><span class="tag">&gt;</span><span>/login.jsp</span><span class="tag">&lt;/</span><span class="tag-name">result</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span><span class="tag">&lt;/</span><span class="tag-name">action</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre class="xml" style="display: none">&lt;action name=&quot;userlogin&quot; class=&quot;UserLoginAction&quot; method=&quot;userlogin&quot;&gt; &nbsp;&nbsp;&lt;result name=&quot;success&quot; type=&quot;redirect-action&quot;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;actionName&quot;&gt;login&lt;/param&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;namespace&quot;&gt;/&lt;/param&gt; &nbsp;&nbsp;&lt;/result&gt; &nbsp;&nbsp;&lt;result name=&quot;error&quot;&gt;/login.jsp&lt;/result&gt; &lt;/action&gt;</pre><p> 然后我启动TOMCAT,出现如下错误</p><div class="dp-highlighter"><div class="bar"><div class="tools">Java代码 <a href="http://wubin850219.iteye.com/blog/521385#" title="复制代码"><img src="http://wubin850219.iteye.com/images/icon_copy.gif" border="0" alt="复制代码" /></a> <a href="javascript:void()" title="收藏这段代码"><img class="star" src="http://wubin850219.iteye.com/images/icon_star.png" border="0" alt="收藏代码" /><img style="display: none" class="spinner" src="http://wubin850219.iteye.com/images/spinner.gif" border="0" /></a></div></div><ol class="dp-j"><li><span><span>Unable to load configuration. - action - file:/E:/apache-tomcat-</span><span class="number">5.5</span><span>.</span><span class="number">25</span><span>/webapps/wftang/WEB-INF/classes/struts-spring.xml:</span><span class="number">46</span><span>:</span><span class="number">23</span><span>&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:<span class="number">58</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:<span class="number">360</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:<span class="number">403</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:<span class="number">190</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:<span class="number">221</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:<span class="number">302</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.ApplicationFilterConfig.&lt;init&gt;(ApplicationFilterConfig.java:<span class="number">78</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:<span class="number">3635</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.StandardContext.start(StandardContext.java:<span class="number">4222</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:<span class="number">1014</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.StandardHost.start(StandardHost.java:<span class="number">736</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:<span class="number">1014</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:<span class="number">443</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.StandardService.start(StandardService.java:<span class="number">448</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.core.StandardServer.start(StandardServer.java:<span class="number">700</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.startup.Catalina.start(Catalina.java:<span class="number">552</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&nbsp;&nbsp;</span></li><li><span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:<span class="number">39</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:<span class="number">25</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at java.lang.reflect.Method.invoke(Method.java:<span class="number">585</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:<span class="number">295</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:<span class="number">433</span><span>)&nbsp;&nbsp;</span></span></li><li><span>aused by: Error building results <span class="keyword"><strong><span style="color: #7f0055">for</span></strong></span><span> action userlogin in namespace / - action - file:/E:/apache-tomcat-</span><span class="number">5.5</span><span>.</span><span class="number">25</span><span>/webapps/wftang/WEB-INF/classes/struts-spring.xml:</span><span class="number">46</span><span>:</span><span class="number">23</span><span>&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:<span class="number">366</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:<span class="number">460</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:<span class="number">265</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:<span class="number">111</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:<span class="number">189</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:<span class="number">55</span><span>)&nbsp;&nbsp;</span></span></li><li><span>... <span class="number">21</span><span> more&nbsp;&nbsp;</span></span></li><li><span>aused by: There is no result type defined <span class="keyword"><strong><span style="color: #7f0055">for</span></strong></span><span> type </span><span class="string"><span style="color: #0000ff">'redirect-action'</span></span><span> mapped with name </span><span class="string"><span style="color: #0000ff">'success'</span></span><span>.&nbsp;&nbsp;Did you mean </span><span class="string"><span style="color: #0000ff">'redirectAction'</span></span><span>? - result - file:/E:/apache-tomcat-</span><span class="number">5.5</span><span>.</span><span class="number">25</span><span>/webapps/wftang/WEB-INF/classes/struts-spring.xml:</span><span class="number">50</span><span>:</span><span class="number">53</span><span>&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:<span class="number">613</span><span>)&nbsp;&nbsp;</span></span></li><li><span>at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:<span class="number">364</span><span>)&nbsp;&nbsp;</span></span></li><li><span>... <span class="number">26</span><span> more&nbsp;&nbsp;</span></span></li></ol></div><pre class="java" style="display: none"> Unable to load configuration. - action - file:/E:/apache-tomcat-5.5.25/webapps/wftang/WEB-INF/classes/struts-spring.xml:46:23 &nbsp;&nbsp;at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) &nbsp;&nbsp;at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360) &nbsp;&nbsp;at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403) &nbsp;&nbsp;at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190) &nbsp;&nbsp;at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) &nbsp;&nbsp;at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) &nbsp;&nbsp;at org.apache.catalina.core.ApplicationFilterConfig.&lt;init&gt;(ApplicationFilterConfig.java:78) &nbsp;&nbsp;at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) &nbsp;&nbsp;at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222) &nbsp;&nbsp;at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) &nbsp;&nbsp;at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) &nbsp;&nbsp;at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) &nbsp;&nbsp;at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) &nbsp;&nbsp;at org.apache.catalina.core.StandardService.start(StandardService.java:448) &nbsp;&nbsp;at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) &nbsp;&nbsp;at org.apache.catalina.startup.Catalina.start(Catalina.java:552) &nbsp;&nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &nbsp;&nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) &nbsp;&nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) &nbsp;&nbsp;at java.lang.reflect.Method.invoke(Method.java:585) &nbsp;&nbsp;at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) &nbsp;&nbsp;at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: Error building results for action userlogin in namespace / - action - file:/E:/apache-tomcat-5.5.25/webapps/wftang/WEB-INF/classes/struts-spring.xml:46:23 &nbsp;&nbsp;at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:366) &nbsp;&nbsp;at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:460) &nbsp;&nbsp;at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:265) &nbsp;&nbsp;at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111) &nbsp;&nbsp;at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:189) &nbsp;&nbsp;at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) &nbsp;&nbsp;... 21 more Caused by: There is no result type defined for type 'redirect-action' mapped with name 'success'.&nbsp;&nbsp;Did you mean 'redirectAction'? - result - file:/E:/apache-tomcat-5.5.25/webapps/wftang/WEB-INF/classes/struts-spring.xml:50:53 &nbsp;&nbsp;at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:613) &nbsp;&nbsp;at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:364) &nbsp;&nbsp;... 26 more</pre><p></p><p>在网上搜索了一通,发现原来我前面的那个配置是支持struts2.0.X的配置,而我的struts的JAR的版本为struts2.1.6,在struts2.1.X中针对redirect-action的配置全面变了.配置如下:</p><div class="dp-highlighter"><div class="bar"><div class="tools">Xml代码 <a href="http://wubin850219.iteye.com/blog/521385#" title="复制代码"><img src="http://wubin850219.iteye.com/images/icon_copy.gif" border="0" alt="复制代码" /></a> <a href="javascript:void()" title="收藏这段代码"><img class="star" src="http://wubin850219.iteye.com/images/icon_star.png" border="0" alt="收藏代码" /><img style="display: none" class="spinner" src="http://wubin850219.iteye.com/images/spinner.gif" border="0" /></a></div></div><ol class="dp-xml"><li><span><span class="tag">&lt;</span><span class="tag-name">action</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;userlogin&quot;</span><span> </span><span class="attribute">class</span><span>=</span><span class="attribute-value">&quot;UserLoginAction&quot;</span><span> </span><span class="attribute">method</span><span>=</span><span class="attribute-value">&quot;userlogin&quot;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">result</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;success&quot;</span><span> </span><span class="attribute">type</span><span>=</span><span class="attribute-value">&quot;redirectAction&quot;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">param</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;actionName&quot;</span><span class="tag">&gt;</span><span>login</span><span class="tag">&lt;/</span><span class="tag-name">param</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">param</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;namespace&quot;</span><span class="tag">&gt;</span><span>/</span><span class="tag">&lt;/</span><span class="tag-name">param</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;/</span><span class="tag-name">result</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">result</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;error&quot;</span><span class="tag">&gt;</span><span>/login.jsp</span><span class="tag">&lt;/</span><span class="tag-name">result</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li><span><span class="tag">&lt;/</span><span class="tag-name">action</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre class="xml" style="display: none">&lt;action name=&quot;userlogin&quot; class=&quot;UserLoginAction&quot; method=&quot;userlogin&quot;&gt; &nbsp;&nbsp;&lt;result name=&quot;success&quot; type=&quot;redirectAction&quot;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;actionName&quot;&gt;login&lt;/param&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;namespace&quot;&gt;/&lt;/param&gt; &nbsp;&nbsp;&lt;/result&gt; &nbsp;&nbsp;&lt;result name=&quot;error&quot;&gt;/login.jsp&lt;/result&gt; &lt;/action&gt;</pre><p></p><p>最后发现奇迹出现了,成功了!</p>
]]>
</description>
</item><item>
<link>http://www.cnljh.com/read.php/363.htm</link>
<title><![CDATA[如何进行人才网站推广（下）]]></title> 
<author>ljh &lt;ljhjqk@126.com&gt;</author>
<category><![CDATA[利剑之辉的快乐生活]]></category>
<pubDate>Mon, 28 Nov 2011 06:08:09 +0000</pubDate> 
<guid>http://www.cnljh.com/read.php/363.htm</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;无论是人才网站还是其他类型的网站，营销推广的主要方式是相似的。大体分为线上推广和线下推广方式。<br />&nbsp;&nbsp;&nbsp;&nbsp; 接着谈谈线下推广方式。<br />&nbsp;&nbsp;&nbsp;&nbsp; <strong>媒体推广</strong>：媒体的传播力量众所周知，务必重视这个推广方式。无论你在发展的哪个阶段，媒体公关都在市场营销中占有越来越重要的地位。通常媒体推广两种做法，一种是你找媒体，也就是想办法吸引媒体关注并得以报道，这里涉及到如何与媒体记者打交道以及各种公关技巧；二是媒体找你。如果你是业界专家和有行业影响力的人，那非常好。善待他们，当媒体记者主动找到你时，给你力所能及的支持，对你和他都会双赢。<br />&nbsp;&nbsp;&nbsp;&nbsp;在效率方面，如果你是行业专家，可以通过媒体尤其是传统媒体的访谈和约稿谈你的经验和观点，并把自己的网站作为案例或者例子结合进去。如果能在一些主流权威媒体（如人物对于《21世纪经济报道》、《中国经营报》等）或者人力资源方面专业媒体（如《人力资本》、《首席人才官》、《人力资源》等）达成则效果更佳，如果是行业性人才网站，那么还可去找本行业的权威媒体也是个值得考虑的办法。<br />&nbsp;&nbsp;&nbsp;&nbsp; <strong>会议营销</strong>：和媒体推广有异曲同工之处。你的业界影响力和资源整合能力决定会议营销的效率。现在每个行业的会议都很频繁，这是个很好的推销平台。如果作为网站创办人在行业内有较大影响和较高专业水平，会比较有可能被邀请去行业会议或者专业会议上去发言（当然你得注意一下你的演讲技巧来让你的演讲变得生动而有吸引力）。对于人才网站来说，如何利用好招聘会和人才市场进行推广也非常重要。<br />&nbsp;&nbsp;&nbsp;&nbsp; <strong>俱乐部营销</strong>：组建俱乐部，或者成为目标俱乐部的成员，是开展俱乐部营销的前提和基础。这在很多行业都得以广泛应用，比如汽车、房产、酒店等等。俱乐部往往是特定人群集中度比较高的，从市场细分来看，会员质量比较高，相互之间信任度和认可度也比较高，推广做得好，效果会很好。参与者一般做法有两种，一种是商业性的，比如你是这个俱乐部的赞助者（赞助方式可以很多），就可以从纯商业赞助到植入式广告，展示你自己的信息。比如俱乐部冠名、主题活动冠名、广告展示、俱乐部活动演讲等等，不一而足。另一种是非商业性的，用资源互换的方式或者公益的方式参与到俱乐部中去（举个例子，石安见过一家IT俱乐部所租用的咖啡吧，从上网的品牌电脑到桌上的杯子，都是相关赞助方免费提供的）这是一种双赢的做法。另外，可以考虑你或者你的网站做某个俱乐部活动的创建者和组织者，如果组织得好，则回报颇丰。但有一点要强调，无论哪种做法，请别让人反感或者生厌，否则效果适得其反。<br />&nbsp;&nbsp;&nbsp;&nbsp; <strong>广告</strong>：在报纸、杂志、电视、网络、户外甚至是手机等等媒体上做广告也是网站推广的一种方法，投放广告可得花钱，甚至是很大一笔钱。前两年，人才网站的推广大都还以线上为主，这两年尤其几大门户人才网站拿到巨额投资后，各种线下媒体平台上到处可见他们的广告，不是小打小闹，是大手笔投放。虽然效果看起来不行（财报巨亏是个明证），但也着实为人才网站挣了回脸&mdash;&mdash;原来人才网站也可以有望做到&ldquo;路人皆知&rdquo;。只希望他们别有朝一日后悔烧钱过快。<br />&nbsp;&nbsp;&nbsp;&nbsp; 但对于他们的推广方式，石安不敢完全苟同。当然他们有钱，有资本可以这样烧钱，在中国存在&ldquo;广告一定有效&rdquo;的认识误区（即使是史玉柱的恶心脑白金广告，也是建立在非常科学和严密的策略之上的，另注）。如果从营销角度来看，则存在很多不合理性。我非常怀疑智联招聘委托的营销策划公司有没真正帮他们做过认真系统的营销分析。比如他们的定位在哪里？需要影响到的用户在哪里？投放的广告有效率会有多高。给别人的印象就是请了徐静蕾和黄健翔两名人，然后就是铺天盖地地到处砸钱做广告。可年终1.7亿的巨亏代价到底能给智联带来什么？<br />&nbsp;&nbsp;&nbsp;&nbsp; 回过头来说说怎么做人才网站的广告投放。石安认为广告投放有个原则：广告不只是广告。广告只是营销推广的一个组成部分，不是独立存在的推广形式，必须和其他营销活动结合才能更大地发挥效用。比如人才网站投放时，结合到公司的大事件里去，或者是网站改版、或者是投融资事件、或者是参与某项活动比如公益活动等等，具体投放时也一定要把广告和软文、新闻以及线下其他活动结合起来考虑。<br />&nbsp;&nbsp;&nbsp;&nbsp; 对智联招聘、中华英才这样的广告主来说钱不是问题，他们可以考虑包括电视、户外（比如地铁、公交）以及大版面的平面广告这样大手笔广告投入。对相对小的人才网站怎么办？比如可以考虑搜索引擎上做一定的竞价排名投放或者在其他门户网站（如新浪、腾讯）上投放网页广告也行，当然更加节约的做法是以招聘的名义做投放，以及在其他非完全同业竞争的人才网站上刊登广告（包括banner和文字等），人才网站既可以是广告投放平台，同时也可以是招聘单位。对很多起步或者小型人才网站来说，如何投放广告要更讲究技巧（常规的如何投放广告在石安的<a href="http://blog.sina.com.cn/s/blog_4899fd53010009uy.html" target="_blank"><span style="color: #ff7e00">《小预算大广告&mdash;&mdash;如何选择合适的广告媒体》</span></a>一文中有提到一些）。比如投放对象，可以在一些大型招聘会或者行业专场招聘会（对行业人才网站这个效果会更佳）上根据自己预算适当做些投入还是比较有效的。<br />&nbsp;&nbsp;&nbsp;&nbsp; 还有你知我知他知的许多推广小技巧，比如把网站地址放在名片、手提袋、T恤衫、邮件签名、电子贺卡、礼品、宣传资料等等里面，出现你对外沟通或者展示的任何场合，让它无处不在（但出现要自然，不要太功利性）&mdash;&mdash;都是些老套而普遍的做法，但的确还有效。<br />&nbsp;&nbsp;&nbsp;&nbsp; 和线上推广一样，线下推广同样大有文章，石安没有头绪地说了一些，未必都对，供方家评点交流。
]]>
</description>
</item>
</channel>
</rss>
