当前位置:文档之家› 计算机专业毕业设计论文

计算机专业毕业设计论文

2009年度本科生毕业论文(设计)局域网即时通信软件的设计与开发院-系:工学院计算机科学与技术系专业:计算机科学与技术年级:2005级学生姓名:***学号:************导师及职称:李俊生(教授)2009年6月2009 Annual Graduation Thesis (Project) of the College UndergraduateLAN instant messaging software design and developmentDepartment:College of Engineering ComputerScience and Technology Dept.Major: Computer Science and TechnologyGrade: 2005Student’s Name:Li Zhong LinStudent No.:200503050417Advisor: Professor Li Jun ShengJune, 2009毕业论文(设计)原创性声明本人所呈交的毕业论文(设计)是我在导师的指导下进行的研究工作及取得的研究成果。

据我所知,除文中已经注明引用的内容外,本论文(设计)不包含其他个人已经发表或撰写过的研究成果。

对本论文(设计)的研究做出重要贡献的个人和集体,均已在文中作了明确说明并表示谢意。

作者签名:日期:毕业论文(设计)授权使用说明本论文(设计)作者完全了解红河学院有关保留、使用毕业论文(设计)的规定,学校有权保留论文(设计)并向相关部门送交论文(设计)的电子版和纸质版。

有权将论文(设计)用于非赢利目的的少量复制并允许论文(设计)进入学校图书馆被查阅。

学校可以公布论文(设计)的全部或部分内容。

保密的论文(设计)在解密后适用本规定。

作者签名:指导教师签名:日期:日期:毕业论文(设计)答辩委员会(答辩小组)成员名单摘要随着计算机的普及和Internet的飞速发展,人们已经进入了信息化的时代,无论人们身在何方都可以利用网络彼此沟通、交换信息,网络聊天工具在部分人的生活中已经必不可少,目前,在网络上新流行的通信软件有MSN, UC,阿里旺旺,诚信通,mycool甚至有的网络通信软件可以发送手机短信,可谓网络通信软件百家争鸣,各有千秋,即便这样,像QQ, MSN这样的老牌网络通信工具仍然是大部分网民的首选,特别是局域网内的通信软件IP信使,它自从1996年问世以来,一直受到各大企业单位和学校机房的青睐。

因此通过研究IP信使的通信协议来实现局域网即时通信软件的人越来越多。

本软件就是通过分析了IP信使部分通信协议,利用delphi7.0编程工具编写的局域网即时通信软件。

开发时使用了delphi7.0中的INDY组件里的UDP控件来实现用户上下线和文字聊天,其中,用户上下线主要是利用UDP广播机制来实现的。

使用INDY组件里的UDP控件和TCP控件来实现文件的传送,其中UDP 控件用来处理文件收发应答,TCP控件用来建立安全可靠的文件流数据传输通道,保证文件发送的完整性。

软件主要实现了用户注册、文字聊天、文件传送、用户身份验证、视频播放、MP3播放等功能,同时,信息的传送具有不需要中心服务器的特点,实现了局域网内点对点的信息传输。

本软件从需求分析、软件的设计、具体功能的实现都严格遵循了软件设计工程的思想。

关键词:聊天;文件传送;用户身份验证;Delphi7.0;UDP;TCP;AbstractWith the widespread of computer and rapid development of Internet ,human has come into the information age ,no matter where people are ,they can communicate with each other and exchange information through the NetWork Communications software are quite necessary to a part of people in their life At present, a new epidemic in the Messenger Communications software with MSN, UC, AliWangwang, Chengxintong, mycool, and even some communication software can send SMS, network communication software is a hundred schools of thought, is different, even so, such as QQ, this communication tools of the old Brand is still the first choice for most users, especially within the local area network communication software IP messenger, which since its designed in 1996, has been the major business units and schools in the Computer room of the popular., therefore more and more people achieve LAN instant messaging software through analyzing IP messenger 's communication protocol .By analyzing part of the IP messenger communication protocol, using the programming tools named delphi7.0 prepare LAN instant messaging software. Delphi7.0 used to develop the INDY components in the UDP to achieve user control and text chat on line, in which users on the upline and downline are to use UDP broadcasting method to achieve. INDY components used in the UDP and TCP control to achieve control of document flow, which controls UDP response to deal with documents, TCP controls used to create secure and reliable data transmission stream channel, and ensure the integrity of documents sent. The main achievement of the software the user registration, text chat, file transfer, user authentication, video player, MP3 player and other functions at the same time, the transmission of information does not require a central server with the characteristics of a LAN peer-to-peer messaging. The software from the needs analysis, software design, the realization of specific functions are strictly followed the idea of software engineering design.KeyWords :chat ; file transfer ;ID authentication ;Delphi7.0 ;UDP ;TCP目录第一章引言 (1)1.1开发的目的 (1)1.2 开发平台简介 (1)1.3 软件运行平台 (1)第二章需求分析 (3)2.1 可行性分析 (3)2.2功能需求分析 (3)2.2.1聊天(文字传送) (4)2.2.2文件传输 (4)2.2.3 用户身份验证 (4)2.2 界面描述 (4)第三章软件的设计 (5)3.1 功能模块的设计 (5)3.1.1用户IP列表的设计 (5)3.1.2 聊天模块的设计 (6)3.1.3 文件传送模块的设计 (8)3.1.4 用户身份验证模块的设计 (9)3.2软件操作界面的设计 (10)第四章模块的实现代码 (12)4.1 用户列表的实现代码 (12)4.2 聊天消息收发流程的实现代码 (13)4.3 文件收发流程的实现代码 (17)4.4 用户身份验证流程的实现代码 (26)第五章软件测试 (30)5.1功能测试 (30)5.1.1 聊天功能的测试 (30)5.1.2 文件传送功能的测试 (30)5.1.3 身份验证功能的测试 (31)5.1.4 音乐播放功能的测试 (31)5.1.5 视频播放功能的测试 (31)5.2数据测试 (31)第六章制作安装程序 (33)第七章结束语 (37)参考文献 (38)致谢 (39)第一章引言1.1开发的目的随着计算机的普及和Internet飞速发展,人们已经进入了信息化的时代,无论人们身在何方都可以利用网络彼此沟通、交换信息,网络聊天工具在部分人的生活中已经必不可少。

比如QQ、YahooMessage等等这些都是大家比较喜爱的聊天工具。

然而我们在使用这些聊天工具时都要登陆服务器,这对于在一个局域网内的用户们交换信息,传送文件不太方便,原因是:1).登陆服务器时麻烦的操作,2).假设局域网没有联网或者网络故障不能连接英特网,QQ、YahooMessage 等通信工具就失去了意义。

本次局域网即时通信软件的设计就是针对局域网内的用户即时通信而开发的。

1.2 开发平台简介使用Delphi7.0作为开发工具。

Delphi是Borland公司研制的可视化开发工具,可在Windows3.x、Windows95、WindowsNT等环境下使用。

相关主题