CN107783875A - A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell - Google Patents

A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell Download PDF

Info

Publication number
CN107783875A
CN107783875A CN201710993269.8A CN201710993269A CN107783875A CN 107783875 A CN107783875 A CN 107783875A CN 201710993269 A CN201710993269 A CN 201710993269A CN 107783875 A CN107783875 A CN 107783875A
Authority
CN
China
Prior art keywords
vmd
hard disks
nvme hard
cresset
nvme
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
CN201710993269.8A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710993269.8A priority Critical patent/CN107783875A/en
Publication of CN107783875A publication Critical patent/CN107783875A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The application is on a kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell.This method includes:Obtain the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests;VMD carries out lighting test to each NVMe hard disks in ID coding ranges successively;If VMD is according to ID coding-control NVMe hard disk lightings, the cresset of the NVMe hard disks to match with ID codings lights, judge that the cresset control for the NVMe hard disks that VMD matches to ID codings is qualified, otherwise, it is determined that the cresset control for the NVMe hard disks that VMD matches to ID codings is unqualified.The system includes:ID coding ranges acquisition module, lighting test module and judge module.The method and system that the application provides can greatly improve the accuracy and reliability of the test of VMD cressets, and be advantageous to protect hard disk, and improve testing efficiency.

Description

It is a kind of be applied to UFEI shell under NVMe hard disks VMD cressets method of testing and System
Technical field
The application is related to hard disk controlling technical field, more particularly to one kind is applied to UFEI (Unified Extensible Firmware Interface, unified Extensible Firmware Interface) NVMe (Non-Volatile Memory under shell Express, non-volatile memories are quick) the VMD cressets method of testing and system of hard disk.
Background technology
VMD (Volume Management Device, volume management equipment) function is the new technology of Purley platforms, VMD It is NVMe hard disks RAID (Redundant Arrays of Independent Disks, disk array) volume management equipment, also It is the controller of NVMe hard disks.VMD can carry out RAID management to the NVMe hard disks for being connected to VMD and cresset controls.Wherein VMD The cressets of NVMe hard disks is controlled, affect NMVe hard disk indication lamps whether can normal work, so as to affect user to hard The monitoring of disk running status, therefore, it is a major issue that test is carried out to VMD cressets control function.
At present, generally comprised the steps for the method for testing of VMD cresset control functions:First, in Windows systems Positioning lamp detection is carried out successively to each NVMe hard-disk interfaces manually down;Then, by way of group RAID and plug hard disk, according to The secondary detection for each NVMe hard-disk interfaces rebuild lamp;Finally, using faulty hard disk successively to each NVMe hard-disk interfaces Carry out trouble light detection.
However, in current VMD cresset method of testings, due to needing the method for manual or manual binding test disk to each Individual NVMe hard-disk interfaces carry out lighting test, testing time length, and belong to manual mode of operation, and this mode of operation is easily produced Raw operating error, so as to cause VMD cresset test results inaccurate, unreliable, influences the normal work of NVMe hard disk indication lamps, And then influence monitoring of the user to hard disk running status.In addition, manually operation carries out lighting test, it is necessary to which multiple plug is hard Test panel and hard-disk interface are repeatedly carried out plug by disk, and hard disk performance can be caused necessarily to influence, and are unfavorable for protecting hard disk. Moreover, the current VMD cresset method of testing testing times are grown, it is low to also result in testing efficiency.
The content of the invention
For overcome in the prior art VMD cressets test result it is inaccurate, it is unreliable and influence hard disk performance the problem of, this Application provides a kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell.
A kind of VMD cresset method of testings for being applied to NVMe hard disks under UFEI shell, including:
Obtain the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests;
VMD carries out lighting test to each NVMe hard disks in the ID coding ranges successively;
If VMD is according to ID coding-control NVMe hard disk lightings, the lamp of the NVMe hard disks to match with ID codings Number light, judge that the cresset control for the NVMe hard disks that VMD matches to ID codings is qualified, otherwise, it is determined that VMD is to the ID The cresset control for encoding the NVMe hard disks to match is unqualified.
Alternatively, the acquisition needs to carry out the ID coding ranges of the NVMe hard disks of VMD cresset tests, including following step Suddenly:
Obtain the ID codings for all NVMe hard disks for needing to carry out VMD cresset tests;
It is determined that need to carry out the ID codings of first NVMe hard disk of VMD cresset tests;
It is determined that need to carry out the ID codings of last NVMe hard disk of VMD cresset tests.
Alternatively, the lighting test includes:Positioning lamp detection, rebuild lamp inspection and survey and trouble light detection, and positioning lamp, again Build lamp and trouble light and correspond to different cressets respectively.
Alternatively, VMD includes to the method for each NVMe hard disks progress lighting test in the ID coding ranges successively:
According to cresset, VMD carries out positioning lamp detection to each NVMe hard disks in the ID coding ranges successively;
VMD carries out rebuilding lamp inspection survey successively to each NVMe hard disks in the ID coding ranges;
VMD carries out trouble light detection to each NVMe hard disks in the ID coding ranges successively.
Alternatively, VMD includes to the method for each NVMe hard disks progress lighting test in the ID coding ranges successively:
Encoded according to ID, VMD is carried out respectively to first corresponding NVMe hard disk of ID codings in the ID coding ranges Positioning lamp detection, rebuild lamp inspection survey and trouble light detection;
VMD encodes corresponding NVMe hard disks to next ID in the ID coding ranges and carries out positioning lamp inspection respectively Survey, rebuild lamp inspection survey and trouble light detection;
Positioned respectively until VMD encodes corresponding NVMe hard disks to last ID in the ID coding ranges Lamp inspection is surveyed, rebuilds lamp inspection survey and trouble light detection.
Alternatively, positioning lamp detection, the order that reconstruction lamp inspection is surveyed and trouble light detects can adjust.
Alternatively, the lighting test mode is lights cresset and extinguishes cresset, and lights between cresset and extinguishing cresset It is provided with fixed time interval.
Alternatively, before the ID coding ranges for obtaining the NVMe hard disks for needing to carry out VMD cresset tests, methods described is also wrapped Include:
Test script and testing tool are deposited under same catalogue, the testing tool is that test script needs what is called Program;
Corresponding VMD state is arranged to open on the PCIE interfaces that NVMe hard disks will be connected;
Restart server and enter UEFI shell platforms.
The application also provides a kind of VMD cresset test systems for being applied to NVMe hard disks under UFEI shell, the system Including:
ID coding range acquisition modules, for obtaining the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests;
Lighting test module, for making VMD carry out lighting survey to each NVMe hard disks in the ID coding ranges successively Examination;
Judge module, for whether being lighted according to cresset, it is qualified to judge that VMD controls whether to the cresset of NVMe hard disks, such as When fruit VMD is according to ID coding-control NVMe hard disk lightings, the cresset of the NVMe hard disks to match with ID codings lights, and judges The cresset control for the NVMe hard disks that VMD matches to ID codings is qualified, otherwise, it is determined that VMD matches to ID codings NVMe hard disks cresset control it is unqualified.
Alternatively, the lighting test module includes:Positioning lamp detection unit, rebuild lamp detection unit and trouble light detection Unit.
The technical scheme that embodiments herein provides can include the following benefits:
The embodiment of the present application provides a kind of VMD cresset method of testings for being applied to NVMe hard disks under UFEI shell, the party Method obtains the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests first, and then VMD is successively in ID coding ranges Each NVMe hard disks carry out lighting test, finally according to VMD control NVMe hard disk lightings when, the cresset of corresponding NVMe hard disks is It is qualified that no light judgement VMD controls whether to the cresset of NVMe hard disks.Due to being obtained in the embodiment of the present application according to ID codings Take NVMe hard disks, it can be ensured that by the NVMe hard disk informations of progress VMD cresset tests in need all collect, so as to avoid producing The situation of raw missing inspection, greatly improve the reliability of VMD cresset test results.And VMD is that ID is encoded successively in the present embodiment In the range of each NVMe hard disks tested, this method tested successively in order, can further avoid missing inspection and again Recheck situation about surveying, and can avoid or greatly reduce detection error, so as to improve the accuracy of VMD cresset test results and Reliability.Further, since the present embodiment carries out VMD cresset tests by the way of script, avoid multiple plug hard disk or incite somebody to action Test panel repeatedly carries out plug with hard-disk interface, is advantageous to protect hard disk, and this software test mode also helps significantly Improve testing efficiency.
The embodiment of the present application also provides a kind of VMD cresset test systems for being applied to NVMe hard disks under UFEI shell, should System includes:ID coding ranges acquisition module, lighting test module and judge module.ID coding ranges acquisition module can obtain The ID coding ranges of the NVMe hard disks of progress VMD cresset tests are needed, then lighting test module control VMD encodes to ID successively In the range of each NVMe hard disks carry out lighting test, last judge module is according to the whether light judgement VMD of cresset to NVMe It is qualified that the cresset of hard disk controls whether.The setting of ID coding range acquisition modules, it can be ensured that by institute's progress VMD cressets in need The NVMe hard disk informations of test all collect, so as to avoid produce missing inspection situation, can greatly improve VMD cressets test can By property.Because lighting test module control VMD surveys to each NVMe hard disks in ID coding ranges successively in the present embodiment Examination, this structure design tested successively in order, missing inspection and manual operation can be further avoided to produce the situation of error, So as to improve the accuracy and reliability of VMD cresset test results.Further, since the system in the present embodiment is to combine software control The mode of system carries out VMD cresset tests, so as to avoid multiple plug hard disk or repeatedly be pulled out test panel and hard-disk interface Insert, be advantageous to protect hard disk, and the system of this combination software control progress VMD cresset controls also helps and greatly improves survey Try efficiency.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The application can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the application Example, and be used to together with specification to explain the principle of the application.
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of VMD cressets test side for being applied to NVMe hard disks under UFEI shell that the embodiment of the present application provides The schematic flow sheet of method;
Fig. 2 is a kind of embodiment schematic flow sheet of step S1 in the embodiment of the present application;
Fig. 3 is a kind of embodiment schematic flow sheet of step S2 in the embodiment of the present application;
Fig. 4 is the another embodiment schematic flow sheet of step S2 in the embodiment of the present application;
Fig. 5 is the VMD cressets test that the another kind that the embodiment of the present application provides is applied to NVMe hard disks under UFEI shell The schematic flow sheet of method;
Fig. 6 is a kind of VMD cressets test system for being applied to NVMe hard disks under UFEI shell that the embodiment of the present application provides The structural representation of system.
Symbol represents:1-ID coding ranges acquisition module, 2- lighting tests module, 3- judge modules.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this Shen It please be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the application Structure.In order to simplify disclosure herein, hereinafter the part and setting of specific examples are described.In addition, the application can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale Draw.The application eliminates the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the application.
VMD is NVMe hard disk RAID volume management equipments, that is, the controller of NVMe hard disks, VMD can be to being connected to VMD NVMe hard disks carry out RAID management and cresset control.RAID management refers to creating, deletes RAID at different levels, and the application is pin A kind of automated testing method and system of cresset control are carried out to the NVMe hard disks for being connected to VMD to VMD.
In order to more fully understand the application, presently filed embodiment is explained in detail below in conjunction with the accompanying drawings.
Referring to Fig. 1, Fig. 1 is a kind of VMD lamps for being applied to NVMe hard disks under UFEI shell that the embodiment of the present application provides The schematic flow sheet of number method of testing.As shown in Figure 1, the method in the present embodiment comprises the following steps:
S1:Obtain the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests.
Specifically, referring to Fig. 2, Fig. 2 is the schematic flow sheet of step S1 in the embodiment of the present application, as shown in Figure 2 step S1 Specific implementation process comprise the following steps:
S11:Obtain the ID codings for all NVMe hard disks for needing to carry out VMD cresset tests.
In the present embodiment by way of command parameter transmits test script, need to carry out VMD cresset tests so as to obtain All NVMe hard disks ID coding.
S12:It is determined that need to carry out the ID codings of first NVMe hard disk of VMD cresset tests.
S13:It is determined that need to carry out the ID codings of last NVMe hard disk of VMD cresset tests.
Above step can use following script to realize:
vmdledcheck.nsh<first_id><last_id>。
Wherein, parameter<first_id>The ID codings of specified first NVMe hard disk for needing to test, parameter<last_id> The ID codings of specified last the NVMe hard disk for needing to test.Such as:Script vmdledcheck.nsh 25, can be automatically right 4 NVMe hard disks that ID is encoded to 2 to 5 carry out lighting test.
The ID codings for all NVMe hard disks for needing to carry out VMD cresset tests, and the volume are got by above step S1 Code in sequence form an ID coding range, this mode be able to ensure that by progress VMD cresset tests in need NVMe Hard disk all pools together, and so as to avoid producing the situation of missing inspection, is advantageous to improve the reliability of VMD cresset test results.
After the ID coding ranges for getting the NVMe hard disks for needing to carry out VMD cresset tests, into step S2:VMD is successively Lighting test is carried out to each NVMe hard disks in the ID coding ranges.
From step S2, VMD is to carry out lighting test successively to the NVMe hard disks in ID coding ranges, this to enter successively The mode of row test, it can further avoid the hard missing inspections of NVMe and repeat the situation of detection, and be replaced using software mode Artificial wiring detection, can avoid or greatly reduce detection error, so as to improve the accuracy of VMD cresset test results and can By property.
Lighting test in the embodiment of the present application includes positioning lamp detection, rebuilds lamp inspection survey and trouble light detection, and positions Lamp, reconstruction lamp and trouble light correspond to different cressets respectively, that is, three kinds of cressets are shared in the present embodiment:Positioning lamp cresset, Rebuild lamp cresset, trouble light cresset.
Further, in the embodiment of the present application lighting test mode for light cresset and extinguish cresset, and light cresset and Fixed time interval is provided between extinguishing cresset.Three kinds of cressets can be kept with bright light more long afterwards namely in the present embodiment Extinguishing is set.Time interval can be generally arranged to 5s, 5s time interval can be advantageous to accurate observation test knot Fruit, it is able to ensure that the lighting test cycle is not oversize again, is advantageous to improve the efficiency of lighting test.
Specifically, the lighting test in the embodiment of the present application comprises at least two kinds of embodiments, separately below with reference to Fig. 3 and Fig. 4 is described in detail.
Fig. 3 shows a kind of embodiment of step S2 in the embodiment of the present application, from the figure 3, it may be seen that VMD encodes to ID successively In the range of each NVMe hard disks carry out lighting test method include:
S21:According to cresset, VMD carries out positioning lamp detection to each NVMe hard disks in ID coding ranges successively;
S22:VMD carries out rebuilding lamp inspection survey successively to each NVMe hard disks in ID coding ranges;
S23:VMD carries out trouble light detection to each NVMe hard disks in ID coding ranges successively.
Specifically, VMD is carried out to the lighting test of NVMe hard disks according to cresset in the present embodiment, such as ID is compiled first Code in the range of each NVMe hard disks carry out positioning lamp detection, all NVMe hard disks positioning lamp detection terminate after, then to ID compile Each NVMe hard disks in the range of code, which carry out rebuilding lamp inspection, to be surveyed, the reconstruction lamp inspections of all NVMe hard disks is surveyed terminate after, then ID is compiled Each NVMe hard disks in the range of code carry out trouble light detection.Certainly, positioning lamp detection, the survey of reconstruction lamp inspection and trouble light detect Order does not limit, such as can first carry out rebuilding lamp inspection survey, then carries out positioning lamp detection, finally carries out trouble light detection.As long as Ensure that carrying out detection successively according to ID coding ranges to all NVMe hard disks under a kind of cresset finishes, then detect another cresset .
Fig. 4 shows the another embodiment of step S2 in the embodiment of the present application, and as shown in Figure 4, VMD compiles to ID successively The method that each NVMe hard disks in the range of code carry out lighting test includes:
S24:Encoded according to ID, VMD is carried out respectively to first corresponding NVMe hard disk of ID codings in ID coding ranges Positioning lamp detection, rebuild lamp inspection survey and trouble light detection;
S25:VMD encodes corresponding NVMe hard disks to next ID in ID coding ranges and carries out positioning lamp inspection respectively Survey, rebuild lamp inspection survey and trouble light detection;
S26:Positioned respectively until VMD encodes corresponding NVMe hard disks to last ID in ID coding ranges Lamp inspection is surveyed, rebuilds lamp inspection survey and trouble light detection.
Specifically, in the present embodiment to carry out, i.e., VMD is encoded successively to the lighting test of NVMe hard disks according to ID:To every Three kinds of corresponding cressets of individual ID codings are completed, then are encoded three kinds of corresponding cressets to next ID and tested.For Ensure the accuracy and reliability of test result, it is corresponding to first ID coding in ID coding ranges first in the present embodiment NVMe hard disks carry out three kinds of cresset tests, and then encoding corresponding NVMe hard disks to second ID in ID coding ranges is carried out Three kinds of cresset tests, by that analogy, until encoding corresponding NVMe hard disks to last each and every one ID in ID coding ranges Three kinds of cresset tests are carried out, are completed.Certainly, carried out in the present embodiment for the corresponding NVMe hard disks of some ID codings The order of three kinds of cressets test do not limit, the NVMe hard disks that can be directed to ID codings carry out failure lamp test first, then enter Row positioning lamp test, finally carries out reconstruction lamp test.
With continued reference to Fig. 1, after VMD carries out lighting test to each NVMe hard disks in ID coding ranges successively, step is performed Rapid S3:If VMD is according to ID coding-control NVMe hard disk lightings, the cresset of the NVMe hard disks to match with ID codings lights, Judge that the cresset control for the NVMe hard disks that VMD matches to ID codings is qualified, otherwise, it is determined that what VMD matched to ID codings The cresset control of NVMe hard disks is unqualified.
Referring to Fig. 5, Fig. 5 is the VMD that the another kind that the embodiment of the present application provides is applied to NVMe hard disks under UFEI shell The schematic flow sheet of cresset method of testing.As shown in Figure 5, it may also include procedure below before step S1 in this implementation:
S4:Test script and testing tool are deposited under same catalogue, testing tool is that test script needs what is called Program;
S5:Corresponding VMD state is arranged to open on the PCIE interfaces that NVMe hard disks will be connected;
S6:Restart server and enter UEFI shell platforms.
Specifically, a kind of mode into UEFI shell platforms is present embodiments provided, test script could be arranged to Vmdledcheck.nsh, testing tool can select LedToolVMDRSTeRS.efi, the LedToolVMDRSTeRS.efi to be A kind of platform calls tool that Intel is provided.Test script and testing tool are deposited under same catalogue in step S4, specifically Test script and testing tool can be deposited under the same catalogue of server, test script and testing tool can also be copied Shellfish is positioned under the same catalogue of USB flash disk into USB flash disk.Generally, test script and testing tool are copied in USB flash disk, with this U Disk is tested as test panel.
In summary, the VMD cressets test side for being applied to NVMe hard disks under UFEI shell that the embodiment of the present application provides Method, the NVMe hard disks tested needs gather its ID codings, and carry out cresset to each NVMe hard disks successively by script Test, it is this that VMD cresset automatic tests are realized by the way of software, the accuracy of VMD cressets test can be greatly improved And reliability, and avoid multiple plug hard disk or test panel and hard-disk interface are repeatedly subjected to plug, be advantageous to protect Hard disk.In addition, the method that this combination software realizes VMD cresset automatic tests, is ensuring the accuracy and reliability of test On the basis of, testing efficiency can be greatly improved.
Method of testing in the embodiment of the present application, it can be realized using following script:
echo-off
For%i run (%1%2)
Echo " NVME%i locate start!!"
LedToolVMDRSTeRS.efi/D%i 1/TIMEOUT 5
endfor
For%i run (%1%2)
Echo " NVME%i Fault start!!"
LedToolVMDRSTeRS.efi/D%i 2/TIMEOUT 5
endfor
For%i run (%1%2)
Echo " NVME%i Rebuld start!!"
LedToolVMDRSTeRS.efi/D%i 3/TIMEOUT 5
endfor
echo All test finished......
Referring to Fig. 6, Fig. 6 shows that the embodiment of the present application provides a kind of applied to NVMe hard disks under UFEI shell VMD cresset test systems, it will be appreciated from fig. 6 that the test system in the present embodiment mainly includes positioning lamp detection module, rebuilds lamp inspection Module and trouble light detection module are surveyed, wherein ID coding ranges acquisition module, which is used to obtain, needs to carry out VMD cresset tests The ID coding ranges of NVMe hard disks;Lighting test module is used to make VMD hard to each NVMe in the ID coding ranges successively Disk carries out lighting test;Whether judge module is used to be lighted according to cresset, judges that VMD controls whether to close to the cresset of NVMe hard disks Lattice, if VMD is according to ID coding-control NVMe hard disk lightings, the cresset of the NVMe hard disks to match with ID codings is bright Rise, judge that the cresset control for the NVMe hard disks that VMD matches to ID codings is qualified, otherwise, it is determined that VMD encodes to the ID The cresset control of the NVMe hard disks to match is unqualified.
Further, it is single to include positioning lamp detection unit, reconstruction lamp detection unit and trouble light detection for lighting test module Member.
A kind of specific works side for being applied to the VMD cresset test systems of NVMe hard disks under UFEI shell in the present embodiment Method and principle, elaborate, will not be repeated here in a kind of VMD cresset method of testings for being applied under UFEI shell.
The optional embodiment of simply the application described above, for those skilled in the art, On the premise of not departing from the application principle, some improvements and modifications can also be made, these improvements and modifications are also regarded as this Shen Protection domain please.

Claims (10)

1. a kind of VMD cresset method of testings for being applied to NVMe hard disks under UFEI shell, it is characterized in that, including:
Obtain the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests;
VMD carries out lighting test to each NVMe hard disks in the ID coding ranges successively;
If VMD is according to ID coding-control NVMe hard disk lightings, the cresset of the NVMe hard disks to match with ID codings is bright Rise, judge that the cresset control for the NVMe hard disks that VMD matches to ID codings is qualified, otherwise, it is determined that VMD encodes to the ID The cresset control of the NVMe hard disks to match is unqualified.
2. a kind of VMD cresset method of testings for being applied to NVMe hard disks under UFEI shell as claimed in claim 1, its feature It is that the acquisition needs to carry out the ID coding ranges of the NVMe hard disks of VMD cresset tests, comprises the following steps:
Obtain the ID codings for all NVMe hard disks for needing to carry out VMD cresset tests;
It is determined that need to carry out the ID codings of first NVMe hard disk of VMD cresset tests;
It is determined that need to carry out the ID codings of last NVMe hard disk of VMD cresset tests.
3. a kind of VMD cresset method of testings for being applied to NVMe hard disks under UFEI shell as claimed in claim 1, its feature It is that the lighting test includes:Positioning lamp detection, rebuild lamp inspection survey and trouble light detection, and positioning lamp, reconstruction lamp and trouble light Different cressets is corresponded to respectively.
4. a kind of VMD cresset method of testings being applied under UFEI shell as claimed in claim 3, it is characterized in that, VMD according to The method that secondary each NVMe hard disks in the ID coding ranges carry out lighting test includes:
According to cresset, VMD carries out positioning lamp detection to each NVMe hard disks in the ID coding ranges successively;
VMD carries out rebuilding lamp inspection survey successively to each NVMe hard disks in the ID coding ranges;
VMD carries out trouble light detection to each NVMe hard disks in the ID coding ranges successively.
5. a kind of VMD cresset method of testings for being applied to NVMe hard disks under UFEI shell as claimed in claim 3, its feature It is that the method that VMD carries out lighting test to each NVMe hard disks in the ID coding ranges successively includes:
Encoded according to ID, VMD is positioned respectively to first corresponding NVMe hard disk of ID codings in the ID coding ranges Lamp inspection is surveyed, rebuilds lamp inspection survey and trouble light detection;
VMD encodes corresponding NVMe hard disks to next ID in the ID coding ranges and carries out positioning lamp detection, again respectively Lamp inspection is built to survey and trouble light detection;
Positioning lamp inspection is carried out respectively until VMD encodes corresponding NVMe hard disks to last ID in the ID coding ranges Survey, rebuild lamp inspection survey and trouble light detection.
6. a kind of VMD cressets for being applied to NVMe hard disks under UFEI shell as described in any one in claim 3-5 are surveyed Method for testing, it is characterized in that, positioning lamp detection, reconstruction lamp inspection are surveyed and the order of trouble light detection can adjust.
7. a kind of VMD cressets for being applied to NVMe hard disks under UFEI shell as described in any one in claim 1-5 are surveyed Method for testing, it is characterized in that, the lighting test mode is lighted between cresset and extinguishing cresset to light cresset and extinguishing cresset It is provided with fixed time interval.
8. a kind of VMD cressets for being applied to NVMe hard disks under UFEI shell as described in any one in claim 1-5 are surveyed Method for testing, it is characterized in that, before the ID coding ranges for obtaining the NVMe hard disks for needing to carry out VMD cresset tests, methods described is also Including:
Test script and testing tool are deposited under same catalogue, the testing tool is the journey that test script needs to call Sequence;
Corresponding VMD state is arranged to open on the PCIE interfaces that NVMe hard disks will be connected;
Restart server and enter UEFI shell platforms.
9. a kind of VMD cresset test systems for being applied to NVMe hard disks under UFEI shell, it is characterized in that, the system includes:
ID coding range acquisition modules, for obtaining the ID coding ranges for the NVMe hard disks for needing to carry out VMD cresset tests;
Lighting test module, for making VMD carry out lighting test to each NVMe hard disks in the ID coding ranges successively;
Judge module, for whether being lighted according to cresset, it is qualified to judge that VMD controls whether to the cresset of NVMe hard disks, if VMD During according to ID coding-control NVMe hard disk lightings, the cresset of the NVMe hard disks to match with ID codings lights, and judges VMD pairs The cresset control for the NVMe hard disks that the ID codings match is qualified, otherwise, it is determined that the NVMe that VMD matches to ID codings The cresset control of hard disk is unqualified.
10. a kind of VMD cresset test systems for being applied to NVMe hard disks under UFEI shell as claimed in claim 9, it is special Sign is that the lighting test module includes:Positioning lamp detection unit, rebuild lamp detection unit and trouble light detection unit.
CN201710993269.8A 2017-10-23 2017-10-23 A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell Pending CN107783875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710993269.8A CN107783875A (en) 2017-10-23 2017-10-23 A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710993269.8A CN107783875A (en) 2017-10-23 2017-10-23 A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell

Publications (1)

Publication Number Publication Date
CN107783875A true CN107783875A (en) 2018-03-09

Family

ID=61433838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710993269.8A Pending CN107783875A (en) 2017-10-23 2017-10-23 A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell

Country Status (1)

Country Link
CN (1) CN107783875A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256504A (en) * 2020-10-14 2021-01-22 浪潮电子信息产业股份有限公司 Method, system and device for testing hard disk state indicator lamp

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070273541A1 (en) * 2006-05-24 2007-11-29 Inventec Corporation Signal processing system
CN101174234A (en) * 2006-11-03 2008-05-07 英业达股份有限公司 Mainboard error detection method
CN101650681A (en) * 2008-08-14 2010-02-17 鸿富锦精密工业(深圳)有限公司 Multiple hard disk LED lamp test system and method
CN104951384A (en) * 2015-06-16 2015-09-30 浪潮电子信息产业股份有限公司 Monitoring system based on NVME SSD, substrate management controller and monitoring method
CN105389248A (en) * 2015-12-02 2016-03-09 英业达科技有限公司 Lamp number control system of non-volatile memory solid-state hard disk
CN107145430A (en) * 2017-04-21 2017-09-08 深圳市同泰怡信息技术有限公司 A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070273541A1 (en) * 2006-05-24 2007-11-29 Inventec Corporation Signal processing system
CN101174234A (en) * 2006-11-03 2008-05-07 英业达股份有限公司 Mainboard error detection method
CN101650681A (en) * 2008-08-14 2010-02-17 鸿富锦精密工业(深圳)有限公司 Multiple hard disk LED lamp test system and method
US20100042353A1 (en) * 2008-08-14 2010-02-18 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. System and method for testing working condition of led indicators on hard disk drives
CN104951384A (en) * 2015-06-16 2015-09-30 浪潮电子信息产业股份有限公司 Monitoring system based on NVME SSD, substrate management controller and monitoring method
CN105389248A (en) * 2015-12-02 2016-03-09 英业达科技有限公司 Lamp number control system of non-volatile memory solid-state hard disk
CN107145430A (en) * 2017-04-21 2017-09-08 深圳市同泰怡信息技术有限公司 A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256504A (en) * 2020-10-14 2021-01-22 浪潮电子信息产业股份有限公司 Method, system and device for testing hard disk state indicator lamp

Similar Documents

Publication Publication Date Title
CN104123219B (en) Method and device for testing software
CN103744784B (en) Mobile phone application automated testing method and system
CN107078690B (en) The method and system with positioning failure is detected in DC system
US7561060B2 (en) Electroluminescent data cable identification and computer system diagnostics
US8395393B2 (en) Cable test method
CN111124919A (en) User interface testing method, device, equipment and storage medium
US11442095B2 (en) Cable harness test system and test method for checking cable harnesses
CA2971890A1 (en) System and method for performing a test procedure
CN101408582B (en) Method and apparatus for testing circuit board
CN107590042A (en) A kind of server method for testing open/close machine and system based on linux system
CN106227616A (en) Method for realizing RMT automatic test in batches
WO2019134113A1 (en) Automated test method and system
CN107894956A (en) A kind of long-range BIOS promotion and demotion refresh automated testing method
KR20100066815A (en) Automated test device for remote terminal unit
US20150327350A1 (en) A method of controlling a lighting system and a lighting system
CN107943005B (en) Detection method and detection device and unmanned aerial vehicle
JP2007507143A (en) Structured wiring system and patching method
CN107783875A (en) A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell
CN106649094A (en) Test method based on EventViewer development process
US8482307B2 (en) Method and apparatus for the prevention of untested or improperly tested printed circuit boards from being used in a fire pump control system
CN110489284A (en) A kind of server backplane wiring method of calibration and device
CN103901339A (en) Device and method for detecting one-way reliability of carrier rocket two-out-of-three ignition circuit
CN207557498U (en) A kind of wired seismic detector arrangement architecture convenient for investigating automatically
CN109271309B (en) Method and device for automatically testing software, server, equipment and storage medium
CN109976963A (en) A kind of method and apparatus that the BMC test macro based on general-purpose platform is realized

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: 20180309