摘要
航空电子系统多核、多任务随机访问共享资源引起的资源竞争和原子性违背所导致的系统死锁,这类故障很难被复现。针对航空电子系统共享资源访问问题,提出了共享资源的集中访问、统一派遣的方式。系统中有且仅有一个核上的一个任务能够访问共享资源;其他核或任务需要从共享资源中获取数据时,由负责访问共享资源任务获取数据,根据需要将数据派遣给相关任务;其他核或任务需要发送数据时,将其派遣给负责访问资源的任务,由该任务访问资源发送数据。对模型进行测试,实验结果验证了方法在解决多核多任务访问共享资源访问的可行性和稳定性。
The system deadlock caused by resource competition and atomic violation caused by multi-core and multi task random access to shared resources in avionics system is difficult to reproduce.Aiming at the problem of shared resource access in avionics system,this paper puts forward the way of centralized access and unified dispatch of shared resources.There is only one task on one core in the system that can access the shared resources;When other cores or tasks need to obtain data from shared resources,the task responsible for accessing shared resources shall obtain the data and dispatch the data to relevant tasks as needed;When other cores or tasks need to send data,they are dispatched to the task responsible for accessing resources,and the task accesses resources to send data.The model is tested,and the experimental results verify the feasibility and stability of this method in solving the problem of multi-core and multi task access to shared resources.
作者
段海军
郭勇
陈福
DUAN Hai-jun;GUO Yong;CHEN Fu(Yangzhou Collaborative Innovation Research Institute Co.,Ltd.,Yangzhou 225000,China;Xi′an Aeronautics Computing Technique Research Institute,AVIC,Xi′an 710000,China)
出处
《航空计算技术》
2022年第4期91-95,共5页
Aeronautical Computing Technique
基金
国家重点研发计划项目资助(2017YFB13001104)
工信部民机科研项目资助(MJ-2017-S-39)。
关键词
航空电子系统
多核
多任务
并发访问
共享资源
avionics system
multi core
multitasking
concurrent access
sharing resources