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

操作系统共享数据临界保护正确性测试方法
引用本文:张明杰,雷迅,宋恒,李强.操作系统共享数据临界保护正确性测试方法[J].北京航空航天大学学报,2011,37(10):1256-1259.
作者姓名:张明杰  雷迅  宋恒  李强
作者单位:复杂系统第四实验室, 北京 100076
摘    要:研究了共享数据临界保护正确性测试,提出一种基于共享数据地址监控的临界保护正确性测试方法(SVAM,Shared Variable Address Monitor).SVAM由实时地址监控模块和共享变量地址列表组成.当系统运行时,SVAM在地址总线上实时监测共享变量的写操作,当系统在更新共享变量值时没有关闭中断说明对该变量的操作破坏了临界保护,存在运行风险.理论分析证明了SVAM的正确性,仿真试验证明了该方法的有效性. 

关 键 词:操作系统    临界区    竞争条件    软件测试
收稿时间:2010-06-20

Critical region protection testing method for operating system shared date
Zhang Mingjie Lei Xun Song Heng Li Qiang.Critical region protection testing method for operating system shared date[J].Journal of Beijing University of Aeronautics and Astronautics,2011,37(10):1256-1259.
Authors:Zhang Mingjie Lei Xun Song Heng Li Qiang
Institution:The Forth Complex System Laboratory, Beijing 100076, China
Abstract:The method for testing critical region protection was studied. A method called SVAM (shared variable address monitor) for testing critical region protection mechanism of shared variable, which is based on monitoring shared date address, was presented. The proposed testing method consists of a real-time address monitor module and a shared variables address list. When the system is running, SVAM will monitor the variable written on the address bus. If the variable is updating and the interrupt is open, the system will enter uncontrollable status, and the critical region protection mechanism is corrupted. The correctness of SVAM was verified through theoretical analysis, and the validity of SVAM was verified through an embedded real-time operating system software testing project. 
Keywords:operating system  critical region  race condition  software testing
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《北京航空航天大学学报》浏览原始摘要信息
点击此处可从《北京航空航天大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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