The invention discloses an event-driven airborne embedded task
application framework design method, which comprises the following steps of: creating an application task thread, and creating a corresponding event
signal and a business
event queue; creating an auxiliary task thread to carry out application task thread
heartbeat management and application
timer list management; the task
service module generates an application message event by releasing an application buffer message, stores the application message event into a corresponding service
event queue and triggers a corresponding event
signal; the task
service module registers an application timing
processing function by creating an application
timer and updates the function to an application
timer list, after the application timer is started, an auxiliary task thread periodically judges whether the application timer expires or not, and an application timing event is generated when the application timer expires; the
application software task thread waits for the event
signal, when the event signal is triggered, if the application message event is obtained from the service
event queue, application message event
processing is executed, and if the application timing event is obtained from the application timer
list, application timing event
processing is executed.