摘 要
伴随着Android智能移动设备的普及,其对网络系统和流量监控的要求越来越高,因而,让用户有能力实现对移动设备网络流量的实时监控和显示,同时进一步合理控制移动设备网络流量的使用状况,从长远来看,是Android系统研究领域目前和未来的热门和趋势。
Android系统体系架构主要分为Linux内核层、Libraries系统库和Android运行时环境层、应用程序框架层和应用程序层4个层次,其应用程序主要由Activity、Service、BroadcastReceiver、Content Provider以及Intent等组件组成。本文采用了在Android系统平台上使用tcpdump工具捕获网络流量数据文件,然后在对其文件格式分析说明的基础上进行解析并记录成流量日志形式的设计方案来实现Android系统的网络流量监控设计研究课题。
本文中Android系统网络流量监控的具体实现涉及了主界面和相关控件的布局配置,通过开启和关闭网络流量监控服务模式来进行获取通信流量数据的过程,实现了将tcpdump工具捕获的网络流量数据文件进行解析并以流量日志的形式展现出来的功能,同时还实现了统计每个应用进程的上行流量和下行流量数据并展现出来的功能,最终成功完成了一个可以实现网络流量监控功能的Android应用程序软件。
关键字:Android;流量监控;tcpdump;流量日志
Abstract
With the popularity of Android smart mobile devices , its network traffic monitoring systems have become increasingly demanding , thus , allowing users to have the ability to realize the mobile device network traffic and displays real-time monitoring , while further reasonable control network traffic for mobile devices usage in the long run , is the most popular and current and future trends in the Android system research .
Android system architecture is divided into the Linux kernel layer , Libraries system libraries and Android runtime environment layer , application framework layer and application layer 4 level , and its applications are dominated by Activity, Service, BroadcastReceiver, Content Provider , and other components Intent components . In this paper, the use of the Android platform tcpdump tool to capture network traffic data file , and then parse the basis of its analysis of the file format and record a description of the design in the form of traffic logs to Android network traffic monitoring system design research .
Concrete realization of this article Android network traffic monitoring system involving the main interface layout configurations and associated controls, to obtain traffic data by opening and closing process network traffic monitoring service model to achieve the tcpdump tool to capture network traffic data files be resolved in the form of traffic logs show out of function, but also realized the upstream and downstream traffic statistics per application process and unfolded function , and ultimately the successful completion of a monitoring network traffic can be achieved Android applications software .
Keywords: Android ; traffic monitoring ; tcpdump ; traffic logs
目 录
第一章 绪论 1
1.1 引言 1
1.2 课题研究背景与意义 1
1.3 课题研究现状与发展趋势 2
1.4 本文主要工作 2
1.5 论文的结构安排 3
第二章 Android系统相关技术介绍及分析 4
2.1 Android系统体系架构 4
2.1.1 Linux内核 5
2.1.2 系统库和Android运行时环境 5
2.1.3 应用程序框架层 5
2.1.4 应用程序层 6
2.2 Android应用程序结构及原理分析 6
2.2.1 Activity 6
2.2.2 Service 8
2.2.3 Broadcas
上一篇:
android毕业论文完整格式(食物相宜相克大全)
下一篇:
猪疥癣病的防治