1、Information technology UPnP Device Architecture Part 1-2:UPnP Device Architecture Version 2.0Technologies de linformation Architecture de dispositif UPnP Partie 1-2:Architecture de dispositif UPnP,version 2.0INTERNATIONAL STANDARDISO/IEC29341-1-2Reference numberISO/IEC 29341-1-2:2017(E)First edition
2、2017-06 ISO/IEC 2017 ii ISO/IEC 2017 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2017,Published in SwitzerlandAll rights reserved.Unless otherwise specified,no part of this publication may be reproduced or utilized otherwise in any form or by any means,electronic or mechanical,including
3、photocopying,or posting on the internet or an intranet,without prior written permission.Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester.ISO copyright officeCh.de Blandonnet 8 CP 401CH-1214 Vernier,Geneva,SwitzerlandTel.+41 22 749 0
4、1 11Fax+41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 29341-1-2:2017(E)ISO/IEC 29341-1-2:2017(E)ISO/IEC 2017 All rights reserved iii CONTENTS Introduction.10Addressing.70.1Determining whether to use Auto-IP.70.2Choosing an address.70.3Testing the address.80.4Forwarding rules.80.5Periodic checkin
5、g for dynamic address availability.90.6Device naming and DNS interaction.90.7Name to IP address resolution.90.8References.91Discovery.101.1SSDP message format.131.1.1SSDP Start-line.131.1.2SSDP message header fields.131.1.3SSDP header field extensions.141.1.4UUID format and recommended generation al
6、gorithms.141.1.5SSDP processing rules.141.2Advertisement.151.2.1Advertisement protocols and standards.151.2.2Device available-NOTIFY with ssdp:alive.161.2.3Device unavailable-NOTIFY with ssdp:byebye.211.2.4Device Update NOTIFY with ssdp:update.231.3Search.251.3.1Search protocols and standards.251.3.
7、2Search request with M-SEARCH.261.3.3Search response.291.4References.322Description.322.1Generic requirements on HTTP usage.352.2Generic requirements on XML usage.382.3Device description.382.4UPnP Device Template.432.5Service description.442.5.1Defining and processing extended data types.512.5.2Stri
8、ng equivalents of extended data types.522.5.3Generic requirements.532.5.4Ordering of Elements.532.5.5Versioning.542.6UPnP Service Template.542.7Non-standard vendor extensions and limitations.542.7.1Placement of Additional Elements and Attributes.562.8UPnP Device Schema.562.9UPnP Service Schema.562.1
9、0UPnP Datatype Schema.562.11Retrieving a description using HTTP.57ISO/IEC 29341-1-2:2017(E)iv ISO/IEC 2017 All rights reserved 2.12References.593Control.603.1Control protocols.633.1.1SOAP Profile.633.2Actions.673.2.1Action invocation.673.2.2Action Response.703.2.3UPnP Action Schema.723.2.4Recommenda
10、tions and additional requirements.723.2.5Action error response.733.2.6UPnP Error Schema.763.3Query for variable.763.4References.774Eventing.774.1Unicast eventing.784.1.1Subscription.794.1.2SUBSCRIBE with NT and CALLBACK.814.1.3Renewing a subscription with SUBSCRIBE with SID.844.1.4Canceling a subscr
11、iption with UNSUBSCRIBE.854.2Multicast Eventing.864.3Event messages.884.3.1Error Cases.884.3.2Unicast eventing:Event messages:NOTIFY.894.3.3Multicast Eventing:Event messages:NOTIFY.924.4UPnP Event Schema.954.5Augmenting the UPnP Device and Service Schemas.954.6References.955Presentation.965.1Referen
12、ces.97Annex A(normative)IP Version 6 Support.98A.0Note(informative).98A.1Introduction.98A.2General Principles.98A.2.1UPnP Device Architecture V1.0.98A.2.2UPnP Device Architecture V2.0.99A.2.3IPv6 and Dual Stack.99A.2.4Device operation.100A.2.5Control point operation.101A.3Addressing.101A.3.1UPnP Mes
13、saging on IPv6 Interfaces.101A.3.2Summary of boot/startup process.102A.3.3Address Selection and RFC 6724.102A.4Discovery.102A.4.1OPT and NLS.102A.4.2Advertisement.103A.4.3Advertisement:Device unavailable.103A.4.4Advertisement:Device update.104A.4.5Search.104ISO/IEC 29341-1-2:2017(E)ISO/IEC 2017 All
14、rights reserved v A.4.6Search response.104A.5Description.104A.6Control.104A.7Eventing.105A.8Presentation.105A.9References.105A.9.1Normative.105A.9.2Informative.106Annex B Schemas.107B.1UPnP Device Schema.107B.2UPnP Service Schema.111B.3UPnP Control Schema.115B.4UPnP Error Schema.116B.5UPnP Event Sch
15、ema.117B.6UPnP Cloud Schema.118B.7Schema references.119Annex C Cloud.120C.1Introduction.120C.1.1What is UPnP Cloud Technology(UCA)?.120C.1.2Audience.120C.1.3In this Annex.120C.1.4UDA compared to UCA.122C.1.5UCA General Communications Paths.124C.1.6UCA Specific Communication Paths.125C.1.7UCA Steps a
16、s Analogies to UDA.126C.2Terms and Definitions.127C.2.1Acronyms.127C.2.2General Cloud Terms and Definitions.128C.2.3Device and Control Point Terms and Definitions.128C.2.4Service Terms and Definitions.129C.2.5Groups.129C.3References.129C.4General XMPP Features.130C.4.1XMPP Jabber IDs or JIDs.130C.5Creating a Device or Control Point Resource.132C.5.1Finding a UCS.132C.5.2Account Creation.132C.5.3Authentication.133C.5.4Binding Devices and Control Points as a Resource.135C.5.5Embedded Devices.138C.