⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 心跳包.htm

📁 PIC18F6520+SIM300做的透明传输的DTU
💻 HTM
📖 第 1 页 / 共 4 页
字号:
      class=text>以下是对《GPRS模块和中心的通信问题》的回复: </B></FONT></DIV></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=lxj7871" 
      target=_blank>林湘建</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-6-23 22:49:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            GPRS产品的心跳时间间隔可以有客户自己选择,30秒以上都可以,每个心跳包是一个空的字节.<BR>  AT+POLLTIME=60(心跳包间隔时间)<BR>  一般GPRS网络判断:20—30分钟没有数据流量,就自动断开连接!<BR>  所以一般最好设置在20分钟内比较好!</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> meinv </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-6-23 23:02:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            都是移动网络内的GGSN服务器设置并判断时间的~,他要充分利用他的网络资源的.</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=%CC%EC%B5%C0%B3%EA%C7%DA%28Allen%29" 
      target=_blank>艾爱民</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-6-24 9:43:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            请教各位所用的GPRS模块是哪一个型号?因为不同的型号所用的AT指令不一样.</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=lxj7871" 
      target=_blank>林湘建</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-6-24 10:06:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            AT+POLLTIME是俺们公司SARO-1000P和SARO-1010P/EP的GPRS-DTU的AT指令.用的GPRS模块是西门子的MC35I</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=liwenqun" 
      target=_blank>李文群</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-6-24 17:57:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   我询问的好像还需要固定IP才能支持GPRS 
            不知道是不是<BR>  </TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=lxj7871" 
      target=_blank>林湘建</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-6-24 21:53:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            固定IP只是相对于服务器端有必要,客户端可以用ID编号的方式解决.如果小规模应用的话,服务器端可以考虑动态域名解悉,费用可以大大节省,但要损失一点稳定性.</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=%D5%C5%D2%C7%CA%C0%BC%CD" 
      target=_blank>cuzco</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-8-19 20:47:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
        如何用动态域名解析?谢谢!</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> 林湘健 </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-8-20 1:55:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            桑荣GPRS-DTU域名解析(DNS)模式<BR>  DTU是根据预先设定在DTU里的域名来访问数据中心服务器,适用用于数据中心服务器没有有固定IP地址的应用。<BR>  DTU采用DNS模式来访问数据中心,则数据中心服务器必须安装动态域名解析软件,确保服务器能获得DTU要访问的域名指向。动态域名解析软件请参考附件中的动态域名解析软件。<BR>  假设数据中心服务器已经安装运行了域名解析软件,已经注册了sang.dhcn.net的域名,且旭锐达的DNS服务器的IP地址为:210.51.21.29。<BR>  同时在数据中心服务器启动数据中心DEMO程序,点击“启动”,如果如下图所示: 
            <BR>  <BR>
            <CENTER><IMG 
            src="心跳包.files/298344_1.jpg"></CENTER><BR>  则说明服务器端已经成功启动,这时如果有客户端接入数据中心,就会在DTU列表中显示DTU的信息,说明链路建立成功,可以实现数据的双向传输。<BR>  <BR>  1、全透明传输模式<BR>  该模式是Saro 
            DTU的主要工作模式,其工作原理非常简单,相当在下位机和服务器间建立一个全透明的链路。<BR>  (1) 
            参数设置<BR>  AT+DNAME=SANG.DHCN.NET(设置数据中心域名,如果不设置的话则按IP访问数据中心。)<BR>  AT+DNSSVR=210.51.21.29(域名服务器的IP地址,这IP是旭锐达域名服务器地址)<BR>  AT+PORT=5001(数据中心的侦听端口)<BR>  AT+MODE=PROT(设置成全透明传输方式)<BR>  AT+IDNT=00000001(设置DTU的ID号)<BR>  AT+PHON=13988888888(设置SIM卡的手机号码)<BR>  AT+POLLTIME=120(设置心跳包时间)<BR>  AT+IPR=57600(设置波特率)<BR>  在域名访问工作模式下,主副IP的地址、副IP的端口及是否返回主IP等参数都不用设置,不起作用了。图示如下: 
            <BR>  <BR>
            <CENTER><IMG 
            src="心跳包.files/298344_2.jpg"></CENTER><BR>  (2)建立链路<BR>   
            配置完后,输入AT+RESET,让DTU重新启动,直到出现TCP/IP链路建立,如下图所示,则表明链路建立成功。<BR>  <BR>
            <CENTER><IMG 
            src="心跳包.files/298344_3.jpg"></CENTER><BR>  而服务器端出现DTU的注册信息,如下图所示意,这样就TCP/IP链路就建立成功,可以传输数据。<BR>  <BR>
            <CENTER><IMG 
      src="心跳包.files/298344_4.jpg"></CENTER></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=%C7%E0%C3%B7%D6%F3%BE%C6" 
      target=_blank>金枪鱼</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-9-14 22:28:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            专业+专注<BR>  <BR>  好文!!<BR>  <BR>  </TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=zwb81" 
      target=_blank>zwb81</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-9-15 11:04:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            哈哈。。。好文!!!!!<BR>  俺顶!!!<BR>  利事达公司</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=qi%5Fpake%5Fjoy" 
      target=_blank>pake</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-9-24 16:34:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
        问一下,使用的温度,储存温度的范围是多少?</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=lxj7871" 
      target=_blank>林湘建</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-9-25 1:42:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   工作环境<BR>  <BR>  ● 
            模块工作温度:-20°C~55 °C<BR>  <BR>  ● 元器件工作湿度:-40°C~85°C<BR>  <BR>  ● 
            湿度范围:0-95%,非冷凝<BR>  <BR>  ● 
  存储温度范围:-45°C~95°C</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=%D4%C6%C6%AE%C3%EC" 
      target=_blank>云飘渺</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-9-25 8:53:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
        果然是专业!支持!感动中……</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=qinwen" 
      target=_blank>月照西风血满楼</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>
      <DIV align=right>  2004-9-27 10:56:00</DIV></TD></TR>
  <TR>
    <TD class=text bgColor=#f7f7f7 colSpan=2>
      <TABLE width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=text style="LINE-HEIGHT: 25px">   
            GPRS网络是永远在线的,GGSN是不会主动断掉GPRS终端的连接的,发送心跳报文只是为了保证GPRS终端和上位服务器之间的PPP连接,这是应用层的问题,与底层没有关系。即如果网络信号正常并且GPRS终端没有问题,就可以一直和服务器保持连接而不用发送心跳报文(理想状态)。</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD class=text width=378 bgColor=#e7e7e7 height=19><IMG height=13 
      src="心跳包.files/edit.gif" width=18 border=0> <A title=查看用户详细信息、留言、加为好友、用户专集 
      href="http://www.gongkong.com/tech/userdetail.asp?username=lxj7871" 
      target=_blank>林湘建</A>: </TD>
    <TD class=text width=372 bgColor=#e7e7e7 height=19>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -