雷龙艳,万亚平,徐强,阳小华.生产者—消费者二维队列模型在舆情监控系统中的应用[J].南华大学学报(自然科学版),2013,27(3):56~60.[LEI Long-yan,WAN Ya-ping,XU Qiang,YANG Xiao-hua.Application of Producer-consumer Model with Two-dimensional Queues in Public Opinion Monitoring System[J].Journal of University of South China(Science and Technology),2013,27(3):56~60.] |
生产者—消费者二维队列模型在舆情监控系统中的应用 |
Application of Producer-consumer Model with Two-dimensional Queues in Public Opinion Monitoring System |
|
DOI: |
中文关键词: 生产者—消费者 二维队列 舆情 线程池 |
英文关键词:producer-consumer two-dimensional matrix queues public opinion thread pool |
基金项目:湖南省自然科学基金资助项目(11JJ6047);湖南省科技计划基金资助项目(2011FJ3087);衡阳市科技局基金资助项目(2012KG68) |
|
摘要点击次数: 820 |
全文下载次数: 1674 |
中文摘要: |
生产者—消费者模式是程序设计中的经典模式.为了满足舆情监控系统Web数据挖掘的实时高效性,提出基于生产者—消费者模式的二维矩阵队列链模型,得到二维长度设定准则,并引入线程池进行管理,提高了系统资源的利用率,实时高效,且能够十分方便的对其队列进行日志监控,为Web数据抓取分析系统提供了可供借鉴的经验。 |
英文摘要: |
Producer-consumer model is classic in program design.To satisfy real time and efficiency in web data mining of public opinion monitoring system,a two-dimensional matrix queues chain based on producer-consumer model is presented.We used multi-thread controlled by thread pool and improved the resource utilization rate.Thus,the system was running for real-time and efficiently.Moreover,we can monitor the queues data conveniently.This design provides a thought to web data mining and analysis system. |
查看全文 查看/发表评论 下载PDF阅读器 |
关闭 |