网络质量检测系统

随着科技的发展和社会的进步,越来越多的家庭接入了互联网。截至 2012
年底中国的宽带用户总数已经达到 1.78 亿,位居全球第一。巨大的市场带来了
更多的竞争,如何吸引用户、留住用户成了各大运营商不得不思考的问题,网络
质量更是其中一个重要的因素。如何检测网络质量是分析和提升网络质量的前提,
这也是本模块所要解决并实现的。 HM000022
本网络质量检测客户端探针采用 C#语言编写,采用直观的窗口形式进行操
作和结果的显示,便于各个层次的用户操作、使用。代码编写过程中使用类的技
术,便于后期维护和功能添加。
本网络质量检测客户端探针主要功能有:网络连接状态检测、网络速度检测、
网络延时检测、结果上传。网络连接状态用于检测本机的 TCP/IP 协议安装情况、
外网 IP 地址及网卡等硬件的配置和运行情况;网络速度检测是通过下载指定数
据包测试当前网络环境的下载速度;网络延时检测是通过主动获取网络延时检测
任务地址并 Ping 测试,取平均值;结果上传是将本机的检测结果传回远程数据
库,供网络运维人员分析。
本文详细介绍了网络质量检测及分析系统客户端探针的设计开发过程,包括:
需求分析、概要设计、详细设计和测试。
关键词 :网络质量;C#;检测;网络延时
With the development of technology and social progress, more and more families
access to the Internet. As of the end of 2012 the total number of broadband network
users in China has reached 178 million, ranking first in the world. Huge market brings
more competition. How to attract users and retain users become the first problem
which major operators have to think about and the network quality is one of the
important factors of it. How to detect network quality is the premise of analyze and
improve the network quality, which is to be addressed in this module and to achieve.
The network quality testing probe using C# language, using the intuitive
operation and the results window in the form of display, which is easy to operation for
users at all levels. The probe used the Class technique, which is easy to maintain and
add functionality later.
The main function of network quality detection probes are: network connection
status detection, network speed detection, network latency detection, and the results
upload. Network connection status detection: detects the machine's TCP / IP protocol
installation, external IP address and configuration and operation status of network
cards. Network speed test: test the current network environment download speeds by
downloading specified packets. Network latency detection: obtain tasks address and
using Ping test to detect network latency, take the average. Results upload: upload the
results of the detection to the remote database for analysis of network operation and
maintenance personnel.
This paper describes design and development process of the client probe of
network quality detection and analysis system, including: system demand analysis,
outline design, detailed design and testing.
Keywords:network quality; C#; detection; network latency
1.1  系统产生的背 查看完整请+Q:351916072获取
随着科技的发展和社会 的进步,越来越多的家庭接入了互联网,使用宽带业
务。目前我国的宽带用户已经达到 1.78 亿,全球第一。各个互联网服务提供商
之间的竞争也相当的激烈,如何发展用户、留住用户成为了他们所要考虑的首要
问题。比起价格,宽带服务的质量、它所带给人们的体验可能更加重要。然而如
何检测宽带网络的质量并进行量化的统计,从而改善、提升质量,却是一个比较
新的课题。
本网络质量检测及分析系统便是为了解决这一问题。通过该系统,终端客户
可以随时检测本机当前的联网情况和网络质量,同时可以选择将测试数据回传给
服务器,从而为互联网服务提供商监测网络、改善网络质量提供了数据支持;互
联网服务提供商可以通过大量用户的测试结果及时发现网络中存在的问题,从而
避免网络的大范围崩溃。
1.2  开发工具介绍
1.2.1 Visual Studio 2012
Microsoft Visual Studio,简称“Visual Studio”或“VS”,是微软公司
推出的软件开发环境,支持多种流行的编程语言,可以用来编写或创建 Windows
平台下的 Windows 应用程序和网络应用程序,也可以用来创建网络服务、智能设
备应用程序和 Office 插件。
Visual Studio 是目前最流行的 Windows 平台应用程序开发环境。最新版本
为 Visual Studio 2012 版本,基于.NET Framework4.5 。这也是本项目编码开
发中所用的版本。
1.2.2 SQL Server 2013
SQL Server 是由 Microsoft 开发和推广的关系数据库管理系统(DBMS),是
真正的客户机/服务器体系结构。图形化的用户界面,使系统管理和数据库管理
更加直观、简单。丰富的编程接口工具,为用户进行程序设计提供了更大的选择
和更多地便利。
SQL Server 最初是由 Microsoft、Sybase 和 Ashton-Tate 三家公司共同开
发的,于 1988 年推出了第一个 OS/2 版本。在 Windows NT 推出后,Microsoft
与 Sybase 在 SQL Server 的开发上就分道扬镳了,Microsoft 将 SQL Server
移植到 Windows NT 系统上,专注于开发推广 SQL Server 的 Windows NT 版本。
Sybase 则较专注于 SQL Server 在 UNⅨ操作系统上的应用。
本项目中数据表的设计和实现使用 SQL Server 2013 完成。
1.2.3 Visio 2013
Microsoft Office Visio 是微软公司出品的一款图表制作软件,它有助于 IT 和
商务专业人员轻松地可视化、分析和交流复杂信息。它能够将难以理解的复杂文
本和表格转换为一目了然的 Visio 图表。该软件通过创建与数据相关的 Visio
图表(而不使用静态图片)来显示数据,这些图表易于刷新,并能够显著提高生
产率。使用 Office Visio 中的各种图表可了解、操作和共享企业内组织系统、资
源和流程的有关信息。
本项目调研和开发过程中的各种图表采用 Visio 2013 绘制。
1.3  开发技 术介绍 查看完整请+Q:351916072获取
1.3.1 C# 编程语言
C#是微软公司发布的一种面向对象的、运行于.NET Framework 之上的高级
程序设计语言。并定于在微软职业开发者论坛(PDC)上登台亮相。C#是微软公司
研究员 Anders Hejlsberg 的最新成果。C#看起来与 Java 有着惊人的相似;它包括
了诸如单一继承、接口、与 Java 几乎同样的语法和编译成中间代码再运行的过
目 录
摘要  Ⅰ
Abstract  Ⅱ
第 第 1 章 章 绪论  1
11 系统产生的背景 1
12 开发工具介绍 1
121 Visual Studio 2012  1
122 SQL Server 2013  2
123 Visio 2013  2
13 开发技术介绍 2
131 C#编程语言  2
132 SQL  3
第 第 2 章 章 系统需求分析  5
21 功能需求 5
22 参与人员或角色 5
23 系统边界 6
24 系统业务介绍 8
25 系统业务流程图 8
第 第 3 章 章 系统概要设计  9
31 系统功能模块设计 10
32 数据库设计 12
第 第 4 章 章 详细设计与实现  15
41 系统总体文件结构介绍 15
42 主界面设计 16
43 网络状态检测模块 17
44 网速检测模块 23
45 网络延时检测模块 27
46 结果上传模块 32
第 第 5 章 章 小结  36
51 自我学习的重要性 36
52 沟通交流的重要性 37
53 时间管理的重要性 37
54 结束语 38
参考文献  39
致 谢 谢  40 查看完整请+Q:*  351916072  获取

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/jsjkxyjs/3296.html

好棒文