CN104268044A - Method and device for performing loop test on normal startup and shutdown of server system - Google Patents

Method and device for performing loop test on normal startup and shutdown of server system Download PDF

Info

Publication number
CN104268044A
CN104268044A CN201410507464.1A CN201410507464A CN104268044A CN 104268044 A CN104268044 A CN 104268044A CN 201410507464 A CN201410507464 A CN 201410507464A CN 104268044 A CN104268044 A CN 104268044A
Authority
CN
China
Prior art keywords
test cell
server system
test
computer
loop test
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
CN201410507464.1A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410507464.1A priority Critical patent/CN104268044A/en
Publication of CN104268044A publication Critical patent/CN104268044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method and a device for performing a loop test on normal startup and shutdown of a server system. The device comprises a computer and a unit under test (the server system); the computer intercommunicates with the unit under test; when the unit under test normally works in an operating system, a feedback signal is transmitted to the control system of the computer, the control system of the computer identifies the feedback signals and transmits a control signal to control a relay to switch on or off AC power supply, and therefore, the on-off loop test on the unit under test is realized. The method and the device are used for realizing the loop test on normal startup and shutdown of the server system so that the startup and shutdown cycle of the tested server system can be further shortened; besides, the device for performing the loop test is simple and reasonable in design, relatively low in cost, practical and simple, and quick in control; the device is flexible and convenient to use and has high practical value because a feedback channel is set with various choices such as network and serial cable.

Description

A kind of method of server system normal switch machine loop test and device
Technical field
The present invention relates to server system switching on and shutting down test, specifically a kind of method of server system normal switch machine loop test and device.
Background technology
At present, it is started shooting by BIOS initialization system that general server system switching machine controls, control command or the shutdown of software set control system.This control method can only realize the open and close of server, can not disconnect the normal switch that AC power supplies realizes server system.Common tired function realizes above-mentioned partial function, but lacks feedback signal, can not determine that whether can enter operating system normally works; And have feedback server system and whether can enter the fatigue machine that operating system normally works, its cost is often higher, does not have popularization.
Summary of the invention
The bright weak point existed for prior art of we, provides a kind of method and device of server system normal switch machine loop test.
The method of a kind of server system normal switch machine loop test of the present invention and device, its technical scheme solveing the technical problem employing is: the device of described server system normal switch machine loop test, and this device comprises as the computing machine of host computer, take server system as the test cell of body, relay and AC power supplies; Wherein, described test cell communicates with described computer interactive, and described test cell sends the feedback signal of predetermined protocol to described computing machine, the current state of test cell operating system is fed back to the control system of described computing machine; The control system of described computing machine exports the switch that control signal controls described relay, by the switch of AC power supplies described in Control, gives described test cell cycle power, make described test cell cycling switch machine by the switch of described AC power supplies.
Preferably, described computer installation has USB interface, and the control signal of the control system of described computing machine is GPIO signal, is turned the unlatching of GPIO signal control relay by USB interface.
Preferably, described test cell is provided with network interface or serial line interface, and described test cell sends feedback signal by network to computer control system, or sends feedback signal by serial line interface connection serial transmission line to computer control system.
Preferably, the device of this server system normal switch machine loop test also comprises an on-off controller, described on-off controller comprises the first resistance, the second resistance, the first triode and the second triode, wherein first resistance one end connects the USB interface of described computing machine, the other end of the first resistance connects the base stage of the first triode, the collector of the first triode connects the base stage of the second resistance and the second triode, the collector of the second triode connects described relay, the grounded emitter of described first triode and the second triode.
By the method for our prescribed server system normal switch machine loop test, first when original state, relay switch is opened, and AC power supplies is opened, when test cell enter operating system normally work time, send and feed back signal to the control system of computing machine; Computer control system exports control signal closed relay switch after receiving feedback signal, AC power supplies is disconnected, and now test cell is in power-off shutdown state; Then, computer control system transmits control signal automatically every a few second unlatching relay, AC power supplies is opened, test cell is in the open state that powers on again, when test cell again enter operating system normally work time, again send the control system feeding back signal to computing machine, circulation goes down to carry out test cell normal switch machine loop test.
Preferably, by the method for our prescribed server system normal switch machine loop test, when failing to start or fail to enter operating system after test cell powers on and normally working, feedback signal can not be sent, when the operating system of simultaneous computer does not receive feedback signal, loop termination also records switching on and shutting down number of times.
The beneficial effect that compared to the prior art method of a kind of server system normal switch machine loop test of the present invention and device have is: by the device of this server system normal switch machine loop test, upper computer control system transmission signal completes the control to relay, simple and practical, control rapidly; And this proving installation design advantages of simple, cost is lower, and feedback channel is set with the comparatively more options such as network or serial cable, flexible and convenient to use, has stronger practical value;
By the method for this server system normal switch machine loop test, achieve server system normal switch machine loop test, the tested server system switching on and shutting down cycle is shortened further, therefore the present invention has economical and practical, functional strong feature, possesses good popularizing value.
accompanying drawing explanation
Accompanying drawing 1 is the structured flowchart of the device of described server system normal switch machine loop test;
Accompanying drawing 2 is the connection diagram of described on-off controller;
Description of reference numerals: AC IN: alternating current inputs; AC OUT: alternating current exports.
Embodiment
Below in conjunction with specific embodiments and the drawings, to a kind of method of server system normal switch machine loop test of the present invention and the feature of device and design content, be described in further detail.
The device of server system normal switch machine loop test of the present invention, its chief component comprises one and comprises as the computing machine of host computer and take server system as the test cell of body, described test cell communicates with described computer interactive, described test cell sends the feedback signal of predetermined protocol to described computing machine, the current state of test cell operating system is fed back to the control system of described computing machine; The control system of described computing machine exports the cycle power that control signal controls described test cell, makes described test cell cycling switch machine, and then is realized the loop test of test cell normal switch machine by this device.
The method of server system normal switch machine loop test of the present invention, refer to the device by above-mentioned server system normal switch machine loop test, when entering operating system after test cell powers on and normally working, the feedback signal exporting preset protocol feeds back to computer control system current state, then, computer control system exports control signal according to feedback signal, controls the cycle power of described test cell, thus carries out test cell normal switch machine loop test.
Embodiment:
The device of server system normal switch machine loop test described in the present embodiment, as shown in Figure 1, this device comprises as the computing machine of host computer, take server system as the test cell of body, relay and AC power supplies its structural framing; Wherein, described test cell communicates with described computer interactive, and described test cell sends the feedback signal of predetermined protocol to described computing machine, the current state of test cell operating system is fed back to the control system of described computing machine; The control system of described computing machine exports the switch that control signal controls described relay, by the switch of AC power supplies described in Control, gives described test cell cycle power, make described test cell cycling switch machine by the switch of described AC power supplies.
In the device of this server system normal switch machine loop test, described computer installation has USB interface, the control signal of the control system of described computing machine is GPIO(General Purpose Input Output, universal input/output) signal, the unlatching of GPIO signal control relay is turned by USB interface.
The device of this server system normal switch machine loop test also comprises an on-off controller, as shown in Figure 2, described on-off controller comprises the first resistance, the second resistance, the first triode and the second triode, wherein first resistance one end connects the USB interface of described computing machine, the other end of the first resistance connects the base stage of the first triode, the collector of the first triode connects the base stage of the second resistance and the second triode, the collector of the second triode connects described relay, the grounded emitter of described first triode and the second triode.In the present embodiment, the resistance of the first resistance of described on-off controller is 3K, and the resistance of the first resistance is 5K.When being tested by the device of described server system normal switch machine loop test, initial state is that described relay switch is opened, AC power supplies gives described test cell for conducting, the test cell start that powers on enters after operating system normally works, and sends the control system feeding back signal to described computing machine; The control system of described computing machine transmits control signal by described on-off controller pilot relay closedown; After a while, the control system of the described computing machine pilot relay that transmits control signal is opened, and AC power supplies is opened, and then described test cell powers on start again.
In the device of this server system normal switch machine loop test, described test cell is provided with network interface or serial line interface, described test cell sends feedback signal by network (Ethernet) to computer control system, also can connect serial transmission line by serial line interface and send feedback signal to computer control system, network and serial cable form the feedback channel of test cell feedback information, like this because described test cell is provided with two kinds of feedback channels, test cell can select different feedback systems to carry out feedback signal to computer control system.
Described in the present embodiment, the operating process of the method for server system normal switch machine loop test is as follows: first, build parametric controller, test cell (tested server system) is connected AC power supplies, feedback signal between connecting test unit and computer control system, setting feedback protocols, is opened and closed by Control AC power supplies; The second, computer control system switching on and shutting down number of times is set, after setting closed relay, reopens the time; 3rd, when test cell fails to start, or fail to enter operating system when normally working, circulation terminates, computer control system record switching on and shutting down number of times.
The method of server system normal switch machine loop test described in the present embodiment, first, when original state, relay switch is opened, and AC power supplies is opened, when test cell enter operating system normally work time, send and feed back signal to the control system of computing machine; Computer control system exports control signal closed relay switch after receiving feedback signal, AC power supplies is disconnected, and now test cell is in power-off shutdown state; Then, computer control system transmits control signal automatically every a few second unlatching relay, AC power supplies is opened, test cell is in the open state that powers on again, when test cell again enter operating system normally work time, again send the control system feeding back signal to computing machine, circulation goes down to carry out test cell normal switch machine loop test.When failing to start or fail to enter operating system after test cell powers on and normally working, can not send feedback signal, when the operating system of simultaneous computer does not receive feedback signal, loop termination also records switching on and shutting down number of times.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (6)

1. the device of a server system normal switch machine loop test, it is characterized in that, the device of described server system normal switch machine loop test, this device comprises as the computing machine of host computer, take server system as the test cell of body, relay and AC power supplies; Wherein, described test cell communicates with described computer interactive, and described test cell sends feedback signal to described computing machine, the current state of test cell operating system is fed back to the control system of described computing machine; The control system of described computing machine exports the switch that control signal controls described relay, by the switch of AC power supplies described in Control, gives described test cell cycle power by the switch of described AC power supplies.
2. the device of a kind of server system normal switch machine loop test according to claim 1, it is characterized in that, described computer installation has USB interface, and the control signal of the control system of described computing machine is GPIO signal, is turned the unlatching of GPIO signal control relay by USB interface.
3. the device of a kind of server system normal switch machine loop test according to claim 2, it is characterized in that, the device of this server system normal switch machine loop test also comprises an on-off controller, described on-off controller comprises the first resistance, second resistance, first triode and the second triode, wherein first resistance one end connects the USB interface of described computing machine, the other end of the first resistance connects the base stage of the first triode, the collector of the first triode connects the base stage of the second resistance and the second triode, the collector of the second triode connects described relay, the grounded emitter of described first triode and the second triode.
4. the method for a kind of server system normal switch machine loop test according to claim 1, it is characterized in that, described test cell is provided with network interface or serial line interface, described test cell sends feedback signal by network to computer control system, or sends feedback signal by serial line interface connection serial transmission line to computer control system.
5. a method for server system normal switch machine loop test, is characterized in that, first when original state, relay switch is opened, and AC power supplies is opened, when test cell enter operating system normally work time, send and feed back signal to the control system of computing machine; Computer control system exports control signal closed relay switch after receiving feedback signal, AC power supplies is disconnected, and now test cell is in power-off shutdown state; Then, computer control system transmits control signal automatically every a few second unlatching relay, AC power supplies is opened, test cell is in the open state that powers on again, when test cell again enter operating system normally work time, again send the control system feeding back signal to computing machine, circulation goes down to carry out test cell normal switch machine loop test.
6. the method for a kind of server system normal switch machine loop test according to claim 5, it is characterized in that, by the method for our prescribed server system normal switch machine loop test, when failing to start or fail to enter operating system after test cell powers on and normally working, feedback signal can not be sent, when the operating system of simultaneous computer does not receive feedback signal, loop termination also records switching on and shutting down number of times.
CN201410507464.1A 2014-09-28 2014-09-28 Method and device for performing loop test on normal startup and shutdown of server system Pending CN104268044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410507464.1A CN104268044A (en) 2014-09-28 2014-09-28 Method and device for performing loop test on normal startup and shutdown of server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410507464.1A CN104268044A (en) 2014-09-28 2014-09-28 Method and device for performing loop test on normal startup and shutdown of server system

Publications (1)

Publication Number Publication Date
CN104268044A true CN104268044A (en) 2015-01-07

Family

ID=52159567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410507464.1A Pending CN104268044A (en) 2014-09-28 2014-09-28 Method and device for performing loop test on normal startup and shutdown of server system

Country Status (1)

Country Link
CN (1) CN104268044A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778108A (en) * 2015-04-27 2015-07-15 浪潮集团有限公司 Device and method for abnormal power failure circulating testing of server system
CN107168838A (en) * 2017-05-16 2017-09-15 郑州云海信息技术有限公司 A kind of RAID card Auto-Test System
CN107179972A (en) * 2016-03-09 2017-09-19 北京京东尚科信息技术有限公司 For the method for calculation machine, microcontroller, test equipment and test system
CN107329866A (en) * 2017-06-29 2017-11-07 长沙理工大学 A kind of SOC switching on and shutting down experimental rig and method
CN112214001A (en) * 2019-07-11 2021-01-12 株洲中车时代电气股份有限公司 Control system testing method and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778108A (en) * 2015-04-27 2015-07-15 浪潮集团有限公司 Device and method for abnormal power failure circulating testing of server system
CN107179972A (en) * 2016-03-09 2017-09-19 北京京东尚科信息技术有限公司 For the method for calculation machine, microcontroller, test equipment and test system
CN107168838A (en) * 2017-05-16 2017-09-15 郑州云海信息技术有限公司 A kind of RAID card Auto-Test System
CN107329866A (en) * 2017-06-29 2017-11-07 长沙理工大学 A kind of SOC switching on and shutting down experimental rig and method
CN112214001A (en) * 2019-07-11 2021-01-12 株洲中车时代电气股份有限公司 Control system testing method and storage medium
CN112214001B (en) * 2019-07-11 2021-12-07 株洲中车时代电气股份有限公司 Control system testing method and storage medium

Similar Documents

Publication Publication Date Title
CN104268044A (en) Method and device for performing loop test on normal startup and shutdown of server system
CN108180599B (en) Debugging method, debugging device and computer readable storage medium
CN108646105B (en) BMS alternating current charging process simulation test equipment
US20150256018A1 (en) Mobile terminal, master data communication device and mobile terminal charging system and method
CN104778108A (en) Device and method for abnormal power failure circulating testing of server system
WO2018036067A1 (en) Test device for usb 3.0 apparatus
CN103813196A (en) Intelligent remote controller for testing television functions
CN105929922A (en) Electronic device
CN204009447U (en) Be applied to the load automatic switch circuit of current detecting and the equipment that belt current detects
CN104778140A (en) USB (Universal Serial Bus) automatic identification and conduction system of star-shaped framework and method thereof
CN203396869U (en) Integrated test equipment
CN113391143B (en) Automatic test system and automatic test method
CN101206600B (en) Testing device and method for testing open/close machine of computer system
CN203909241U (en) Universal power unit test platform for power devices
CN202931339U (en) Device for controlling power supply of power supply equipment
CN204228912U (en) A kind of electric automatization facility switching tests pick-up unit automatically
CN201038741Y (en) Power management circuit and TV possessing the management circuit
CN203520299U (en) Timer-power-on control circuit
CN203133267U (en) Function test system for electric energy acquisition terminal
CN110245042A (en) A kind of laptop shipment mode capabilities automatic test approach and system
CN105573141A (en) Touch-type photoelectric pod system emulator
CN104506782A (en) Method for intelligently generating serial display IDs (Identities)
CN104065030B (en) Overvoltage protection and method
CN105182034A (en) Oscilloscope and connecting device thereof
CN110471326A (en) A kind of more hoistable platform control systems and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150107

WD01 Invention patent application deemed withdrawn after publication