
xmpp协议和socket
XMPP (Extensible Messaging and Presence Protocol ) is an open standard for messaging and presence. XMPP is the most popular open-source and open standard protocol for chat, video conference and presence. XMPP is the core protocol used in popular chat applications like ICQ, WhatsApp, Nimbuzz, etc.
XMPP(可扩展消息传递和在线状态协议)是用于消息传递和在线状态的开放标准。 XMPP是用于聊天,视频会议和状态的最流行的开源和开放标准协议。 XMPP是常用聊天应用程序(如ICQ,WhatsApp,Nimbuzz等)中使用的核心协议。
XMPP标准 (XMPP Standard)
XMPP is developed as an IETF standard. But the XMPP Standards Foundation developed extensions to XMPP in its XEP series. Here is the list of RFC’s used to define XMPP
XMPP是作为IETF标准开发的。 但是XMPP标准基金会在其XEP系列中开发了对XMPP的扩展。 这是用于定义XMPP的RFC列表
- `RFC 6120` is the core standard for XMPP and provides basic and fundamental processes for the XMPP.RFC 6120是XMPP的核心标准,它为XMPP提供了基本和基本的过程。
- `RFC 6121`is an extension to the core standard to provide useful features RFC 6121是对核心标准的扩展,以提供有用的功能
- `RFC 7622` defines address format for XMPP and obsoletes RFC 6122.RFC 7622定义了XMPP的地址格式,并废弃了RFC 6122。
XMPP标准历史记录 (XMPP Standard History)
XMPP has a long history which is around 20 year. Here we will provide some important point about XMPP history.
XMPP已有20年的悠久历史。 在这里,我们将提供有关XMPP历史的一些重要信息。
- XMPP is created by Jeremie Miller in 1999 as a Jabber chat application XMPP由Jeremie Miller在1999年创建,是一个Jabber聊天应用程序
- The Jabber Software Foundation which is the base for XMPP is founded in 2001作为XMPP的基础的Jabber软件基金会成立于2001年
- The IETF created standards with RFC’s for XMPP in 2004IETF在2004年通过RFC为XMPP创建了标准
- XMPP based large and popular chat application Google Talk announced in 2006基于XMPP的大型流行聊天应用程序Google Talk于2006年发布
- Jabber Software Foundation is renamed as XMPP Standards Foundation in 2007Jabber软件基金会在2007年更名为XMPP标准基金会
- XMPP RFC updates RFC 6120 and 6121 published by IETF in 2011XMPP RFC更新了IETF在2011年发布的RFC 6120和6121
- XMPP over WebSocket RFC 7395 is published in 2015 基于WebSocket RFC 7395的XMPP于2015年发布
XMPP功能(XMPP Features)
XMPP protocol and standard provide a lot of features and attributes. Here we will list some of the most important of them.
XMPP协议和标准提供了许多功能和属性。 在这里,我们将列出其中一些最重要的内容。
- XMPP is a free, open, a public standard which can be implemented by everyone easily XMPP是一个免费,开放的公共标准,每个人都可以轻松实现
- XMPP is `standard` where it is the same for each implementation, server, and client. Most updated RFC’s are 6120, 6121, 7622 XMPP是“标准”的,其中每个实现,服务器和客户端都相同。 最新更新的RFC是6120、6121、7622
- XMPP is `proven` because it is used by a lot of applications by millions of peoples like Google Talk, Nimbuzz, etc XMPP已被“证明”,因为它被众多应用程序使用,例如Google Talk,Nimbuzz等数百万用户
- XMPP works as `decentralized` which is very suitable today it world and use cases.XMPP是“分散式”的,在当今世界和用例中都非常适合。
- XMPP is `secure` which uses SASL and TLS as builtin XMPP是“安全”的,它使用内置的SASL和TLS
- XMPP is `extensible` with the help of XML and with XEP series a lot of dynamic features are added XMPP在XML的帮助下是“可扩展的”,并且借助XEP系列,添加了许多动态功能
XMPP用途 (XMPP Uses)
XMPP is designed as chat applications but with its extensions and capabilities, it is used in different areas.
XMPP被设计为聊天应用程序,但由于具有扩展功能,因此可在不同领域中使用。
- `IoT` is a popular area in IT and requires stable and standardized communication between nodes. XMPP can be used for different applications and IoT nodes. IoT是IT领域的一个流行领域,需要节点之间稳定且标准化的通信。 XMPP可用于不同的应用程序和IoT节点。
- `Online Gaming` is a popular topic in end users. XMPP is used in popular games like Nintendo Switch, EVE Online, Fortnite, Neverwinter, etc. “在线游戏”是最终用户中的热门话题。 XMPP用于Nintendo Switch,EVE Online,Fortnite,Neverwinter等流行游戏。
- `Social` is the main area of the XMPP ad used a lot of popular projects like Google, Apple, etc. “社交”是XMPP广告的主要区域,它使用了许多受欢迎的项目,例如Google,Apple等。
XMPP库 (XMPP Libraries)
As XMPP is a reliable standard and popular protocol there are a lot of libraries and implementations about XMPP. These implementations vary from Go to JavaScript. Here are some of them.
由于XMPP是可靠的标准和流行的协议,因此有许多关于XMPP的库和实现。 这些实现从Go到JavaScript有所不同。 这里是其中的一些。
- Exlixir XMPP is implemented for Erlang language Exlixir XMPP为Erlang语言实现
- Fluux XMPP is implemented for GoFluux XMPP为Go实现
- gloox is implemented for C++gloox是为C ++实现的
- MatriX is implemented for .Net and C#MatriX是针对.Net和C#实现的
- QXmpp is implemented for C++QXmpp是为C ++实现的
- Slixmpp is implemented for PythonSlixmpp是为Python实现的
- Smack is implemented for JavaSmack是为Java实现的
- Stroke is implemented for Java中风是为Java实现的
- Strophe.js is implemented for JavaScriptStrophe.js是为JavaScript实现的
XMPP客户端(XMPP Clients)
With the popularity of its libraries, there are a lot of XMPP clients for different platforms like Linux, Windows Android, macOS, Browser, etc. Here we will list some of them.
随着其库的普及,针对不同平台(例如Linux,Windows Android,macOS,浏览器等)的XMPP客户端很多。在这里,我们将列出其中的一些。
Project Name | Platforms |
---|---|
AstraChat | Android / iOS / Linux / macOS / Windows |
BeagleIM by Tigase, Inc. | macOS |
Bruno the Jabber™ Bear | Android |
Conversations | Android |
Converse | Browser |
Dino | Linux |
Gajim | Linux / Windows |
Jitsi Desktop | Linux / macOS / Windows |
JSXC | Browser |
Kaidan | Android / Linux / Windows |
Miranda NG | Windows |
Mozilla Thunderbird | Linux / macOS / Windows |
Poezio | Linux / macOS |
Profanity | Linux / macOS / Windows |
Psi | Linux / macOS / Windows |
Psi+ | Linux / macOS / Windows |
Pàdé | Browser |
Salut à Toi | Android / Browser / Linux / Other |
Simple IoT Client | Windows |
Siskin IM by Tigase, Inc. | iOS |
Spark | Linux / macOS / Windows |
Swift | Linux / macOS / Windows |
Tigase Messenger for Android | Android |
Xabber | Android |
Xabber-web | Browser |
yaxim | Android |
项目名称 | 平台类 |
---|---|
AstraChat | Android / iOS / Linux / macOS / Windows |
Tigase,Inc.的BeagleIM | 苹果系统 |
Jabber™熊布鲁诺熊 | 安卓系统 |
对话内容 | 安卓系统 |
交谈 | 浏览器 |
迪诺 | Linux |
加吉姆 | Linux /视窗 |
Jitsi桌面 | Linux / macOS / Windows |
JSXC | 浏览器 |
凯丹 | Android / Linux / Windows |
吴仪 | 视窗 |
Mozilla雷鸟 | Linux / macOS / Windows |
Poezio | Linux / macOS |
亵渎 | Linux / macOS / Windows |
si | Linux / macOS / Windows |
Psi + | Linux / macOS / Windows |
帕德 | 浏览器 |
致敬 | Android /浏览器/ Linux /其他 |
简单的物联网客户端 | 视窗 |
Tigase,Inc.的Siskin IM | 的iOS |
火花 | Linux / macOS / Windows |
Swift | Linux / macOS / Windows |
Tigase Messenger for Android | 安卓系统 |
Xabber | 安卓系统 |
Xabber网 | 浏览器 |
亚西姆 | 安卓系统 |
翻译自: https://www.poftut.com/what-is-xmpp-extensible-messaging-and-presence-protocol/
xmpp协议和socket