SMPTE RDD 38-2016 Networked Device Control Protocol - Message Data Structure and Method of Communication.pdf
《SMPTE RDD 38-2016 Networked Device Control Protocol - Message Data Structure and Method of Communication.pdf》由会员分享,可在线阅读,更多相关《SMPTE RDD 38-2016 Networked Device Control Protocol - Message Data Structure and Method of Communication.pdf(31页珍藏版)》请在麦多课文档分享上搜索。
1、 SMPTE RDD 38:2016 SMPTE REGISTERED DISCLOSURE DOCUMENT Networked Device Control Protocol Message Data Structure and Method of Communication Page 1 of 31 pages The attached document is a Registered Disclosure Document prepared by the proponent identified below. It has been examined by the appropriat
2、e SMPTE Technology Committee and is believed to contain adequate information to satisfy the objectives defined in the Scope, and to be technically consistent. This document is NOT a Standard, Recommended Practice or Engineering Guideline, and does NOT imply a finding or representation of the Society
3、. Errors in this document should be reported to the proponent identified below, with a copy to engsmpte.org. All other inquiries in respect of this document, including inquiries as to intellectual property requirements that may be attached to use of the disclosed technology, should be addressed to t
4、he proponent identified below. Proponent contact information: Satoshi Katsuo Sony Corporation 4-14-1 Asahi-cho, Atsugi Kanagawa, 243-0014 Japan Email: Satoshi.K Copyright 2016 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 3 Barker Avenue, White Plains, NY 10601 (914) 761-1100 Approved Ju
5、ne 30, 2016 SMPTE RDD 38:2016 Page 2 of 31 pages Table of Contents Page Introduction 3 1 Scope 3 2 Related Documents and URLs . 3 3 Terms and Definitions . 4 3.1 Big-Endian Byte Rrder . 4 3.2 Deserialization . 4 3.3 Least Significant Byte (LSB) 4 3.4 Most Significant Byte (MSB) 4 3.5 Serialization .
6、 4 4 Serialized Object Formats 4 4.1 General 4 4.2 Nil . 6 4.3 Boolean 6 4.4 Integer 6 4.5 IEEE 754 Floating Point Numbers . 10 4.6 UTF-8 String 11 4.7 Binary Data 13 4.8 Array 14 4.9 Map 15 4.10 User Defined Types . 17 5 Message Formats . 21 5.1 General 21 5.2 Request Message 21 5.3 Response Messag
7、e . 23 5.4 Notify Message 25 6 Message Sequences 28 6.1 General 28 6.2 Remote Procedure Call . 28 6.3 Notification . 28 7 Transport Protocols 29 7.1 General 29 7.2 WebSocket 29 7.3 TLS 29 7.4 TCP 29 8 Security . 30 8.1 General 30 8.2 User Authentication . 30 8.3 Client Authentication 30 8.4 Encrypti
8、on of Communication Path . 30 Annex A Reference Implementation (Informative) 31 SMPTE RDD 38:2016 Page 3 of 31 pages Introduction The phrase “IP control” covers a wide range of control functions via IP networks, from business level control (control at workflow level) to device level control (control
9、 at function level). As for the latter, it has now become common practice to control a product using a variety of controller types including portable computers, smartphones and/or tablets via wireless IP networks. In such situations, even in an IP network environment there is a requirement to realiz
10、e high speed control/response equivalent to using a conventional RS422/9-pin control device. This RDD provides a lightweight and efficient control protocol specification for this purpose. Specifically, it conforms to MessagePack and MessagePack RPC specifications, with some added definitions require
11、d for device control. These include an efficient method of message communication, and use of available transport protocols that take security into account. See Annex A for a URL to an open source reference implementation. 1 Scope This RDD provides the following specification for a protocol layer to
12、control networked devices efficiently in an IP network environment. Serialized object format Message format Message sequence Transport protocol Security 2 Related Documents and URLs IETF RFC 2617, HTTP Authentication: Basic and Digest Access Authentication IETF RFC 3629, UTF-8, a transformation form
13、at of ISO 10646 IETF RFC 5246, The Transport Layer Security (TLS) Protocol Version 1.2 IETF RFC 6455, The WebSocket Protocol The Unicode Consortium, The Unicode Standard IEEE 754, Standard for Floating Point Arithmetic MessagePack, http:/msgpack.org/ MessagePack RPC, https:/ SMPTE RDD 38:2016 Page 4
14、 of 31 pages 3 Terms and Definitions For the purposes of this document, the following terms and definitions apply. 3.1 Big-endian byte order The most significant byte of words is stored at a particular memory address and subsequent bytes are stored in the following higher memory addresses, the least
15、 significant byte thus being stored at the highest memory address. It is also called network order in the IETF RFC documents. 3.2 Deserialization The process of translating a series of bytes into application data structures or object states. 3.3 Least Significant Byte (LSB) The byte in that position
16、 of a multi-byte number which has the least potential value. 3.4 Most Significant Byte (MSB) The byte in that position of a multi-byte number which has the greatest potential value. 3.5 Serialization The process of translating data structures or object state into a series of bytes that can be stored
17、 and reconstructed later in the same or another computer environment. 4 Serialized Object Formats 4.1 General This section describes data formats of the serialized object which have an arbitrary type by a binary string. Since serialized data has both type information and a value, an application obje
18、ct can be reconstructed from it. Table 1 shows the defined types in serialized object formats. In addition to basic types defined by most programming languages, a variable length binary/string data type and container types are also defined. In order to minimize the post-serialization data size, the
19、type can be set by the actual value at the time of serialization instead of strictly serializing the type as declared by the programming language. For example, even if a type is declared as 64-bit unsigned integer by the programming language, if the value is 250, the data will be serialized into an
20、8-bit unsigned integer. As a result, the post-serialization data size is 7 bytes shorter than with serialization into a 64-bit unsigned integer. An open source reference implementation described in Annex A supports all data formats defined in this section, and also has the size reduction capability
21、described above. In the following sections, bits in a byte are labeled 7 through 0. The most significant bit is bit number 7, and the least significant bit is bit number 0. SMPTE RDD 38:2016 Page 5 of 31 pages Table 1 Defined data types in serialized object formats Type First byte (in binary) First
22、byte (in hex) Details 7-bit positive integer 0xxxxxxx 0x00 - 0x7f See 4.4.2. map in 4-bit object number 1000xxxx 0x80 - 0x8f See 4.9.2. array in 4-bit object number 1001xxxx 0x90 - 0x9f See 4.8.2. UTF-8 string in 5-bit length 101xxxxx 0xa0 - 0xbf See 4.6.2. Nil 11000000 0xc0 See 4.2. (never used) 11
23、000001 0xc1 False 11000010 0xc2 See 4.3.2. True 11000011 0xc3 See 4.3.3. binary in 8-bit length 11000100 0xc4 See 4.7.2. binary in 16-bit length 11000101 0xc5 See 4.7.3. binary in 32-bit length 11000110 0xc6 See 4.7.4. user defined type in 8-bit length 11000111 0xc7 See 4.10.2. user defined type in
24、16-bit length 11001000 0xc8 See 4.10.3. user defined type in 32-bit length 11001001 0xc9 See 4.10.4. IEEE 754 single precision floating point number 11001010 0xca See 4.5.2. IEEE 754 double precision floating point number 11001011 0xcb See 4.5.3. 8-bit unsigned integer 11001100 0xcc See 4.4.4. 16-bi
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SMPTERDD382016NETWORKEDDEVICECONTROLPROTOCOLMESSAGEDATASTRUCTUREANDMETHODOFCOMMUNICATIONPDF

链接地址:http://www.mydoc123.com/p-1046332.html