系统工程与电子技术 ›› 2023, Vol. 45 ›› Issue (5): 1391-1398.doi: 10.12305/j.issn.1001-506X.2023.05.15

• 系统工程 • 上一篇    

面向空间操控仿真的任务调度微服务策略

覃润楠1,*, 谢文明1, 惠建江2, 彭晓东1, 李运1   

  1. 1. 中国科学院国家空间科学中心, 北京 100191
    2. 中国人民解放军63921部队, 北京 100094
  • 收稿日期:2022-06-21 出版日期:2023-04-21 发布日期:2023-04-28
  • 通讯作者: 覃润楠
  • 作者简介:覃润楠 (1994—), 女, 工程师, 硕士, 主要研究方向为复杂航天系统仿真、高性能服务系统
    谢文明 (1984—), 男, 副研究员, 博士研究生, 主要研究方向为计算机视景仿真、态势感知、场景重构
    惠建江 (1979—), 男, 副研究员, 硕士, 主要研究方向为复杂航天系统总体设计、飞行器测控
    彭晓东 (1981—), 男, 研究员, 博士, 主要研究方向为航天任务论证、复杂系统仿真
    李运 (1992—), 男, 助理研究员, 硕士, 主要研究方向为复杂航天系统仿真、高性能服务系统

Task scheduling microservice strategy for space manipulation simulation

Runnan QIN1,*, Wenming XIE1, Jianjiang HUI2, Xiaodong PENG1, Yun LI1   

  1. 1. National Space Science Center, Chinese Academy of Sciences, Beijing 100191, China
    2. Unit 63921 of the PLA, Beijing 100094, China
  • Received:2022-06-21 Online:2023-04-21 Published:2023-04-28
  • Contact: Runnan QIN

摘要:

针对大型空间操控仿真试验中TB、PB量级的遥测参数、载荷数传等指数性增长的数据交互计算压力, 以及海量多源异构仿真模型的并发调用对传统服务架构带来的挑战, 构建了面向空间操控仿真的任务调度微服务(task scheduling microservice for simulation, S-TSM)解决方案。借助混合式微服务调度技术, 建立以负载迁移模型为核心的双引擎动态任务调度平台, 规避负载均衡震荡并优化服务端节点资源分配, 具备负载平衡周期短、计算任务响应迅速、高吞吐稳定性等优点。通过实地航天器试验仿真系统的实验结果表明, 在满足海量操控仿真任务调度与操控对象交互数据高吞吐处理需求下, S-TSM与Xxl-job、Elastic-job、Spring Cloud任务调度架构相比, 单次业务平均响应时延分别缩短0.10 s、0.25 s、0.92 s, 与轮询、比率、弹性分片等其他负载平衡算法相比, 平均负载平衡耗时缩短1.90 s, 具备一定的竞争力。

关键词: 空间操控仿真, 微服务, 任务调度, 负载平衡

Abstract:

Aiming at the exponentially increasing data interaction computing pressure of TB and PB telemetry parameters, load data transmission and other data in large-scale space manipulation simulation experiments, as well as the challenges to the traditional service architecture brought by the concurrent invocation of massive multi-source heterogeneous simulation models, a task scheduling microservice for simulation (S-TSM) solution for space manipulation simulation is constructed. With the help of hybrid microservice scheduling technology, a dual engine dynamic task scheduling platform with the load migration model as the core is established to avoid load balancing shocks and optimize the resource allocation of server nodes. It has the advantages of short load balancing cycle, rapid computing task response, high throughput stability, etc. The experimental results of the field spacecraft test simulation system show that, under the condition of meeting the requirements of massive control simulation task scheduling and high throughput processing of interactive data of control objects, compared with the Xxl-job, Elastic-job, Spring Cloud task scheduling architecture, the average response time of a single service of S-TSM is shortened by 0.10 s, 0.25 s, 0.92 s respectively, and the average load balancing time is shortened by 1.90 s compared with polling, ratio, elastic sharding and other load balancing algorithms, with certain competitiveness.

Key words: space manipulation simulation, microservice, task scheduling, load balancing

中图分类号: