SlideShare a Scribd company logo
1



                                                                A Model-Driven Approach for
                                                                  Deploying Trading-Based
                                                              Knowledge Representation Systems
A Model-Driven Approach for Deploying TKR Systems




                                                                      José A. Asensio1, Luis Iribarne1, Nicolás Padilla1,
                                                                                 Cristina Vicente-Chicote2

                                                                           1Applied
                                                                                 Computing Group, University of Almería, SPAIN
                                                                                 {jacortes, luis.iribarne, npadilla}@ual.es
                                                    2 Dept. of Information and Communication Technologies, Technical University of Cartagena, SPAIN

                                                                                         cristina.vicente@upct.es


                                                                                       OTM – ISDE, Crete, GREECE
                                                                                           17-21st October, 2011


                                                            Applied Computing Group                            OTM – 3rd Information Systems in Distributed Environment
                                                            University of Almería, SPAIN                                           Crete (GREECE), 17-21st October, 2011
2

                                                                                   Index
                                                            • Context
A Model-Driven Approach for Deploying TKR Systems




                                                            • TKR System
                                                            • Implementation Repository
                                                            • System Configuration

                                                            • Case Study

                                                            • Conclusions
                                                            • Future Work
                                                    Applied Computing Group                OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                               Crete (GREECE), 17-21st October, 2011
3

                                                                                       Context

                                                    • WMIS facilitate information retrieval and
                                                      decision-making, allowing cooperative
A Model-Driven Approach for Deploying TKR Systems




                                                      work.

                                                    • WMIS design and development require:
                                                      – a common vocabulary, and
                                                      – a certain capacity to mediate objects.




                                                        Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
4

                                                                                       Context

                                                    • WMIS facilitate information retrieval and
                                                      decision-making, allowing cooperative
A Model-Driven Approach for Deploying TKR Systems




                                                      work.

                                                    • WMIS design and development require:
                                                      – a common vocabulary ► Ontology
                                                      – a certain capacity to mediate objects.




                                                        Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
5

                                                                                       Context

                                                    • WMIS facilitate information retrieval and
                                                      decision-making, allowing cooperative
A Model-Driven Approach for Deploying TKR Systems




                                                      work.

                                                    • WMIS design and development require:
                                                      – a common vocabulary ► Ontology
                                                      – a certain capacity to mediate objects ►
                                                         ► Trader



                                                        Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
6

                                                                                       Context

                                                    • Ontologies can be used for:
A Model-Driven Approach for Deploying TKR Systems




                                                      – describing the information domain knowledge
                                                        in the system, and

                                                      – modeling the processes and communications
                                                        between system components.




                                                        Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
7

                                                                                       Context

                                                    • The use of traders is proposed to improve
                                                      the interoperability of the system
A Model-Driven Approach for Deploying TKR Systems




                                                      components:
                                                      – Trader acts as intermediary between objects.
                                                      – Trader improves querying and information
                                                        retrieval (with the use of ontologies).




                                                        Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
8

                                                                                       Context

                                                    • The use of traders is proposed to improve
                                                      the interoperability of the system
A Model-Driven Approach for Deploying TKR Systems




                                                      components:
                                                      – Trader acts as intermediary between objects.
                                                      – Trader improves querying and information
                                                        retrieval (with the use of ontologies).
                                                                                ▼
                                                                     Trading-based Knowledge
                                                                      Representation Systems

                                                        Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
9

                                                                                   Context
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                              ISMM             IRMM

                                                                                                                                 GMF         EMF

                                                                                                                               ISM             IRM

                                                                                                                                 M2M         M2M

                                                                                                                                       CMM

                                                                                                                                         DSL

                                                                                                                                       CM

                                                                                                                                         M2T

                                                                                                                                     CODE




                                                    Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
10

                                                                                   Context
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                              ISMM             IRMM

                                                                                                                                 GMF         EMF

                                                                                                                               ISM             IRM

                                                                                                                                 M2M         M2M

                                                                                                                                       CMM

                                                                                                                                         DSL

                                                                                                                                       CM

                                                                                                                                         M2T

                                                                                                                                     CODE




                                                    Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
11

                                                                                   Context
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                              ISMM             IRMM

                                                                                                                                 GMF         EMF

                                                                                                                               ISM             IRM

                                                                                                                                 M2M         M2M

                                                                                                                                       CMM

                                                                                                                                         DSL

                                                                                                                                       CM

                                                                                                                                         M2T

                                                                                                                                     CODE




                                                    Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
12

                                                                                   Context
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                              ISMM             IRMM

                                                                                                                                 GMF         EMF

                                                                                                                               ISM             IRM

                                                                                                                                 M2M        M2M

                                                                                                                                       CMM

                                                                                                                                         DSL

                                                                                                                                       CM

                                                                                                                                         M2T

                                                                                                                                     CODE




                                                    Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
13

                                                           MDE Approach – TKR System

                                                    Information System Metamodel
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                    ISMM             IRMM

                                                                                                                       GMF         EMF

                                                                                                                     ISM             IRM

                                                                                                                       M2M         M2M

                                                                                                                             CMM

                                                                                                                               DSL

                                                                                                                             CM

                                                                                                                               M2T

                                                                                                                           CODE




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
14

                                                           MDE Approach – TKR System
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
15

                                                           MDE Approach – TKR System

                                                        …distributed on
A Model-Driven Approach for Deploying TKR Systems




                                                        different nodes…




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
16

                                                           MDE Approach – TKR System


                                                                                              …modules…
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
17

                                                           MDE Approach – TKR System
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
18

                                                           MDE Approach – TKR System


                                                                                         …shared services…
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
19

                                                           MDE Approach – TKR System


                                                        …user demands…
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
20

                                                           MDE Approach – TKR System


                                                                                         …information queries…
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
21

                                                           MDE Approach – TKR System

                                                    …search and location
A Model-Driven Approach for Deploying TKR Systems




                                                    of information…




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
22

                                                           MDE Approach – TKR System


                                                    …knowledge bases…
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
23

                                                           MDE Approach – TKR System
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
24

                                                           MDE Approach – TKR System
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
25

                                                           MDE Approach – TKR System
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
26

                                                    MDE Approach – Implementation Repository

                                                     Implementation Repository Metamodel
A Model-Driven Approach for Deploying TKR Systems




                                                                                                    Package
                                                                                                name : EString

                                                                                        hasPlatform

                                                                                                 1..*
                                                                             hasPlatform           Platform
                                                                                       0..1     name : EString

                                                                                           hasModule
                                                                                                               hasSuperModule
                                                                                                                 0..1                                            ISMM             IRMM
                                                                                                   1..*
                                                                                                      Module                                                        GMF         EMF

                                                                           hasSubmodule         name : EString                                                    ISM             IRM
                                                                                       1..*     uri : EString
                                                                                                                                                                    M2M         M2M

                                                                                                                                                                          CMM

                                                                                                                                                                            DSL
                                                                             CompositeModule                     SimpleModule
                                                                                                                                                                          CM

                                                                                                                                                                            M2T

                                                                                                                                                                        CODE




                                                        Applied Computing Group                                                 OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                                                Crete (GREECE), 17-21st October, 2011
27

                                                    MDE Approach – Implementation Repository

                                                                                                              Package
A Model-Driven Approach for Deploying TKR Systems




                                                                                                          name : EString

                                                                                                 hasPlatform
                                                                                                           1..*
                                                                                       hasPlatform           Platform                        …deployment
                                                                                                          name : EString
                                                                                                0..1
                                                                                                                                             platform…
                                                                                                     hasModule
                                                                                                                        hasSuperModule
                                                                                                             1..*          0..1

                                                                                                               Module
                                                                                 hasSubmodule             name : EString
                                                                                                1..*      uri : EString




                                                                                       CompositeModule                     SimpleModule




                                                        Applied Computing Group                                                   OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                                                  Crete (GREECE), 17-21st October, 2011
28

                                                    MDE Approach – Implementation Repository

                                                                                                              Package
A Model-Driven Approach for Deploying TKR Systems




                                                                                                          name : EString

                                                                                                 hasPlatform
                                                                                                           1..*
                                                                                       hasPlatform           Platform
                                                                                                0..1      name : EString

                                                                                                     hasModule
                                                                                                                        hasSuperModule
                                                                                                             1..*          0..1


                                                                                                                                             …module
                                                                                                               Module
                                                                                 hasSubmodule             name : EString
                                                                                                1..*      uri : EString                      implementation…


                                                                                       CompositeModule                     SimpleModule




                                                        Applied Computing Group                                                   OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                                                  Crete (GREECE), 17-21st October, 2011
29

                                                    MDE Approach – Implementation Repository

                                                                                                              Package
A Model-Driven Approach for Deploying TKR Systems




                                                                                                          name : EString

                                                                                                 hasPlatform
                                                                                                           1..*
                                                                                       hasPlatform           Platform
                                                                                                0..1      name : EString

                                                                                                     hasModule
                                                                                                                        hasSuperModule
                                                                                                             1..*          0..1

                                                                                                               Module
                                                                                 hasSubmodule             name : EString
                                                                                                1..*      uri : EString




                                                                                       CompositeModule                     SimpleModule




                                                        Applied Computing Group                                                   OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                                                  Crete (GREECE), 17-21st October, 2011
30

                                                    MDE Approach – Implementation Repository

                                                                                                              Package
A Model-Driven Approach for Deploying TKR Systems




                                                                                                          name : EString

                                                                                                 hasPlatform
                                                                                                           1..*
                                                                                       hasPlatform           Platform
                                                                                                0..1      name : EString

                                                                                                     hasModule
                                                                                                                        hasSuperModule
                                                                                                             1..*          0..1

                                                                                                               Module
                                                                                 hasSubmodule             name : EString
                                                                                                1..*      uri : EString




                                                                                       CompositeModule                     SimpleModule




                                                        Applied Computing Group                                                   OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                                                  Crete (GREECE), 17-21st October, 2011
31

                                                    MDE Approach – Implementation Repository

                                                                                                              Package
A Model-Driven Approach for Deploying TKR Systems




                                                                                                          name : EString

                                                                                                 hasPlatform
                                                                                                           1..*
                                                                                       hasPlatform           Platform
                                                                                                0..1      name : EString

                                                                                                     hasModule
                                                                                                                        hasSuperModule
                                                                                                             1..*          0..1

                                                                                                               Module
                                                                                 hasSubmodule             name : EString
                                                                                                1..*      uri : EString




                                                                                       CompositeModule                     SimpleModule




                                                        Applied Computing Group                                                   OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                                                  Crete (GREECE), 17-21st October, 2011
32

                                                          MDE Approach – System Configuration

                                                                         Configuration Metamodel
A Model-Driven Approach for Deploying TKR Systems




                                                                                                              Package
                                                    hasInformationSystem                                name : EString                     hasImplementationRepositor y
                                                                                hasImport
                                                                                                                 hasStatement
                                                                                0..*                             0..*
                                                                           Import                         Statement
                                                               importedNamespace : EString


                                                                                                hasISModule         hasIRModule
                                                                                                                                                                                       ISMM             IRMM

                                                          InformationSystemPackage                                        ImplementationRepositoryPackage                                 GMF         EMF

                                                                                                                                                                                        ISM             IRM
                                                        0..1      InformationSystem                                                                 Platform     0..*
                                                                                                                                                                                          M2M         M2M

                                                                                                                                                                                                CMM
                                                                                       Module      1                      1       Module
                                                                                                                                                                                                  DSL

                                                                                                                                                                                                CM

                                                                                                                                                                                                  M2T

                                                                                                                                                                                              CODE




                                                                  Applied Computing Group                                                             OTM – 3rd Information Systems in Distributed Environment
                                                                  University of Almería, SPAIN                                                                            Crete (GREECE), 17-21st October, 2011
33

                                                     MDE Approach – System Configuration

                                                                                                               Package
A Model-Driven Approach for Deploying TKR Systems




                                                    hasInformationSystem                                 name : EString                     hasImplementationRepositor y
                                                                                 hasImport
                                                                                                                  hasStatement
                                                                                 0..*                             0..*
                                                                           Import                          Statement
                                                               importedNamespace : EString


                                                                                                 hasISModule         hasIRModule


                                                          InformationSystemPackage                                         ImplementationRepositoryPackage


                                                        0..1      InformationSystem                                                                    Platform      0..*



                                                                                        Module      1                      1       Module




                                                          Applied Computing Group                                                  OTM – 3rd Information Systems in Distributed Environment
                                                          University of Almería, SPAIN                                                                 Crete (GREECE), 17-21st October, 2011
34

                                                     MDE Approach – System Configuration

                                                                                                               Package
A Model-Driven Approach for Deploying TKR Systems




                                                    hasInformationSystem                                 name : EString                     hasImplementationRepositor y
                                                                                 hasImport
                                                                                                                  hasStatement
                                                                                 0..*                             0..*
                                                                           Import                          Statement
                                                               importedNamespace : EString


                                                                                                 hasISModule         hasIRModule


                                                          InformationSystemPackage                                         ImplementationRepositoryPackage


                                                        0..1      InformationSystem                                                                    Platform      0..*



                                                                                        Module      1                      1       Module




                                                          Applied Computing Group                                                  OTM – 3rd Information Systems in Distributed Environment
                                                          University of Almería, SPAIN                                                                 Crete (GREECE), 17-21st October, 2011
35

                                                     MDE Approach – System Configuration

                                                                                                               Package
A Model-Driven Approach for Deploying TKR Systems




                                                    hasInformationSystem                                 name : EString                     hasImplementationRepositor y
                                                                                 hasImport
                                                                                                                  hasStatement
                                                                                 0..*                             0..*
                                                                           Import                          Statement
                                                               importedNamespace : EString


                                                                                                 hasISModule         hasIRModule


                                                          InformationSystemPackage                                         ImplementationRepositoryPackage


                                                        0..1      InformationSystem                                                                    Platform      0..*



                                                                                        Module      1                      1       Module




                                                          Applied Computing Group                                                  OTM – 3rd Information Systems in Distributed Environment
                                                          University of Almería, SPAIN                                                                 Crete (GREECE), 17-21st October, 2011
36

                                                               Case Study – SOLERES-KRS

                                                                                     SOLERES
A Model-Driven Approach for Deploying TKR Systems




                                                    Environmental Management Information System
                                                                    ▼
                                                              SOLERES-KRS
                                                     Knowledge Representation Subsystem
                                                                    ▼
                                                         Trading-based Knowledge
                                                           Representation System

                                                      Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                      University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
37

                                                               Case Study – SOLERES-KRS

                                                                                     SOLERES
A Model-Driven Approach for Deploying TKR Systems




                                                    Environmental Management Information System
                                                                    ▼
                                                              SOLERES-KRS
                                                     Knowledge Representation Subsystem
                                                                    ▼
                                                         Trading-based Knowledge
                                                           Representation System

                                                      Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                      University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
38

                                                               Case Study – SOLERES-KRS

                                                                                     SOLERES
A Model-Driven Approach for Deploying TKR Systems




                                                    Environmental Management Information System
                                                                    ▼
                                                              SOLERES-KRS
                                                     Knowledge Representation Subsystem
                                                                    ▼
                                                         Trading-based Knowledge
                                                           Representation System

                                                      Applied Computing Group                  OTM – 3rd Information Systems in Distributed Environment
                                                      University of Almería, SPAIN                                 Crete (GREECE), 17-21st October, 2011
39

                                                               Case Study – SOLERES-KRS

                                                    GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                      ISMM             IRMM

                                                                                                                         GMF         EMF

                                                                                                                       ISM             IRM

                                                                                                                         M2M         M2M

                                                                                                                               CMM

                                                                                                                                 DSL

                                                                                                                               CM

                                                                                                                                 M2T

                                                                                                                             CODE




                                                      Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                      University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
40

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
41

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
42

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
43

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
44

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
45

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
46

                                                             Case Study – SOLERES-KRS
                                                          GMF Tool – SOLERES-KRS Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
47

                                                              Case Study – SOLERES-KRS

                                                    Implementation Repository Model
A Model-Driven Approach for Deploying TKR Systems




                                                                                                                     ISMM             IRMM

                                                                                                                        GMF         EMF

                                                                                                                      ISM             IRM

                                                                                                                        M2M         M2M

                                                                                                                              CMM

                                                                                                                                DSL

                                                                                                                              CM

                                                                                                                                M2T

                                                                                                                            CODE




                                                     Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                     University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
48

                                                             Case Study – SOLERES-KRS

                                                            Implementation Repository Model
A Model-Driven Approach for Deploying TKR Systems




                                                    Applied Computing Group        OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                       Crete (GREECE), 17-21st October, 2011
49

                                                                        Case Study – SOLERES-KRS
                                                                                 Domain-Specific Language
A Model-Driven Approach for Deploying TKR Systems




                                                     1   grammar org.xtext.isconfig.config.Config with org.eclipse.xtext.common.Terminals
                                                     2
                                                     3   import   "platform:/resource/ISConfig/metamodel/Configuration.ecore"
                                                     4   import   "platform:/resource/ISConfig/metamodel/InfSystem.ecore" as InfSystemPackage
                                                     5   import   "platform:/resource/ISConfig/metamodel/ImplRepository.ecore" as ImplRepPackage
                                                     6   import   "http://www.eclipse.org/emf/2002/Ecore" as ecore
                                                     7
                                                     8   Package returns Package:
                                                     9     ...
                                                    10
                                                    11   Node returns InfSystemPackage::Node:
                                                    12     'Node' name=EString
                                                                                                                                         ISMM           IRMM
                                                    13     '{'
                                                    14         'ip' ip=EString                                                               GMF     EMF
                                                    15         'port' port=EString                                                        ISM            IRM
                                                    16         'dbport' dbport=EString
                                                    17         hasServiceModule=ServiceModule                                                M2M     M2M

                                                    18         hasManagementModule=ManagementModule                                              CMM
                                                    19         ( hasTradingModule+=TradingModule (hasTradingModule+=TradingModule)* )?
                                                                                                                                                    DSL
                                                    20         hasQueryModule+=QueryModule (hasQueryModule+=QueryModule)*
                                                    21         ( hasProcessingModule+=ProcessingModule (hasProcessingModule+=ProcessingModule)* )?CM

                                                    22         'hasInfSystem' hasInfSystem=[InfSystemPackage::InformationSystem|EString]            M2T
                                                    23     '}';
                                                                                                                                                CODE
                                                    24     ...


                                                               Applied Computing Group                               OTM – 3rd Information Systems in Distributed Environment
                                                               University of Almería, SPAIN                                              Crete (GREECE), 17-21st October, 2011
50

                                                                     Case Study – SOLERES-KRS

                                                     1   Package SOLERES_Configuration
A Model-Driven Approach for Deploying TKR Systems




                                                     2   Configuration {
                                                     3      Statement {
                                                     4           hasISModule "SOLERES_System.KRS.Node_1.ServiceModule_1_1"
                                                     5           hasIRModule "UAL_Repository.Java_JADE.ServiceModuleImpl" }
                                                     6      Statement {
                                                     7           hasISModule "SOLERES_System.KRS.Node_1.ManagementModule_1_1"
                                                     8           hasIRModule "UAL_Repository.Java_JADE.ManagementModuleImpl" }
                                                     9      Statement {
                                                    10           hasISModule "SOLERES_System.KRS.Node_1.TradingModule_1_1"
                                                    11           hasIRModule "UAL_Repository.Java_JADE.TradingModuleImpl" }
                                                    12      ...
                                                                                                                                           ISMM             IRMM

                                                                                                                                              GMF         EMF




                                                                        Configuration Model
                                                                                                                                            ISM             IRM

                                                                                                                                              M2M         M2M

                                                                                                                                                    CMM

                                                                                                                                                      DSL

                                                                                                                                                    CM

                                                                                                                                                      M2T

                                                                                                                                                  CODE




                                                            Applied Computing Group                       OTM – 3rd Information Systems in Distributed Environment
                                                            University of Almería, SPAIN                                      Crete (GREECE), 17-21st October, 2011
51

                                                                         Case Study – SOLERES-KRS

                                                     1   «DEFINE Package FOR ConfigurationPackage::Package»
A Model-Driven Approach for Deploying TKR Systems




                                                     2   «IF !this.hasStatement.isEmpty»
                                                     3     «FILE "make.sh"»
                                                     4       #!/bin/bash
                                                     5       clear
                                                     6       cd /
                                                     7       «FOREACH this.hasStatement.first().hasISModule.hasNode.hasInfSystem.hasNode AS node»
                                                     8       «FILE node.hasInformationSystem.name + "/" + node.name + "/InformationSystem.java"»
                                                     9        package «node.hasInformationSystem.name».«node.name»;
                                                    10        import «node.hasInformationSystem.name».«node.name».modules.*;
                                                    11        public class InformationSystem {
                                                    12          private String ip = null;
                                                    13          private int port = -1;
                                                                                                                                          ISMM                       IRMM
                                                    14          private int dbport = -1;
                                                    15          ...                                                                          GMF                   EMF

                                                                                                                                                     ISM             IRM

                                                                                                                                                       M2M         M2M


                                                                            M2T Transformation                                                               CMM

                                                                                                                                                               DSL

                                                                                                                                                             CM

                                                                                                                                                               M2T

                                                                                                                                                           CODE




                                                                Applied Computing Group                            OTM – 3rd Information Systems in Distributed Environment
                                                                University of Almería, SPAIN                                           Crete (GREECE), 17-21st October, 2011
52

                                                                    Case Study – SOLERES-KRS
                                                                                      Script and Java Files
                                                     1   #!/bin/bash
A Model-Driven Approach for Deploying TKR Systems




                                                     2   clear
                                                     3   cd /
                                                     4   mkdir /KRS/Node_1/modules
                                                     5   cd /KRS/Node_1/modules
                                                     6   wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class
                                                     7   wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class
                                                     8   wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class
                                                     9   wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class
                                                    10   wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class
                                                    11   ...
                                                               1        package KRS.Node_1;
                                                               2        import KRS.Node_1.modules.*;
                                                               3        public class InformationSystem {                                            ISMM             IRMM
                                                               4            private String ip = null;
                                                                                                                                                       GMF         EMF
                                                               5            private int port = -1;
                                                               6            private int dbport = -1;                                                 ISM             IRM
                                                               7            private ServiceModule serviceModule = null;
                                                                                                                                                       M2M         M2M
                                                               8            private ManagementModule managementModule = null;
                                                               9            private TradingModule tradingModule = null;                                      CMM
                                                              10            private QueryModule queryModule = null;                                            DSL
                                                              11            private ProcessingModule processingModule = null;
                                                              12            public InformationSystem() {                                                     CM

                                                              13              this.ip = "192.168.1.11";                                                        M2T
                                                              14              this.port = 1099;
                                                                                                                                                           CODE
                                                              15              this.dbport = 3306;
                                                              16              ...

                                                           Applied Computing Group                                 OTM – 3rd Information Systems in Distributed Environment
                                                           University of Almería, SPAIN                                                Crete (GREECE), 17-21st October, 2011
53

                                                             Case Study – SOLERES-KRS
                                                                               Script and Java Files
                                                     1       #!/bin/bash
A Model-Driven Approach for Deploying TKR Systems




                                                     2       clear
                                                     3       cd /
                                                     4       mkdir /KRS/Node_1/modules
                                                     5       cd /KRS/Node_1/modules
                                                     6       wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class
                                                     7       wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class
                                                     8       wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class
                                                     9       wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class
                                                    10       wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class
                                                    11       ...
                                                                    1        package KRS.Node_1;
                                                                    2        import KRS.Node_1.modules.*;
                                                                    3        public class InformationSystem {
                                                                    4            private String ip = null;
                                                                    5            private int port = -1;
                                                                    6            private int dbport = -1;
                                                                    7            private ServiceModule serviceModule = null;
                                                                    8            private ManagementModule managementModule = null;
                                                                    9            private TradingModule tradingModule = null;
                                                                   10            private QueryModule queryModule = null;
                                                                   11            private ProcessingModule processingModule = null;
                                                                   12            public InformationSystem() {
                                                                   13              this.ip = "192.168.1.11";
                                                                   14              this.port = 1099;
                                                                   15              this.dbport = 3306;
                                                                   16              ...

                                                    Applied Computing Group                                     OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                                    Crete (GREECE), 17-21st October, 2011
54

                                                             Case Study – SOLERES-KRS
                                                                               Script and Java Files
                                                     1       #!/bin/bash
A Model-Driven Approach for Deploying TKR Systems




                                                     2       clear
                                                     3       cd /
                                                     4       mkdir /KRS/Node_1/modules
                                                     5       cd /KRS/Node_1/modules
                                                     6       wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class
                                                     7       wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class
                                                     8       wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class
                                                     9       wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class
                                                    10       wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class
                                                    11       ...
                                                                    1        package KRS.Node_1;
                                                                    2        import KRS.Node_1.modules.*;
                                                                    3        public class InformationSystem {
                                                                    4            private String ip = null;
                                                                    5            private int port = -1;
                                                                    6            private int dbport = -1;
                                                                    7            private ServiceModule serviceModule = null;
                                                                    8            private ManagementModule managementModule = null;
                                                                    9            private TradingModule tradingModule = null;
                                                                   10            private QueryModule queryModule = null;
                                                                   11            private ProcessingModule processingModule = null;
                                                                   12            public InformationSystem() {
                                                                   13              this.ip = "192.168.1.11";
                                                                   14              this.port = 1099;
                                                                   15              this.dbport = 3306;
                                                                   16              ...

                                                    Applied Computing Group                                     OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                                    Crete (GREECE), 17-21st October, 2011
55

                                                                                       Conclusions

                                                    • A MDE approach to TKR System design
                                                      and deployment in the context of WMIS has
A Model-Driven Approach for Deploying TKR Systems




                                                      been presented.

                                                    • Three metamodels, a GMF tool, a DSL, and
                                                      a M2T transformation have been developed
                                                      to ease it design and deployment.

                                                    • The SOLERES-KRS subsystem has been
                                                      presented as a case study.

                                                        Applied Computing Group                      OTM – 3rd Information Systems in Distributed Environment
                                                        University of Almería, SPAIN                                     Crete (GREECE), 17-21st October, 2011
56

                                                                                      Future Work

                                                    • The use of a trading system which
A Model-Driven Approach for Deploying TKR Systems




                                                      links the system architecture and the
                                                      implementation repository models
                                                      automatically.




                                                       Applied Computing Group                      OTM – 3rd Information Systems in Distributed Environment
                                                       University of Almería, SPAIN                                     Crete (GREECE), 17-21st October, 2011
57
                                                        A Model-Driven Approach for
                                                          Deploying Trading-Based
                                                      Knowledge Representation Systems
A Model-Driven Approach for Deploying TKR Systems




                                                                          Thank you for your attention!!

                                                                                   Contact: jacortes@ual.es


                                                                                             Applied Computing Group
                                                                                             University of Almería, SPAIN
                                                                                             http://www.ual.es/acg

                                                                                             A Methodology for the Recovery and Exploitation of
                                                                                             Environmental Information (TIN2010-15588)

                                                                                             Development of an Intelligent Web Agent for
                                                                                             Environmental Information (TIC-6114)


                                                    Applied Computing Group                                OTM – 3rd Information Systems in Distributed Environment
                                                    University of Almería, SPAIN                                               Crete (GREECE), 17-21st October, 2011

More Related Content

PDF
An ontology-driven case study for the knowledge representation of management ...
PDF
A Trading-Based Knowledge Representation Metamodel for Management Information...
PPTX
Presentatie Internet of Things Conferentie 9 april 2013 door Ben van Lier van...
PDF
AIR: Architecture for Interoperable Retrieval on Distributed and Heterogeneou...
PPTX
ISVLSI 2012
PDF
International workshop on semantic sensor web 2011
PDF
PDF
Poster Semantic data integration proof of concept
An ontology-driven case study for the knowledge representation of management ...
A Trading-Based Knowledge Representation Metamodel for Management Information...
Presentatie Internet of Things Conferentie 9 april 2013 door Ben van Lier van...
AIR: Architecture for Interoperable Retrieval on Distributed and Heterogeneou...
ISVLSI 2012
International workshop on semantic sensor web 2011
Poster Semantic data integration proof of concept

What's hot (16)

PDF
Simplifying Complexity
PDF
UCLA Informatics Wiki
DOC
Technical Paper.doc.doc
PDF
Inria - Activity report 2009
PDF
Practical applications of controlled natural language with description logics...
PDF
SOFIA - RDF Recipes for Context Aware Interoperability in Pervasive Systems. NXP
PDF
Multimedia Processing on Multimedia Semantics and Multimedia Context
PDF
Cognitive Architectures - Amr Kamel - 2015
PPTX
What is Artificial Intelligence?
PPTX
Ieee metadata-conf-1999-keynote-amit sheth
PPTX
E Cognition User Summit2009 S Lang Zgis Object Validity
PPTX
MICCAI - Workshop on High Performance and Distributed Computing for Medical I...
PDF
Neural Networks in The Chemical Industry
PPTX
Cognitive Architectures - Research Circle
PDF
A Study of Semantic Proximity between Archetype Terms based on SNOMED CT Rela...
Simplifying Complexity
UCLA Informatics Wiki
Technical Paper.doc.doc
Inria - Activity report 2009
Practical applications of controlled natural language with description logics...
SOFIA - RDF Recipes for Context Aware Interoperability in Pervasive Systems. NXP
Multimedia Processing on Multimedia Semantics and Multimedia Context
Cognitive Architectures - Amr Kamel - 2015
What is Artificial Intelligence?
Ieee metadata-conf-1999-keynote-amit sheth
E Cognition User Summit2009 S Lang Zgis Object Validity
MICCAI - Workshop on High Performance and Distributed Computing for Medical I...
Neural Networks in The Chemical Industry
Cognitive Architectures - Research Circle
A Study of Semantic Proximity between Archetype Terms based on SNOMED CT Rela...
Ad

Similar to A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems (20)

PPT
Es lecture 1 2009
PPTX
NATIONAL INFORMATION SYSTEMS (NIS): Brazilian NIS developed according Lattes ...
PDF
Community Analytics – An Information Systems Perspective
PDF
Performance analysis of data mining algorithms with neural network
PPT
8.5 martin
PDF
Learning Analytics in a Mobile World - A Community Information Systems Perspe...
PDF
2012 03 16 (uc3m) emadrid rklamma rwth au analitica aprendizaje mundo movil p...
PDF
Challenging Information Systems on a Web-Scale: Responsive Open Community Inf...
PPTX
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
PPTX
A Real-time Collaboration-enabled Mobile Augmented Reality System with Semant...
PDF
Strategic Decision Support Systems Design: Integration Approach Between Exper...
PDF
Hsis2005 Geospatial Nomadeyes Full
PPTX
Text and Data Visualization Introduction 2012
PDF
Cassandra framework a service oriented distributed multimedia
PDF
Patent data clustering a measuring unit for innovators
PDF
Patent data clustering a measuring unit for innovators
PDF
Patent data clustering a measuring unit for innovators
PDF
Use of artificial neural network in pattern recognition
PDF
LTCI Information Communications Lab
Es lecture 1 2009
NATIONAL INFORMATION SYSTEMS (NIS): Brazilian NIS developed according Lattes ...
Community Analytics – An Information Systems Perspective
Performance analysis of data mining algorithms with neural network
8.5 martin
Learning Analytics in a Mobile World - A Community Information Systems Perspe...
2012 03 16 (uc3m) emadrid rklamma rwth au analitica aprendizaje mundo movil p...
Challenging Information Systems on a Web-Scale: Responsive Open Community Inf...
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
A Real-time Collaboration-enabled Mobile Augmented Reality System with Semant...
Strategic Decision Support Systems Design: Integration Approach Between Exper...
Hsis2005 Geospatial Nomadeyes Full
Text and Data Visualization Introduction 2012
Cassandra framework a service oriented distributed multimedia
Patent data clustering a measuring unit for innovators
Patent data clustering a measuring unit for innovators
Patent data clustering a measuring unit for innovators
Use of artificial neural network in pattern recognition
LTCI Information Communications Lab
Ad

More from Applied Computing Group (20)

PDF
Hand Posture Recognition with Standard Webcam for Natural Interaction
PDF
A Web Services Infrastructure for the management of Mashup Interfaces
PDF
Evolving Mashup Interfaces using a Distributed Machine Learning and Model Tra...
PDF
Semantic Matching of Components at Run-Time in Distributed Environments
PDF
Embedding Widget-as-a-Service into Dynamic GUI
PDF
A Component-based User Interface Approach for Smart TV
PDF
AMAD-ATL: A tool for dynamically composing new model transformations at runtime
PDF
AMAD-ATL (elevator pitch): A tool for dynamically composing new model transfo...
PDF
AMAD-ATL (poster): A tool for dynamically composing new model transformations...
PDF
Resolving Platform Specific Models at runtime using an MDE-based Trading appr...
PDF
Information Retrieval Using an Ontological Web-Trading Model
PDF
Model Transformations to adapt Component-based GUIs using an ATL-based tool
PPTX
Cruzando el abismo educativo de la ingeniería de software utilizando Software...
PPSX
MEDI'2012: Runtime Adaptation of Architectural Models: an approach for adapti...
PPSX
SEAA'2012: An MDE approach for Runtime Monitoring and Adapting Component-base...
PPSX
ICSOFT'2012: Composing Model Transformations at Runtime: an approach for adap...
PDF
Adaptive Transformation Pattern for chitectural Models Architectural Models
PDF
Adapting Component-based User Interfaces at Runtime using Observers
PDF
A Model-Driven Approach to Graphical User Interface Runtime Adaptation
PDF
Modelling an Environmental Knowledge-Representation System
Hand Posture Recognition with Standard Webcam for Natural Interaction
A Web Services Infrastructure for the management of Mashup Interfaces
Evolving Mashup Interfaces using a Distributed Machine Learning and Model Tra...
Semantic Matching of Components at Run-Time in Distributed Environments
Embedding Widget-as-a-Service into Dynamic GUI
A Component-based User Interface Approach for Smart TV
AMAD-ATL: A tool for dynamically composing new model transformations at runtime
AMAD-ATL (elevator pitch): A tool for dynamically composing new model transfo...
AMAD-ATL (poster): A tool for dynamically composing new model transformations...
Resolving Platform Specific Models at runtime using an MDE-based Trading appr...
Information Retrieval Using an Ontological Web-Trading Model
Model Transformations to adapt Component-based GUIs using an ATL-based tool
Cruzando el abismo educativo de la ingeniería de software utilizando Software...
MEDI'2012: Runtime Adaptation of Architectural Models: an approach for adapti...
SEAA'2012: An MDE approach for Runtime Monitoring and Adapting Component-base...
ICSOFT'2012: Composing Model Transformations at Runtime: an approach for adap...
Adaptive Transformation Pattern for chitectural Models Architectural Models
Adapting Component-based User Interfaces at Runtime using Observers
A Model-Driven Approach to Graphical User Interface Runtime Adaptation
Modelling an Environmental Knowledge-Representation System

A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

  • 1. 1 A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems A Model-Driven Approach for Deploying TKR Systems José A. Asensio1, Luis Iribarne1, Nicolás Padilla1, Cristina Vicente-Chicote2 1Applied Computing Group, University of Almería, SPAIN {jacortes, luis.iribarne, npadilla}@ual.es 2 Dept. of Information and Communication Technologies, Technical University of Cartagena, SPAIN cristina.vicente@upct.es OTM – ISDE, Crete, GREECE 17-21st October, 2011 Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 2. 2 Index • Context A Model-Driven Approach for Deploying TKR Systems • TKR System • Implementation Repository • System Configuration • Case Study • Conclusions • Future Work Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 3. 3 Context • WMIS facilitate information retrieval and decision-making, allowing cooperative A Model-Driven Approach for Deploying TKR Systems work. • WMIS design and development require: – a common vocabulary, and – a certain capacity to mediate objects. Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 4. 4 Context • WMIS facilitate information retrieval and decision-making, allowing cooperative A Model-Driven Approach for Deploying TKR Systems work. • WMIS design and development require: – a common vocabulary ► Ontology – a certain capacity to mediate objects. Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 5. 5 Context • WMIS facilitate information retrieval and decision-making, allowing cooperative A Model-Driven Approach for Deploying TKR Systems work. • WMIS design and development require: – a common vocabulary ► Ontology – a certain capacity to mediate objects ► ► Trader Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 6. 6 Context • Ontologies can be used for: A Model-Driven Approach for Deploying TKR Systems – describing the information domain knowledge in the system, and – modeling the processes and communications between system components. Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 7. 7 Context • The use of traders is proposed to improve the interoperability of the system A Model-Driven Approach for Deploying TKR Systems components: – Trader acts as intermediary between objects. – Trader improves querying and information retrieval (with the use of ontologies). Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 8. 8 Context • The use of traders is proposed to improve the interoperability of the system A Model-Driven Approach for Deploying TKR Systems components: – Trader acts as intermediary between objects. – Trader improves querying and information retrieval (with the use of ontologies). ▼ Trading-based Knowledge Representation Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 9. 9 Context A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 10. 10 Context A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 11. 11 Context A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 12. 12 Context A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 13. 13 MDE Approach – TKR System Information System Metamodel A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 14. 14 MDE Approach – TKR System A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 15. 15 MDE Approach – TKR System …distributed on A Model-Driven Approach for Deploying TKR Systems different nodes… Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 16. 16 MDE Approach – TKR System …modules… A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 17. 17 MDE Approach – TKR System A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 18. 18 MDE Approach – TKR System …shared services… A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 19. 19 MDE Approach – TKR System …user demands… A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 20. 20 MDE Approach – TKR System …information queries… A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 21. 21 MDE Approach – TKR System …search and location A Model-Driven Approach for Deploying TKR Systems of information… Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 22. 22 MDE Approach – TKR System …knowledge bases… A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 23. 23 MDE Approach – TKR System A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 24. 24 MDE Approach – TKR System A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 25. 25 MDE Approach – TKR System A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 26. 26 MDE Approach – Implementation Repository Implementation Repository Metamodel A Model-Driven Approach for Deploying TKR Systems Package name : EString hasPlatform 1..* hasPlatform Platform 0..1 name : EString hasModule hasSuperModule 0..1 ISMM IRMM 1..* Module GMF EMF hasSubmodule name : EString ISM IRM 1..* uri : EString M2M M2M CMM DSL CompositeModule SimpleModule CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 27. 27 MDE Approach – Implementation Repository Package A Model-Driven Approach for Deploying TKR Systems name : EString hasPlatform 1..* hasPlatform Platform …deployment name : EString 0..1 platform… hasModule hasSuperModule 1..* 0..1 Module hasSubmodule name : EString 1..* uri : EString CompositeModule SimpleModule Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 28. 28 MDE Approach – Implementation Repository Package A Model-Driven Approach for Deploying TKR Systems name : EString hasPlatform 1..* hasPlatform Platform 0..1 name : EString hasModule hasSuperModule 1..* 0..1 …module Module hasSubmodule name : EString 1..* uri : EString implementation… CompositeModule SimpleModule Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 29. 29 MDE Approach – Implementation Repository Package A Model-Driven Approach for Deploying TKR Systems name : EString hasPlatform 1..* hasPlatform Platform 0..1 name : EString hasModule hasSuperModule 1..* 0..1 Module hasSubmodule name : EString 1..* uri : EString CompositeModule SimpleModule Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 30. 30 MDE Approach – Implementation Repository Package A Model-Driven Approach for Deploying TKR Systems name : EString hasPlatform 1..* hasPlatform Platform 0..1 name : EString hasModule hasSuperModule 1..* 0..1 Module hasSubmodule name : EString 1..* uri : EString CompositeModule SimpleModule Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 31. 31 MDE Approach – Implementation Repository Package A Model-Driven Approach for Deploying TKR Systems name : EString hasPlatform 1..* hasPlatform Platform 0..1 name : EString hasModule hasSuperModule 1..* 0..1 Module hasSubmodule name : EString 1..* uri : EString CompositeModule SimpleModule Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 32. 32 MDE Approach – System Configuration Configuration Metamodel A Model-Driven Approach for Deploying TKR Systems Package hasInformationSystem name : EString hasImplementationRepositor y hasImport hasStatement 0..* 0..* Import Statement importedNamespace : EString hasISModule hasIRModule ISMM IRMM InformationSystemPackage ImplementationRepositoryPackage GMF EMF ISM IRM 0..1 InformationSystem Platform 0..* M2M M2M CMM Module 1 1 Module DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 33. 33 MDE Approach – System Configuration Package A Model-Driven Approach for Deploying TKR Systems hasInformationSystem name : EString hasImplementationRepositor y hasImport hasStatement 0..* 0..* Import Statement importedNamespace : EString hasISModule hasIRModule InformationSystemPackage ImplementationRepositoryPackage 0..1 InformationSystem Platform 0..* Module 1 1 Module Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 34. 34 MDE Approach – System Configuration Package A Model-Driven Approach for Deploying TKR Systems hasInformationSystem name : EString hasImplementationRepositor y hasImport hasStatement 0..* 0..* Import Statement importedNamespace : EString hasISModule hasIRModule InformationSystemPackage ImplementationRepositoryPackage 0..1 InformationSystem Platform 0..* Module 1 1 Module Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 35. 35 MDE Approach – System Configuration Package A Model-Driven Approach for Deploying TKR Systems hasInformationSystem name : EString hasImplementationRepositor y hasImport hasStatement 0..* 0..* Import Statement importedNamespace : EString hasISModule hasIRModule InformationSystemPackage ImplementationRepositoryPackage 0..1 InformationSystem Platform 0..* Module 1 1 Module Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 36. 36 Case Study – SOLERES-KRS SOLERES A Model-Driven Approach for Deploying TKR Systems Environmental Management Information System ▼ SOLERES-KRS Knowledge Representation Subsystem ▼ Trading-based Knowledge Representation System Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 37. 37 Case Study – SOLERES-KRS SOLERES A Model-Driven Approach for Deploying TKR Systems Environmental Management Information System ▼ SOLERES-KRS Knowledge Representation Subsystem ▼ Trading-based Knowledge Representation System Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 38. 38 Case Study – SOLERES-KRS SOLERES A Model-Driven Approach for Deploying TKR Systems Environmental Management Information System ▼ SOLERES-KRS Knowledge Representation Subsystem ▼ Trading-based Knowledge Representation System Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 39. 39 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 40. 40 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 41. 41 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 42. 42 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 43. 43 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 44. 44 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 45. 45 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 46. 46 Case Study – SOLERES-KRS GMF Tool – SOLERES-KRS Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 47. 47 Case Study – SOLERES-KRS Implementation Repository Model A Model-Driven Approach for Deploying TKR Systems ISMM IRMM GMF EMF ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 48. 48 Case Study – SOLERES-KRS Implementation Repository Model A Model-Driven Approach for Deploying TKR Systems Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 49. 49 Case Study – SOLERES-KRS Domain-Specific Language A Model-Driven Approach for Deploying TKR Systems 1 grammar org.xtext.isconfig.config.Config with org.eclipse.xtext.common.Terminals 2 3 import "platform:/resource/ISConfig/metamodel/Configuration.ecore" 4 import "platform:/resource/ISConfig/metamodel/InfSystem.ecore" as InfSystemPackage 5 import "platform:/resource/ISConfig/metamodel/ImplRepository.ecore" as ImplRepPackage 6 import "http://www.eclipse.org/emf/2002/Ecore" as ecore 7 8 Package returns Package: 9 ... 10 11 Node returns InfSystemPackage::Node: 12 'Node' name=EString ISMM IRMM 13 '{' 14 'ip' ip=EString GMF EMF 15 'port' port=EString ISM IRM 16 'dbport' dbport=EString 17 hasServiceModule=ServiceModule M2M M2M 18 hasManagementModule=ManagementModule CMM 19 ( hasTradingModule+=TradingModule (hasTradingModule+=TradingModule)* )? DSL 20 hasQueryModule+=QueryModule (hasQueryModule+=QueryModule)* 21 ( hasProcessingModule+=ProcessingModule (hasProcessingModule+=ProcessingModule)* )?CM 22 'hasInfSystem' hasInfSystem=[InfSystemPackage::InformationSystem|EString] M2T 23 '}'; CODE 24 ... Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 50. 50 Case Study – SOLERES-KRS 1 Package SOLERES_Configuration A Model-Driven Approach for Deploying TKR Systems 2 Configuration { 3 Statement { 4 hasISModule "SOLERES_System.KRS.Node_1.ServiceModule_1_1" 5 hasIRModule "UAL_Repository.Java_JADE.ServiceModuleImpl" } 6 Statement { 7 hasISModule "SOLERES_System.KRS.Node_1.ManagementModule_1_1" 8 hasIRModule "UAL_Repository.Java_JADE.ManagementModuleImpl" } 9 Statement { 10 hasISModule "SOLERES_System.KRS.Node_1.TradingModule_1_1" 11 hasIRModule "UAL_Repository.Java_JADE.TradingModuleImpl" } 12 ... ISMM IRMM GMF EMF Configuration Model ISM IRM M2M M2M CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 51. 51 Case Study – SOLERES-KRS 1 «DEFINE Package FOR ConfigurationPackage::Package» A Model-Driven Approach for Deploying TKR Systems 2 «IF !this.hasStatement.isEmpty» 3 «FILE "make.sh"» 4 #!/bin/bash 5 clear 6 cd / 7 «FOREACH this.hasStatement.first().hasISModule.hasNode.hasInfSystem.hasNode AS node» 8 «FILE node.hasInformationSystem.name + "/" + node.name + "/InformationSystem.java"» 9 package «node.hasInformationSystem.name».«node.name»; 10 import «node.hasInformationSystem.name».«node.name».modules.*; 11 public class InformationSystem { 12 private String ip = null; 13 private int port = -1; ISMM IRMM 14 private int dbport = -1; 15 ... GMF EMF ISM IRM M2M M2M M2T Transformation CMM DSL CM M2T CODE Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 52. 52 Case Study – SOLERES-KRS Script and Java Files 1 #!/bin/bash A Model-Driven Approach for Deploying TKR Systems 2 clear 3 cd / 4 mkdir /KRS/Node_1/modules 5 cd /KRS/Node_1/modules 6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class 7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class 8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class 9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class 10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class 11 ... 1 package KRS.Node_1; 2 import KRS.Node_1.modules.*; 3 public class InformationSystem { ISMM IRMM 4 private String ip = null; GMF EMF 5 private int port = -1; 6 private int dbport = -1; ISM IRM 7 private ServiceModule serviceModule = null; M2M M2M 8 private ManagementModule managementModule = null; 9 private TradingModule tradingModule = null; CMM 10 private QueryModule queryModule = null; DSL 11 private ProcessingModule processingModule = null; 12 public InformationSystem() { CM 13 this.ip = "192.168.1.11"; M2T 14 this.port = 1099; CODE 15 this.dbport = 3306; 16 ... Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 53. 53 Case Study – SOLERES-KRS Script and Java Files 1 #!/bin/bash A Model-Driven Approach for Deploying TKR Systems 2 clear 3 cd / 4 mkdir /KRS/Node_1/modules 5 cd /KRS/Node_1/modules 6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class 7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class 8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class 9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class 10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class 11 ... 1 package KRS.Node_1; 2 import KRS.Node_1.modules.*; 3 public class InformationSystem { 4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1; 7 private ServiceModule serviceModule = null; 8 private ManagementModule managementModule = null; 9 private TradingModule tradingModule = null; 10 private QueryModule queryModule = null; 11 private ProcessingModule processingModule = null; 12 public InformationSystem() { 13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306; 16 ... Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 54. 54 Case Study – SOLERES-KRS Script and Java Files 1 #!/bin/bash A Model-Driven Approach for Deploying TKR Systems 2 clear 3 cd / 4 mkdir /KRS/Node_1/modules 5 cd /KRS/Node_1/modules 6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class 7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class 8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class 9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class 10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class 11 ... 1 package KRS.Node_1; 2 import KRS.Node_1.modules.*; 3 public class InformationSystem { 4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1; 7 private ServiceModule serviceModule = null; 8 private ManagementModule managementModule = null; 9 private TradingModule tradingModule = null; 10 private QueryModule queryModule = null; 11 private ProcessingModule processingModule = null; 12 public InformationSystem() { 13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306; 16 ... Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 55. 55 Conclusions • A MDE approach to TKR System design and deployment in the context of WMIS has A Model-Driven Approach for Deploying TKR Systems been presented. • Three metamodels, a GMF tool, a DSL, and a M2T transformation have been developed to ease it design and deployment. • The SOLERES-KRS subsystem has been presented as a case study. Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 56. 56 Future Work • The use of a trading system which A Model-Driven Approach for Deploying TKR Systems links the system architecture and the implementation repository models automatically. Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011
  • 57. 57 A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems A Model-Driven Approach for Deploying TKR Systems Thank you for your attention!! Contact: jacortes@ual.es Applied Computing Group University of Almería, SPAIN http://www.ual.es/acg A Methodology for the Recovery and Exploitation of Environmental Information (TIN2010-15588) Development of an Intelligent Web Agent for Environmental Information (TIC-6114) Applied Computing Group OTM – 3rd Information Systems in Distributed Environment University of Almería, SPAIN Crete (GREECE), 17-21st October, 2011