CN103678058A - Hardware detection system and method - Google Patents
Hardware detection system and method Download PDFInfo
- Publication number
- CN103678058A CN103678058A CN201210358398.7A CN201210358398A CN103678058A CN 103678058 A CN103678058 A CN 103678058A CN 201210358398 A CN201210358398 A CN 201210358398A CN 103678058 A CN103678058 A CN 103678058A
- Authority
- CN
- China
- Prior art keywords
- uut
- hardware
- test host
- hardware information
- 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
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a hardware detection method. The method is used for a test mainframe which is in communication connection with a UUT and used for testing hardware in the UUT before the UUT enters an operating system. The method includes the steps of receiving hardware information of the UUT, comparing the hardware information of the UUT with standard hardware information stored in a first memorizer to judge whether the hardware of the UUT meets the requirements or not, and if the hardware of the UUT does not meet the requirement, reminding operating personnel of the test result and demanding a BMC of the UUT to close down the UUT so that the operating personnel can examine the hardware insertion condition of the UUT. By means of the method, whether the hardware required by the UUT is well inserted or not is detected before the UUT enters the operating system to be subjected to the main board test or the system test.
Description
Technical field
The present invention relates to a kind of hardware detection system and method.
Background technology
In production line test server host board or system, generally all hardware modules all need to be assigned, and very different owing to producing the quality of measurement jig of line, probably cause some hardware can not normally work after plugging.
Under existing testing process, find above-mentioned problem, just must enter operating system and carry out test procedure.In test, time find after the problems referred to above, will shut down, power-off, heavily insert the hardware going wrong, then reopen machine, and retest, obviously, this work flow is lost time very much.
Summary of the invention
In view of above content, be necessary to provide a kind of hardware detection system and method, whether it can enter and before operating system is carried out mainboard or system testing, first detect the required hardware of this UUT and assign at UUT.
A hardware detection method, applies to the Test Host that is connected with equipment under test UUT communication, and for check the hardware of this UUT before described UUT enters operating system, the method comprises: receiving step, receives the hardware information of described UUT; Determining step, compares to judge the standard hardware information of storing in the hardware information of described UUT and first memory whether the hardware of this UUT meets the requirements; Shutdown procedures, when the hardware of described UUT is undesirable, prompting operating personnel's testing result the baseboard management controller BMC that orders UUT check that for operating personnel the hardware of this UUT assigns situation by described UUT shutdown.
A hardware detection system, runs on the Test Host being connected with equipment under test UUT communication, and for check the hardware of this UUT before described UUT enters operating system, this system comprises: receiver module, for receiving the hardware information of described UUT; Judge module, compares to judge for the standard hardware information that the hardware information of described UUT and first memory are stored whether the hardware of this UUT meets the requirements; Shutdown module, when undesirable for the hardware as described UUT, prompting operating personnel's testing result the baseboard management controller BMC that orders UUT shut down described UUT to check that for operating personnel the hardware of this UUT assigns situation.
Compared to prior art, described hardware detection system and method, whether it can enter and before operating system is carried out mainboard or system testing, first detect the required hardware of this UUT and assign at UUT, after thereby the hardware of avoiding finding UUT when this UUT carries out mainboard or system testing is nonconforming, need shutdown, check and the operation such as start again, also can reduce the activity duration.
Accompanying drawing explanation
Fig. 1 is the running environment figure of hardware detection system of the present invention.
Fig. 2 is the Organization Chart of equipment under test UUT of the present invention.
Fig. 3 is the process flow diagram of hardware detection method of the present invention preferred embodiment.
Fig. 4 illustrates standard hardware information.
Main element symbol description
|
100 |
|
200 |
Hardware detection system | 10 |
First memory | 20 |
Processor | 30 |
BMC | 40 |
|
50 |
Second memory | 60 |
Router | 90 |
Dynamic Host |
300 |
Receiver module | 11 |
Judge module | 12 |
Shutdown module | 13 |
Test module | 14 |
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of hardware detection system of the present invention.In the present embodiment, hardware detection system 10 runs in Test Host 100, this Test Host 100 and the same batch of N(N>=1 testing shown in Fig. 1) platform UUT(Unit Under Test, equipment under test) 200 connect by network, whether described hardware detection system 10 for example, meets the requirements for need test the hardware of (mainboard test or system testing) front each UUT200 of detection as described N platform UUT200, and whether the hard disk quantity, the memory capacity that for example detect this N platform UUT200 meet the requirements.
It should be noted that, described Test Host 100 can be for being provided with DHCP(Dynamic Host Configuration Protocol, DynamicHost arranges agreement) service computing machine, by agreement (the Internet Protocol interconnecting between DHCP service distribution network, IP) described N platform UUT200 is given in address, makes described Test Host 100 can carry out network communication with described N platform UUT200.In concrete implementation process, also can be by a special computing machine as Dynamic Host Configuration Protocol server, carry out the distribution of IP address to described Test Host 100 and described N platform UUT200, thereby make described Test Host 100 and described N platform UUT200 can carry out network communication.
In the present embodiment, described Test Host 100 is connected with Dynamic Host Configuration Protocol server 300 by router 90 with described N platform UUT200, by described Dynamic Host Configuration Protocol server 300, gives described Test Host 100 and described N platform UUT200 distributing IP address.
Described each UUT200 comprises BMC(Baseboard Management controller, baseboard management controller) 40, BIOS(Basic Input Output System, input-output system) 50 and second memory 60(consult shown in Fig. 2).Described second memory 60 can be for storing the firmware of described BIOS50.
In the present embodiment, when described UUT200 powers on while not starting shooting, BMC40 starts and to described Dynamic Host Configuration Protocol server 300 application distributing IP addresses, and utilizes the IP address and the Test Host 100 that distribute to carry out communication.When POST (Power On Self Test is carried out in described UUT200 start, startup self-detection) time, described BIOS50 scans the hardware information of described UUT200 and stores this hardware information into described second memory 60, and described BMC40 sends to described Test Host 100 by the hardware information of this UUT200 read the hardware information of described UUT200 from described second memory 60 after.In the present embodiment, need in the firmware of described BMC40, increase the function that this BMC40 can read the hardware information of described UUT200 and this hardware information be sent to described Test Host 100 from described second memory 60.
In the present embodiment, described Test Host 100 also comprises first memory 20 and processor 30, the standard hardware information of described first memory 20 pre-stored UUT200, such as CPU(Central Processing Unit), internal memory, hard disk, PCI(Peripheral Component Interconnect) standard information of the hardware such as card.The information (consulting shown in Fig. 4) such as quantity, hard disc storage capacity that can comprise hard disk such as the information of standard hard drive.Described standard hardware information, for receiving after the hardware information of described UUT200 when described Test Host 100, is compared the hardware information of described UUT200 and this standard hardware information, to judge whether the required hardware of described UUT200 is assigned.
Described first memory 20 also for storing other data, for example, is stored the sequencing code of described hardware detection system 10.In the present embodiment, described hardware detection system 10 comprises receiver module 11, judge module 12, shutdown module 13 and test module 14.The alleged module of the present invention has been the program segment of a specific function, about the function of each module, will in the process flow diagram of Fig. 3, specifically describe.
As shown in Figure 3, be the process flow diagram of hardware detection method of the present invention preferred embodiment.
Step S1, by Test Host 100 starts, applies for and is assigned to an IP address from Dynamic Host Configuration Protocol server 300 after Test Host 100 starting up.For example being assigned to IP address is: 192.168.1.10.UUT200 is powered on, the BMC40 of this UUT200 starts and applies for distributing IP addresses to described Dynamic Host Configuration Protocol server 300, and utilize IP address and the described Test Host 100 distribute to carry out network communication, for example described BMC40 is assigned to IP address from described Dynamic Host Configuration Protocol server application and is: 192.168.1.20.
Step S2, by described UUT200 start, this UUT200 carries out POST when starting up, and BIOS50 scans the hardware information of described UUT200 and the hardware information of this UUT200 is stored in second memory 60 when this UUT200 carries out POST.Described hardware information comprises the relevant information of the hardware configuration such as CPU, internal memory, hard disk, pci card.
For clearly demonstrating the present invention, the present embodiment illustrates with the hard disk of described UUT200, the hard disk information that for example scanning obtains described UUT200 is: the memory capacity that sequence number is S26VJ9AZA11029 is 320G, and the memory capacity that sequence number is S26VJ9AZA11022 is 250G.
Step S3, BMC40 reads the hardware information of described UUT200 and the hardware information of this UUT200 is sent to described Test Host 100 from described second memory 60.Receiver module 11 receives the hardware information of this UUT200.
Here, need in the firmware of BMC40, increase newly and described from second memory 60, read the hardware information of described UUT200 and the hardware information of this UUT200 is sent to the function of described Test Host 100.
Step S4, judge module 12 compares to judge the standard hardware information of storing in the hardware information of described UUT200 and first memory 20 whether the required hardware of this UUT200 meets the requirements, and performs step if not S5, if perform step S6.
For example, in the standard hardware information of storing in described first memory 20, record standard hard disk quantity has 3, but only scan the information (for example having 1 hard disk because measurement jig is not fixed and causes the information of this hard disk to be scanned) of the hard disk of 2 of this UUT200, can judge that the standard hardware information of storing in the hardware information of this UUT200 and first memory 20 is inconsistent, now perform step S5.
And for example, if scanning show that the hard disk of described UUT200 is 3, memory capacity is respectively 320G, 250G, 250G, but standard hardware information table the inside requires the memory capacity size of hard disk to need respectively to reach 320G, 250G, 300G, under this condition, performs step S5.Also the basis for estimation that is this step can arrange according to real needs.
Step S5, shutdown module 13 prompting operating personnel's testing results also order BMC40 that described UUT200 is shut down.For example according to the judgement testing result prompting operating personnel of step S4, there is a hard disk not assign or be not plugged, need inspection hard disk to assign situation etc.The IP address (as 192.168.1.20) of shutdown module 13 by BMC40 to as described in BMC40 send order, order described BMC40 that described UUT200 shutdown is assigned to situation so that operating personnel checks hard disk.Described BMC40 shuts down described UUT200 after receiving described shutdown command.
Step S6, the hardware of UUT200 meets the requirements and enters operating system, and 14 couples of described UUT200 of test module test.
From process step of the present invention, can find out, whether the present invention just detected the required hardware of this UUT200 and assigns before UUT200 enters operating system, after thereby the hardware of avoiding finding UUT200 when this UUT200 carries out mainboard or system testing is nonconforming, need shutdown, check and the operation such as start again, also can reduce the activity duration.
Finally it should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a hardware detection method, applies to the Test Host that is connected with equipment under test UUT communication, for checking before described UUT enters operating system, it is characterized in that the hardware of this UUT, and the method comprises:
Receiving step, receives the hardware information of described UUT;
Determining step, compares to judge the standard hardware information of storing in the hardware information of described UUT and first memory whether the hardware of this UUT meets the requirements;
Shutdown procedures, when the hardware of described UUT is undesirable, prompting operating personnel's testing result the baseboard management controller BMC that orders UUT check that for operating personnel the hardware of this UUT assigns situation by described UUT shutdown.
2. hardware detection method as claimed in claim 1, is characterized in that, the method also comprises before receiving step:
The step that powers on, powers on described UUT to start the BMC of this UUT;
Start step, by described UUT start, makes the input-output system BIOS of this UUT when this UUT carries out startup self-detection POST, scans the hardware information of described UUT and this hardware information is stored in the second memory of described UUT; And
Read step, described BMC reads the hardware information of described UUT and this hardware information is sent to described Test Host from described second memory.
3. hardware detection method as claimed in claim 1, is characterized in that, the method also comprises testing procedure, when the hardware of described UUT meets the requirements after entering operating system, this UUT is tested.
4. the hardware detection method as described in claim 1 or 2 or 3, is characterized in that, described Test Host is connected with many UUT by router.
5. hardware detection method as claimed in claim 4, it is characterized in that, after described Test Host start, be assigned to an IP address, after every UUT powers on, all be assigned to an IP address, every UUT utilizes IP address and the described Test Host communication distributing.
6. a hardware detection system, runs on the Test Host being connected with equipment under test UUT communication, for checking before described UUT enters operating system, it is characterized in that the hardware of this UUT, and this system comprises:
Receiver module, for receiving the hardware information of described UUT;
Judge module, compares to judge for the standard hardware information that the hardware information of described UUT and first memory are stored whether the hardware of this UUT meets the requirements;
Shutdown module, when undesirable for the hardware as described UUT, prompting operating personnel's testing result the baseboard management controller BMC that orders UUT shut down described UUT to check that for operating personnel the hardware of this UUT assigns situation.
7. hardware detection system as claimed in claim 6, it is characterized in that, the hardware information of described UUT is that the input-output system BIOS by described UUT scans and obtains and be stored in the second memory of described UUT when this UUT carries out startup self-detection POST, and the BMC of described UUT sends to described Test Host after reading from described second memory.
8. hardware detection system as claimed in claim 6, is characterized in that, this system also comprises test module, when the hardware of described UUT meets the requirements after entering operating system, this UUT is tested.
9. the hardware detection system as described in claim 6 or 7 or 8, is characterized in that, described Test Host is connected with many UUT by router.
10. hardware detection system as claimed in claim 9, it is characterized in that, after described Test Host start, be assigned to an IP address, after every UUT powers on, all be assigned to an IP address, every UUT utilizes IP address and the described Test Host communication distributing.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210358398.7A CN103678058A (en) | 2012-09-24 | 2012-09-24 | Hardware detection system and method |
TW101135757A TW201413259A (en) | 2012-09-24 | 2012-09-28 | System and method of testing hardware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210358398.7A CN103678058A (en) | 2012-09-24 | 2012-09-24 | Hardware detection system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103678058A true CN103678058A (en) | 2014-03-26 |
Family
ID=50315703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210358398.7A Pending CN103678058A (en) | 2012-09-24 | 2012-09-24 | Hardware detection system and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103678058A (en) |
TW (1) | TW201413259A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126389A (en) * | 2016-06-23 | 2016-11-16 | 上海爱数信息技术股份有限公司 | Hardware detection method and system |
CN106776258A (en) * | 2016-12-29 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of Windows system servers Hardware Monitoring |
CN106940432A (en) * | 2016-01-04 | 2017-07-11 | 苏州普源精电科技有限公司 | A kind of instrument connective method of testing and test system |
CN113254282A (en) * | 2021-05-14 | 2021-08-13 | 山东英信计算机技术有限公司 | Hard disk information detection method, system and storage medium before server startup |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI679532B (en) * | 2018-10-05 | 2019-12-11 | 緯穎科技服務股份有限公司 | Monitoring system and method |
-
2012
- 2012-09-24 CN CN201210358398.7A patent/CN103678058A/en active Pending
- 2012-09-28 TW TW101135757A patent/TW201413259A/en unknown
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106940432A (en) * | 2016-01-04 | 2017-07-11 | 苏州普源精电科技有限公司 | A kind of instrument connective method of testing and test system |
CN106940432B (en) * | 2016-01-04 | 2020-06-12 | 普源精电科技股份有限公司 | Method and system for testing instrument connectivity |
CN106126389A (en) * | 2016-06-23 | 2016-11-16 | 上海爱数信息技术股份有限公司 | Hardware detection method and system |
CN106126389B (en) * | 2016-06-23 | 2019-02-01 | 上海爱数信息技术股份有限公司 | Hardware detection method and system |
CN106776258A (en) * | 2016-12-29 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of Windows system servers Hardware Monitoring |
CN113254282A (en) * | 2021-05-14 | 2021-08-13 | 山东英信计算机技术有限公司 | Hard disk information detection method, system and storage medium before server startup |
Also Published As
Publication number | Publication date |
---|---|
TW201413259A (en) | 2014-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10630637B2 (en) | Method for ascertaining an IP address and a MAC address of a unit under test mounted in a rack server | |
CN110058998B (en) | Software testing method and device | |
CN103678058A (en) | Hardware detection system and method | |
WO2021129551A1 (en) | Method and system for testing pcba board, and test device and micro control unit | |
US20170192768A1 (en) | Updating system of firmware of complex programmable logic device and updating method thereof | |
CN103973515A (en) | Network card stability testing method | |
CN107612775A (en) | A kind of node two level connects the DC method of testings and system of server | |
CN103546586A (en) | Internet Protocol (IP) address matching system and method | |
EP2161647A1 (en) | Power-on protection method, module and system | |
CN108806761A (en) | A kind of SSD function test methods, system and computer storage media | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
CN106557392A (en) | Server failure detection means and method | |
US8391162B2 (en) | Apparatus and method for testing SMNP cards | |
CN117687695A (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN107179972A (en) | For the method for calculation machine, microcontroller, test equipment and test system | |
TW202018312A (en) | Testing system | |
CN111367735A (en) | Test method and system based on server to be tested and Wuban diagram operating system | |
CN104679625A (en) | Computer system and method for testing computer system | |
CN111277463B (en) | Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC | |
CN104660418A (en) | Network awakening control system and method | |
CN112910736A (en) | Delivery detection method and device for communication equipment and storage medium | |
CN112492061A (en) | IP address modification method, device and equipment of BMC (baseboard management controller) and readable storage medium | |
CN116501563B (en) | Storage device testing method, system, device, communication device and storage medium | |
CN112003727A (en) | Multi-node server power supply testing method, system, terminal and storage medium | |
CN111327722B (en) | Conflict detection method, system, terminal and storage medium for static IP and dynamic IP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140326 |