基于NETBIOS的聊天工具

上传人:hs****ma 文档编号:465255062 上传时间:2024-01-08 格式:DOC 页数:78 大小:1.02MB
返回 下载 相关 举报
基于NETBIOS的聊天工具_第1页
第1页 / 共78页
基于NETBIOS的聊天工具_第2页
第2页 / 共78页
基于NETBIOS的聊天工具_第3页
第3页 / 共78页
基于NETBIOS的聊天工具_第4页
第4页 / 共78页
基于NETBIOS的聊天工具_第5页
第5页 / 共78页
点击查看更多>>
资源描述

《基于NETBIOS的聊天工具》由会员分享,可在线阅读,更多相关《基于NETBIOS的聊天工具(78页珍藏版)》请在金锄头文库上搜索。

1、毕 业 设 计(论文)题 目 基于NETBIOS的聊天工具 电信学 院 计算机 系 01 班学 生 昂正全 指导教师 冯博琴 夏秦 设计所在单位 西安交大计算机教学实验中心 二00四年六月摘 要从实际工程应用角度出发,以计算机网络原理为指导,结合当前网络中的一些常用技术,编程实现基于NETBIOS的网络聊天工具,该聊天工具具有聊天室聊天、广播聊天、二人私聊、语音聊天以及文件传输功能。该论文主要对当今聊天软件的发展情况、与该聊天软件相关的各种技术以及该聊天工具的实现做了一个详细的阐述:1. 作为计算机网络的应用之一聊天工具,受到了用户的普片爱好,它把人们带进了一个虚拟的网络世界,大大的加深了人们

2、之间的联系。从单一的文本聊天,到语音聊天以及到现在的图像、视频聊天、及时短信的发送和在线游戏等功能的开发,已经大大的拓展了聊天工具的概念,它将会作为未来人们通过因特网相互联系和娱乐的主要平台。2. 聊天工具的开发主要用到了网络通信技术、语音的采集、压缩、传输、解压缩以及回放等技术、文件传输技术、windows的多线程技术以及视频的采集、压缩解压缩技术等。3. 该聊天软件基于NETBIOS通信,在此基础上,实现点对点聊天、广播聊天、一对多聊天、语音聊天以及文件的传输。4. 该聊天工具可以运行于任何支持NETBIOS协议的机器上。5. 该聊天工具用到了多线程的设计,因此线程之间的同步是一大关键之处

3、。6. 由于系统采用c/s结构,客户端与客户端以及客户端与服务器端需要传送一些控制消息,因此系统需要自定义一些消息类型,这是该聊天工具的又一大关键之处。7. 语音聊天作为一个独立的模块,镶嵌在点对点的聊天中,语音聊天的关键之处在于语音的采集,压缩,发送,解压缩,回放上.压缩算法采用TRUESPEECH,声音的采集主要利用操作系统提供的WAVEX函数,这是windows较早的一组支持声音的API。8. 文件传输作为另一个独立的模块,大大拓展了该聊天工具的功能,其传输资料利用了原有的netbios通信,关键需要同步双方的发送和接受线程。关键词:网络通信,NETBIOS,聊天,语音聊天,文件传输AB

4、STRACTIn the opinion of practical engineering and guided by computer network principal and taking some common network technicals, I take the software for chatting tool based on NETBIOS into practical.The softwares functions include chatting-room chat、broadcasted chat、point to point private chat、soun

5、d chat and transporting files. This article is main particular expatiate about the development of today chatting software、the technicals of chatting software and the designing, programming of the software for chatting tool: 1. The chatting tool ,which is one of the applications of the computer netwo

6、rk,becomes the favourite of major users,which brings users into a virtual network world and greatly adds up the relations of users.From former single text chatting,to sound chatting,and the development of the image,video chatting,transporting note in time and gaming on net,these has greatly adds up

7、the conception of the chatting tools,which will be the main flat roof of userss relating and entertainment by internet.2. The development of the chatting tool mainly takes advantages of the network communication technicals,gathering、compressing、transporting、decompressing and playing sound informatio

8、n technicals,transporting files technicals,multiple threads technical on windows and gathering、compressing and decompressing video information.3. The software is based on the communication of the NETBIOS, implementing the pointing to pointing chatting, broadcasting chatting and the one to many chatt

9、ing, as well as the sound chatting and the files transporting.4. This chat tool can run on the any machine, which supports the NETBIOS protocol.5. The software has a multiple threads, therefore the synchronization of the threads is a key point.6. It is need that transport control information between

10、 client and client, client and server because of the systems C/S structure. So it is another key point that the software defines many types of information itself.7. Sound chatting is enchased in the pointing to pointing chatting as an independent module. Gathering, compressing, transporting, decompr

11、essing and playing sound information are the key technical of the sound chatting. The arithmetic of compressing adopts the TRUESPEECH. The gathering of sound information mainly takes advantage of the functions of WAVEX, which is a group of quite old APIs of windows that support sound.8. Transporting

12、 files,which is as a independent module,greatly adds up the functions of chatting tool,which transports information by netbios communication.Its key point is synchronizing the sending thread and recvieving thread with each other.KEY WORDS:network communication,NETBIOS, chatting,sound chatting,file t

13、ransporting目录第1章绪 论91.1项目开发的背景91.2项目开发的主要内容101.3项目开发的意义101.4项目开发的过程11第2章系统分析132.1对已有聊天软件的分析132.2系统有关的技术142.2.1网络通信技术152.2.2语音聊天技术172.2.3文件传输技术202.2.4多线程技术212.3系统方案说明232.3.1可选择的其他系统方案232.3.2本系统的方案242.4系统任务概述262.5系统其他要求272.5.1系统性能要求272.5.2系统环境要求28第3章系统设计293.1系统的物理结构293.2系统的软件结构313.3系统数据结构设计343.4系统界面设计

14、38第4章系统实现424.1功能规定424.2几个主要的线程的程序设计494.2.1聊天室服务器端接收消息线程的程序设计494.2.2二人私聊接收消息线程的程序设计504.2.3文件传送的程序设计514.2.4语音聊天的程序设计534.3源代码分析544.3.1接受语音数据线程源代码分析544.3.2新建房间线程源代码分析57第5章测试与使用645.1测试目标645.2测试方法645.3测试结果685.4使用简介69第6章总结71致谢75参考文献76第1章绪 论1.1项目开发的背景自从上世纪中叶第一台计算机诞生以来,计算机越来越走进人们的生活当中,特别是随着计算机网络的发展,把全世界的人们紧密的联系在一起,大大的扩展了计算机的功能,人们越来越离不开计算机了。如今,作为网络应用之一的聊天工具,越来越受到人们的欢迎和重视。现在已有的聊天软件和聊天工具不胜枚举,流行的主要有QQ,ICQ,MSN Message,NetMeeting,mIRC和郎码UC和各种的网页聊天室等。这些软件特别是QQ升级很快,其功能是越来越来强大,将代表着聊天软件的发展方向。目前,聊天软件的功能除了最基本的文本聊天,已经可以语音聊天,图像聊天,视频聊天,文件传输等三维聊天,还发展了短信发送,无线聊天,在线游戏等功能,可以预见在不

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 工作计划

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号