Title: CORBA? ??? CIM Framework ??
1CORBA? ??? CIM Framework ??
??????????
G D S
2??
- ???? ??
- Framework
- CORBA
- CIM Framework
- ??
3???? ??
- ?????
- ????? CORBA? ??? ?? ?? ?????? ???? ????
S/W ?? - ????
- 1997.1.1 1998.12.31 (24??)
- ????
- CIM ?? ?? ? CIM Framework ??
- ???? ???? ??? CIM ???? ??
- CORBA? ??? ?? CIM ??
4???? ?? (cont.)
?? ??? ?? ??? ??
??? ?? ? ?? ???? ??? ?? ??? ?? ??? ? ??? ??
?? ??? ?? ?? ??
?? ???? ??? ??? ?? ?? ??? ?? ?? ??
?? ?? ?? ??
Internet? ??? ? ??? H/W ???? ? ?? ?? ??(CORBA)
???? global?
5???? ?? (cont.)
- ????
- ????? ??? S/W ??
- ?? ??? ?? ???? ??? S/W ??
- ????????? ?? ???? ??
6Framework
- Definition
- A framework is a set of prefabricated software
building blocks that programmers can use, extend,
or customize for specific computing solutions. - A framework is a set of classes that embodies an
abstract design for solutions to a family of
related problems. - by Taligent (www.taligent.com)
- ? ?? ??(Problem Domain)? ???? ?? ?? ??? ????? ??
???? ??? ???, ? ???? ?? ?? ?? ?? ? ??? ? ??.
7Framework (cont.)
- Structural Programming vs. Framework
Structural Programming
Framework
main()
class1
sub1()
sub2()
class2
class3
F
child2
child3
sub3()
F
class4
S/W ??
????
child class
????
??
8Framework (cont.)
- Property
- A set of classes
- Default - prefabricated, abstract - behavior
- Embodied workflow(flow of execution)
- Extended by customization(deriving or
overriding) - Fewer lines of programmers code
- In terms of families rather than individual
problems - Better integration across applications
- Require more efforts to build and learn
- Harder to debug
9Framework (cont.)
Library
Framework
Set of classes instantiated by client Client
calls functions No predefined for flow of
control No predefined interaction No default
behavior
Customization by subclassing Calls client
functions Controls flow of execution Defines
object interaction Provides default behavior
10Framework (cont.)
- S/W ??? ??
- Level 1. COPY PASTE
- Level 2. PARAMETERIZING
- Level 3. DESIGN REUSE
- Level 4. FRAMEWORK
11Framework (cont.)
- ?? ?? ??
- Level 1. COPY PASTE
- Level 2. PARAMETERIZING
- Level 3. DESIGN REUSE
- Level 4. FRAMEWORK
12Framework (cont.)
- ?? ??
- step 1. Domain Analysis
- ?? ???
- ?? ?? ?? ? ?? ???
- ??? ? ???
- step 2. Design using Standards
- Design Patterns ??
- ?? Framework ?? ? ??
- step 3. Design Framework
- ??? ?? (Basic Scenario ) ??
- ?? ?? ( attributes ? setting, verifying methods,
etc. ) - Event-driven Methods ??
13Framework (cont.)
- Framework ?? ??
- 1) WORKS SEMATECHs CIM FRAMEWORK
- US chip manufacturing consortium
(www.sematech.org) - ???????? ??? ??? ?? ?? ?? CIM Framework??? ??
- Reduce cycle time,cost increase flexibility
uniform production operation - 2) POSC Petrotechnical Open Software
Corporation - Oil and Gas companies (www.posc.org)
- Build custom applications to a standard business
model - 3) MFC Microsoft Foundation Class Library
- Microsoft?? ??? GUI application framework
- Windows programming? ?? ? ? ?? Framework ??
14CORBA
Application Objects
Vertical Facilities
Horizontal Facilities..
smalltalk,..
C,C
Healthcare Financial ...
user interface info manage ..
Common Object Request Broker Architecture
93
94
95
96
Name Event Life Cycle Persistence
Relationships Externalization Transactions Concurr
ency
Trading Change Mgmt Data Interchabge
Security Time Licensing Properties Query
CORBA services
15CORBA (cont.)
- CORBA ???
- IDL(Interface Definition Language) ??
- Client? Object Implementation ?? ??
- ?? ?? ?? ??
Object Implementation
Client
IDL
API Lang
Implementation Skeletons
Dynamic Invocation
Client Stubs
Object Adapter
ORB Interface
ORB Core
One interface
Proprietary interface
One interface per object adapter
Normal call interface Up call interface
One interface per object operation
16CORBA (cont.)
- CIM Framework??? CORBA ???
- CIM ??? ???
- ??? DB? ??? ?? ??
- Global ???? ??? ??? ?? ??
CORBA
17CIM Framework
- CIM Framework?? - (1/2)
- ?? ?? ???(CIM)? ?? ??(Framework)
- ?? ???? ? ???? customizing
? ???
? ? ??
CIM Framework
18CIM Framework (cont.)
- CIM Framework?? - (2/2)
- ?????? ???? CIM ?? ??
- ????? ?? ? ??? ?? customizing
- CORBA? ???? ???? ???
CIM XX ??
CIM XX ??
CORBA
19CIM Framework (cont.)
- ?? ??
- UI(User Interface) ?
- CIM Framework ?? Component?? ????.
- CF(CIM Framework) ?
- ?? ??(CIM Logic) ?
- DB ??? ?? DDF(Distributed Data Framework) ??
Component? ????. - DDF(Distributed Data Framework) ?
- DB ?? ??? ???? ?
- ? ?? ?? ????? ???? ? ??? ??.
20CIM Framework (cont.)
UI ?
Component
Component
CF ?
MC
...
Component
DBObject
DBContainer
DDF ?
...
DBManager
DBVar
21CIM Framework (cont.)
- ????
- DB MSSQL, Oracle ? DB
Library DBTool.h - CORBA Products Orbix v2.3 ? Development
Language C
????
????
????
C
MSSQL, Oracle
DBTools.h
Orbix
ODBC
CORBA
TCP/IP
22CIM Framework (cont.)
- Distributed Data Framework ? ???
23CIM Framework (cont.)
- Distributed Data Framework ? ?? ???
DBvar
MetaData
DBLocation
MetaDataManager
DBTable
DBObject
DBManager
DBMProxy
DBM_i
DBContainer
MDI
MDI_i
CF ?? ??
MDIProxy
DBMDI
RemoteMDI
24CIM Framework (cont.)
- CIM Framework ? ?? ??
- MD(Manufacturing Data) ??? ??
- MC(Manufacturing Component) ?? ??
- ?? MD ?? DBObject? ?????? DB ?? ??? ???.
- CIM ??? Component??? ???? ????.
- DDF ??? DBContainer? DBObject? ?? ????.
- Component ? MC? ?? Remote Component? ????.
25CIM Framework (cont.)
CIM Framework ?
Component
Component
MC
Proxy
DBObject
DBContainer
...
Data Framework ?
...
MD
26CIM Framework (cont.)
CIM Framework ?
Remote Side
Component
Component
CORBA
Component
MC
DBManager
DBObject
DBContainer
MDI
MDI_i
DBMDI
RemoteMDI
ODBC
CORBA
ODBC
Data Framework ?
27CIM Framework (cont.)
class OrderMD public DBObject public
RWCString sOrderID // ????
RWCString sCustomerID // ??ID
double dContractedTotalPrice // ?????
DBvar SELOrderID DBvar
SELCustomerID DBvar SELContractedTotalPri
ce OrderMD() OrderMD
operator (OrderMD t) int
SortByOrderID() return 0 int
SortByCustomerID() return 1 int
SortByContractedTotalPrice() return 2
28CIM Framework (cont.)
- MD ? ????, OrderMD (cont.)
OrderMDOrderMD() setClassName("OrderMD")
setMember(SELOrderID, sOrderID,
"sOrderID") setMember(SELCustomerID,
sCustomerID, "sCustomerID")
setMember(SELContractedTotalPrice,dContractedTot
alPrice,
"dContractedTotalPrice")
SELOrderID.setKey() OrderMD
OrderMDoperator (OrderMD t) sOrderID
t.sOrderID sCustomerID t.sCustomerID
dContractedTotalPrice t.dContractedTotalPri
ce return this
29CIM Framework (cont.)
30CIM Framework (cont.)
??
????
BOM
????
????
????
??
??
MPS
MRP
????
??
??
LOT
LINE
???
??
????
TOOL
31CIM Framework (cont.)
??
????
BOM
????
????
????
??
??
MPS
MRP
????
??
??
LOT
LINE
???
??
????
TOOL
32CIM Framework (cont.)
COMP_A
COMP_B
MC_1
MC_2
33CIM Framework (cont.)
- ? MPS(Master Product Scheduling )
- ?? ??(product) ? ??(due date) ?? ???(quantity)
?? ???? ?? ???(per term) ??? ?? ??(planning)
???
A, 14?
??
????
??
??
34CIM Framework (cont.)
- MPS ??
- 1.1 ?? ???
- ?? itemid
- ??? duedate
- ?? totalqty
- ???? unitterm ( Y(?), M(?), W(?) )
- ??? ???? ??? mpslist ( list of ltqty, dategt )
35CIM Framework (cont.)
- MPS ?? (cont.)
- 1.2 ?? ?? ??
- 1) ?? ?? ?? ?? ?? etc
- 2) target ?? itemid, quantity, duedate
- 3) ???? ?? unitterm
- 4) ?? ?? ?? ?? ?? ??
- 5) ??? ??? ?? ???? ??, ??? ?? ?
- 6) ?? ? ?? MPS DB? ??
- 7) ?? ? ?? MRP ??, ?? ??? ??, etc.
36CIM Framework (cont.)
- MPS ?? ( ?? ?? )
- 2.1 Design Patterns ? ?? S/W ?? ??
?? ?? ??
?? S/W ?? ??
?? ?? Target ?? ???? ?? ?? ?? ??? ??? ??
?? ? ?? ?? ??
? ?? ?? MCUserPermission ? ? ? ?? ??
CmpInvControl ? ? ? MRP ?? MCTriggerWorkFlow
37CIM Framework (cont.)
- MPS ?? ( ?? ?? )
- 2.2 ?? ??
?? ?? ??
?? ??
?? ?? Target ?? ???? ?? ?? ?? ??? ??? ??
?? ? ?? ?? ??
? ? setItemID(), checkItemID() etc ?
setUnitTerm(), checkUnitTerm() ? ? ??? MC,
MCSetMPSList ?? ? confirmMPS(), saveMPS() ?
38CIM Framework (cont.)
MCUserPermission
CmpMPS
MCSetMPSLists
MCTriggerWF
MCWCControl
MCInvControl
CmpMRP
CmpInvControl
CmpWCControl
CmpXX
main Component
MCXX
Sub Component
39??
- CORBA? Framework? ???? CIM Framework ??
- S/W ???? ? ?? ?? ??? ??
- ??/???? ??, BPR ??, ?? ?? ??
CORBA
S/W ????
?? ?? ???
Framework