首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于国产Linux平台的设备管理软件设计与实现
引用本文:李军,;路现立,;杨晓娟.基于国产Linux平台的设备管理软件设计与实现[J].飞行器测控学报,2014(5):453-457.
作者姓名:李军  ;路现立  ;杨晓娟
作者单位:[1]北京跟踪与通信技术研究所,北京100094; [2]93638部队,北京100075
摘    要:针对国产Linux操作系统不能提供高精度时间,也不能实时响应外部事件的问题,设计和实现了时统中断设备管理软件.该软件采用内核模块技术管理设备,利用设备的中断信号调度应用程序,并为应用程序提供高精度的统一时间.为提高外部中断事件的响应时间,时统中断设备管理程序采用tasklet机制管理中断,为不同的中断事件建立不同的管理队列,采用较小粒度的旋转锁以提高代码的并发性.时统中断设备管理程序能为应用程序提供μs级精度的精确时间,中断响应时间为10 μs级.经过长时间测试,系统运行稳定可靠,开销小,功能和性能都满足工程需求.

关 键 词:国产Linux平台  时统中断设备  实时调度  高精度时间

Design and Implementation of a Device Management Program Based on a Homegrown Linux Platform
Institution:LI Jun , LU Xianli , Yang Xiaojuan (1. Beijing Institute of Tracking and Telecommunications Technology, Beijing 100094; 2. PLA Unit 93638, Beijing 100075)
Abstract:A timing and interrupt device management program is designed and implemented to make up for the inabil- ity of homegrown Linux operating systems to provide high precision time and realtime response to external events. The program uses kernel module technology to manage devices and uses interrupt signals to schedule applications and it provides high precision unified time to applications. To improve the effect of responding time to external inter- rupt events, three methods are applied: using tasklet mechanism to process interrupts; establishing different management queues for different interrupt events; and fine-grained lock is used to improve concurrency. The program provides applications with microsecond precision time and the interrupt response time reaches 10 microsecond level. A long time testing finds that the program is stable and reliable with lower CPU (Central Processing Unit) overhead. Its functionality and performance fully meet customer requirements.
Keywords:homegrown Linux platform  timing interrupt device  realtime scheduling  high-precision time
本文献已被 维普 等数据库收录!
点击此处可从《飞行器测控学报》浏览原始摘要信息
点击此处可从《飞行器测控学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号