CN115840672A - Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system - Google Patents

Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system Download PDF

Info

Publication number
CN115840672A
CN115840672A CN202310149762.7A CN202310149762A CN115840672A CN 115840672 A CN115840672 A CN 115840672A CN 202310149762 A CN202310149762 A CN 202310149762A CN 115840672 A CN115840672 A CN 115840672A
Authority
CN
China
Prior art keywords
pci
pcie
slot
equipment
path information
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.)
Pending
Application number
CN202310149762.7A
Other languages
Chinese (zh)
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.)
Jiangsu Huacun Electronic Technology Co Ltd
Original Assignee
Jiangsu Huacun Electronic Technology 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 Jiangsu Huacun Electronic Technology Co Ltd filed Critical Jiangsu Huacun Electronic Technology Co Ltd
Priority to CN202310149762.7A priority Critical patent/CN115840672A/en
Publication of CN115840672A publication Critical patent/CN115840672A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for determining the position of a multi-PCI/PCIE storage device based on a windows system on a mainboard, which comprises the following steps: A. the PCI/PCIE slot equipment instance path information positioning method specifically comprises the following steps: s1, preparing a certain amount of PCI/PCIE storage devices, and storing a specific identification file into the PCI/PCIE storage devices; s2, inserting the PCI/PCIE storage equipment processed in the step S1 into a corresponding position, starting a system, opening slot position definition software, and reading and recording PCI/PCIE slot equipment instance path information of the PCI/PCIE storage equipment according to the content of the identification file; s3, storing the content of the identification file and the path information of the PCI/PCIE slot equipment instance where the PCI/PCIE storage equipment is in the same document. In the process of carrying out simulation test stability on the PCI/PCIE storage equipment, the invention can quickly and accurately position the fault storage equipment when the storage equipment is abnormal, does not need to be completely pulled down to carry out individual detection by using specific original factory software, and can greatly reduce the time and energy of manual detection.

Description

Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system
Technical Field
The invention relates to the technical field of storage device detection, in particular to a method for determining the position of a windows-system-based multi-PCI/PCIE storage device on a mainboard.
Background
In the end stage of research and development of the flash memory storage device, stability test needs to be carried out on the behavior of a simulation user to ensure that the flash memory storage device does not frequently have problems after being handed to a common user, one item of verification needs to restart or unexpectedly power down a system provided with a PCI/PCIE storage device, the storage device is indirectly unexpectedly powered down to ensure the stability of the storage device, and if abnormal equipment is found in the test, a tester needs to pull the abnormal equipment down to detect and analyze the reason so as to find a solution more quickly.
The defects of the prior art are as follows:
at present, most PCI/PCIE storage equipment does not support hot plug, and because the drive letter after the system is restarted every time can be changed, when a certain PCI/PCIE storage equipment is abnormal, a user can only pull all the PCI/PCIE storage equipment out to use specific original factory software to carry out individual detection, so that a great deal of energy and time can be wasted under the condition that the stability of the equipment in the early stage is not high.
Disclosure of Invention
The present invention provides a method for determining a location of a windows-system-based multi-PCI/PCIE memory device on a motherboard, so as to solve the problems proposed in the foregoing background art.
A method for determining the position of a windows-system-based multi-PCI/PCIE storage device on a mainboard comprises the following steps:
A. the PCI/PCIE slot equipment instance path information positioning method specifically comprises the following steps:
s1, preparing a certain amount of PCI/PCIE storage devices, and storing a specific identification file into the PCI/PCIE storage devices;
s2, inserting the PCI/PCIE storage equipment processed in the step S1 into a corresponding position, starting a system, opening slot position definition software, and reading and recording PCI/PCIE slot equipment instance path information of the PCI/PCIE storage equipment according to the content of the identification file;
s3, storing the content of the identification file and the path information of the PCI/PCIE slot equipment instance where the PCI/PCIE storage equipment is in the same document;
B. and testing the PCI/PCIE storage device.
As a further improvement of the invention, step B of the method specifically comprises the following steps:
s4, starting a system, and selecting any test software by a tester to test the storage equipment;
and S5, starting slot position definition software to check if the tester is abnormal or the equipment is abnormal, scanning all the PCI/PCIE storage equipment by the definition software, acquiring corresponding equipment instance path information, comparing the corresponding equipment instance path information with the storage instance path information in the document, and judging the PCI/PCIE slot where the failed PCI/PCIE storage equipment is located.
As a further improvement of the present invention, in step S1 of the method, the PCI/PCIE memory device needs to be formatted before storing the identification file.
As a further improvement of the invention, the identification file in the method is in a txt format, the filling content of the identification file is Slot x, wherein x is the serial number of a PCI/PCIE Slot on a computer mainboard into which the PCI/PCIE storage device is inserted.
As a further improvement of the invention, the slot position definition software in the method scans all PCI/PCIE storage devices in the system, and automatically filters out other storage devices without identification files.
As a further development of the invention, the slot position definition software in method step S3 records the order of the slots according to the content stored in the document.
As a further improvement of the present invention, in the method, a document identifying file content and saved path information of an instance of the PCI/PCIE slot device in which the PCI/PCIE storage device is located is in an INI format, and the file name is set.
As a further improvement of the invention, the slot position definition software in the method comprises the following steps:
a Fixture button to:
starting a slot position definition soft scanning program to scan all PCI/PCIE storage devices in the system and acquiring corresponding device instance path information;
filtering out PCI storage equipment without identification files;
device instance path information of the currently inserted and acquired PCI/PCIE storage device and the content of the identification file Slot.txt in the storage device thereof are recorded and recorded in the file SETTING.INI.
As a further improvement of the present invention, the slot position definition software in the method further includes:
a Scan button to:
starting a slot position definition soft scanning program to scan all PCI/PCIE storage devices in the system and acquiring corresponding device instance path information;
the software compares the device instance path character string stored in the SETTING. INI with the scanned instance path character string, and the PCI/PCIE storage device information is displayed through a slot position definition software window.
As a further improvement of the invention, the information of the PCI/PCIE storage equipment displayed by the software window is defined in the method and comprises disk drive symbols in the computer, the capacity of the disk and the serial number of the disk on the PCI/PCIE slot.
Compared with the prior art, the invention has the beneficial effects that:
in the invention, all PCI/PCIE storage equipment in the system is scanned, corresponding equipment instance path information is obtained, the content of the identification file and the PCI/PCIE slot equipment instance path information of the PCI/PCIE storage equipment are stored in the same document, each PCI/PCIE slot in the Windows system has a fixed and unchangeable equipment instance path, and in the process of carrying out simulation test stability on the PCI/PCIE storage equipment, when the storage equipment is abnormal, the fault storage equipment can be quickly and accurately positioned, and specific original factory software is not required to be used for carrying out individual detection by being pulled out completely, so that the time and the energy of manual detection can be greatly reduced.
Drawings
FIG. 1 is a slot customization flow diagram of a method for determining a location of a windows-based system multi-PCI/PCIE storage device on a motherboard in accordance with the present invention;
FIG. 2 is a flowchart illustrating a test of a method for determining a location of a windows-based multi-PCI/PCIE storage device on a motherboard in accordance with the present invention;
FIG. 3 is a device software relationship diagram of a method for determining a location of a windows-based multi-PCI/PCIE storage device on a motherboard in accordance with the present invention;
fig. 4 is a schematic diagram illustrating device example path information storage according to a method for determining a location of a windows-based multi-PCI/PCIE memory device on a motherboard according to the present invention.
Detailed description of the preferred embodiments
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
Referring to fig. 1-4, the present invention provides the following technical solutions: a method for determining the position of a windows system-based multi-PCI/PCIE storage device on a mainboard comprises the following steps:
A. the PCI/PCIE slot equipment instance path information positioning method specifically comprises the following steps:
s1, preparing a certain amount of PCI/PCIE storage equipment, and firstly formatting the PCI/PCIE storage equipment;
then storing a specific identification file into the PCI/PCIE storage device, wherein the identification file is in a txt format, the filling content of the identification file is Slot x, and x is the serial number of a PCI/PCIE Slot on a computer mainboard into which the PCI/PCIE storage device is inserted, such as Slot 1, slot 2 and Slot 3.. Slot n;
s2, inserting the PCI/PCIE storage device processed in the step S1 into a corresponding position, starting a system, opening slot position definition software, and clicking a texture button;
starting a slot position definition soft scanning program to scan all PCI/PCIE storage devices in the system and acquiring corresponding device instance path information;
filtering out PCI storage equipment without identification files;
s3, storing the content of the identification file and the path information of the PCI/PCIE slot equipment instance where the PCI/PCIE storage equipment is located in the same document, wherein the document is in an INI format and has a file name of SETTING. INI;
the self-defining of the Slot is finished, if a tester does not change or add equipment in the later period, the texture button does not need to be clicked to define the Slot, after the Slot is defined by the self-defining, the software can record how the specified slots of the tester are ordered, and at the moment, the equipment which is already arranged on the Slot can be displayed at the Slot position corresponding to the software only by clicking a Scan button on the software;
testing the PCI/PCIE storage equipment;
s4, starting a system, inserting the PCI/PCIE storage equipment to be tested into the slot with the definition completed, and selecting any test software by a tester to test the storage equipment;
s5, starting slot position definition software check when the tester is abnormal or the equipment is abnormal, clicking a Scan button, scanning all PCI/PCIE storage equipment by definition software, obtaining corresponding equipment instance path information to compare with storage instance path information in a document, judging whether the equipment instance path information in SETTING.INI is the same as the corresponding equipment instance path information, if so, indicating that the equipment is on the socket, and a tester only needs to find the corresponding PCI/PCIE storage equipment according to a sequence number corresponding to the equipment instance path information in the SETTING.INI;
if the equipment is arranged on the determined slots, after clicking the Scan, the software finds that one of the equipment on the slot definition software is not displayed or has related information errors, and if the capacity is not the same, the equipment on the slot is abnormal.
When the method is used for designing for the first time (the number and the sequence of slots in a software page are fixed in a software design stage), a certain number of PCI/PCIE storage devices need to be prepared, then a specific identification file is stored into any computer after the slots are formatted, such as slot.txt, the file content of the specific identification file is filled to indicate that the number of PCI/PCIE slots on a computer mainboard which needs to be inserted later is the second number (such as Slot), the corresponding PCI/PCIE slots are inserted and a system is started after the specific identification file is prepared, the designed Slot position definition software is opened to record the instance path information of the PCI/PCIE Slot devices in which the specific identification file is located according to the slot.txt file content, such as shown in FIG. 3 (a relation graph corresponding to the slot.txt content and software in a mainboard Slot and a storage Device), the PCI/PCIE storage devices with the Slot is inserted from the left to the right, slots 1, 2, 4 and 6 in the mainboard PCI/PCIE storage devices from the left to the right indicate that the PCI/PCIE storage devices with the Slot are inserted, and the PCI/PCIE storage devices without idle or the Slot from the left to the right indicate that the PCIE storage devices do not contain the PCI/PCIE.
After clicking on texture, the software starts to define Slot positions, at this time, the software scans all PCI/PCIE memory devices in the system, and obtains corresponding device instance path information, then filters out other memory devices not containing slot.txt, when finding that the memory devices contain slot.txt, reads the contents of the memory devices, and stores the corresponding Slot openings and the device instance path information in a document, such as seting.ini, as shown in fig. 4, so that Slot customization is completed, and at the later stage, if the tester does not change or add devices, the device does not need to click on the texture button to define slots, after the slots are customized, the software can record how the slots specified by the tester are ordered, at this time, the device already located in the Slot position corresponding to the software can be displayed by clicking on the Scan button on the software, and the Slot customization process is shown in fig. 1;
when the Scan is clicked, the software scans all PCI/PCIE storage devices in the system, acquires corresponding device instance path information, compares the path information with device instance path character strings stored in SETTING. INI, if the path information is the same as the character strings on the Slot01, the device is viewed on the Slot01, and relevant information is displayed on the Slot01 of the software;
after the software finishes the information recording, a tester can replace the storage device on the slot at any time to test, when the tester finds that the device is abnormal or the information displayed by the software designed by the method is abnormal, the software designed by the method can be used for clicking the Scan to determine which slot device displays the abnormality, after the software clicks the Scan, one device on the slot definition software is found to be not displayed or has related information errors, if the capacity is not correct, the device on the slot is indicated to be abnormal, the testing process is as shown in fig. 2, and the tester decides to continue testing the normal device or end.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A method for determining the position of a windows-system-based multi-PCI/PCIE storage device on a mainboard is characterized in that: the method comprises the following steps:
A. the PCI/PCIE slot equipment instance path information positioning method specifically comprises the following steps:
s1, preparing a certain number of PCI/PCIE storage devices, and storing a specific identification file into the PCI/PCIE storage devices;
s2, inserting the PCI/PCIE storage equipment processed in the step S1 into a corresponding position, starting a system, opening slot position definition software, and reading and recording PCI/PCIE slot equipment instance path information of the PCI/PCIE storage equipment according to the content of the identification file;
s3, storing the content of the identification file and the path information of the PCI/PCIE slot equipment instance where the PCI/PCIE storage equipment is located in the same document;
B. and testing the PCI/PCIE storage device.
2. The method of claim 1, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: the step B of the method specifically comprises the following steps:
s4, starting a system, and selecting any test software by a tester to test the storage equipment;
and S5, starting slot position definition software to check if the tester is abnormal or the equipment is abnormal, scanning all the PCI/PCIE storage equipment by the definition software, acquiring corresponding equipment instance path information, comparing the corresponding equipment instance path information with the storage instance path information in the document, and judging the PCI/PCIE slot where the failed PCI/PCIE storage equipment is located.
3. The method of claim 1, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: in step S1 of the method, the PCI/PCIE memory device needs to be formatted before storing the identification file.
4. The method of claim 1, wherein determining a location of a windows-based multi-PCI/PCIE memory device on a motherboard comprises: the identification file is in a txt format, the filling content of the identification file is Slot x, and x is the serial number of a PCI/PCIE Slot on a computer mainboard into which the PCI/PCIE storage device is inserted.
5. The method of claim 1, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: in the method, slot position definition software scans all PCI/PCIE storage devices in the system, and other storage devices without identification files are automatically filtered out.
6. The method of claim 1, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: in step S3, the slot position definition software records the arrangement sequence of the slots according to the content stored in the document.
7. The method of claim 1, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: in the method, a document for identifying file content and storing the PCI/PCIE slot device instance path information where the PCI/PCIE storage device is located is in an INI format, and the file name is SETTING.
8. The method of claim 7, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: the slot position definition software in the method comprises the following steps:
a texture button to:
starting a slot position definition soft scanning program to scan all PCI/PCIE storage devices in the system and acquiring corresponding device instance path information;
filtering out PCI storage equipment without identification files;
device instance path information of the currently inserted and acquired PCI/PCIE storage device and the content of the identification file Slot.
9. The method of claim 7, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: the slot position definition software in the method also comprises the following steps:
a Scan button to:
starting a slot position definition soft scanning program to scan all PCI/PCIE storage devices in the system and acquiring corresponding device instance path information;
the software compares the device instance path character string stored in the SETTING. INI with the scanned instance path character string, and the PCI/PCIE storage device information is displayed through a slot position definition software window.
10. The method of claim 9, wherein the determining the location of the windows-based multi-PCI/PCIE memory device on the motherboard comprises: the method defines that a software window displays and PCI/PCIE storage equipment information comprises disk drive symbols in a computer, the capacity of a disk and the serial number of the disk on a PCI/PCIE slot.
CN202310149762.7A 2023-02-22 2023-02-22 Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system Pending CN115840672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310149762.7A CN115840672A (en) 2023-02-22 2023-02-22 Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310149762.7A CN115840672A (en) 2023-02-22 2023-02-22 Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system

Publications (1)

Publication Number Publication Date
CN115840672A true CN115840672A (en) 2023-03-24

Family

ID=85580075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310149762.7A Pending CN115840672A (en) 2023-02-22 2023-02-22 Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system

Country Status (1)

Country Link
CN (1) CN115840672A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189602A (en) * 2018-09-21 2019-01-11 郑州云海信息技术有限公司 A kind of PCIE Slot Fault Locating Method, device and equipment
CN110633177A (en) * 2018-06-25 2019-12-31 中兴通讯股份有限公司 Method and device for acquiring equipment information, server and storage medium
CN114222320A (en) * 2021-12-16 2022-03-22 展讯通信(上海)有限公司 Method, device, apparatus, storage medium, and program for testing communication device
CN115291952A (en) * 2022-07-29 2022-11-04 浪潮(山东)计算机科技有限公司 Method and system for configuring PCIe equipment slot positioning information under BIOS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633177A (en) * 2018-06-25 2019-12-31 中兴通讯股份有限公司 Method and device for acquiring equipment information, server and storage medium
CN109189602A (en) * 2018-09-21 2019-01-11 郑州云海信息技术有限公司 A kind of PCIE Slot Fault Locating Method, device and equipment
CN114222320A (en) * 2021-12-16 2022-03-22 展讯通信(上海)有限公司 Method, device, apparatus, storage medium, and program for testing communication device
CN115291952A (en) * 2022-07-29 2022-11-04 浪潮(山东)计算机科技有限公司 Method and system for configuring PCIe equipment slot positioning information under BIOS

Similar Documents

Publication Publication Date Title
US20090281771A1 (en) Testing system for mobile phones and testing method thereof
US20050204241A1 (en) Method and device for analyzing software error
CN111209206B (en) Automatic test method and system for software products
CN110764960B (en) Solid state disk firmware testing method
CN113312322B (en) STDF file reading and writing method, medium, equipment and device
US10768852B2 (en) Batch automatic test method for solid state disks and batch automatic test device for solid state disks
CN108985187A (en) A kind of method that automatic quality inspection is realized in self verification of digital archive
CN111552632A (en) Interface testing method and device
CN108153635B (en) System memory edge testing method, system device and computer readable storage medium
CN108572895A (en) Automatically the stability test method of software and hardware configuration is checked under a kind of Linux
CN115840672A (en) Method for determining position of multi-PCI/PCIE storage device on mainboard based on windows system
CN113409878A (en) Flash memory error information detection method, replacement method, device, equipment and storage medium
CN116662197A (en) Automatic interface testing method, system, computer and readable storage medium
CN112667502A (en) Page testing method, device and medium
CN109376073B (en) Test environment memory and recovery method
CN107562593A (en) A kind of automated testing method and system for verifying internal memory ECC functions
CN112631946A (en) Software product running environment detection method and system
CN112965865A (en) Personal computer restart testing method, device and system
CN110765022B (en) Method, device, computer equipment and storage medium for automatically testing sample sending SSD
CN113626233B (en) Method, device and equipment for automatically detecting BIOS watchdog function
CN117234950B (en) Test case recording method and device, storage medium and computer equipment
CN111179997B (en) Method and device for storing test data of semiconductor memory
CN107704355A (en) A kind of method that reboot tests are carried out under Solaris11 systems
CN107562725B (en) Index extraction verification method and device
CN115640173A (en) Verification method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230324