Title: Virtual OSGi Framework and Telecommunications
1Virtual OSGi Framework and Telecommunications
- Sam Supakkul
- Yotta Networks
- Digital Pockets, LLC
- Dallas, Texas
- ssupakkul_at_computer.org
Lawrence Chung Dept. of Computer Science Univ. of
Texas at Dallas chung_at_utdallas.edu
2Can Your Cell Phone Do This?
- Phone calls
- Emails
- Calendar
3And All This Too?
- Phone calls
- Emails
- Calendar
- Watch movie
- Program VCR
- Open garage
4Why Not? Whats the Problem?
- Infrastructure low speed transmission
- Solution high speed 3G wireless
- Application hosting environment
- Static fixed pre-installed applications
- Small memory cant fit all applications
- Solution dynamic application framework such as
OSGi Framework
5Open 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
6OSGi 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
7Introduction to NFR Framework Softgoal
Interdependency Graph (SIG)
8SIG for the Existing OSGi Framework
9Problems 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
10SIG for the Virtual OSGi Framework
- Conclusion from SIG
- Virtual memory
- Remote server for swapped memory
- Application level swapping
- thus the term
- Virtual OSGi Framework
11Virtual OSGi Framework General Concept
12Bundle Deployment Workflow
13Virtual OSGi Framework UML Use Case Model
14Bundle QoS
Type Description Delay Threshold
Critical Safety/health related ? 2 seconds
Interactive Apps w/ user interaction ? 4 seconds
High Priority Background User expecting indirect feedback. Ex. Furnace control Minutes
Low Priority Background User not expecting feedback. Ex. Billing Mngt Hours
Bundle has a flag Interruptible?
15Virtual OSGi Framework Architecture
16Virtual Framework Manager UML Class Diagram
17GatewayBundle UML State Chart
- Preemption Criteria
- Interruptible?
- Bundle QoS
18Bundle UML State Chart
19OSGi Framework in Consumer Devices
20OSGi Framework in Smart Home Application
21Virtual OSGi Framework Walk-through using Marys
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
22Marys Residential Gateway Application Profile
23Initial OSGi Gateway Active Bundles
24Mary requests to see the Movie Guide.
25Mary selects a pay-per-view on Sleepless in
Seattle
26The movie is paid for by Marys Digital
Wallet/eCash
27Mary receives an IP phone call from her mother.
She accepts the call.
28After Mary is finished with the call, she resumes
the movie and enjoys the ending
29Conclusion
- 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