CN105607977A - Power state testing system - Google Patents

Power state testing system Download PDF

Info

Publication number
CN105607977A
CN105607977A CN201511000810.8A CN201511000810A CN105607977A CN 105607977 A CN105607977 A CN 105607977A CN 201511000810 A CN201511000810 A CN 201511000810A CN 105607977 A CN105607977 A CN 105607977A
Authority
CN
China
Prior art keywords
computer
power supply
testing
control device
supply status
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
CN201511000810.8A
Other languages
Chinese (zh)
Inventor
苏佳弘
洪健智
萧文峰
蔡永达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
USI Electronics Shenzhen Co Ltd
Original Assignee
USI Electronics Shenzhen 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 USI Electronics Shenzhen Co Ltd filed Critical USI Electronics Shenzhen Co Ltd
Priority to CN201511000810.8A priority Critical patent/CN105607977A/en
Publication of CN105607977A publication Critical patent/CN105607977A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

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)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A power state testing system is used for testing a computer to be tested and comprises a testing computer, a control device, an awakening device and a network connecting device. The testing computer is connected to the computer to be tested through the network connecting device and can output a triggering signal to the control device so that an electronic switch of the control device can act based on the triggering signal. The awakening device is composed of a peripheral input unit electrically connected to the computer to be tested, and the peripheral input unit is electrically connected to the control device and used for generating a testing signal to awaken the computer to be tested under the control of the control device. Thus, the testing computer controls the awakening device through the control device, and the peripheral input unit is used for generating a the practical testing signal to the computer to be tested so that a testing result can be more credible, the traditional testing mode of manual operation can be replaced, judgment time can be shortened, and the probability of a man-made error judgment result can be eliminated.

Description

Power supply status test macro
Technical field
The present invention relates to a kind of automatic test technology, specifically a kind of Auto-Test System of computer installation, canWith the output signal of the actual button that Rouser is provided, make test result there is better confidence level.
Background technology
ACPI (AdvancedConfigurationandPowerInterface, ACPI) isA set of operating system is for the common management regulation of power-management interface, and it has formulated computer system (for example platform of all kinds of levelsFormula computer or work station etc.) mode of operation of every hardware under different electrical power state. Wherein, under ACPI specification, power supplyState at least comprises following several state.
S0: normal boot-strap state, all main hardware of computer system comprise central processing unit (CPU), memory andHard disks etc. all can normally be worked.
S3: be called again sleep state, will stop power supply to CPU, hard disk under this state, now computer system still can supplyElectricity is given memory, and computer system can directly be temporary in memory at the state entering before sleep state.
S4: be called again resting state, under this state, will stop power supply to the main hardware of computer system, but computerSystem is stored in hard disk at the state entering before resting state, and computer system is waken up also more of a specified duration than S3.
S5: off-mode.
Traditionally, when whether testing computer system meets the specification of ACPI, be all to rely on tester with manually mostlyThe mode of operation is carried out the power supply status of setting computer system, for example, with devices such as manual triggers power switch or keyboard, mousesGo computer system wakeup to get back to S0 state from for example S3, S4, S5, and judge by tester that voluntarily computer system wakes upWhether normally move. Thus, traditional test mode not only expends a large amount of testers' time, and tester also has canCan there is artificial wrongheaded error and cannot promote test mass and accuracy.
In the prior art, in order to address the above problem, there is people directly to set and be subject to by the mode of software controlThe different electrical power state of the computer system of surveying, and note down its test result. Although saved in tester's manual operationTrouble, but the test that uses software to provide virtual test signal to carry out is not surveyed via the circuit of hardwareWhether examination, cannot simulate hardware and normally work, and obvious and actual manual operation is tested and compared difference, makes test resultConfidence level limited.
Summary of the invention
In view of this, one of object of the present invention is to provide a kind of power supply status test macro, can automation surveyExamination, saves manually-operated trouble.
Another object of the present invention is to provide a kind of power supply status test macro, use real hardware to provide and wake meter upThe test signal of calculation machine system, the confidence level of lifting test result.
In order to reach above-mentioned purpose, the invention provides a kind of power supply status test macro, be used for testing computer to be measuredDifferent electrical power state, it comprises testing computer, control device, Rouser and network access device. Wherein, testing meterCalculation machine is connected in network access device and can exports triggering signal, and computer to be measured is connected in above-mentioned network and connects and establishStandby. Control device is electrically connected on testing computer and has electronic switch can be based on above-mentioned triggering signal and start. RouserBe made up of at least one the periphery input block that is electrically connected to this computer to be measured, periphery input block is electrically connected on controlDevice, makes periphery input block under the control of control device, produce test signal and wakes computer to be measured up.
Thus, the present invention carrys out actual output power to Rouser by control device, and then makes the periphery of RouserOne of them can produce input block actual test signal and wake computer to be measured up, and its effect is equivalent to Manual press weekThe button of limit input block wakes computer to be measured up, makes test result have more confidence level.
On the other hand, the present invention be by testing computer whole-course automation control described control device with output driveSignal, makes the periphery input block of Rouser can wake computer to be measured up and tests, and more can replace artificial traditionallyOperation, shortens the time of judgement, and gets rid of the possibility of artificial erroneous judgement result. And testing computer can connect by networkThe equipment of connecing is monitored the state of computer to be measured.
Brief description of the drawings
Fig. 1 is the system construction drawing of the power supply status test macro of preferred embodiment of the present invention.
Fig. 2 is the circuit structure diagram of the control device of preferred embodiment of the present invention.
Fig. 3 is the test flow chart of preferred embodiment of the present invention.
(symbol description)
1 power supply status test macro
10 testing computers
11 printer ports
20 control device
21 electronic switches
211 electric crystals
213 relays
23 power supplys
25 output ports
30 Rousers
40 computers to be measured
50 network access devices
Detailed description of the invention
In order more to understand feature of the present invention place, a preferred embodiment is provided and has coordinated brief description of the drawings at thisAs follows.
Please refer to Fig. 1 to Fig. 2, power supply status test macro 1 of the present invention is for testing computer 40 to be measured in differenceOperative scenario under power supply status, judges whether computer 40 to be measured meets ACPI (AdvancedConfiguration thusAndPowerInterface, ACPI) specification. The main element of power supply status test macro 1 comprisesTesting computer 10, control device 20, Rouser 30 and network access device 50, the structure of each element and mutualDetails are as follows for relation.
Please first with reference to the system construction drawing of figure 1. Testing computer 10 is in test shell (TestShell) software architectureLower execution test program, makes the testing computer 10 can be from the different stitch of its standard printer port (printerport) 11(pin) triggering signal of opening or closing of lower output. In the present embodiment, be the 2nd of choice for use printer port 11Export stitch to the 9th and export triggering signal (as Fig. 2), but in other possibility situations, also can other differences of choice for useThe output stitch of port export triggering signal and should not be limited with the present embodiment.
On the other hand, testing computer 10 is also connected to network access device 50, and by network access device 50 to haveThe mode of line (maybe can use wireless) network connects computer 40 to be measured, makes thus the testing computer 10 can be to calculating to be measuredMachine 40 carries out initialization action, or receives TestShell test command setting operation system ACPI survey via network access deviceExamination ambient parameter. Above-mentioned initialization action includes but not limited to: testing computer 10 and computer 40 to be measured are installed respectivelyTestShell software and test program, detect the operating system of computer 40 to be measured and can support which power supply status, far awayJourney manipulates computer 40 to be measured, and makes computer 40 to be measured can carry out automatic login, and above-mentioned network access device 50 refers toFor example utilize hub (Hub), but the present invention is not as limit.
Please coordinate with reference to figure 2, Fig. 2 is the circuit structure diagram of control device. Control device 20 can connect external power source 23 (thisIn embodiment, the electric power of power supply 23 is the voltage of 5 volts of choice for uses), and comprise several electronic switches 21 and several are defeatedOutbound port 25. Each electronic switch 21 comprises electric crystal 211 and relay 213, and wherein, the base stage of electric crystal 211 is to connectIn one of them output stitch of printer port 11, and the emitter-base bandgap grading of electric crystal 211 is connected in the coil-end of relay 213.Relay 213 is also electrically connected on an output port 25 and external power source 23. In the present embodiment, output port 25 is monophonicAudio socket, in order to be connected with monophonic audio line (not shown). The positive pole of socket and negative pole are connected to respectively relay 213Chang Kaiduan both sides.
Rouser 30 is made up of at least one periphery input block of computer 40 to be measured, and it makes computer 40 to be measuredCan get back to S0 (normal boot-strap state) state from for example S3 (sleep state), S4 (resting state), S5 (off-mode) state.Rouser 30 can be but be not limited to power switch, USB mouse, USB keyboard, PS/2 mouse, PS/2 keyboard and modulation /demodulationDevice. Wherein, Rouser 30 is electrically connected to the output of control device 20 by monophonic audio line (MonoAudioJack)Port 25, and Rouser 30 is electrically connected on slot corresponding to such as PS/2 or USB etc. on computer 40 to be measured. Therefore, work as electricityWhen the relay 213 of sub-switch 21 is switched on, 5 volts of electric power of above-mentioned power supply 23 transmit output drive signal signal to calling outThe device 30 button of Rouser 30 (this action is equivalent to user press with hand) of waking up, makes Rouser 30 produce for example electricityTest signal when source switch is pressed or left mouse button is pressed, wakes up thereby be sent to computer 40 to be measured.
The hardware configuration of the power supply status test macro 1 of the present embodiment has illustrated complete. Below, computer to be measured will be describedThe testing process of 40 ACPI, please coordinate with reference to figure 3.
Step S1: start step.
By the items of equipment of power supply status test macro 1, comprise testing computer 10, control device 20, Rouser 30,Computer 40 to be measured and network access device 50 connect.
Step S2: testing computer 10 initializes with computer 40 to be measured, makes testing computer 10 and calculating to be measuredMachine 40 can enter normal operating conditions, and computer to be measured 40 initializes the rear order of waiting for testing computer 10.
Step S3: select will be used for waking up waking up of computer 40 to be measured under the main program picture of TestShell softwarePeriphery input block in device 30.
Step S4: ACPI power supply status (S0, S3, S4, S5) that selection will be tested and will enter ACPI power supply statusMethod, these methods include but not limited to: testing computer 10 drives the power switch of computer 40 to be measured to make computer to be measured40 start shooting or shut down, or select to wait for a period of time to make computer 40 to be measured automatically enter for example S3, S4, S5 shapeState.
Step S5: testing computer 10 starts to carry out ACPI and wakes test up, and now testing computer 10 will connect by networkConnect equipment 50 and the test command of step S3 and step S4 setting is sent to computer 40 to be measured, and start to carry out above-mentioned establishingFixed test.
Step S6: testing computer 10 produces and logging test results.
Step S7: finish all testing procedures.
Testing computer 10 utilizes after the automatic computing of test program, can arrive by the actual output power of control device 20Rouser 30, makes Rouser 30 actually produce test signal and wakes computer 40 to be measured up, and its effect is equivalent to makeThe button of user's Manual press Rouser 30 drives signal to wake computer 40 to be measured up to produce, and can make test result have moreThere is confidence level.
On the other hand, whole test process be all by testing computer 10 whole-course automation control computer 40 to be measuredTest, more can replace manually-operated test mode traditionally, shorten the time of judgement, and the artificial erroneous judgement of eliminating resultPossibility.
Finally, must again illustrate: the present invention in previous embodiment disclosed composed component only for for exampleBright, be not used for limiting the application's scope, other structural changes that are easy to expect such as, or with the substituting of other equivalence elementsChange, the claim that also should be the application contains.

Claims (8)

1. a power supply status test macro, is characterized in that,
Comprise:
Testing computer, it is connected in network access device, and can export triggering signal;
Computer to be measured, it is connected in described network access device;
Control device, it is electrically connected on described testing computer and has at least one electronic switch, this at least one electronic cuttingClose based on described triggering signal and start; And
Rouser, it is made up of at least one the periphery input block that is electrically connected to described computer to be measured, and this is at least oneIndividual periphery input block is electrically connected on described control device, makes this at least one periphery input block can be at described control deviceControl under produce test signal and wake described computer to be measured up.
2. power supply status test macro as claimed in claim 1, is characterized in that,
Described electronic switch is the port that is connected to described testing computer.
3. power supply status test macro as claimed in claim 2, is characterized in that,
Described port is printer port.
4. power supply status test macro as claimed in claim 2 or claim 3, is characterized in that,
Described at least one electronic switch comprises electric crystal and relay,
The base stage of this electric crystal is connected in the output stitch of described port, and the emitter-base bandgap grading of this electric crystal is connected in described relayCoil-end.
5. power supply status test macro as claimed in claim 1, is characterized in that,
Described at least one periphery input block is power switch, mouse, keyboard or modem.
6. the power supply status test macro as described in claim 1 or 5, is characterized in that,
Described control device is connected in external power source so that electric power to be provided,
In the time of described electronic switch conducting, described control device output drive signal is to described Rouser.
7. power supply status test macro as claimed in claim 6, is characterized in that,
Described at least one electronic switch is electrically connected on described Rouser by output port.
8. power supply status test macro as claimed in claim 7, is characterized in that,
Described output port is monophonic audio socket,
Described Rouser is electrically connected on described output port by monophonic audio line.
CN201511000810.8A 2015-12-28 2015-12-28 Power state testing system Pending CN105607977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511000810.8A CN105607977A (en) 2015-12-28 2015-12-28 Power state testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511000810.8A CN105607977A (en) 2015-12-28 2015-12-28 Power state testing system

Publications (1)

Publication Number Publication Date
CN105607977A true CN105607977A (en) 2016-05-25

Family

ID=55987930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511000810.8A Pending CN105607977A (en) 2015-12-28 2015-12-28 Power state testing system

Country Status (1)

Country Link
CN (1) CN105607977A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106647692A (en) * 2016-11-16 2017-05-10 安徽锐能科技有限公司 System and method of detecting slave control module for battery management system
CN112782600A (en) * 2020-12-14 2021-05-11 环荣电子(惠州)有限公司 Power state cycle test system and power state cycle test method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622005A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Power supply status automatic test method for computer apparatus
CN1928836A (en) * 2005-09-09 2007-03-14 环隆电气股份有限公司 Automatic control testing system and method for host board
CN101539876A (en) * 2008-03-21 2009-09-23 环隆电气股份有限公司 Boot test system and method thereof
CN101582045A (en) * 2008-05-16 2009-11-18 鸿富锦精密工业(深圳)有限公司 Computer test system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622005A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Power supply status automatic test method for computer apparatus
CN1928836A (en) * 2005-09-09 2007-03-14 环隆电气股份有限公司 Automatic control testing system and method for host board
CN101539876A (en) * 2008-03-21 2009-09-23 环隆电气股份有限公司 Boot test system and method thereof
CN101582045A (en) * 2008-05-16 2009-11-18 鸿富锦精密工业(深圳)有限公司 Computer test system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106647692A (en) * 2016-11-16 2017-05-10 安徽锐能科技有限公司 System and method of detecting slave control module for battery management system
CN112782600A (en) * 2020-12-14 2021-05-11 环荣电子(惠州)有限公司 Power state cycle test system and power state cycle test method

Similar Documents

Publication Publication Date Title
EP3511831A1 (en) System and method for remote system recovery
US7987389B2 (en) System and method for testing sleep and wake functions of computer
US8538720B2 (en) Cold boot test system and method for electronic devices
CN104063551B (en) A kind of modeling method of avionics system Life cycle unified model
TW201327136A (en) A test system for testing stability of a server and the test method thereof
CN102541711B (en) Method for testing X86 architecture server mainboards
CN109462495A (en) A kind of ship hardware and communication system detection system and method
CN102567171A (en) Method for testing blade server mainboard
EP3117286B1 (en) Power monitoring system for virtual platform simulation
CN104391780A (en) Method for automatically checking stability of power supply redundancy function of server
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN110085278A (en) A kind of test method and system of eMMC power down protection
CN105607977A (en) Power state testing system
CN111176736A (en) Server mainboard power-on and power-off test method and system
CN110569154A (en) Chip interface function testing method, system, terminal and storage medium
CN111176958B (en) Information monitoring method, system and storage medium
Benmoussa et al. Open-PEOPLE, a collaborative platform for remote & accurate measurement and evaluation of embedded systems power consumption
CN104424086B (en) Computer error detection module and method
CN117076227A (en) Simulation test system, method, device and medium for monitoring function of hard disk backboard
CN115686969A (en) Hard disk backboard testing method, device, equipment and medium
CN110008105A (en) A kind of BMC time reservation method, device and electronic equipment and storage medium
CN106200353B (en) A method of the clock for testing twin-core electric energy meter
TWI581089B (en) Power state testing system
CN112732498A (en) Test method, device, equipment and storage medium for simulating single-point power-on and power-off of equipment
CN113741672B (en) Mainboard power supply leakage detection method, system and related components

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication