27 th USENIX Large Installation System Administration Conference (LISA'13), Washington D.C., USA, November 3–8, 2013. Talk: November 7, 2013 Georgios Larkou,

Slides:



Advertisements
Similar presentations
© 2012 All rights reserved to Ceedo. Flexible Desktops. Dynamic Workplace. Ceedo Client Offerings For Service Providers Ceedo Client Workspace Virtualization.
Advertisements

Intro to Android and iOS CS-328 Dick Steflik. The Players Android – Open source mobile OS developed ny the Open Handset Alliance led by Google. Based.
What’s new in this release? September 6, Milestone Systems Confidential Milestone’s September release 2012 XProtect ® Web Client 1 Connect instantly.
Objectives Overview Define an operating system
Android Tools & Wireless ADB Αντρέας Λύμπουρας Θεόφιλος Φωκάς Ζαχαρίας Χ’’Λάμπρου.
Implementation of an Android Phone Based Video Streamer 2010 IEEE/ACM International Conference on Green Computing and Communications 2010 IEEE/ACM International.
Building and Deploying Safe and Secure Android Apps for Enterprise Presented by Technology Consulting Group at Endeavour Software Technologies.
Hotspot Express $ One of the Pioneers of complete WiFi solutions in India $ Hardware to create HOTSPOTs  Software to secure HOTSPOTs & Manage the users.
Mobile Mobile OS and Application Team: Kwok Tak Chi Law Tsz Hin So Ting Wai.
DEPARTMENT OF COMPUTER ENGINEERING
Extend Your UFT for Mobile Testing & Monitoring Mobile Add-on For UFT Nov 2014.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Building an Application Server for Home Network based on Android Platform Yi-hsien Liao Supervised by : Dr. Chao-huang Wei Department of Electrical Engineering.
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Michael Niehaus OS DeploymentApp Deployment Infrastructure Deployment.
Android Introduction Platform Overview.
Programming mobile devices Part II Programming Symbian devices with Symbian C++
By Mihir Joshi Nikhil Dixit Limaye Pallavi Bhide Payal Godse.
1st EIT ICTLabs Future Networking Solutions Outreach Workshop, December 4, 2014, Budapest, Hungary Smartphone Cloud Testbeds and Applications Demetris.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
Talk at the Distributed Systems Laboratory, Technical University of Vienna, Vienna, Austria, September 30, Managing Smartphone Cloud Testbeds Demetris.
COEN 252 Computer Forensics
©Kwan Sai Kit, All Rights Reserved Windows Small Business Server 2003 Features.
Smart Phone Laboratory ECEN 489 Srinivas Shakkottai.
Moving the RFID Value Chain Value Proposition Cost and Complexity What is it? (passive RFID) Where is it? (active RFID) How is it? (Sensors) Adapt to it.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Explain the purpose of an operating system
CONFIDENTIAL 1. 2 Designing the Intelligent Energy Gateway 2009 CONFIDENTIAL.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Android Husam Abdel Rahman. Introduction Android Operating system is most popular operating system these days with the advance in voice communications.
WCL302. OS DeploymentApp Deployment Infrastructure Deployment.
1 Introduction to Microsoft Windows 2000 Windows 2000 Overview Windows 2000 Architecture Overview Windows 2000 Directory Services Overview Logging On to.
Good MDM IOS Overview Presented by: Jerry Wen 02/09/2012.
Virtual Classes Provides an Innovative App for Education that Stimulates Engagement and Sharing Content and Experiences in Office 365 MICROSOFT OFFICE.
IBM Bluemix Ecosystem Development Hands on Workshop Section 1 - Overview.
1 REMOTE CONTROL SYSTEM V7 2 Introduction.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
verifone HQtm Estate Management Solution
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
NetModule Cloud Solution Professional M2M Networking out of the Cloud © 2014 NetModule AG Slide 1.
NetModule Cloud Solution Professional M2M Networking out of the Cloud NetModule Cloud Router 1.
Mobile Application Testing Mobile Application Testing.
Final Presentation Smart-Home Smart-Switch using Arduino
Technical Sales Specialist Software - OS and Applications John R. Moegling Sr. Systems Engineer.
Top 10 Differentiators.
Accelerometer based motion gestures for mobile devices Presented by – Neel Parikh Advisor Committee members Dr. Chris Pollett Dr. Robert Chun Dr. Mark.
BLACKBERRY TECHNOLOGY PRESENTED BY SHAIK TABREZ (09J01A1225 )
Short Customer Presentation September The Company  Storgrid delivers a secure software platform for creating secure file sync and sharing solutions.
M IND Q S YSTEMS Leaders in Training /7, 2nd Floor, Srinivasa Nagar Colony (W) Above HDFC Bank, S.R.Nagar Hyderabad
2016 Global Seminar 按一下以編輯母片標題樣式 Virtualization apps simplify your IoT development Alfred Li.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
CHAPTER 7 Operating System Copyright © Cengage Learning. All rights reserved.
Google. Android What is Android ? -Android is Linux Based OS -Designed for use on cell phones, e-readers, tablet PCs. -Android provides easy access to.
Software Engineering in Mobile Application Development
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Voice Controlled Robot by Cell Phone with Android App
Mobile Device Development
Appium Studio Appium testing made easy at any scale.
WELCOME Mobile Applications Testing
Mobile Testing – Survival Knowledge – Part V
Pilot Watcher Product Overview V5.3
Pilot Walktour Operation Guide V3.5 (Android)
Development-Introduction
Operating Systems Overview
SVTRAININGS. SVTRAININGS Features of SCCM  Application management  Provides a set of tools and resources that can help you create, manage, deploy, and.
Mobile Testing Beyond Physical Reach
Tareq Khan, Ph.D. Assistant Professor,
Sensor Networks – Motes, Smart Spaces, and Beyond
IT Management, Simplified
Presentation transcript:

27 th USENIX Large Installation System Administration Conference (LISA'13), Washington D.C., USA, November 3–8, Talk: November 7, 2013 Georgios Larkou, Constantinos Costa, Panayiotis G. Andreou, Andreas Konstantinidis and Demetrios Zeinalipour-Yazti Managing Smartphone Testbeds with SmartLab 1

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) The Smartphone Revolution October 2011: The Economist. "Beyond the PC" February 2012: Canalys validated Economist's forecast, initiating the Post-PC era. April 2013: IDC reports another important development –Smartphone sales exceed the sale of Feature phones for the first time in history due to increased sales in developing regions. –51.6% (216M) Smartphones vs. 48.4% (186M) Feature Phones Sales (Millions) Year 2

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) eReaders Hardware Fragmentation Rasperry PI Tablets Smart Watches Smart TVs SmartBooks Smart Glasses Smart Home Phones 3 Equipment running on Android (based on Linux kernel 2.6.x and 3.x)

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) IDC projects that 53% of smartphones in 2016 will be running Android (19% iOS, 19% Win) Android Software Fragmentation  Software Fragmentation Source: OpenSignal, July 2013 Smartphone OS landscape is fragmented! 4

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab: Research Motivation How can a smartphone developer cope with the software / hardware fragmentation? We developed a comprehensive architecture for managing static, mobile and virtual smartphones through a web browser.  Static AndroidsMoving Androids 5

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab: User Interface Rent See/Click Shell File Sys. Automation Debug Data Manage 6 Intuitive HTML5/AJAX-based GUI + JSON-based GUI

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab: Envisioned Applications Application Testing How to test my app automatically on 50 different smartphones? Personal Gadget Management How to manage my personal gadgets at a fine-grain (i.e., clicks, file-transfer, update, etc.) Data Collection in Smart Cities How to handle a fleet of Android-powered entertainment equipment installed on 1000 buses? Building Computational Clusters How to build beowulf-like clusters out of deprecated smartphones? We tend to change smartphones faster than PCs … 7

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Contributions of this Paper Open Architecture Insights into a real Architecture evolving since Enables fine-grained control over ARDs (Android Real Devices) and AVDs (Android Virtual Devices) Fine-grained & low-level control: OS, Networking, DB & Storage, security, sensors engagement, etc. Extensive Microbenchmarks Justify our implementation choices Allows us to bring forward a new release in the coming months (open to public). Experiences Gained Present some research experiences from using SmartLab in 4 different research and teaching contexts. 8

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 9 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX)  Related Work Remote Server Monitoring Solutions e.g. Nagios, Akamai Query System (LISA'10), STORM, RedAlert NAGIOS Akamai Query System 10 No support for mobile phones!

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX)  Related Work Wireless Sensor Network Testbeds e.g. MoteLab (Harvard), CitySense (Harvard), Wisibed (EU), etc. 11 Again, no support for mobile phones!

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX)  Related Work Smartphone Programming Testbeds e.g., Nokia RDA (only windows and symbian, real), Samsung’s Remote Test Lab (simulated), PerfectoMobile (commercial, real), Keynote's Device Anyware (commercial, real) 12 No insights into how these are developed!

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX)  Related Work People-centric Testbeds e.g. PhoneLab (University of Buffalo): allows data collection from real users after tasks undergo an Institutional Review Board evaluation. e.g. Carat project (UC Berkeley): Collaborative energy diagnostics using the crowd 13 No fine-grain control over remote devices!

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 14 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab Architecture S M A R T L A B Device Server (DS) Layer User Interface (UI) Layer (Web Server) Hardware Layer / SmartPhones Android Debug Bridge (ADB) RFM ATP RCTRDTRS JDWP Data Layer SmartLab DB File System SSHFS SSHFSSSHFS SSHFSSSHFS RM F I R E W A L L WWW User HTTPS / WSS RFMRCTRDTRS RM 15

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 16 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Power and Connectivity Issues Cabling Issues Smartphones connect in a cascading manner (i.e., “daisy chaining) to USB 2.0 hubs (7 ports). Hubs connect to Device Servers. This overcomes the limited number of physical USB ports on the Device Server. Power-Boosting x 6 x Devices + 1 x for the next hub 3 x Y-shaped USB cables (i.e., 2x500mA ) Power Profiling We use a Plogg smart meter +USB Voltage/Ampere meter to offer on-site runtime power measurements. 17

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 18 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Android Debug Bridge (ADB) Android bundled a variety of development tools (SDK tools + Platform tools). We re-package our functionality around these tools to easily keep up with updates. We particularly exploit the Android Debug Bridge (ADB) detailed next. 19

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Android Debug Bridge (ADB) ADB handles the bulk of communication between the connected smartphones and the server (coined the Device Server). 20 Smartphone Device Server

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 21 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Device Server (DS) ARD-Local: Android Real Device (ARD) mounted locally to the Device Server (DS) through USB. ARD-Remote: ARD mounted through a USB port on a gateway PC to DS through a wired network. ARD-WiFi: ARD connected to DS through a WiFi AP. AVD: Android Virtual Device running on DS. ARD-LocalARD-Remote Datacenter USB Hub 1Gbps USB Mbps wired VM Datacenter USB Mbps DS ARD-WiFi WiFi AP 1Gbps wireless 300Mbps Datacenter DS AVD Emulator Datacenter virtual DS 22 Connection Modalities:

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Device Server (DS) Push File (10MB) ARDs-Local out-perform all other connectivity modalities (as expected) Push and Install Application (1MB) ARDs-Local out-perform all other connectivity modalities (as expected) ARDs-Remote and ARDs-WiFi out-perform AVDs AVDs are not appropriate for performing I/O intensive functions Remote File Management 23

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Device Server (DS) Remote Screen Capture (RCT) Remotely seeing the screen of a device Supports: Control events (e.g., power, home) Mouse events (e.g., click, drag) Keyboard events (e.g., key press) RCT Implementation Alternatives: I.cat command /dev/fb0 or /dev/graphics/fb0 II.Monkeyrunner script command takeSnapshot() III.Continuously invoking getScreenshot() command provided by the ddmlib library IV.Continuously listening to the direct stream (compressed or not) that contains the contents of each consecutive screenshot through the ddmlib library 24 Evaluated next

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Device Server (DS) Smartlab’s screen capture module with on device compression clearly outperforms all other options (i.e., 0.6s vs. 2.6s / screenshot) BUT Screen Capture Microbenchmark 25

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Device Server (DS) CPU utilization reaches 28±15% as opposed to 7±3% without compression Screen Capture Microbenchmark (CPU) Data from System Profiler running on Smartphone 26

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Device Server (DS) More CPU => Higher power consumption ( ≈ 500%) Future Work: Auto switch between 2 modes (i.e., compression vs. no- compression) Screen Capture Microbenchmark (Power) 27

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 28 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab User Interface Remote File Management (RFM) 29 /share/user

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab User Interface Remote Shells (RS) 30

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Remote Sensor Mockup Remote Sensor Mockup (RM) 31 Mockup Sensors GPS mockup Accelerometer sensor Compass sensor Orientation sensor Temperature sensor Light sensor Proximity sensor Pressure sensor Gravity sensor

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) SmartLab User Interface Remote Debug Tools (RDT) 32 Prints Android Logcat messages in an online manner (while interacting)

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 33 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Security Overview Security is a very challenging task in an environment where high degrees of flexibility to users are aimed to be offered. Basic Security Measures Network and Communication (Device Servers and Smartphones in DMZ, smartphones are firewalled, HTTPS/WSS protocols for secure communication). Authentication & Traceability (WPA2/ Enterprise & IP logging) Compromise & Recovery (custom CyanogenMod ROMS, shredding SD cards, backups). More in the future… ure work Experimental Repeatability Urban-scale Deployment Web 2.0 API Federation Issues and PG Management Security Studies Personal Gadget Management 34

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Introduction Related Work SmartLab Architecture & Experiments Power and Connectivity Android Debug Bridge (ADB) Device Server (DS) User Interface (UI) Security Issues Experiences using SmartLab Conclusion and Future Work 35 Presentation Outline

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Experiences using SmartLab Indoor Localization Trajectory Benchmarking Peer-to-Peer Benchmarking 36

© Larkou, Costa, Andreou, Konstantinidis, Zeinalipour-Yazti (LISA '13 | USENIX) Conclusions & Future Work Conclusions Open smartphone management platforms will be instrumental for many apps in the future. SmartLab builds upon standard open tools to bring forward one such architecture. Future Work Experimental Repeatability (big-data repositories with sensor readings) Urban-scale Deployment Federation Issues (like PlanetLab) Personal Gadget Management Security Studies / AppInventor Integration 37

27 th USENIX Large Installation System Administration Conference (LISA'13), Washington D.C., USA, November 3–8, Thanks! Questions? Georgios Larkou, Constantinos Costa, Panayiotis G. Andreou, Andreas Konstantinidis and Demetrios Zeinalipour-Yazti Managing Smartphone Testbeds with SmartLab 38