290 likes | 381 Views
Virtual OSGi Framework and Telecommunications. Sam Supakkul Yotta Networks Digital Pockets, LLC Dallas, Texas ssupakkul@computer.org. Lawrence Chung Dept. of Computer Science Univ. of Texas at Dallas chung@utdallas.edu. Can Your Cell Phone Do This?. Phone calls Emails Calendar.
E N D
Virtual OSGi Framework and Telecommunications Sam Supakkul Yotta Networks Digital Pockets, LLC Dallas, Texas ssupakkul@computer.org Lawrence Chung Dept. of Computer Science Univ. of Texas at Dallas chung@utdallas.edu
Can Your Cell Phone Do This? • Phone calls • Emails • Calendar
…And All This Too? • Phone calls • Emails • Calendar • Watch movie • Program VCR • Open garage
Why Not? What’s the Problem? • Infrastructure: low speed transmission Solution: high speed 3G wireless • Application hosting environment: • Static: fixed pre-installed applications • Small memory: can’t fit all applications Solution: dynamic application framework such asOSGi Framework
Open Services Gateway initiative (OSGi) Framework Features • Component-based run-time framework for Java applications (bundles) • Java API for managing bundle life-cycle • Bundles installed or uninstalled on-demand from the network
OSGi Cell Phone Benefits • No obsolete apps. • Unlimited apps. Limitations • No. of concurrent apps. limited by physical memory • More apps possible by explicitly uninstalling and installing apps. Constraints Low: Cost, Size, Weight High: Performance, Practicality
Introduction to NFR Framework Softgoal Interdependency Graph (SIG)
Problems with Existing OSGi Framework Benefits • No obsolete apps. • Unlimited apps. Limitations • No. of concurrent apps. limited by physical memory • More apps possible by explicitly uninstalling and installing apps. Constraints Low: Cost, Size, Weight High: Performance, Practicality
SIG for the Virtual OSGi Framework Conclusion from SIG • Virtual memory • Remote server for swapped memory • Application level swapping thus the term: Virtual OSGi Framework
Bundle QoS Bundle has a flag: Interruptible?
GatewayBundle UML State Chart • Preemption Criteria: • Interruptible? • Bundle QoS
Virtual OSGi Framework Walk-through using Mary’s Smart Home Scenario • Mary requests to see the movie guide. • Mary selects a pay-per-view on “Sleepless in Seattle” • While watching the movie, she receives an IP phone call from her mother. • Mary pauses the movie and accepts the call. • Mary talks to her mother for a while. • After Mary is finished with the call, she resumes the movie. • Mary is happily enjoying the happy ending of the movie…
Mary receives an IP phone call from her mother. She accepts the call.
After Mary is finished with the call, she resumes the movie and enjoys the ending…
Conclusion Contribution • A solution to run more apps. on limited memory devices • A demonstration of a software process using NFR Framework and RUP/UML Future Work • More advanced scheduling algorithms • Fault tolerant for handling network link failure