CN109947621A - A kind of method and device of server test - Google Patents

A kind of method and device of server test Download PDF

Info

Publication number
CN109947621A
CN109947621A CN201910199450.0A CN201910199450A CN109947621A CN 109947621 A CN109947621 A CN 109947621A CN 201910199450 A CN201910199450 A CN 201910199450A CN 109947621 A CN109947621 A CN 109947621A
Authority
CN
China
Prior art keywords
front panel
instruction
mainboard
external
connected port
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.)
Granted
Application number
CN201910199450.0A
Other languages
Chinese (zh)
Other versions
CN109947621B (en
Inventor
任凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201910199450.0A priority Critical patent/CN109947621B/en
Publication of CN109947621A publication Critical patent/CN109947621A/en
Application granted granted Critical
Publication of CN109947621B publication Critical patent/CN109947621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a kind of method and devices of server test, server includes mainboard, front panel, mainboard is connected with front panel by wire rod, this method includes, periodically detect the first instruction that front panel is sent to mainboard, if current detection cycle detection is instructed to first, it is determined that the connected state that front panel is between normal operating condition and front panel and mainboard is normal condition, according to the display state of the first instruction control display lamp.The technical solution, which may not need, restarts server, improves the efficiency of server test.

Description

A kind of method and device of server test
Technical field
The present embodiments relate to the method and devices that server testing field more particularly to a kind of server are tested.
Background technique
Server needs to carry out functional test to each board of server after test manufacture, and the prior art includes display in test When the front panel of function and control function, needs to detect the key of restarting of front panel, manually press after restarting key, observation service Whether device restarts.But this test mode not only wastes unnecessary manpower, while when Server Restart, affects other plates The test process of card reduces testing efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of server test, to improve the test effect of server test Rate.
Server includes mainboard, front panel, and the mainboard is connected with the front panel by wire rod;
Periodically detect the first instruction that front panel is sent to mainboard;
If current detection cycle detection is instructed to described first, it is determined that the front panel is in normal operating condition and institute Stating the connected state between front panel and the mainboard is normal condition;
According to the display state of the first instruction control display lamp.
In above-mentioned technical proposal, server includes mainboard, front panel, and mainboard is connected with front panel by wire rod, front panel The first instruction is sent to mainboard, mainboard is periodically detected the first instruction, if current period detects the first instruction, it is determined that front Plate and mainboard are in normal connected state and front panel operates normally, and mainboard is shown according to the first instruction control display lamp, In the technical solution, without manually pressing the key of restarting of front panel, and without restarting server, it can detect server Whether the operating status of connected state and front panel between front panel is normal, saves the workload of tester, and test The test that will not influence other boards of server in the process improves the testing efficiency of server test.
Optionally, further includes:
If first instruction is not detected in the current detection period, it is determined that the front panel is in abnormal operating condition And/or the connected state between the front panel and the mainboard is abnormality.
In above-mentioned technical proposal, if the first instruction is not detected in current period in mainboard, it can determine that front panel is in Connected state between abnormal operating condition and/or front panel and mainboard is abnormality, need tester to front panel or The connection of person's front panel and mainboard carries out manual operation.
Optionally, the display lamp is LED (Light Emitting Diode, light emitting diode) lamp;
The display state according to the first instruction control display lamp, comprising:
According to first instruction, controls the LED light and light.
In above-mentioned technical proposal, display lamp is LED light, can be according to the first instruction after mainboard receives the first instruction Control LED light is lighted, when tester sees that LED light is lighted, it can is determined that front panel is in mainboard and is normally connected to State and front panel operate normally, and LED light can be such that tester intuitively judges.
Optionally, first instruction is that the input and output I/O device on the front panel issues, the IO (Input/ Output, input and output) equipment includes key or external-connected port.
In above-mentioned technical proposal, there can be I/O device on front panel, I/O device includes key or external-connected port, and the two is all The first instruction can be sent to mainboard.
Optionally, the front panel includes external-connected port, and the external-connected port is connected with the outer of the test external-connected port Connect terminal;
The method also includes:
Periodically the first data of detection;First data are external connection end of the external terminal by the front panel Mouth is sent to the data of the mainboard;
If current detection cycle detection determines described outer for controlling to first data according to first data The control instruction of the display state of terminal is connect, and determines that the external-connected port of the front panel is in normal condition;
The control instruction is sent to the external-connected port of the front panel, to control the external terminal on the external-connected port Display state.
In above-mentioned technical proposal, front panel includes external-connected port, and external-connected port is connected with external terminal, which uses In test external-connected port.External terminal can send the first data to mainboard, and mainboard is periodically detected the first data, if current week Phase detects the first data, then mainboard determines that the external-connected port of front panel is in normal condition, and mainboard is true according to the first data Determine control instruction, and the control instruction is sent to external terminal, to control the display state of external terminal.Tester can be with By the display state of external terminal, the working condition of current external-connected port is intuitively judged.
Optionally, further includes:
If first data are not detected in the current detection period, it is determined that the external-connected port of the front panel is in abnormal State.
In above-mentioned technical proposal, if the first data are not detected in current period in mainboard, the outer of front panel can be determined Connecing port is abnormality, and tester is needed to carry out manual operation to the external-connected port of front panel.
Correspondingly, the embodiment of the invention also provides a kind of device of server test, the server includes mainboard, preceding Panel, the mainboard and the front panel are connected by wire rod;
Described device includes:
Detection unit, the first instruction sent for periodically detecting front panel to mainboard;
Processing unit, if for current detection cycle detection to first instruction, it is determined that the front panel is in just The normal operating status and connected state between the front panel and the mainboard is normal condition;And it is controlled according to first instruction The display state of display lamp processed.
Optionally, the processing unit is also used to:
If first instruction is not detected in the current detection period, it is determined that the front panel is in abnormal operating condition And/or the connected state between the front panel and the mainboard is abnormality.
Optionally, the display lamp is LED light;
The processing unit is specifically used for:
According to first instruction, controls the LED light and light.
Optionally, it is described first instruction be the front panel on I/O device issue, the I/O device include key or Person's external-connected port.
Optionally, the front panel includes external-connected port, and the external-connected port is connected with the outer of the test external-connected port Connect terminal;
The processing unit is also used to:
It controls the detection unit and periodically detects the first data;First data are that the external terminal passes through institute The external-connected port for stating front panel is sent to the data of the mainboard;
If current detection cycle detection determines described outer for controlling to first data according to first data The control instruction of the display state of terminal is connect, and determines that the external-connected port of the front panel is in normal condition;
The control instruction is sent to the external-connected port of the front panel, to control the external terminal on the external-connected port Display state.
Optionally, the processing unit is also used to:
If first data are not detected in the current detection period, it is determined that the external-connected port of the front panel is in abnormal State.
Correspondingly, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned service according to the program of acquisition for calling the program instruction stored in the memory The method of device test.
Correspondingly, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, including computer Readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes above-mentioned server test Method.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of schematic diagram of system architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for server test provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the device of server test provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 illustratively shows the system architecture that the method that the embodiment of the present invention provides server test is applicable in, should System architecture can be server, which includes front panel 100, backboard 200, mainboard 300 and external terminal 400, wherein Front panel 100, backboard 200, mainboard 300 are sequentially connected, and front panel 100 includes I/O device, and mainboard 300 includes display lamp, and IO is set Standby to send signal to mainboard 300, mainboard 300 controls display lamp upon receipt of the signals and shows.External terminal 400 and front Plate 100 connects, and external terminal 400 can pass sequentially through front panel 100, backboard 200 and send data to mainboard 300, and mainboard 300 exists The external display of terminal 400 is controlled after receiving data.
Based on foregoing description, Fig. 2 illustratively shows a kind of method of server test provided in an embodiment of the present invention Process, the process can by server test device execute, the device can be located at mainboard in, can be the mainboard.Such as Shown in Fig. 2, which is specifically included:
Step 201, the first instruction that front panel is sent to mainboard is periodically detected.
Mainboard is connected with front panel by wire rod, and front panel sends the first instruction to mainboard, mainboard be periodically detected this One instruction judges whether can detecte in the current detection period to the first instruction.Specifically, front panel includes I/O device, IO Equipment sends the first instruction to mainboard, wherein the I/O device may include key or external-connected port.
Step 202, if current detection cycle detection is instructed to described first, it is determined that the front panel, which is in, to be operated normally Connected state between state and the front panel and the mainboard is normal condition.
If mainboard detects the first instruction in the current detection period, the first instruction that front panel is sent can be determined It can be with normal transmission to mainboard, that is to say, that bright, front panel is in the connection between normal operating condition and front panel and mainboard State is normal condition.
In the embodiment of the present invention, if the first instruction is not detected in mainboard in the current detection period, before can determining Panel fails the first instruction normal transmission to mainboard, that is to say, that bright, front panel is in abnormal operating condition and/or front panel Connected state between mainboard is abnormality.
Step 203, according to the display state of the first instruction control display lamp.
Optionally, display lamp can be LED light, and mainboard can control after receiving the first instruction according to the first instruction LED light is lighted, when tester sees that LED light is lighted, it can determines that front panel and mainboard are in normal connected state And front panel operates normally, LED light can be such that tester intuitively judges.
In the embodiment of the present invention, front panel may include external-connected port, and external-connected port is connect with external terminal, the external end It holds whether normal for testing the external-connected port of front panel.External terminal sends first to mainboard by the external-connected port of front panel Data, mainboard periodically detect first data, if mainboard in current detection cycle detection to the first data, according to this One data determine the control instruction for controlling the display state of external terminal, and determine that the external-connected port of front panel is in normal State, further, the external-connected port of mainboard front panel send the control instruction, to control the external terminal on external-connected port Display state.Tester can intuitively judge the work of current external-connected port by the display state of external terminal State.
In addition, if the first data are not detected in the current detection period in mainboard, it is determined that the external-connected port of front panel is in Abnormality.
In the embodiment of the present invention, the external-connected port of front panel can be USB (Universal Serial Bus, general string Row bus) interface, external terminal can be usb terminal module, and usb terminal module includes functional module, computing module and display Module, functional module carry out data transmit-receive by external-connected port for usb terminal module and front panel, and computing module is for generating Front panel is sent after data, and display module according to the control instruction of mainboard for being shown.
In above-mentioned technical proposal, server includes mainboard, front panel, and mainboard is connected with front panel by wire rod, front panel The first instruction is sent to mainboard, mainboard is periodically detected the first instruction, if current period detects the first instruction, it is determined that front Plate and mainboard are in normal connected state and front panel operates normally, and mainboard is shown according to the first instruction control display lamp, In the technical solution, without manually pressing the key of restarting of front panel, and without restarting server, it can detect server Whether the operating status of connected state and front panel between front panel is normal, saves the workload of tester, and test The test that will not influence other boards of server in the process improves the testing efficiency of server test.
Based on the same inventive concept, Fig. 3 illustratively shows a kind of server test provided in an embodiment of the present invention The structure of device, the process for the method which can be tested with execute server.
The server includes mainboard, front panel, and the mainboard is connected with the front panel by wire rod;
Described device includes:
Detection unit 301, the first instruction sent for periodically detecting front panel to mainboard;
Processing unit 302, if for current detection cycle detection to first instruction, it is determined that the front panel is in Connected state between normal operating condition and the front panel and the mainboard is normal condition;And according to first instruction Control the display state of display lamp.
Optionally, the processing unit 302 is also used to:
If first instruction is not detected in the current detection period, it is determined that the front panel is in abnormal operating condition And/or the connected state between the front panel and the mainboard is abnormality.
Optionally, the display lamp is LED light;
The processing unit 302 is specifically used for:
According to first instruction, controls the LED light and light.
Optionally, it is described first instruction be the front panel on I/O device issue, the I/O device include key or Person's external-connected port.
Optionally, the front panel includes external-connected port, and the external-connected port is connected with the outer of the test external-connected port Connect terminal;
The processing unit 302 is also used to:
Control the detection unit 301 periodically the first data of detection;First data are that the external terminal is logical The external-connected port for crossing the front panel is sent to the data of the mainboard;
If current detection cycle detection determines described outer for controlling to first data according to first data The control instruction of the display state of terminal is connect, and determines that the external-connected port of the front panel is in normal condition;
The control instruction is sent to the external-connected port of the front panel, to control the external terminal on the external-connected port Display state.
Optionally, the processing unit 302 is also used to:
If first data are not detected in the current detection period, it is determined that the external-connected port of the front panel is in abnormal State.
Based on the same inventive concept, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned service according to the program of acquisition for calling the program instruction stored in the memory The method of device test.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, Including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned The method of server test.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of server test, which is characterized in that the server includes mainboard, front panel, the mainboard and institute Front panel is stated to connect by wire rod;
The described method includes:
Periodically detect the first instruction that front panel is sent to mainboard;
If current detection cycle detection to it is described first instruction, it is determined that the front panel be in normal operating condition and it is described before Connected state between panel and the mainboard is normal condition;
According to the display state of the first instruction control display lamp.
2. the method as described in claim 1, which is characterized in that further include:
If the current detection period be not detected it is described first instruction, it is determined that the front panel be in abnormal operating condition and/or Connected state between the front panel and the mainboard is abnormality.
3. the method as described in claim 1, which is characterized in that the display lamp is LED lamp;
The display state according to the first instruction control display lamp, comprising:
According to first instruction, controls the LED light and light.
4. the method as described in claim 1, which is characterized in that first instruction is the input and output IO on the front panel What equipment issued, the I/O device includes key or external-connected port.
5. the method as described in claim 1, which is characterized in that the front panel includes external-connected port, and the external-connected port connects It is connected to the external terminal for testing the external-connected port;
The method also includes:
Periodically the first data of detection;First data are that the external terminal is sent out by the external-connected port of the front panel Give the data of the mainboard;
If current detection cycle detection is determined according to first data for controlling the external end to first data The control instruction of the display state at end, and determine that the external-connected port of the front panel is in normal condition;
The control instruction is sent to the external-connected port of the front panel, to control the aobvious of the external terminal on the external-connected port Show state.
6. method as claimed in claim 5, which is characterized in that further include:
If first data are not detected in the current detection period, it is determined that the external-connected port of the front panel is in abnormal shape State.
7. a kind of device of server test characterized by comprising
Detection unit, the first instruction sent for periodically detecting front panel to mainboard;
Processing unit, if for current detection cycle detection to first instruction, it is determined that the front panel is in normal fortune Connected state between row state and the front panel and the mainboard is normal condition;And it is aobvious according to the first instruction control Show the display state of lamp.
8. device as claimed in claim 7, which is characterized in that the processing unit is also used to:
If the current detection period be not detected it is described first instruction, it is determined that the front panel be in abnormal operating condition and/or Connected state between the front panel and the mainboard is abnormality.
9. device as claimed in claim 7, which is characterized in that the display lamp is LED lamp;
The processing unit is specifically used for:
According to first instruction, controls the LED light and light.
10. device as claimed in claim 7, which is characterized in that first instruction is the input and output on the front panel What I/O device issued, the I/O device includes key or external-connected port.
CN201910199450.0A 2019-03-15 2019-03-15 Server testing method and device Active CN109947621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910199450.0A CN109947621B (en) 2019-03-15 2019-03-15 Server testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910199450.0A CN109947621B (en) 2019-03-15 2019-03-15 Server testing method and device

Publications (2)

Publication Number Publication Date
CN109947621A true CN109947621A (en) 2019-06-28
CN109947621B CN109947621B (en) 2022-09-09

Family

ID=67008912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910199450.0A Active CN109947621B (en) 2019-03-15 2019-03-15 Server testing method and device

Country Status (1)

Country Link
CN (1) CN109947621B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049679A (en) * 2019-12-02 2020-04-21 深圳市智微智能软件开发有限公司 Server warning method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135054A (en) * 2003-10-29 2005-05-26 Hiroji Emoto Warning lamp system
CN101699410A (en) * 2009-11-11 2010-04-28 中兴通讯股份有限公司 Single plate hardware fault detection method and device
CN103412420A (en) * 2013-07-30 2013-11-27 京东方科技集团股份有限公司 Display, test system and test method of test system
CN108021119A (en) * 2016-10-31 2018-05-11 河南蓝信科技股份有限公司 A kind of EOAS device detection systems and its method
CN108093118A (en) * 2017-11-23 2018-05-29 广东欧珀移动通信有限公司 The test method of device, test device and computer readable storage medium on mainboard
CN108446197A (en) * 2018-03-13 2018-08-24 云南电网有限责任公司电力科学研究院 A kind of control protection board automatic checkout system and method
CN109342929A (en) * 2018-11-12 2019-02-15 卡斯柯信号有限公司 A kind of CVC-200T hardware intelligent test system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135054A (en) * 2003-10-29 2005-05-26 Hiroji Emoto Warning lamp system
CN101699410A (en) * 2009-11-11 2010-04-28 中兴通讯股份有限公司 Single plate hardware fault detection method and device
CN103412420A (en) * 2013-07-30 2013-11-27 京东方科技集团股份有限公司 Display, test system and test method of test system
CN108021119A (en) * 2016-10-31 2018-05-11 河南蓝信科技股份有限公司 A kind of EOAS device detection systems and its method
CN108093118A (en) * 2017-11-23 2018-05-29 广东欧珀移动通信有限公司 The test method of device, test device and computer readable storage medium on mainboard
CN108446197A (en) * 2018-03-13 2018-08-24 云南电网有限责任公司电力科学研究院 A kind of control protection board automatic checkout system and method
CN109342929A (en) * 2018-11-12 2019-02-15 卡斯柯信号有限公司 A kind of CVC-200T hardware intelligent test system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049679A (en) * 2019-12-02 2020-04-21 深圳市智微智能软件开发有限公司 Server warning method and system

Also Published As

Publication number Publication date
CN109947621B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
JP4885316B2 (en) Test apparatus and test method
CN106547668B (en) Computer system fault alarming method, apparatus and system
CN107656856B (en) CPLD-based system state display method and device
CN108803564B (en) Automatic testing system and method for communication control equipment
CN103513144B (en) Electronic system, connection failure reporting system and related method
CN103970628A (en) Automatic detection system and automatic detection method thereof
CN105426276A (en) Fault detection method for double control storage controllers and storage controllers
CN107643903B (en) Method and device for automatically entering BIOS configuration interface by server
CN109947621A (en) A kind of method and device of server test
CN100530130C (en) Function testing system
CN102281105A (en) Method and device for detecting optical fiber state
CN108319516B (en) Test system and test method
CN112654119B (en) LED drive test method, driver, system and electronic equipment
CN110232881A (en) Front board measuring method
US8635502B2 (en) Debug card and method for diagnosing faults
CN107677954A (en) A kind of automobile instrument digital quantity parallel detecting method and system
CN109597389A (en) A kind of test macro of embedded control system
CN109783286B (en) Built-in test method, test device, terminal equipment and storage medium
CN109581188B (en) Function detection method for terminal on mainboard, intelligent device and storage medium
CN203069768U (en) Device for testing service life and missed flashing rate of electronic flash lamp
CN109753396A (en) A kind of cable self checking method, system and the server of storage system
CN105320120A (en) Device and method for simulating start-up failure of air conditioning compressor
TWI675293B (en) A host boot detection method and its system
CN108388481B (en) Intelligent watchdog circuit system of OLT equipment
CN112680925B (en) Device for detecting failure of washing machine

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
GR01 Patent grant
GR01 Patent grant