awsoa: agents-based soa for wireless sensor & actor networks
TRANSCRIPT
awSOA:Agents-based SOA for
Wireless Sensor & Actor Networks(Multi-Agents Systems Programming)
Master in Software Engineering & Artificial Intelligence
awawSOA:SOA:AgentsAgents--based SOA forbased SOA for
Wireless Sensor & Actor NetworksWireless Sensor & Actor Networks(Multi(Multi--Agents Systems Programming)Agents Systems Programming)
Master in Software Engineering & Artificial IntelligenceMaster in Software Engineering & Artificial Intelligence
Computer Science DepartmentUniversity of Malaga
Juan Antonio Martin Checawww.telefonica.net/web2/jamcheca
2011
Computer Science DepartmentUniversity of Malaga
Juan Antonio Martin Checawww.telefonica.net/web2/jamcheca
2011
2
Index of contentsIndex of contentsIndex of contents
1. Introduction2. SOA & Agents Technology3. Architecture4. Programming Model5. Communications: FIPA6. SOA & WSANs7. SOA-Agents-WSANs: APPA8. Conclusions / Future Work
1. Introduction2. SOA & Agents Technology3. Architecture4. Programming Model5. Communications: FIPA6. SOA & WSANs7. SOA-Agents-WSANs: APPA8. Conclusions / Future Work
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
3
1. Introduction1. Introduction1. Introduction1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
4
1. Introduction1. Introduction1. Introduction
1.1 The Internet of Things (IoT)
1.2 SOA (Service-Oriented Architecture)
1.3 WSANs (Wireless Sensor & Actor Networks)
1.4 Agents
1.1 The Internet of Things (IoT)
1.2 SOA (Service-Oriented Architecture)
1.3 WSANs (Wireless Sensor & Actor Networks)
1.4 Agents
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
5
1.1 The Internet of Things (IoT)1.1 The Internet of Things (IoT)1.1 The Internet of Things (IoT)
“self-configuring wireless network of sensorswhich purpose would be to interconnect all things”
“self-configuring wireless network of sensorswhich purpose would be to interconnect all things”
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
8
1.2 SOA (Service-Oriented Architecure)1.2 SOA1.2 SOA (Service(Service--Oriented Architecure)Oriented Architecure)
SOA“a paradigm for organizing and utilizing distributed
capabilities that may be under the control of different ownership domains.[...] It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.”
- OASIS (Organization for the Advancement of Structured Information Standard)
SOA“a paradigm for organizing and utilizing distributed
capabilities that may be under the control of different ownership domains.[...] It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.”
- OASIS (Organization for the Advancement of Structured Information Standard)
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
10
1.2 SOA (Service-Oriented Architecure)1.2 SOA1.2 SOA (Service(Service--Oriented Architecure)Oriented Architecure)
SOA Principles01. Service contract (standardized)02. Service loose coupling03. Service abstraction04. Service reusability05. Service autonomy06. Service statelessness07. Service discoverability08. Service composability09. Service optimization10. Service relevance11. Service encapsulation
SOA Principles01. Service contract (standardized)02. Service loose coupling03. Service abstraction04. Service reusability05. Service autonomy06. Service statelessness07. Service discoverability08. Service composability09. Service optimization10. Service relevance11. Service encapsulation
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
11
1.3 WSANs (Wireless Sensor & Actor Networks)1.3 WSANs 1.3 WSANs (Wireless Sensor & Actor Networks)(Wireless Sensor & Actor Networks)
WSANs: group of sensors and actors linked by a wireless medium to perform distributed sensing and actuation tasks.
Sensors: gather information about the physical world.
Actors: take decisions and then perform appropriate actions upon the environment.
Main issue: resource-limited (CPU, mem, battery, etc.)
Goal: remote, automated interaction with the environment.
WSANs: group of sensors and actors linked by a wireless medium to perform distributed sensing and actuation tasks.
Sensors: gather information about the physical world.
Actors: take decisions and then perform appropriate actions upon the environment.
Main issue: resource-limited (CPU, mem, battery, etc.)
Goal: remote, automated interaction with the environment.
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
13
1.4 Agents1.4 Agents1.4 Agents
Intelligent Agent (IA):
“Autonomous entity which observes and acts upon an environment and directs its activity (i.e. by learning or using knowledge) towards achieving goals.”
Intelligent Agent (IA):
“Autonomous entity which observes and acts upon an environment and directs its activity (i.e. by learning or using knowledge) towards achieving goals.”
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communi2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions cations (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions
16
2. SOA & Agents2. SOA & Agents2. SOA & Agents..
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
17
2. SOA & Agents2. SOA & Agents2. SOA & Agents
2.1 Business Approaches
2.2 The Evolution of Programming
2.3 Characteristics of Agents (IT)
2.4 How Can Agents Help?
2.5 Extending SOA to be resource oriented
2.1 Business Approaches
2.2 The Evolution of Programming
2.3 Characteristics of Agents (IT)
2.4 How Can Agents Help?
2.5 Extending SOA to be resource oriented
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
18
2.1 Business Approaches2.1 Business Approaches2.1 Business Approaches
Business Approaches
centralized: top-down / hierarchicaldistributed: peer-to-peer
AdaptationFlexibilityAgents-based SOA standards:
SoaML / OASIS’ Reference ArchitectureScalability, functionality distribution, etc.
Business Approaches
centralized: top-down / hierarchicaldistributed: peer-to-peer
AdaptationFlexibilityAgents-based SOA standards:
SoaML / OASIS’ Reference ArchitectureScalability, functionality distribution, etc.
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
19
2.2 The Evolution of Programming2.2 The Evolution of Programming2.2 The Evolution of Programming
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
22
2.3 Characteristics of Agents (IT)2.3 Characteristics of Agents (IT)2.3 Characteristics of Agents (IT)
Characteristics of Agents for IT Systems
autonomous: capable of acting without direct external intervention.
interactive: communicates with the environment and other agents.
adaptative: capable of responding to other agents and/or its environment.
Characteristics of Agents for IT Systems
autonomous: capable of acting without direct external intervention.
interactive: communicates with the environment and other agents.
adaptative: capable of responding to other agents and/or its environment.
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
23
2.4 How Can Agents Help?2.4 How Can Agents Help?2.4 How Can Agents Help?
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
28
2.5 Extending SOA to be resource oriented2.5 Extending SOA 2.5 Extending SOA to be resource orientedto be resource oriented
Types of agents used to gain distributed controlProcess-based agents: have the knowledge of how a service can combine resources and create products as part of a workflow in a supply chain.
Resource-based agents: manage the capacity-constrained resources of the systems, such as people, vehicles, tools, machinery, materials, and facilities.
Types of agents used to gain distributed controlProcess-based agents: have the knowledge of how a service can combine resources and create products as part of a workflow in a supply chain.
Resource-based agents: manage the capacity-constrained resources of the systems, such as people, vehicles, tools, machinery, materials, and facilities.
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
29
2.5 Extending SOA to be resource oriented2.5 Extending SOA 2.5 Extending SOA to be resource orientedto be resource oriented
Managing processes and resources using agentsManaging processes and resources using agents
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
35
2.5 Extending SOA to be resource oriented2.5 Extending SOA 2.5 Extending SOA to be resource orientedto be resource oriented
Using agent-oriented software dynamic resource scheduling can be developed using:
COTS and COTS-adapted components (e.g., resources, work center, parts, tasks/operation, and jobs) required for the scheduling application.Protocols (interactions/constraints between components) using a standardized representation language called an Agent Interaction Protocol (AIP).Rules/Policies that define the order of interactions and the content of an interaction based on a user-defined scheduling algorithm.
Using agent-oriented software dynamic resource scheduling can be developed using:
COTS and COTS-adapted components (e.g., resources, work center, parts, tasks/operation, and jobs) required for the scheduling application.Protocols (interactions/constraints between components) using a standardized representation language called an Agent Interaction Protocol (AIP).Rules/Policies that define the order of interactions and the content of an interaction based on a user-defined scheduling algorithm.
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 1. Introduction 2. SOA & Agents2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
37
3. Architecture3. Architecture3. Architecture
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
38
3. Architecture3. Architecture3. Architecture
3.1 An Agent-Based Service Oriented Architecture (A.Poggi et al.)
3.2 Service Oriented Architecture for Business Dynamics: An Agent-based Approach (A. Sharma, et al.)
3.3 FUSION@: A SOA-Based Multi-Agent Architecture (D.I.Tapia, et al.)
3.1 An Agent-Based Service Oriented Architecture (A.Poggi et al.)
3.2 Service Oriented Architecture for Business Dynamics: An Agent-based Approach (A. Sharma, et al.)
3.3 FUSION@: A SOA-Based Multi-Agent Architecture (D.I.Tapia, et al.)
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
39
3.1 An Agent-Based SOA3.1 An Agent3.1 An Agent--Based SOABased SOA
Integrate agents with: workflows, rule engines, Web 2.0 & WS.Ontologies support for:
efficient discovery of WS WS interfaces: semantically notated
interoperability of heterogeneous WS agents communicate in a semantic way
Actors: service providers, business process manager & users
Agents: service providers, personal assistants &middle agents (e.g. service brokers, user profile managers, workflow managers, etc).
Integrate agents with: workflows, rule engines, Web 2.0 & WS.Ontologies support for:
efficient discovery of WS WS interfaces: semantically notated
interoperability of heterogeneous WS agents communicate in a semantic way
Actors: service providers, business process manager & users
Agents: service providers, personal assistants &middle agents (e.g. service brokers, user profile managers, workflow managers, etc).
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
40
3.1 An Agent-Based SOA3.1 An Agent3.1 An Agent--Based SOABased SOA
MASE (Multi-Agent Service Environment)
Agents:
Component managers
Workflow managers
MASE (Multi-Agent Service Environment)
Agents:
Component managers
Workflow managers
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
41
3.1 An Agent-Based SOA3.1 An Agent3.1 An Agent--Based SOABased SOA
MASE (Multi-Agent Service Environment)Agents
Component managers: Associated to one or more WS.Responsible for interacting / invoking WS.WSIG JADE add-on: ACL messages WSDL“On the fly” definition of WS features (price, etc.)...through a set of business rules managed by a rule engine...modifiable by the operators of the service provider through a Web interface
MASE (Multi-Agent Service Environment)Agents
Component managers: Associated to one or more WS.Responsible for interacting / invoking WS.WSIG JADE add-on: ACL messages WSDL“On the fly” definition of WS features (price, etc.)...through a set of business rules managed by a rule engine...modifiable by the operators of the service provider through a Web interface
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
42
3.1 An Agent-Based SOA3.1 An Agent3.1 An Agent--Based SOABased SOA
MASE (Multi-Agent Service Environment)Agents
Workflow managers: Building the workflowsComposing external WSMonitoring execution of WS 2 alternative automatic procedures:– Predefined workflow: extracting it from a repository– Dynamic workflow: composing atomic services
MASE (Multi-Agent Service Environment)Agents
Workflow managers: Building the workflowsComposing external WSMonitoring execution of WS 2 alternative automatic procedures:– Predefined workflow: extracting it from a repository– Dynamic workflow: composing atomic services
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
44
3.2. SOA: An Agent-based Approach3.2. SOA: An Agent3.2. SOA: An Agent--based Approachbased Approach
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
46
3.3 FUSION@: A SOA-Based Multi-Agent Architecture 3.3 FUSION@: A SOA3.3 FUSION@: A SOA--Based MultiBased Multi--Agent Architecture Agent Architecture
..
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
48
3.3 FUSION@: A SOA-Based Multi-Agent Architecture 3.3 FUSION@: A SOA3.3 FUSION@: A SOA--Based MultiBased Multi--Agent Architecture Agent Architecture
Applications: all the programs that can be used to exploit the system functionalities.
Agents Platform: core; set of agents.
Agents: controllers/administrators of:services, applications, communication, performance, reasoning & decision-making.
Services: local, WS, stand alone.
Communication Protocol: SOAP / ACL
Applications: all the programs that can be used to exploit the system functionalities.
Agents Platform: core; set of agents.
Agents: controllers/administrators of:services, applications, communication, performance, reasoning & decision-making.
Services: local, WS, stand alone.
Communication Protocol: SOAP / ACL
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
49
3.3 FUSION@: A SOA-Based Multi-Agent Architecture 3.3 FUSION@: A SOA3.3 FUSION@: A SOA--Based MultiBased Multi--Agent Architecture Agent Architecture
CommApp Agent: communications apps platform
CommServ Agent: communications services platform
Directory Agent: manages the list of services
Supervisor Agent: supervises correct functioning of all agents
Security Agent: analyzes structure/syntax of all incoming and outgoing messages
Manager Agent: decides which agent must be called (based on QoS / user’s preferences)
Interface Agent: embedded in users’ applications
CommApp Agent: communications apps platform
CommServ Agent: communications services platform
Directory Agent: manages the list of services
Supervisor Agent: supervises correct functioning of all agents
Security Agent: analyzes structure/syntax of all incoming and outgoing messages
Manager Agent: decides which agent must be called (based on QoS / user’s preferences)
Interface Agent: embedded in users’ applications
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 1. Introduction 2. SOA & Agents 3. Architecture3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
50
4. Programming Model4. Programming Model4. Programming Model
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conc5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions lusions
51
4. Programming Model4. Programming Model4. Programming Model
4.1 Intro: SOA Programming Models
4.2 A&A (Agents & Artifacts)
4.3 simpA-WS
4.4 CArtAgO-WS
4.1 Intro: SOA Programming Models
4.2 A&A (Agents & Artifacts)
4.3 simpA-WS
4.4 CArtAgO-WS
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conc5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions lusions
52
4.1 Intro: SOA Programming Models (PMs)4.1 Intro: SOA Programming Models (PMs)4.1 Intro: SOA Programming Models (PMs)
SOA: not committed to any specific PM Most extended: component-basedProblem: does not deal well with:
autonomyloose couplingstrong encapsulationmessage-based interactions
Solution: agent-oriented approachNote: the notion of ‘agent’ already appears in:
W3C’s description of WS reference architectureHigh level characterisation of SOA
SOA: not committed to any specific PM Most extended: component-basedProblem: does not deal well with:
autonomyloose couplingstrong encapsulationmessage-based interactions
Solution: agent-oriented approachNote: the notion of ‘agent’ already appears in:
W3C’s description of WS reference architectureHigh level characterisation of SOA
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conc5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions lusions
54
4.2 A&A (Agents & Artifacts) 4.2 A&A (Agents & Artifacts) 4.2 A&A (Agents & Artifacts)
A&A (Agents & Artifacts): conceptual model, oriented tosoftware engineering (more than AI).
Goal: adopts agents & artifacts as high-level abstractions to design and build distributed/concurrent software systems
Key idea: systems are composed by individual autonomous entities which pro-actively carry on some kind of work (individual/cooperative) typically through interaction and coordination with other entities in an environment containing the necessary artifacts (tools, resources, objects, etc.)
A&A (Agents & Artifacts): conceptual model, oriented tosoftware engineering (more than AI).
Goal: adopts agents & artifacts as high-level abstractions to design and build distributed/concurrent software systems
Key idea: systems are composed by individual autonomous entities which pro-actively carry on some kind of work (individual/cooperative) typically through interaction and coordination with other entities in an environment containing the necessary artifacts (tools, resources, objects, etc.)
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conc5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions lusions
55
4.3 simpA-WS4.3 simpA4.3 simpA--WSWS
simpA-WS:
Technology: Java-based
Goal: building WS-I SOA/WS compliant applications
Foundation:simpA: agent-oriented extension of Java to support A&AA&A: conceptual model
simpA-WS:
Technology: Java-based
Goal: building WS-I SOA/WS compliant applications
Foundation:simpA: agent-oriented extension of Java to support A&AA&A: conceptual model
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conc5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions lusions
57
4.4 CArtAgO-WS4.4 CArtAgO4.4 CArtAgO--WSWS
CArtAgO-WS (Common ARtifact infrastructure for Agent Open environment and Web Services).
CArtAgO: platform / infrastructure used to develop & executethe computational worlds where agents live.
CArtAgO: supports multiple technologies to program & execute agents:
– Jason: based on AgentSpeak PL (based on BDI*) intelligent/cognitive agents.
– simpA: activity-oriented agents.– Jadex: based on BDI*
* BDI: Belief-Desire-Intention
CArtAgO-WS (Common ARtifact infrastructure for Agent Open environment and Web Services).
CArtAgO: platform / infrastructure used to develop & executethe computational worlds where agents live.
CArtAgO: supports multiple technologies to program & execute agents:
– Jason: based on AgentSpeak PL (based on BDI*) intelligent/cognitive agents.
– simpA: activity-oriented agents.– Jadex: based on BDI*
* BDI: Belief-Desire-Intention
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conc5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions lusions
62
5. Communications: FIPA5. Communications: FIPA5. Communications: FIPA
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model Model 5. Communications (FIPA)5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
63
5. Communications: FIPA5. Communications: FIPA5. Communications: FIPA
Agents: intelligent sw entities that can act semantically for interoperation with other agents in MAS
FIPA ACL: communication language
FIPA SL: semantic language
WSMO: semantic language (grid services)
Goal: interoperability between FIPA agents and grid services communication framework
Agents: intelligent sw entities that can act semantically for interoperation with other agents in MAS
FIPA ACL: communication language
FIPA SL: semantic language
WSMO: semantic language (grid services)
Goal: interoperability between FIPA agents and grid services communication framework
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model Model 5. Communications (FIPA)5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions 6. SOA & WSANs 7. APPA 8. Conclusions
70
6. SOA & WSANs6. SOA & WSANs6. SOA & WSANs
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) Model 5. Communications (FIPA) 6. SOA & WSANs6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
71
6. SOA & WSANs6. SOA & WSANs6. SOA & WSANs
SOA: cannot be applied directly to WSANs(web services Vs embedded services)
Middleware:
e-SOAUSEME
SOA: cannot be applied directly to WSANs(web services Vs embedded services)
Middleware:
e-SOAUSEME
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) Model 5. Communications (FIPA) 6. SOA & WSANs6. SOA & WSANs 7. APPA 8. Conclusions 7. APPA 8. Conclusions
73
7. SOA-Agents-WSANs: APPA7. 7. SOASOA--AgentsAgents--WSANs: APPAWSANs: APPA
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA7. APPA 8. Conclusions 8. Conclusions
74
7. SOA-Agents-WSANs: APPA7. 7. SOASOA--AgentsAgents--WSANs: APPAWSANs: APPAAPPA: Adaptive Peer-to-Peer Agent ArchitectureLockheed Martin Advanced Technology Laboratories
Combines the benefits of:adaptive peer-to-peer architecturesagent-based architecturesservice-oriented architectures
Addresses: survivabilityrobustnessperformanceflexibilityscalabilitysupport of federated services
Tareget infraestructure: Sensor networks
APPA: Adaptive Peer-to-Peer Agent ArchitectureLockheed Martin Advanced Technology Laboratories
Combines the benefits of:adaptive peer-to-peer architecturesagent-based architecturesservice-oriented architectures
Addresses: survivabilityrobustnessperformanceflexibilityscalabilitysupport of federated services
Tareget infraestructure: Sensor networks
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA7. APPA 8. Conclusions 8. Conclusions
75
7. SOA-Agents-WSANs: APPA7. 7. SOASOA--AgentsAgents--WSANs: APPAWSANs: APPA
Agent capabilities:Ad-hoc Peer-to-Peer FrameworkAgent Service Wrappers for SensorsComposable Agent FrameworkPeer-to-Peer DiscoveryAgent CollaborationMobile and Proxy Agents
Agent capabilities:Ad-hoc Peer-to-Peer FrameworkAgent Service Wrappers for SensorsComposable Agent FrameworkPeer-to-Peer DiscoveryAgent CollaborationMobile and Proxy Agents
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA7. APPA 8. Conclusions 8. Conclusions
80
8. Conclusions / Future Work8. Conclusions / Future Work8. Conclusions / Future Work
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
1. Introduction 2. SOA & Agents 3. Architecture 4. Prog.1. Introduction 2. SOA & Agents 3. Architecture 4. Prog. Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA Model 5. Communications (FIPA) 6. SOA & WSANs 7. APPA 8. Conclusions8. Conclusions
81
.
References
01. Agents Technology and SOA
02. Poggi A., Tomaiuolo M., Turci P. An Agent-Based Service Oriented Architecture (2006)
03. Tapia, D.I., Bajo, J., Corchado, J.M. Distributing Functionalities in a SOA-Based Multi-agent Architecture (2009)
04. Tapia, D.I., Alonso, R.S., Zato, C. Analysis and Design of a SOA-Based Multi-agent Architecture (2010)
05. Tapia, D.I., Rodríguez, S., Bajo, J., Corchado, J.A. FUSION@, A SOA-Based Multi-Agent Architecture (2008)
06. Rishi, O.P., Sharma, A., Bhatnagar, A., Gupta, A. Service Oriented Architecture for Business Dynamics - An Agent-based Approach (2008)
07. Ricci, A., Buda, C., Zaghini, C. An Agent-Oriented Programming Model for SOA & Web Services (2006)
08. Ricci, A., Buda, C., Zaghini, C. simpA-WS: An Agent-Oriented Computing Technology for WS-based SOA Applications (2006)
09. Piunti, M., Ricci, A., Santi, A. SOA/WS Applications using Cognitive Agents working in CArtAgO Environments (2009)
82
.
References
10. Balfagih, Z., Hassan, M.F.B. Agent based Monitoring Framework for SOA Applications Quality (2009)
11. Odell, J. Agent-based Process Management for SOA and WS Applications
12. Micsik, A., Karaenke, P. Agent-supported Flexible Service Provisioning Using Semantics(2009)
13. K. Ishak, B. Archimede, P. Charbonnaud. Integration of SOA and Ontologies in a Multi-Agent Model. MOSIM 10 (2010)
14. Ignatiadis, I., Svirskas, A., Vokřínek, J., Briggs, J. Towards Combining SOA, Web2.0 and Intelligent Agents in Virtual Organizations. EMCIS 2008 (2008)
15. Min Je Cho, Hyung Rim Choi. A Study on SOA Based Multi Agent under RTE Environment. ACS'08 (2008)
16. M. Atif Nazir Raja, H. Farooq Ahmad. SOA Compliant FIPA Agent Communication Language (2008)
83
.
References
17. Ray-Yuan Sheu, Czajkowski, M., Hofmann, M. Adaptive Peer-to-Peer Agent Sensor Networks (2006)
18. N. Jabeur, P.A. Graniero. Agent-Based Clusters to Virtually Manage Spatially Distributed Sensors (2007)
19. Razavi, R., Mechitov, K., Agha., G. Perrot, J.F. Dynamic Macroprogramming of Wireless Sensor Networks with Mobile Agents (2006)
20. Cañete, E., Chen, J., Diaz, M., Llopis, L., Rubio, B. A Service-Oriented Middleware for Wireless Sensor and Actor Networks (2008)
21. Cañete, E., Diaz, M., Llopis, L., Rubio, B. A Service-Oriented Programming Model for Real Time WSANS (2007)
22. Cañete, E., Chen, J., Diaz, M., Llopis, L., Rubio, B. USEME: A Service-Oriented Framework for Wireless Sensor and Actor Networks (2007)
23. Martin-Checa, J.A. eSOA: A Contextual Analysis on Service Oriented Architecture forEmbedded Networks (2010)
84
You might be thinking...You might be thinking...You might be thinking...
Now you can impress your friends talking about awSOA ...please, ask!
Now you can impress your friends talking about awSOA ...please, ask!
awSOA: AgentsawSOA: Agents--Based SOA for Wireless Sensor & Actor NetworksBased SOA for Wireless Sensor & Actor Networks
85
“By learning you will teach, by teaching
you will learn.”
“You see things; and you say, 'Why?' But I dream things that never were; and I say, ‘Why not?’”
86
“By learning you will teach, by teaching
you will learn.”- Latin Proverb
“You see things; and you say, 'Why?' But I dream things that never were; and I say, ‘Why not?’”
- George Bernard Shaw
awSOA:Agents-based SOA for
Wireless Sensor & Actor Networks(Multi-Agents Systems Programming)
Master in Software Engineering & Artificial Intelligence
awawSOA:SOA:AgentsAgents--based SOA forbased SOA for
Wireless Sensor & Actor NetworksWireless Sensor & Actor Networks(Multi(Multi--Agents Systems Programming)Agents Systems Programming)
Master in Software Engineering & Artificial IntelligenceMaster in Software Engineering & Artificial Intelligence
Computer Science DepartmentUniversity of Malaga
Juan Antonio Martin Checawww.telefonica.net/web2/jamcheca
2011
Computer Science DepartmentUniversity of Malaga
Juan Antonio Martin Checawww.telefonica.net/web2/jamcheca
2011