1、Information technology UPnP Device Architecture Part 26-16:Telephony device control protocol Level 2 Presence serviceTechnologies de linformation Architecture de dispositif UPnP Partie 26-16:Protocole de contrle de dispositif de tlphonie Niveau 2 Service de prsenceINTERNATIONAL STANDARDISO/IEC 29341
2、-26-16Reference numberISO/IEC 29341-26-16:2017(E)First edition2017-09 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 i
3、n any form or by any means,electronic or mechanical,including 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 Blandon
4、net 8 CP 401CH-1214 Vernier,Geneva,SwitzerlandTel.+41 22 749 01 11Fax+41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 29341-26-16:2017(E)ISO/IEC 29341-26-16:2017(E)ISO/IEC 2017 All rights reserved iii CONTENTS 1Scope.v2Normative references.13Terms,definitions,symbols and abbreviated terms.24Notati
5、ons and conventions.34.1Text conventions.34.1.1Data Types.44.2Vendor-defined Extensions.45Service Modeling Definitions.45.1Service Type.45.2Presence Service Architecture.45.3State Variables.55.3.1State Variable Overview.55.3.2UserPresenceInfo.55.3.3PresenceOfContactsUpdate.75.3.4A_ARG_TYPE_UserPrese
6、nceInfo.85.3.5A_ARG_TYPE_PresenceOfContactsList.105.3.6A_ARG_TYPE_ContactId.115.3.7A_ARG_TYPE_RegistrationResult.125.3.8A_ARG_TYPE_Expires.125.3.9Watcher.125.3.10A_ARG_TYPE_WatcherList.135.4Eventing and Moderation.145.4.1Eventing of UserPresenceInfo.145.4.2Eventing of PresenceOfContactsUpdate.155.4.
7、3Eventing of Watcher.155.5Actions.155.5.1GetPresence().155.5.2UpdatePresence().165.5.3GetContactPresence().175.5.4GetPresenceOfContactsUpdate().185.5.5RegisterForContactPresence().195.5.6AuthorizePresenceReactive().205.5.7AuthorizePresenceProactive().215.5.8Error Code Summary.225.6Service Behavioral
8、 Model.226XML Service Description.22Annex A(normative)XML complex type peerType.26Annex B(normative)XML Schema.30Annex C(informative)Theory of Operation.32Annex D(informative)Bibliography.34 Figure 1 Presence Service Architecture.5ISO/IEC 29341-26-16:2017(E)iv ISO/IEC 2017 All rights reserved Figure
9、 C.1 Presence registration and notification.32Figure C.2 Reactive Authorization of a request for Presence information.33Figure C.3 Proactive Authorization for Presence information.33 Table 1 State Variables.5Table 2 Event Moderation.14Table 3 Actions.15Table 4 Arguments for GetPresence().15Table 5 E
10、rror Codes for GetPresence().16Table 6 Arguments for UpdatePresence().16Table 7 Error Codes for UpdatePresence().17Table 8 Arguments for GetContactPresence().17Table 9 Error Codes for GetContactPresence().18Table 10 Arguments for GetPresenceOfContactsUpdate().18Table 11 Error Codes for GetPresenceOf
11、ContactsUpdate().18Table 12 Arguments for RegisterForContactPresence().19Table 13 Error Codes for RegisterForContactPresence().19Table 14 Arguments for AuthorizePresenceReactive().20Table 15 Error Codes for AuthorizePresenceReactive().21Table 16 Arguments for AuthorizePresenceProactive().21Table 17
12、Error Codes for AuthorizePresenceProactive().22Table 18 Error Code Summary.22 ISO/IEC 29341-26-16:2017(E)ISO/IEC 2017 All rights reserved v Foreword ISO(the International Organization for Standardization)and IEC(the InternationalElectrotechnicalCommission)formthespecializedsystemforworldwidestandard
13、ization.National bodies that are members of ISO or IEC participate in the development ofInternational Standards through technical committees established by the respectiveorganization to deal with particular fields of technical activity.ISO and IEC technicalcommittees collaborate in fields of mutual
14、interest.Other international organizations,governmental and nongovernmental,in liaison with ISO and IEC,also take part in thework.Inthefieldofinformationtechnology,ISOandIEChaveestablishedajointtechnicalcommittee,ISO/IECJTC1.The procedures used to develop this document and those intended for its fur
15、thermaintenancearedescribedintheISO/IECDirectives,Part1.Inparticularthedifferentapproval criteria needed for the different types of document should be noted.ThisdocumentwasdraftedinaccordancewiththeeditorialrulesoftheISO/IECDirectives,Part2(seehttp:/www.iso.org/directives).Attentionisdrawntothepossi
16、bilitythatsomeoftheelementsofthisdocumentmaybethesubjectofpatentrights.ISOandIECshallnotbeheldresponsibleforidentifyinganyorallsuchpatentrights.DetailsofanypatentrightsidentifiedduringthedevelopmentofthedocumentwillbeintheIntroductionand/orontheISOlistofpatentdeclarationsreceived(seewww.iso.org/patents).Anytradenameusedinthisdocumentisinformationgivenfortheconvenienceofusersanddoesnotconstituteanendorsement.ForanexplanationonthevoluntarynatureofStandard,themeaningoftheISOspecifictermsandexpressi