Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UCML - Ubiquitous Control Modeling Language for Android

Selim
October 22, 2009

UCML - Ubiquitous Control Modeling Language for Android

A master project about Android and how it could be the Ubiquitous device of the end-users..

Selim

October 22, 2009
Tweet

More Decks by Selim

Other Decks in Technology

Transcript

  1. Abdulrahman M.S. Salman School of Computer Science 2009 [email protected] Ubiquitous

    Control Modeling Language for Android An approach towards Android as a Ubiquitous Compu@ng plaAorm
  2. Outlines •  Objec@ves •  Background –  XML –  Ubiquitous Compu@ng

    –  Google’s Android –  C3 & ODD approaches –  What is UCML –  UAT •  UCML, the Applica@on •  UCML Structure •  UCML, the Language •  UCML Sample Modules •  Limita@ons •  Applica@ons •  Evalua@on •  Conclusion
  3. Objec@ves •  Propose the “On-Device Development” concept •  Provide a

    soQware prototype UCML ini#a#ve to support the concept. – Simple and friendly applica@on for mobile users. – Being a base for upgrading/extending to complex applica@ons. •  Prove UCML within Android plaAorm as a UbiComp system
  4. XML •  Global standard •  Defined elements •  Special-purpose Languages

    –  WML, UIML, AIML… <xyz> <x>hello</x> <y foo=“bar” /> <z foo=“bar”>hello</z> </xyz>
  5. Google’s Android •  Free Open Source •  Supported by OpenHandsetAlliance

    and Google Community •  SoQware stack for electronic devices –  OS based on Linux 2.6 –  Middleware •  Libraries (SQLite, OpenGL, WebKit…) •  DVM & Core Libraries •  Applica@on Framework –  Applica@ons (phone na@ve & 3rd party)
  6. What is UCML •  UCML is a prototype soQware for

    mobile devices runs within Android plaAorm aiming at u@lizing smart mobile devices resources. –  Consists of modules developed by XML-based language. –  Depends on natural language understanding. •  Revolves around –  Acquire data from built-in sensors –  Apply condi@ons on these data –  Fire responses when these condi@ons are sa@sfied
  7. C3 & ODD approaches •  The On-Device Development approach so

    as to develop, execute the soQware altogether from within the device itself. –  Smart, autonomous, resource-u@liza@on •  C3 is a paradigm used to describe en@@es revolve around the power of Computer in processing, the capability to Control surrounding environment, and the facility of Communica@on between devices in this environment. –  C3-compliant
  8. UAT •  Why? •  Promote criteria for assessing poten@al, capability,

    and competency of devices towards sa@sfying Ubiquitous Compu@ng condi@ons and requirement constraints which subsequently facilitate establishing categoriza@on and specifica@ons.
  9. UAT Synopses PlaCorm: UCML within Android Mobility (accompanied, wearable, embedded)

    Accompanied: hand-held Category (Tab, Pad, Board) Tap Context-aware (adap>ve) depend on the applica>on of a UCML module Running all the >me Yes Being everywhere Yes Networked Interconnec>vity In-development (future work) Input Sensor-oriented Internet-enabled Yes On-Device development/Configura>on Yes C3-Compliant Yes
  10. UCML, the Language <ucml> <sensor name="[sensor_name]"> <reading type="[reading_type]" [other_agributes]=” ”/>

    <response action="[response_ac@on]" [other_agributes] =” ”/> </sensor> </ucml>
  11. UCML, the Language <reading type="[reading_type]" [other_agributes]=” ”/> •  reading_type: – 

    threshold –  Range •  other_agributes –  Threshold –  All •  x, y, z •  xmin, ymin, zmin, xmax, ymax, zmax
  12. UCML, the Language <response action="[response_ac@on]" [other_agributes] =” ”/> response_ac>on: other_aXributes

    enable feature disable feature notify msg vibrate pattern, repeat sendsms destination, sms senddata destination, data, port openweb web dialnumber number
  13. UCML Sample Modules <ucml> <sensor name="accelerometer"> < r e a

    d i n g t y p e = " t h r e s h o l d " threshold="8"/> <response action="notify" msg="hi t h e A c c e l e r o m e t e r t h r e s h o l d fired!!!"/> </sensor> </ucml>
  14. UCML Sample Modules <ucml> <sensor name=“magneticfield"> <reading type="threshold" all="yes" x="-2"

    y="5" z="-9"/> <response action="vibrate" pattern=“300 500 700" repeat="no"/> </sensor> </ucml>
  15. UCML Sample Modules <ucml> <sensor name="orientation"> < r e a

    d i n g t y p e = " r a n g e " a l l = " n o " xmin="10" ymin="8" zmin="-1" xmax="15" ymax="12" zmax="3"/> < r e s p o n s e a c t i o n = " s e n d s m s " destination="07928610611" sms=“I ve moved the phone!!!"/> </sensor> </ucml>
  16. Limita@ons •  Explicit Communica@on with remote sensors and actuators. • 

    Rich framework. •  Auto-Complete feature. •  Deployment as stand-alone applica@on. •  Running as a service. •  Android plaAorm is new in the market !!!
  17. Evalua@on •  Target users: Digital Genera@on. – And others interested. • 

    Age: 7 to 35 •  Informal Survey: 7 individuals 24-35 years old •  Result: – Enjoyable – Extraordinary and Enjoyable
  18. Conclusion •  ODD, C3, and UAT have been defined. • 

    UCML discovers a new interface for end-users which will enrich the user experience in HCI. •  The ODD approach is a new trend and would face some reluctance. •  Android is promising and is always being updated. •  Android is excellent for Ubiquitous Compu@ng scenarios. •  Current UCML version is an ini@a@ve prototype soQware represents a basic building block for further development and upgrades.
  19. Qs

  20. Tools and Technologies •  Eclipse IDE, ADT plug-in •  Android

    SDK 1.5, Android Emulator •  XML •  Java syntax, JDK tools •  Adobe Illustrator, IconArchive.com •  OpenIntents SensorSimulator
  21. Ubiquitous Compu@ng •  Ubiquitous smart devices – Tabs: Inch-scale devices (mobile

    phones) – Pads: foot-scale devices (laptops) – Boards: yard-scale interac@ve displays (surface computers)