没有合适的资源?快使用搜索试试~ 我知道了~
即时通讯协议(PRIM)
5星 · 超过95%的资源 需积分: 31 13 下载量 71 浏览量
2012-11-18
15:14:35
上传
评论 1
收藏 143KB PDF 举报
温馨提示
试读
59页
四种主流的IM协议, XMPP协议、即时信息和空间协议(IMPP)、空间和即时信息协议(PRIM)、针对即时通讯和空间平衡扩充的进程开始协议SIP(SIMPLE)。 本文是PRIM协议。
资源推荐
资源详情
资源评论
INTERNET-DRAFT H. Sugano
Fujitsu
F. Mazzoldi
Network Projects, Inc.
A. Diacakis
Network Projects, Inc.
S. Fujimoto
Fujitsu
G. Hudson
MIT
J. D. Ramsdell
The MITRE Corporation
Expires: September 2001 March 2001
Presence and Instant Messaging Protocol (PRIM)
<draft-mazzoldi-prim-impp-01.txt>
Status of this Memo
This document is an Internet-Draft and is in full conformance with
all provisions of Section 10 of RFC2026.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet- Drafts as reference
material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
Please send comments to the authors or to the prim@ml.fujitsulabs.com
discussion list.
Mazzoldi et al. [Page 1]
INTERNET DRAFT PRIM Specification March 2001
Copyright Notice
Copyright (C) The Internet Society (2001). All Rights Reserved.
Abstract
The architecture and specifications of the Presence and Instant
Messaging protocols (PRIM) are described. PRIM defines a set of
protocols for the Presence and Instant Messaging services which
satisfy the IMPP requirements [RFC2779]. PRIM is also designed so as
to conform with the Common Profile for Instant Messaging (CPIM)
specification being developed in the IMPP WG.
Mazzoldi et al. [Page 2]
INTERNET DRAFT PRIM Specification March 2001
Table of Contents
1. Introduction ......................................... 5
1.1. Design Goals and Assumptions ......................... 5
2. Terminology .......................................... 6
3. Architecture ......................................... 6
3.1. Service Domain Clustering ............................ 7
4. Connection Model ..................................... 7
4.1. Client-server Connections ............................ 7
4.2. Server-server Connections ............................ 7
4.3. Shared Connections for Both Services ................. 8
5. Presence Model ....................................... 8
5.1. Presence Subscriptions ............................... 9
5.2. PRESENCE Publication & Distribution .................. 9
6. Instant Messaging Model .............................. 9
7. Namespace ............................................ 10
7.1. Identifiers .......................................... 10
7.2. Name Resolution ...................................... 11
8. Command Structure .................................... 12
8.1. Requests ............................................. 13
8.2. Responses ............................................ 14
9. Command Headers ...................................... 15
9.1. Common Headers ....................................... 16
9.2. Presence Headers ..................................... 20
9.3. IM Headers ........................................... 21
10. Common Commands ..................................... 21
10.1. Connection Setup - LOGIN ............................ 21
10.2. Connection Setup - STARTTLS ......................... 23
10.3. Connection Shutdown - LOGOUT ........................ 23
10.4. Testing a connection - PING ......................... 23
10.5. Verifying a server’s authority - VERIFYSERVER ....... 24
10.6. Access Control ...................................... 24
11. Presence Service Commands ........................... 26
11.1. Placement, Renewal and Removal of SUBSCRIPTIONS ..... 26
11.2. Publication & Removal of PRESENCE INFORMATION ....... 29
11.3. Propagation of PRESENCE INFORMATION - NOTIFY ........ 32
11.4. Presence Privacy Management ......................... 33
12. Instant Messaging Service Commands .................. 36
12.1. Listening to INSTANT INBOXes ........................ 36
12.2. Sending Messages - SEND ............................. 37
12.3. Access Control Lists ................................ 38
13. Authentication ...................................... 38
13.1. Client-Server Authentication ........................ 39
13.2. Server-Server Authentication ........................ 41
14. Privacy Management .................................. 42
14.1. Presence Publication Control ........................ 42
14.2. Access Control ...................................... 43
15. Presence Information Data Format (PIDF) ............. 46
Mazzoldi et al. [Page 3]
INTERNET DRAFT PRIM Specification March 2001
15.1. General Design ...................................... 46
15.2. Required Headers for PIDF ........................... 47
15.3. XML Format Definition ............................... 47
15.4. XML tags and attributes definitions ................. 48
15.5. Date Format ......................................... 50
15.6. Examples ............................................ 50
15.7. Presence Document DTD ............................... 51
16. IM Format ........................................... 52
17. CPIM/PRIM Mapping ................................... 52
17.1. Presence Protocol ................................... 52
17.2. Instant Messaging Protocol .......................... 52
18. Security Considerations ............................. 53
19. Appendix A: Response Codes .......................... 54
20. References .......................................... 56
21. Acknowledgements .................................... 57
22. Author’s Addresses .................................. 58
23. Full Copyright Statement ............................ 59
Mazzoldi et al. [Page 4]
INTERNET DRAFT PRIM Specification March 2001
1. Introduction
On the Internet and elsewhere, a growing number of people would like
to know when others are available to communicate with them. A system
that provides this type of PRESENCE INFORMATION is known as Presence
Service.
INSTANT MESSAGING allows text base communication to occur in a rapid,
conversational fashion. An INSTANT MESSAGE is delivered to a
recipient if the recipient is listening for messages, otherwise the
message is dropped and the sender is informed of the delivery
failure.
PRESENCE and INSTANT MESSAGING SERVICES are separate and can work
independently of each other. However, by utilizing the Presence
Service a user has a better idea as to whether a recipient is
listening for INSTANT MESSAGES. Therefore, the two services are often
used in tandem.
The PResence and Instant Messaging (PRIM) protocol is designed so
that INSTANT MESSAGING and PRESENCE SERVICES can be provided by a set
of servers distributed across a large number of administrative
domains.
PRIM is also designed to conform to the Common Profile for Instant
Messaging (CPIM) specification being developed by the IMPP WG. This
enables that users of PRIM services exchange PRESENCE INFORMATION and
INSTANT MESSAGES with the users of the services which use other CPIM
compatible protocols.
1.1. Design Goals and Assumptions
Some of the design principles on which this protocol is based are:
o Transfer protocol directly atop of TCP
PRIM assumes TCP as the basic transport mechanism for INSTANT
MESSAGES and PRESENCE INFORMATION. TCP provides a sufficiently
reliable transport infrastructure which is required by both INSTANT
MESSAGING and PRESENCE SERVICES.
o Long-lived Client/Server connections
PRIM uses long-lived client/server TCP connections in order to
receive INSTANT MESSAGES and PRESENCE INFORMATION NOTIFICATIONS.
Note that this is the prevailing model used by most Presence and IM
systems today. It brings the following advantages:
Mazzoldi et al. [Page 5]
剩余58页未读,继续阅读
资源评论
- June_Hou2016-11-01全英文的..
- myspore2015-08-07很好,写得比较全面
- lvllc2017-06-01读起来比较费力
- Ivychai2015-04-21对于论文的摘要以及绪论的写作有很大的用处。
- Footfalls2015-03-22全英文的,读起来比较吃力
billow_wxq
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功