摘要
在Windows环境下,为有效管理多块硬件配置相同的PCI板卡资源,实现多卡协同工作,从分析操作系统识别板卡原理和PCI驱动符号链接名命名规律入手,提出一种识别多块硬件配置相同PCI板卡的方法。该方法采用遍历符号链接名方式识别并打开多块PCI板卡,读取每块PCI板卡上4位拨码开关值作为区分不同板卡的标识ID。在Windows XP系统环境下,用三块硬件配置相同的PCI板卡进行实验验证。结果表明:在安装多块硬件配置相同的PCI板卡时,不需要多次重启计算机,只需一个驱动程序及相应的应用程序,就能准确识别出多块相同板卡,同时完成板卡的打开,实现用户对多块配置相同PCI板卡资源有效管理。
For managing the resources of multiple PCI boards which were the same hardware configuration effectively and making multi-boards work collaboratively under the Windows environment, a method of identif- ying multiple PCI boards with the same hardware configuration was put forward on the basis of analyzing the principle of device identification in operation system and the naming law of symbolic link name of PCI driver. The technique adopted the way of traveling symbolic link name to identify and open the multiple PCI boards, introduced the unique ID code which read from the value of 4-bit dip switches on each PCI board to distinguish different boards. Under the environment of Windows XP, this method was verified by the experiment using three boards which were the same hardware configuration. The result shows that it is not necessary to reboot the computer time and time again when install multiple PCI boards which are the same hardware configuration. With only a driver and corresponding application, the multiple boards could be identified and operated exactly, thus the resources of multiple identical boards were managed effectively.
出处
《组合机床与自动化加工技术》
北大核心
2010年第4期52-55,共4页
Modular Machine Tool & Automatic Manufacturing Technique
基金
广西制造系统与先进制造技术重点实验室资助项目(桂科能07109008_020_K)
南宁市科技攻关项目(200802026A)
广西大学科研基金资助项目(X081025)
关键词
多块PCI板卡
硬件配置相同
板卡识别
符号链接名
multiple PCI boards
the same hardware configuration
identification of PCI boards
symbolic link name