新协议设计图
2016-11-17 14:15:35 0 举报
AI智能生成
新协议设计图是一种用于描述计算机网络中数据传输和通信规则的图形表示方法。它通常包括以下几个主要组件:源节点、目标节点、数据路径和协议栈。源节点是发送数据的设备,目标节点是接收数据的设备,数据路径是数据从源节点传输到目标节点的路径,而协议栈则是实现数据传输和通信的各种协议的集合。新协议设计图可以帮助开发人员更好地理解和设计复杂的网络系统,从而提高系统的可靠性、性能和安全性。
作者其他创作
大纲/内容
单点消息
<message id="H8xOv0"
from="oldA@cisdi.com.cn"
to="oldB@cisdi.com.cn"
type="chat">
<body>。。。。</body>
<request xmlns='urn:xmpp:receipts'/>
<request xmlns='urn:xmpp:receipts'/>
</message>
<message id="H8xOv0"
from="newA@cisdi.com.cn"
to="newB@cisdi.com.cn"
type="chat">
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
<message id="H8xOv0"
from="oldA@cisdi.com.cn"
to="oldB@cisdi.com.cn"
type="chat">
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
频道消息
<message id="H8xOv0"
from="oldA@cisdi.com.cn"
to="1234@groupchat.cisdi.com.cn"
type="groupchat">
<body>。。。。</body>
<request xmlns='urn:xmpp:receipts'/>
<request xmlns='urn:xmpp:receipts'/>
</message>
<message id="H8xOv0"
from="1234@groupchat.cisdi.com.cn/newA"
to="newB@cisdi.com.cn"
type="groupchat">
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
<message id="H8xOv0"
from="1234@groupchat.cisdi.com.cn/oldA"
to="oldB@cisdi.com.cn"
type="groupchat">
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
服务号消息
<message from='serviceno1\40cisdi.com.cn@cisdi.com.cn'
id='12345'
to='qiang.a.zheng\40cisdi.com.cn@cisdi.com.cn'
type="chat" >
<serviceno xmlns="http://nudgeplus.com/serviceno"
id="278665712" version="1.0" name="服务号19"
type="basic"
to="client"/>
<body>消息内容</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
id='12345'
to='qiang.a.zheng\40cisdi.com.cn@cisdi.com.cn'
type="chat" >
<serviceno xmlns="http://nudgeplus.com/serviceno"
id="278665712" version="1.0" name="服务号19"
type="basic"
to="client"/>
<body>消息内容</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
单点消息
<message id="H8xOv0"
from="newA@cisdi.com.cn"
to="newB@cisdi.com.cn"
type="chat">
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>。。。。</body>
<request xmlns='urn:xmpp:receipts'/>
<request xmlns='urn:xmpp:receipts'/>
</message>
<message id="H8xOv0"
from="newA@cisdi.com.cn"
to="newB@cisdi.com.cn"
type="chat">
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
<message id="H8xOv0"
from="oldA@cisdi.com.cn"
to="oldB@cisdi.com.cn"
type="groupchat">
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
频道消息
<message id="H8xOv0"
from="newA@cisdi.com.cn"
to="6d5d551446f244f89de1a8d10e3e94bf@groupchat.cisdi.com.cn"
type="groupchat">
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>。。。。</body>
<request xmlns='urn:xmpp:receipts'/>
<request xmlns='urn:xmpp:receipts'/>
</message>
<message id="H8xOv0"
from="6d5d551446f244f89de1a8d10e3e94bf@groupchat.cisdi.com.cn/newA"
to="newB@cisdi.com.cn"
type="groupchat">
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
<message id="H8xOv0"
from="6d5d551446f244f89de1a8d10e3e94bf@groupchat.cisdi.com.cn/oldA"
to="oldB@cisdi.com.cn"
type="groupchat">
<body>。。。。</body>
<xtime xmlns='urn:xmpp:xtime' stamp='2016-09-10T23:41:07Z'/>
<request xmlns='urn:xmpp:receipts'/></message>
服务号消息
专属服务号
<message from='serviceno1\40cisdi.com.cn@cisdi.com.cn'
id='12345'
to='newA\40cisdi.com.cn@cisdi.com.cn'
type="chat" >
<serviceno xmlns="http://nudgeplus.com/serviceno"
id="278665712" version="1.0" name="服务号19"
type="public"
to="client"
服务号属性=‘’/>
<nt xmlns="ns:msg:dm" ></nt>
<body>消息内容</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
id='12345'
to='newA\40cisdi.com.cn@cisdi.com.cn'
type="chat" >
<serviceno xmlns="http://nudgeplus.com/serviceno"
id="278665712" version="1.0" name="服务号19"
type="public"
to="client"
服务号属性=‘’/>
<nt xmlns="ns:msg:dm" ></nt>
<body>消息内容</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
公共服务号
<message from='serviceno1\40cisdi.com.cn@cisdi.com.cn'
id='12345'
to='newA\40cisdi.com.cn@cisdi.com.cn'
type="chat" >
<serviceno xmlns="http://nudgeplus.com/serviceno"
id="278665712" version="1.0" name="服务号19"
type="private"
to="client"/>
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>消息内容</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
id='12345'
to='newA\40cisdi.com.cn@cisdi.com.cn'
type="chat" >
<serviceno xmlns="http://nudgeplus.com/serviceno"
id="278665712" version="1.0" name="服务号19"
type="private"
to="client"/>
<nt xmlns="ns:msg:dm" di='123456'></nt>
<body>消息内容</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
mySql
tableA
acountId,domainId,msg
acountId,domainId,msg
msglog
离线表
新客户端
老客户端
业务层
新协议
老协议
0 条评论
下一页