作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (23): 46-48,51. doi: 10.3969/j.issn.1000-3428.2011.23.015

• 软件技术与数据库 • 上一篇    下一篇

基于底层驱动的故障诊断软件设计

相 晖   

  1. (江苏自动化研究所,江苏 连云港 222006)
  • 收稿日期:2011-07-18 出版日期:2011-12-05 发布日期:2011-12-05
  • 作者简介:相 晖(1981-),男,硕士,主研方向:嵌入式系统开发

Design of Fault Diagnosis Software Based on Low-level Driver

XIANG Hui   

  1. (Jiangsu Automation Research Institute, Lianyungang 222006, China)
  • Received:2011-07-18 Online:2011-12-05 Published:2011-12-05

摘要: 在Windows系统中,PCI/CPCI总线模块的故障诊断实时性较差。为此,提出一种基于底层驱动的故障诊断软件构建方法。将虚拟诊断驱动作为软件底层,使用DriverWorks的核心层类实现设备枚举、设备资源初始化等功能,通过状态寄存器实时监控设备的工作状态,结合中间件和应用软件完成对设备的故障诊断。实验结果表明,该软件运行稳定,实时性较好,且诊断功能可随意扩充。

关键词: 故障诊断, 底层驱动, 虚拟设备驱动, 网络设备诊断

Abstract: According to PCI/CPCI bus computer’s real-time fault diagnosis problem, this paper proposes a way of building fault diagnosis based on the underlying software. The method relies on the virtual device driver as the underlying support, through the DriverWorks core layer class enuming device and initializing the device resource. It monitors the device working status by using status register. Combined with the middleware and application software, it completes the equipment fault diagnosis function. Experimental results show that the software is stable, has strong real-time, and diagnostic functions can be extended.

Key words: fault diagnosis, low-level driver, virtual device driver, network equipment diagnosis

中图分类号: