宇航计测技术 ›› 2023, Vol. 43 ›› Issue (4): 59-65.doi: 10.12060/j.issn.1000-7202.2023.04.10

• 计量保障技术 • 上一篇    下一篇

试验数据快速后处理多线程架构设计及应用

姜悦,褚厚斌,张丽晔,蔡斐华,李智   

  1. 中国运载火箭技术研究院,北京 100076
  • 出版日期:2023-08-15 发布日期:2023-09-19
  • 作者简介:姜悦(1991-),女,工程师,硕士,主要研究方向:型号软件设计。

Design and Application of Muti-thread Architecture for Fast Test Data Post-processing

JIANG Yue,CHU Hou-bin,ZHANG Li-ye,CAI Fei-hua,LI Zhi   

  1. China Academy of Launch Vehicle Technology,Beijing 100076,China
  • Online:2023-08-15 Published:2023-09-19

摘要: 在试验数据后处理中,原有的单线程数据后处理解析方式容易导致主线程阻塞,效率不高。为了改善单线程模式效率低下的问题,提出了一种基于数据分解的多线程处理方法,通过采取数据分解方式实现并行化,将要处理的数据分为多个独立的数据块,然后每个核处理不同的数据块,分别进行格式处理及文件写入。本设计充分利用多核硬件的潜能完成数据后处理,缩短后处理时间,提升计算机资源利用率,更快给出数据详细结果,支撑试验成功判读。

关键词: 试验数据, 数据解析, 多线程, 数据分解

Abstract: In the test data post-processing,the single-thread data post-processing parsing method easily causes to the main thread block,with a low efficiency.In order to improve the parsing efficiency,a muti-thread processing method based on data decomposition is proposed.The data to be processed is divided into multiple independent data blocks,and then each core processes different data blocks for format processing and file writing respectively.The full potential of multi-core computer can be realized to complete data post-processing,which can shorten the post-processing time and improve the utilization rate of computer resources.In this way,the detailed data results can be given as soon as possible after test,to support the data interpretation.

Key words: Test data, Data analysis, Multi-thread, Data decomposition

中图分类号: