亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rfc3994 indication of message composition for instant messaging.txt

?? 有關IMS SIP及Presence應用的RFC文檔包
?? TXT
?? 第 1 頁 / 共 2 頁
字號:





Network Working Group                                     H. Schulzrinne
Request for Comments: 3994                                   Columbia U.
Category: Standards Track                                   January 2005


        Indication of Message Composition for Instant Messaging

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2005).

Abstract

   In instant messaging (IM) systems, it is useful to know during an IM
   conversation whether the other party is composing a message; e.g.,
   typing or recording an audio message.  This document defines a new
   status message content type and XML namespace that conveys
   information about a message being composed.  The status message can
   indicate the composition of a message of any type, including text,
   voice, or video.  The status messages are delivered to the instant
   messaging recipient in the same manner as the instant messages
   themselves.





















Schulzrinne                 Standards Track                     [Page 1]

RFC 3994                      isComposing                   January 2005


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  2
   2.  Terminology and Conventions  . . . . . . . . . . . . . . . . .  3
   3.  Description  . . . . . . . . . . . . . . . . . . . . . . . . .  3
       3.1.  Overview . . . . . . . . . . . . . . . . . . . . . . . .  3
       3.2.  Message Composer Behavior  . . . . . . . . . . . . . . .  4
       3.3.  Status Message Receiver Behavior . . . . . . . . . . . .  5
       3.4.  Message Content  . . . . . . . . . . . . . . . . . . . .  6
       3.5.  Additional Status Information  . . . . . . . . . . . . .  6
   4.  Using the Status Message . . . . . . . . . . . . . . . . . . .  7
   5.  Examples . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
   6.  XML Document Format  . . . . . . . . . . . . . . . . . . . . .  8
       6.1.  XML Schema . . . . . . . . . . . . . . . . . . . . . . .  9
   7.  Security Considerations  . . . . . . . . . . . . . . . . . . .  9
   8.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 10
       8.1.  Content-Type Registration for
             'application/im-iscomposing+xml' . . . . . . . . . . . . 10
       8.2.  URN Sub-Namespace Registration for
             'urn:ietf:params:xml:ns:im-iscomposing'  . . . . . . . . 11
       8.3.  Schema Registration  . . . . . . . . . . . . . . . . . . 11
   9.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 11
   10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 12
       10.1. Normative References . . . . . . . . . . . . . . . . . . 12
       10.2. Informative References . . . . . . . . . . . . . . . . . 12
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 12
   Full Copyright Statement . . . . . . . . . . . . . . . . . . . . . 13

1.  Introduction

   By definition, instant messaging (IM) is message based:  A user
   composes a message by, for example, typing, speaking, or recording a
   video clip.  This message is then sent to one or more recipients.
   Unlike email, instant messaging is often conversational, so the other
   party is waiting for a response.  If no response is forthcoming, a
   participant in an instant messaging conversation may erroneously
   assume either that the communication partner has left or that it is
   her turn to type again, leading to two messages "crossing on the
   wire".

   To avoid this uncertainty, a number of commercial instant messaging
   systems feature an "is-typing" indication sent as soon as one party
   starts typing a message.  In this document, we describe a generalized
   version of this indication, called the isComposing status message.
   As described in Section 3 in more detail, a status message is
   delivered to the instant message recipient in the same manner as are
   the messages themselves.  The isComposing status messages can
   announce the composition of any media type, not just text.  For



Schulzrinne                 Standards Track                     [Page 2]

RFC 3994                      isComposing                   January 2005


   example, it might be used if somebody is recording an audio or video
   clip.  In addition, it can be extended to convey other instant
   messaging user states in the future.  Below, we will call these
   messages "status messages" for brevity.

   The status messages are carried as XML, as instances of the XML
   schema defined in Section 6, and labeled as an
   application/im-iscomposing+xml content type.

   These status messages can be considered somewhat analogous to the
   comfort noise packets that are transmitted in silence-suppressed
   interactive voice conversations.

      Events and extensions to presence, such as PIDF [6], were also
      considered but have a number of disadvantages.  They add more
      overhead, as an explicit and periodic subscription is required.
      For page-mode delivery, subscribing to the right user agent and
      set of messages may not be easy.  An in-band, message-based
      mechanism is also easier to translate across heterogeneous instant
      messaging systems.

   The mechanism described here aims to satisfy the requirements in [7].

2.  Terminology and Conventions

   This memo makes use of the vocabulary defined in the IMPP Model
   document [1].  In this memo, terms such as CLOSED, INSTANT MESSAGE,
   OPEN, PRESENCE SERVICE, PRESENTITY, WATCHER, and WATCHER USER AGENT
   are used with the same meaning defined therein.  The key words MUST,
   MUST NOT, REQUIRED, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and
   OPTIONAL in this document are to be interpreted as described in BCP
   14, RFC 2119 [2].

   This document discusses two kinds of messages; namely, the instant
   message (IM) conveying actual content between two or more users
   engaged in an instant messaging conversation, and the status message,
   described in this document, which indicates the current composing
   status to the other participants in a conversation.  We use the terms
   "content message" and "status message" for these two message types.

3.  Description

3.1.  Overview

   We model the user of an instant messaging system as being in one of
   several states, in this document limited to "idle" and "active".  By
   default, the user is in "idle" state, both before starting to compose
   a message and after sending it.



Schulzrinne                 Standards Track                     [Page 3]

RFC 3994                      isComposing                   January 2005


3.2.  Message Composer Behavior

   Only the instant messaging user agent actively composing a content
   message generates status messages indicating the current state.  When
   the user starts composing a content message (the actual instant
   message), the state becomes "active", and an isComposing status
   message containing a <state> element indicating "active" is sent to
   the recipient of the content message being composed.  As long as the
   user continues to produce instant message content, the user remains
   in state "active".

   There are two sender timers: the active-state refresh interval, and
   the idle time-out interval.

   The active-state refresh interval determines how often "active" state
   messages are sent while the composer remains in "active" state.  The
   interval is chosen by the composing user and indicated in the
   <refresh> element in the status message, expressed in integer
   seconds.  Each transmission of the isComposing message resets the
   timer.  The interval SHOULD be no shorter than 60 seconds.  A message
   composer MAY decide not to send active-state refresh messages at all.
   This is indicated by omitting the refresh interval; this will cause
   the receiver to assume that it has gone idle after 120 seconds.  (In
   most cases, the content message will have been sent by then.)  No
   refresh messages are sent in "idle" state.

      The active-state refresh mechanism deals with the case in which
      the user logs off or the application crashes before the content
      message is completed.

   If the user stops composing for more than a configured time interval,
   the idle timeout, the state transitions to "idle", and an "idle"
   status message is sent.  If the user starts composing again while in
   "idle" state, the state transitions to "active", and the
   corresponding status message is sent.  Unless otherwise configured by
   the user, the idle timeout SHOULD have a default value of 15 seconds.

   If a content message is sent before the idle threshold expires, no
   "idle" state indication is needed.  Thus, in most cases, only one
   status message is generated for each content message.  In any event,
   the message rate is limited to one status message per refresh
   threshold interval.









Schulzrinne                 Standards Track                     [Page 4]

RFC 3994                      isComposing                   January 2005


   The state transitions are shown in Figure 1.

                      +-------------+
                      |+-----------+|
                      ||           ||
               +------>|   idle    |<--------+
               |      ||           ||        |
               |      |+-----------+|        |
               |      +------+------+        |
   content     |             |               | idle timeout
   msg. sent   |             | composing     | w/o activity
   ----------- |             | ------------- | ------------------
    --         |             | "active" msg. | "idle" status msg.
               |             |               |
               |      +------V------+        |
               |      |             |        |
               |      |             |        |
               |      |             |        |
               +------+   active    +--------+
                      |             |
                      |             |------+
                      +------^------+      | refresh timeout
                             |             | --------------------
                             |             | "active" status msg.
                             +-------------+

                   Figure 1. Sender State Diagram

3.3.  Status Message Receiver Behavior

   The status message receiver uses the status messages to determine the
   state of the content message sender.  If the most recent "active"
   status message contained a <refresh> value, the refresh time-out is
   set to that value; otherwise, it is 120 seconds.  The state at the
   receiver transitions from "active" to "idle" under three conditions:

      1.  A status message with status "idle" is received.
      2.  A content message is received.
      3.  The refresh interval expires.

   Receivers MUST be able to handle multiple consecutive isComposing
   messages with "active" state, regardless of the refresh interval.









Schulzrinne                 Standards Track                     [Page 5]

RFC 3994                      isComposing                   January 2005


   The state transitions are shown in Figure 2.

                           +-------------+
                           |+-----------+|
                           ||           ||
                    +------>|   idle    |<------+
                    |      ||           ||      |
                    |      |+-----------+|      |
                    |      +------+------+      |
                    |             |             |
       "idle" recd. |             |"active" msg.| refresh timeout
   or content recd. |             |             | or 120s
                    |             |             |
                    |      +------V------+      |
                    |      |             |      |
                    |      |             |      |
                    |      |             |      |
                    +------+   active    +------+
                           |             |
                           |             |
                           +-------------+

                 Figure 2. Receiver State Diagram

3.4.  Message Content

   We briefly describe the message content to summarize the discussion
   above.  This description is non-normative.  The schema (Section 6)
   should be consulted for the normative message format.

   The message consists of an <isComposing> element, with a mandatory
   <state> element indicating the composer state; i.e., idle or active.
   In addition, there are three optional elements: <lastactive>,
   indicating the time of last activity; <contenttype>, the type of
   message being created; and <refresh>, the time interval after which
   the receiver can expect an update from the composer.  Details are
   given in the following section.

3.5.  Additional Status Information

   The status message contains additional optional elements to provide
   further details on the composition activity.  Any of these can appear
   in both "active" and "idle" state messages.








Schulzrinne                 Standards Track                     [Page 6]

RFC 3994                      isComposing                   January 2005


   The optional <lastactive> element describes the absolute time when
   the user last added or edited content.

   The optional <contenttype> element indicates the type of medium in
   which the messaging terminal is currently composing.  It can contain
   either just a MIME media type, such as "audio" or "text", or a media
   type and subtype, such as "text/html".  It is best understood as a
   hint to the user, not a guarantee, that the actual content message
   will indeed contain only the content indicated.  It allows the human
   recipient to be prepared for the likely message format.

   To further describe message composition, the XML schema or the set of
   allowable state names can be extended in future documents.
   Recipients of status messages implementing this specification without
   extensions MUST treat state tokens other than "idle" and "active" as
   "idle".  Additional elements MUST use their own namespaces and MUST
   be designed so that receivers can safely ignore such extensions.
   Adding elements to the namespace defined in this document is not
   permitted.

   The isComposing status message MAY be carried in CPIM messages [3].

      Such a wrapper is particularly useful if messages are relayed by a
      conference server since the CPIM message maintains the identity of
      the original composer.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
另类的小说在线视频另类成人小视频在线 | 日韩欧美成人午夜| 久久这里只有精品首页| 亚洲丝袜自拍清纯另类| 日韩福利视频网| 色综合一区二区| 久久久噜噜噜久久中文字幕色伊伊| 亚洲激情中文1区| 国产一区二区精品久久| 日本伦理一区二区| 国产精品乱码妇女bbbb| 蜜桃av噜噜一区| 欧美精品少妇一区二区三区| 国产精品久久久久久久午夜片 | 欧美一区二区三区思思人| 国产精品久久久久久久午夜片| 久久97超碰色| 欧美一区二区大片| 婷婷一区二区三区| 在线观看免费亚洲| 亚洲免费在线电影| 99久精品国产| 18涩涩午夜精品.www| 国产精品一区二区久激情瑜伽| 日韩欧美国产综合一区 | 国产精品国模大尺度视频| 激情小说亚洲一区| 日韩欧美你懂的| 日韩二区三区在线观看| 精品视频一区二区三区免费| 亚洲欧美一区二区三区国产精品| 国产精品 日产精品 欧美精品| 久久久久久久久久看片| 经典三级一区二区| 欧美精品一区二区三区在线 | 91麻豆精品国产91久久久更新时间| 亚洲激情综合网| 欧美性大战久久| 亚洲午夜羞羞片| 在线观看91av| 久久精品国产亚洲aⅴ| 精品国产一区二区三区不卡| 久久99久久久久| 久久久久久综合| 高清成人免费视频| 亚洲欧洲综合另类| 欧美日韩在线不卡| 麻豆国产精品777777在线| 久久丝袜美腿综合| 99综合电影在线视频| 亚洲精品日日夜夜| 欧美欧美欧美欧美| 国产在线播放一区三区四| 欧美激情自拍偷拍| 91免费版pro下载短视频| 一区二区三区.www| 日韩欧美国产一区二区三区| 国产一区二区精品久久99| 国产精品天天看| 欧美日韩一区国产| 国产资源精品在线观看| 亚洲色图20p| 91精品国产麻豆国产自产在线| 国产最新精品免费| 亚洲精品成人在线| 久久综合视频网| 99视频超级精品| 奇米综合一区二区三区精品视频| 国产午夜精品理论片a级大结局| 99国产精品视频免费观看| 丝袜亚洲另类欧美| 国产精品你懂的在线欣赏| 欧美主播一区二区三区美女| 美女脱光内衣内裤视频久久网站 | 成人18精品视频| 日本午夜一区二区| 国产精品乱码人人做人人爱| 91麻豆精品国产自产在线观看一区 | 欧美视频在线一区| 国产黄色精品网站| 首页国产丝袜综合| 亚洲欧美日韩成人高清在线一区| 777亚洲妇女| av在线一区二区三区| 精品一区二区久久| 亚洲mv大片欧洲mv大片精品| 国产无人区一区二区三区| 69精品人人人人| 91老师片黄在线观看| 国产剧情在线观看一区二区 | 亚洲人吸女人奶水| 日韩免费电影网站| 欧美精品一二三区| 欧美日韩一本到| 99综合影院在线| 国产东北露脸精品视频| 奇米影视一区二区三区小说| 亚洲卡通动漫在线| 日本一区二区成人| 日本一二三不卡| 精品国产a毛片| 欧美一区二区三区性视频| 欧美在线影院一区二区| 99久久国产免费看| 成人免费看的视频| 国产成人免费网站| 国产在线播放一区三区四| 日韩电影在线一区二区三区| 天天综合日日夜夜精品| 亚洲小说欧美激情另类| 亚洲免费观看高清在线观看| 国产欧美一区二区精品婷婷| 亚洲精品一区二区三区影院| 91精品黄色片免费大全| 在线播放91灌醉迷j高跟美女| 在线观看精品一区| 欧美丝袜自拍制服另类| 在线观看免费成人| 欧美日韩aaaaaa| 91精品国产91综合久久蜜臀| 欧美日韩精品综合在线| 欧美一区二区视频在线观看2022| 欧美视频你懂的| 欧美精品自拍偷拍动漫精品| 欧美精品一卡二卡| 欧美成人三级在线| 久久久久久久精| 日韩码欧中文字| 亚洲国产一区二区视频| 热久久国产精品| 国产乱一区二区| 不卡的看片网站| 欧美在线制服丝袜| 日韩视频免费观看高清完整版在线观看| 欧美日韩激情一区| 精品电影一区二区| 国产精品三级av在线播放| 亚洲视频每日更新| 无吗不卡中文字幕| 紧缚捆绑精品一区二区| 懂色av一区二区夜夜嗨| 日本道色综合久久| 日韩美女在线视频 | 国产精品无人区| 亚洲一区二区三区自拍| 久久爱另类一区二区小说| 成人性视频网站| 欧美日韩在线电影| 国产欧美日本一区视频| 一区二区三区欧美视频| 久久99在线观看| 色香蕉久久蜜桃| 日韩精品一区二区三区蜜臀| 中文字幕亚洲欧美在线不卡| 亚洲韩国一区二区三区| 国产精品一区二区久久精品爱涩| 色婷婷久久99综合精品jk白丝 | 欧美日韩精品系列| 国产欧美日韩综合| 香蕉久久夜色精品国产使用方法 | 精品一区二区在线播放| 99久久精品国产一区| 91精品国产综合久久久久久久| 久久久精品中文字幕麻豆发布| 亚洲色图20p| 国产成人啪免费观看软件| 欧美日本韩国一区| 亚洲图片你懂的| 国产乱码精品一区二区三| 91麻豆精品91久久久久同性| 国产精品国产三级国产aⅴ入口| 亚洲h动漫在线| 不卡av在线免费观看| 精品国产自在久精品国产| 一区av在线播放| 成人国产精品视频| 精品欧美一区二区久久| 亚洲一区二区三区精品在线| 成人午夜免费视频| 久久日韩精品一区二区五区| 亚洲福利视频导航| 色丁香久综合在线久综合在线观看| 久久婷婷久久一区二区三区| 奇米综合一区二区三区精品视频| 欧美性生活影院| 一区二区三区四区蜜桃| 99国产麻豆精品| 自拍偷拍亚洲综合| 国产成人av一区二区| 337p粉嫩大胆色噜噜噜噜亚洲| 肉丝袜脚交视频一区二区| 91精品1区2区| 亚洲天堂网中文字| aaa亚洲精品| 中文字幕永久在线不卡| 91色porny| 亚洲人一二三区| 一道本成人在线| 日韩伦理电影网| 在线影院国内精品|