MobileInsight: Extracting and Analyzing Cellular Network Information on Smartphones Yuanjie Li, Chunyi Peng, Zengwen Yuan, Jiayao Li, Haotian Deng, Tao.

Slides:



Advertisements
Similar presentations
Doc.: IEEE xxx Submission May 10-14, 2004 Alan Carlton, Interdigital CommunicationsSlide 1 Defining Layer 2.5 Alan Carlton Interdigital Communications.
Advertisements

MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.
Control-Plane Protocol Interactions in Cellular Networks
Making Cellular Networks Scalable and Flexible Li Erran Li Bell Labs, Alcatel-Lucent Joint work with collaborators at university of Michigan, Princeton,
By : Versha Thakur Shravani Aishwarya
Company confidential Prepared by HERE Transit Sr. Product Manager, HERE Transit Product Overview David Volpe.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Understanding Linux Kernel to Build Software Routers (Qualitative Discussion) Shiv Kalyanaraman,
1 Location-Based Services Using GSM Cell Information over Symbian OS Final Year Project LYU0301 Mok Ming Fai (mfmok1) Lee Kwok Chau (leekc1)
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
EstiNet Network Simulator & Emulator 2014/06/ 尉遲仲涵.
Christopher Bednarz Justin Jones Prof. Xiang ECE 4986 Fall Department of Electrical and Computer Engineering University.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
SIGNALING. To establish a telephone call, a series of signaling messages must be exchanged. There are two basic types of signal exchanges: (1) between.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
material assembled from the web pages at
Protocol Verification for Cellular Networks Chunyi Peng The Ohio State University.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Chapter 14 Part II: Architectural Adaptation BY: AARON MCKAY.
CS1Q Computer Systems Lecture 17 Simon Gay. Lecture 17CS1Q Computer Systems - Simon Gay2 The Layered Model of Networks It is useful to think of networks.
Lesson 11: Configuring and Maintaining Network Security
Network Sniffer Anuj Shah Advisor: Dr. Chung-E Wang Department of Computer Science.
IBM Bluemix Ecosystem Development Hands on Workshop Section 1 - Overview.
Wireless and Mobile Security
3G wireless system  Speeds from 125kbps-2Mbps  Performance in computer networking (WCDMA, WLAN Bluetooth) & mobile devices area (cell.
1 Architecture and Behavioral Model for Future Cognitive Heterogeneous Networks Advisor: Wei-Yeh Chen Student: Long-Chong Hung G. Chen, Y. Zhang, M. Song,
Business-logic Layer Presentation Layer Network Layer Digital Signal Processing Layer SmartHome API SmartHome Software Architecture SH mobile application.
Nguyen Thi Thanh Nha HMCL by Roelof Kemp, Nicholas Palmer, Thilo Kielmann, and Henri Bal MOBICASE 2010, LNICST 2012 Cuckoo: A Computation Offloading Framework.
DeepDroid Dynamically Enforcing Enterprise Policy Manwoong (Andy) Choi
16th December 2008 New in NetHawk M5 – Air interface monitoring One tool for both air and network interface real time monitoring.
Mobile Packet Sniffer Ofer Borosh Vadim Lanzman Dr. Chen Avin
© Airspan Networks Inc. Automatic QoS Testing over IEEE Standard.
Android Mobile Application Development
Unified Communications Finding the right Mobile solution
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
© 2002, Cisco Systems, Inc. All rights reserved.
Pilot Watcher Product Overview V5.3
Opening slide.
The Development Process of Web Applications
Planning and Troubleshooting Routing and Switching
EE-587 Spring FEB 08 William Mullins
MOBILE DEVICE OPERATING SYSTEM
Migrating Oracle Forms Using Oracle Application Express
Intra LTE Handover.
Muhammad Taqi Raza, Fatima Muhammad Anwar and Songwu Lu
Proposal on system description, reference model and draft outline
GPRS GPRS stands for General Packet Radio System. GPRS provides packet radio access for mobile Global System for Mobile Communications (GSM) and time-division.
Indigo Doyoung Lee Dept. of CSE, POSTECH
Computer Simulation of Networks
Chapter 8: Monitoring the Network
Authors: Helen J. Wang, Chuanxiong Guo, Daniel R
Course Project Topics for CSE5469
Application Layer Mobility Management Scheme for Wireless Internet
AAA: A Survey and a Policy- Based Architecture and Framework
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
CS4470 Computer Networking Protocols
Sensor Networks – Motes, Smart Spaces, and Beyond
IEEE MEDIA INDEPENDENT HANDOVER DCN:
IEEE MEDIA INDEPENDENT HANDOVER DCN:
Software interoperability in the NGN Service layer
Authors: Helen J. Wang, Chuanxiong Guo, Daniel R
An Introduction to CDMA Air Interface: IS-95A
IEEE MEDIA INDEPENDENT HANDOVER DCN:
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
IEEE MEDIA INDEPENDENT HANDOVER DCN:
Salesforce.com Salesforce.com is the world leader in on-demand customer relationship management (CRM) services Manages sales, marketing, customer service,
EKSE: A Command Line Interface for EGS-CC based Systems
ONAP Architecture Principle Review
Presentation transcript:

MobileInsight: Extracting and Analyzing Cellular Network Information on Smartphones Yuanjie Li, Chunyi Peng, Zengwen Yuan, Jiayao Li, Haotian Deng, Tao Wang

Syllabus 1-22 slides Up to section 3 of the paper (including section 3) Only slide should be enough

Increase In Mobile Traffic Mobile users are increasingly accessing online services through their 3G/4G networks on their smart devices. The resulting data volume has contributed to 88% of mobile traffic. It is projected to reach 97% by 2019.

Limited Access Users and devices have very limited access to their runtime operations on all cellular protocols. Mobile applications transfer data through the cellular interface via the socket API. The network itself largely remains a blackbox to users

Barriers for researchers and developers Obstacle for understanding and refining how cellular protocols operate at the device and inside the network.

Example The device experiences a handoff on the go but has no clue on why it is triggered and whether it is a good decision. Stuck in 2G even when 4G is available. Takes long time to upload a photo or experience a failed call via 4G. Not clear, whether it is caused by poor radio quality or network protocol issues.

Need a TOOL ! It can collect runtime operation traces using commercial off-the-shelf (COTS) devices without extra hardware support. Given the data traces, it provides analytics to extract dynamic protocol behaviors for both common usage settings and abnormal failure cases The tool offers simple APIs to build applications and the framework can be readily extended

MOBILEINSIGHT a software tool which enables runtime cellular network monitoring and analytics on smartphones. providing open access (in software) to fine-grained cellular information on 3G/4G protocols. GOAL: to facilitate researchers and developers to readily and quickly obtain the low-level network information through easy-to-use APIs.

Features MOBILEINSIGHT runs as a user-space service on smartphones. It does not require any extra support from operators, or additional hardware It leverages a side channel inside the smartphones and extracts cellular operations from signaling messages between the device and the network. These messages regulate essential utility functions of radio access, mobility management, security, data/voice service quality etc. It further enables in-device analytics for cellular protocols.

Cellular Network Primer

Cellular Network Primer The data plane delivers user content (data/voice). The control plane exchanges signaling messages to facilitate content delivery.

First Part To enable radio access between the device and the base station. Physical (L1) and link (L2) functionalities, including PHY, MAC, RLC (Radio Link Control) and PDCP (Packet Data Convergence Protocol), are implemented.

Second Part the control-plane protocols. Split into access stratum (AS) and non-access stratum (NAS).

Access stratum AS protocols regulate radio access through Radio Resource Control (RRC). RRC is mainly for radio resource allocation and radio connection management. It also helps to transfer signaling messages over the air.

Non-access stratum NAS is responsible for conveying non-radio signaling messages between the device and the core network. mobility management (MM) and session management (SM) also belong to the control plane. MM offers location updates and mobility support for call/data sessions. SM is to create and mandate voice calls and data sessions.

Third Part It is the data-plane protocols above IP, which are not cellular specific but use the standard TCP/IP suite.

Limited access through APIs OS and mobile apps have limited access to low-level, cellular specific information at runtime. cellular-specific protocols (control-plane and L1/L2 protocols) are implemented within the chipset.

API’s accessibility The OS gets access to basic cellular functions and states. Eg. registration, dialing a voice call and enabling/disabling data. OS uses radio interface layer (RIL) library which interacts with the cellular interface exposed by the chipset. OS encapsulates a subset of RIL library to APIs, e.g., TelephonyManager class for Android. For ease of app development and permission control.

Current Tools Debugging tools, such as QXDM, XCAL, MTK Catcher, xgoldmon can collect cellular network messages and offer fine-grained information. They only work with PC. They do not offer in-device collection or protocol analytics.

MOBILEINSIGHT Overview It offers a pure software-based solution for in device collection and analytics of cellular protocol information. It infers protocol operations and by exploiting messages exchanged between the device and the network at the hardware chipset. It not only unveils what is going on with cellular-specific operations, but also sheds light on why and how.

MOBILEINSIGHT Overview

MOBILEINSIGHT Overview Takes leverage of an alternative side channel between the chipset and the software. the chipset supports an external diagnostic mode. It exposes the cellular interface to the USB port. MOBILEINSIGHT emulates an external logger at the mobile device to collect raw cellular logs.

Parsing Cellular Network Messages Issue: to decode a variety of message types. Solution: 2 steps. Step 1: a metadata parser is applied to the raw hex logs to extract the message type ID and release version. Step 2: It then selects the corresponding message parser with a switch branch over the (type-ID, release) tuple

Parsing Cellular Network Messages

Optimization It asks each protocol analyzer to declare its needed cellular messages, and dynamically configures the cellular interface to record only those messages of interests. it invokes on-demand parsing to only decode the necessary fields.

Cellular Protocol Analytics MOBILEINSIGHT further builds runtime analytics for protocol behaviors. 2 Dimension for behaviors Protocol state dynamics Protocol operation logic

Protocol State Dynamics It provides direct hints about performance (e.g. high/low-rate connectivity state in RRC) and functional correctness. MOBILEINSIGHT seeks to capture its runtime state dynamics, the state transitions and the conditions for transitions.

Protocol State Dynamics Extraction First, it derives a reference state-machine model for each protocol. This model abstracts the device-side states and transition conditions as a function of cellular messages. It then feeds cellular messaged to this model. From those cellular messages, it derives the transition parameters and track the state transitions by following the reference state machine.

Protocol State Dynamics Extraction

Inference of Protocol Operation Logic The logic is the algorithm or policy by the operator to determine what configurations the protocol should use and what messages to send/receive. By analyzing operation logic, the device can forecast possible performance degradation (e.g., handoff to a low-speed cell) and functional incorrectness (e.g., network failures). Model the handoff logic as a domain-specific finite-state machine and run online inference algorithm. IT uses a state merging algorithm with leveraging domain-specific knowledge on cellular networks to improve inference accuracy.

Inference of Protocol Operation Logic

Implementation MOBILEINSIGHT is built on off the-shelf smartphones, as a user- space service. They choose the user-space rather than in-kernel solution for ease of deployability.

Evaluation In-device support.

Characteristics of cellular messages

Responsiveness Record every cellular message’s arrival and departure timestamps, and calculate the message number every second. To satisfy the realtime requirement, the departure rate should match with the arrival rate. This corresponds to a line y = x, with x as the arrival (generation) rate from the hardware interface, and y as the departure rate from MOBILEINSIGHT’s monitor.

Accuracy

Conclusion MOBILEINSIGHT represents our first effort to build a software tool to open up the blackbox operations. It enables open access to the low-level protocol operations in 3G/4G from the device side. In the broader context, MOBILEINSIGHT is designated to be an open, extensible tool for the community and by the community.