点对点视频即时通讯系统
毕 业 设 计(论文)
题 目:点对点视频即时通讯系统
学 生:
指导老师:
专 业: 计算机应用
班 级: 计算机01
学 号: 38
5/10/2005
目录
摘要3
正文5
第一章 前言5
1.1设计背景:5
1.2 对现有系统的分析比较:5
网际通讯的和网内通讯的:5
社区型的通讯和特定用途通讯6
第二章:论文主体7
2.1:总体设计7
服务器端:7
客户端7
客户端与服务器端的通讯方式7
2.2系统详细设计8
2.2.1模块的划分8
2.2.2 Xml通信协议的设计:8
2.2.3 服务器的详细设计13
总体方案13
实现:14
A.服务器的关键类。14
B :实现一台电脑只运行一个服务器14
C .服务器解析自定义xml协议的实现15
D .数据库的设计及实现 :17
第一个方案:SQL Server 2000 作为数据库管理系统实现数据的存储管理。17
第二个方案:用xml作为数据库。18
E .安全存储用户密码信息的设计及实现20
不可逆转加密技术的实现20
2.2.4:客户端的详细设计23
总体方案23
详细设计23
A.关键的类23
B.界面的设计24
C.视频语音的实现25
D.自动升级功能的实现26
2.3系统测试27
第三章 结语28
致谢29
参考文献29
点对点视频即时通讯系统
毕业设计论文
2004-4-21
摘要
本系统就是在互联网技术不断推进改革背景下,使用了TCP\IP协议,应用的.net强大的技术实现的一个点对点的通讯系统。虽然本系统完成之前,ipv6还没有真正的推广。但是,本系统解决了在ipv4网络里面的点对点通讯的问题,利用UDP打洞技术,突破NAT。可以模拟点对点的通讯。用一个有固定IP的服务器(也就是本服务器)作为中央索引服务器,用来记录各个终端的地址在信息和用户信息。提供给各个连接到本服务器的客户端索取他感兴趣的终端,然后终端根据服务器返回的数据,直接跟对方(客户端)连接,直接交换数据,不要经过服务器中转。这样的话,不仅减轻了服务器的负担,而且可以实现匿名通讯。
同时,我们为了让用户更加方便交流,我们实现点对点的视频和语音聊天,视频和语音的网络流数据也是基于本系统架构的点对点的平台传输的。
关键词:p2p,点对点通讯,xml,c#,视频,语音。
Summary
P2p instant communication system of opportunity TCP/UDP
Under the circumstances that Internet technology is advancing the background of reforming constantly .
This system is a system that uses TCP/IP Protocol and system of strong net technology to actualize a point-to-point communication .
Though before this system was finished, ipv6 did not have real popularization,
This system has solved the problem of the point-to-point news report inside ipv4 network, utilize UDP punch technology , break through NAT,
Can imitate the point-to-point communication.
Use a fixed IP server which as the central index server mark down each terminal station is in information and user's information.
Offer each customer end connected to a server to ask for the terminal station that he is interested in,
then terminal the foundation server the data returning, join with the other side