CN107168840A - A kind of server UIDLED lamp function test methods for possessing foolproof function - Google Patents
A kind of server UIDLED lamp function test methods for possessing foolproof function Download PDFInfo
- Publication number
- CN107168840A CN107168840A CN201710358140.XA CN201710358140A CN107168840A CN 107168840 A CN107168840 A CN 107168840A CN 201710358140 A CN201710358140 A CN 201710358140A CN 107168840 A CN107168840 A CN 107168840A
- Authority
- CN
- China
- Prior art keywords
- server
- uid
- test
- led
- uid led
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
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)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention discloses a kind of server UID LED function test methods for possessing foolproof function, belong to server test field, the technical problem to be solved in the present invention is interacted excessively when being current computer server UID LED large-scale F CT functional tests with operator, the overweight action order of accuarcy for relying on operator, testing time length, accuracy rate are low, lack fool proof means and easily produce it is false survey, the technical scheme used for:This method comprises the following steps:(1), UID LED test program mirror images are put on the server, electric starting up, leads into test program on server;(2), test program start automatic execution, light or close automatically at random UID LED, test program directly reads UID LED hardware status informations;(3), operating personnel are according to actual observed value input test result;(4), the test result that inputs operator whether identical contrasted with directly reading UID LED hardware status information results by test program.
Description
Technical field
The present invention relates to server test field, specifically a kind of server UID LEDs for possessing foolproof function
Function test method.
Background technology
In the production of current computer server machine system, FCT functional tests will be carried out greatly.In current computer
In the large-scale F CT functional tests of UID LED factories, UID LED are by detecting that operating personnel judge the integrality of its function by hand.Need
UID LED buttons are pressed by operating personnel, UID LED are lighted, visually observe whether LED is lit, exact p-value result, operation
The time required to the speed of starting of personnel directly affects test.In above test process, to the action accuracy of operating personnel according to
Rely degree high, if operating personnel do not press UID LED buttons, do not go whether observation LED is lit, direct alarm lamp is by point
It is bright, it is possible to cause false survey, influence the management and control to product quality.Therefore how to solve current computer server UID LED
Interacted during large-scale F CT functional tests with operator excessively, the overweight action order of accuarcy for relying on operator, testing time length,
Accuracy rate is low, lack fool proof means and easily produce the problem of vacation is surveyed.
The content of the invention
The technical assignment of the present invention is to provide a kind of server UIDLED lamp function test methods for possessing foolproof function, comes
Solve to interact with operator excessively during current computer server UID LED large-scale F CT functional tests, overweight dependence operator
Action order of accuarcy, testing time length, accuracy rate are low, the problem of lack fool proof means and easily produce false survey.
The present invention technical assignment realize in the following manner, a kind of server UID LEDs for possessing foolproof function
Function test method, this method comprises the following steps:
(1), UID LED test program mirror images are put on the server, electric starting up, leads into test journey on server
Sequence;
(2), test program start automatic execution, light or close automatically at random UID LED, test program directly reads UID
LED hardware status informations;
(3), operating personnel are according to actual observed value input test result;
(4), the test result that inputs operator enters with directly reading UID LED hardware status information results by test program
Whether row contrast is identical:
If 1., identical, UID LED tests pass through;
If 2., differing, UID LED tests are bad.
Preferably, the step(1)In server using PXE start server.
Preferably, the step(2)Middle test program is lighted or closed automatically UID LED using IPMI protocol.
Preferably, the step(2)Middle test program reads UID LED current state informations using IPMI protocol.
The server UID LED function test methods for possessing foolproof function of the present invention have advantages below:
1st, the present invention realizes UID LED and lighted automatically, is lighted manually without operating personnel, and the work for reducing operating personnel is strong
Degree, automaticity is high, reduces the testing time, improves testing efficiency;When large scale test product, survey can be greatly reduced
The examination time, testing cost is reduced, improve accurate testing degree;
2nd, the present invention is random lights or closes UID LED, inputs and does not fix needed for test process, operating personnel can not survey by guess
The false survey of rule is inputted, false survey is effectively prevent, adds risk management;
3rd, it is of the invention by testing the input results of city reading UID LED hardware status informations and operating personnel's actual observation
Dual test mechanism, adds test accuracy;
4th, the present invention relates to computer UID LED factory's large scale tests field, UID LEDs are controlled to switch and look into using BMC
Inquiry state, realizes that simple to operate, speed is fast, save testing time and test during computer UID LED large-scale production tests
Accurately, UID LED testing process is made to simplify high-speeding.
Therefore the present invention is the features such as have reasonable in design, simple in construction, easy to use, one-object-many-purposes, thus, with good
Popularizing value.
Brief description of the drawings
The present invention is further described below in conjunction with the accompanying drawings.
Accompanying drawing 1 is the FB(flow block) for the server UID LED function test methods for possessing foolproof function.
Embodiment
With reference to Figure of description and specific embodiment to the server UID LED functions of possessing foolproof function of the invention
Method of testing is described in detail below.
Embodiment:
As shown in Figure 1, the server UID LED function test methods for possessing foolproof function of the invention, this method includes
Following steps:
(1), UID LED test program mirror images be placed on to PXE started on server, electric starting up, leads on server
Test program;
(2), test program start automatic execution, light or close automatically at random UID LED, test program directly reads UID
LED hardware status informations;Wherein, test program is lighted or closed automatically UID LED using IPMI protocol, and partial code example is such as
Under:
IPMIComm*opIpmi=IPMIComm::getInstance();
if(NULL==opIpmi)
{
Cerr < < " Cannot get the object of IPMI command class " < < endl;
return 1;
}
Ret=opIpmi- > initKCS(0x20);
if(0!=ret)
{
Cerr < < " Initialize BMC error, ret:" < < ret < < endl;
return ret;
}
szCmd[0]=0x00;
szCmd[1]=0x04;
szCmd[2]=0x00;
szCmd[3]=operate;
Ret=opIpmi- > operateCmd(SzCmd, 4, szRecv, sizeof(szRecv), &recvCount);
return ret;
(3), operating personnel are according to actual observed value input test result;Example code is as follows:
srand (time(NULL));
unsigned int opt=rand()/2;
updateProgress(0);
nErr=UIDOperate(opt);
Result=promptMessage(" LED-UID ", " Is the UID LED on ", PROMPT-YESNO);
Actled=CheckUIDStatus();
Test program reads UID LED current state informations using IPMI protocol, and partial code example is as follows:
szCmd[0]=0x00;
szCmd[1]=0x01;
Ret=opIpmi- > operateCmd(SzCmd, 2, szRecv, sizeof(szRecv), &recvCount);
if(0!=ret)
{
//SNPRINTF(SzErrCode, codeSize-1, " PSUINF0/02d ", ERRCODE-PSU-INITBMC);
Cerr < < " Operate CMD error, ret:" < < ret < < endl;
return2;
}
If(szRecv[5]==0x40)
{
return0;
}
if(szRecv[5]==0x60
{
Return1
};
(4), the test result that inputs operator enters with directly reading UID LED hardware status information results by test program
Whether row contrast is identical:
If 1., identical, UID LED tests pass through;
If 2., differing, UID LED tests are bad.
Partial code example is as follows:
Result=promptMessage(" LED-UID ", " Is the UID LED OFF ", PROMPT-YESNO);
switch(Result)
{
case DIAG-YES:
expled=1;
break;
case DIAG-NO:
expled=0;
break;
default:
expled=2;
break;
}
if(actlced!=expled)
{
ReportError(NErr ,-T(“LEDUID01”),-T(“UID LED out of work”));
return;
}
if(Result!=DIAG-YES)
{
ReportError(NErr ,-T(“LEDUID01”),-T(“UID LED out of work”));
return;
}
updateProgress(100).
By embodiment above, the those skilled in the art can readily realize the present invention.But should
Work as understanding, the present invention is not limited to a kind of above-mentioned embodiment.On the basis of disclosed embodiment, the technology
The technical staff in field can be combined different technical characteristics, so as to realize different technical schemes.Except described in specification
It is the known technology of those skilled in the art outside technical characteristic.
Claims (4)
1. a kind of server UID LED function test methods for possessing foolproof function, it is characterised in that:This method includes as follows
Step:
(1), UID LED test program mirror images are put on the server, electric starting up, leads into test journey on server
Sequence;
(2), test program start automatic execution, light or close automatically at random UID LED, test program directly reads UID
LED hardware status informations;
(3), operating personnel are according to actual observed value input test result;
(4), the test result that inputs operator enters with directly reading UID LED hardware status information results by test program
Whether row contrast is identical:
If 1., identical, UID LED tests pass through;
If 2., differing, UID LED tests are bad.
2. the server UID LED function test methods according to claim 1 for possessing foolproof function, its feature exists
In:The step(1)In server using PXE start server.
3. the server UID LED function test methods according to claim 1 for possessing foolproof function, its feature exists
In:The step(2)Middle test program is lighted or closed automatically UID LED using IPMI protocol.
4. the server UID LED function test methods according to claim 1 for possessing foolproof function, its feature exists
In:The step(2)Middle test program reads UID LED current state informations using IPMI protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358140.XA CN107168840A (en) | 2017-05-19 | 2017-05-19 | A kind of server UIDLED lamp function test methods for possessing foolproof function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358140.XA CN107168840A (en) | 2017-05-19 | 2017-05-19 | A kind of server UIDLED lamp function test methods for possessing foolproof function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107168840A true CN107168840A (en) | 2017-09-15 |
Family
ID=59815319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710358140.XA Pending CN107168840A (en) | 2017-05-19 | 2017-05-19 | A kind of server UIDLED lamp function test methods for possessing foolproof function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168840A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110579733A (en) * | 2019-09-25 | 2019-12-17 | 苏州浪潮智能科技有限公司 | indicator lamp health detection device and use method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010205233A (en) * | 2009-03-06 | 2010-09-16 | Nec Corp | Switching machine, control program, switching method, and switching program |
CN102789230A (en) * | 2012-08-13 | 2012-11-21 | 海信(山东)空调有限公司 | Method for automatically detecting air conditioner outdoor unit control panel |
CN202631107U (en) * | 2012-05-15 | 2012-12-26 | 孙临秋 | Light-emitting diode (LED) state on-line monitoring device utilizing optical fibers as transmission medium |
CN103985285A (en) * | 2014-05-07 | 2014-08-13 | 华侨大学 | Method and device for measuring attention range |
CN106226034A (en) * | 2016-07-22 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | The automatic test approach of the multiple LED light of server |
CN106649019A (en) * | 2017-01-11 | 2017-05-10 | 郑州云海信息技术有限公司 | Test method for overall automatic PCIE communication quality based on serial port |
-
2017
- 2017-05-19 CN CN201710358140.XA patent/CN107168840A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010205233A (en) * | 2009-03-06 | 2010-09-16 | Nec Corp | Switching machine, control program, switching method, and switching program |
CN202631107U (en) * | 2012-05-15 | 2012-12-26 | 孙临秋 | Light-emitting diode (LED) state on-line monitoring device utilizing optical fibers as transmission medium |
CN102789230A (en) * | 2012-08-13 | 2012-11-21 | 海信(山东)空调有限公司 | Method for automatically detecting air conditioner outdoor unit control panel |
CN103985285A (en) * | 2014-05-07 | 2014-08-13 | 华侨大学 | Method and device for measuring attention range |
CN106226034A (en) * | 2016-07-22 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | The automatic test approach of the multiple LED light of server |
CN106649019A (en) * | 2017-01-11 | 2017-05-10 | 郑州云海信息技术有限公司 | Test method for overall automatic PCIE communication quality based on serial port |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110579733A (en) * | 2019-09-25 | 2019-12-17 | 苏州浪潮智能科技有限公司 | indicator lamp health detection device and use method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102539955B (en) | The automatization test system of vehicle mounted multimedia | |
CN104794555B (en) | A kind of LED production and test data management system based on Internet of Things | |
CN104007340A (en) | Electronic product aging test system and aging test method | |
CN103995197A (en) | Aging test equipment for electronic products | |
CN101738251A (en) | Automatic test system and method | |
CN104007409A (en) | Device and method for automatically detecting intelligent ammeter liquid crystal wheel display content | |
CN112730406A (en) | Product testing method, system and readable storage medium | |
CN111239589A (en) | Electronic lock circuit board testing method, device and system | |
CN112416676A (en) | Testing tool applied to testing chip | |
CN111459616B (en) | Test method, device, equipment and storage medium | |
CN106733725A (en) | A kind of device of visual inspection connector outward appearance | |
CN107168840A (en) | A kind of server UIDLED lamp function test methods for possessing foolproof function | |
CN106407118B (en) | A kind of method and device of test user terminal | |
CN103913150A (en) | Consistency detection method for electron components of intelligent ammeter | |
CN112903308A (en) | Performance detection method and device for automobile equipment, electronic equipment and storage medium | |
CN110232881A (en) | Front board measuring method | |
CN105161439A (en) | Wafer testing management system and method | |
CN108562843A (en) | A kind of alternating current generator E3 controller circuit boards detecting system and method | |
CN110804812B (en) | Automatic computerized embroidery control system based on DSP and control method thereof | |
CN112711603A (en) | Workpiece detection method and system based on cloud and computer-readable storage medium | |
CN105631615B (en) | Detection system and detection method | |
CN103645977A (en) | Automatic debugging system and method for electronic products | |
CN113916899B (en) | Method, system and device for detecting large transfusion soft bag product based on visual identification | |
CN104977048A (en) | FCT automatic testing method for air conditioner | |
CN108507617A (en) | Temperature-humidity detecting device and its detection method |
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: 20170915 |