1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X ISO/IEC 23004 6 6: KS X ISO/IEC 23004 6:2008 2008 12 30 http:/www.kats.go.krKS X ISO/IEC 23004 6:2008 : e- ( ) ( ) () () ( ) : (JTC1/SC29) ( ) ( ) KBS LG ETRI ( ) KS X ISO/IEC 23004 6:2008 : (http:/www.standard.go.kr) : : 2008 12 30 2008-1009 : e- :e- (
2、JTC1/SC29) ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X ISO/IEC 23004 6:2008 i ii .1 1 1 2 1 3 .1 3.1 1 3.2 7 4 7 5 .8 6 9 6.1 9 6.2 16 7 .24 7.1 24 7.2 24 7.3 26 7.4 26 8 27 8.1 .27 8.2 .28 8.3 28 8.4 .35 A( ) .36 B( ) .42 44 KS X ISO/IEC 23004 6:2008 .45 KS X ISO/IEC 23004 6:2008 ii (KS X)
3、 ISO/IEC 23004 . 1: 2: 3: 4: 5: 6: 7: KS X ISO/IEC 23004 6:2008 6: Information technology Multimedia Middleware Part 6: Fault management 2008 1 ISO/IEC 23004 6, Information technology Multimedia Middleware Part 6: Fault management . 1 MPEG (M3W) . M3W (API) . M3W API M3W . M3W . 2 . . ( ) . ISO/IEC
4、23004 1: 2007, Information technology Multimedia Middleware Part 1: Architecture ISO/IEC 23004 3: 2007, Information technology Multimedia Middleware Part 3: Component model 3 . 3.1 3.1.1 API (API specification) 3.1.2 (interface suite) KS X ISO/IEC 23004 6:2008 2 3.1.3 (logical component) 3.1.4 (role
5、) 3.1.5 (role instance) 3.1.6 (attribute) . 3.1.7 (signature) IDL , C . 3.1.8 (specification item) , , , . 3.1.9 (qualifier) 3.1.10 (constraint) 3.1.11 (execution constraint) 3.1.12 (model type) ( ) , . KS X ISO/IEC 23004 6:2008 3 3.1.13 (model constant) ( ) 3.1.14 (enum element type) OR 32 ( ) 3.1.
6、15 (enum set type) 32 3.1.16 (set type) . 3.1.17 (map type) ( ) ( ) . 3.1.18 (entity type) 3.1.19 (interface-role model) (Unified Modeling Language) 3.1.20 (logical component instance) : 3.1.21 (provides interface) 3.1.22 (requires interface) 3.1.23 (specialization) KS X ISO/IEC 23004 6:2008 4 S R ,
7、 S R S R . 3.1.24 (diversity) , 3.1.25 (mandatory interface) 3.1.26 (optional interface) 3.1.27 (configurable item) , 3.1.28 (diversity attribute) 3.1.29 (instantiation) ( ) 3.1.30 (initial state) 3.1.31 (observable behavior) 3.1.32 (function behavior) 3.1.33 (streaming behavior) 3.1.34 (active beha
8、vior) KS X ISO/IEC 23004 6:2008 5 3.1.35 (instantiation behavior) 3.1.36 (independent attribute) 3.1.37 (dependent attribute) 3.1.38 (invariant) . 3.1.39 (callback interface) , . 3.1.40 (callback-compliance) 3.1.41 (event notification) 3.1.42 (event subscription) 3.1.43 (cookie) . . 3.1.44 (event-ac
9、tion table) . KS X ISO/IEC 23004 6:2008 6 3.1.45 (non-standard event notification) ( ) 3.1.46 (client role) 3.1.47 (actor role) ( ) 3.1.48 (control interface) 3.1.49 (notification interface) 3.1.50 (specialized interface) R R 3.1.51 (precondition) 3.1.52 (action clause) . 3.1.53 (out-call) 3.1.54 (p
10、ostcondition) 3.1.55 (asynchronous function) KS X ISO/IEC 23004 6:2008 7 . 3.2 3.2.1 (error) 3.2.2 (failure) 3.2.3 (fault) 3.2.4 (unit of failure) 3.2.5 (unit of fault management) 3.2.6 (middleman) . 3.2.7 (fault manager) 3.2.8 (fault management instantiation policy) 4 API (Application Programming I
11、nterface) IDL (Interface Definition Language) M3W (Multimedia Middleware) OS (Operating System) UML (Unified Modeling Language) UoF (Unit of Failure) UoFM (Unit of Fault Management) USI (Untrusted Service Instance) KS X ISO/IEC 23004 6:2008 8 UUID (Universally Unique Identifier) 5 . M3W ( ) . . M3W
12、API ( 1 ). 1 M3W M3W API ( ) . ( ) ( ) . ( ). ISO/IEC 23004 1 . API . / ( ) KS X ISO/IEC 23004 6:2008 9 2 API 6 6.1 6.1.1 6.1.1.1 “ ” . . . . . 6.1.1.2 6.1.1.2.1 6.1.1.2.1.1 const rcResult RC_ERR_FAULTMANAGEMENT_NOT_ALLOWED = 0x00000001; API M3W API KS X ISO/IEC 23004 6:2008 10 1 RC_ERR_FAULTMANAGEM
13、ENT_NOT_ALLOWED . setMiddleMan . 6.1.1.2.1.2 rcFaultManagement_MiddlemanRecord_t struct _rcFaultManagement_MiddlemanRecord_t pUUID middlemanId; pUUID svcId; pUUID dummyId; rcFaultManagement_MiddlemanRecord_t, *prcFaultManagement_MiddlemanRecord_t; struct . ID, ID, ID . ID ( ). 6.1.1.2.2 . 6.1.1.3 6.
14、1.1.3.1 3 FaultManagement ( ). . KS X ISO/IEC 23004 6:2008 11 3 rcIFaultManagementControl InstantiationPolicy . . InstantiationPolicy rcIPolicy . ( ) ( ) InstantiationPolicy . 6.1.1.3.2 6.1.1.3.2.1 2 InstantiationPolicy rcIFaultManagementControl InstantiationPolicy rcIPolicy 6.1.1.3.2.2 Instantiatio
15、nPolicy . . . 3 InstantiationPolicy middlemanRecords KS X ISO/IEC 23004 6:2008 12 6.1.1.3.2.3 . 6.1.1.3.3 6.1.1.3.3.1 FaultManagement InstantiationPolicy . M3W . 4 InstantiationPolicy instantiationPolicy 1 6.1.1.3.3.2 . . 6.1.1.3.4 FaultManagement . 6.1.1.4 6.1.1.4.1 InstantiationPolicy role Instant
16、iationPolicy rcFaultManagement_MiddlemanRecord_t middlemanRecords; FaultManagement . . . KS X ISO/IEC 23004 6:2008 13 5 middlemanRecords . . . InstantiationPolicy FaultManagement . InstantiationPolicy . 6.1.1.5 6.1.1.5.1 rcIFaultManagementControl . . ( .) . ID 6bf7c2b7-ed1b-4f5d-941d-8c9d7c5bb6a5 6.
17、1.1.5.1.1 setMiddleman rcResult setMiddleman ( in pUUID middleman, in pUUID untrusted, in pUUID dummy ); KS X ISO/IEC 23004 6:2008 14 . 6 middleman ( ) UUID untrusted UUID dummy UUID . 7 RC_ERR_FAULTMANAGEMENT_NOT_ALLOWED . . middlemanRecords = M . middlemanRecords = M 6.1.1.5.1.2 clearMiddleman rcR
18、esult clearMiddleman ( in pUUID middleman, in pUUID untrusted ); KS X ISO/IEC 23004 6:2008 15 . 8 middleman ( ) UUID untrusted UUID middlemanRecords = M . X middlemanRecords = 6.1.1.5.2 rcIPolicy . ( ) InstantiationPolicy . ID 8751b464-f875-4339-8195-85ded910c82d KS X ISO/IEC 23004 6:2008 16 6.1.1.5
19、.2.1 getServiceUUID rcResult getServiceUUID ( in pUUID svcId, out pUUID *retValue ); UUID UUID InstantiationPolicy UUID . 9 svcId UUID retValue UUID middlemanRecords = M . ( m,d : M) retValue = m ( m,s : M) retValue = s retValue = svcId 6.2 6.2.1 KS X ISO/IEC 23004 6:2008 17 6.2.1.1 . . , . 6.2.1.2 6.2.1.2.1 6.2.1.2.1.1 . . 6.2.1.2.1.2 rcFaultManager_MiddlemanInstanceRecord_t struct _rcFaultManager_MiddlemanInstanceRecord_t prcIMiddleman middlemanIntf; pUUID middlemanId; Int32 Id; rc