网络与串口调试助手 毕业论文+项目源码

摘    要

1980年起,由于一种状态信息病毒的横空出现,并在一种令人出乎意料的速度下开始繁衍,迫使ARPANET完全停止运行。美国政府的高级研究工程机构(ARPA)给加利福尼亚大学Berkeley分销提供了资金,让他们实现TCP/IP协议。在这个项目中Socket(套接字)横空出世。今天,SOCKET是TCP/IP网络中最为通用的API,也是在INTERNET上进行应用程序开发最为通用的API。

本软件基于Qt Creator编译器,C++语言开发。应用了程序设计技术、网络技术和图形化界面技术。使用了Qt封装好的Network模块和SerialPort模块。本课题的研究内容为,利用socket和串口协议编写TCP/UDP/串口的信息收发工具,以此功能为基础来达到调试设备的目的。本调试助手包括5种设备:TCP服务器设备,TCP客户端设备,UDP服务器设备,UDP客户端设备,串口设备。每个模块代表一个类型的设备。用户可创建多个类型的设备或者创建同一类型的多个设备。每种类型设备均可进行数据的收发。在发送数据时可设置数据格式为ASCII或Hex数据,支持单次发送和定时多次发送。支持数据文件导出等功能。TCP服务器用采用多线程来连接客户端。本软件的亮点在于集成了TCP,UDP,串口的调试功能,可提高学习和工作的效率。使本软件的面向群体更加广泛。通过测试,本软件界面美观,操作简单,功能模块一目了然,运行也比较稳定,可以广泛使用。

ABSTRACT

In the early 1980s, ARPANET was stopped completely due to an unexpected self-reproduction of a state information virus. The US Government's Advanced Research Engineering Agency (ARPA) has funded the University of California, Berkeley Distribution, enabling them to implement the TCP / IP protocol. Socket was born in this project. Today, SOCKET is the most common API in TCP / IP networks and the most common API for application development on the Internet.

This software is based on Qt Creator compiler and C ++ language development. Application of programming technology, network technology and graphical interface technology. Qt packaged Network module and SerialPort module are used. The research content of this subject is to use the socket and serial port protocols to write TCP / UDP / serial port information receiving and sending tools, and use this function as the basis to achieve the purpose of debugging equipment. The software includes 5 modules: TCP server, TCP client, UDP server, UDP client, serial port. Each module represents a type of device. Users can create multiple types of devices or multiple devices of the same type. Each type of device can send and receive data. When sending data, the data format can be set to ASCII or Hex data, which supports single transmission and timed multiple transmission. Supports data file export and other functions. The TCP server uses multiple threads to connect to the client. The highlight of this software is the integration of TCP, UDP, serial port debugging functions, which can improve the efficiency of learning and work. Make the software more community-oriented. Through testing, the software has a beautiful interface, simple operation, clear function modules at a glance, stable operation, and can be widely used.

目    录

第1章  绪论

1.1  项目背景

1.2  国内外研究现状

1.3  主要研究内容

1.4  论文组织结构

第2章  软件需求分析

2.1  可行性分析

2.1.1  经济可行性

2.1.2  技术可行性

2.1.3  运行可行性

2.2  需求概述

2.3  功能需求分析

2.3.1  设备模块

2.3.2  设备信息模块

2.3.3  发送数据模块

2.3.4  数据接收模块

2.3.5  系统设置模块

2.3.5  其他功能模块

2.4  非功能需求分析

2.4.1  性能需求分析

2.4.2  可靠性分析

2.5  本章小结

第3章  软件系统设计

3.1  总体设计

3.1.1  基本框架设计

3.1.2  功能结构设计

3.1.3  关键技术介绍

3.2  详细设计

3.2.1  设备模块

3.2.2  设备信息模块

3.2.3  发送数据模块

3.2.4  数据接收模块

3.2.5  系统设置模块

3.2.6  其他功能模块

3.3  本章小结

第4章  软件实现

4.1  整体界面

4.1.1  界面设计

4.1.2  软件架构设计

4.2  设备模块

4.2.1  MyObject类的设计

4.2.2  设备创建

4.2.3  设备删除

4.3  设备信息模块

4.4  发送数据模块

4.4.1  单次发送

4.4.2  定时发送

4.4.3  设置发送模式

4.5  数据接收模块

4.6  系统设置模块

4.7  其他功能模块

4.7.1  清空数据接收框

4.7.2  清空数据发送框

4.7.3  加载文件

4.7.4  导出数据

4.7.5  显示字节数与重置计数

4.7.6  功能详解

4.8  本章小结

第5章  软件测试

5.1  测试原则

5.2  测试环境

5.3  设备模块测试

5.3.1  创建设备

5.3.2  删除设备

5.4  设备信息模块测试

5.5  发送数据模块测试

5.5.1  单次发送功能测试

5.6.2  定时发送功能测试

5.6.3  设置发送模式功能测试

5.6  数据接收模块测试

5.7  系统设置模块

5.8  其他功能模块测试

5.8.1  清空数据接收框功能测试

5.8.2  清空数据发送框功能测试

5.8.3  加载文件功能测试

5.8.4  导出数据功能测试

5.8.5  显示字节数功能测试

5.8.6  计数清零功能测试

5.8.7  显示设备数功能测试

第6章  总结与展望

6.1  总结

6.2  展望

参考文献

致    谢

猜你喜欢

转载自blog.csdn.net/qq_43368615/article/details/135332125