- 资源介绍
- 更新记录
- 安装教程
若有个人部署运行问题,点击右侧客服按钮咨询站长
站长联系方式
QQ:3484724101
摘 要
近年来,我国嵌入式系统应用产品日益丰富,市场呈现快速增长趋势,尤其在通信、家电、电子、汽车、通信、交通、金融、网络、监控、工业自动化等领域应用更加广泛,发展嵌入式系统技术和产业已经成为惯彻“信息化带动工业化,工业化促进信息化”的方针,使我国产品由“中国制造”向“中国创造”迈进的突破口。随着计算进网络技术的发展和个人PC的普及, 局域网的发展也同样迅速。很多政府机构,企业,学校,都是先以一个统一的局域网联结在一起,再分别接入INTERNET.因此基于局域网的即时通信工具,就这样应运而生了为人们提供了一种新的联系方式,为在同一小范围内(如同一办公楼)的用户在即使通信上提供了方便。所以,本文将实现基于linux的聊天功能设计与实现开发,为局域网用户提供方便的网络通信。
本系统实现了聊天室的基本功能。该程序是在Ubuntu环境下编写和调试客户端与服务器端程序,实现了客户端和服务端连接并通信并实现了群聊、私聊和字体样式设置的功能。服务器端程序是通过vi编辑器,使用C、C++编写并利用了MySql数据库的相关知识。客户端程序是用Qt实现图形化界面和与服务器的通信。
接下来本文将会详细讲解此聊天系统的关键代码的实现与功能,包括如何建立连接,如何进行登陆和注册,如何进行私聊和群聊,等等。
关键词:嵌入式;聊天系统;数据库;QT
Abstract
In recent years, embedded system application products increasingly rich in our co- untry, the market showed a trend of rapid growth, especially in the communica- tions, home appliances, electronics, automotive, communications, transportation, finance, networking, monitoring, industrial automation and other fields used more widely, the development of embedded system technology and industry has become used to toru “informationization to drive industrialization and industrialization pro- motes infor- matization” policy, to make our products from “made in China” to “created in China” into the breach. As computing into the development of network technology and the popularity of PC, the development of local area network (LAN) is also quickly. Many government agencies, enterprises, schools, local area network (LAN) is the first in a unified link together, then respectively access to the INTERNET, so instant communication tools based on local area network (LAN), thus arises at the historic moment the contact provides a new way for people, for the small in the same area of an office building user in even if provides a convenient communication. Therefore, the implementation of embedded chat system development, provide network comm- unication convenient for users in lan.
This system realized the basic function of the chat room. The program is written in the Ubuntu environment and debug client and server program, realized the client and the server connection and communication. Server application is through the vi editor, use C, C + + programming language and use the related knowledge of MySql datab- ase. The client program is implemented using Qt graphical interface and the commu- nication with the server.
Next, this article will explain in detail the implementation of the key code of the chat system and function, including how to establish a connection, if you register and login, how to do private and group chat, and so on.
Key words:embedded; chat system; database; QT
目 录
摘 要 i
Abstract ii
1 绪论 1
1.1 研究背景及意义 1
1.2 研究现状 1
1.3 研究内容 2
1.4 论文组织结构 2
2 开发平台和相关技术简介 3
2.1 嵌入式系统定义 3
2.2 嵌入式Linux的主要特征 3
2.3 QT的发展及编程机制 3
2.4 TCP/IP协议简介 5
2.5 Socket套接字简介 6
2.6 C++语言简介 8
3 可行性研究和需求分析 10
3.1 可行性研究 10
3.1.1 经济可行性分析 10
3.1.2 技术可行性分析 10
3.1.2 法律可行性分析 10
3.2 需求分析 10
3.2.1 用户需求 11
3.2.2 功能需求 11
3.2.3 性能需求 12
4 系统的总体设计 13
4.1 体系结构设计 13
4.2 功能模块设计 13
4.2.1 客户端功能模块的设计 14
4.2.2 服务器端功能模块的划分 15
4.2.3 数据库设计 15
5 系统的详细设计及编码实现 16
5.1 客户端实现 16
5.1.1 连接服务器模块 17
5.1.2 登陆模块 18
5.1.3 注册模块 20
5.1.4 私聊模块 22
5.1.5 群聊模块 24
5.1.6 设置字体模块 25
5.2 服务器端实现 29
5.2.1 服务器中数据库模块 29
5.2.2 服务器模块实现 32
6 系统使用简介和功能测试 35
6.1 聊天系统使用介绍 35
6.2 服务端编译 35
6.3 客户端的编译 35
6.4 系统启动测试 35
6.4.1 服务端启动测试 36
6.4.2 客户端启动测试 36
6.4.3 性能测试 38
结论 39
参考文献 40
致 谢 41
外文原文 42
中文翻译 53








猜你喜欢
-
塑件轴注射模具设计毕业论文+任务书+cad图纸
2021-06-08 -
邛崃市的变电站(110KV)设计说明书(论文)+任务书+CAD图纸
2021-06-08 -
基于JSP的个人博客系统的设计与实现毕业论文+开题报告+答辩PPT+项目源码及数据库文件
2021-06-08 -
220kV双分裂双回路输电线路设计毕业论文+cad图纸+
2021-06-10 -
自行车无级变速器设计论文+开题+任务书+翻译+cad图纸+三维模型
2021-06-10 -
主变10kv 220kV、容量63MVA的风电场设计说明书(论文)+cad图纸
2021-06-08 -
基于Jbox2D的愤怒的小鸟游戏的设计与实现毕业论文+任务书+中期表+翻译及原文+答辩+源码+辅导视频
2021-06-09 -
家电生产线数控机床上下料长臂机器人组设计毕业论文+任务书+答辩PPT
2021-06-09 -
基于S变换的电压暂降检测研究及仿真设计毕业论文+仿真模型及代码
2021-06-08 -
Y3150E型滚齿机总体及刀架结构及部件设计 说明书(论文)+任务书+评阅表及鉴定表+外文翻译及原文+CAD图纸
2021-06-08
-
弯管注射模具设计说明书(论文)+调研报告+外文翻译及原文+cad图纸+proe三维图纸
2021-06-08 -
基于JAvaWeb的个人信用卡管理系统设计与实现毕业论文+项目源码
2021-06-08 -
高校教室预约使用管理系统(PHP+Mysql)毕业论文+项目源码+数据库
2021-06-08 -
基于python爬虫的电影推荐网站的设计与实现毕业论文+初稿+项目源码+安装说明+使用说明
2021-06-08 -
涂胶机器人总体方案及结构设计说明书(论文)+任务书+开题报告+翻译及原文+CAD图纸
2021-06-08 -
大空间旋转喷头零件的数控加工工艺设计、编程与加工设计说明书(论文)+翻译及原文+cad图纸+proe三维图+加工程序
2021-06-09 -
网络负载均衡在现代企业中的实现与应用毕业论文
2021-06-08 -
六足仿生机器人的控制与实现毕业论文+答辩PPT+总结报告+项目源码
2021-06-08 -
校园网络工程规划与设计毕业论文+拓扑图源文件
2021-06-08 -
关于2021年7月毕业生毕业设计(论文)撰写和提交相关要求
2021-06-08
猜你在找
99源码网,程序代做,代写程序代码,代写编程,代写Java编程,代写php编程,计算机专业代做,计算机毕业设计,网站建设,网站开发,程序 » 基于linux的聊天功能设计与实现与实现毕业论文+任务书+外文翻译+设计源码+答辩PPT
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?
- 99源码网
- 2021-06-10Hi,初次和大家见面了,请多关照!