安卓系统网络数据流量的监测分析与研究
发布时间:2018-12-16 00:24
【摘要】:随着安卓系统手机的普及以及3G网络覆盖率的进一步提高,智能手机在给人们带来畅快淋漓上网体验的同时,手机上网流量超限的问题也被越来越多的手机用户所重视,曾经一度被媒体曝光的“天价QQ”和“天价微博”等流量门事件被网友们所热议。据一份网络调查数据显示,有超过七成的智能手机用户曾经有过在不知情的情况下莫名其妙的流量被消耗的情况发生,有超过四成的用户称自己的手机包月流量不够用,那么究竟是谁动了我的数据流量,谁又是真正的流量杀手,本文以安卓手机智能操作平台为研究对象,一方面,从安卓系统底层的数据包流量捕获与分析过滤入手,将Libpcap分组捕获函数库方法引入安卓系统,从内核层对流经网卡的数据包进行捕获和过滤,按照用户定义的规则抓取某种协议类型的数据包或者与某种字符串相匹配的数据包,展示出来供用户参考分析;同时,统计所有联网程序的数据流量,并将其加以校准整合换算,通过不同的数据形式展现出来供手机用户参考;另一方面,为了达到联网数据控制的目的,使用了Iptables/netfilter方法,通过用户自定义,修改Iptables规则集合,添加新的规则,将解析后的数据包头部文件与修改后的规则集进行匹配,作出判断,决定数据包的放行或者阻止,从而达到控制程序联网权限的目的;最终将数据包捕获和流量统计两个模块集成为一款简单易用、界面友好的软件,用户可根据个人上网习惯不同,对软件进行个性化自定义设置,为用户提供有针对性的流量监控与超限提醒服务。 通过实验测试,软件的两大功能模块确实很好的实现了对单个手机应用程序的联网权限控制和对系统数据流量监控提醒的目的,这在一定程度上可以帮助安卓手机用户解决因为恶意软件后台联网和误操作所导致的疯狂跑流量问题。
[Abstract]:With the popularity of Android mobile phones and the further improvement of 3G network coverage, the smartphone brings people a delightful experience of surfing the Internet, and the problem of mobile phone traffic exceeding the limit is paid more and more attention to by more and more mobile phone users. Once was exposed by the media, "sky-high QQ" and "sky-high Weibo" and other traffic door events have been discussed by netizens. According to data from an online survey, more than 70 percent of smartphone users have experienced unexplained consumption of traffic without knowing it, and more than 40 percent of users say their mobile phones do not have enough monthly traffic. So, who has moved my data flow, who is the real traffic killer, this article takes the Android mobile phone smart operating platform as the research object, on the one hand, from the bottom of the Android system packet traffic capture and analysis filtering, The method of Libpcap packet capture function library is introduced into the Android system to capture and filter the packets flowing through the network card from the kernel layer, and grab the packets of a certain protocol type or matching a certain string according to the rules defined by the user. Display for user reference analysis; At the same time, the data flow of all networking programs is counted, and the data flow is calibrated and converted, which can be displayed in different data forms for the reference of mobile phone users. On the other hand, in order to achieve the purpose of networked data control, Iptables/netfilter method is used to modify the set of Iptables rules, add new rules, and match the parsed packet header file with the modified rule set. Making a judgment, deciding the release or blocking of the data packet, so as to achieve the purpose of the control program networking authority; Finally, the two modules of data packet capture and traffic statistics are integrated into a simple, user-friendly software, and users can customize the software according to their personal Internet habits. To provide users with targeted traffic monitoring and beyond the limits of the warning service. Through the experimental test, the two functional modules of the software really achieve the purpose of the network access control of the single mobile phone application program and the monitoring and reminding of the system data flow. This can help Android phone users to solve the problem of running traffic caused by malware backstage networking and misoperation.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.06;TP316
本文编号:2381538
[Abstract]:With the popularity of Android mobile phones and the further improvement of 3G network coverage, the smartphone brings people a delightful experience of surfing the Internet, and the problem of mobile phone traffic exceeding the limit is paid more and more attention to by more and more mobile phone users. Once was exposed by the media, "sky-high QQ" and "sky-high Weibo" and other traffic door events have been discussed by netizens. According to data from an online survey, more than 70 percent of smartphone users have experienced unexplained consumption of traffic without knowing it, and more than 40 percent of users say their mobile phones do not have enough monthly traffic. So, who has moved my data flow, who is the real traffic killer, this article takes the Android mobile phone smart operating platform as the research object, on the one hand, from the bottom of the Android system packet traffic capture and analysis filtering, The method of Libpcap packet capture function library is introduced into the Android system to capture and filter the packets flowing through the network card from the kernel layer, and grab the packets of a certain protocol type or matching a certain string according to the rules defined by the user. Display for user reference analysis; At the same time, the data flow of all networking programs is counted, and the data flow is calibrated and converted, which can be displayed in different data forms for the reference of mobile phone users. On the other hand, in order to achieve the purpose of networked data control, Iptables/netfilter method is used to modify the set of Iptables rules, add new rules, and match the parsed packet header file with the modified rule set. Making a judgment, deciding the release or blocking of the data packet, so as to achieve the purpose of the control program networking authority; Finally, the two modules of data packet capture and traffic statistics are integrated into a simple, user-friendly software, and users can customize the software according to their personal Internet habits. To provide users with targeted traffic monitoring and beyond the limits of the warning service. Through the experimental test, the two functional modules of the software really achieve the purpose of the network access control of the single mobile phone application program and the monitoring and reminding of the system data flow. This can help Android phone users to solve the problem of running traffic caused by malware backstage networking and misoperation.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.06;TP316
【参考文献】
相关期刊论文 前10条
1 刘占文;赵裕国;王继成;潘飞;;基于Linux的IPv6网桥防火墙的实现技术[J];计算机安全;2008年06期
2 于伟东;;基于中间件的软件开发方法探讨[J];硅谷;2008年06期
3 郑晓珑;孔挺;;虚拟机的安全风险与管理[J];硅谷;2010年16期
4 李培林;;安卓系统的应用及发展趋势展望[J];计算机光盘软件与应用;2012年18期
5 温曙光;谢高岗;;libpcap-MT:一种多线程的通用数据包捕获库[J];计算机研究与发展;2011年05期
6 刘斌;代素环;;基于Libpcap的数据包捕获机制的实现[J];农业网络信息;2008年09期
7 胡文静;李明;刘锦高;;基于LIBPCAP的网络流量实时采集与信息萃取[J];计算机应用研究;2006年06期
8 闫丽丽;昌燕;;Libpcap结构研究[J];科技信息(科学教研);2007年14期
9 刘建奇;王以刚;;智能手机信息安全防范系统设计与研究[J];信息安全与通信保密;2007年02期
10 宋杰;党李成;郭振朝;赵萌;;Android OS手机平台的安全机制分析和应用研究[J];计算机技术与发展;2010年06期
,本文编号:2381538
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2381538.html