A
software-defined
rocket electrical
system I / O equipment model abstraction method comprises the following steps: A1, equipment model abstraction definition: carrying out classification and
feature extraction on various types of I / O equipment in a
rocket electrical
system, and constructing a general equipment abstraction model structure; a2, interface
standardization design: formulating a standard interface specification of the equipment abstract model, and defining initialization, configuration, data interaction and state monitoring general interfaces of the equipment; a3, realizing drive and hardware decoupling: designing an
abstraction layer interface, realizing isolation of an equipment drive program and specific hardware, and establishing association between an abstract model and hardware equipment through a mapping mechanism; a4, data interaction mechanism construction: based on a memory
database technology, designing a data interaction mechanism between equipment abstract models and between the models and application programs, and ensuring real-time performance and consistency of
data transmission; a5,
model management and scheduling: developing an equipment
model management module, realizing registration, loading, unloading and
version management of an equipment model, and designing a model scheduling strategy based on task priority; and A6,
verification and optimization: establishing a
verification platform, performing test
verification on the function
correctness, real-time performance and reliability of the equipment abstract model, and performing optimization adjustment according to a verification result.