摘要
在航天测试领域,为分析测试系统的状态和变化情况,经常需要采集、处理并存储状态数据。针对状态数据量大、分析处理复杂、存储速度慢等问题,基于Visual C++编程,采用多线程、流水线、分块存取的方式,设计数据存储系统软件,实现快速循环读取数据、实时处理显示数据,并保存数据至文件,该实现方法避免了数据的丢失、程序的阻塞,并对数据进行实时、直观地分析处理。经测试,系统读取数据、处理数据以及存储数据的整体速度达400 Mbyte/s以上。
In the field of aerospace test, for analyzing the status and change situation of test system, we often need to collect, process and store data. Aiming at large data, complex analysis and processing, slow storage, based on visual c ++ programming, multithreading, pipelining, block access were used to design the storage system software. This system can read data circularly and quickly, can real-time process and display the data, and it can save the data to a file. This method avoids losing data and blocking program successfully. After testing, the reading speed and processing, storing data of the system are more than 400 Mbyte/s.
出处
《电子器件》
CAS
北大核心
2016年第4期964-967,共4页
Chinese Journal of Electron Devices
基金
国家自然科学基金重点项目(51275491)
关键词
大数据
多线程
流水线
实时处理
large data
muhithreading
pipelining
real-time processing