According to the features of embedded system,a software framework based on Module-MSG (Module-Message) was proposed.Module was used as the scheduling entity,and the MSG was used to communicate between different Modules,on the premise of making sure the independence of each Module,the effective interaction was realized.According to the specific response time limit,the hardware interrupt signal was converted into different system signal,and the signal was processed in different ways,unifying the interrupt processing and simplifying the design of the interrupt program.The software business logic was abstracted as simple signal transmission and processing,and the specific features development tended to be the key development,and the development difficulty was reduced.At the same time,because of the unified software development standards,it is easier for the maintenance of software.%根据嵌入式系统的特点,提出基于Module-MSG(Module-Message)的软件开发框架.以Module作为调度实体,以MSG作为通信方式,在保证各个Module相互独立的前提下,有效实现信息交互.将硬件中断信号根据其具体响应时限要求转换成不同的系统信号,以不同的方式进行处理,统一中断的处理,简化程序的设计.将软件业务逻辑抽象为简单的信号传输与处理,使开发重点趋向于具体的功能开发,降低开发难度,统一软件开发规范,便于软件的后续维护.
展开▼