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

UCML - Ubiquitous Control Modeling Language for Android

3a7c04e082380dc5d76182aefb1e244a?s=47 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..

3a7c04e082380dc5d76182aefb1e244a?s=128

Selim

October 22, 2009
Tweet

More Decks by Selim

Other Decks in Technology

Transcript

  1. Abdulrahman M.S. Salman School of Computer Science 2009 Selim.2k@gmail.com 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. Google’s Android

  7. Ubiquitous Compu@ng •  the vision of mobile compu@ng where technology

    will get involved in everything around us.
  8. Ubiquitous Compu@ng UbiComp System Response Situa>on Sensing

  9. 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
  10. What is UCML UbiComp System Response Situa>on Sensing Response Sensing

    Environment
  11. 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
  12. 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.
  13. 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
  14. UCML, the Applica@on

  15. UCML, the Applica@on

  16. UCML, the Applica@on

  17. UCML, the Applica@on

  18. UCML structure Module

  19. UCML, the Language <ucml> <sensor name="[sensor_name]"> <reading type="[reading_type]" [other_agributes]=” ”/>

    <response action="[response_ac@on]" [other_agributes] =” ”/> </sensor> </ucml>
  20. UCML, the Language <sensor name="[sensor_name]"> •  sensor_name: – accelerometer – magneticfield – orientation

    – temperature.
  21. 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
  22. 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
  23. UCML, the Language <ucml> <sensor name="[sensor_name]"> <log filename="[file_name]" period=“[@me_in_secs]"/> </sensor>

    </ucml> •  file saved on /data/data/[package]/files/ [file_name].xml
  24. UCML, the Language . . . Output of the LOG

    tag
  25. 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>
  26. 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>
  27. 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>
  28. UCML module live

  29. Applica@ons •  monitoring, •  controlling, •  logging, •  gesture recogni@on,

    •  and interac@on with devices.
  30. 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 !!!
  31. 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
  32. 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.
  33. Qs

  34. 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
  35. 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)