The invention relates to an
avionics application configuration method based on message driving and a
dynamic loading mechanism, which comprises the following steps of: generating a hierarchical binary configuration file containing port configuration information and mapping configuration information based on an
avionics system interface control file in a construction stage, and analyzing and loading the binary configuration file to a
global structure body in an operation stage, according to the method and the
system, the mapping configuration information is automatically matched according to the
message type of the to-be-processed message, and after parameter configuration is carried out on the corresponding equipment port according to the port configuration information, data reading and writing are carried out by utilizing the information in the equipment resident index, so that message driving and
dynamic loading of application configuration are realized. According to the method, manual configuration errors can be avoided, multi-protocol
adaptation is supported, only binary configuration files need to be updated when protocols are modified, the operation can be carried out offline, port mapping and related settings are automatically matched by the
system according to message types, and therefore the
configuration management efficiency and reliability of the
avionics system are improved, and the integrity of configuration data is guaranteed.