首页 | 本学科首页   官方微博 | 高级检索  
     

生产者-消费者二维队列模型在舆情监控系统中的应用
引用本文:雷龙艳,万亚平,徐强,阳小华. 生产者-消费者二维队列模型在舆情监控系统中的应用[J]. 衡阳工学院学报, 2013, 0(3): 56-60
作者姓名:雷龙艳  万亚平  徐强  阳小华
作者单位:南华大学计算机科学与技术学院,湖南衡阳,421001
基金项目:湖南省自然科学基金资助项目(11JJ6047);湖南省科技计划基金资助项目(2011FJ3087);衡阳市科技局基金资助项目(2012KG68)
摘    要:生产者-消费者模式是程序设计中的经典模式。为了满足舆情监控系统Web数据挖掘的实时高效性,提出基于生产者-消费者模式的二维矩阵队列链模型,得到二维长度设定准则,并引入线程池进行管理,提高了系统资源的利用率,实时高效,且能够十分方便的对其队列进行日志监控,为Web数据抓取分析系统提供了可供借鉴的经验。

关 键 词:生产者-消费者  二维队列  舆情  线程池

Application of Producer-consumer Model with Two-dimensional Queues in Public Opinion Monitoring System
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]. , 2013, 0(3): 56-60
Authors:LEI Long-yan  WAN Ya-ping  XU Qiang  YANG Xiao-hua
Affiliation:( School of Computer Science and Technology, University of South China, Hengyang, Hunan 421001, China)
Abstract: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 ma-trix 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 convenient-ly. This design provides a thought to web data mining and analysis system.
Keywords:producer-consumer  two-dimensional matrix queues  public opinion  thread pool
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号