更新时间:08-02 上传会员:诸葛紫岐
分类:计算机信息 论文字数:9510 需要金币:1000个
摘要:随着社会的发展,网络成为了人们生活中必不可少的工具之一,它影响着人们的生活,改善着人们的生活,和人们的生活密切相关。网络聊天的工具也开始流行起来,以QQ为代表,不管是学生,工人,白领,QQ已经是人们生活的必须品,它不仅拉近了人们的距离,而且为人们的生活,学习和工作都带来了方便。在学习了网络编程的相关知识后,希望能用自己所学的知识做一个模拟QQ通讯的小软件,实现在局域网内的通讯,能实现聊天功能和文件传送的功能,那么同一个宿舍,机房内的同学不仅可以聊天,而且可以相互间发送文件。
了解了软件的开发背景和研究意义,进行了整体的系统需求分析和可行性分析,经过系统的总体设计,我决定采用Visual Studio.NET 2005作为平台,C#作为语言进行开发,以SQL Server 2000为数据库进行了软件的开发实现,模拟QQ通讯软件涉及一些网络编程的知识,比如socket,线程,TCP等。在该系统中主要实现以下几个功能:(1)聊天功能(2)文件传输的功能(3)申请账号,修改密码,添加好友的一系列模拟QQ的功能,(4)上线,隐身,离线的状态更新功能,(5)聊天记录查看功能。
本软件的还有很多不完善之处,模拟QQ通讯主要实现通讯的功能,由于种种原因不可能做到和QQ功能那么强大,当然模拟QQ通讯会有一些辅助通讯的功能,如添加好友,在线,下线,隐身的控制等,但是这还是为了方便通讯,主要还是以通讯为主。
关键词: QQ;通讯;TCP;字符串;SQL Server 2000
ABSTRACT:With the development of society, the network has become essential to people's lives in one of the tools, which affects people's lives and improve people's lives, and is closely related to people's lives. Online chat is becoming popular tools to QQ as the representative, whether students, workers, white collar, QQ is already the necessities of people's lives, not only narrow the distance between people, but also people's lives, learning and work the advantage. After learning the knowledge of network programming, I hope your learned knowledge can be a simulation of the small communications software QQ to realize the communication in the LAN, chat functionality and can realize the function of file transfer, then the same dorm, room the students can not only chat, but you can send files between each other. Understanding of software development background and significance, the overall system requirement analysis and feasibility analysis, through system design, I decided to use Visual Studio.NET 2005 as a platform, C # as language development, to SQL Server 2000 as a database development and realization of software to simulate the QQ messaging software involves some knowledge of network programming, such as socket, threading, TCP and so on. In the system to achieve the following main functions: (1) chat (2) file transfer function (3) for accounts, change passwords, add friends feature a series of simulated QQ, (4) on the line, stealth , off of the state update function, (5) chat log viewing. There are a lot of this software inadequacies, the main realization of analog communication QQ communications capabilities, for various reasons can not do, and QQ function so strong, of course, there will be some auxiliary analog communication QQ communications functions, such as adding friends, online, offline, invisible control, but this is for the convenience of communication, mainly dominated by communication.
Key words: QQ; communication; TCP; string; SQL Server 2000