没有合适的资源?快使用搜索试试~ 我知道了~
UPnP-arch-DeviceArchitecture-v1.1.pdf
4星 · 超过85%的资源 需积分: 10 14 下载量 164 浏览量
2014-03-14
16:33:18
上传
评论
收藏 1.05MB PDF 举报
温馨提示
试读
136页
UPnP arch Device architecture v1.1.pdf 2008年的1.1版本。
资源推荐
资源详情
资源评论
UPnP™ Device Architecture 1.1
Document Revision Date: October 15, 2008
© 2008 Contributing Members of the UPnP Forum. All rights reserved. See
http://www.upnp.org/info/cpyright.asp for more information.
Authors* Company
Alan Presser AllegroSoft
Lee Farrell Canon
Devon Kemp Canon
William Lupton Conexant
Shinichi Tsuruyama Epson
Shivaun Albright HP
Andrew Donoho IBM
John Ritchie Intel
Bryan Roe Intel
Mark Walker Intel
Toby Nixon Microsoft
Colleen Evans Microsoft
Henry Rawas Microsoft
Trevor Freeman Microsoft
Joonyoung Park Motorola
Cathy Chan Nokia
Franklin Reynolds Nokia
Jose Costa-Requena Nokia
Yinghua Ye Nokia
Tom McGee Philips
Geert Knapen Philips
Maarten Bodlaender Philips
Jarno Guidi Philips
Lex Heerink Philips
John Gildred Pioneer
Alan Messer Samsung
YoonSoo Kim Samsung
Markus Wischy Siemens
Andrew Fiddian-Green Siemens
Bruce Fairman Sony
Jonathan Tourzan Sony
John Fuller Sony
*Note: The UPnP Forum in no way guarantees the accuracy or completeness of this author list and in no way implies any
rights for or support from those members listed. This list is not the specifications’ contributor list that is kept on the UPnP
Forum’s website.
i
Table of Contents
List of Tables ................................................................................................... v
List of Figures ................................................................................................. vi
i Introduction ............................................................................................... 1
i.1 What is UPnP™ Technology? ........................................................................ 1
i.2 UPnP™ Forum ......................................................................................... 1
i.3 In this document ..................................................................................... 2
i.4 Audience ............................................................................................... 5
i.5 Conformance terminology .......................................................................... 5
i.6 Acronyms .............................................................................................. 6
i.7 Glossary ................................................................................................ 6
i.8 References and resources ........................................................................... 7
0 Addressing ................................................................................................. 8
0.1 Determining whether to use Auto-IP .............................................................. 8
0.2 Choosing an address ................................................................................. 8
0.3 Testing the address .................................................................................. 9
0.4 Forwarding rules .................................................................................... 10
0.5 Periodic checking for dynamic address availability ........................................... 10
0.6 Device naming and DNS interaction ............................................................. 10
0.7 Name to IP address resolution ................................................................... 11
0.8 References .......................................................................................... 11
1 Discovery ................................................................................................. 12
1.1 SSDP message format .............................................................................. 15
1.1.1 SSDP Start-line ................................................................................. 16
1.1.2 SSDP message header fields ................................................................. 16
1.1.3 SSDP header field extensions ................................................................ 16
1.1.4 UUID format and RECOMMENDED generation algorithms ................................ 17
1.1.5 SSDP processing rules ......................................................................... 17
1.2 Advertisement ...................................................................................... 17
1.2.1 Advertisement protocols and standards ................................................... 18
1.2.2 Device available - NOTIFY with ssdp:alive ................................................ 19
1.2.3 Device unavailable -- NOTIFY with ssdp:byebye.......................................... 25
1.2.4 Device Update – NOTIFY with ssdp:update ................................................ 27
1.3 Search ................................................................................................ 29
1.3.1 Search protocols and standards ............................................................. 29
1.3.2 Search request with M-SEARCH ............................................................. 30
1.3.3 Search response ............................................................................... 33
1.4 References .......................................................................................... 36
2 Description .............................................................................................. 37
2.1 Generic requirements on HTTP usage ........................................................... 40
2.2 Generic requirements on XML usage ............................................................ 43
2.3 Device description ................................................................................. 43
ii
2.4 UPnP Device Template ............................................................................ 48
2.5 Service description ................................................................................. 48
2.5.1 Defining and processing extended data types ............................................ 55
2.5.2 String equivalents of extended data types ................................................ 57
2.5.3 Generic requirements ........................................................................ 58
2.5.4 Ordering of Elements ......................................................................... 58
2.5.5 Versioning ...................................................................................... 59
2.6 UPnP Service Template ............................................................................ 59
2.7 Non-standard vendor extensions and limitations .............................................. 60
2.7.1 Placement of Additional Elements and Attributes ....................................... 61
2.8 UPnP Device Schema ............................................................................... 61
2.9 UPnP Service Schema .............................................................................. 62
2.10 UPnP Datatype Schema ............................................................................ 62
2.11 Retrieving a description using HTTP ............................................................ 62
2.12 References .......................................................................................... 65
3 Control ................................................................................................... 67
3.1 Control protocols ................................................................................... 69
3.1.1 SOAP Profile .................................................................................... 69
3.2 Actions ............................................................................................... 73
3.2.1 Action invocation .............................................................................. 73
3.2.2 Action Response ............................................................................... 76
3.2.3 UPnP Action Schema .......................................................................... 79
3.2.4 Recommendations and additional requirements ......................................... 79
3.2.5 Action error response ......................................................................... 79
3.2.6 UPnP Error Schema ............................................................................ 82
3.3 Query for variable .................................................................................. 83
3.4 References .......................................................................................... 83
4 Eventing .................................................................................................. 84
4.1 Unicast eventing .................................................................................... 85
4.1.1 Subscription .................................................................................... 86
4.1.2 SUBSCRIBE with NT and CALLBACK ......................................................... 88
4.1.3 Renewing a subscription with SUBSCRIBE with SID ....................................... 91
4.1.4 Canceling a subscription with UNSUBSCRIBE .............................................. 93
4.2 Multicast Eventing .................................................................................. 95
4.3 Event messages ..................................................................................... 96
4.3.1 Error Cases ..................................................................................... 97
4.3.2 Unicast eventing: Event messages: NOTIFY ............................................... 97
4.3.3 Multicast Eventing: Event messages: NOTIFY ............................................ 101
4.4 UPnP Event Schema ............................................................................... 104
4.5 Augmenting the UPnP Device and Service Schemas ......................................... 104
4.6 References ......................................................................................... 105
5 Presentation ........................................................................................... 106
5.1 References ......................................................................................... 107
Appendix A. IP Version 6 Support ................................................................... 109
iii
A.1 Introduction ........................................................................................ 109
A.2 General Principles ................................................................................. 109
A.2.1 Device operation ............................................................................. 110
A.2.2 Control point operation ..................................................................... 110
A.3 Addressing .......................................................................................... 110
A.3.1 Summary of boot/startup process ......................................................... 111
A.3.2 Short overview of protocol specified by RFC 2462 ...................................... 111
A.4 Discovery ........................................................................................... 112
A.4.1 Advertisement ................................................................................ 113
A.4.2 Advertisement: Device unavailable ....................................................... 114
A.4.3 Advertisement: Device update ............................................................. 114
A.4.4 Search .......................................................................................... 114
A.4.5 Search response .............................................................................. 115
A.5 Description ......................................................................................... 115
A.6 Control .............................................................................................. 115
A.7 Eventing ............................................................................................ 115
A.8 Presentation ....................................................................................... 116
A.9 References ......................................................................................... 116
Appendix B. Schemas .................................................................................. 117
B.1 UPnP Device Schema .............................................................................. 117
B.2 UPnP Service Schema ............................................................................. 122
B.3 UPnP Control Schema ............................................................................. 126
B.4 UPnP Error Schema ................................................................................ 127
B.5 UPnP Event Schema ............................................................................... 128
B.6 Schema references ................................................................................ 129
iv
剩余135页未读,继续阅读
资源评论
- 错了时光的戏子2014-04-16正好在研究 有用
- seagull_ou2019-06-04正在学习openwrt上的upnp交互,文章有较大参考价值。
等风来不如迎风去
- 粉丝: 2035
- 资源: 139
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功