PPSP W. Chen Internet Draft J. Peng Intended status: Informational Y. Zhang China Mobile Expires: April 2011 October 19, 2010 SIP-based Tracker Protocol draft-chen-ppsp-sip-based-tracker-protocol-00.txt Status of this Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. 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." This Internet-Draft will expire on April 19, 2011. Copyright Notice Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English. Chen Expires April 19, 2011 [Page 1] Internet-Draft SIP-based Tracker Protocol October 2010 Abstract This draft introduces a kind of the P2P streaming Tracker Protocol, the SIP-based P2P streaming Tracker Protocol, which utilizes SIP message to realize the functions of Tracker Protocol. Chen, et al. Expires April 19, 2011 [Page 2] Internet-Draft SIP-based Tracker Protocol October 2010 Table of Contents 1. Introduction ................................................ 4 2. Protocol Overview ........................................... 5 2.1. Description of the SIP-based Tracker Protocol ...........5 2.2. MAPPING Methods of Tracker Protocol into SIP Methods.....5 3. Signaling Flows ............................................. 6 3.1. Peer Registration Flow.................................. 6 3.2. Peer De-registration Flow............................... 6 3.3. Join Swarm Flow......................................... 7 3.4. Leave Swarm Flow........................................ 7 3.5. Find Peerlist Flow...................................... 8 3.6. Keep Alive Flow......................................... 8 3.7. Information Report Flow................................. 8 4. IANA Considerations ......................................... 9 5. Open Issues ................................................ 10 6. References ................................................. 10 6.1. Normative References................................... 10 6.2. Informative References................................. 10 Chen, et al. Expires April 19, 2011 [Page 3] Internet-Draft SIP-based Tracker Protocol October 2010 1. Introduction As one of the important protocol components of PPSP, the PPSP Tracker Protocol provides communication between Trackers and Peers, by which Peers report streaming status to the tracker and request candidate lists from the tracker. This draft introduces a kind of the P2P streaming Tracker Protocol, the SIP-based P2P streaming Tracker Protocol, which utilizes SIP message to realize the functions of Tracker Protocol. Section 2 outlines the protocol overview. Section 3 defines the key signaling flows of SIP-based P2P streaming Tracker Protocol. Chen, et al. Expires April 19, 2011 [Page 4] Internet-Draft SIP-based Tracker Protocol October 2010 2. Protocol Overview 2.1. Description of the SIP-based Tracker Protocol SIP-based Tracker Protocol is a kind of tracker protocol realized by SIP protocol, i.e. the PPSP request and response message can be realized or substituted by SIP request and response message, not carried in SIP Message body. 2.2. MAPPING Methods of Tracker Protocol into SIP Methods This section outlines the mapping relations between SIP Request and PPSP Request, shown in Fig.1. +--------------------+----------------------------+ | PPSP Request Method| SIP Request Method | +--------------------+----------------------------+ | CONNECT | Register | | DISCONNECT | Register | | JOIN | Invite | | LEAVE | BYE | | FIND | INFO | | KEEPALIVE | Register | | STAT_QUERY | TBD | | STAT_REPORT | TBD | | JOIN_CHUNK | TBD | +--------------------+----------------------------+ Figure 1 Mapping between SIP Request and PPSP Request Chen, et al. Expires April 19, 2011 [Page 5] Internet-Draft SIP-based Tracker Protocol October 2010 3. Signaling Flows This section defines the key signaling flows. 3.1. Peer Registration Flow After Connect operation completes or a peer registers on the tracker, the peer may send additional requests to the tracker, like to publish content availability, or obtain lists of peers with specific content from the tracker. PPSP Connect operation is realized by SIP Register flow. Peer Tracker | | | | | | | | | SIP Register | |----------------------------------------->| | | | | | SIP 401 Unauthorized | |<-----------------------------------------| | | | | | SIP Register | |----------------------------------------->| | | | | | SIP 200OK | |<-----------------------------------------| | | Figure 2 Peer Registration Flow 3.2. Peer De-registration Flow PPSP DISCONNET operation is realized by SIP REGISTER method. Chen, et al. Expires April 19, 2011 [Page 6] Internet-Draft SIP-based Tracker Protocol October 2010 Peer Tracker | | | | | | | | | SIP Register | |----------------------------------------->| | | | | | | | SIP 200 OK | |<-----------------------------------------| | | Figure 3 Peer De-registration Flow 3.3. Join Swarm Flow PPSP JOIN operation is realized by SIP Invite flow. Peer Tracker | | | | | | | | | SIP Invite | |----------------------------------------->| | | | | | SIP 200 OK | |----------------------------------------->| | | | | | SIP ACK | |<-----------------------------------------| | | Figure 4 Join Swarm Flow 3.4. Leave Swarm Flow PPSP LEAVE operation is realized by SIP Bye flow. Chen, et al. Expires April 19, 2011 [Page 7] Internet-Draft SIP-based Tracker Protocol October 2010 Peer Tracker | | | | | SIP Bye | |----------------------------------------->| | | | | | SIP 200OK | |<-----------------------------------------| | | Figure 5 Leave Swarm Flow 3.5. Find Peerlist Flow PPSP FIND operation is realized by SIP Bye flow. Peer Tracker | | | SIP Info | |----------------------------------------->| | | | | | | | SIP 200 OK | |<-----------------------------------------| | | Figure 6 Find Peerlist Flow 3.6. Keep Alive Flow PPSP KEEPALIVE operation is realized by SIP Register flow, the same as Fig.2. 3.7. Information Report Flow TBD Chen, et al. Expires April 19, 2011 [Page 8] Internet-Draft SIP-based Tracker Protocol October 2010 4. IANA Considerations There are no IANA considerations associated to this memo. Chen, et al. Expires April 19, 2011 [Page 9] Internet-Draft SIP-based Tracker Protocol October 2010 5. Open Issues TBD 6. References 6.1. Normative References [1] Gu, Y., Bryan, D., Zhang, Y., and H. Liao, "PPSP Tracker Protocol", March 2010, . 6.2. Informative References Author's Addresses Wei Chen China Mobile Unit 2, 28 Xuanwumenxi Ave, Xuanwu District, Beijing 100053, China Email: chenweiyj@chinamobile.com Jin Peng China Mobile Unit 2, 28 Xuanwumenxi Ave, Xuanwu District, Beijing 100053, China Email: pengjin@chinamobile.com Yunfei Zhang China Mobile Unit 2, 28 Xuanwumenxi Ave, Xuanwu District, Beijing 100053, China Email: zhangyunfei@chinamobile.com Chen, et al. Expires April 19, 2011 [Page 10]