admin管理员组

文章数量:1531721


2024年6月18日发(作者:)

摘要

摘 要

伴随着Android智能移动设备的普及,其对网络系统和流量监控的要求越来越

高,因而,让用户有能力实现对移动设备网络流量的实时监控和显示,同时进一

步合理控制移动设备网络流量的使用状况,从长远来看,是Android系统研究领域

目前和未来的热门和趋势。

Android系统体系架构主要分为Linux内核层、Libraries系统库和Android运

行时环境层、应用程序框架层和应用程序层4个层次,其应用程序主要由Activity、

Service、BroadcastReceiver、Content Provider以及Intent等组件组成。本文采用了

在Android系统平台上使用tcpdump工具捕获网络流量数据文件,然后在对其文件

格式分析说明的基础上进行解析并记录成流量日志形式的设计方案来实现

Android系统的网络流量监控设计研究课题。

本文中Android系统网络流量监控的具体实现涉及了主界面和相关控件的布

局配置,通过开启和关闭网络流量监控服务模式来进行获取通信流量数据的过程,

实现了将tcpdump工具捕获的网络流量数据文件进行解析并以流量日志的形式展

现出来的功能,同时还实现了统计每个应用进程的上行流量和下行流量数据并展

现出来的功能,最终成功完成了一个可以实现网络流量监控功能的Android应用程

序软件。

关键字:Android;流量监控;tcpdump;流量日志

I

ABSTRACT

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

II


本文标签: 网络流量流量监控实现系统