1、 ISO/IEC 29341-8-20Edition 1.0 2008-11INTERNATIONAL STANDARD Information technology UPnP Device Architecture Part 8-20:Internet Gateway Device Control Protocol Wide Area Network Point-to-Point Protocol Connection Service ISO/IEC 29341-8-20:2008(E)THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 200
2、8 ISO/IEC,Geneva,Switzerland 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 IECs member National Commit
3、tee 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-12
4、11 Geneva 20 Switzerland Email:inmailiec.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 technica
5、l 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
6、(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 a
7、nd also by email.?Electropedia:www.electropedia.org The worlds 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 Vocabular
8、y 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:csciec.ch Tel.:+41 22 919 02 11 Fax:+41 22 919 03 00 ISO/IEC 29341-8-20Edition 1.0 2008-
9、11INTERNATIONAL STANDARD Information technology UPnP Device Architecture Part 8-20:Internet Gateway Device Control Protocol Wide Area Network Point-to-Point Protocol Connection Service INTERNATIONAL ELECTROTECHNICAL COMMISSION XICS 35.200 PRICE CODEISBN 2-8318-1010-7 2 29341-8-20 ISO/IEC:2008(E)CONT
10、ENTS FOREWORD.5 ORIGINAL UPNP DOCUMENTS(informative).7 1.Overview and Scope.9 2.Service Modeling Definitions.10 2.1.ServiceType.10 2.2.State Variablesgure.11 2.2.1.ConnectionType.15 2.2.2.PossibleConnectionTypes.15 2.2.3.ConnectionStatus.15 2.2.4.Uptime.15 2.2.5.UpstreamMaxBitRate.15 2.2.6.Downstrea
11、mMaxBitRate.15 2.2.7.LastConnectionError.15 2.2.8.AutoDisconnectTime.15 2.2.9.IdleDisconnectTime.15 2.2.10.WarnDisconnectDelay.16 2.2.11.RSIPAvailable.16 2.2.12.NATEnabled.16 2.2.13.UserName.16 2.2.14.Password.16 2.2.15.PPPEncryptionProtocol.16 2.2.16.PPPCompressionProtocol.16 2.2.17.PPPAuthenticati
12、onProtocol.16 2.2.18.ExternalIPAddress.16 2.2.19.PortMappingNumberOfEntries.17 2.2.20.PortMappingEnabled.17 2.2.21.PortMappingLeaseDuration.17 2.2.22.RemoteHost.17 2.2.23.ExternalPort.17 2.2.24.InternalPort.17 2.2.25.PortMappingProtocol.17 2.2.26.InternalClient.17 2.2.27.PortMappingDescription.18 2.
13、2.28.Relationships Between State Variables.19 2.3.Eventing and Moderation.20 2.3.1.Event Model.20 2.4.Actions.21 2.4.1.SetConnectionType.22 2.4.2.GetConnectionTypeInfo.22 2.4.3.ConfigureConnection.23 2.4.4.RequestConnection.23 2.4.5.RequestTermination.24 2.4.6.ForceTermination.25 2.4.7.SetAutoDiscon
14、nectTime.25 2.4.8.SetIdleDisconnectTime.26 2.4.9.SetWarnDisconnectDelay.26 2.4.10.GetStatusInfo.27 2.4.11.GetLinkLayerMaxBitRates.27 2.4.12.GetPPPEncryptionProtocol.28 2.4.13.GetPPPCompressionProtocol.28 2.4.14.GetPPPAuthenticationProtocol.28 2.4.15.GetUserName.29 2.4.16.GetPassword.29 2.4.17.GetAut
15、oDisconnectTime.30 2.4.18.GetIdleDisconnectTime.30 29341-8-20 ISO/IEC:2008(E)3 2.4.19.GetWarnDisconnectDelay.31 2.4.20.GetNATRSIPStatus.31 2.4.21.GetGenericPortMappingEntry.32 2.4.22.GetSpecificPortMappingEntry.33 2.4.23.AddPortMapping.33 2.4.24.DeletePortMapping.35 2.4.25.GetExternalIPAddress.35 2.
16、4.26.Non-Standard Actions Implemented by a UPnP Vendor.36 2.4.27.Relationships Between Actions.36 2.4.28.Common Error Codes.36 2.5.Theory of Operation.37 2.5.1.Connection Initiation.38 2.5.2.Connection Termination.40 2.5.3.Connection Scenarios.41 2.5.4.Non-UPnP compliant clients.42 2.5.5.VPN connections.42 3.XML Service Description.44 4.Test.53 4 29341-8-20 ISO/IEC:2008(E)LIST OF TABLES Table 1:State Variables.11 Table 1.1:AllowedValueList for PossibleConnectionTypes.12 Table 1.2:AllowedValueLis