聊天室管理系统

 2023-03-22 10:03

论文总字数:23920字

摘 要

在当今信息化时代,因特网作为全世界最大的互联网,并且覆盖了整个地球球,而她的发展也是日新月异,带给人们更多的方便。即时的聊天系统是目前最为流行的Internet应用之一,人们可以通过网络进行实时的交流和数据的传输,为人们的交流提供了一个崭新的平台。

而在我研究的聊天系统是基于.NET,使聊天应用程序的工作变的简单,大大降低了开发的难度和奠定了即时通信技术应用的基础。开发软件的时候,严格的按照开发面对对象开发项目的流程,致使软件有了理论性的保障,为今后的开发类似软件项目积累了经验。本系统拥有两个模块,服务器与客户端。其中客户端实现了登录、注册、添加好友、查找好友等基本的操作,而客户端的基本操作为开启服务器。关闭服务器、暂停服务器,配置服务器,其中作用是实现数据的交互,然后进行通信。

我所开发的聊天系统利用我所学习的网络的理论和计算机 C#2010语言编程等知识,例如Client/Server模式(客户端/服务器端模式)、Sockets技术、XML技术、TCP/IP协议、SQL Server2008数据库、更有利于小范围的群体例如公司搭建属于自己的聊天系统,可以防止公司的秘密泄露,更加的安全便利。之所以研究聊天系统,是因为它的快速、高效、即时、方便等优点,她也是现代交流的象征,更贴近我们的生活。由于时间的限制和知识的认识不够深入,系统也有许多的不足的地方,功能也有待完善。

关键词:即时通信;因特网;聊天软件;局域网; Sockets;C/S体系结构。

Abstract

In today"s information age, Internet, as the world"s largest Internet, she covered the world, and her development is rapid, the existing Internet thousands of Web site, involving almost the all walks of life in our life, truly realize the dream of a global village, so that the Internet changed our life and change the world.

The development of Internet make our life is becoming increasingly dependent on the Internet, and attendant instant chat system, it is the most direct access to the Internet communication, for our real life and provides a new communication way and the platform, so that we are not constrained to traditional point to point communication mode, the network chat in slowly misappropriation of a traditional way of communication, because the network chat system timeliness and convenience and low cost, and so on performance are replacing the traditional means of communication, this is the era of the trend, things inevitable development. Instant messaging system at home and abroad are very popular for example: Tencent QQ, MSN, letters, e-mail, microblogging and other a series of software are now more fashionable way of network communication, highly favored the majority of Internet users.

Chat system, I use what I learn from the network theory and computer C#2010 programming language knowledge, such as client / server (client / server mode) TCP / IP protocol, SQL Server2008 database, more conducive to small groups, such as the company to build their own chat system, more safe and convenient. Chose to study the chat system is because of the advantages of the fast, efficient, quick, convenient and modern communication symbol and more close to our life

Key words: instant communication; Internet; chat software architecture: C/S关键词:即时通信;Internet;聊天软件:C/S体系结构

Abstract

In today"s information era, the Internet as the world"s largest Internet, and covered the whole earth ball, and her development is each day, bring more convenience. Instant chat system is one of the most popular Internet applications, people can communicate and data transmission through the network. It provides a brand new platform for people to communicate..

And in my chat system is based on.NET, so that the chat application of the work becomes simple, greatly reducing the difficulty of the development and laid the foundation for instant communication technology applications. The development of the software, in strict accordance with the development of the object of the project process, resulting in the software has the theoretical guarantee for future development of similar software projects have accumulated experience. This system has two modules, server and client. Which the client achieved the basic operation of the Login , registration, add friends, find friends, and the basic operation of the client to open the server. Close the server, pause the server, configure the server, where the role is to achieve data exchange, and then communicate.

Chat system, I use what I learn from the network theory and computer C#2010 programming language knowledge are, such as client / server (client / server mode), sockets technology, XML technology, TCP / IP protocol, SQL Server2008 database, more conducive to small fan groups such as a company to build their own chat system, can prevent the company secret, more convenient and safe. The reason why the study of the chat system, because it is fast, efficient, instant, convenient and so on, she is also a symbol of modern communication, closer to our lives. Because of the limitation of time and knowledge, there are also many deficiencies in the system, and functions need to be improved..

Keywords: Instant messaging; Internet; chat software; LAN; Sockets; C/S architecture.

目 录

摘 要 I

Abstract II

目 录 IV

第一章 引言 1

1.1 本文的背景 1

1.2 本文的意义 1

1.3 本文研究现状 1

第二章 核心技术 2

第三章 系统可行性分析 3

3.1 经济因素分析 3

3.2 技术因素分析 3

3.3 社会因素分析 3

第四章 需求分析 4

4.1 功能需求分析 4

4.2 性能需求分析 4

第五章 系统总体设计 5

5.1 服务器端功能设计 5

5.2 客户端的功能设计 5

5.2.1 设计登录与注册模块 6

5.2.2 设计聊天模块 8

5.2.3 设计查询好友模块: 8

5.2.4 设计删除/添加好友模块 10

5.2.5 设计添加群组与删除群组模块 12

5.3 系统数据库设计 13

5.3.1 数据库关系管理设计 14

5.3.2 数据库实体设计 15

5.3.3 数据表设计 17

第六章 系统详细设计 18

第七章 系统测试 31

7.1 软件测试的目的 31

7.2 软件测试的方法及简介 31

7.3 系统测试用例 31

第八章 结束语 34

致 谢 35

参考文献 36

引言

1.1 本文的背景

在当下信息化时代潮流中,计算机与互联网无疑是时代的标志,早就扎根在我们生活里的每个方面,我们的生活几乎被“绑架”但是这种绑架改变了我们的生活。网络的在我们的不断的渗透到我们的生活中,我们的生活方式也随之发生着变化,人们之间的交流也越来越要依赖互联网,传统的电话的交流只能一对一的点对点的交流方式,这种的方式再也满足不了我们的需求,而在网络及时的聊天系统中,群聊功能无疑解决了问题,这种技术的实现是通过了多个I/O端点之间多对多的通信,在下文中将对其有详细的介绍。但是当下的聊天系统的在不断的发展,还是缺少更安全、更方便的系统,所以用于小范围的交流的聊天系统,市场上还是比较缺少。

1.2 本文的意义

唐朝大诗人王勃曾写过这样的诗句:“海内存知己,天涯若比邻”在那个时代天涯若比邻只能是一种想象,因为那时候相隔长距离的人交流方式只有极其漫长的书信,而在现在互联网的时代,我们随时可以听到全世界任何一个人的声音。

网络聊天是互联网应用发展过程中的一种全新社会活动,电子邮件的方式无法满足我们的需求,即时性是网络聊天系统的最重要的性能,在信息化时代中,信息的交流的速度非常的重要,影响着企业的发展,甚至在市场的某些行业里信息的即时性可能带来的利益无法估量。因特网的普及,选择互联网的人数是越来越多,人们之间的交流绝大多数是通过网络,所以这样的发展推动着计算机应用不断的向前进,在当下每个上网的用户的选择也是越来越丰富,聊天系统的竞争越来越激烈,只有有这简洁方便的功能才能得到用户的肯定,网络通信技术也会在更广的范围里得到应用。

1.3 本文研究现状

聊天系统是网络中最早与最受欢迎的应用之一,使我们交流方式发生了变化,在现在我们的互联网的世界里,有许许多多的聊天系统,例如:QQ、新浪微博、微信、电子邮件、ICQ、MSN等等,丰富的通讯系统,使我们应接不暇,在这强大的竞争里,不单单满足简单的即时通讯,其他的设计也应该更加的方便,其中腾讯QQ最受人们的追捧,因为她不仅仅有这传统的通讯功能还有文件的传输、新闻、游戏、音乐、电视等功能设计符合用户的需求的。[1]在技术方面,在以上的通讯工具都在广域网实现,因为他采用比较成熟的TCP或UDP协议体系来实现,而我所设计的聊天系统在局域网的实现,而两种模式各有各的优点,本文将有所介绍。

第二章 核心技术

本系统的设计使用C#语言来编写,C#是由美国微软公司所研发的一种高级程序语言,是面向对象,并且运行在.NET Framework上。C#拥有简洁、类型安全、严谨、通用、表现力强的特点。系统采用客户/服务器模型,此模型适合在局域网中。采用XML(Extensible Markup Language)可扩展标记语言,是一种简单灵活的文本格式的可扩展标记语言。

剩余内容已隐藏,请支付后下载全文,论文总字数:23920字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;