agent based transaction system cs790: dr. bruce land sanish mondkar sandeep chakravarty

16
Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Upload: reynold-moore

Post on 29-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Agent Based Transaction System

CS790: Dr. Bruce Land

Sanish Mondkar

Sandeep Chakravarty

Page 2: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

What are mobile agents ?

• A mobile agent is an active object that can move both data and functionality (code) to multiple places within a

distributed system. • Mobile agents are defined in formal terms as objects that

have behavior, state, and location

• The set of events varies a bit from model to model, but the following is a list of the most common ones:

Creation, Disposal, Dispatch, Arrival, Communication

Page 3: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Why mobile agents?

• There are several applications where the mobile agents paradigm can be used successfully solve existing problems. The following is a cross-section of possible problems:

User passivity/data timeliness Multi-staged/multi-processed

calculations Untrusted collaborators

Low-reliability/partially-disconnected networks

Page 4: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Project Objectives

• To make a framework for mobile agents which would allow agents to move from node to node and execute at each node

• To incorporate security features so that agent activities are securely conducted

• To make the framework fully customizable so that a user can create his/her own agents as easily as creating applets and still use the facilities provided by the agent framework

• To study existing architectures for distributed systems and investigate the possibility of how an agent-based system can solve some of the inherent problems suffered by existing systems.

• To create a sample application that uses some of the features provided by the agent framework to do something useful.

Page 5: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Applet Vs Agents

• Applets do not carry state

• Applets are instantiated by the receiving client

• Applets do not travel to multiple hosts

Page 6: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Problem Areas

• Transportation

• Authentication

• Secrecy

• Standardization

Page 7: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Design for Agent Host

• AgentServer

• AgentSpawner

• IncomingRequestMonitor

• RequestServicer

Page 8: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Design for Agent

• Agent is a purely abstract class having some method declaration. Users wishing to write their own agents will have to:

1. Inherit their customized agent from the abstract class Agent and implement all the methods

2. The main agent task will have to be put in a method called run. This is the method which shall be called by each receiving host while starting the agent thread.

Page 9: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Agent Transfer Protocol

• Establish connection

• Send agent identity

• Receive result object

• Send agent

• Close connections

Page 10: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Security Issues

• Authentication

• Controlling agent activity

• User option for agent acceptance

Page 11: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Security:Our Implementation

• Digital Signatures

• Message Digests

• User option for agent acceptance

• Possible extension to SSL

Page 12: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Sample Application

• Bill Agent

• Transfer Agent

• Info Agent

Page 13: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Other Approaches

• IBM Aglets WorkBench

• Java RMI

Page 14: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Future Work...

• A layer of security can be added by using SSL for the agent transfer

• More study is needed to understand the feasibility of having an agent-based system

• AI algorithms can be used for making mobile agents equipped with negotiation capabilities

Page 15: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Future Work…contd.

• For Electronic Commerce applications, there should be a mechanism by which a agent should be able to pay for the services used.

• More work is needed to make the Agent Host more robust in handling various agents

• Agents need more error handling capabilities. In case an agent dies during a task, then the sender should be informed of the failed transaction

Page 16: Agent Based Transaction System CS790: Dr. Bruce Land Sanish Mondkar Sandeep Chakravarty

Conclusion

• Agent systems for groupware

• Existing problems are solved eg. Webcrawlers

• Network bandwidth optimally utilized