摘 要:当即时通讯在网络高速发展的今天已经成为人们通过网络进行交流的主要方式之一,与Email相比,它具有双向互动性和即时性。现在已经有多种比较流行的即时通讯软件,诸如QQ,MSN等,但都是基于C/S模式的,需要下载客户端进行安装,用户名、密码、聊天记录等也是存放在本地机器上,在安全性和方便性上都有所欠缺。B/S(浏览器/服务器模式)是随着Internet技术的兴起,对C/S结构的一种改进。
本文主要介绍了ASP技术相关的基础知识,通过对ASP的脚本语言、ASP的内置对象、ASP与数据库的连接等技术的分析,探讨了建立聊天室的设计思想、方法及设计过程,详细地分析了各个模块的功能及实现方法。利用ASP技术开发聊天室,解决了如聊天刷新、框架网页与变量的传递、聊天界面、屏蔽等问题,并结合源程序进行了论述,本文所实现的聊天室具有良好的人机交互界面 ,经过调试链接,证明可应用网站。
关键词:聊天室;对象;WEB;VBs cript ;JAVAs cript
Abstract:Immediately when the communication already became the people in the network high speed development to carry on one of today exchange fundamental modes through the network, compared with Email, it had bidirectional interactive and instantaneity。Now already had many kinds of quite popular immediate communication software, such as QQ, MSN and so on, but all was based on C/The S pattern, needs to download the client side to carry on the installment, the user name, the password, chats the record and so on also is deposits on the local machine, all has in the security and the conveniences is short of。B/S is along with Internet technology starting, to C/S structure one kind of improvement。
The main introduction of the original ASP technique the person who is mutually related rudimentary knowledge , by means of the analysis to s cripting language , integral target , ASP together with the data bank joint of ASP of ASP and so on technique , probing into to establish to chat room design idea , means and design process , the meritorious service detailed to analyze every module be able to reach the realization means . The problem such as utilizing ASP technological development to chat in the room , and resolving refurbishing and frame web page together with variable transmission and chatting interface and shielding and so on as chatting , and uniting the source program to expound , the chatting room that the original was achieved has the well user interaction interface , and the link is debugged to the course , yet demonstrates the application Web Site .
Key words:Chat room;Object;Web;VBs cript ;Javas cript
目 录
摘 要 I
Abstract II
目 录 III
概 述 V
第1章 ASP技术及其特点 1
1.1 ASP技术 1
1.2 ASP的特点 2
1.3 ASP与传统技术的比较 3
第2章 基于ASP的程序设计方法 4
2.1 ASP的内置对象 4
2.2 ASP的语法规则概述 4
第3章 聊天室软件需求分析 6
3.1 可行性研究 6
3.2 聊天室运行环境 6
3.3 聊天室功能说明 8
3.4 系统功能模块说明 8
3.5 体系结构图 8
3.6 系统总流程图 9
3.7 系统功能模块图 10
第4章 软件实现 11
4.1 信息的组织、存储、共享的实现 11
4.2 登陆功能的实现 13
4.3 人员列表的实现 14
4.4 公共聊天和私聊功能的实现思路 14
4.5 聊天刷新问题的解决 16
4.6 发言显示更新处理 16
4.7 聊天室中实现踢人功能 17