Background technology
The computer system product all need carry out a succession of switching on and shutting down motion test before dispatching from the factory, to detect computer system issuable problem when carrying out switching on and shutting down, promote the fiduciary level and the life-span of product.The traditional test device can carry out the switching on and shutting down motion test of robotization to computer system, and does not need to reach the saving cost manually to come open/close machine of computer system, increases the effect of production efficiency.
Yet the traditional test device, is provided with department of computer science and unifies testing power supply in this Preset Time according to the switching on and shutting down action that a Preset Time comes testing computer system, makes computer system carry out the switching on and shutting down action.When Preset Time one arrives, promptly stop to provide testing power supply to computer system, logging test results, and carry out next switching on and shutting down test, so constantly repeat, up to reaching a presumptive test number of times.
Yet when supplying with the computer system testing power supply above the schedule time, no matter whether computer system executes boot action, all stops to provide testing power supply to computer system.Therefore, do not finish switching on and shutting down when computer system in the schedule time and move, the traditional test device promptly has no way of verifying the switching on and shutting down action correctness of this computer system.So the fiduciary level of the switching on and shutting down motion test that the traditional test device is carried out has to be strengthened.
In addition, the traditional test device is directly imported mains supply the power source supply end of computer system and is powered when testing computer system.When mains supply inputs to the power source supply end of computer system, computer system is provided with a standby power always, and makes the part system of computer system, and for example Basic Input or Output System (BIOS), north bridge, south bridge, local LAN are carried out boot action.Therefore, the traditional test device can only be provided with under the situation of standby power in computer system, supplies with the computer system testing power supply, in the mode of warm start computer system is carried out the switching on and shutting down test.So, provide testing power supply to computer system once again at the traditional test device, before carrying out next switching on and shutting down test, the part system of computer system starts shooting already.So the traditional test device only can move in the part of detecting switching on and shutting down, and can't intactly detect all issuable problems of computer system.
In addition, computer system generally adopts Windows at present, and it is necessary therefore carrying out the switching on and shutting down motion test at Windows.Yet the traditional test device only can verify whether disc operating system (DOS) switching on and shutting down action is normal, and can't carry out the switching on and shutting down motion test to Windows.Therefore, use the traditional test device to test that computer system is out-of-date now, do not meet present industry demand.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of proving installation, transmit and next test result data, judge whether the switching on and shutting down action of this computer system is normal according to computer system by tested person.When the switching on and shutting down action of judging this computer system is normal, then stop to be provided with mains supply computer system so far, make this computer system be not provided with any power source.Thus, when carrying out next switching on and shutting down test, proving installation is intactly tested the switching on and shutting down action of this computer system.
According to purpose of the present invention, a kind of proving installation is proposed, in order to test the switching on and shutting down action of a computer system.Proving installation comprises a power control unit and a unit of testing and controlling.Power control unit is in order to receiving a mains supply, and optionally exports the power source supply end of mains supply to computer system.Unit of testing and controlling is exported a power supply controlling signal to power control unit, exports mains supply to power source supply end so as to the control power control unit, so that the switching on and shutting down of unit of testing and controlling testing computer system action.Unit of testing and controlling receives by computer system and transmits and a next test result data.The corresponding test result data of power supply controlling signal wherein.
According to purpose of the present invention, a kind of method for testing open/close machine of computer system is proposed, be used for a proving installation.Proving installation comprises a power control unit.Method for testing open/close machine of computer system comprises: at first, by power control unit, provide a mains supply to computer system, with the switching on and shutting down action of testing computer system.Then, on computer system, carry out a boot program.Afterwards, judge the computer system success of whether starting shooting.Afterwards, according to judging the computer system successful step of whether starting shooting, the control power control unit is so that computer system and mains supply electrical isolation.
Effect of the present invention is that proving installation transmits and next test result data according to the computer system by tested person, judges whether the switching on and shutting down action of this computer system is normal.So, when carrying out next switching on and shutting down test, proving installation is able to by not being provided with any power source the most initial state of computer system so far, intactly tests the switching on and shutting down action of this computer system.
For above and other objects of the present invention, feature and advantage can be become apparent, below will be especially exemplified by an embodiment, and conjunction with figs. is elaborated.
Embodiment
Proving installation of the present invention is in order to test the switching on and shutting down action of a computer system.Proving installation of the present invention comprises a power control unit and a unit of testing and controlling.Power control unit is in order to receiving a mains supply, and optionally exports the power source supply end of mains supply to computer system.Unit of testing and controlling is exported a power supply controlling signal to power control unit, exports mains supply to power source supply end so as to the control power control unit, so that the switching on and shutting down of unit of testing and controlling testing computer system action.Unit of testing and controlling receives by computer system and transmits and a next test result data.The corresponding test result data of power supply controlling signal.
Fig. 1 is the calcspar of the proving installation of the embodiment of the invention.Proving installation 100 comprises unit of testing and controlling 110 and power control unit 120, in order to the switching on and shutting down action of testing computer system 130.Unit of testing and controlling 110 for example is a microprocessor unit, and in order to the test procedure that the switching on and shutting down of control computer system 130 are moved, out-put supply controlling signal Sc is to power control unit 120.Power control unit 120 for example is a solid-state relay, couples the power source supply end 131 of computer system 130, and receives mains supply Vp.Whether power control unit 120 is sent to mains supply Vp the power source supply end 131 of computer system 130 according to power supply controlling signal Sc decision.
The proving installation of the embodiment of the invention can carry out the switching on and shutting down motion test of disc operating system (DOS) and Windows at computer system.Below described in detail with two examples respectively.
The DOS switching on and shutting down motion test that 100 pairs of computer systems 130 of proving installation are carried out below is described.Unit of testing and controlling 110 out-put supply controlling signal Sc make power control unit 120 mains supply Vp is sent to the power source supply end 131 of computer system 130 to power control unit 120.So computer system 130 is carried out a DOS boot program, carries out the DOS boot action.
After computer system 130 executed the DOS boot action, computer system 130 can transmit a test result data Dt to unit of testing and controlling 110.Test result data Dt comprises the test result of the DOS boot action of computer system 130.
Unit of testing and controlling 110 judges according to test result data Dt whether the boot action of computer system 130 is normal.Because computer system is after the DOS start, the power supply that only needs directly to cut off computer system can be reached shutdown.Therefore, if the boot action of computer system 130 is normal, unit of testing and controlling 110 out-put supply controlling signal Sc then, control power control unit 120 stops to export mains supply Vp to power source supply end 131, makes mains supply Vp and power source supply end 131 electrical isolation.Unit of testing and controlling 110 is also optionally carried out next switching on and shutting down test to computer system 130.
The Windows switching on and shutting down motion test that 100 pairs of computer systems 130 of proving installation are carried out below is described.Unit of testing and controlling 110 out-put supply controlling signal Sc make power control unit 120 mains supply Vp is sent to the power source supply end 131 of computer system 130 to power control unit 120.So computer system 130 is carried out a Windows boot program, carries out the Windows boot action.
After computer system 130 executed the Windows boot action, computer system 130 can transmit test result data Dt to unit of testing and controlling 110.Test result data Dt comprises the test result of the Windows boot action of computer system 130.
Unit of testing and controlling 110 judges according to test result data Dt whether the boot action of computer system 130 is normal.Because Windows operating system need be carried out Windows shutdown action, after waiting to store user's setting data, the stop supplies power supply begins.Therefore, if the Windows boot action of computer system 130 is normal, unit of testing and controlling 110 is also exported a shutdown controlling signal So, makes computer system 130 carry out Windows shutdown action.In the present embodiment, when computer system 130 receives shutdown controlling signal So, be equivalent to trigger the power key of computer system 130, computer system 130 is promptly carried out Windows shutdown action.
After computer system 130 executed Windows shutdown action, computer system 130 outputed test result data Dt to unit of testing and controlling 110, and this moment, test result data Dt comprised Windows shutdown result's test data.Unit of testing and controlling 110 judges according to test result data Dt whether the shutdown action of computer system 130 is correct.
If the Windows of computer system 130 shutdown action is correct, unit of testing and controlling 110 is out-put supply controlling signal Sc, control power control unit 120 stops to export mains supply Vp to power source supply end 131, makes mains supply Vp and power source supply end 131 electrical isolation.Unit of testing and controlling 110 is also optionally carried out next switching on and shutting down test to computer system 130.
In addition, proving installation 100 also comprises a display unit 140, in order to show the test result of corresponding test result data Dt, for example is the start number of success.
In addition, because computer system 130 needs a period of time just can finish boot action, computer system 130 must be provided with mains supply Vp a period of time.Therefore, proving installation 100 also comprises a time control module 150, and control module 150 is in order to set a power-on time and power-off time.This power-on time is that power control unit 120 continues the time span of output mains supply Vp to power source supply end 131, so that computer system 130 is carried out boot action.This power-off time is that power control unit 120 is isolated the time span of output mains supply Vp to power source supply end 131, so that computer system 130 electrical isolation.
The proving installation of the embodiment of the invention after computer system 130 being carried out switching on and shutting down tests, by control power control unit 120, makes mains supply Vp and computer system 130 electrical isolation at every turn.Therefore, the proving installation 100 of the embodiment of the invention is when optionally carrying out next switching on and shutting down test to computer system 130, be able to begin, computer system 130 is carried out complete switching on and shutting down test by the most initial state that is not provided with computer system 130 any power sources.
In comparison, the traditional test device only carries out the switching on and shutting down test in warm start mode again after computer system being carried out the switching on and shutting down test.Before carrying out next switching on and shutting down test, the traditional test device only is cut off testing power supply, and does not cut off mains supply, makes computer system still be provided with a standby power.Because when computer system is provided with standby power, promptly carry out the part boot action, therefore, the traditional test device can't be tested the boot action when computer system is provided with standby power.From the above, the proving installation of the embodiment of the invention, the intactly switching on and shutting down of authenticating computer system action improves the fiduciary level of test.
In addition, unit of testing and controlling 110 is according to test result data Dt control power control unit 120.The corresponding test result data Dt of the power supply controlling signal Sc that unit of testing and controlling 110 is sent, whether stop supplies mains supply Vp is to computer system 130 with decision power control unit 120.And if come a computer system is tested with the traditional test device, even this computer system is not finished the switching on and shutting down action as yet, as long as the schedule time one arrives, the traditional test device promptly stops to provide testing power supply computer system so far.Therefore, do not finish switching on and shutting down when this computer system in the schedule time and move, the traditional test device promptly has no way of verifying the switching on and shutting down action correctness of this computer system.In comparison, the switching on and shutting down action that the proving installation 100 of the embodiment of the invention, the test result data Dt that is transmitted according to computer system 130 are judged computer system 130 normally whether, the switching on and shutting down of authenticating computer system 130 action more exactly.
In addition, the proving installation of the embodiment of the invention by a standard interface, for example is USB (universal serial bus) or serial port interface, and test result data Dt is sent to proving installation 100 by computer system 130.
Fig. 2 is the process flow diagram with the switching on and shutting down action of the disc operating system (DOS) of the proving installation testing computer system of Fig. 1.At first, in step 210,, provide mains supply Vp, with the switching on and shutting down action of testing computer system 130 to computer system 130 by power control unit 120.Then, in step 220, on computer system 130, carry out a disc operating system (DOS) boot program.Then, in step 230, judge computer system 130 success of whether starting shooting.At last, in step 240, control power control unit 120 makes computer system 130 and mains supply Vp electrical isolation.
Fig. 3 is the process flow diagram with the switching on and shutting down action of the Windows of the proving installation testing computer system of the embodiment of the invention.At first, in step 310,, provide mains supply Vp, with the switching on and shutting down action of testing computer system 130 to computer system 130 by power control unit 120.Then, in step 320, on computer system 130, carry out a Windows boot program.Then, in step 330, judge computer system 130 success of whether starting shooting.Afterwards, in step 340, with computer system 130 shutdown.In step 350, judge computer system 130 success of whether shutting down.At last, in step 360, control power control unit 120 makes computer system 130 and mains supply Vp electrical isolation.
The proving installation of the embodiment of the invention transmits and next test result data according to the computer system by tested person, judges whether the switching on and shutting down action of this computer system is normal.When the switching on and shutting down action of judging the tested person computer system is normal, then stop to export mains supply computer system so far.So come, when carrying out next switching on and shutting down test, proving installation is able to by not being provided with any power source the most initial state of computer system so far, intactly tests the switching on and shutting down action of this computer system.
In addition, the proving installation of the embodiment of the invention not only can be used for the boot action of the disc operating system (DOS) of testing computer system, also can be in order to the boot action of the Windows of testing computer system.And finish the boot action of Windows in computer system after, also shut down, come the shutdown action of authenticating computer system whether normal by the control computer system.Therefore, the switching on and shutting down motion test that the proving installation of the embodiment of the invention carries out computer system is more near the actual operation behavior of the user of computer system.So the testing computer system switching on and shutting down action more exactly of the proving installation of the embodiment of the invention detects computer system issuable mistake when switching on and shutting down.
In sum; though the present invention discloses as above with reasonable embodiment; yet it is not in order to limit the present invention; the people who has common knowledge in the technical field under any; without departing from the spirit and scope of the present invention; can do all change that is equal to and retouching, so protection scope of the present invention should be with being as the criterion that claim was defined.