CN101131663B - Checking method for correct installation of computer PCI/PCI Express equipment - Google Patents

Checking method for correct installation of computer PCI/PCI Express equipment Download PDF

Info

Publication number
CN101131663B
CN101131663B CN200610200815XA CN200610200815A CN101131663B CN 101131663 B CN101131663 B CN 101131663B CN 200610200815X A CN200610200815X A CN 200610200815XA CN 200610200815 A CN200610200815 A CN 200610200815A CN 101131663 B CN101131663 B CN 101131663B
Authority
CN
China
Prior art keywords
pci
computer
pci express
correctness
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200610200815XA
Other languages
Chinese (zh)
Other versions
CN101131663A (en
Inventor
陈凯
邱立川
柴清龙
吴宇豪
许汝达
李粤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN200610200815XA priority Critical patent/CN101131663B/en
Publication of CN101131663A publication Critical patent/CN101131663A/en
Application granted granted Critical
Publication of CN101131663B publication Critical patent/CN101131663B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

一种计算机PCI/PCI Express设备安装正确性的检测方法,用于检测插设于待测计算机插槽上的PCI/PCI Express设备安装的正确性,所述待测计算机包括一检测模组,所述计算机PCI/PCI Express设备安装正确性的检测方法至少包括以下步骤:将待测计算机所有可能的硬件组合记录于一设备安装表中;将各待测计算机的主板信息、PCI/PCI Express设备信息及设备安装表保存到数据库中;根据数据库中保存的各主板信息、PCI/PCI Express设备信息及所述设备安装表生成与所述硬件组合一一对应的配置文档;所述检测模组遍历PCI/PCI Express设备树,并根据所述配置文档检测安装于待测计算机上的各PCI/PCIExpress设备的正确性;及输出测试报告。

Figure 200610200815

A method for detecting the correctness of a computer PCI/PCI Express device installation, used to detect the correctness of the PCI/PCI Express device installed on the slot of the computer to be tested, the computer to be tested includes a detection module, the The detection method of the installation correctness of computer PCI/PCI Express equipment at least comprises the following steps: all possible hardware combinations of the computer to be tested are recorded in a device installation table; and the device installation table are saved in the database; according to each motherboard information, PCI/PCI Express device information and the device installation table saved in the database, a configuration file corresponding to the hardware combination is generated one by one; the detection module traverses the PCI /PCI Express device tree, and detect the correctness of each PCI/PCI Express device installed on the computer to be tested according to the configuration file; and output a test report.

Figure 200610200815

Description

计算机PCI/PCI Express设备安装正确性的检测方法 Checking method for installation correctness of computer PCI/PCI Express equipment

技术领域technical field

本发明涉及一种计算机硬件设备安装正确性的检测方法,尤指一种PCI(Peripheral Component Interconnect,外围设备互连)/PCI Express设备安装正确性的检测方法。The invention relates to a method for detecting the correctness of computer hardware installation, in particular to a method for detecting the correctness of PCI (Peripheral Component Interconnect)/PCI Express device installation.

背景技术Background technique

在计算机系统内安装声卡、显卡、网卡、电视调整器卡等PCI/PCI Express设备后,必须检测这些PCI/PCI Express设备安装的正确性,以确保这些PCI/PCI Express设备能在计算机系统内正常工作。传统的PCI/PCI Express设备安装的正确性的检测方法包括手工测试和自动测试两种方法。手工测试的方法是通过比较PCI/PCI Express设备的总线号,设备号及功能号与计算机系统的配置文档中的设定值是否相等来判断设备安装的正确性,由于计算机系统设定的总线号,设备号及功能号依赖于计算机的具体硬件配置,因而这种方法要求使用者必须首先按照BOM(Bill of Material,设备安装表)装配起一台计算机,然后在这台计算机上运行配置文档生成程序以生成配置文档,若计算机的某些元件存在可替代物料(例如显卡、内存等元件可选用其它型号时)还需要用该可替代物料另外组装起一台计算机,然后重复上述过程生成新的配置文档,若几个元件都存在可替代物料,则操作者将不得不对所有可能出现的不同配置按上述过程生成多套配置文档。这种方法需要人工干预的环节多,效率低且不适应于存在多种可替代物料的情况。After installing PCI/PCI Express devices such as sound cards, graphics cards, network cards, and TV adjuster cards in the computer system, the correctness of the installation of these PCI/PCI Express devices must be checked to ensure that these PCI/PCI Express devices can work normally in the computer system. Work. The correctness detection method of traditional PCI/PCI Express device installation includes two kinds of methods of manual test and automatic test. The method of manual testing is to judge the correctness of the device installation by comparing the bus number, device number and function number of the PCI/PCI Express device with the set values in the configuration file of the computer system. , the device number and function number depend on the specific hardware configuration of the computer, so this method requires the user to first assemble a computer according to the BOM (Bill of Material, equipment installation table), and then run configuration file generation on this computer program to generate configuration documents, if there are alternative materials for some components of the computer (such as graphics card, memory and other components can choose other models), it is necessary to use the alternative materials to assemble another computer, and then repeat the above process to generate a new Configuration documents, if there are alternative materials for several components, the operator will have to generate multiple sets of configuration documents according to the above process for all possible different configurations. This method requires many links of manual intervention, is inefficient and is not suitable for the situation where there are many alternative materials.

自动测试的方法是通过读取BIOS(Basic Input/Output system,基本输入/输出系统)中的路由表(Routing Table)信息来获取计算机的插槽(slot)信息,从而判断出指定的插槽上安装的PCI设备是否正确,但是这种方法要求BIOS必须保存有完整的路由表,而在实际工作中,有很多计算机的某些插槽信息如AGP(Accelerated Graphics Port,加速图形接口)插槽并没有被记录于路由表中,因而无法判断安装在AGP插槽上或其它未被记录于路由表中的插槽上的PCI/PCI Express设备是否正确。另外,有些高级PCI/PCI Express插卡设备上还可以附加子卡,由于附加子卡没有通过插槽与主板连接,而是附加于母卡上,因此这时利用BIOS的自检功能也无法完成检测任务。The automatic test method is to obtain the slot (slot) information of the computer by reading the routing table (Routing Table) information in the BIOS (Basic Input/Output system, basic input/output system), thereby judging that the slot on the specified slot is Whether the installed PCI device is correct, but this method requires the BIOS to have a complete routing table, and in actual work, there are many computer slot information such as AGP (Accelerated Graphics Port, accelerated graphics interface) slot and It is not recorded in the routing table, so it is impossible to determine whether the correct PCI/PCI Express device is installed on the AGP slot or other slots that are not recorded in the routing table. In addition, some advanced PCI/PCI Express card devices can also add sub-cards. Since the sub-cards are not connected to the motherboard through the slot, but are attached to the mother card, the self-test function of the BIOS cannot be completed at this time. detection tasks.

发明内容Contents of the invention

鉴于以上内容,有必要提供一种全面自动检测PCI设备安装正确性的方法。In view of the above, it is necessary to provide a method for comprehensively and automatically detecting the installation correctness of PCI devices.

一种计算机PCI/PCI Express设备安装正确性的检测方法,用于检测插设于待测计算机插槽上的PCI/PCI Express设备安装的正确性,所述待测计算机包括一检测模组,所述计算机PCI/PCI Express设备安装正确性的检测方法至少包括以下步骤:将待测计算机所有可能的硬件组合记录于一设备安装表中;将各主板信息、各种PCI/PCI Express设备信息及所述设备安装表保存到数据库中;根据数据库中保存的各种主板信息、各种PCI/PCIExpress设备信息及所述设备安装表生成与所述硬件组合一一对应的配置文档;所述检测模组遍历PCI/PCI Express设备树,并根据所述配置文档检测安装于待测计算机上的各PCI/PCI Express设备的正确性;及输出测试报告。A method for detecting the correctness of a computer PCI/PCI Express device installation, used to detect the correctness of the PCI/PCI Express device installed on the slot of the computer to be tested, the computer to be tested includes a detection module, the The detection method of the correctness of the computer PCI/PCI Express equipment installation at least comprises the following steps: all possible hardware combinations of the computer to be tested are recorded in a device installation table; various motherboard information, various PCI/PCI Express equipment information and Described equipment installation form is saved in the database; According to various motherboard information preserved in the database, various PCI/PCIExpress equipment information and described equipment installation form generate the configuration file corresponding to the combination of described hardware one by one; Described detection model The group traverses the PCI/PCI Express device tree, and detects the correctness of each PCI/PCI Express device installed on the computer to be tested according to the configuration file; and outputs a test report.

本发明检测PCI/PCI Express设备安装正确性的方法为达到PCI/PCIExpress设备检测自动化的目的,先将各主板及所有PCI/PCI Express插卡设备的信息保存到数据库中,检测系统根据设备安装表(BOM)生成与所有可能的硬件组合一一对应配置文档,并传输至待测计算机,所述待测计算机的测试模组根据比较所述配置文档中记录的属性值与该待测计算机上实际安装的对应设备的属性是否一致来判断PCI/PCI Express设备安装的正确性,不必依赖于BIOS的Routing Table的完整性,即可自动检测所有PCI/PCIExpress设备,测试效率高,适用范围更为广泛。The method for detecting the correctness of PCI/PCI Express equipment installation of the present invention is to reach the purpose of PCI/PCI Express equipment detection automation, first save the information of each mainboard and all PCI/PCI Express plug-in card equipment in the database, and the detection system according to the equipment installation table (BOM) generates a one-to-one configuration file corresponding to all possible hardware combinations, and transmits it to the computer to be tested. The test module of the computer to be tested compares the attribute values recorded in the configuration file with the actual Whether the properties of the corresponding installed devices are consistent can be used to judge the correctness of PCI/PCI Express device installation. It can automatically detect all PCI/PCI Express devices without relying on the integrity of the Routing Table of the BIOS. The test efficiency is high and the scope of application is wider. .

附图说明Description of drawings

图1为本发明较佳实施方式计算机PCI/PCI Express设备安装正确性的检测系统结构图。Fig. 1 is the detection system structural diagram of the correctness of computer PCI/PCI Express equipment installation of preferred embodiment of the present invention.

图2为本发明较佳实施方式计算机PCI/PCI Express设备安装正确性的检测方法流程图。Fig. 2 is the detection method flowchart of computer PCI/PCI Express equipment installation correctness of preferred embodiment of the present invention.

图3为图2中PCI/PCI Express设备检测具体方法流程图。Fig. 3 is the specific method flow chart of PCI/PCI Express device detection among Fig. 2.

图4为PCI/PCI Express设备树的结构示意图。Fig. 4 is a schematic structural diagram of a PCI/PCI Express device tree.

具体实施方式Detailed ways

请参阅图1,本发明较佳实施方式计算机PCI/PCI Express设备安装正确性的检测系统包括一SQL(Structured Query Language,结构化查询语言)数据库10、一配置文档生成器20及一UUT(Unit Under Test,在测试装置)工站30。所述数据库10用于保存各种主板信息(包括PCI板载设备信息及插槽信息)、PCI/PCI Express设备(网卡、显卡等)信息及BOM表(Bill ofMaterial,设备安装表)。所述配置文档生成器20通过网络与所述数据库10及所述UUT工站30相连,用以根据数据库10中保存的BOM表、主板信息及PCI/PCI Express设备信息生成PCI/PCI Express配置文档并传输至所述UUT工站30。所述UUT工站30包括至少一台待测计算机,所述待测计算机上装设有各种待检测的PCI/PCI Express设备,所述待测计算机还包括检测模组。在所述检测模组检测完所有的PCI/PCI Express设备后,所述UUT工站30自动生成PCI设备测试报告。所述主板信息及网卡、显卡等PCI/PCIExpress设备信息以XML(Extensible Markup Language,可扩展标记语言)的形式保存于所述数据库10中,所述BOM表以Excel(微软公司生产的表格处理软件)表格的形式记录了所述UUT工站30的各种不同硬件配置的待测计算机的硬件组合情况。Please refer to Fig. 1, the detection system of computer PCI/PCI Express equipment installation correctness of the preferred embodiment of the present invention comprises a SQL (Structured Query Language, Structured Query Language) database 10, a configuration file generator 20 and a UUT (Unit Under Test, in the test device) station 30. Described database 10 is used for preserving various motherboard information (comprising PCI onboard equipment information and slot information), PCI/PCI Express equipment (network card, graphics card etc.) information and BOM table (Bill ofMaterial, equipment installation table). Described configuration file generator 20 is connected with described database 10 and described UUT work station 30 by network, in order to generate PCI/PCI Express configuration file according to BOM table, motherboard information and PCI/PCI Express equipment information preserved in database 10 And transmit to the UUT workstation 30. Described UUT workstation 30 comprises at least one computer to be tested, and various PCI/PCI Express devices to be detected are installed on the computer to be tested, and described computer to be tested also includes a detection module. After the detection module has detected all PCI/PCI Express devices, the UUT workstation 30 automatically generates a PCI device test report. PCI/PCIExpress equipment information such as described motherboard information and network card, graphics card are stored in the described database 10 with the form of XML (Extensible Markup Language, Extensible Markup Language), and described BOM table is with Excel (form processing software produced by Microsoft Corporation) ) form records the hardware combinations of the computers under test with various hardware configurations of the UUT workstation 30.

请参阅图2,利用所述计算机PCI/PCI Express设备安装正确性的检测系统检测PCI/PCI Express设备安装正确性的操作步骤如下:Please refer to Fig. 2, utilize the detection system of described computer PCI/PCI Express device to install correctness to detect the operating steps of PCI/PCI Express device install correctness as follows:

(1)将各种主板信息及PCI/PCI Express设备信息保存到所述数据库10中。主板信息包括板载设备信息及插槽信息,板载设备的信息包括板载设备的路径、功能号、分类代码、厂商标示、设备标示、子系统设备标示、子系统厂商标示等信息,板载设备的路径由总线号和设备号组成;插槽信息包括插槽的路径,总线号,设备号、功能号等信息。所述PCI/PCI Express设备信息包括PCI/PCI Express设备的相对路径、总线号,设备号,功能号等。由于除了根总线(总线0)以外,其它总线的总线号可能会随PCI/PCIExpress设备的配置不同而变化,因而利用相对路径来标示PCI/PCI Express设备的安装位置并保存于所述数据库10中,所述相对路径是由从某个桥接器出发到达指定设备节点所经过的设备组成,所述桥接器的路径用设备号及功能号来标示(例如图4中根总线(总线0)上附着的设备1是一桥接器,其路径Path=D01F00指的是01号设备的0号功能)。(1) various motherboard information and PCI/PCI Express equipment information are saved in the described database 10. Mainboard information includes onboard device information and slot information. Onboard device information includes onboard device path, function number, classification code, manufacturer mark, device mark, subsystem device mark, subsystem manufacturer mark, etc. The path of the device is composed of the bus number and the device number; the slot information includes the path of the slot, the bus number, the device number, the function number and other information. Described PCI/PCI Express device information comprises the relative path of PCI/PCI Express device, bus number, device number, function number etc. Because except root bus (bus 0), the bus numbers of other buses may vary with the configuration of PCI/PCIExpress equipment, thereby utilize relative path to mark the installation position of PCI/PCI Express equipment and save in described database 10 , the relative path is made up of the equipment passing through from a certain bridge to the specified equipment node, and the path of the bridge is marked with a device number and a function number (for example, the root bus (bus 0) attached on the root bus (bus 0) in Figure 4 Device 1 is a bridge, and its path Path=D01F00 refers to No. 0 function of No. 01 device).

(2)将BOM表保存到所述数据库中。(2) Save the BOM table in the database.

(3)所述检测系统根据数据库中保存的BOM表、主板信息及PCI/PCIExpress设备信息生成与BOM表列出的每一种硬件配置情况对应生成一份配置文档(例如,BOM表中记录了六种不同硬件配置机型的元件清单,则对应生成六份配置文档,在具体检测某一类型的计算机时,调出与该机型对应的一份配置文档与实际硬件配置进行比较即可);所述配置文档包括插槽的路径、总线号、设备号、功能号、插设于该插槽上的PCI/PCI Express设备的设备名称、路径、总线号、设备号、功能号等信息。(3) described detection system generates a configuration document correspondingly with each hardware configuration situation listed in the BOM table according to the BOM table preserved in the database, motherboard information and PCI/PCIExpress equipment information (for example, recorded in the BOM table For the component list of six different hardware configuration models, six configuration documents are correspondingly generated. When detecting a certain type of computer, just call out a configuration document corresponding to the model and compare it with the actual hardware configuration) Described configuration file comprises information such as the path of slot, bus number, equipment number, function number, the device name of the PCI/PCI Express equipment that is inserted in this slot, path, bus number, equipment number, function number.

(4)在所述UUT工站上,所述检测模组根据所述检测系统生成的配置文档检测安装于待测计算机上的各PCI/PCI Express设备的正确性。(4) on the UUT workstation, the correctness of each PCI/PCI Express device installed on the computer to be tested is detected by the configuration file that the detection module generates according to the detection system.

请参阅图3,所述检测模组测试PCI/PCI Express设备安装正确性的具体流程如下:Please refer to Figure 3, the specific process of the detection module testing the correctness of PCI/PCI Express device installation is as follows:

(41)遍历PCI/PCI Express设备的总线/设备树(见图4),得到UUT工站上的所有PCI/PCI Express设备列表,记录下所有设备的路径及相关信息,并根据实际读到的总线号动态修正配置文档中的对应值。在修正配置文档中的总线号之前,所述检测模组必须查找到与在测试计算机具体硬件配置相对应的配置文档。所述遍历PCI/PCI Express设备树的方法是:首先根据根总线(总线0)的总线号及桥接器的设备号、功能号读取根总线(总线0)上的桥接器的配置空间;  然后从桥接器的配置空间得到与该桥接器相连的下一条总线(子总线)的总线号;之后再对该子总线进行遍历;重复前两个步骤,直到找到所有的PCI/PCI Express设备。(41) Traverse the bus/device tree (see Figure 4) of PCI/PCI Express equipment, obtain all PCI/PCI Express equipment lists on the UUT workstation, record the paths and related information of all equipment, and read according to the actual The bus number dynamically corrects the corresponding value in the configuration file. Before correcting the bus number in the configuration file, the detection module must find the configuration file corresponding to the specific hardware configuration of the computer under test. The method for traversing the PCI/PCI Express device tree is: first read the configuration space of the bridge on the root bus (bus 0) according to the bus number of the root bus (bus 0) and the device number and function number of the bridge; then Obtain the bus number of the next bus (sub-bus) connected to the bridge from the configuration space of the bridge; then traverse the sub-bus; repeat the first two steps until all PCI/PCI Express devices are found.

(42)逐一检查配置文档中的所有板载设备的各属性值与实际(待测计算机的实际硬件配置)找到的对应设备的信息值是否完全一致。(42) Check whether each attribute value of all onboard devices in the configuration document is completely consistent with the information value of the corresponding device found in reality (the actual hardware configuration of the computer to be tested).

(43)检查待测计算机的主板插槽上安装的PCI/PCI Express设备的属性值是否与配置文档中设定的值一致。(43) Check whether the attribute value of the PCI/PCI Express device installed on the motherboard slot of the computer to be tested is consistent with the value set in the configuration file.

(44)检查待测计算机上是否存在没有记录在配置文档中的PCI/PCIExpress设备。(44) Check whether there is a PCI/PCIExpress device not recorded in the configuration file on the computer to be tested.

(45)输出测试报告。(45) Outputting a test report.

请参阅图4,一PCI设备树包括总线0、总线1及总线2。在总线0上,附着一设备0、设备1(本较佳实施方式中设备1为一桥接器)及设备2(三者均为板载设备),所述设备0的功能号是0,所述设备1的功能号是0,所述设备3的功能号是0和1(具有两种功能),所述设备0、设备1及设备2的总线号均为0。在总线1上,附着一设备0及一设备1,所述设备0是一尚未插设PCI卡的插槽,所述设备1是一已插设一电视调整器卡的插槽,所述电视调整器卡包括一将总线1与总线2连接起来的桥接器。在总线2上,附着一设备0及一设备1,设备0及设备1的功能号均为0。Please refer to FIG. 4 , a PCI device tree includes bus 0 , bus 1 and bus 2 . On the bus 0, a device 0, a device 1 (device 1 is a bridge in this preferred embodiment) and a device 2 (all of which are onboard devices) are attached, and the function number of the device 0 is 0, so The function number of the device 1 is 0, the function number of the device 3 is 0 and 1 (with two functions), and the bus numbers of the device 0, device 1 and device 2 are all 0. On the bus 1, a device 0 and a device 1 are attached, the device 0 is a slot where a PCI card has not been inserted, and the device 1 is a slot where a TV adjuster card has been inserted, and the TV The regulator card includes a bridge that connects bus 1 to bus 2. On the bus 2, a device 0 and a device 1 are attached, and the function numbers of the device 0 and the device 1 are both 0.

Claims (7)

1.一种计算机PCI/PCI Express设备安装正确性的检测方法,用于检测插设于待测计算机插槽上的PCI/PCI Express设备安装的正确性,所述待测计算机包括一检测模组,所述计算机PCI/PCI Express设备安装正确性的检测方法至少包括以下步骤:1. a kind of detection method that computer PCI/PCI Express equipment installs correctness, is used for detecting the correctness that the PCI/PCI Express equipment that is inserted on the computer slot to be tested installs, and described computer to be tested comprises a detection module , the detection method that described computer PCI/PCI Express device installs correctness at least comprises the following steps: 将待测计算机所有可能的硬件组合记录于一设备安装表中;Record all possible hardware combinations of the computer to be tested in an equipment installation form; 将各种主板信息、各种PCI/PCI Express设备信息及所述设备安装表保存到数据库中;Save various motherboard information, various PCI/PCI Express device information and the device installation table in the database; 根据数据库中保存的各种主板信息、各种PCI/PCI Express设备信息及所述设备安装表生成与所述硬件组合一一对应的配置文档;According to the various motherboard information stored in the database, various PCI/PCI Express device information and the device installation table, generate a configuration file corresponding to the hardware combination one by one; 所述检测模组遍历PCI/PCI Express设备树,并根据所述配置文档检测安装于待测计算机上的各PCI/PCI Express设备的正确性;及The detection module traverses the PCI/PCI Express device tree, and detects the correctness of each PCI/PCI Express device installed on the computer to be tested according to the configuration file; and 输出测试报告。Output test report. 2.如权利要求1所述的计算机PCI/PCI Express设备安装正确性的检测方法,其特征在于:所述根据所述配置文档检测安装于待测计算机上的各PCI/PCI Express设备的正确性的步骤进一步包括以下步骤:2. the detection method that computer PCI/PCI Express equipment as claimed in claim 1 is installed correctness is characterized in that: described detection is installed on the correctness of each PCI/PCI Express equipment on the computer to be tested according to described configuration document The steps further include the following steps: 通过遍历待测计算机的PCI/PCI Express设备树,得到待测计算机上的所有PCI/PCI Express设备列表,记录下所有PCI/PCI Express设备的路径及相关信息,并根据实际读到的总线号动态修正配置文档中的对应值;By traversing the PCI/PCI Express device tree of the computer to be tested, a list of all PCI/PCI Express devices on the computer to be tested is obtained, and the paths and related information of all PCI/PCI Express devices are recorded, and dynamically read according to the actual bus number Correct the corresponding value in the configuration document; 逐一检查配置文档中的所有板载设备的各信息值与实际找到的对应设备的信息值是否完全一致;Check one by one whether the information values of all onboard devices in the configuration document are completely consistent with the information values of the corresponding devices actually found; 检查待测计算机的主板的所有插槽上安装的PCI/PCI Express设备的各属性值是否与配置文档中规定的值一致;Check whether the attribute values of the PCI/PCI Express devices installed on all slots of the motherboard of the computer to be tested are consistent with the values specified in the configuration document; 检查待测计算机上是否存在没有记录在配置文档中的PCI/PCIExpress设备。Check whether there are PCI/PCIExpress devices not recorded in the configuration file on the computer to be tested. 3.如权利要求2所述的计算机PCI/PCI Express设备安装正确性的检测方法,其特征在于:所述通过遍历PCI/PCI Express设备树的步骤包括以下步骤:3. the detection method of computer PCI/PCI Express equipment installation correctness as claimed in claim 2, is characterized in that: described by traversing the step of PCI/PCI Express equipment tree comprising the following steps: 根据根总线的总线号及桥接器的设备号、功能号读取根总线上的桥接器的配置空间;Read the configuration space of the bridge on the root bus according to the bus number of the root bus and the device number and function number of the bridge; 从桥接器的配置空间得到与该桥接器相连的子总线的总线号;Obtain the bus number of the sub-bus connected to the bridge from the configuration space of the bridge; 对该子总线进行遍历;及traverse the sub-bus; and 重复前两个步骤,直到找到所有的PCI/PCI Express设备。Repeat the first two steps until all PCI/PCI Express devices are found. 4.如权利要求2所述的计算机PCI/PCI Express设备安装正确性的检测方法,其特征在于:在所述根据实际读到的总线号动态修正配置文档中的对应值的步骤之前,还包括所述检测模组根据待测计算机的具体硬件配置情况找到对应的配置文档的步骤。4. the detection method of computer PCI/PCI Express equipment as claimed in claim 2 is installed correctness, it is characterized in that: before the described step according to the corresponding value in the bus number dynamic correction configuration document that actually reads, also comprise The detection module finds the corresponding configuration file according to the specific hardware configuration of the computer to be tested. 5.如权利要求1所述的计算机PCI/PCI Express设备安装正确性的检测方法,其特征在于:所述配置文档由一配置文档生成器生成。5. the detection method of computer PCI/PCI Express equipment installation correctness as claimed in claim 1, is characterized in that: described configuration file is generated by a configuration file generator. 6.如权利要求1所述的计算机PCI/PCI Express设备安装正确性的检测方法,其特征在于:所述将待测计算机的PCI/PCI Express设备信息保存到数据库中的步骤是以可扩展标记语言的格式将PCI/PCI Express设备的信息保存至数据库中。6. the detection method that computer PCI/PCI Express equipment as claimed in claim 1 is installed correctness is characterized in that: the described step that the PCI/PCI Express equipment information of computer-to-be-tested is saved in the database is with extensible mark The format of the language saves the information of the PCI/PCI Express device to the database. 7.如权利要求1所述的计算机PCI/PCI Express设备安装正确性的检测方法,其特征在于:所述将待测计算机的主板信息保存到数据库中的步骤是以可扩展标记语言的格式将主板的板载信息及PCI/PCI Express插槽的信息保存至数据库中。7. the detection method that computer PCI/PCI Express equipment installation correctness as claimed in claim 1 is characterized in that: described the step that the motherboard information of computer to be tested is saved in database is to be in the form of Extensible Markup Language The onboard information of the motherboard and the information of the PCI/PCI Express slots are saved to the database.
CN200610200815XA 2006-08-22 2006-08-22 Checking method for correct installation of computer PCI/PCI Express equipment Expired - Fee Related CN101131663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610200815XA CN101131663B (en) 2006-08-22 2006-08-22 Checking method for correct installation of computer PCI/PCI Express equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610200815XA CN101131663B (en) 2006-08-22 2006-08-22 Checking method for correct installation of computer PCI/PCI Express equipment

Publications (2)

Publication Number Publication Date
CN101131663A CN101131663A (en) 2008-02-27
CN101131663B true CN101131663B (en) 2010-09-29

Family

ID=39128936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610200815XA Expired - Fee Related CN101131663B (en) 2006-08-22 2006-08-22 Checking method for correct installation of computer PCI/PCI Express equipment

Country Status (1)

Country Link
CN (1) CN101131663B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566962B (en) * 2008-04-22 2012-07-04 辉达公司 Test board and method for the consistency of peripheral component interconnect express expansion system
CN102591885A (en) * 2011-01-17 2012-07-18 鸿富锦精密工业(深圳)有限公司 Test repot generating system and method
CN103646010A (en) * 2011-06-29 2014-03-19 北京奇虎科技有限公司 Installation configuration list generating method
CN102968362A (en) * 2012-11-21 2013-03-13 浪潮电子信息产业股份有限公司 Method for detecting integrity of PCIE (peripheral component interface express) equipment in system start-up process
CN105867891A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Guide loading device and method, electronic equipment and mainboard replacement method thereof
CN106681878A (en) * 2017-01-05 2017-05-17 郑州云海信息技术有限公司 Method for testing PCIE channel bandwidth
CN115267500A (en) * 2022-07-29 2022-11-01 武汉精立电子技术有限公司 Multifunctional test system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0962867A2 (en) * 1998-06-05 1999-12-08 International Business Machines Corporation Variable computer slot configuration for multi-speed bus
CN1325062A (en) * 2000-05-19 2001-12-05 英业达股份有限公司 The smart way to install hardware
CN1516014A (en) * 2003-01-07 2004-07-28 英业达股份有限公司 Test method of peripheral component interconnection bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0962867A2 (en) * 1998-06-05 1999-12-08 International Business Machines Corporation Variable computer slot configuration for multi-speed bus
CN1325062A (en) * 2000-05-19 2001-12-05 英业达股份有限公司 The smart way to install hardware
CN1516014A (en) * 2003-01-07 2004-07-28 英业达股份有限公司 Test method of peripheral component interconnection bus

Also Published As

Publication number Publication date
CN101131663A (en) 2008-02-27

Similar Documents

Publication Publication Date Title
US9569325B2 (en) Method and system for automated test and result comparison
CN112417798B (en) Time sequence testing method and device, electronic equipment and storage medium
US20140040841A1 (en) Apparatus and method thereof for hybrid timing exception verification of an integrated circuit design
CN102710454A (en) Automatic test system and automatic test method
CN113138929A (en) Distributed interface testing method and device, electronic equipment and storage medium
CN112882995A (en) Script automatic generation method and device, electronic equipment and storage medium
CN111400992A (en) Test method and system for automatically verifying boxing layout and wiring
CN113238953A (en) UI automation test method and device, electronic equipment and storage medium
US7293204B2 (en) Computer peripheral connecting interface system configuration debugging method and system
CN101131663B (en) Checking method for correct installation of computer PCI/PCI Express equipment
CN112286750A (en) GPIO (general purpose input/output) verification method and device, electronic equipment and medium
CN102053900A (en) Method and system for testing USB (Universal Serial Bus) equipment of electronic device
CN109710479B (en) Processing method, first device and second device
CN105389255A (en) An automated test method for comparing BMC OEM command return value with fixed information
CN107391087A (en) A kind of method and device of hardware information read-write
CN111680463A (en) A file inspection method and device
CN116028365A (en) Wafer test code automatic detection method, device, equipment and medium
US10803219B1 (en) Method and system for combined formal static analysis of a design code
CN115757099B (en) Automatic testing method and device for platform firmware protection and recovery function
CN119690837A (en) Automatic testing method based on embedded Linux system gateway
CN114077538A (en) Program debugging method and device and readable storage medium
CN113282496B (en) Automatic interface testing method, device, equipment and storage medium
CN119962473A (en) A chip verification method, system, device and storage medium
CN116955040A (en) Chip read-write performance test method, system, equipment and storage medium
CN116068988A (en) Diagnostic fault code identification method and device for different vehicle types

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100929

Termination date: 20150822

EXPY Termination of patent right or utility model