1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X ISO/IEC 23004 7 7: KS X ISO/IEC 23004 7:2008 2008 12 30 http:/www.kats.go.krKS X ISO/IEC 23004 7:2008 : e- ( ) ( ) () () ( ) : (JTC1/SC29) ( ) ( ) KBS LG ETRI ( ) KS X ISO/IEC 23004 7: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 7:2008 i ii .1 1 1 2 1 3 .1 3.1 1 3.2 7 4 7 5 .8 6 8 6.1 8 6.2 .28 6.3 38 7 .47 7.1 .47 7.2 .48 7.3 .48 8 .49 8.1 49 8.2 54 8.3 58 8.4 .61 A( ) M3W .62 B( ) .64 C( ) .67 D( ) XML .69 73 KS X ISO/IEC 23004 7:2008 .74 KS X I
3、SO/IEC 23004 7:2008 ii (KS X) ISO/IEC 23004 . 1: 2: 3: 4: 5: 6: 7: KS X ISO/IEC 23004 7:2008 7: Information technology Multimedia Middleware Part 7: System integrity management 2008 1 ISO/IEC 23004 7, Information technology Multimedia Middleware Part 7: System integrity management . 1 MPEG (M3W) . M
4、3W (API) . M3W API M3W . M3W . 2 . . ( ) . ISO/IEC 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 2
5、3004 7:2008 2 3.1.3 (logical component) 3.1.4 (role) 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 7:2008 3 3.1.13 (model cons
6、tant) ( ) 3.1.14 (enum element type) OR 32 ( ) 3.1.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
7、 (specialization) KS X ISO/IEC 23004 7:2008 4 S R , 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 behavi
8、or) 3.1.33 (streaming behavior) 3.1.34 (active behavior) KS X ISO/IEC 23004 7: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
9、 subscription) 3.1.43 (cookie) . . 3.1.44 (event-action table) . KS X ISO/IEC 23004 7: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
10、.1.52 (action clause) . 3.1.53 (out-call) 3.1.54 (postcondition) 3.1.55 (asynchronous function) KS X ISO/IEC 23004 7:2008 7 . 3.2 3.2.1 (application layer) 3.2.2 (middleware layer) M3W 3.2.3 (platform layer) (OS) 3.2.4 (error) 3.2.5 (failure) 3.2.6 (fault) 3.2.7 (monitoring) 3.2.8 (diagnosis) 3.2.9
11、(repair) 4 API (Application Programming Interface) IDL (Interface Definition Language) M3W (Multimedia Middleware) OS (Operating System) UML (Unified Modeling Language) KS X ISO/IEC 23004 7:2008 8 5 . M3W . API . : . : ( ), ( ), ( ) . : . ( ) ( ) . : . , . KS X ISO/IEC 23004 6 . ISO/IEC 23004 1 . IS
12、O/IEC 23004 3 . 1 M3W API 6 6.1 6.1.1 6.1.1.1 API M3W API KS X ISO/IEC 23004 7:2008 9 . . . . , , , . . , , , M3W . , . . 6.1.1.2 6.1.1.2.1 6.1.1.2.1.1 const rcResult RC_ERR_TERMINAL_NOT_ALLOWED = 0x00000001; const rcResult RC_ERR_TERMINAL_INVALID_LOCATION = 0x00000002 const rcResult RC_ERR_TERMINAL
13、_INVALID_COMPONENT = 0x00000004 const rcResult RC_ERR_TERMINAL_ALREADY_REGISTERED = 0x00000008 const rcResult RC_ERR_TERMINAL_UNKNOWN_COMPONENT = 0x00000010 1 RC_ERR_TERMINAL_NOT_ALLOWED . RC_ERR_TERMINAL_INVALID_LOCATION . . RC_ERR_TERMINAL_INVALID_COMPONENT . RC_ERR_TERMINAL_ALREADY_REGISTERED . R
14、C_ERR_TERMINAL_UNKNOWN_COMPONENT . KS X ISO/IEC 23004 7:2008 10 6.1.1.2.1.2 rcRuntime_ComponentRecord_t struct _rcRuntime_ComponentRecord_t UUID cmpId; String location; rcRuntime_ComponentRecord_t, *prcRuntime_ComponentRecord_t; struct 6.1.1.2.1.3 rcRuntime_ContainerRecord_t struct _rcRuntime_Contai
15、nerRecord_t UUID cmpId; UUID svcId; rcRuntime_ContainerRecord_t, *prcRuntime_ContainerRecord_t; struct 6.1.1.2.1.4 rcRuntime_CompliesRecord_t struct _rcRuntime_CompliesRecord_t UUID complying; UUID blueprint; rcRuntime_CompliesRecord_t, *prcRuntime_CompliesRecord_t; struct 6.1.1.2.1.5 rcTerminal_Mod
16、elRecord_t KS X ISO/IEC 23004 7:2008 11 struct _rcTerminal_ModelRecord_t UUID mdlId; String location; rcTerminal_ModelRecord_t, *prcTerminal_ModelRecord_t; struct 6.1.1.2.1.6 rcTerminal_M3WComponentRecord_t struct _rcTerminal_M3WComponentRecord_t UUID m3wCmpId; String location; rcTerminal_M3WCompone
17、ntRecord_t, *prcTerminal_M3WComponentRecord_t; struct ( ) M3W 6.1.1.2.2 . 6.1.1.3 6.1.1.3.1 2 ( ). . KS X ISO/IEC 23004 7:2008 12 2 Terminal Terminal . rcIModel rcITerminalSource . rcIModel . rcITerminalSource . 6.1.1.3.2 6.1.1.3.2.1 2 Terminal rcIModel Terminal rcITerminalSource 6.1.1.3.2.2 . . com
18、ponentRecords, containerRecords, compliesRecords . M3W M3W . modelRecords . M3W m3wComponentRecords . KS X ISO/IEC 23004 7:2008 13 3 Terminal componentRecords Terminal containerRecords Terminal compliesRecords Terminal modelRecords Terminal m3wComponentRecords 6.1.1.3.2.3 . 6.1.1.3.3 6.1.1.3.3.1 Ter
19、minal . . 4 Terminal terminal 1 6.1.1.3.3.2 . . 6.1.1.3.4 Terminal . 6.1.1.4 6.1.1.4.1 Terminal role Terminal rcRuntime_ComponentRecord_t componentRecords; rcRuntime_ContainerRecord_t containerRecords; rcRuntime_CompliesRecord_t compliesRecords; rcTerminal_ModelRecord_t modelRecords; rcTerminal_M3WC
20、omponentRecord_t m3wComponentRecords; KS X ISO/IEC 23004 7:2008 14 (rcIModel) (rcITerminalSource) . . ( ). 5 componentRecords uuid . containerRecords . compliesRecords “ ” . modelRecords . m3wComponentRecords M3W . . Terminal Terminal . Terminal . 6.1.1.5 6.1.1.5.1 rcIModel . . . ID KS X ISO/IEC 230
21、04 7:2008 15 CE752B0D-3795-D811-87C6-0008744C31AC 6.1.1.5.1.1 inspect rcResult inspect ( in String elementId, out String element ); . 6 elementId XPath13 ( ) element XML ElementId = X “Selfmodel“ = M . Element = “XML fragment of the self model selected by X“ “Selfmodel“ = M 6.1.1.5.1.2 update KS X ISO/IEC 23004 7