欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PDF文档下载
    分享到微信 分享到微博 分享到QQ空间

    SMPTE ST 2032-2-2007 Media Dispatch Protocol (MDP) MDP XML HTTP Mapping Specification.pdf

    • 资源ID:1046659       资源大小:180.83KB        全文页数:9页
    • 资源格式: PDF        下载积分:10000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要10000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    SMPTE ST 2032-2-2007 Media Dispatch Protocol (MDP) MDP XML HTTP Mapping Specification.pdf

    1、 Copyright 2007 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 595 W. Hartsdale Ave., White Plains, NY 10607 (914) 761-1100 Approved December 14, 2007 Table of Contents Page Foreword . 2 Introduction . 2 1 Scope 3 2 Conformance Notation 3 3 Normative References 3 4 Acronyms and Definition

    2、s . 4 5 Background (Informative). 4 6 Mapping of Commands and Queries 4 7 Mapping of Confirmations and Replies. 4 8 Mapping of Data Structures 4 8.1 Elements . 4 8.2 Properties 5 8.3 Lists. 5 8.4 Character Encoding 5 8.5 Namespace. 5 8.6 Well-formedness . 5 8.7 Validity. 5 9 Security . 5 10 protocol

    3、 Administrative Register 6 Annex A Examples 7 A.1 Command 7 A.2 Query 7 A.3 Confirmation . 8 A.4 Reply. 8 A.5 protocol Register 9 Page 1 of 9 pages SMPTE 2032-2-2007SMPTE STANDARD Media Dispatch Protocol (MDP) MDP/XML/HTTP Mapping Specification SMPTE 2032-2-2007 Page 2 of 9 pages Foreword SMPTE (the

    4、 Society of Motion Picture and Television Engineers) is an internationally-recognized standards developing organization. Headquartered and incorporated in the United States of America, SMPTE has members in over 80 countries on six continents. SMPTEs Engineering Documents, including Standards, Recomm

    5、ended Practices and Engineering Guidelines, are prepared by SMPTEs Technology Committees. Participation in these Committees is open to all with a bona fide interest in their work. SMPTE cooperates closely with other standards-developing organizations, including ISO, IEC and ITU. SMPTE Engineering Do

    6、cuments are drafted in accordance with the rules given in Part XIII of its Administrative Practices. SMPTE Standard 2032-2 was prepared by Technology Committee S22 on Committee on Television Systems Technology. Introduction This section is entirely informative and does not form an integral part of t

    7、his document. The Media Dispatch Protocol (MDP) is a means of orchestrating the delivery of media files over IP networks. It defines a standard mechanism for implementations to initiate a delivery, to negotiate the details of the delivery, to provide information about the progress of the delivery, a

    8、nd to provide a confirmation of the outcome of the delivery. MDP allows organizations to transfer files at agreed times, using agreed transfer protocols, and using an agreed set of secure technologies (where appropriate). However, the protocol is not overly prescriptive in regards to which protocols

    9、 or technologies shall be used; rather it provides a framework which allows organizations to choose those that best suit their own needs. MDP is a multi-part standard: Part 1, the MDP protocol specification, defines the logical messages, data structures and data dictionary of MDP. Part 2, this part,

    10、 defines a representation of the messages and structures defined in Part 1. Part 3, the MDP profile specification, defines subsets of the protocol and rules on the use of these subsets. Part 4, the MDP Engineering Guideline, introduces and describes MDP and how it can be used in particular scenarios

    11、. SMPTE 2032-2-2007 Page 3 of 9 pages 1 Scope This standard defines the mapping of the Media Dispatch Protocol message set and data structures onto HTTP request / response pairs and XML elements. 2 Conformance Notation Normative text is text that describes elements of the design that are indispensab

    12、le or contains the conformance language keywords: “shall“, “should“, or “may“. Informative text is text that is potentially helpful to the user, but not indispensable, and can be removed, changed, or added editorially without affecting interoperability. Informative text does not contain any conforma

    13、nce keywords. All text in this document is, by default, normative, except: the Introduction, any section explicitly labeled as “Informative“ or individual paragraphs that start with “Note:” The keywords “shall“ and “shall not“ indicate requirements strictly to be followed in order to conform to the

    14、document and from which no deviation is permitted. The keywords, “should“ and “should not“ indicate that, among several possibilities, one is recommended as particularly suitable, without mentioning or excluding others; or that a certain course of action is preferred but not necessarily required; or

    15、 that (in the negative form) a certain possibility or course of action is deprecated but not prohibited. The keywords “may“ and “need not“ indicate courses of action permissible within the limits of the document. The keyword “reserved” indicates a provision that is not defined at this time, shall no

    16、t be used, and may be defined in the future. The keyword “forbidden” indicates “reserved” and in addition indicates that the provision will never be defined in the future. A conformant implementation according to this document is one that includes all mandatory provisions (“shall“) and, if implement

    17、ed, all recommended provisions (“should“) as described. A conformant implementation need not implement optional provisions (“may“) and need not implement them as described. 3 Normative References The following standards contain provisions which, through reference in this text, constitute provisions

    18、of this standard. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this standard are encouraged to investigate the possibility of applying the most recent edition of the standards indicated below. SMPTE 2032-1-20

    19、07, Media Dispatch Protocol (MDP) Protocol Specification W3C Extensible Markup Language (XML) 1.1 (Second Edition) W3C XML Schema 1.1 Part 1: Structures W3C XML Schema 1.1 Part 2: Datatypes IETF RFC 1867, Form-Based File Upload in HTML IETF RFC 2279, UTF-8 A Transformation Format of ISO 10646 IETF R

    20、FC 2616, Hypertext Transfer Protocol v1.1 IETF RFC 2818, HTTP Over TLS IETF RFC 3023, XML Media Types SMPTE 2032-2-2007 Page 4 of 9 pages 4 Acronyms and Definitions The full glossary of acronyms and definitions used in the MDP specification is given in the MDP protocol specification (SMPTE 2032-1).

    21、It is not repeated here to avoid any divergence of meaning. 5 Background (Informative) The MDP protocol specification (SMPTE 2032-1) defines the logical messages and data structures that MDP agents can use for orchestration of file-based media deliveries. However, it does not define a representation

    22、 for these. Instead this is specified in a mapping specification; this approach provides more flexibility as it allows new mappings to be adopted as required without the need to modify the basic protocol specification. MDP message exchanges take the form of request-response pairs, and so can be easi

    23、ly mapped to any protocol that provides such a facility. HTTP (RFC 2616) is one such protocol, and this document describes how the abstract MDP request-response pairs are implemented on top of HTTP. It also describes how MDP data structures are represented as XML elements within the HTTP payloads. 6

    24、 Mapping of Commands and Queries A command or query shall be sent as an HTTP v1.1 POST request, as defined in RFC 2616. The request shall have MIME media type multipart/form-data as defined in RFC 1867. The POST request shall have the following HTTP parameters: 1. A messagetype parameter with value

    25、either command or query. 2. A message parameter with value set to the name of the message as defined in SMPTE 2032-1. 3. Zero or more parameters, corresponding to the parameters of the MDP message. The name of each parameter shall correspond to its name in SMPTE 2032-1. The value of the parameter sh

    26、all have the type specified in SMPTE 2032-1. Where this type is specified as element, property or list, the value shall be represented in XML form as specified in section 8 of this standard. HTTP Parameters may appear in any order within the POST request. 7 Mapping of Confirmations and Replies A con

    27、firmation or reply shall be sent as the payload of an HTTP v1.1 200 OK response, as defined in RFC 2616. This payload shall be as specified in the definition of the message in SMPTE 2032-1, and represented in XML form as specified in section 8 of this standard. The response shall have XML media type

    28、 application/xml as defined in RFC 3023. 8 Mapping of Data Structures 8.1 Elements An element shall be represented as an XML element with start- and end-tags set to the element name: . SMPTE 2032-2-2007 Page 5 of 9 pages 8.2 Properties A property shall be represented as an XML element with start- an

    29、d end-tags set to the property name and content set to the property value: value 8.3 Lists A list shall be represented as an XML element with start- and end-tags set to the name of the data structure contained with the list, appended by _list: . . 8.4 Character Encoding All XML shall be encoded with

    30、 UTF-8 as specified in RFC 2279. 8.5 Namespace All elements, lists and properties shall be in the following namespace: http:/www.smpte-ra.org/schemas/2032-2/2007/MDP 8.6 Well-formedness All XML shall be well-formed. The BAD_PAYLOAD reason property shall be used to indicate XML that is not well-forme

    31、d. 8.7 Validity All XML shall be valid according to the MDP/XML/HTTP schema specified on the SMPTE Registration Authority at the following URL: http:/www.smpte-ra.org/schemas/2032-2/2007/MDP/mdp.xsd The schema is specified according to W3C XML Schema 1.1. In the event of conflict between the schema

    32、and normative text in any part of the MDP specification, the normative text shall take priority. The INVALID_PAYLOAD reason property shall be used to indicate XML that is not valid. If an implementation cannot distinguish between badly-formed and invalid XML, then it shall send BAD_PAYLOAD. 9 Securi

    33、ty Messages may be sent using either unsecured HTTP/1.1, or HTTP/1.1 over TLS. Agents supporting this mapping shall support both cases. SMPTE 2032-2-2007 Page 6 of 9 pages Note: This standard does not require agents to adopt any particular mechanism for authenticating each other. Nor does it require

    34、 agents to use any particular key size, or encryption cipher, or any other aspect of TLS. 10 protocol Administrative Register SMPTE Headquarters shall make the protocol Administrative Register available in XML format at the following URL: http:/www.smpte-ra.org/registers/2032-1/2007/MDP/protocol.xml

    35、 The XML in this document shall be in the following namespace: http:/www.smpte-ra.org/schemas/2032-2/2007/MDP/registers The document shall be valid according to the schema specified on the SMPTE Registration Authority at the following URL: http:/www.smpte-ra.org/schemas/2032-2/2007/MDP/registers.xsd

    36、 The document shall have a root XML element propertyregister. This shall contain the following sequence (in the order specified): 1. A name element containing the string “protocol”. 2. An effectivedate element of type xs:dateTime containing the Effective Date of the register. 3. An entry_list elemen

    37、t containing zero or more entry elements. Each entry element shall contain the following sequence (in the order specified): 1. A value element of type xs:string containing the value of the protocol property. 2. A description element of type xs:string containing the brief description of the protocol.

    38、 3. A reference element of type xs:string containing the reference to the full description or specification. Note: A section of the XML register document is shown in A.5 for information. SMPTE 2032-2-2007 Page 7 of 9 pages Annex A (Informative) Examples A.1 Command The following shows an example of

    39、an HTTP POST payload in which a cmd_sendingmanifest command is sent using the MDP/XML/HTTP mapping: POST http:/ HTTP/1.1 Content-Type: multipart/form-data; boundary=xYzZY (other HTTP headers not shown) -xYzZY Content-Disposition: form-data; name=“messagetype“ command -xYzZY Content-Disposition: form

    40、-data; name=“message“ cmd_sendingmanifest -xYzZY Content-Disposition: form-data; name=“agent“ http:/ -xYzZY Content-Disposition: form-data; name=“txorg“ -xYzZY Content-Disposition: form-data; name=“rxorg“ -xYzZY Content-Disposition: form-data; name=“manifest“ 0123456789abcdef P0123456 . -xYzZY-

    41、A.2 Query The following shows an example of an HTTP POST payload in which a qry_requestmanifest query is sent using the MDP/XML/HTTP mapping: POST http:/ HTTP/1.1 Content-Type: multipart/form-data; boundary=aBcDE (other HTTP headers deleted) -aBcDE Content-Disposition: form-data; name=“messagetype“

    42、query -aBcDE Content-Disposition: form-data; name=“message“ SMPTE 2032-2-2007 Page 8 of 9 pages qry_requestmanifest -aBcDE Content-Disposition: form-data; name=“agent“ http:/ -aBcDE Content-Disposition: form-data; name=“txorg“ -aBcDE Content-Disposition: form-data; name=“rxorg“ -aBcDE Content-Disp

    43、osition: form-data; name=“projectid“ P0123456 -aBcDE Content-Disposition: form-data; name=“transactionid“ 0123456789abcdef -aBcDE- A.3 Confirmation The following shows an example of an HTTP response payload in which a cnf_ok confirmation is sent using the MDP/XML/HTTP mapping: HTTP/1.1 200 OK Conten

    44、t-Type: application/xml; charset=utf-8 (other HTTP headers deleted) A.4 Reply The following shows an example of an HTTP response payload in which a rpl_manifest reply is sent using the MDP/XML/HTTP mapping (in response to a qry_requestmanifest): HTTP/1.1 200 OK Content-Type: application/xml; charset

    45、=utf-8 (other HTTP headers deleted) 0123456789abcdef P0123456 . SMPTE 2032-2-2007 Page 9 of 9 pages The following shows an example of an HTTP response payload in which a cnf_error confirmation is sent using the MDP/XML/HTTP mapping. An rpl_error reply is similar: HTTP/1.0 200 OK Content-Type: appl

    46、ication/xml; charset=utf-8 (other HTTP headers deleted) INVALID_ID transactionid was invalid A.5 protocol register The following is a section from the Administrative Register for the protocol property, represented as defined in section 10. protocol 2007-07-06 HTTP HTTP/1.1 www.ietf.org/rfc/rfc2616.txt HTTP/TLS HTTP/1.1 over TLS www.ietf.org/rfc/rfc2818.txt FTP File Transfer Protocol www.ietf.org/rfc/rfc959.txt .


    注意事项

    本文(SMPTE ST 2032-2-2007 Media Dispatch Protocol (MDP) MDP XML HTTP Mapping Specification.pdf)为本站会员(deputyduring120)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开