26
Greg McChesney Thesis Proposal Presentation Computer Science, TTU [email protected] Service Context Management for Exertion-oriented Programming

Greg McChesney Thesis Proposal Presentation Computer Science, TTU [email protected] Service Context Management for Exertion-oriented Programming

Embed Size (px)

Citation preview

Page 1: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesneyThesis Proposal PresentationComputer Science, [email protected]

Service Context Management for Exertion-oriented Programming

Page 2: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney2

Overall Presentation Goal or Primary Purpose

Beginning

• Create a life-cycle for context management in Exertion Oriented Programming

Page 3: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney3

Learning Objectives

• As a result of this presentation, you will be able to:– Understand the purpose of contexts– Understand why a life-cycle is required– Utilize the life-cycle for your SORCER projects– Create a context in SORCER– Modify a context in SORCER– Launch a service in SORCER– View returned context from the service

Beginning

Page 4: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney4

Speaker’s Qualifications

• Greg McChesney is a graduate student at TTU

• Greg McChesney is planning to graduate in May of 2009 with a Master’s in Computer Science

• Greg McChesney thesis is on Cataloger and creating contexts and jobs in SORCER

Beginning

Page 5: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney5

Did you know?

There is no method for creating dynamic Contexts, Tasks, or Jobs in the SORCER environment.

Beginning

Page 6: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney6

Presentation Agenda

• Background Knowledge

• What is a Context?

• Discuss why a life-cycle is required

• Overview of life-cycle

• Discuss Task Editor

• Feasibility Study

• Demo

• Schedule

Beginning

Page 7: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Background Knowledge

• Many different Exertion-Oriented Systems

• Implementation based on SORCER– Created by Mike Sobolewski in 2002– Based on JINI services– Framework constantly evolving– Interoperability with existing providers a

concern for new development

Greg McChesney7

Page 8: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

All About Contexts

• A Context is a set of instructions for a provider.

• The context various depending on the provider and the method being executed.

• Contexts can specify anything about a provider

• Example:– The context for makeDeposit in the

AccountTester is: deposit/amount=amount

Greg McChesney8

Page 9: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Sample Context

Greg McChesney9 Image courtesy of Dr. Sobolewski

Page 10: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Need for a Life-Cycle

• No method to dynamically create Contexts

• No method of updating or removing Contexts

• Exertion-oriented programming cannot be dynamic without Context management

• Updated Cataloger will provide more accessibility

• Need Context methods for a task-editor

Greg McChesney10

Page 11: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Proposed Life-Cycle

• Implement Context Methods into provider classes– New methods will be remotely invokeable– Get– Create– Update– Delete

• Update Cataloger to utilize new methods

Greg McChesney11

Page 12: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Life-Cycle Explained

• Context must be:– Stored locally by provider– Reloaded on provider restart– Saved on update/create– Return blank when none is found

• Changes must be– Compliant with existing providers– Provide backup file in case of bad context

Greg McChesney12

Page 13: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Use Case Diagram Cataloger

Greg McChesney13

Page 14: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Component Diagram Cataloger

Greg McChesney14

Page 15: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Cataloger UI Component Diagram

Greg McChesney15

Page 16: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney16

Need for a Task Editor

• No common graphical method of creating tasks in SORCER– Each provider must have own GUI interface– Users must learn each providers interface

• Provide easier development of new services

• No method for creating Jobs

• No method for saving and reusing Jobs.

Middle

Page 17: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Edit the Context?

• Why would we want to edit the Context before we launch the Task?– The Context can often described input

variables that are not static, editing it allows us to change them.

– Example: The AccountTester would be useless if you could not specify how much you were depositing or withdrawing.

Greg McChesney17

Page 18: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Output of the Task

• Tasks return a Context for their output

• In the case of a simple Task the output is returned the user

• In a Job the output is used as input for the next Task

Greg McChesney18

Page 19: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Use Case-Task Manager

Greg McChesney19

Page 20: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Component Diagram-Task Manager

Greg McChesney20

Page 21: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Task Manager UI Component Diagram

Greg McChesney21

Page 22: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Feasibility Study

• Update Cataloger to test Life-Cycle methods– Get Context– Add Context– Update Context– Delete Context

• Utilize provider from Air Force Research Center (Mealstrom) to validate task manager works as intended

Greg McChesney22

Page 23: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney

Page 24: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney24

Summary

• Benefits of Task Creation Panel– Simplified user interface– Less work for new provider creators

• In combination with new Cataloger will provide:– Complete Context Management– Task Initiation – Job Initiation

End

Page 25: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Schedule

• Literature Review

• System Requirements

• Life-Cycle context management model

• Architecture and detailed design

• LCSM prototype

• Thesis proposal presentation

• Framework Implementation-End Of February

• Validation of Use Cases and deployment-Early March

• Thesis Defense- Mid March

Greg McChesney25

Page 26: Greg McChesney Thesis Proposal Presentation Computer Science, TTU Greg.mcchesney@ttu.edu Service Context Management for Exertion-oriented Programming

Greg McChesney