Your SlideShare is downloading. ×
ISCRAM Summer School lecture Prof. Ralph Morelli
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

ISCRAM Summer School lecture Prof. Ralph Morelli

2,115

Published on

Lecture by Prof. Ralph Morelli from Trinity College, Hartford CT, on Free and Open Mobile Technologies for Crisis Response

Lecture by Prof. Ralph Morelli from Trinity College, Hartford CT, on Free and Open Mobile Technologies for Crisis Response

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,115
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Free and Open Mobile Technologies for Crisis Response Ralph Morelli Trinity College, Hartford, CT ralph.morelli@trincoll.edu
  • 2. http://www.hfoss.org
  • 3. The H-FOSS Summer Institute Slide: 5 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 4. Motivation • David Patterson (ACM) Nov. 2005, (post Katrina): Let’s help our neighbors! • David Patterson (ACM) Mar. 2006: Join the open-source movement! • Our Question: Will students building software for the community help revitalize computing education? Slide: 6 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 5. NSF/CPATH Grant • CPATH: Revitalizing Undergraduate Computing Education. • Trinity, Connecticut College, Wesleyan. • Getting students involved in building open source software to help society through: – Video conference courses. – Summer internship program 2008/9. – National and regional workshops for faculty. – HFOSS Chapter program. – HFOSS Certificate program. Slide: 7 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 6. Portable/Sustainable Partnership Computing IT Corporations Departments • Host interns • Fund and advertise • Teach computing The Humanitarian • Volunteer expertise • Build FOSS FOSS • Recruit students • Gain skills and Project opportunities Humanitarian Community • Acquire software. • Host interns • Teach volunteerism Slide: 8 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 7. Sahana Volunteer Mgmt Module Slide: 9 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 8. Medical Record System • OpenMRS: Electronic medical record system for developing countries. • Deployments: Rwanda, Kenya, South Africa, … • Initiated by Paul Farmer of Partners in Health and the Regenstrief Institute. • Supported by WHO, CDC, Clinton Foundation,… • Our contributions – Touchscreen module and toolkit (Summer 07) – Image Manipulation Module (Summer 08) – Remarks (post-it notes) module (Summer 09) Slide: 10 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 9. POSIT/ Android Portable Open Search and Identification Tool Slide: 11 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 10. Outline Part I: Free and open source software FOSS history and principles. Why is FOSS important for humanitarian response. Part II: Mobile technologies for Crisis Response Mobile phones, SMS, smartphones. Examples of professional and citizen uses Part III: Case studies RapidSMS POSIT/Android (hands-on demo) Part IV: Programming the Android phone? (after class) Hello World Exercise
  • 11. Free and Open Source Software !"#$%&’()*+#.,#,-*#/%0)*&#+10** 21(+*’#,-.,# (3 #(4*#. ,- #+ #" 0 # 5+%/+.6#"# 1’,#’-.+*#(,#7 (,- #%,- + 6 * #5*% *#7-%#0(4*#(,8 50 #"# $.&&%,#(&#/%%)#$%&’$(*&$*# ’ (/&#.#&%&)(’$0%’1+*#./+**6*&, # %+#.#’%3,7.+*#0($*&’*#./+**6*&,8 88"9 %%4 %+#5*%50 #7-%6#4& &/#,- *:# .+* #-*05(&/ 8 6#0 (&/#3 *#3%+ %7( # - 16. &(,:#(’#.’#(6 5%+,.& ,#.’#6%&*: ;8## $-.+ ) #>,.0 <#=( 06.&? # @ABC Slide: 13 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 12. FOSS is freedom to … • … run the program. • … study how the program works. • … share copies with your neighbor. • … improve the program to benefit the community. "Free software" is a matter of liberty, not price. To understand the concept, you should think of "free" as in "free speech," not as in "free beer." (Richard Stallman, The Free Software Definition) www.fsf.org Slide: 14 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 13. Linux ... • … is the kernel of GNU/Linux. • … started as a hobby project in 1991. • … a community of 1000s of developers. • … 370 Mb of code under GNU/GPL license. • … distributed by projects (Debian) and companies (Fedora RedHat) Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) ... (Linus Torvald, Usenet post, 1991) Slide: 15 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 14. FOSS development is ... • … based on the community (bazaar) model. • … open and transparent. • … a meritocracy based on peer review. • … closely tied to the user community. • … release early and often philosophy. Every good work of software starts by scratching a developer's personal itch. (Eric Steven Raymond, The Cathedral and the Bazaar) Slide: 16 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 15. FOSS products are protected... • … by free and open licenses. • … First: GPL (GNU General Public License) • … 60+ licenses on Open Source Institute. • … 80+ licenses listed by FSF. www.opensource.org • … creative commons license. The strategic marketing paradigm of open source is a massively parallel drunkard's walk filtered by a Darwinistic process. (Bruce Perens, The Emerging Economic Paradigm of Open Source, 2006) Slide: 17 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 16. FOSS Licenses Permissive – software can become proprietary. Strongly protective – software cannot become proprietary. Weakly protective – software component cannot become proprietary but can be part of a proprietary system. Source: David Wheeler, The F/LOSS Slide, 2007. Slide: 18 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 17. Many Large Successful Projects GNU/Linux Mozilla Firefox MySQL Apache Companies Supporting FOSS Slide: 19 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 18. Market Share - Million Busiest Sites Source: http://news.netcraft.com (March, 2009) Slide: 20 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 19. Humanitarian FOSS • Free and open source software for the general public good. • Software that promotes human welfare and human rights. • Recognized by Free Software Foundation (“help thy neighbor”) • Advantages of FOSS: • No discrimination on access. • Transparency of the code and the project. • Shared use and development. • Adaptability and local control. Slide: 21 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 20. H-FOSS Example: DataDyne EpiSurveyor Project UN + Vodaphone collaboration. Form-based, data gathering FOSS for mobile phones. Originally PDA-based; now web-based (beta). Prior to the use of EpiSurveyor, handheld data collection was gathered using commercial software that required expensive consultant programmers every time a new form was needed, or an old form needed to be modified. Now, with support from the United Nations Foundation and Vodafone Group Foundation, and in partnership with the UN World Health Organization and national governments, EpiSurveyor is putting effective health data- gathering tools in the hands of country health officials.-- Joel Selanikio, MD, co-founder of DataDyne.org, July 2007 Video: DataDyne Wireless EpiSurveyor http://www.youtube.com/v/rI3ED6-jU0Q (1:30)
  • 21. Example: H-FOSS as a Development Tool Report from the a UN official: Designed to facilitate the supervision of health data in public clinics using handheld computers, the initiative broke ground when country officials modified the open source EpiSurveyor data-gathering software to meet other public health needs as they arose. In Kenya health officials modified EpiSurveyor to investigate and contain a polio outbreak, and in Zambia health officials modified the software to conduct a post- measles-immunization campaign coverage survey to identify which children had not been vaccinated. Because the EpiSurveyor application is open source, its application was owned and controlled entirely by WHO and country health officials without depending on outside consultants.
  • 22. Why H-FOSS Matters for Developing Countries Richard Stallman, United Nations, World Summit on the Information Society Conference, Tunisia, November 2005 See 7:15 –9:30 minutes http://upload.wikimedia.org/wikipedia/commons/1/14/051118-WSIS.2005- Richard.Stallman.ogg
  • 23. 1940: Motorola SCR536 Mobile Technologies Satellite telephony A pager for emergency services. Sabrina, 1954 St. Louis, MO: June 17, 1946 Mexico City Earthquake 1985
  • 24. Mobile Phones and Smartphones + =
  • 25. Wireless Technology: Cellular Service 1946: Hexagonal cells proposed at Bell labs. No technology or frequencies. 1960s: Cellular electronics developed. 1970: Cell handoff algorithm.
  • 26. Wireless Technology: AMPS
  • 27. Wireless Technology: Mobile Phone Coverage
  • 28. Wireless Technology: Mobile Telephony in the South Hemisphere “Leap frog technology” – more mobile than land lines. By 2012, 1 billion more. SMS is everywhere. Web is spreading to phones.
  • 29. Wireless Technology: Short Message Service (SMS) Defined as a GSM standard in 1985 First messages in 1992. 160 7-bit characters / message. Supported by other mobile technologies as well as satellites, landlines. World's most widely used data application. 2005: 1 trillion messages (2/p/d) 2006: $35 billion industry $0.11/msg for practically 0 cost
  • 30. Mobile FOSS Examples
  • 31. Example: Mobile phones in disaster management MobileActive.org – Global network of people using mobile phones for social impact. Goal: Increase the effectiveness of NGOs in communication, organizing, service, and information. Interactive database on world wide mobile date – usage, rates, adoption: http://mobileactive.org/mobiledata Mobileactive08: Mobiles & Disaster Relief http://www.youtube.com/v/UADazvwM4-8
  • 32. Crisis Mapping Then: GDACS Global Disaster Alert and Coordination System provides near real-time alerts about disasters.
  • 33. Crisis Mapping Then: ReliefWeb • Documents and Maps on humanitarian emergencies and disasters. • UN Office for the Coordination of Humanitarian Affairs • 3 million hits / day following Asian Tsunami • 300,000 maps and documents
  • 34. Crowdsourcing Now: Ushahidi (Swahili for testimony): Started mapping reports of violence following the 2008 Kenya election. Premise: Gathering and mapping crisis information from citizens can provide real time insights. Citizen journalism. Ushahidi Engine: Allows citizens to gather and map reports by mobile phone, email and the web. Free and open source. Pluggable, extensible web architecture. Volunteer effort: Kenya, South Africa, Uganda, Malawi,Ghana, the Netherlands, U.S. Partners: FrontlineSMS, Harvard Humanitarian Initiative, Peace
  • 35. Example: Ushahidi Erik's TED talk on Ushahidi (Crowdsourced Filtering to avoid Info Overload) http://blog.ushahidi.com/index.php/2009/05/01/eriks-ted-talk-on-ushahidi/
  • 36. Software: Frontline SMS FOSS that turns a laptop into an SMS communication hub. Works with GSM phones and existing plans. Attach a phone and SIM card and pay per message. Source: http://www.frontlinesms.com/
  • 37. Software: Slingshot SMS Lightweight SMS gateway. Runs on laptop or USB stick. Mac, Windows, Linux. Interfaces with applications. Source: http://developmentseed.org/
  • 38. Case Study: RapidResponse in Malawi • Health platform based on RapidSMS • The Earth Institute and UNICEF Innovation Group for the Millenium Villages Project. • Use SMS to facilitate and coordinate field-based health providers. • UNICEF Malawi and UNICEF • Cellphone coverage: Small (4.6%) but growing rapidly (51% Innovations, Using Mobile growth,2006-7) (Source: Kinkade Phones to Improve Child and Verclas. Wireless Technology Nutrition Surveillance in for Social Change: Trends in Mobile Malawi, June 2009. Use by NGOs. Washington, DC: United Nations Foundation, 2008.) Slide: 40 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 39. RapidResponse: Information Flow Slide: 41 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 40. RapidResponse: Paper to SMS Slide: 42 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 41. RapidResponse: Data Entry & Aggregation Slide: 43 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 42. RapidResponse: Analysis Slide: 44 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 43. RapidResponse: Findings • Reduced delays in data transmission. • Improved data quality. • Reduced manpower needs for data entry and analysis. • Reduced patient dropout rates. • Improved reporting rates. Slide: 45 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 44. RapidResponse: Challenges • RapidSMS technical issues • User interface and reporting upgrades. • Better mechanism for data representation. • System for sending free form messages. • Networks and electricity. • Cost of sending messages (toll-free??) • Delays and coverage. • Need for uninterrupted power supply (UPS). • Need for national internet access. • Social/political issues. • Government buy-in, training, education. Slide: 46 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 45. Random Walk Gossip (RWG) Vector in message keeps track of informed nodes: 0 1 0 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 1 A B C D REQF Randomly choose ACK ACK a ACK neighbor. OKTF REQF Slide: 47 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 46. Research Questions • How can this work for emergency management? – Pilot: Somalia emergency response monitoring (July 09). – Using RapidSMS to submit emergency monitoring checklist data. • Can smartphones be used to improve the amount and type of information transmitted? Slide: 48 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 47. Case Study and Demo: POSIT/ Android Slide: 49 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 48. What is Android? • Linux-based mobile operating system. • Java-based SDK • Free & open source (Apache 2.0) • Allows proprietary extensions • Complaint: SDK not completely FOSS • Complaint: Specialized Java • Supported by the Open Handset Alliance • Released in November 2007 • HTC Dream (T-Mobile G1), Oct 2008 • Today: 3 HTC models, Samsung 17500, Qigi i6 (China) • Forthcoming: 18 new models by 12/09. Slide: 50 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 49. Open Handset Alliance Slide: 51 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 50. Android Features Slide: 52 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 51. Mobile & Smartphone Market Share Gartner: In 2Q-09 worldwide sales of mobile phones declined by 6% over 2Q-08 but sales of smartphones increased by 27%. Slide: 53 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 52. Android Market June 2009 AdMob, June 2009 Android Market (10/2008): March 2009: 2300 Apps, 2/3 free. July 2009: 5000 Apps. iPhone Market (6/2007): Sep 2008, 100m downloads, 3000 Apps, 1/5 free Slide: 54 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 53. Android Architecture
  • 54. Rapid Android – RapidSMS for the Android • A port for RapidSMS for the Android platform. • Unicef and Dimagi. • Proof-of-concept search and rescue implementation. • Distribution and follow- up of bed nets to combat malaria. Slide: 56 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 55. Moca – Portable medical diagnostics platform • Remote medical diagnostics platform. • Interfaces with OpenMRS. • MIT project. • Connects remote health- care workers with hospitals and medical professionals. Slide: 57 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 56. POSIT – Portable Open Search and Identification Tool Customizable data gathering and communication tool. Proof-of-concept search and rescue implementation. Data: GPS, clock, text, audio, video, images, bar codes. Communication channels: WiFi, 802.11, GSM telephony, ad-hoc networking. On-phone storage: SQLite Db. Slide: 58 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 57. POSIT – Communication System Architecture • GPRS, SMS over GSM • WiFi over 802.11 b/g • AdHoc / RWG over 802.11 • GPS • AdHoc - RWG over 802.11 enabled phones running POSIT Slide: 59 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 58. POSIT – Communication channels Data-rich finds can be transmitted between phones and Server. Telephony: 2G or 3G depending on provider and infrastructure. WiFi: Depending on situation and infrastructure. Ad-hoc: Experimental ad-hoc network can transmit limited data among phones and server. Slide: 60 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 59. POSIT – System Architecture Slide: 61 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 60. POSIT – Walkthrough • Download POSIT by reading a QR code using the phone's bar code reader. Slide: 62 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 61. POSIT – Walkthrough • Register the phone with a “mission” by scanning a QR code. Slide: 63 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 62. POSIT – Walkthrough • Customizable forms interface can be used to input data about the find. Slide: 64 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 63. POSIT – Walkthrough • Finds can be displayed as a list or on a map. Slide: 65 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 64. POSIT – Walkthrough • The server provides a command and control interface where finds can be listed, mapped, analyzed. Slide: 66 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 65. POSIT – Coverage Tracking • The phones report their search paths to the sever to help guide search coverage. Slide: 67 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 66. POSIT – Walkthrough • Phones can communicate in ad-hoc, manycast mode when infrastructure is missing. Slide: 68 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 67. Ad-hoc networking Disaster areas: cell towers, infrastructure destroyed Phones talk to each other directly Slide: 69 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 68. Random Walk Gossip (RWG) • A low-power, partition-tolerant, manycast protocol for disaster area networks. • Collaborative project with Real-time Systems Laboratory, Linköping University, Sweden – PI: Simin Nadjm-Tehrani – Students: Mikael Asplund, Gustav Niqvist E A B D C F Slide: 70 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 69. Random Walk Gossip (RWG) • Reach at least N nodes. • Be energy-efficient. • Be partition tolerant. • Require little or no knowledge of system. • Have reasonable latency. • Active phase: messages spread using random walk, ensuring progress but avoiding flooding. • Inactive phase: messages wait in nodes for uninformed neighbors to appear. Slide: 71 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 70. POSIT Demo Script Part I: Basic functionality • Download POSIT App (w/ RWG) • http://posit.hfoss.org/?= • Start POSIT • Register with Server (@Trinity College) • Server: http://posit.hfoss.org/demo/web/settings • Username: demo@hfoss.org, Password: iscramdemo • Register with 'Unexploded Ordinance' Project • Use POSIT to identify Finds • Photo, Text, GPS, Timestamp • Synchronize w/ Server • Point: All phones have a common set of finds • Display finds on the Map Slide: 72 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 71. POSIT Demo Script Part II: Ad-hoc networking mode • Start RWG Activity Ad-hoc Mode • Record new find • Should send to other phones w/o Server • Turn off the server Slide: 73 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 72. POSIT Strengths and Limitations • Limitations – Not (yet) many Android platforms. – Doesn't use SMS. – Lacks a use case client. • Strengths – Free and open source. – Accessible to Android-supported devices. – Customizable and extensible. • Research questions/projects. – Develop and field test for a specific application. • EG: Sahana, OpenMRS – Rich data vs. SMS. Slide: 74 ISCRAM—Summer Seminar Tilburg University, August 24, 2009
  • 73. What are the research questions?? What are the development issues? Slide: 75 ISCRAM—Summer Seminar Tilburg University, August 24, 2009

×