XMPP-Instant Messaging technology

Source: Internet
Author: User
Tags abstract definition

xmpp-Instant Messaging Technology Brief
(IM--InstantMessaging)支持用户在线实时交谈。如果要发送一条信息,用户需要打开一个小窗口,以便让用户及其朋友在其中输入信息并让交谈双方都看到交谈的内容有许多的IM系统,如AOL、YahooIM、MSN以及QQ,它们最大的区别在于各自通讯协议的实现,所以即时通讯技术的核心在于它的传输协议协议用来说明信息在网络上如何传输,如果有了统一的传输协议,那么应当可以实现各个IM之间的直接通讯,为了创建即时通讯的统一标准,目前已经出现过的IM协议包括:IETF的对话初始协议(SIP)和即时通讯对话初始协议和表示扩展协议(SIMPLE)、应用交换协议(APEX)、显示和即时通讯协议(PRIM)及基于XML且开放的可扩展通讯和表示协议(XMPP)协议(常称为Jabber协议)人们多次努力,试图统一各大主要IM供应商的标准(AOL、Yahoo及Microsoft),但无一成功,且每一种IM仍然继续使用自己所拥有的协议
xmpp-origins
XMPP是基于XML的协议,用于即时消息(IM)以及在线现场探测。最初,XMPP作为一个框架开发,目标是支持企业环境内的即时消息传递和联机状态应用程序。XMPP前身是Jabber(1998年),是一个开源组织定义的网络即时通信协议XMPP是一个分散型通信网络,这意味着,只要网络基础设施允许,任何XMPP用户都可以向其他任何XMPP用户传递消息。多个XMPP服务器也可以通过一个专门的“服务器-服务器”协议相互通信,提供了创建分散型社交网络和协作框架的可能性尽管XMPP的出现是为了满足“个人-个人”即时消息传递的要求,但它完全不必局限于此任务
xmpp-Overview
XMPP is based on aXMLThe protocol, it inherits theXMLFlexibility in the development of the environment. This indicates that XMPP is extensible. Applications such as content publishing systems and address-based services can be built on top of XMPP by sending extended information to handle the user's needs. Furthermore, XMPP contains a software protocol for the server side that enables it to talk to another, making it easier for developers to build client applications or to add functionality to a configured system at the heart of XMPPXMLThe definition of the transmission protocol allows XMPP to be in a more standardized platform than previous network communication protocols. With the help ofXMLEasy to parse and read, so that the XMPP protocol can be very beautiful xmpp's IM extension application part is based on an abstract definition of instant messaging by the IETF prior to this, with other widely used instant messaging protocols such as AIM,QQ, which are functionally complete, Improve the Advanced XMPP extension Protocol jingle make IT Support voice and video, currently iOS does not support XMPP Official document is RFC3920The XMPP protocol used to be Google's real-time communications protocol, and its representative work is Gtalkgoogle talk is Google's IM tool, in addition to having IM capabilities, plus VoIP features, "Clean interface", can be directly linked to Gmail, Accept view Mail because Google Talk is based on the Jabber open source standard, this standard allows users to connect to other instant messaging systems, such as the Ichat,gaim,trillian Pro and PSI for Apple computers. Google Talk can only be used by users who are on the Windows platform who are not able to use this software to interoperate with Aim,msn Messenger or Yahoo messenger users. -Years5month, at Google I/O conference, Google launched a unified cross-platform chat app Hangouts (hangouts) to replace Google Talkgoogle Hangouts does not support the XMPP protocol. A strong supporter of Google Hangouts users and non-Google services such as the XMPP protocol Jabber.Communication between org is not available Currently, Google Wave is based on the XMPP protocol, and Google has developed Jingle extensions for the XMPP protocol-based video chat. Although Google has not announced the closing date for talk, it will not be too far off from Google's off reader and ical support.
xmpp-definition
and Presence Protocol(可扩展通讯和表示协议)XMPP可用于服务类实时通讯、表示和需求响应服务中的XML数据元流式传输。XMPP以Jabber协议为基础,而Jabber是即时通讯中常用的开放式协议XMPP是基于XML的协议,用于即时消息(IM)以及在线现场探测。促进服务器之间的准即时操作。这个协议可能最终允许因特网用户向因特网上的其他任何人发送即时消息,即使其操作系统和浏览器不同
xmpp-Basic Structure
XMPP是一个典型的C/S架构,而不是像大多数即时通讯软件一样,使用P2P客户端到客户端的架构,也就是说在大多数情况下,当两个客户端进行通讯时, 他们的消息都是通过服务器传递的。采用这种架构,主要是为了简化客户端,将大多数工作放在服务器端进行XMPP中定义了三个角色,客户端,服务器,网关。通信能够在这三者的任意两个之间双向发生服务器同时承担了客户端信息记录,连接管理和信息的路由功能网关承担着与异构即时通信系统的互联互通,异构系统可以包括SMS(短信),MSN,ICQ等基本的网络形式是单客户端通过TCP/IP连接到单服务器,然后在之上传输XML流
xmpp-Working principle
节点连接到服务器服务器利用本地目录系统中的证书对其认证节点指定目标地址,让服务器告知目标状态服务器查找、连接并进行相互认证节点之间进行交互
xmpp-Transmitting content
XMPP应用传输的是与即时通讯相关的指令。在以前这些命令要么用二进制的形式发送(比如QQ),要么用纯文本指令加空格加参数加换行符的方式发送(比如MSN)而XMPP传输的即时通讯指令的逻辑与以往相仿,只是协议的形式变成了XML格式的纯文本。这不但使得解析容易了,人也容易阅读了,方便了开发和查错而XMPP的核心部分就是一个在网络上分片段发送XML的流协议。这个流协议是XMPP的即时通讯指令的传递基础,也是一个非常重要的可以被进一步利用的网络基础协议,可以说XMPP用TCP传的是XML流XMPP是一种类似于HTTP协议的一种数据传输协议,其过程就如同“解包装--〉包装”的过程。只需要理解其接收的类型及返回的类型,便可以很好的利用XMPP来进行数据通讯[XMPP官方网站](http://xmpp.org)
xmpp-Advantages and Disadvantages
39203921)证实可用,谷歌证实了GTalk分散安全可扩展缺点数据负载过重XML没有二进制传输

XMPP-Instant Messaging technology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.