1 / 66
文档名称:

一种基于P2P结构的即时通信系统的设计与实现.pdf

格式:pdf   页数:66
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

一种基于P2P结构的即时通信系统的设计与实现.pdf

上传人:coconut 2014/2/28 文件大小:0 KB

下载得到文件列表

一种基于P2P结构的即时通信系统的设计与实现.pdf

文档介绍

文档介绍:西安电子科技大学
硕士学位论文
一种基于P2P结构的即时通信系统的设计与实现
姓名:张珏
申请学位级别:硕士
专业:软件工程
指导教师:赵建;吴科邑
20100601
摘要
随着市场经济的快速发展,网络通讯工具的更新换代越来越快,人们之间的
交流也日趋网络化。传统的文字输入聊天方式已逐渐被以音频、视频为主的聊天
方式所取代。聊天方式主要有两种,一种是专门的语音(视频)聊天室,采用 Web
方式,B/S 结构,另外一种则是类似于 QQ,MSN 这种多选择的专用聊天工具,采
用 C/S 结构。这些聊天工具只能在公网上运行,但对于一些公司来说,它影响了
公司的工作效率。因此迫切的需要一种能在公司、企业内部局域网上运行的交流
工具。
即时通信系统就是在这种思想和背景下构思的一种基于多种基本应用的局域
网应用软件支撑平台。论文主要论述了即时通信系统中音频采集功能通过 Windows
自带的功能函数实现,音频压缩功能通过设置缓冲区来实现,音频传输功能通过
UDP 传输协议来实现,视频采集通过自带的视频卡采集来实现,视频压缩通过
标准来实现,视频传输通过 UDP 传输协议来实现,文字通信通过调用套接
字来实现。
本系统由生产生活中存在的实际问题所引发,因此不仅具备学习探索研究方
面的意义,还有很好的应运前景和发展空间。

关键词:音频视频采集音频视频压缩音频视频传输音频视频回放文本传输
Abstract
With the rapid development of market economy, the upgrading work
communication tools es more quickly. Most of people tend to work to
communicate. The traditional text munication method work has been
gradually replaced by chating with audio and video. There are mainly two ways of
chating: one is the specilised voice (video) chat rooms, it uses WEB mode, B/S structure;
the other is similar to QQ or MSN, which is a kind of specilized more choice chating
tool, it uses C/S structure. However, these chating tools can only run in the public
, for panies, these tools affect pany's working efficiency.
Therefore, there is an urgent need to develop munication tool which can be used
in the internal LAN of pany or the enterprise.
Instant messenger system is just a kind of LAN application software support
platform which is based on a variety of basic applications under this idea and context.
This article mianly discusses how various function realized in instant messenger system.
As for the audio captured function, it is realized by the built-in function function of
windows; pression function is achieved by setting the buffer; the audio
transmission function is achieved through the udp protocol; the video captured function
is realized by the built-in video capture card; the pression function is realized
by H.