Using Behavior Templates To Design Remotely Executing Agents For - - PowerPoint PPT Presentation

using behavior templates to design remotely executing
SMART_READER_LITE
LIVE PREVIEW

Using Behavior Templates To Design Remotely Executing Agents For - - PowerPoint PPT Presentation

Using Behavior Templates To Design Remotely Executing Agents For Wireless Clients Eugene Hung and Joseph Pasquale Dept. of Computer Science and Engineering University of California, San Diego Motivating Scenario Problem Wireless clients


slide-1
SLIDE 1

Using Behavior Templates To Design Remotely Executing Agents For Wireless Clients

Eugene Hung and Joseph Pasquale

  • Dept. of Computer Science and Engineering

University of California, San Diego

slide-2
SLIDE 2

Motivating Scenario

slide-3
SLIDE 3

Problem

Wireless clients are diverse, varying in:

Network Bandwidth Network Reliability Graphical Display User requirements

Web services are not flexibly customizable

Scenario: Wireless E-Commerce

slide-4
SLIDE 4

Outline

Previous Approaches Design Goals Solution – ReAgents Architecture Behavior Library Experiments Conclusions

slide-5
SLIDE 5

Previous Approaches

Network-based

Active Networks

Server-based

WAP (Wireless Application Protocol)

Intermediary-based

Web Proxies Mobile Agents

slide-6
SLIDE 6

Design Goals

The ideal customization solution will be:

Flexible enough to handle user needs Transparent to servers (deployable) Easy to program and understand Efficient when used

slide-7
SLIDE 7

Solution: ReAgents

ReAgents – Remotely Executing Agents

Contain Customizing Logic (CL) “One-shot” mobility to ReAgent host Behavior-based development

slide-8
SLIDE 8

Behavior: Filter

Reduces server data to client specifications Customizing Logic: Data-reducing algorithm Sample Application: Low-bandwidth filtering

slide-9
SLIDE 9

Behavior: Encoder

Transforms data for reverse-transform at client Customizing Logic: Reversible data transformation Sample Application: Encrypted transfer for privacy

slide-10
SLIDE 10

Behavior: Monitor

Polls object on server until desired state is reached,

then reacts to state change

Customizing Logic: Object state test and reaction Sample Application: Custom stock trader

slide-11
SLIDE 11

Behavior: Cacher

Bypasses server communication by storing

frequently accessed server data close to client

Customizing Logic: Cache management policy Sample Application: Resource-poor client caching

slide-12
SLIDE 12

Behavior: Collator

Sends same request to many servers and merges results Customizing Logic: Results-collation algorithm Sample Application: Shopping comparison agent

slide-13
SLIDE 13

Experiment

File transfer time reduced 30-75%

slide-14
SLIDE 14

Experimental Results

ReAgent overhead is low Overhead scales well as file size increases

50000 100000 150000 200000 220 600 1560 3430 File size (kilobytes) Response time (ms) Total UnCmp Total Cmp R->C R S->R Cmp

slide-15
SLIDE 15

Conclusion

ReAgents customize for wireless clients

Flexibly

Customizing logic

Transparently

Server is bypassed

Easily

One-shot mobility simplifies security and semantics Behaviors provide structured, patterned development

Efficiently

Results show good performance and scalable overhead

slide-16
SLIDE 16

Questions?

slide-17
SLIDE 17
slide-18
SLIDE 18

ReAgent Architecture

slide-19
SLIDE 19

Usage

ReAgent created by chaining Behaviors Behaviors created by instantiating with CL Example: Custom Stock Trader

ReAgent reagent = new ReAgent(); Behavior m = new Behavior (“Monitor”, “MyPriceWatch.class”); Behavior t = new Behavior (“Filter”, null); reagent.addBehavior (m, null); (no converter for monitor) reagent.addBehavior (t, “GenerateStockBuyRequest.class”); reagent.launch(“middleman.org”); reagent.process(“GET http://stock.org/viewprice.cgi/?p=GOGL”);