登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 信息工程 > 正文

基于移动端的流量监控设计与实现毕业论文

 2021-04-05 10:04  

摘 要

在互联网飞速发展的现在,手机软件对于手机系统,手机功能的要求越来越高,尤其是目前流行的Android智能手机,后台应用流量被盗往往会给用户带来不必要的损失。现在互联网变的越来越复杂,花费金钱的流量的控制变的越来越重要。然而,互联网已经发展成为一个复杂的质量非线性系统,在研究这一复杂系统的动态特性方面仍有许多问题需要解决。正因为数据网络是复杂的,所以数据流量的统计更加复杂。

本文基于Android平台设计实现了基于移动端的流量检测系统,该系统基于Android平台的流量统计接口,获取终端的3G和WIFI 流量,并根据系统需求对数据进行有效统计。系统包括实时监控,联网应用,流量统计和系统设置四大功能模块,实时监控模块能够按日实时更新手机3G流量和WIIF流量的使用;联网应用模块利用Android 系统提供的接口获取所有应用列表,统计各个应用的3G流量;流量统计模块通过访问数据库进行数据统计;系统设置模块能设置手机的流量套餐,,以及数据清空(重新开始统计)。软件的测试结果表明,系统符合用户需求,能够有效实现手机流量监控和管理的功能。

本文设计的软件达到了两个目的:第一,通过TrafficActivity类等实现流量监控,并在流量超额时提醒用户关闭大额的流量支出软件,避免用户使用超出了本月套餐的数据流量,额外花大量的钱去补流量,避免不必要的损失;其次是通过对于联网软件的控制,减少高额流量软件的使用,减少耗电量,增加手机的使用时间,提高用户的体验,避免用户在支出多余流量费时对于高费用的不满,减少用户与数据网络流量提供商直接的不满,建立和谐的网上环境。

关键词:移动端;数据网络;流量监控

Abstract

In the rapid development of the Internet now, mobile software for mobile phone system, mobile phone function requirements are increasingly high, especially the current popular Android smartphone, background application traffic theft will often bring unnecessary losses to users. Now that the Internet is becoming more and more complex, controlling the traffic that costs money is becoming more and more important. However, the Internet has developed into a complex nonlinear system of mass. Because the data network is complex, the statistics of data traffic is even more complicated.

This paper designs and implements a mobile terminal traffic detection system based on the Android platform, which is based on the traffic statistics interface of the Android platform to obtain the 3G and WIFI traffic of the terminal, and make effective statistics of the data according to the system requirements. The system includes four functional modules: real-time monitoring, networking application, traffic statistics and system setting. The real-time monitoring module can update the usage of 3G traffic and WIIF traffic on a daily basis. The network application module USES the interface provided by Android system to obtain all application lists and statistics the 3G traffic of each application. The traffic statistics module makes data statistics by accessing database. The system Settings module can set the data plan of the phone, and clear the data (start counting again). The test results of the software show that the system meets the requirements of users and can effectively implement the function of mobile phone traffic monitoring and management.

The software designed in this paper serves two purposes: firstly, traffic monitoring shall be carried out through TrafficActivity, etc., and users shall be reminded to turn off large amount of traffic expenditure software when traffic is excessive, so as to avoid users using data beyond this month's package, and to spend a large amount of extra money to replace traffic, so as to avoid unnecessary loss; Second is through the control for networked software, reducing the use of high flow software, reduce power consumption, increase the use of mobile phone time, improve the user experience, avoid the user spending extra traffic time consuming for the high cost of discontent, reduce user and network traffic data provider directly, building a harmonious Internet environment.

Key Words:Mobile terminal; Data network; Traffic monitoring

目录

第一章 绪论 1

1.1课题研究背景 1

1.2国内外研究现状 2

1.3本文研究内容及结构安排 3

1.3.1本文研究内容 3

1.3.2本文结构安排 3

第二章 开发环境 4

2.1 Android 系统体系架构 4

2.2 Android开发环境 4

2.3 Java SDK 5

2.4 Android studio 5

2.5 Android SDK 6

2.6 创建Android虚拟机 6

2.7 Android 组件 6

2.8 SQLite 7

第三章 需求分析及设计 8

3.1需求分析 8

3.2可行性分析 8

3.3 软件体系结构 8

3.4系统总体结构 9

3.5数据采集 9

3.6数据统计模块 10

3.6.1 TrafficActivity类的数据适配 11

3.7 流量查询模块设计 11

3.8 系统设置模块 12

3.9 UI界面设计 12

第四章 系统网络流量监控具体实现及测试 13

4.1 主界面模块的实现 13

4.2 网络流量监控Service类的实现 13

4.3 LogActivity类的数据适配 14

4.4 软件测试 15

第五章 总结与展望 18

参考文献 19

致谢 20

第一章 绪论

1.1课题研究背景

随着社会的发展,每个人几乎都买了智能手机,移动应用也逐渐融入到人们的日常生活中。智能手机成为了人们获取信息和了解时事的主要方式。自2008年谷歌推出Android系统以来,谷歌凭借其开放性、良好的人际界面等明显优势,逐步扩大了市场份额。尤其是在国外,它的受欢迎程度越来越高,可以说正处于其受欢迎程度的顶峰,正处于蓬勃发展的发展阶段。根据Kantar网2018年第一季度发布的最新移动系统份额报告,Android操作系统在欧洲,美国,中国的销售额一直在快速增长,而IPone一直在萎缩。Android在欧洲的市场份额为77.6%,美国为59.5%,亚洲为86.7%。业内从事相关工作人员分析,我们可以看到随着Android系统软件的不断加强,Android系统与苹果系统的差距不断减小,因为Android手机更为经济,会有越来越多的人选择Android手机。

首款基于Android系统的智能手机是t-mobile公司于1008年9月发布的G1型号手机,从此进入了智能手机新时代。2011年12月21日,每天激活的Andoid设备数量达到70万台。截止至2017年5月,激活的Android设备总数已超过20亿部。(包括平板)手机已经从最开始的只能打电话的大哥大,变成了可以取代电脑的终端设备。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图