计算机与现代化

• 软件工程 • 上一篇    下一篇

多线程技术在航天测控网数据流分割中的应用

  

  1. (西安卫星测控中心,陕西西安710043)
  • 收稿日期:2017-05-03 出版日期:2017-07-20 发布日期:2017-07-20
  • 作者简介:刘涌(1968-),男,四川邻水人,西安卫星测控中心高级工程师,本科,研究方向:软件工程,设备故障处理; 李海潮(1975-),男,陕西西安人,高级工程师,本科,研究方向:软件工程,飞行器测控; 梁立明(1973-),男,陕西澄城人,工程师,本科,研究方向:飞行器测控; 白云高(1988-),男,陕西延安人,工程师,本科,研究方向:飞行器测控。

Application of Multithread Technology in Segmentation of  Data Stream from Space TT&C Network

  1. (Xi’an Satellite Control Center, Xi’an 710043, China)
  • Received:2017-05-03 Online:2017-07-20 Published:2017-07-20

摘要: 将多线程技术应用于航天测控网数据流的数据分割过程,解决多站多目标跟踪状态下数据流保存为数据文件的难题。首先分析测控网数据流模型,提出数据分割的概念;然后阐述引入多线程技术进行数据处理的必要性,提出利用多线程同步对象等待机制来实现数据分割、数据文件生成的方法,并给出程序的关键代码。应用和测试表明,该方法在生成数据文件的过程中,可实现对航天测控网数据流的无损分割,可靠性高,实时性较强。

关键词: 测控网, 多线程, 数据流, 数据分割, 同步对象

Abstract:  Multithread technology can be applied to solve the problem that the data stream of space Tracking Telemetry and Command (TT&C) network is difficult to be segmented and saved into files when multiple space targets are tracked by multiple space TT&C stations. Firstly, the model of the data stream in space TT&C network is analyzed and the conception of data segmentation is presented. Then, the necessity and possibility of using multithread technology are explained. At the same time, the method of data segmentation and data file generation is proposed by using the waiting mechanism of multithread synchronous object, and the key program code of the application is given. The practical application and the test show that the lossless data segmentation can be realized by this method in processing the data stream of space TT&C station and generating data file, and the method is high reliable and real-time.

Key words: space TT&C network, multithread, data stream, data segmentation, synchronous object

中图分类号: