• Nenhum resultado encontrado

DEPARTAME TO DE E GE HARIA ELECTROTÉC ICA

N/A
N/A
Protected

Academic year: 2019

Share "DEPARTAME TO DE E GE HARIA ELECTROTÉC ICA"

Copied!
114
0
0

Texto

(1)
(2)
(3)

$ % $

& ' ( ( ' ( )

! * ") + , - . / # ) , 0

# ) 1 2 ) 1 " ) ) ,3 . !

" " 4 " ' ' ( ! " )

5 # " " "" #

' ( ' ) * ") ( " ' 6 2 2 " '

7 2 ) , 2 2 8 . "" ' ' !

' ' ) ! " * ' ' &

' # * + 9 2 )

, ! " ! " # ' & ' ( #

(4)

$ : $

/ " 9 ; "

< " = > ) ,

? " >

- # > 9 "

" ) / 9

9 @2/, A 2 / , B#

*02 A * " " 0 2 # 9

)

< $ ? ;

" 9 > ) #

" =

" ) / *02# # # ? 9

> ) *02

" < )

, $ >

; C )

' 9 ? " *02

; ) ' # # ' #

# < # # )

7 9 9 " *02) *

" 6 "

9 9 *02)

Palavras chaveD , 9 / 2 # 2 $, #

* " " 0 2 @ *02B# 2 " 1 " = #

(5)

$ 6 $

& " ! # " !

" # ! ) ! " !

' # ' "

!) " " !

$ @2/,B# ! *02 @ * "

" 0 2 B ' ' )

, " $ !

! ! ) " !

' ! ) *02 #

! ! ) 8 ' # *02 !

"" !)

! " ! $ ! ! (

) , ' ! ' "

" *02 " ) ' ! ;

# # ' # # "

! # # ) 6

" " ! ' ' *02

" ' )

Key WordsD 2 / , @2/,B# , 2! @ ,2B#

* " " 0 2 @ *02B# 1 " " 2! # ,

(6)

$ F $

!

ACL A C L

BDI B "D I

BMS B M " S!

DCOM D C O ; M

DPWS D P " " W S

EAS E A !S!

EPS E P S!

FIPA F " I P ! A

HMS H M " S!

MAS M A S!

OWL W O !L

RMS R " M " S!

SCL S C L

SOA S O A

UUID U !U 9 ID "

WSDL W S D L

(7)

$ G $

"

#

1 INTRODUCTION ...11

1.1 THESIS OUTLINE ... 13

2 STATE OF THE ART & BASIC CONCEPTS...14

2.1 AGENCY ... 16

2.2 MULTI-AGENT SYSTEM (MAS) ... 19

2.3 SERVICE-ORIENTED ARCHITECTURE (SOA)... 22

2.4 MANUFACTURING PARADIGMS ... 25

2.5 SOA IN MAS ... 26

3 DPWS MIDDLEWARE ARCHITECTURE ...30

3.1 INTRODUCTION ... 32

3.2 WHY A DPWSSYSTEM ... 32

3.3 PROPOSED ARCHITECTURE ... 34

3.3.1 Overview ... 36

3.3.2 System Entities ... 37

3.3.2.1 Agent Middleware ...38

3.3.2.2 Server Middleware ...38

3.3.2.3 Client Middleware ...39

3.3.3 How It Works ... 39

3.3.3.1 DPWS STACK LAYER ...40

3.3.3.2 DPWS Middleware Layer ...41

3.3.3.3 Agent Layer ...42

3.3.3.4 Message Types ...43

3.3.3.5 Joining ...48

3.3.3.6 Leaving ...53

3.3.3.7 Service Use ...55

3.4 DPWSMIDDLEWARE ARCHITECTURE ... 56

3.4.1 Overview ... 57

3.4.2 Agent ... 58

3.4.3 DPWS Middleware ... 58

3.4.4 Server ... 59

3.4.4.1 Services ...61

3.4.5 Client... 61

3.4.5.1 Event Handler Manager ...63

(8)

$ 4 $

3.4.5.3 Known Entities ...64

3.5 IMPLEMENTATION ... 65

3.5.1 How to make a DPWS System ... 65

3.5.1.1 The WSDL Service Descriptor ...66

3.5.1.2 The Generated Code ...67

3.5.1.3 Program the DPWS Middleware ...68

3.5.1.4 Integrating Every System Entity ...69

3.5.2 Running the System ... 70

4 CASE STUDY ...71

4.1 OVERVIEW... 72

4.2 3DMODEL ... 74

4.2.1 Workpieces ... 75

4.2.2 Decision points ... 76

4.2.3 Loader Model ... 76

4.2.4 ShiftTable Model ... 77

4.2.5 Machine Model... 78

4.2.6 Unloader Model ... 79

4.2.7 Models DPWS Interface ... 80

4.3 AGENTS ... 80

4.3.1 Loader Agent ... 82

4.3.2 Unloader Agent ... 84

4.3.3 ShiftTable Agent ... 85

4.3.4 Machine Agent ... 86

4.3.5 Workpiece Agent ... 87

4.4 HUMAN INTERFACE ... 89

4.4.1 Configuration Tool ... 90

4.4.2 Production Manager ... 91

4.4.3 Communication Log ... 93

4.5 DATABASE ... 94

4.6 TOPOLOGY ... 95

4.7 DEMONSTRATOR COMMUNICATION ... 96

4.8 HOW IT WORKS... 97

4.9 3DMODEL SIMULATION TO REAL MACHINES ... 99

4.10 WSDLGENERATOR TOOL ... 99

5 CONCLUSION & FUTURE WORK ... 101

(9)

$ H $

5.2 FUTURE WORK ... 104

5.2.1 DPWS Stack ... 104

5.2.2 Standards ... 105

5.2.3 Semantics ... 105

5.2.4 FIPA Compliant Communication ... 106

5.2.5 Middleware Generator ... 107

(10)

$ I $

"

$

&J 1 :$% $ J 1& 2 8 / , &$,J 2K2 L6HM) )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))):N

&J 1 6$% A +, &1 /1K , & & , /1 1,28))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))66

&J 1 6$: $ *02 2K2 & K 1,28))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))66

&J 1 6$6 $ *02 & 0,1 ,1 8& 1 / , &/ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))6G

&J 1 6$F $ J 1, ,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))64

&J 1 6$G A *02 & 0,1 /* ,K 1)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))6H

&J 1 6$4 A 8 ,J & K)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))6I

&J 1 6$H A 8 2 15 1 & K))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))6I

&J 1 6$I A 8 & & K))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))6O &J 1 6$O $ *02 2 , P &2 /5 1K &/ , & & 2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))FN

&J 1 6$%N $ 2 15& 2 K* 2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))FN

&J 1 6$%% $ 2 .2 1&* &/ /* 1, &/ 2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))F%

&J 1 6$%: $ & 0,1 &2 /5 1K , 1 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))F%

&J 1 6$%6 $ & 0,1 / & , &/ , 1 2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))F:

&J 1 6$%F $ & 0,1 2 .2 1&* &/ , ,J , 1 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))F:

&J 1 6$%G $ //P * / & , &/ &,J1, )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))FF &J 1 6$%4 $ 2 .2 1&* &/ / & , &/ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))FH

&J 1 6$%H $ 1 7 2 , , ,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))FO

&J 1 6$%I $ , , ,1 7 2 22,J 2 7 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))FO

&J 1 6$%O $ ,J +/& & J 8 2K2 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GN

&J 1 6$:N $ ,J +/& 22,J 2 7 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GN

&J 1 6$:% A 2 15 1 & K+/& & J 8 2K2 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G% &J 1 6$:: A 2 15 1 & K+/& 22,J 2 7 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G%

&J 1 6$:6 A & & K+/& & J 8 2K2 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G:

&J 1 6$:F A 2 15 1 & K+/& 22,J 2 7 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G6

&J 1 6$:G $ & K ,5& J))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GF

&J 1 6$:4 $ & K ,5& J 2 7 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GF

&J 1 6$:H $ & K 1,28))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GG

&J 1 6$:I $ & K 1,282 7 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GG &J 1 6$:O $ 2 15& 1 7 2 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G4 &J 1 6$6N $ 2 15& 1 7 2 1 2*/ 2 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G4

&J 1 6$6% $ 2 15& 5 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))G4

&J 1 6$6: $ *02 01,** 1)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GH

&J 1 6$66 $ *02 & 0,1 ,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GH

&J 1 6$6F $ .,2 ,J ,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GI

&J 1 6$6G $ 2 15 12 15& 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))GO

&J 1 6$64 A & 0,1 215 1,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4N

&J 1 6$6H $ 2 15& 2,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4%

&J 1 6$6I $ & 2 15& 2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4%

&J 1 6$6O A & 0,1 & ,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4:

&J 1 6$FN $ 5 8, 1 , ,J 1,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))46

&J 1 6$F% $ */& , ,J 1,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))46

&J 1 6$F: $ P /0 & & 2,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4F &J 1 6$F6 $ & K2 15& 2,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4G

&J 1 6$FF $ 2 15& 2 1&* &/ 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))44

&J 1 6$FG $ J 1, / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))4I

&J 1 F$% $ 6 / / & , &/ / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))H:

&J 1 F$: $ ,J / & , &/ / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))H6

&J 1 F$6 $ / &J 1, &/ // , *1/ &/ , ,J 1 / & , &/ / )))))))))))))))))))))))))))))))))))))H6

(11)

$ O $

&J 1 F$G $ / & , &/ /J / & , &/ / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))HF

&J 1 F$4 $ / 2 1, /16 / ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))HG

&J 1 F$H $ /, 1 , 0,1 8/ 2 6 / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))HH

&J 1 F$I $ 28& ,. 6 / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))HI

&J 1 F$O $ , 8& 6 / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))HO

&J 1 F$%N $ /, 16 / )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IN

&J 1 F$%% A ,J ,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I%

&J 1 F$%: $ &2&/ ,P& J &1 & /1 , &/ J, 8 1& J)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I%

&J 1 F$%6 $ &2&/ ,P& J& &1 & /1 , &/ J, 8 1& J))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I: &J 1 F$%F $ /, 1,J & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I6

&J 1 F$%G $ /, 1,J ,2P2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I6

&J 1 F$%4 $ /, 1,J & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IF

&J 1 F$%H $ /, 1,J ,2P2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IF

&J 1 F$%I $ 28& ,. ,J & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IG

&J 1 F$%O A 28& ,. ,J ,2P2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IG

&J 1 F$:N $ , 8& ,J & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I4

&J 1 F$:% $ , 8& ,J ,2P2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))I4

&J 1 F$:: $ 0/1P*& ,J & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IH

&J 1 F$:6 $ 0/1P*& ,J ,2P2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))II

&J 1 F$:F A 1 7 &1 8 , & 1 , & K,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IO

&J 1 F$:G A /* &/ , 8 , & 1 , & K,1 8& 1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))IO

&J 1 F$:4 $ / &J 1, &/ // & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))ON &J 1 F$:H A / &J 1, &/ // ,2P2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))O%

&J 1 F$:I $ *1/ &/ , ,J 1& 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))O:

&J 1 F$:O A *1/ &/ , ,J 1 ,2P2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))O:

&J 1 F$6N $ / & , &/ /J& 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))O6

&J 1 F$6% A / & , &/ /J)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))O6

&J 1 F$6: A , ,.,2 ,1 8& 1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))OF

&J 1 F$66 $ , ,.,2 & 1, &/ 2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))OF

&J 1 F$6F A , ,.,2 ,2P2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))OG &J 1 F$6G $ / 2 1, /1 & & 2 1& K , 2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))OG

&J 1 F$64 $ 1& K , / */2& &/ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))O4

(12)

$ %N $

"

"

,. :$% $ / *,1, &5 , , K2&2 . 0 2/,, ,2 LFHM)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))):H

(13)

Introduction

$ %% $

1

Introduction

(14)

Introduction

$ %: $

& " ! # " !

" # ! ) ! " !

' # ' "

!) " " ! ,2

@ , 2! B 2/, @2 / , B# ! *02

@ * " " 0 2 B ' ' ) *02

2 ( ( " 2/, " ) & '

3 " ; 2&1 , L%M ! 2 )

, " $ !

! ! ) " !

' ! ) *02 #

! ! ) 8 ' # *02 !

"" !)

.! 2/, ' ,2 ' !

# $ ! ) 2/,

!# ! )

' 2/, " ' ( # *02 (# 3

# " * ) , $ " ' (# 2/, $

! ) 0 # " !

! " $ '

) 0 " ' ( " # #

# # " # # # #

" ! )

0 " " 2/, " ,2 ! " #

" 2/, " ' (# *02#

,2 ) # 3 "

; 2/ 1, 2 L:M# *02 2 (

"" ! ! " !

" $ )

" ! " ! $

(15)

Introduction

$ %6 $

*02 2 ( ) ! ' # ! !#

" " *02 " " ! !

" )

' ! ' ' #

# ' # # " !

# # )

6 " " ! '

# ' *02 " # ' )

1.1

T

HESIS

O

UTLI E

? " D & # 2 " Q .

# *02 ' , # 2 ! 0 ()

Chapter 1 " ! "

' ()

Chapter 2 2 " , Q .

' ( " " ' (

" )

Chapter 3 *02 ' , "

" ! )

Chapter 4 2 ! ! ' '

' ' )

Chapter 5 0 ( " ' (

(16)

State of the Art & Basic Concepts

$ %F $

2

State of the Art & Basic Concepts

2.1 AGENCY ... 16

2.2 MULTI-AGENT SYSTEM (MAS) ... 19

2.3 SERVICE-ORIENTED ARCHITECTURE (SOA)... 22

2.4 MANUFACTURING PARADIGMS ... 25

(17)

State of the Art & Basic Concepts

$ %G $

& !R ? ( #

" ! ) 8 " 3 ! !

9 ) & " ' !

& " ! @& B " " ' '

( " ) " '

" ! . " 2! @. 2B L6M# 8

" 2! @8 2B LFS GS 4S HM# 1 " " 2! @1 2B

LIS OM# , ! 2! @ ,2B L%NS %%S %:S %6S %FM# *

2! @ *2B L%GS %4S %HM)

/ " ? " ' !

" !) ! " # ! (

' ' ) T 3 "" U !

9 ) , ' ( '# (

9 ! " ! " ) & 3 " '

! ' ' ' " '

( )

, " ' ' !

! ) 3 ! "

! " " " ) , # ' ! '

! 3 # ) # ' #

0 2 2 / , @2/,B#

!) ! " #

! " ' " # )

1 1 " " 2! @1 2B

* 2! @ *2B " " 9 (

" # " )

' " 3 ! ! "

) ! ! ' ?

! 3 ! ) 2 " ! # ( ! #

" ! " ! ) !

! ! ! "

(18)

State of the Art & Basic Concepts

$ %4 $

, " " ; !

' ' ) , ! D , , /1 L%IM A 8

" # ,.,2 L%OM A , ! #

/.,2, L:NM A $ " " ! $

" !# 2 L:%M A , " !

' ( # )

" ; ' " " !#

! !D *,22 L::M A " $ ! ! #

2/ , L:6M A " ! *02 " ' (

2&1 , L%M ; # 2/ 1, 2 L:M A "

@2/,B " ! )

2.1

A

GE CY

8 ' R , L:FM ' ' !

ON $ ! 3 ) 0 ,& " "

( # " $ # " 3

' $ ( ' # "

# ! ( )

, ! ( ! " " " !

)

& L:GM + 0 " ' " " !D “An

agent is considered a software entity situated in a production environment, with enough

intelligence that is capable of autonomous control actions in this environment and of co

operation relationships by participating in associations agreements with other entities in

order to meet its design objectives. An agent should be able to act without the direct

intervention of humans or other agents, and should have control over its own actions and

internal state”) " R ( "

' ! L:4MD

, ! A ' ' "

(19)

State of the Art & Basic Concepts

$ %H $

2 ! A '

)

1 ! A "

)

1 ! A #

!)

* ! A

' ; ) ,

" " )

, ! A " '

" )

! A " ' ( ( "

3 )

, ! !

) , # ' ( ' "

# " "

3 L:HM)

, " 3

! ) ( ' ( '

. &$ @. "# & B ) . &$

( ' @ " B# "

$ @ B @ B L:IM) ,

. & ! ( ' @ " B

) & ! ? ' "

)

)

, ! , 2! @ ,2B) 0

R !

) , ( 3

' " ! R ! ) &

(20)

State of the Art & Basic Concepts

$ %I $

" * @ *B L:OM)

! 3 "

) 0 9 (

9 " ) / ( ( " '

" ( )

)

, ! " ' . &

" , @, B) "

, ' P ' 7 ! @P7 B

" " # ( 9 # " )

' ! ! , " & * ! ,

@ &*,B L6NM)

, ' (

) ! ( ' " #

) ! " # '

" " ) , '

! ! ! ! )

# " '

" ! ) , " " ' ( '

# " # ) & ! L6%M

' "" ! " )

, " ' ( ! ' "

" # " ' ( '

# +, L6:M V 2 L66M )

"" ' " ' ( ) , "

"" " ' ( '

&*, " L6NM# " ; 2/ 1, 2 L:M )

! ! " "" "

! ) # #

(21)

State of the Art & Basic Concepts

$ %O $

" 9 ! ! ' "

! " " " " )

0 # , ! ' ' !

; ! " " " ' )

2.2

M

ULTI

A

GE T

S

YSTEM

(MAS)

$, 2!

" ! ) & IN # , 3

! ) '

' ! ON " ) '

! " L6FM) ,2

# ? # ! ! #

" !# # " 3 !# " ! ! ! L6GS 64M)

, $, 2! " ! "

' () ( ' "

" " )

" " ) !

9 " " "" )

"" # "

"" ) 0 ' ( " '

' "" ' ( ,2

' ) ,2 ! '

) ! '

(22)

State of the Art & Basic Concepts

$ :N $ Figure 2 1 Generic scheme of a multi agent system [37].

& ,2# ! ? ? )

? R '

:$%)

! !

! 3 " " ) & "

' ! 3 )

"" / ! ) / ! 3 $ " "

" ! ) , ! 3 $

# # # " $

' !) ( " !

" " " ) / "

"" "" ! ' ! "

( ' )

" ' ,2 ! )

& ' # # "

9 " " 3 # ( #

) ? # "

) ( # " ) , !

' " 3 !# !

" ) ,2 ' !

(23)

State of the Art & Basic Concepts

$ :% $

# # " '

" ) L:HM

0 ! 3 "

! " ' ' "

! " ( ) ,2

( ' " !

! ' ' )

" ' " '# # # " $ #

? ? " ,2

" " L6IS 6OM)

2 ; $ "

9 " $ ! ) #

$ ! ( # ! !

# ; " ')

$ " +, L6:M V 2 L66M

! ! )

" ,2 " )

! ' ! " )

"" " $ "

!) "" # !

" ' ! ' " ' ( )

" "

" " & * ! , @ &*,B L6NM) &*,

" ! ' "" " ' ( !

)

' ! $,

" ! 9 " " ) & L64M '

:GW " " ! ) #

'# !# #

(24)

State of the Art & Basic Concepts

$ :: $

# ' " ,2 #

( # " ! 9

" " ) " "

' " ,2 !) & ,2 3 ! "

) & ! ' "" " ' "

! ! 3 # # 3 )

" ,2) ! "" $

! ' 9 LFNS F%M) & !

$ " ' ) ( " "

' " ! ! LF:M) ! " ,2

" !) !

' ! ! " )

" ,2 (! 3 " ! "" )

2.3

S

ERVICE

O

RIE TED

A

RCHITECTURE

(SOA)

0 ( " ' !

! " " # ! ' '

9 ) / " ' ! 2 $/ , @2/,B

" " ! " !)

0 " ' ' # 2/,

" ! )

0 0 0 @06 B " 0 2 LF6MD Ta software

system design to support interoperable machine to machine interaction over a network. It has

an interface described in a machine processable format (specifically WSDL). Other systems

interact with the Web Service in a manner prescribed by its description using SOAP LFFM

messages typically conveyed using HTTP with an XML serialization in conjunction with other

Web related standardsU)

" 0 2 ' ! ! " '

(25)

State of the Art & Basic Concepts

$ :6 $

) 2 " ! 0 2

" D

3 ( @X B LFGM A " S

2 / ; , * @2/,*B LFFM A

S

# ! & @ &B A 3 $

! )

0 2 ' " 0 2 2/,

) 0 2 ! " 9 ! 3

3 ' ' ! ) &

# ' ' ' ( '

! 3 ! # ! ' ) LF4M

& L6%M " # # ' !

( !' D “A service oriented architecture (SOA) is a set of architectural tenets

for building autonomous yet interoperable systems”) , "

' " " 2/, )

2/, " D LFHM

, !D ! )

& !D ! "!

)

* " & D # !# 3 $ "

X LFGM# 02 LFIM# X # )

" # # ! )

! ! ! ! )

D 3 " "

3 ! )

, !Y !D "

)

" 2/, "

)

(26)

State of the Art & Basic Concepts

$ :F $

" ' ' ( # *02#

" " ) # 3

" ! ! # # # '

) 2/, " ! ' D "$

" # " #

!# ! # 3 !# ) ' ,2 2/,

' ' ! " 3 )

, " ; 2/,

D

ITEA SIRE/A L%M ; # ! 2 $ #

2 ( " ' $ 2/, ) " ; '

* " " 0 2 @ *02B LFOM (

)

2/ , L:6M ; # " ' "" " ' '

2&1 ,# ' ' ; *02 " ' ()

2/ , ; ' " *02

2 ( +,5,) 0 ! " (

! 3 *02 ' )

; !

* " " 0 2 @ *02B)

2/ 1, 2 L:M ; *02$ # 3

" " ! ( "

2/, )

& " LGNM ; 3

*02$ " ! LG%M) & 3

2/, ' " ? R " !

)

"" " 9

! ' ' )

# #

(27)

State of the Art & Basic Concepts

$ :G $

' ' " %

( ! " * )

2/, ' ! ; )

, ! D

LG:M

*02) 2 " "

! ! " ! 3

" ! #

LG6M "

! ' $ ) 2 "$

" )

& LGFM " " *02$ )

" ! " )

! !

" )

0 2/, # 0 2 3

9 !) 9 !# "

T U " 2/, " )

& ' ( 2/,R ' ) & ! 3

' ! ! 3 ! "

R 3 " ) LGFM

.! 2/, ' $, 2! !

$ " ) , # ' 2/,

" ' LGGM LFOM)

2.4

M

A UFACTURI G

P

ARADIGMS

1 !# " . " 2! @. 2B#

8 " 2! @8 2B# 1 " " 2! @1 2B#

(28)

State of the Art & Basic Concepts

$ :4 $

" ( ) / "

( )

' 8 ' ! P LG4M) ' "

J ( ' “holos” @ ' B ' “on” "" 3 ) 2 “Holon”

' ) , 8 " ! 8 " 2!

“an autonomous and cooperative building block of a manufacturing system for

transforming, transporting, storing and/or validating information and physical objects”LGHM)

, 8 " 8 " " 8 ) 8

)

, 8 8 ! ' " “a system of

holons which can cooperate to achieve a goal or objective”LGHM)

, 8 " 2! “a Holarchy which integrates the entire range of

manufacturing activities from order booking through design, production and marketing to

realize the agile manufacturing enterprise”LGHM)

& 8 " ! !

8 ) 8 ' ( ( ' )

" 8 2) 8 ! '

"! ! $' ) & " " ! !

" ! ) 8 " 2!

" ? # ' ($ ( ? # !

"" ! " ) L:HM

, $, 2! @ ,2B ! " ! LGIM) ,

$, 2! # 8 " ! "

8 8 "

2! )

2.5

SOA

I

MAS

" 2/, ,2 ' " 3 ! ) &

(29)

State of the Art & Basic Concepts

$ :H $

" ) 2/, '

! # ! " ) !

" " # " # !$ ) , $ !

' ( " !

) " ! "

! ) LGFM

" ! "" !

' "

) LFHM

,2 ! ' T' " U)

,2 " ! " ! " , '

" ) & # 2/, ! " "

! ! ' ' " ! ) . ! !

! ' ! ' ! ' ) 2/,

,2 ' 3 " )

.! ,2 2/, " " ' ( '

' " 3 ' ( ! )

Table 2 1 Comparative Analysis between SOA and MAS [47]

Characteristics SOA MAS

Basic Unit 2 ,

Autonomy . ! " ! "$

Behavior description

& 2/, "

" 3

'

"

Social ability 2 ! " "

2/, " " " " ! ! Complexity encapsulation

, # "$ " " '

(30)

State of the Art & Basic Concepts

$ :I $

Communication infrastructure

2/, ! 0

!

? " ,

Support for dynamically reconfigurable run time architectures

1 " " 9 "

(

Interoperability , ! "

'

8 !

' &*,$ (

Computational requirements ' ( *02 " ' ! ! 9

& LGOM , $. 2 / & ' (

' ' ' ( " " ) '

$. " '

! " !)

& L4NM " 8 2 ! )

/ ) L4NM ""

" " ! )

& LFHM ,2 2/, '

" ) *02 " ' ( ' '

" 3 ) !

! " ! /5, XR

! ( ) ' " ! D

2

3 !

2 * !)

3 ' D

(31)

State of the Art & Basic Concepts

$ :O $

2 R

J 3 " )

0 " " 2/, " ,2 ! " #

" 2/, " ' (# *02#

(32)

DPWS Middleware Architecture

$ 6N $

3

DPWS Middleware Architecture

3.1 INTRODUCTION ... 32

3.2 WHY A DPWSSYSTEM ... 32

3.3 PROPOSED ARCHITECTURE ... 34

3.3.1 Overview ... 36

3.3.2 System Entities ... 37

3.3.2.1 Agent Middleware ...38 3.3.2.2 Server Middleware ...38 3.3.2.3 Client Middleware ...39

3.3.3 How It Works ... 39

3.3.3.1 DPWS STACK LAYER ...40 3.3.3.2 DPWS Middleware Layer ...41 3.3.3.3 Agent Layer ...42 3.3.3.4 Message Types ...43 3.3.3.4.1 Discovery Messages ...43 3.3.3.4.2 Service Messages ...45 3.3.3.4.3 Subscription Related Messages ...46 3.3.3.5 Joining ...48 3.3.3.5.1 Agent Entity ...49 3.3.3.5.2 Server Entity ...51 3.3.3.5.3 Client Entity ...52 3.3.3.6 Leaving ...53 3.3.3.6.1 Entity Crash ...54 3.3.3.7 Service Use ...55

3.4 DPWSMIDDLEWARE ARCHITECTURE ... 56

3.4.1 Overview ... 57

3.4.2 Agent ... 58

3.4.3 DPWS Middleware ... 58

3.4.4 Server ... 59

3.4.4.1 Services ...61

3.4.5 Client... 61

(33)

DPWS Middleware Architecture

$ 6% $ 3.5 IMPLEMENTATION ... 65

3.5.1 How to make a DPWS System ... 65

3.5.1.1 The WSDL Service Descriptor ...66 3.5.1.2 The Generated Code ...67 3.5.1.3 Program the DPWS Middleware ...68 3.5.1.4 Integrating Every System Entity ...69

(34)

DPWS Middleware Architecture

$ 6: $

3.1

I

TRODUCTIO

0 " " 2/, # !

# " ,2 ! " # " 2/,

" ' (# *02# 3 ,2)

.! 2/, ' ,2 ' !

# $ ! ) 2/,

!# ! )

' *02 ( 3 # "

* ) , $ " ' (# 2/, $ ! ) 0

" ! ' !

" $ ' ) 0 " ' (

' " # # # # "

# # # # "

! )

& L4NM " 8 2 ! )

/ ) L4NM ""

" " ! )

# 2/ 1, 2 L:M 3 #

*02 2 ( "" ! !

" ! " $ )

3.2

W

HY A

DPWS

S

YSTEM

! ( ! ? #

! @ B +, L6:M) ' ! "

! ) , ! !

(35)

DPWS Middleware Architecture

$ 66 $ Figure 3 1 – JADE Directory Facilitator Crash

" ! ? " * " " 0

2 @ *02B ( " ) (# *02# # " #

' " ! # "

! ) 0 *02 " ' !

? # ! )

, ! " ! ! # '

# ' ) ' ' !

) , " ! 3 ! " 9 #

" ! ) *02 (# ! !

! ! # )

(36)

DPWS Middleware Architecture

$ 6F $

*02 ! " ) " 3

! '

9 )

& ! # ' 9 " (

3 ' ' 9 ' 9 "

) , ' '

" ( )

3.3

P

ROPOSED

A

RCHITECTURE

" 2 *02 2 ( "

) 2 ( ! 02$ !# 02$ # 02$, # 02$

* !# 02$2 ! 02$ 3 D

02$ ! ' "

) ' ! ;

' () ! # ! # ( "

' ()

02$ "

! ) !

" ' ( )

02$, 9 " ! *02 !) ,

" 2/,* ' "

! @8 *# 2 *#

*# * ZB)

02$* ! 3 0 2 "

" [ ! [# 02 " )

02$2 ! " " $ $

!# " ! ) *02 (

) 0 *02#

(37)

DPWS Middleware Architecture

$ 6G $

02$ 3 ' " ! "

0 2 @ # !B# 0

2 )

& *02 " "

3 ! ' ( ' # *02 ' )

Figure 3 3 DPWS Middleware architecture location

*02 ' "

) ! ' #

! " ) / ! !

' ' )

2 ! ' #

9 ! ) 2 " " "

' ! 3 ) ' 9 !

' ! ' )

! 9 ' " " *02

' ! " ) 0 ' 9

" ! ! ! ! 9

" ) ' ! #

(38)

DPWS Middleware Architecture

$ 64 $

6)6)%

/

5 15& 0

Figure 3 4 General Architecture

( ! ! ! *02 " )

! ! *02 ' ! )

' ' " ! !) 0

' " ! ! " ! !

! " ) 0 *02 ! # ? #

' ' # !

' ) ' ( ! ! *02 ' !

!# ' " " ! )

*02 ' " ' ( ' ;

' ! !

) + ' ( " ! 8

(39)

DPWS Middleware Architecture

$ 6H $

1 ! ( " ! "

! ' ! ! ! " " ) !

? " 2 " )

6)6):

2

K2 & & 2

*02 ' " ) " !

' ! ! " )

Figure 3 5 – DPWS Middleware Top Layer

, " "

! !)

! ! ' "" "

*02 ' )

3 ! ! # ( " #

! ' 3 "

' )

! # " $' # #

" ! 9

" ) *02 ( ! "" " # !

' 3 " ' ! )

, ! " ! # ? ! !

" ' ) ! " ! ! '

) & !

(40)

DPWS Middleware Architecture

$ 6I $

6)6):)% ,J & 0,1

Figure 3 6 – The Agent Entity

, *02 ' ! ! ) * !

" , ' " "

* ) ! ! *02 " )

& " "

" " ) ! ! *

, & " )

" 3 " ! ! "

" ! ! ) 2 # !

! ! ' " )

6)6):): 2 15 1 & 0,1

Figure 3 7 – The Server Entity

2 *02 ' ! ( # 2 #

, # ! ! ' ! )

& ' 3 " ! ; #

(41)

DPWS Middleware Architecture

$ 6O $

& ' ! ! # ( # ' ( '

" ! ! )

& ! *02 ' ! ! !) & !

; " ! ' " ) , ! '

' ' ' '

)

6)6):)6 & & 0,1

Figure 3 8 – The Client Entity

*02 ' ! !

' ) & ! ! #

2 2 " )

, ! ! '

' ; ) , ' ( " " " 3 !

' " ! )

& 2! # ?

)

6)6)6

8

/0

& 0

/1P2

' " ' *02 ' ' ( '

' *02 ( ! ) ! ! " 3 ' ! !

(42)

DPWS Middleware Architecture

$ FN $

6)6)6)% *02 2 , P ,K 1

Figure 3 9 DPWS Stack Discovery Functionalities

! *02 2 ( ! ! ; !

8 # " !# .! ) , !#

( " # ! # ! ' "

) " *02 2 () 0 3

! # ! # 9 ( ' ! '

3 )

Figure 3 10 Services Types

0 ! 3 " 1 9 # 1 9

1 ! ) 0 9 " !

9 ' 1 9 ) 0 ' 9 1 9 1

( ) 0 ! '

# ) ! "

' ' " )

(43)

DPWS Middleware Architecture

$ F% $ Figure 3 11 Subscription Operations

! # !#

) 2 9 ! !) 2

3 # " # " ' ! ' ' 1 '

2 ) , ! ! "

' J 2 2 2 # !)

" ! *02 2 () 0

# ! *02 ' ! # " '

" ) ' " "

' )

6)6)6): *02 & 0,1 ,K 1

Figure 3 12 Middleware discovery features

! " " ! " "

) / ! " 9 " '

' ' ! ! ! !

(44)

DPWS Middleware Architecture

$ F: $ Figure 3 13 Middleware communication features

, ! ' ( ' ! # "

" ! ' )

# ' ! # ' #

; ' ( ' # ! ' ) & ( "

"! )

Figure 3 14 Middleware Subscription management features

2 ( ' ) 2 ' !

' 9 ) &" ' #

! " ) &

' ' " " ! " ! )

6)6)6)6 ,J ,K 1

! ! ) & 9 "

! ' ) 9

" ' ) 0 *02 ' 9

(45)

DPWS Middleware Architecture

$ F6 $

6)6)6)F 22,J K* 2

& " *02 2 ( ! '

)

! ! ! " *02 2 ()

; " ! "

! ) , ( " ! )

" ! ! !

9 )

HELLO

0 ' ! ; ! 8

! ) 9 " & "

' ! ' # ! " )

BYE

0 ! ! ! ' .!

! ) 9 "

& " !)

LOOK UP

( ! ! *02 (

" )

(46)

DPWS Middleware Architecture

$ FF $ Figure 3 15 Look up communication diagram

! ( * !

' ! " ' ' " ) &

' " @ " ' G B * "

! ! ! ) ," ' 2 (

' " ! ! )

" ' ) *

" " 8 )

GET DEVICE METADATA

J ! " 8

" ( " '" !) !

' 9 " ) ' " "

3 " D " " ) 2

*02 ' ! " ) "

! # " ' ) "

" # " 1 # # # 1

(47)

DPWS Middleware Architecture

$ FG $

GET SERVICE METADATA

J 2 "

) & # ! " )

0 " 9 ! ' ! 9

" )

! ' 3 ! '

9 ) 0 ! 9 " ! '

1 9 " )

, 1 9 1 " 9

! 9 ) ! ! " " )

, ! # # '

! 9 ! )

! @02 B)

! " ! 3 ! ! !)

REQUEST

! " ) 9 ! (

1 9 ! ! )

, ' 9 )

9 " !)

REQUEST RESPO SE

! " 9 " ) & 1 9

9 ) . !

)

1 9 1 #

# ! ()

EVE T

(48)

DPWS Middleware Architecture

$ F4 $

! ! !

) ! " 2 ( ' ()

')

0 ! ' ( "

" )

! ! )

)

& 2 3 ) 0 !

" ! ) !

3 ' " 3 ) 0

! ' " ! )

, ! ! # '

" ! )

2 ! *02 2 ( # !

3 )

(49)

DPWS Middleware Architecture

$ FH $ Figure 3 16 Subscription Communication

, " " ! '

! " ) 0

" ) 0 " '

" " !)

SUBSCRIBE

2 ! ' ' ' '

( ) 2 !# '

" ' @ ! B#

" ) ' "

) &" 9 ' " 3 #

# ' " # " )

RE EW SUBSCRIPTIO

! " ' ' 3 ) &" ' (

(50)

DPWS Middleware Architecture

$ FI $

' 1 ' 2 ) &

) '

" ) &" 3 )

GET SUBSCRIPTIO STATUS

0 ( ' ' " J

2 2 ) &

" ) &" 3

)

CA CEL SUBSCRIPTIO

&" ! !

2 ) & ) 9 !

" ' 3 )

6)6)6)G +/& & J

+ ! "" ! ! ! ) 0 ,

! ; ! " ( " )

, ! ( " )

0 2 ! ; ! " ! ' "

9 ) & " ) & 2 9 )

0 ! ; ! ( "

") & ! !) & 3

)

0 ! ( ' ! # 8 ( #

9 ' 2 ( '

' ) ( "

# " 8 " ( )

0 ! ( ' ! 9 "

(51)

DPWS Middleware Architecture

$ FO $ Figure 3 17 Request Metadata

Figure 3 18 Metadata Request message sequence

0 ; ! 8 # !

# ! " ) & " (

( ' ' " ) ," " @ (

( ' B )

3 ( " ! " )

(52)

DPWS Middleware Architecture

$ GN $ Figure 3 19 Agent joining the system

(53)

DPWS Middleware Architecture

$ G% $

0 2 ! ; ! 8 # !

# ! " ) , ' "

" ! " ) 2 "

" ' ! ' ! )

Figure 3 21 – Server Entity Joining the system

. " 2 ( ' ! 3 '

!) 3 " )

Figure 3 22 – Server Entity Join message sequence

(54)

DPWS Middleware Architecture

$ G: $

0 ! ; ! 8 ( ,

2 ) " ! ( " )

," ( " ) & ' " 9

) ! " ! !

!)

Figure 3 23 – Client Entity Joining the system

(55)

DPWS Middleware Architecture

$ G6 $ Figure 3 24 – Server Entity Join message sequence

6)6)6)4 ,5& J

' ' 2 , ! ! )

! ' ! ' .!

! ) ! ' ! )

0 ! ! ! ' ) 2

" ' ; # )

0 2 , ! ! .!

(56)

DPWS Middleware Architecture

$ GF $ Figure 3 25 Entity leaving

Figure 3 26 Entity Leaving sequence

& ! .! ) & ' !

( ! ' ' ) 2 .!

! ( ' ! ! )

0 ' ( ' !

) , ' ' ( ' !

' ! ! ' )

(57)

DPWS Middleware Architecture

$ GG $ Figure 3 27 Entity crash

Figure 3 28 Entity Crash Sequence

6)6)6)H 2 15& 2

*02 3 ' () "

(58)

DPWS Middleware Architecture

$ G4 $

9 ! ! 3 ! '

) ! ! 9 )

9 Y ! # 3 !

) ! 9

" " )

! ? ! ! !

' ) ) &"

' " ! " ! )

0 ' )

Figure 3 29 Service Request Figure 3 30 Service Request

Response

Figure 3 31 Service Event

3.4

DPWS

M

IDDLEWARE

A

RCHITECTURE

*02 ' ! ' ! *02

" @ 6$6B)

3 ! ' ( ' *02 2 ( "

(59)

DPWS Middleware Architecture

$ GH $ Figure 3 32 DPWS Wrapper

' " ' 9 ! "

" ! ; ) & ( '

! " ) 2

' ) ! ! *02 2 (

' ! " ' !

) / ! ' ' !

! ) ' ')

6)F)%

/

5 15& 0

," ! *02 ( " *02 '

" !) " "

'

" ) & ' ' ' !

! ) 2 ( & " )

! " ' ' " '

! " )

" ' " *02 ' )

(60)

DPWS Middleware Architecture

$ GI $

6)F):

,

J

Figure 3 34 Base Agent Architecture

! , ! ' " & @ " ! B '

" # ! ! ! ' ( ' ' ( "

! ! ) ' ( ' ' '

' ! ! ) ! "# #

! & @ " ! B ! ) / " "

! # ( !# ! )

! #

!# ! 2 ()

' ( ' ' ! " !

" ' 9 ! ) 0 " ! " ! #

' *02 ' ) J !

*02 ' ( )

6)F)6

*02

& 0,1

*02 ' " 2 @ 6$GB)

2 " ' "

*02 2 ()

' ! " ( '

( ) , ! ! ) !

(61)

DPWS Middleware Architecture

$ GO $

' 2 3 ' () ! "

2 ! " 3 9

)

. # ' 2 # " " *02

2 ( " )

' ( # (

' ! " ! ' ' ' R '

) 2 ! R "

" ' 9 ! ) *02 '

! ' 2 ) & ' 1 9

" 2 # ' 9 # ( ! "

9 !) 1 9 , ' 9 '

" " 9 !)

& " ' ! *02 ( " 3# '

( ' " ! ' ! 3 ' ( "

' ! ' )

6)F)F

2

15 1

Figure 3 35 Server Services

' 2 " # 8 .!

! # 2 " # ' !

9 ) , 2 ! # '

(62)

DPWS Middleware Architecture

$ 4N $

*02 2 ( " 8 .! '

) "

9 ! *02 2 ()

' " !

" # 9 ;

! 9 )

Figure 3 36 – Middleware Server Architecture

3 ! " )

0 ! ! ! ! 8

! ) .! ! ' '

9 ! " ) 0

! ' .! ' )

3 ! 2 ! #

! ! ' ) ' ' 9 # 9

(63)

DPWS Middleware Architecture

$ 4% $

6)F)F)% 2 15& 2

Figure 3 37 Services Architecture

2 " " ! #

) &" 9 ! '

' " ' )

2 *02 2 ( !

) ' 2 ! 9

; ) 0 9 "

)

6)F)G

&

Figure 3 38 Client Services

" ! ( # #

# # 8 .! #

9 " ( " ( ' '

" ! " ! ) & " ( !

" ! # 3 ! !# !

(64)

DPWS Middleware Architecture

$ 4: $

" " ! " ) & '

! ' ' ' '

! ) 0 ! !

!# ' ! '

" )

' "" " *02 2 (

) . " ' "

*02 " ! ) '

! " "

" *02 2 ( )

Figure 3 39 – Middleware Client Architecture

" ' ! ( " )

& 8 # ! # 2 )

2 # # ' #

# "! " @ $ 'B )

2 @ ! B# "

! ) , # ! # & ( ' ' '

(65)

DPWS Middleware Architecture

$ 46 $

6)F)G)% 5 8, 1 , ,J 1

Figure 3 40 Event Handler Manager Architecture

' 8 " 2 !

" ) & 8

! ) & ( "

' " ( " '

*02 2 ( @ '# # B)

3 2 ! '

' ! 3 ) & ! " ' @ !

" B ! ' "! # ' ' "! '

' ' " )

*02 2 ( " )

3 " ' )

6)F)G): */& , ,J 1

(66)

DPWS Middleware Architecture

$ 4F $

( ' ' ! !

) ' "

' 9 ! ' '

)

! ' & "

9 " ! ( ' )

' ' )

6)F)G)6 P /0 & & 2

Figure 3 42 Known Entities Architecture

" ' " ' )

! 3!# # ! "

' )

' ! "

! ( ' !) & ! ' ' '

" )

(67)

DPWS Middleware Architecture

$ 4G $ Figure 3 43 Entity Services Architecture

! 2 " " ! '

# ! # 3! ( @ ( B)

" ) & "

' ' ( ' ) ,

# ' ! " ' )

3.5

I

MPLEME TATIO

& " ! ' *02

' # " " *02 ' )

6)G)%

8

/0 / ,P ,

*02 2

K2

! *02# " '

D

# 02 " S

J *02 2 ( ' S

& *02 ' ! " ' S

& ! ' ! )

' ! !

(68)

DPWS Middleware Architecture

$ 44 $

' ! " ) 0 '

! ! )

! " *02 (# '

) ," ! ' ) ! ' ( ' '

! ! )

6)G)%)% 8 02 2 15& 2 1&* /1

( *02 ' # 02 " ' *02

( " " ) 02

' 3 F)%N)

02 " 2 ' )

2 ) ! 3

2 )

06 02 L4%M '

! 2 ( )

Figure 3 44 Service Description Tree

2 * ! ) & * !

" " ! @ 3D ! " # ! "

(69)

DPWS Middleware Architecture

$ 4H $

! ) " # " 3 #

# ! " ! ) &

" ! ! ' )

* ! @ 9 9

B @ B)

/ # 3 6)6)6)H# " ! 1 9 # 1 9 1

) 1 9 / !# 1 9 1

! ' !

/ !) ' '

3 ' )

)

02 " ) ! ) ! "

! ( # # ( # X 2 ! #

! )

! 2 3) 2 ! # X

2 ! ! # 3 #

! ) 3 ! " '

' ! # X 2 ! " 2 ! L4:M)

2 !

" ! ) ' ! !

! ' 3 ) , "

! ' ! ! ' " ! '

! !)

6)G)%): 8 J 1, /

" ( ! 2 @ + 2 ( B

(70)

DPWS Middleware Architecture

$ 4I $ Figure 3 45 Generated Code

+ *02 02 "

" ' )

& D

" ! 02 " S

& ( * ! ( * !

S

" * ! /

S

8 & " # * ! ' #

) " ! ! !

)

0 " ' )

6)G)%)6 *1/J1, 8 *02 & 0,1

," ! # ! *02 2 ( #

(71)

DPWS Middleware Architecture

$ 4O $

' + ' # ' '

) " ! ' " !

# ' )

D

' S

' 2 S

P ' " S

S

2 )

! " " '

" *02 2 ( )

D

*02 ' @ ! !B

! "

! " 2

2

8

" ! )

9 ? # ' ! " ' )

( ' " " *02

" " ! ! ! 2 #

02 " )

6)G)%)F & J1, & J 5 1K2K2 & K

," *02 & " ! !

' ) " ! " ' ' ( '

! # ! ! ( ' ' 3 " ( '

' # ! ) 0 " '

! ! " " ) " !

(72)

DPWS Middleware Architecture

$ HN $

! ' ( ! ) '

! ' ! *02 & " "

9 ' !)

6)G):

1

& J 8

2

K2

2 *02 ! )

! ! ! ' " ! ! "

) *02 & " ' ' !

' " ! ( # 8 .! )

0 ! # ! #

# ! )

! # ' ! ! # #

! ) # " ! # ' !

(73)

Case Study

$ H% $

4

Case Study

4.1 OVERVIEW 72

4.2 3DMODEL 74

4.2.1 Workpieces 75

4.2.2 Decision points 76

4.2.3 Loader Model 76

4.2.4 ShiftTable Model 77

4.2.5 Machine Model 78

4.2.6 Unloader Model 79

4.2.7 Models DPWS Interface 80

4.3 AGENTS 80

4.3.1 Loader Agent 82

4.3.2 Unloader Agent 84

4.3.3 ShiftTable Agent 85

4.3.4 Machine Agent 86

4.3.5 Workpiece Agent 87

4.4 HUMAN INTERFACE 89

4.4.1 Configuration Tool 90

4.4.2 Production Manager 91

4.4.3 Communication Log 93

4.5 DATABASE 94

4.6 TOPOLOGY 95

4.7 DEMONSTRATOR COMMUNICATION 96

4.8 HOW IT WORKS 97

4.9 3DMODEL SIMULATION TO REAL MACHINES 99

(74)

Case Study

$ H: $

4.1

O

VERVIEW

' *02

' ) 6 " " # *02 & "

' 2 ' 6 !# , ! # " #

* # ) "

' *02 & "

)

' ! '

! ! ) ! ( ' R ' *02 0

' ! *02 2 ( # " #

# 02 )

Figure 4 1 3D model Communication Model

6 ' &, 7 ! '

' ! 2 ) 6 6 ' ( ! '

"" ) ," 6 '

2 @2 B) 6

" %N6 !) & O

' ' 2 ? ) "

' *02 " ( )

"

*02 & " )

" ! ' + 2

(75)

Case Study

$ H6 $

*02 & " " 6 ' " '

2 ' ' ! ) "

" ' ! )

Figure 4 2 Agent Communication Model

0 6 ' ) ,

' ' , ' ) '

' ' ; )

" ! ' ' D

" # * # )

Figure 4 3 Configuration Tool and Production Manager Communication Model

" * 8 & "

' , ' ) " " "

) * " !

(76)

Case Study

$ HF $

Figure 4 4 Database Communication Model

! ! 2 ' ) , !

! ) 0 !

! )

Figure 4 5 Communication Log Communication Model

! ' ' ) ! !

! 3 2 2 '

) ! ! !

)

, ! " !

# ' ! )

4.2

3D

M

ODEL

6 " " "

! DaimlerChrysler) & ' &, 7 2 " '

(77)

Case Study

$ HG $ Figure 4 6 Demonstrator 3D Model

' # # F " # 6 )

2 ' ! ' ( ! ! " ! '

! ' )

" ' # ' ' ( #

3 )

' *02 " # ( )

/ ( ( ) ," ! " O (

6 !

)

F):)%

0

/1P*& 2

0 ( " 6 ) ! " ' ( #

! ! ) # ' ( ! )

' ( & ) & ' ' ( ?

) & ! , ) & !

! ) & # ' !# ( ( " ' (

(78)

Case Study

$ H4 $

F):):

&2&/ */& 2

" 6 ) 2

' ' ( ) 2 ' ( &

' ' ) /

! ' ( ! ! " ' ! ) ,

3 " " " '

' ( ) & " " ' ( "

3 ' 3 '

" ) ( ' (

' ( ! ! )

O ! ? !

( ( ' *02 " ) , "

( ' 3 )

F):)6

/, 1 /

' ( " '

! ) & ! " )

, ! ! ! !) 0 ( ?

@ ! & B )

' 6 ' ( ! ) " !

! ) ! " ! D # ) !

' " ' ( ! ! )

(79)

Case Study

$ HH $ Figure 4 7 Loader and Warehouse 3D Model

' ! "

' ( ! ! ! )

! *02 & " )

*02 & " 3 ' " ,

) 0 % ' ! %

)

F):)F

2

8& ,. /

F " ) "

" " ' ( ! " ! ) " !

" ' ( " " ! 6 ! )

" " 3 ) 0 ' (

) 0 ' ( "

# " 3 ) / !

' ( " ! )

(80)

Case Study

$ HI $ Figure 4 8 ShiftTable 3D Model

" " ' !

! " ! ) ' ! " ' ( ' '

)

" ! !) . ' !

' " ' ! ) " "

)

0 ( ! !

!) ' ! ! ! ' (

! ; )

! " " ' ( " !

)

" ! *02 & " )

*02 & " 3 " 2 " , ) 0 F

" ! F " )

F):)G

, 8& /

6 )

" ' ( ! ) " ! ' (

! ! ' # ' ' ( !

' )

(81)

Case Study

$ HO $ Figure 4 9 Machine 3D Model

" ! ! ' !

' ( # ; # )

' ( ' ! "

" )

3 " " ' ( ! D 3 #

# ' ' !

! ) , ! !

" , )

! " ' " ' (

! ! )

! *02 & " )

*02 & " 3 , ) 0 6

! 6 )

F):)4

/, 1 /

' ( " ! ' !) &

(82)

Case Study

$ IN $ Figure 4 10 Unloader 3D Model

& ! ) &

" " ! ) , " ( '

' ( )

! *02 & " )

*02 & " 3 , ) 0 %

! % )

F):)H

/ 2

*02 &

1 ,

! " O '

! ) O 2 ! *02 & " 6 ) "

! *02

" ) ! *02

( )

4.3

A

GE TS

, ! ) & (

(83)

Case Study

$ I% $ Figure 4 11 – Agent Architecture

! ! ' ' "

" ! )

G ! D # " # #

' ( ) ! " 6

)

2 ( " )

" 9 " " ! )

' " " " )

Figure 4 12 Decision Making Direct Information Gathering

! 9 " "

! ! ) ! ' 9 " )

(84)

Case Study

$ I: $

! "

!

Figure 4 13 Decision Making Indirect Information Gathering

" " ' "

" ! ) ," " ' (

" ( )

! ! ) 0

! ; ! '

)

F)6)%

/, 1

,

J

, " ' ) & (

' ( " ' !

' ( ) ' ( ' (

) ' (

' " ' ( ) & (

(85)

Case Study

$ I6 $ Figure 4 14 Loader Agent Interactions

, " * #

' ( " ' # ? ' ( '

( ! " ' ( " ' ! )

Figure 4 15 Loader Agent Tasks

' ! " ' ( #

! # " ! " ! )

" ' ( !) & !

(86)

Case Study

$ IF $

F)6):

/, 1

,

J

, " ) & (

' ( " ! ) ! ' ( !

)

Figure 4 16 Unloader Agent Interactions

Figure 4 17 Unloader Agent Tasks

& ' ( " ' ( ' !

! " ' ( )

," ' ( ' ' ( "

' ' ( # ' ( " ! "

(87)

Case Study

$ IG $

F)6)6

2

8& ,.

,

J

2 " , " " ) (

' ( ! ) ! 9 ! 3

' ' ( 9 )

Figure 4 18 ShiftTable Agent Interactions

2 " ! 3 ! " "

' ( " ! 3 ) , ' ( !

" ! ) " " ' (

' ! " ! )

Figure 4 19 – Shift Table Agent Tasks

0 ' ( # " ' ' 2 "

, ' "! " 9 " ' ( ) & ' ! 3

(88)

Case Study

$ I4 $

0 ( ' ( " ) "

' ! 3 " )

F)6)F

, 8&

,

J

, " ) & ( !

' ( )

Figure 4 20 Machine Agent Interactions

' ( ! ' ( )

," ' ( ' ! ' (

) &" ( ' ' (

)

(89)

Case Study

$ IH $

0 # '

' ( 9 ! 0 ( , )

," " # # '

' ( ' 3 ) ' (

! )

F)6)G

0

/1P*&

,

J

0 ( , " ! ) ! '

) ! " " # # #

# ' ( " ' ( ! )

0 ( , ! ' ! '

! !)

Figure 4 22 Workpiece Agent Interactions

" ( " ' ( , ! " ' (

' ! ) & ' (

! " ( )

," ' ( ! ' (

" ' ' ( ' "

) ' #

(90)

Case Study

$ II $ Figure 4 23 Workpiece Agent Tasks

," ' (

" ) & ' (

' ( # ! # 9 " ! ' (

) ' (

' ( ' ' ( )

' ( " ! " '

' ( ' ' ( ) &

# ' # # ' ( ) ,"

' ( ' ' ( '

" " ' ( )

' ( ! " ' ( )

, ' ( ! ' (

! ' ) 0 ( ' ' (

! ' ) & # " ' (

! ) ' ! " " ' (

) ' ( ' ' (

(91)

Case Study

$ IO $

4.4

H

UMA

I

TERFACE

8 & " ! ! "

! )

! " # # )

! ' ) & '

! 9 " * #

)

) (

! ! )

1 9

Figure 4 24 – Required Human Interface Entity Architecture

2 " " # !

, *02 ' ) "" !

" " ' )

& ' D "

* )

(92)

Case Study

$ ON $

2 ; ! "

' ! ; 9 *02 ' ) 0 " ! ' ;

! ' # ( " ) !

! " ; # " 3 ! ' ( ' )

; ! ! ' #

' " )

& !D )

! !

" !) )

! # '

" )

F)F)%

/ &J 1, &/ //

" " ! " "

" ! ) & )

" ! " " " ! )

. " ! ! # " "

" ) ," ' " ! ! )

Figure 4 26 Configuration Tool Interactions

" !

(93)

Case Study

$ O% $

") ! " ! ! ' !

! )

Figure 4 27 – Configuration Tool Tasks

0 ! " " ( "

" " ) &" # 9 ) ' " , !

" ' " )

2 9 " ! " )

& " ' 2 !

" ) 2

)

F)F):

*

1/ &/ , ,J 1

! ! ) , ' (

) *

! , ' 9

(94)

Case Study

$ O: $ Figure 4 28 Production Manager Interactions

' ( " ' ( !

' ' ( ' 9 )

Figure 4 29 – Production Manager Tasks

' ( " ' ( ! #

" ! " ! ' ( )

, ' ! " ' ( ! )

* ( ( " ! '

(95)

Case Study

$ O6 $

F)F)6

/ & , &/ /J

' ! ) ! !

( ( ! "" )

' "

)

Figure 4 30 Communication Log Interactions

( " " ! ! 3

" ! ! !)

(96)

Case Study

$ OF $

3 " ? ) ! "

!

) , ? ! )

4.5

D

ATABASE

! !

' ! !) & ! !

! )

Figure 4 32 – Database Architecture

*02 " 6 "

! )

Figure 4 33 Database Interactions

*02 " ' ! (

(97)

Case Study

$ OG $ Figure 4 34 – Database Tasks

& " ! ' ( ! #

) & ' ( " 0 ( , ) &

! ! ! ' ( ) . " #

" ; ' ( # )

4.6

T

OPOLOGY

& # ' ! )

' ( ( ' ! " ) ," ' (

" 0 ( , " ' ( 3 )

( 0 ( , "

! ) & ! ( ' ! " ! #

" ! " )

(98)

Case Study

$ O4 $

" # ' ! # " !

! # *02 2 ( !

' ) 0 ! " ! 3 !

)

Figure 4 36 Friendly ame Decomposition

" " ! 3 ) "

" !) ' "

' " ! " #

! ' ) 2 # " ,$%GN ' ( 2 $

:NN ( @ ! B)

" ! ! ! %NN ' ) ! ! '

" %NN " :NN ' ' )

0 ' ( ! ! 3 !

0 ( , ) 0 " 0 ( ,

' ( ' )

4.7

D

EMO STRATOR

C

OMMU ICATIO

, # ' # *02)

! ! *02 & " ' 9

)

! 3 ' 6 *02

& " 3 # ' ! ( )

' 6)6): ! " ' D

(99)

Case Study

$ OH $

$ ,

$ ,

$ 2 " ,

$ 0 ( ,

$ ,

$ "

$ *

2 D

$ 0

$ 2 "

$

$

$

D

$

, # 3

! # " # 9 )

, *02 ' )

2 ' ! ; # 3 !

9 ) 2 *02 ' )

( " # 9 )

*02 ' )

& ! ! ' ! ; 3

*02 ' ' ! ' )

4.8

H

OW IT

W

ORKS

(100)

Case Study

$ OI $ Figure 4 37 Single Workpiece Production Overview

' ( ! * !)

9 ' ( ) ,"

( ' ( *

* / , )

, 9 ' ( ! " ' '

) , ? ' (

0 ( , ) & 0 ( , ""

, ) ," " (

"" ' ( 0 ( " ' ( )

0 ( , ' ( 9

" ' ( ! ) 0 ' (

, ) , "" "

0 ( , ! "" ) , ,

(101)

Case Study

$ OO $

0 ( , ' ( "

' ( ) ! )

0 ' ( , ( !

! ! ' ( ) &

' ( ) ," 0 ( ,

' ( " ! ! )

0 ( , ' ( # "

# ' ( , ) ,

"" ' 0 ( , ( ) ,"

, # 0 ( , ' ' (

)

0 ' ( 0 (

' ( " ' ( " ! )

4.9

3D

M

ODEL

S

IMULATIO TO

R

EAL

M

ACHI ES

0 ' !

*02 & " # 6 ' 3 !

" 6 "

)

6 " !

' ' ' (# ' ! ! ) LG:M

4.10

WSDL

G

E ERATOR

T

OOL

+ *02 2 ( ! 2 02 2

! ) 0

" #

(102)

Case Study

$ %NN $

J ' () 0 02 " *02

2 ( 9 *02 & " )

02 J *02 02 "

! ) ! # ! # #

(103)

Conclusion & Future Work

$ %N% $

5

Conclusion & Future Work

5.1 CONCLUSION 102

5.2 FUTURE WORK 104

5.2.1 DPWS Stack 104

5.2.2 Standards 105

5.2.3 Semantics 105

5.2.4 FIPA Compliant Communication 106

Imagem

Figure 3 4   General Architecture
Figure 3 15   Look up communication diagram
Figure 3 16   Subscription Communication
Figure 3 19   Agent joining the system
+7

Referências

Documentos relacionados

[r]

Nesta categoria, encontram-se os protocolos dos alunos que identificam a ideia da operação que resolve o problema, mas erram nos procedimentos de cálculo, seja por meio de

O nº 4 do Despacho nº 282/2016 de 7 de julho (Calendário Escolar 2016/2017) determina que as atividades educativas com crianças das Creches, Jardins de

[r]

2 No caso do controlo de grupo, estabeleça as ligações elétricas do controlo remoto com a unidade principal quando ligar ao sistema de operação simultânea (as ligações elétricas

[r]

Nesse texto, destacamos apenas as informações referentes à quatro categorias (conceito, atribuições, instituição, palavras- chave) como critério de recorte para

Aprova as (IR 60 – 10) Instruções Reguladoras para a Organização e o Funcionamento do Programa de Atualização dos Diplomados pela Escola de Comando e Estado-Maior do