RoDaFlow: A Framework for Development of Dataflow Network Agents in - - PowerPoint PPT Presentation

rodaflow a framework for development of dataflow
SMART_READER_LITE
LIVE PREVIEW

RoDaFlow: A Framework for Development of Dataflow Network Agents in - - PowerPoint PPT Presentation

1 RoDaFlow: A Framework for Development of Dataflow Network Agents in Smart- M3 with Substitution Method Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University den.a.laure@gmail.com 2 Primary agent Initialization 1. join


slide-1
SLIDE 1

RoDaFlow: A Framework for Development of Dataflow Network Agents in Smart- M3 with Substitution Method

Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University 1 Denis Laure

den.a.laure@gmail.com

slide-2
SLIDE 2

Primary agent

2 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University Initialization

  • 1. join the smart space
  • 2. insert description triples
  • 3. insert protection for description, output and state triples
  • 4. calculate and inserts initial output and state triples
  • 5. subscribe to input triples

Operation Receive new input triples Calculate new

  • utput and

state triples Update calculated triples

slide-3
SLIDE 3

Substitute agent

3 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University Initialization

  • 1. join the smart space
  • 2. insert description triples
  • 3. insert protection for description triples
  • 4. subscribes to triple that indicates what primary agent is

substituted by this one (‘Substitutes’ triple) Operation Receive new input triples Calculate new

  • utput and

state triples Update calculated triples Receive substitution program Subscribe for input triples

slide-4
SLIDE 4

Choosing the Substitute Agent

4 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University

Primary Agent

type = calculation

Substitute Agent

type = calculation

Substitute Agent

type = signal_processing

Substitute Agent

type = condition

slide-5
SLIDE 5

Choosing the Substitute Agent

4 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University

Primary Agent

type = calculation

Substitute Agent

type = calculation

Substitute Agent

type = signal_processing

Substitute Agent

type = condition

slide-6
SLIDE 6

Choosing the Substitute Agent

4 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University

Primary Agent

type = calculation

Substitute Agent

type = calculation

Substitute Agent

type = signal_processing

Substitute Agent

type = condition

slide-7
SLIDE 7

Motivation

5 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University

  • The behavior and basic operations of the agents are always

the same

  • The agents differs only in their programs
slide-8
SLIDE 8

RoDaFlow Framework

6 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University

  • Allows to create dataflow network agents for Smart-M3

platform

  • Allows to create agents by implementing only their programs
  • Created agents support substitution mechanism
  • Written in Java
  • Uses Java KPI
slide-9
SLIDE 9

Implementing Primary Agent

7 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University To create primary agent:

  • Implement AgentProgram interface
  • Create instance of PrimaryAgent class
  • Pass implemented agent program to created instance
  • Call the joinSIB method on the PrimaryAgent instance
slide-10
SLIDE 10

Implementing Substitute Agent

8 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University To create substitute agent:

  • Implement SubstituteAgentProgram interface
  • Create instance of SubstituteAgent class
  • Pass implemented substitute agent program to created instance
  • Call the joinSIB method on the SubstituteAgent instance
slide-11
SLIDE 11

RoDaFlow Framework Benefits

9 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University

  • Saves the agents developer's time
  • Simplifies the development of the agents
  • Hence simplifies the development of dataflow network

based systems

  • Does not require from the developer any additional

knowledge of substitution mechanism implementation

  • Allows to create agents for:
  • Popular desktop platforms
  • Mobile devices
  • Oracle's Internet of Things platform
slide-12
SLIDE 12

Thank You!

Q&A

RoDaFlow framework homepage: http://yar.fruct.org/projects/rodaflow

Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University Denis Laure

den.a.laure@gmail.com

slide-13
SLIDE 13

Agent Classes

11 Denis Laure Yaroslavl FRUCT Lab P.G. Demidov Yaroslavl State University