rodaflow a framework for development of dataflow
play

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


  1. 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. 2 Primary agent 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 Calculate new Update Receive new output and calculated input triples state triples triples Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  3. 3 Substitute agent 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 Subscribe for substitution input triples program Calculate new Update Receive new output and calculated input triples state triples triples Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  4. 4 Choosing the Substitute Agent Substitute Agent type = signal_processing Primary Agent type = calculation Substitute Agent type = condition Substitute Agent type = calculation Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  5. 4 Choosing the Substitute Agent Substitute Agent type = signal_processing Primary Agent type = calculation Substitute Agent type = condition Substitute Agent type = calculation Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  6. 4 Choosing the Substitute Agent Substitute Agent type = signal_processing Primary Agent type = calculation Substitute Agent type = condition Substitute Agent type = calculation Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  7. 5 Motivation • The behavior and basic operations of the agents are always the same • The agents differs only in their programs Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  8. 6 RoDaFlow Framework • 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 Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  9. 7 Implementing Primary Agent 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 Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  10. 8 Implementing Substitute Agent 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 Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  11. 9 RoDaFlow Framework Benefits • 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 Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University

  12. Thank You! Q&A RoDaFlow framework homepage: http://yar.fruct.org/projects/rodaflow Yaroslavl FRUCT Lab Denis Laure P.G. Demidov Yaroslavl State University den.a.laure@gmail.com

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

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend