BBS信息过滤系统
原站著录信息
摘要
BBS信息过滤系统 摘要 1 Abstract 2 第一章 BBS文章过滤系统的设计背景 3 第二章 系统概述 5 2.1.系统物理结构 5 2.1.1. 对系统结构和各部分功能说明 5 2.2.File Manager Server内部模型 6 2.2.1.对File manager server 内部线程模型和时序的解释: 6 2.3.File Manager Server 和 System Manage Console 之间的通讯模型: 7 2.3.1.System Manager Server和 Syste…
BBS信息过滤系统
摘要 1
Abstract 2
第一章 BBS文章过滤系统的设计背景 3
第二章 系统概述 5
2.1.系统物理结构 5
2.1.1. 对系统结构和各部分功能说明 5
2.2.File Manager Server内部模型 6
2.2.1.对File manager server 内部线程模型和时序的解释: 6
2.3.File Manager Server 和 System Manage Console 之间的通讯模型: 7
2.3.1.System Manager Server和 System Manage Console 的通讯 8
2.3.2.System Manage Console 的功能描述: 8
2.4.系统日志 8
2.4.1.系统运行日志 8
2.4.2.未通过过滤文章记录日志 9
第三章 系统实现关键细节 10
实现系统管理的数据结构 10
3.1.关于读写锁RWLock 12
3.1.1实现读写锁的必要性 12
3.1.2读写锁的接口及实现 13
3.2.关于线程池工具类 16
3.2.1线程池的有关理论 16
3.2.2.线程池的数据结构和用户接口 16
3.3.系统日志类简述 17
3.3.1.系统日志类接口 17
第四章 系统移植中的问题若干 19
4.1.三种平台线程模型 19
4.1.1. Linux 19
4.1.2. FreeBSD 19
4.1.3.Sun Solaries线程模型 20
4.1.4.线程模型不同带来的一个问题 21
4.2.信号处理的不同 21
4.3.对互斥锁核和条件变量的讨论 23
4.3.1.互斥锁和条件变量的基本概念 23
4.3.2.用户斥锁和条件变量使用时的移植问题 25
4.4.小结 29
第五章 系统性能测试 30
5.1.测试背景: 30
5.2.测试平台 30
5.3.测试项目: 30
5.4.测试目的: 30
5.5.测试结果: 31
5.6.结果分析: 31
课题小结 32
参考文献 33
致谢 34
摘要
随着社会信息化程度的加深,BBS作为一种信息平台和载体,已经广泛的进入人们的生活人们。BBS的普及,加快了信息传播的速度,促进了信息的交流;但反动,色情,危及国家安全的信息在BBS上出现并利用其传播快,却缺乏实时的监控能力的特点快速,广泛的传播,危害巨大;
本课题尝试立足于现有BBS运作模式基础之上,在对原有系统进行少量改动,并保证其高效运行前提下,提出一套基于实时的文章过滤,对现有BBS进行改造的完整的解决方案;
本文介绍了实现中涉及的相关知识,系统的设计和实现模型,详细讨论了平台无关性的问题,并对整个系统在不同平台下运行性能作了详细的分析和讨论。
关键词:BBS 线程池 阻塞 命名管道
Abstract
When the application of information in daily life becomes wider and wider, as a media as well as a kind of platform, the BBS system has come into our daily life;.
The wide application of BBS system results in better and faster communication, but lacking ability to control and manage the real time information occurring on it is sure an undeniable question we have to face directly. Large account of cheeky or retroactive information occurring on BBS system and spread wildly is sure a serious problem;
Based on exiting BBS system, our destination can be described as follow “least modification, wilder flexibility and best performance”; what we want to do is not to provide a rewritten BBS system, but a solution. That means you can preserve your original BBS system and add it the ability to filtrate the real time information after your add the code we provide to it;.
This article concerns not only about the relative knowledge, system design and system implement, but also the system portability as well as some necessary analysis about the system performance;
Keywords: BBS, Threadpool, block, Named pipe
全文与附件
提交申请后,可在会员中心查看原件和附件的查找进度。
