期刊文献+

面向驱动配置的自动日志插入方法研究 被引量:2

Automatically Inserting Log System for Driver Configuration
下载PDF
导出
摘要 驱动的可靠运行对于操作系统至关重要,驱动的长久稳定运行依赖于正确的驱动配置.由于硬件本身存在大量约束条件,对系统进行修改,或者对驱动、内核升级,或者对设备更新换代时容易发生驱动配置错误,而该类错误尚无法通过现有的方法直接进行定位和解决.文中设计并实现了AiLsDc(Automatically inserting Log system for Driver configuration)自动日志插入辅助检错系统,能够根据参数配置规范文档中的规则进行驱动配置检查.AiLsDc首先按照定义的驱动配置规范规格XML文档对驱动源码进行插装和修改,运行时动态检查驱动的配置是否满足配置规范文档的要求.当出现参数违例时,日志记录模块将会自动记录可能引起该违例的错误原因和错误位置.通过对比和检查日志,能够在出错时快速定位从而辅助纠错,提高开发效率.实用性评测表明,系统能够捕获配置异常,而性能评测结果表明,AiLsDc系统在提高驱动的可靠性的同时,带来的开销很小. Driver reliability is essential for the operating system, and the long-term stable operation of driver depends on the proper drive configuration. Because of the inherent constraints of hardware, it's quite easy to get wrong for the driver configuration when modifying the system and driver, upgrading kernel, or replacing equipments. And these errors couldn't be located and removed by existing methods directly. In this paper, we design and implement an automatically inserting log system for driver configuration (AiLsDc), which can check the driver configuration parameter according to the specification document which is configured by the driver. Firstly, system checks and modifies the driver source code according to the specification document defined by AiLsDc. And it checks the parameter dynamically to guarantee the correctness. When finding some wrong parameters or violations, the logging module can record the possible reasons and their locations dynamically. By comparing and checking the log, it can quickly locate the error. The practicality evaluation and performance evaluation results show that AiLsDc system improves the driver reliability, and maintains good performance as well.
出处 《计算机学报》 EI CSCD 北大核心 2013年第10期1982-1992,共11页 Chinese Journal of Computers
基金 国家"八六三"高技术研究发展计划项目"以支撑公众与企业服务为主的网络操作系统研制"(2011AA01A203)资助~~
关键词 操作系统 可靠性 驱动配置错误检查 日志注入 operating system reliability driver configuration error ehecking log injection
  • 相关文献

参考文献1

二级参考文献1

共引文献3

同被引文献34

  • 1崔杰,李陶深,兰红星.基于Hadoop的海量数据存储平台设计与开发[J].计算机研究与发展,2012,49(S1):12-18. 被引量:141
  • 2李玉荣,杨树强,贾焰,周斌,樊宇.分布式日志服务关键技术研究[J].计算机工程与应用,2006,42(7):116-118. 被引量:5
  • 3Ganapathi A, Ganapathi V, Patterson D. Windows XP kernel crash analysis//Proceedings of the 20th Large Installation System Administration. Washington, USA, 2006t 101-111. 被引量:1
  • 4Wang X, Chen H, Jia Z, et al. Improving integer security for systems with KINT//Proeeedings of the 10th USENIX Conference on Operating Systems Design and Implementation. Hollywood, Canada, 2012:163-177. 被引量:1
  • 5Li Z, Zhou Y. PR-Miner.. Automatically extracting implicit programming rules and detecting violations in large software code. SIGSOFT Software Engineering Notes. 2005, 30(5): 306-315. 被引量:1
  • 6Kadav A, Renzelmann M J, Swift M M. Fine-grained fault tolerance using device checkpoints//Proceedings of the 18th International Conference on Architeetural Support for Programming Languages and Operating Systems. Houston, USA, 2013.. 473-484. 被引量:1
  • 7Renzelmann M J, Kadav A, Swift M M. SymDrive, Testing drivers without devices//Proceedings of the 10th USENIX Conference on Operating Systems Design and Implementation. Hollywood, Canada, 2012:279-292. 被引量:1
  • 8Chou A, Yang Junfeng, Chelf B, et al. An empirical study of operating systems errors//Proceedings of the 18th ACM Symposium on Operating Systems Principles. Banff, Canada, 2001 : 73-88. 被引量:1
  • 9Dillig I, Thomas D, Aiken A. Static error detection using semantic inconsistency inferenee//Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation. San Diego, USA, 2007, 42(6): 435-445. 被引量:1
  • 10Pradel M, Jaspan C, Aldrich J, Gross T R. Statically checking API protocol conformance with mined multi-object speeifications//Proceedings of the 34th International Conference on Software Engineering. Zurich, Switzerland, 2012: 925- 935. 被引量:1

引证文献2

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部