摘要
本文分析了客户端拉(Client-Pull)方式和服务器推 (Server-Push)方式两种类型WEB聊天室的优劣,并给出了推方式WEB聊天室的一种高效的实现方法,在WINDOWS平台上用ISAPI技术实现了一个采用服务器推方式的高性能WEB聊天室系统,探讨了多用户并发访问时的多线程同步安全性设计问题,在和同类系统的性能比较试验中证明该系统不论在资源占用率还是在响应时间上都具有显著的优势.此外,针对信息网络安全的需要,本文还探讨了利用词频技术对聊天内容进行信息过滤,保证信息安全,杜绝不良信息在网上传播.
Web based chat room has high server resource requirements due to its frequent client requests and limited response time. We employ Push Technology in web chat system to resolve this problem, and we provide a high performance realization of it on Microsoft Windows Operating System (WIN OS). By study of particular OS, we adopt such technologies as Multiple Threads and Microsoft Information Server API (ISAPI) in our realization. Compareing other Web Chat Systems on WIN OS, it has obvious performance advantage. We also present an information filter method in our system to guard the information security, and prevent the spread of harmful messages.
出处
《南昌大学学报(工科版)》
CAS
2005年第1期94-98,共5页
Journal of Nanchang University(Engineering & Technology)
关键词
推技术
WEB
多线程
内容过滤
push technology
web application
multiple threads
content filter