1、Information technology UPnP Device ArchitecturePart 20-14: Audio video device control protocol Level 4 Scheduled recording serviceBS ISO/IEC 29341-20-14:2017BSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06Information technology UPnP Device Architecture Part 20-14: Au
2、dio video device control protocol Level 4 Scheduled recording serviceTechnologies de linformation Architecture de dispositif UPnP Partie 20-14: Protocole de contrle de dispositif audio-vido Niveau 4 Service denregistrement programmINTERNATIONAL STANDARDISO/IEC 29341-20-14Reference numberISO/IEC 2934
3、1-20-14:2017(E)First edition2017-09 ISO/IEC 2017National forewordThis British Standard is the UK implementation of ISO/IEC 29341-20-14:2017.The UK participation in its preparation was entrusted to Technical Committee ICT/-/1, Information systems co-ordination.A list of organizations represented on t
4、his committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2017 Published by BSI Standards Limited 2017ISBN 978 0 580 90848 4IC
5、S 35.200Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 September 2017.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS ISO/
6、IEC 293412014:2017Information technology UPnP Device Architecture Part 20-14: Audio video device control protocol Level 4 Scheduled recording serviceTechnologies de linformation Architecture de dispositif UPnP Partie 20-14: Protocole de contrle de dispositif audio-vido Niveau 4 Service denregistreme
7、nt programmINTERNATIONAL STANDARDISO/IEC 29341-20-14Reference numberISO/IEC 29341-20-14:2017(E)First edition2017-09 ISO/IEC 2017BS ISO/IEC 293412014:2017ii ISO/IEC 2017 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2017, Published in SwitzerlandAll rights reserved. Unless otherwise specifi
8、ed, no part of this publication may be reproduced or utilized otherwise in 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
9、 member body in the country of the requester.ISO copyright officeCh. de Blandonnet 8 CP 401CH-1214 Vernier, Geneva, SwitzerlandTel. +41 22 749 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 29341-20-14:2017(E)BS ISO/IEC 293412014:2017ii ISO/IEC 2017 All rights reservedCOPYRIGHT PROTECTE
10、D 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 photocopying, or posting on the internet or an intranet, without prio
11、r 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 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 293
12、41-20-14:2017(E)ISO/IEC 29341-20-14:2017(E) ISO/IEC 2017 All rights reserved iii CONTENTS 1 Scope . 1 2 Normative references 2 3 Terms, definitions, symbols and abbreviations 5 3.1 Provisioning terms 5 3.2 Terms specific to ScheduledRecording service 5 3.2.1 CDS 5 3.2.2 EPG 6 3.2.3 SRS 6 3.2.4 CDS o
13、bject . 6 3.2.5 User Channel 6 3.2.6 Channel Group 6 3.2.7 Channel Line-up 6 3.2.8 object . 6 3.2.9 class . 6 3.2.10 object Modification 6 3.2.11 recordSchedule . 6 3.2.12 Conflicting recordSchedule 6 3.2.13 recordTask 7 3.2.14 Conflicting recordTask. 7 3.2.15 recordScheduleParts . 7 3.2.16 Property
14、-set Data Types 7 3.2.17 Property 7 3.2.18 Member Property 8 3.2.19 Supported Member Property 8 3.2.20 Multi-valued property . 8 3.2.21 Single-valued property 8 3.2.22 XML Document . 8 3.2.23 XML Fragment 9 3.2.24 actualScheduledStartDateTime 9 3.2.25 actualStartDateTime 9 3.2.26 actualScheduledEndD
15、ateTime . 9 3.2.27 actualEndDateTime . 9 3.2.28 actualScheduledDuration . 9 3.2.29 Lexical Sort Order 10 3.2.30 Lexical Matching 10 3.2.31 Simple Non-case-sensitive Sort Order 10 3.2.32 Simple Non-case-sensitive Matching 11 3.2.33 Numeric Sort Order 11 3.2.34 Boolean Sort Order 11 3.2.35 Sequenced S
16、ort . 11 3.2.36 Sequenced Lexical Sort 11 3.2.37 Sequenced Numeric Sort 11 3.2.38 Lexical Numeric Sort 11 3.2.39 type Relationship Sort 12 3.3 Symbols 12 4 Notations and Conventions 12 BS ISO/IEC 293412014:2017ISO/IEC 29341-20-14:2017(E) iv ISO/IEC 2017 All rights reserved 4.1 Notation 12 4.1.1 Data
17、 Types 12 4.1.2 Strings Embedded in Other Strings . 12 4.1.3 Extended Backus-Naur Form 13 4.2 Derived Data Types . 13 4.2.1 Summary . 13 4.2.2 CSV Lists . 14 4.3 Management of XML Namespaces in Standardized DCPs . 15 4.3.1 Namespace Prefix Requirements 19 4.3.2 Namespace Names, Namespace Versioning
18、and Schema Versioning 20 4.3.3 Namespace Usage Examples . 22 4.4 Vendor-defined Extensions 22 4.4.1 Vendor-defined Action Names 22 4.4.2 Vendor-defined State Variable Names 23 4.4.3 Vendor-defined XML Elements and attributes 23 4.4.4 Vendor-defined Property Names . 23 5 Service Modeling Definitions
19、23 5.1 ServiceType 23 5.2 ScheduledRecording Service Architecture 23 5.2.1 recordSchedule 23 5.2.2 recordTask . 25 5.3 State Variables 26 5.3.1 State Variable Overview . 26 5.3.2 SortCapabilities 28 5.3.3 SortLevelCapability 28 5.3.4 StateUpdateID . 28 5.3.5 LastChange . 29 5.3.6 A_ARG_TYPE_Property
20、List 32 5.3.7 A_ARG_TYPE_DataTypeID 32 5.3.8 A_ARG_TYPE_ObjectID . 32 5.3.9 A_ARG_TYPE_ObjectIDList . 32 5.3.10 A_ARG_TYPE_PropertyInfo . 33 5.3.11 A_ARG_TYPE_Index . 33 5.3.12 A_ARG_TYPE_Count . 33 5.3.13 A_ARG_TYPE_SortCriteria 33 5.3.14 A_ARG_TYPE_RecordSchedule . 33 5.3.15 A_ARG_TYPE_RecordTask
21、34 5.3.16 A_ARG_TYPE_RecordScheduleParts . 34 5.4 Eventing and Moderation . 35 5.5 Actions 35 5.5.1 Action Overview . 35 5.5.2 GetSortCapabilities() 36 5.5.3 GetPropertyList() . 37 5.5.4 GetAllowedValues() 38 5.5.5 GetStateUpdateID() 40 5.5.6 BrowseRecordSchedules() . 40 5.5.7 BrowseRecordTasks() 45
22、 5.5.8 CreateRecordSchedule() 47 BS ISO/IEC 293412014:2017ISO/IEC 29341-20-14:2017(E) iv ISO/IEC 2017 All rights reserved 4.1 Notation 12 4.1.1 Data Types 12 4.1.2 Strings Embedded in Other Strings . 12 4.1.3 Extended Backus-Naur Form 13 4.2 Derived Data Types . 13 4.2.1 Summary . 13 4.2.2 CSV Lists
23、 . 14 4.3 Management of XML Namespaces in Standardized DCPs . 15 4.3.1 Namespace Prefix Requirements 19 4.3.2 Namespace Names, Namespace Versioning and Schema Versioning 20 4.3.3 Namespace Usage Examples . 22 4.4 Vendor-defined Extensions 22 4.4.1 Vendor-defined Action Names 22 4.4.2 Vendor-defined
24、State Variable Names 23 4.4.3 Vendor-defined XML Elements and attributes 23 4.4.4 Vendor-defined Property Names . 23 5 Service Modeling Definitions 23 5.1 ServiceType 23 5.2 ScheduledRecording Service Architecture 23 5.2.1 recordSchedule 23 5.2.2 recordTask . 25 5.3 State Variables 26 5.3.1 State Va
25、riable Overview . 26 5.3.2 SortCapabilities 28 5.3.3 SortLevelCapability 28 5.3.4 StateUpdateID . 28 5.3.5 LastChange . 29 5.3.6 A_ARG_TYPE_PropertyList 32 5.3.7 A_ARG_TYPE_DataTypeID 32 5.3.8 A_ARG_TYPE_ObjectID . 32 5.3.9 A_ARG_TYPE_ObjectIDList . 32 5.3.10 A_ARG_TYPE_PropertyInfo . 33 5.3.11 A_AR
26、G_TYPE_Index . 33 5.3.12 A_ARG_TYPE_Count . 33 5.3.13 A_ARG_TYPE_SortCriteria 33 5.3.14 A_ARG_TYPE_RecordSchedule . 33 5.3.15 A_ARG_TYPE_RecordTask 34 5.3.16 A_ARG_TYPE_RecordScheduleParts . 34 5.4 Eventing and Moderation . 35 5.5 Actions 35 5.5.1 Action Overview . 35 5.5.2 GetSortCapabilities() 36
27、5.5.3 GetPropertyList() . 37 5.5.4 GetAllowedValues() 38 5.5.5 GetStateUpdateID() 40 5.5.6 BrowseRecordSchedules() . 40 5.5.7 BrowseRecordTasks() 45 5.5.8 CreateRecordSchedule() 47 ISO/IEC 29341-20-14:2017(E) ISO/IEC 2017 All rights reserved v 5.5.9 DeleteRecordSchedule() 49 5.5.10 GetRecordSchedule
28、() . 50 5.5.11 EnableRecordSchedule() 51 5.5.12 DisableRecordSchedule() . 52 5.5.13 DeleteRecordTask() . 54 5.5.14 GetRecordTask() 54 5.5.15 EnableRecordTask() 55 5.5.16 DisableRecordTask() 57 5.5.17 ResetRecordTask() 58 5.5.18 GetRecordScheduleConflicts() 59 5.5.19 GetRecordTaskConflicts() 60 5.5.2
29、0 Common Error Codes . 61 5.6 State Diagram of recordTask 62 5.6.1 A Full-Featured State Diagram . 62 5.6.2 A Minimal-Implementation State Diagram . 68 5.6.3 recordTask State Example 70 5.7 ScheduledRecording Service Priority Model . 71 5.7.1 Introduction of the ScheduledRecording Service Priority M
30、odel . 71 5.7.2 Ordered Priority within Each Priority Level 72 5.7.3 Setting the Initial Priority Level of a recordSchedule . 73 5.7.4 Sorting recordSchedule Instances Based on their Current Priority Settings . 75 5.8 Theory of Operation . 76 5.8.1 Introduction 76 5.8.2 Checking the Capabilities of
31、a ScheduledRecording Service . 76 5.8.3 Adding a Scheduled Recording Entry to the List 88 5.8.4 Deleting a recordSchedule . 106 5.8.5 Browsing recordSchedule and recordTask instances . 106 5.8.6 Rating System . 113 5.8.7 Conflict Detection and Resolution . 113 6 XML Service Description 115 7 Test .
32、125 Annex A (normative) srs XML Document 126 A.1 A_ARG_TYPE_RecordSchedule AVDT XML Document 126 A.2 A_ARG_TYPE_RecordTask AVDT XML Document . 127 A.3 A_ARG_TYPE_RecordScheduleParts AVDT XML Document 127 Annex B (normative) AV Working Committee Extended Properties . 129 B.1 Base Properties . 129 B.1
33、.1 id 129 B.1.2 title 130 B.1.3 class 130 B.1.4 additionalStatusInfo . 130 B.1.5 cdsReference . 131 B.2 Priority Properties 132 B.2.1 priority . 132 B.2.2 desiredPriority 133 B.3 Output Control Properties 135 B.3.1 recordDestination . 135 BS ISO/IEC 293412014:2017ISO/IEC 29341-20-14:2017(E) vi ISO/I
34、EC 2017 All rights reserved B.3.2 desiredRecordQuality . 137 B.4 Content Identification Related Properties 140 B.4.1 scheduledCDSObjectID 140 B.4.2 scheduledChannelID 141 B.4.3 scheduledStartDateTime 143 B.4.4 scheduledDuration . 144 B.4.5 scheduledProgramCode . 144 B.5 Matching Content Criteria Pro
35、perties 145 B.5.1 matchingName . 145 B.5.2 matchingID 146 B.6 Matching Qualifying Criteria Properties 147 B.6.1 matchingChannelID 148 B.6.2 matchingStartDateTimeRange 149 B.6.3 matchingDurationRange . 149 B.6.4 matchingRatingLimit . 150 B.6.5 matchingEpisodeType 152 B.7 Content Control Properties .
36、153 B.7.1 totalDesiredRecordTasks . 153 B.7.2 scheduledStartDateTimeAdjust . 154 B.7.3 scheduledDurationAdjust 154 B.7.4 activePeriod . 155 B.7.5 durationLimit 155 B.7.6 channelMigration 156 B.7.7 timeMigration . 157 B.7.8 allowDuplicates 157 B.8 Storage Related Properties 157 B.8.1 persistedRecordi
37、ngs. 158 B.9 Schedule State Properties . 159 B.9.1 scheduleState 159 B.9.2 abnormalTasksExist . 161 B.10 Statistics Properties . 161 B.10.1 currentRecordTaskCount 161 B.10.2 totalCreatedRecordTasks . 161 B.10.3 totalCompletedRecordTasks . 162 B.11 Task General Properties 162 B.11.1 recordScheduleID
38、162 B.11.2 recordedCDSObjectID 162 B.12 Task Content Identification Properties 163 B.12.1 taskCDSObjectID . 164 B.12.2 taskChannelID . 164 B.12.3 taskStartDateTime . 165 B.12.4 taskDuration 166 B.12.5 taskProgramCode 166 B.12.6 recordQuality . 166 B.13 Task Matched Content Criteria Properties 169 B.
39、13.1 matchedName 169 B.13.2 matchedID . 169 B.14 Task Matched Qualifying Criteria Properties . 170 B.14.1 matchedRating . 170 BS ISO/IEC 293412014:2017ISO/IEC 29341-20-14:2017(E) vi ISO/IEC 2017 All rights reserved B.3.2 desiredRecordQuality . 137 B.4 Content Identification Related Properties 140 B.
40、4.1 scheduledCDSObjectID 140 B.4.2 scheduledChannelID 141 B.4.3 scheduledStartDateTime 143 B.4.4 scheduledDuration . 144 B.4.5 scheduledProgramCode . 144 B.5 Matching Content Criteria Properties 145 B.5.1 matchingName . 145 B.5.2 matchingID 146 B.6 Matching Qualifying Criteria Properties 147 B.6.1 m
41、atchingChannelID 148 B.6.2 matchingStartDateTimeRange 149 B.6.3 matchingDurationRange . 149 B.6.4 matchingRatingLimit . 150 B.6.5 matchingEpisodeType 152 B.7 Content Control Properties . 153 B.7.1 totalDesiredRecordTasks . 153 B.7.2 scheduledStartDateTimeAdjust . 154 B.7.3 scheduledDurationAdjust 15
42、4 B.7.4 activePeriod . 155 B.7.5 durationLimit 155 B.7.6 channelMigration 156 B.7.7 timeMigration . 157 B.7.8 allowDuplicates 157 B.8 Storage Related Properties 157 B.8.1 persistedRecordings. 158 B.9 Schedule State Properties . 159 B.9.1 scheduleState 159 B.9.2 abnormalTasksExist . 161 B.10 Statisti
43、cs Properties . 161 B.10.1 currentRecordTaskCount 161 B.10.2 totalCreatedRecordTasks . 161 B.10.3 totalCompletedRecordTasks . 162 B.11 Task General Properties 162 B.11.1 recordScheduleID 162 B.11.2 recordedCDSObjectID 162 B.12 Task Content Identification Properties 163 B.12.1 taskCDSObjectID . 164 B
44、.12.2 taskChannelID . 164 B.12.3 taskStartDateTime . 165 B.12.4 taskDuration 166 B.12.5 taskProgramCode 166 B.12.6 recordQuality . 166 B.13 Task Matched Content Criteria Properties 169 B.13.1 matchedName 169 B.13.2 matchedID . 169 B.14 Task Matched Qualifying Criteria Properties . 170 B.14.1 matched
45、Rating . 170 ISO/IEC 29341-20-14:2017(E) ISO/IEC 2017 All rights reserved vii B.14.1.1 matchedRatingtype . 170 B.14.1.2 matchedRatingequivalentAge . 171 B.14.2 matchedEpisodeType . 171 B.15 Task Matched Content Control Properties 171 B.15.1 taskStartDateTimeAdjust 171 B.15.2 taskDurationAdjust . 172
46、 B.15.3 taskDurationLimit . 172 B.15.3.1 taskDurationLimiteffect . 172 B.15.4 taskChannelMigration . 173 B.15.5 taskTimeMigration 173 B.16 Task State Properties 173 B.16.1 taskState . 174 B.17 ContentDirectory Service Imported Properties 182 Annex C (normative) AV Working Committee Class Definitions
47、 186 C.1 Class Hierarchy . 186 C.1.1 Relationships between Classes and Properties . 188 C.1.2 recordScheduleParts Properties . 189 C.1.3 recordSchedule Properties . 193 C.1.4 recordTask Properties 197 C.2 Class Definitions 199 C.3 object Base Class 200 C.3.1 object.recordSchedule Class 201 C.3.2 obj
48、ect.recordTask Class . 211 Annex D (normative) EBNF Syntax Definitions 213 D.1 Priority Syntax . 213 D.2 Date 6687755 / US; 6910068 / US; 7130895 / US; 6725281 / US; 7089307 / US; 7069312 / US; 10/783 524 /US Information may be obtained from: Microsoft Corporation One Microsoft Way USA Redmond WA 98
49、052 Philips International B.V. has informed IEC and ISO that it has patent applications or granted patents. Information may be obtained from: Philips International B.V. IP 6687755 / US; 6910068 / US; 7130895 / US; 6725281 / US; 7089307 / US; 7069312 / US; 10/783 524 /US Information may be obtained from: Microsoft Corporation One Microsoft Way USA Redmond WA 98052 Philips International B.V. has informed IEC and ISO that it has patent applications or granted patents. Info