1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X ISO/IEC 23004 5 5: KS X ISO/IEC 23004 5:2008 2008 12 30 http:/www.kats.go.krKS X ISO/IEC 23004 5:2008 : e- ( ) ( ) () () ( ) : (JTC1/SC29) ( ) ( ) KBS LG ETRI ( ) KS X ISO/IEC 23004 5: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 5:2008 i ii .1 1 1 2 1 3 .1 3.1 1 3.2 7 4 8 5 .8 6 9 6.1 9 6.2 13 7 .18 8 .19 8.1 19 8.2 22 8.3 .40 A( ) .41 B( ) .49 60 KS X ISO/IEC 23004 5:2008 .61 KS X ISO/IEC 23004 5:2008 ii (KS X) ISO/IEC 23004 . 1: 2: 3: 4: 5: 6: 7
3、: KS X ISO/IEC 23004 5:2008 5: Information technology Multimedia Middleware Part 5: Component download 2008 1 ISO/IEC 23004 5, Information technology Multimedia Middleware Part 5: Component download . 1 MPEG (M3W) . M3W (API) . M3W API M3W . M3W . 2 . . ( ) . ISO/IEC 23004 1: 2007, Information techn
4、ology 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 5:2008 2 3.1.3 (logical component) 3.1.4 (role) 3.1.5 (role instance) 3.1.6 (a
5、ttribute) . 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 5:2008 3 3.1.13 (model constant) ( ) 3.1.14 (enum element type) OR 32 ( ) 3.1.15 (enum set type) 32 3.1.16 (se
6、t type) . 3.1.17 (map type) ( ) ( ) . 3.1.18 (entity type) 3.1.19 (interface-role model) (UML : 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 5:2008 4 S R , S R , S R . 3.1.24 (div
7、ersity) 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 behavior) KS X ISO/IEC 23004
8、 5: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-action table) KS X ISO/IEC
9、 23004 5: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) (out-call) . 3.1.53 (out-call) 3.1.54 (postcondition)
10、 KS X ISO/IEC 23004 5:2008 7 3.1.55 (asynchronous function) . 3.2 3.2.1 (appliance) , (OS), . 3.2.2 (application) 3.2.3 (component) M3W M3W . 3.2.4 (component model) , . 3.2.5 (device) . . 3.2.6 (executable component) . 3.2.7 M3W (M3W system) M3W 3.2.8 (operational) M3W KS X ISO/IEC 23004 5:2008 8 3
11、.2.9 (platform) (OS : Operating System) 3.2.10 (system) , , , 4 API (Application Programming Interface) IDL (Interface Definition Language) M3W (Multimedia Middleware) OS (Operating System) UML (Unified Modeling Language) 5 , M3W API . . M3W M3W (6.1.1 ). (6.2.1 ). M3W ( ) . 1 ( ) M3W API API KS X I
12、SO/IEC 23004 5:2008 9 . M3W ISO/IEC 23004 3 . M3W API . ( , ) (8. ). ISO/IEC 23004 1 . 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_TARGET_LOCATOR_NOT_FOUND = 0x00000001 const rcResult RC_ERR_TARGET_CANNOT_STORE_COMPONENT = 0x00000002 1 RC_ERR_TARGET_LOCATOR_
13、NOT_FOUND . RC_ERR_TARGET_CANNOT_STORE_COMPONENT . KS X ISO/IEC 23004 5:2008 10 6.1.1.2.2 . 6.1.1.3 6.1.1.3.1 2 ( ) . . 2 rcITarget . . . . 6.1.1.3.2 6.1.1.3.2.1 2 rcITarget 6.1.1.3.2.2 downloadTask . downloadTask . 6.1.1.3.2.3 . rclTarget KS X ISO/IEC 23004 5:2008 11 6.1.1.3.3 6.1.1.3.3.1 . . . 3 T
14、arget Target 1 6.1.1.3.3.2 . . 6.1.1.3.4 . 6.1.1.4 6.1.1.4.1 role Target . , . . . KS X ISO/IEC 23004 5:2008 12 . . downloadTask , . ( ) , , . ( ) . 6.1.1.5 6.1.1.5.1 rcITarget . . . ID bf56a0f9-0d34-4925-88b3-11631628e3bf 6.1.1.5.1.1 DownloadTask RcResult downloadTask(in String locatorAddress, in S
15、tring targetName, in String targetAddress, in Int32 targetPort, in String downloadDirectory); ; . KS X ISO/IEC 23004 5:2008 13 4 targetName targetAddress . . targetPort downloadDirectory ( ) . 5 RC_ERR_TARGET_LOCATOR_NOT_FOUND . RC_ERR_TARGET_CANNOT_STORE_COMPONENT . targetPort . targetPort . 6.2 6.
16、2.1 6.2.1.1 . . . . . 6.2.1.2 6.2.1.2.1 KS X ISO/IEC 23004 5:2008 14 6.2.1.2.1.1 const rcResult RC_ERR_INITIATOR_LOCATOR_NOT_FOUND = 0x00000001 const rcResult RC_ERR_INITIATOR_TARGET_NOT_FOUND = 0x00000002 const rcResult RC_ERR_INITIATOR_REPOSITORY_NOT_FOUND = 0x00000004 const rcResult RC_ERR_INITIA
17、TOR_DECIDER_NOT_FOUND = 0x00000008 const rcResult RC_ERR_INITIATOR_COMPONENT_NOT_FOUND = 0x00000010 const rcResult RC_ERR_INITIATOR_DOWNLOAD_NOT_FEASIBLE = 0x00000020 6 RC_ERR_INITIATOR_LOCATOR_NOT_FOUND . RC_ERR_INITIATOR_TARGET_NOT_FOUND ( ) . RC_ERR_INITIATOR_REPOSITORY_NOT_FOUND ( ) . RC_ERR_INI
18、TIATOR_DECIDER_NOT_FOUND ( ) . RC_ERR_INITIATOR_COMPONENT_NOT_FOUND ( ) . RC_ERR_INITIATOR_DOWNLOAD_NOT_FEASIBLE ( ) 6.2.1.2.2 . 6.2.1.3 6.2.1.3.1 3 ( ) . . KS X ISO/IEC 23004 5:2008 15 3 rcIInitiator . . ( . 8.1.2 ), . 6.2.1.3.2 6.2.1.3.2.1 7 rcIInitiator 6.2.1.3.2.2 getComp . getComp , , . 6.2.1.3.2.3 . 6.2.1.3.3 6.2.1.3.3.1 . . 8 Initiator Initiator 1 rclInitiator KS X ISO/IEC 23004 5:2008 16 6.2.1.3.3.2 . . . 6.2.1.3.3.3 . 6.2.1.4 6.2.1.4.1 role Target