XMPP学习总结

来源:互联网 发布:windows phone下载软件 编辑:程序博客网 时间:2024/06/11 18:59

**

XMPP

**
详细参考:http://en.wikipedia.org/wiki/XMPP

Extensible Messaging and Presence Protocol (XMPP) is a communications protocol for message-oriented middleware based on XML (Extensible Markup Language).[1]
It enables the near-real-time exchange of structured yet extensible data between any two or more network entities.[2] The protocol was originally named Jabber,[3]
and was developed by the Jabber open-source community in 1999 for near real-time instant messaging (IM), presence information, and contact list maintenance.
Designed to be extensible, the protocol has also been used for publish-subscribe systems, signalling for VoIP, video, file transfer, gaming, Internet of Things (IoT)
applications such as the smart grid, and social networking services.

Unlike most instant messaging protocols, XMPP is defined in an open standard and uses an open systems approach of development and application,
by which anyone may implement an XMPP service and interoperate with other organizations’ implementations. Because XMPP is an open protocol,
implementations can be developed using any software license; although many server, client, and library implementations are distributed as free
and open-source software, numerous freeware and commercial software implementations also exist.

The Internet Engineering Task Force (IETF) formed an XMPP working group in 2002 to formalize the core protocols as an IETF instant messaging
and presence technology. The XMPP Working group produced four specifications (RFC 3920, RFC 3921, RFC 3922, RFC 3923), which were approved as
Proposed Standards in 2004. In 2011, RFC 3920 and RFC 3921 were superseded by RFC 6120 and RFC 6121 respectively, with RFC 6122 specifying the
XMPP address format. In addition to these core protocols standardized at the IETF, the XMPP Standards Foundation (formerly the Jabber Software
Foundation) is active in developing open XMPP extensions.

XMPP-based software is deployed widely across the Internet, and by 2003, was used by over ten million people worldwide, according to the XMPP
Standards Foundation.[4]

**

  • XMPP协议参考介绍

**
http://xmpp.org/
What is the XSF(Xmpp Standard Foundation)?

The XMPP Standards Foundation is an independent, nonprofit standards development organization whose primary mission is to define open protocols for presence, instant messaging, and real-time communication and collaboration on top of the IETF’s Extensible Messaging and Presence Protocol (XMPP).

  • OpenFire参考网站:

http://www.igniterealtime.org

  • 开发类库下载地址:

http://xmpp.org/xmpp-software/libraries

  • 关于android客户端开发参考:

1.android smack源码分析——接收消息以及如何解析消息
http://www.cnblogs.com/not-code/archive/2011/08/01/2124340.html

  • 一些参考博客:

Android XMPP app
http://yaxim.org/
https://guardianproject.info/apps/chatsecure/
https://github.com/siacs/Conversations
http://beem-project.com/
http://www.xabber.org/
XMPP使用tls 和sasl登录
http://blog.csdn.net/zhangxinrun/article/details/7647952
http://www.cnblogs.com/youmomo/p/4103885.html

Android XMPP Chat Sample
http://quickblox.com/developers/Android_XMPP_Chat_Sample
XMPP文件传输
http://blog.csdn.net/shmcclmm/article/details/8530672

在Android开发中使用不同版本的jar包需要注意是否支持某一功能。asmack包不再更新,官方新出smack4.1包,可以直接支持android开发使用。
在客户端开发中发现每隔30秒会发送一次心跳包。

0 0
原创粉丝点击