ISO/IEC 29341-1:2011
(Main)Information technology - UPnP Device Architecture - Part 1: UPnP Device Architecture Version 1.0
Information technology - UPnP Device Architecture - Part 1: UPnP Device Architecture Version 1.0
ISO/IEC 29341-1:2011(E) Defines UPnP technology which describes an architecture for pervasive peer-to-peer network connectivity of intelligent appliances, wireless devices, and PCs of all form factors. It is designed to bring easy-to-use, flexible, standards-based connectivity to ad-hoc or unmanaged networks whether in the home, in a small business, public spaces, or attached to the Internet. UPnP technology provides a distributed, open networking architecture that leverages TCP/IP and the Web technologies to enable seamless proximity networking in addition to control and data transfer among networked devices. The UPnP Device Architecture (UDA) is designed to support zero-configuration, "invisible" networking, and automatic discovery for a breadth of device categories from a wide range of vendors. A device can dynamically join a network, obtain an IP address, convey its capabilities, and learn about the presence and capabilities of other devices. Finally, a device can leave a network smoothly and automatically without leaving any unwanted state behind. The technologies leveraged in the UPnP architecture include Internet protocols such as IP, TCP, UDP, HTTP, and XML. Like the Internet, contracts are based on wire protocols that are declarative, expressed in XML, and communicated via HTTP. This International Standard replaces ISO/IEC 29341-1, first edition, published in 2008, and constitutes a technical revision.
General Information
Relations
Standards Content (Sample)
ISO/IEC 29341-1
Edition 2.0 2011-09
INTERNATIONAL
STANDARD
colour
inside
Information technology – UPnP device architecture –
Part 1: UPnP Device Architecture Version 1.0
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about ISO/IEC copyright or have an enquiry about obtaining additional rights to this
publication, please contact the address below or your local IEC member National Committee for further information.
IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
ISO/IEC 29341-1
Edition 2.0 2011-09
INTERNATIONAL
STANDARD
colour
inside
Information technology – UPnP device architecture –
Part 1: UPnP Device Architecture Version 1.0
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
V
ICS 35.200 ISBN 978-2-88912-676-7
29341-1 © ISO/IEC:2011(E)
CONTENTS
Introduction . 3
0 Addressing . 7
0.1 Addressing: Determining whether to use Auto-IP . 7
0.2 Addressing: Choosing an address . 7
0.3 Addressing: Testing the address . 7
0.4 Addressing: Periodic checking for dynamic address availability . 8
0.5 Addressing: Device naming and DNS interaction . 9
0.6 Addressing: Name to IP address resolution . 9
0.7 Addressing references . 9
1 Discovery . 10
1.1 Discovery: Advertisement . 11
1.1.1 Discovery: Advertisement protocols and standards . 11
1.1.2 Discovery: Advertisement: Device available -- NOTIFY with
ssdp:alive . 12
1.1.3 Discovery: Advertisement: Device unavailable -- NOTIFY with
ssdp:byebye . 15
1.2 Discovery: Search . 16
1.2.1 Discovery: Search protocols and standards . 16
1.2.2 Discovery: Search: Request with M-SEARCH . 17
1.2.3 Discovery: Search: Response . 18
1.3 Discovery references . 20
2 Description . 20
2.1 Description: Device description . 23
2.2 Description: UPnP Device Template . 27
2.3 Description: Service description . 27
2.4 Description: UPnP Service Template . 33
2.5 Description: Non-standard vendor extensions . 33
2.6 Description: UPnP Template Language for devices . 34
2.6.1 UPnP Template Language for devices . 35
2.7 Description: UPnP Template Language for services . 36
2.7.1 UPnP Template Language for services . 37
2.8 Description: Retrieving a description . 38
2.9 Description references . 40
3 Control . . 40
3.1 Control: Protocols . 42
3.2 Control: Action . 42
3.2.1 Control: Action: Invoke . 42
3.2.2 Control: Action: Response . 45
3.3 Control: Query for variable . 50
3.3.1 Control: Query: Invoke . 50
3.3.2 Control: Query: Response . 51
3.4 Control references . 54
4 Eventing . . 54
4.1 Eventing: Subscription . 56
4.1.1 Eventing: Subscribing: SUBSCRIBE with NT and CALLBACK. 58
XXXX: © IEC:2010 — 2 — 29341-1 © ISO/IEC:2011(E)
4.1.2 Eventing: Renewing a subscription: SUBSCRIBE with SID . 59
4.1.3 Eventing: Canceling a subscription: UNSUBSCRIBE . 61
4.2 Eventing: Event messages . 62
4.2.1 Eventing: Event messages: NOTIFY . 62
4.3 Eventing: UPnP Template Language for eventing . 65
4.4 Eventing: Augmenting the UPnP Template Language . 65
4.5 Eventing references . 66
5 Presentation . 66
5.1 Presentation references . 68
6 Glossary . 68
29341-1 © ISO/IEC:2011(E)
INFORMATION TECHNOLOGY –
UPNP DEVICE ARCHITECTURE –
Part 1: UPnP Device Architecture Version 1.0
FOREWORD
1) ISO (International Organization for Standardization) and IEC (International Electrotechnical Commission) form the
specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in
the development of International Standards. Their preparation is entrusted to technical committees; any ISO and
IEC member body interested in the subject dealt with may participate in this preparatory work. International
governmental and non-governmental organizations liaising with ISO and IEC also participate in this preparation.
2) In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting.
Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote.
3) The formal decisions or agreements of IEC and ISO on technical matters express, as nearly as possible, an
international consensus of opinion on the relevant subjects since each technical committee has representation
from all interested IEC and ISO member bodies.
4) IEC, ISO and ISO/IEC publications have the form of recommendations for international use and are accepted
by IEC and ISO member bodies in that sense. While all reasonable efforts are made to ensure that the
technical content of IEC, ISO and ISO/IEC publications is accurate, IEC or ISO cannot be held responsible for
the way in which they are used or for any misinterpretation by any end user.
5) In order to promote international uniformity, IEC and ISO member bodies undertake to apply IEC, ISO and
ISO/IEC publications transparently to the maximum extent possible in their national and regional publications.
Any divergence between any ISO/IEC publication and the corresponding national or regional publication
should be clearly indicated in the latter.
6) ISO and IEC provide no marking procedure to indicate their approval and cannot be rendered responsible for
any equipment declared to be in conformity with an ISO/IEC publication.
7) All users should ensure that they have the latest edition of this publication.
8) No liability shall attach to IEC or ISO or its directors, employees, servants or agents including individual experts
and members of their technical committees and IEC or ISO member bodies for any personal injury, property
damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees)
and expenses arising out of the publication of, use of, or reliance upon, this ISO/IEC publication or any other IEC,
ISO or ISO/IEC publications.
9) Attention is drawn to the normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
10) Attention is drawn to the possibility that some of the elements of this International Standard may be the subject of
patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
International Standard ISO/IEC 29341-1 was prepared by UPnP Forum Steering committee ,
was adopted, under the fast track procedure, by subcommittee 25: Interconnection of
information technology equipment, of ISO/IEC joint technical committee 1: Information
technology.
This International Standard replaces ISO/IEC 29341-1, first edition, published in 2008, and
constitutes a technical revision.
The list of all currently available parts of the ISO/IEC 29341 series, under the general title
Information technology – UPnP device architecture, can be found on the IEC web site.
This International Standard has been approved by vote of the member bodies, and the voting
results may be obtained from the address given on the second title page.
—————————
rd
UPnP Forum Steering committee, UPnP Forum, 3855 SW 153 Drive, Beaverton, Oregon 97006 USA. See also
“Introduction”.
29341-1 © ISO/IEC:2011(E)
IMPORTANT – The “colour inside” logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct understanding
of its contents. Users should therefore print this publication using a colour printer.
29341-1 XXXX: © IEC© ISO/IEC:2011(E):2010 — 3 —
Introduction
What is UPnP™ Technology?
UPnP™ technology defines an architecture for pervasive peer-to-peer network connectivity of
intelligent appliances, wireless devices, and PCs of all form factors. It is designed to bring
easy-to-use, flexible, standards-based connectivity to ad-hoc or unmanaged networks whether
in the home, in a small business, public spaces, or attached to the Internet. UPnP technology
provides a distributed, open networking architecture that leverages TCP/IP and the Web
technologies to enable seamless proximity networking in addition to control and data transfer
among networked devices.
The UPnP Device Architecture (UDA) is more than just a simple extension of the plug and
play peripheral model. It is designed to support zero-configuration, "invisible" networking, and
automatic discovery for a breadth of device categories from a wide range of vendors. This
means a device can dynamically join a network, obtain an IP address, convey its capabilities,
and learn about the presence and capabilities of other devices. Finally, a device can leave a
n
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.