期刊文献+

Linux下多线程数据采集研究与实现 被引量:12

Research and Implementation of Multi-threading Data Acquisition in Linux
原文传递
导出
摘要 许多网络应用都是以数据采集为基础的,那么一个高效的数据采集模块就非常重要。文中是对Linux下多线程数据采集技术的研究与实现。首先对数据采集中数据存储缓冲区的设置做出分析,并设计出了模型。其次为了实现数据采集的高效性,用到了Linux下的多线程技术,多线程下对共享资源的访问控制又引出了线程同步的问题,并为了实现线程同步引入了互斥锁的应用。最后建立了一个数据采集模块的基本模型。 Many network applications are based on data acquisition, so an efficient data acquisition module is of utmost importance. This paper describes research and implementation of multi-threading data acquisition in Linux. First, the set-up of data buffer in data acquisition module is analyzed, and the model designed. Then in order to achieve an efficient data acquisition module, multi-threading technology is used in Linux. The access control shared of shared resources by multi-threading leads to the problem of thread synchronization, thus the mutex lock is introduced to solve problem of thread synchronization. Finally, a basic model of data acquisition module is successfully established.
出处 《信息安全与通信保密》 2012年第7期92-94,共3页 Information Security and Communications Privacy
关键词 数据采集 套接字 多线程 互斥锁 data acquisition socket multi-threading mutexlock
  • 相关文献

参考文献8

二级参考文献41

共引文献36

同被引文献79

引证文献12

二级引证文献29

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部