# 在线聊天

在线聊天是人们通过互联网进行的任何实时、基于文本的对话，消息的输入、发送和接收几乎没有延迟。它涵盖一对一的即时通讯、多用户聊天室以及大型平台内部的文字频道，其同步性使其区别于电子邮件和论坛发帖：参与者通常同时在场。<sup>[1](https://iite.unesco.org/pics/publications/en/files/3214613.pdf)</sup><sup> • </sup><sup>[2](https://www.irrodl.org/index.php/irrodl/article/download/87/583/1549)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义属性 | 一对一或一对多用户之间实时的、基于文本的同步交流<sup>[1](https://iite.unesco.org/pics/publications/en/files/3214613.pdf)</sup> |
| 早期里程碑 | 芬兰人亚尔科·奥伊卡里宁（Jarkko Oikarinen）创建IRC；ICQ于1996年11月推出；AIM于1997年5月推出；Yahoo! Messenger于1998年推出；MSN Messenger于1999年推出；Google Talk于2005年推出<sup>[3](https://www.giac.org/paper/gsec/2290/evolution-instant-messaging/103954)</sup><sup> • </sup><sup>[4](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1547667/download-documents?artifactId=-buT-oAkCYaTgjxn-34o-_MUBohAgLJX-H13cQ-DxQFH1aZCC7KBV6s)</sup><sup> • </sup><sup>[5](https://www.smithsonianmag.com/innovation/aol-instant-messenger-taught-us-how-to-communicate-in-modern-world-180967484/)</sup> |
| 核心协议 | XMPP（RFC 6120，2011年）通过带在线状态的持久TCP流交换XML节；WebSocket（RFC 6455，2011年）为浏览器提供双向连接，无需HTTP轮询<sup>[6](https://www.rfc-editor.org/rfc/rfc6120.html)</sup><sup> • </sup><sup>[7](https://www.rfc-editor.org/info/rfc6455/)</sup> |
| 加密 | Matrix使用Olm和Megolm棘轮实现端到端加密；GSMA的RCS规范v1.0使用消息层安全（MLS）协议为RCS定义端到端加密<sup>[8](https://matrix.org/docs/matrix-concepts/end-to-end-encryption/)</sup><sup> • </sup><sup>[9](https://www.gsma.com/solutions-and-impact/technologies/networks/gsma_resources/rich-communication-suite-end-to-end-encryption-specification-version-1-0/)</sup> |
| 商业用途 | 在线客服是企业用于在线销售和支持的计算机中介服务；JD Power 2016年的一项研究发现，客户更愿意与客服代表在线聊天，而不是打电话<sup>[10](https://www.sciencedirect.com/science/article/pii/S0148296325000207)</sup><sup> • </sup><sup>[11](https://www.jdpower.com/business/press-releases/jd-power-2016-us-chat-and-email-benchmarking-study)</sup> |
| 用户行为 | 36%的美国成年人使用过加密其私人通信的通讯应用；24%的人表示他们最近一次网络骚扰发生在短信或通讯应用上<sup>[12](https://www.pewresearch.org/internet/2023/10/18/how-americans-protect-their-online-data/)</sup><sup> • </sup><sup>[13](https://www.pewresearch.org/short-reads/2021/02/16/online-harassment-occurs-most-often-on-social-media-but-strikes-in-other-places-too/)</sup> |
| 监管 | 欧盟《数字市场法》要求被指定的守门人分阶段实现其通讯服务的互操作，首批与WhatsApp互操作的第三方服务于2025年11月上线<sup>[14](https://digital-markets-act.ec.europa.eu/businesses-portal/messaging-interoperability_en?prefLang=el)</sup> |

## 形式与基本区分

聊天系统沿两个轴线划分：同步性和受众。同步聊天是最初的形式，要求参与者同时在线；即时通讯（IM）是个人之间同样的实时文本交换，通常通过显示谁在线的联系人列表进行。<sup>[1](https://iite.unesco.org/pics/publications/en/files/3214613.pdf)</sup><sup> • </sup><sup>[15](https://scholar.ufs.ac.za/server/api/core/bitstreams/af5c3059-412e-44d6-9933-5da862583d80/content)</sup>聊天室和多用户频道将交流扩展到群体，教育指南将其视为可以支持学习社区的同步讨论工具。<sup>[16](https://iite.unesco.org/wp-content/uploads/2020/05/Guidance-on-Flexible-Learning-during-Campus-Closures-Ensuring-Course-Quality-of-Higher-Education-in-COVID-19-Outbreak.pdf)</sup>异步消息传递中回复可能数小时后才到，模糊了边界；现代通讯应用在同一界面中支持两种模式。

## 历史

**早期系统。** 互联网中继聊天（IRC）由亚尔科·奥伊卡里宁在芬兰创建，在早期互联网上确立了多用户聊天室模式，并一直是后来服务的参照点。<sup>[3](https://www.giac.org/paper/gsec/2290/evolution-instant-messaging/103954)</sup>消费级市场的突破来自ICQ，由以色列公司[Mirabilis](https://www.edgepedia.org/zh/mirabilis)于1996年11月推出，是第一个面向大众市场销售的通用即时通讯工具。ICQ提供集中式的一对一对话服务，积累了庞大的全球用户群。<sup>[4](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1547667/download-documents?artifactId=-buT-oAkCYaTgjxn-34o-_MUBohAgLJX-H13cQ-DxQFH1aZCC7KBV6s)</sup><sup> • </sup><sup>[17](https://www.techradar.com/pro/this-pioneering-instant-messaging-platform-tried-to-keep-up-with-the-times-it-failed)</sup>

**通讯工具时代。** AOL Instant Messenger（AIM）于1997年5月发布，成为一个转折点，吸引了大量年轻用户；它还让许多人第一次接触到字符表情，即今日表情图标的前身。<sup>[4](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1547667/download-documents?artifactId=-buT-oAkCYaTgjxn-34o-_MUBohAgLJX-H13cQ-DxQFH1aZCC7KBV6s)</sup><sup> • </sup><sup>[5](https://www.smithsonianmag.com/innovation/aol-instant-messenger-taught-us-how-to-communicate-in-modern-world-180967484/)</sup>Yahoo! Messenger于1998年跟进，微软的MSN Messenger于1999年推出，[Google Talk](https://www.edgepedia.org/zh/google-talk)于2005年推出。由于每个网络都是封闭的，用户不得不同时运行多个客户端，直到Jabber（后来标准化为XMPP）作为多协议网关，让用户通过单一应用连接多个IM网络；Pidgin、Trillian和Adium等专用客户端也起到同样作用。<sup>[4](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1547667/download-documents?artifactId=-buT-oAkCYaTgjxn-34o-_MUBohAgLJX-H13cQ-DxQFH1aZCC7KBV6s)</sup>AOL于1998年收购了ICQ的开发商Mirabilis，ICQ本身运营了28年，直到其所有者俄罗斯数字公司VK于2024年6月26日将其关闭。<sup>[18](https://www.lemonde.fr/pixels/article/2024/06/26/icq-le-pionnier-de-la-messagerie-instantanee-a-pousse-son-dernier-oh-oh_6243789_4408996.html)</sup>

**平台与移动聊天。** 社交网络将聊天作为功能吸收：Facebook推出了Facebook Chat，并提供API允许第三方客户端连接，但于2015年关闭了该API，并将服务更名为Facebook Messenger。<sup>[4](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1547667/download-documents?artifactId=-buT-oAkCYaTgjxn-34o-_MUBohAgLJX-H13cQ-DxQFH1aZCC7KBV6s)</sup>向智能手机的转变使移动通讯成为主导形式。在Cloudflare基于DNS流量的2025年排名中，WhatsApp连续第四年位居通讯服务榜首，其次是[腾讯QQ](https://www.edgepedia.org/zh/tencent-qq)、[Telegram](https://www.edgepedia.org/zh/telegram-software)和乐天Viber，开源加密服务Signal从10月起升至第五位，超过了微信。<sup>[19](https://blog.cloudflare.com/radar-2025-year-in-review-internet-services/)</sup>

## 协议与架构

**XMPP。** 可扩展消息与在线状态协议在RFC 6120（2011年3月）中规定，通过客户端与服务器之间长期TCP连接上的持久XML流，提供结构化的异步端到端数据交换。每个实体都有一个全局可寻址的标识符，称为JID（因历史原因也称Jabber ID），例如<code>juliet@im.example.com</code>，专门的在线状态原语让发送者在写信之前就能知道收件人是否在线。通信在逻辑上是点对点的，但在物理上按客户端—服务器—服务器—客户端的路径路由，模式类似于电子邮件。<sup>[6](https://www.rfc-editor.org/rfc/rfc6120.html)</sup>

**WebSocket。** 对于基于浏览器的聊天，RFC 6455（2011年12月）定义了[WebSocket](https://www.edgepedia.org/zh/websocket)协议，为Web应用提供单一连接上的双向通信。其引言指出，需要双向通信的应用（如即时通讯和游戏）此前不得不滥用HTTP来反复轮询服务器；WebSocket用升级HTTP连接的握手取代了这种模式。<sup>[7](https://www.rfc-editor.org/info/rfc6455/)</sup>RFC 7395（2014年10月）定义了WebSocket的XMPP子协议，允许XMPP流在浏览器连接内运行。<sup>[20](https://rfc.dk/rfc7395/)</sup>

**Matrix与联邦。** Matrix是一种开放的联邦聊天协议，其中归属服务器通过强认证的HTTPS联邦API实时相互推送消息，并支持基于Olm和Megolm密码学棘轮的端到端加密。<sup>[21](https://spec.matrix.org/v1.13/server-server-api/)</sup><sup> • </sup><sup>[8](https://matrix.org/docs/matrix-concepts/end-to-end-encryption/)</sup>IETF的更多即时通讯互操作性（MIMI）工作组正在制定端到端加密服务在不削弱其安全保证的前提下实现互操作所需的最小机制，其基础是用于群组密钥建立的消息层安全（MLS）协议。<sup>[22](https://datatracker.ietf.org/doc/charter-ietf-mimi/)</sup>

## 应用

**客户服务。** 在线客服将实时文本对话嵌入商业网站，让客服人员在客户浏览时回答销售和支持问题。<sup>[10](https://www.sciencedirect.com/science/article/pii/S0148296325000207)</sup>对其商业效果的研究发现，聊天质量影响客户的行为意向和关系质量，且在线客服对卖家声誉表现出替代效应：反馈评分低的卖家从聊天对话中获益比高分卖家更多。<sup>[23](https://www.tandfonline.com/doi/abs/10.1080/10447318.2022.2144126)</sup><sup> • </sup><sup>[24](https://pubsonline.informs.org/doi/10.1287/isre.2019.0861)</sup>LiveChat和Tidio等商业平台将聊天与工单和AI聊天机器人功能捆绑在一起，路由工具会自动将新对话分配给有空的客服人员。<sup>[25](https://www.techradar.com/reviews/livechat)</sup><sup> • </sup><sup>[26](https://www.techradar.com/pro/how-to-choose-live-chat-software-for-your-business)</sup>

**教育与图书馆。** 在高等教育中，在线聊天支持在线学术求助，将学生与教师和支持人员连接起来；这种形式对在线学生尤为重要，因为他们不在校园时可能感到与同学和学校隔绝。<sup>[27](https://pmc.ncbi.nlm.nih.gov/articles/PMC8021438/)</sup>在学术图书馆中，一项针对31名学生的可用性研究考察了五种虚拟参考服务（即时通讯聊天、电子邮件、电话、短信和Skype视频会议），发现在线聊天在满意度和七项可用性因素中评分最高，并得出结论：聊天是大学生首选的虚拟参考服务。<sup>[28](https://crl.acrl.org/index.php/crl/article/view/16366)</sup>

健康。基于聊天的热线依赖广泛使用的聊天平台和通讯工具——其中包括WhatsApp、Facebook Messenger和微信——将用户与受过培训的医疗服务提供者或工作人员连接起来；一项涵盖2009年至2020年发表研究的系统综述发现，这种模式被用于健康促进的各个方面，包括荷兰一项针对焦虑和抑郁儿童的保密一对一聊天服务，该服务与更高的幸福感和更低的问题严重程度相关。<sup>[29](https://pmc.ncbi.nlm.nih.gov/articles/PMC7793018/)</sup>在临床环境中，一项在急诊科进行的双向短信聊天服务试验发现，研究护士在无需医疗服务提供者进一步介入的情况下解决了41.4%的患者询问和70.9%的家属询问。<sup>[30](https://pmc.ncbi.nlm.nih.gov/articles/PMC11394936/)</sup>

## 隐私、安全与骚扰

加密已成为个人聊天的标准期望。[皮尤研究中心](https://www.edgepedia.org/zh/pew-research-center)2023年的一项调查发现，36%的美国成年人使用过加密其与他人之间的私人通信的通讯应用或服务。<sup>[12](https://www.pewresearch.org/internet/2023/10/18/how-americans-protect-their-online-data/)</sup>[Signal](https://www.edgepedia.org/zh/signal-software)对其消息和通话应用端到端加密，其协议也被WhatsApp使用。<sup>[31](https://apnews.com/article/32699da142c5209b845e57f690df4925)</sup>2026年对十款最受欢迎的iOS通讯应用的分析报告称，其中9款提供端到端加密，而90%现在包含引发数据收集担忧的AI功能。<sup>[32](https://www.techradar.com/computing/cyber-security/how-much-data-does-your-favorite-messaging-app-collect-new-study-shows-90-percent-of-messaging-apps-now-include-ai-that-puts-privacy-at-risk)</sup>

聊天也是伤害发生的场所。皮尤研究中心的调查数据显示，虽然社交媒体网站是网络骚扰最常见的场所，但24%的美国人表示他们最近一次骚扰经历发生在短信或通讯应用上，而在长期遭受骚扰的人群中，这一比例升至47%。<sup>[13](https://www.pewresearch.org/short-reads/2021/02/16/online-harassment-occurs-most-often-on-social-media-but-strikes-in-other-places-too/)</sup>监管紧随技术之后。欧盟理事会于2025年11月26日就《儿童性虐待条例》达成一致，批评者戏称为“聊天控制”，根据该条例，扫描用户私人聊天中的儿童性虐待材料（包括在端到端加密服务上）被设为自愿而非强制。<sup>[33](https://www.techradar.com/vpn/vpn-privacy-security/chat-control-eu-lawmakers-finally-agree-on-the-voluntary-scanning-of-your-private-chats)</sup>

## 互操作性

聊天服务之间的互操作性——2000年代通过多协议客户端追求的目标——现在部分成为监管事项。根据欧盟《数字市场法》第7条，被指定的守门人必须分阶段允许其他通讯提供商与其服务互操作：首先是一对一文本消息和文件共享，指定后两年内实现群聊，四年内实现语音和视频通话。Meta于2023年9月6日被指定为WhatsApp和Messenger的守门人，2025年11月，首批与WhatsApp互操作的两个第三方服务BirdyChat和Haiket上线。<sup>[14](https://digital-markets-act.ec.europa.eu/businesses-portal/messaging-interoperability_en?prefLang=el)</sup>Meta表示其互操作性解决方案保留了端到端加密。<sup>[34](https://www.europarl.europa.eu/doceo/document/E-10-2026-000134-ASW_EN.pdf)</sup>与此同时，IETF MIMI工作组和GSMA基于MLS的RCS加密规范代表了通往同一结果的标准轨道：跨提供商边界工作的加密聊天。<sup>[22](https://datatracker.ietf.org/doc/charter-ietf-mimi/)</sup><sup> • </sup><sup>[9](https://www.gsma.com/solutions-and-impact/technologies/networks/gsma_resources/rich-communication-suite-end-to-end-encryption-specification-version-1-0/)</sup>

## References

1. [Chat and Instant Messaging Systems (synchronous), UNESCO IITE](https://iite.unesco.org/pics/publications/en/files/3214613.pdf)
2. [Chat and Instant Messaging Systems, International Review of Research in Open and Distributed Learning](https://www.irrodl.org/index.php/irrodl/article/download/87/583/1549)
3. [The Evolution of Instant Messaging, GIAC](https://www.giac.org/paper/gsec/2290/evolution-instant-messaging/103954)
4. [The History of Instant Messaging (IM), USPTO PTACTS document](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1547667/download-documents?artifactId=-buT-oAkCYaTgjxn-34o-_MUBohAgLJX-H13cQ-DxQFH1aZCC7KBV6s)
5. [AOL Instant Messenger Taught Us How To Communicate in the Modern World, Smithsonian Magazine](https://www.smithsonianmag.com/innovation/aol-instant-messenger-taught-us-how-to-communicate-in-modern-world-180967484/)
6. [RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core, RFC Editor](https://www.rfc-editor.org/rfc/rfc6120.html)
7. [RFC 6455: The WebSocket Protocol, RFC Editor](https://www.rfc-editor.org/info/rfc6455/)
8. [End-to-End Encryption implementation guide, Matrix.org](https://matrix.org/docs/matrix-concepts/end-to-end-encryption/)
9. [Rich Communication Suite – End-to-End Encryption Specification Version 1.0, GSMA](https://www.gsma.com/solutions-and-impact/technologies/networks/gsma_resources/rich-communication-suite-end-to-end-encryption-specification-version-1-0/)
10. [Online chat encounters: Satisfying customers through dialogical interaction, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0148296325000207)
11. [JD Power 2016 U.S. Chat and Email Benchmarking Study](https://www.jdpower.com/business/press-releases/jd-power-2016-us-chat-and-email-benchmarking-study)
12. [How Americans protect their online data and privacy, Pew Research Center](https://www.pewresearch.org/internet/2023/10/18/how-americans-protect-their-online-data/)
13. [Online harassment is common on social media, but in other places too, Pew Research Center](https://www.pewresearch.org/short-reads/2021/02/16/online-harassment-occurs-most-often-on-social-media-but-strikes-in-other-places-too/)
14. [Messaging Interoperability, Digital Markets Act businesses portal, European Commission](https://digital-markets-act.ec.europa.eu/businesses-portal/messaging-interoperability_en?prefLang=el)
15. [Final document (synchronous chat and instant messaging definitions), University of the Free State repository](https://scholar.ufs.ac.za/server/api/core/bitstreams/af5c3059-412e-44d6-9933-5da862583d80/content)
16. [Guidance on Flexible Learning during Campus Closures, UNESCO IITE](https://iite.unesco.org/wp-content/uploads/2020/05/Guidance-on-Flexible-Learning-during-Campus-Closures-Ensuring-Course-Quality-of-Higher-Education-in-COVID-19-Outbreak.pdf)
17. [This pioneering instant messaging platform tried to keep up with the times, TechRadar](https://www.techradar.com/pro/this-pioneering-instant-messaging-platform-tried-to-keep-up-with-the-times-it-failed)
18. [ICQ, le pionnier de la messagerie instantanée, a poussé son dernier « oh oh », Le Monde](https://www.lemonde.fr/pixels/article/2024/06/26/icq-le-pionnier-de-la-messagerie-instantanee-a-pousse-son-dernier-oh-oh_6243789_4408996.html)
19. [ChatGPT's rivals, Kwai's quiet rise: the top Internet services of 2025, Cloudflare Blog](https://blog.cloudflare.com/radar-2025-year-in-review-internet-services/)
20. [RFC 7395: An XMPP Subprotocol for WebSocket](https://rfc.dk/rfc7395/)
21. [Server-Server API, Matrix Specification](https://spec.matrix.org/v1.13/server-server-api/)
22. [More Instant Messaging Interoperability (MIMI) working group charter, IETF](https://datatracker.ietf.org/doc/charter-ietf-mimi/)
23. [Impact of Live Chat Service Quality on Behavioral Intentions and Relationship Quality: A Meta-Analysis, International Journal of Human–Computer Interaction](https://www.tandfonline.com/doi/abs/10.1080/10447318.2022.2144126)
24. [Impact of Live Chat on Purchase in Electronic Markets, Information Systems Research](https://pubsonline.informs.org/doi/10.1287/isre.2019.0861)
25. [I tested LiveChat, TechRadar](https://www.techradar.com/reviews/livechat)
26. [How to choose live chat software for your business, TechRadar](https://www.techradar.com/pro/how-to-choose-live-chat-software-for-your-business)
27. [Use of live chat in higher education to support self-regulated help seeking behaviours, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC8021438/)
28. [A Usability Evaluation of Academic Virtual Reference Services, College & Research Libraries](https://crl.acrl.org/index.php/crl/article/view/16366)
29. [Chat-based hotlines for health promotion: a systematic review, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7793018/)
30. [A trial of a chat service for patients and their family members in an emergency department, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC11394936/)
31. [What is Signal, the chat app used by US officials to share attack plans?, AP News](https://apnews.com/article/32699da142c5209b845e57f690df4925)
32. [How much data does your favorite messaging app collect?, TechRadar](https://www.techradar.com/computing/cyber-security/how-much-data-does-your-favorite-messaging-app-collect-new-study-shows-90-percent-of-messaging-apps-now-include-ai-that-puts-privacy-at-risk)
33. [Chat Control: EU lawmakers finally agree on the voluntary scanning of your private chats, TechRadar](https://www.techradar.com/vpn/vpn-privacy-security/chat-control-eu-lawmakers-finally-agree-on-the-voluntary-scanning-of-your-private-chats)
34. [Answer given by the European Commission on messaging interoperability, European Parliament](https://www.europarl.europa.eu/doceo/document/E-10-2026-000134-ASW_EN.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Sep 17, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 电话系统与服务 › Videotelephony › Video calling services and software

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/online-chat

English original: https://www.edgepedia.org/online-chat
