Launch vehicle ground software in the operation process often needs to communicate with different interfaces, and different needs, different software may take TCP, UDP, serial port and other ways. Whenever you add an interface, you often need to change the code to complete interface initialization and communication requirements. The addition or deletion of an interface will involve software interface interaction and underlying code changes. In this paper, a table-driven approach is adopted. By describing the interface information related to the software in the table, the specific communication interface information is eliminated inside the software, and the interface initialization, interface communication control initialization and human-computer interaction interface update are completed automatically according to the information in the table. At the same time, the data sending and receiving processing logic of different interfaces is plug-in, so that every time an interface is added or deleted, the software code is not affected, and only the interface-related plug-ins are added or deleted. This method greatly increases the universality of the software, and greatly improves the extensibility of the software.

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

A Table Driven Plug-In Design Method for Launch Vehicle Ground Test Software Communication Interface

  • Yu Dandan,
  • Yu Xuehao,
  • Zhang Jingjing,
  • He Congyuan,
  • Liang Yuqin,
  • Xu Ruizhen

摘要

Launch vehicle ground software in the operation process often needs to communicate with different interfaces, and different needs, different software may take TCP, UDP, serial port and other ways. Whenever you add an interface, you often need to change the code to complete interface initialization and communication requirements. The addition or deletion of an interface will involve software interface interaction and underlying code changes. In this paper, a table-driven approach is adopted. By describing the interface information related to the software in the table, the specific communication interface information is eliminated inside the software, and the interface initialization, interface communication control initialization and human-computer interaction interface update are completed automatically according to the information in the table. At the same time, the data sending and receiving processing logic of different interfaces is plug-in, so that every time an interface is added or deleted, the software code is not affected, and only the interface-related plug-ins are added or deleted. This method greatly increases the universality of the software, and greatly improves the extensibility of the software.