The annual number of launch vehicles has increased greatly, and more and more new commercial launch vehicles have begun to appear and will be applied in future. Due to the large number of different launch vehicles and large differences in demand, the software is generally composed of multiple modules, which require each module to be easy to expand, reusable, high integration and so on. By using plugin architecture, low coupling between functions is achieved, with better maintainability and flexibility. A common plugin can be used in multiple projects to reduce development costs and effort. Based on qt development framework and qml interface design language, an adaptive interface interaction plugin module is designed and applied in the software. The plugin integrates the interface interaction model, the underlying data model and the control model, which has the characteristics of low coupling and high integration. First of all, through the dynamic loading method of the interface model, the initialization of the data model is completed according to the software configuration file, and the interface components are automatically generated according to the data model, so that the interface interaction module has the characteristics of adaption and can be easily changed. Then, based on qt plugin technology, the qml interface interaction module, C ++ data model and control model are packaged to generate independent qt plugin, and form a universal plugin interface file to realize the operation of the plugin control model. Finally, the plugin is completed and loaded in software. The software module in the form of plugin can effectively improve the scalability of the software and make the system easier to be integrated.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Design and Application of Adaptive Interface Plugin for Launch Vehicle Test Software Based on Qt

  • Lu Pengfei,
  • Yu Dandan,
  • Li Jie,
  • Ma Xiaofeng,
  • Qin Shuo,
  • Gu Kaiwen

摘要

The annual number of launch vehicles has increased greatly, and more and more new commercial launch vehicles have begun to appear and will be applied in future. Due to the large number of different launch vehicles and large differences in demand, the software is generally composed of multiple modules, which require each module to be easy to expand, reusable, high integration and so on. By using plugin architecture, low coupling between functions is achieved, with better maintainability and flexibility. A common plugin can be used in multiple projects to reduce development costs and effort. Based on qt development framework and qml interface design language, an adaptive interface interaction plugin module is designed and applied in the software. The plugin integrates the interface interaction model, the underlying data model and the control model, which has the characteristics of low coupling and high integration. First of all, through the dynamic loading method of the interface model, the initialization of the data model is completed according to the software configuration file, and the interface components are automatically generated according to the data model, so that the interface interaction module has the characteristics of adaption and can be easily changed. Then, based on qt plugin technology, the qml interface interaction module, C ++ data model and control model are packaged to generate independent qt plugin, and form a universal plugin interface file to realize the operation of the plugin control model. Finally, the plugin is completed and loaded in software. The software module in the form of plugin can effectively improve the scalability of the software and make the system easier to be integrated.