Background technology
Be provided with many chipsets and electronic component above the motherboard, by adapter (as display card, network card, sound card), central processing unit, storer, Winchester disk drive are installed, and can offer a processing platform of computer operating on motherboard.Yet motherboard can work orderly in order to ensure motherboard via after the Production Line manufacturing, must verify whether the feature operation of motherboard is normal through the test of row.
And for the test mode of motherboard, is that the manual operations of being dependent on manpower is tested mostly in early days, but this test mode obviously can't satisfy the desired high efficiency of production line, and the manual testing also makes mistakes easily.Therefore be to come motherboard is made automatic test at present mostly in conjunction with computing machine, its test mode is by the corresponding Testing apparatus of a main control system (as computing machine), cooperate some complicated test cards simultaneously, and motherboard to be measured is installed in Testing apparatus, give motherboard to be measured by the relevant test signal of main control system control Testing apparatus output, and finish the automatic test of motherboard.
Therefore for the automatic test of existing motherboard, be to take man-to-man mode to carry out, promptly main control system can only corresponding Testing apparatus, and if will test a plurality of motherboards to be measured, can utilize the mode of wheel current test to finish, but the efficient of wheel current test is too poor, and build-in test finishes all motherboards to be measured at one time, so just must use more hardware cost in order to improve testing efficiency, utilize the Testing apparatus of many group main control systems and many groups, at one time intact all motherboards to be measured of build-in test.Therefore, for as less hardware cost how, and finish the test of all motherboards to be measured in can be at one time, and can improve testing efficiency and accuracy again, then be that the present invention has problem to be solved.
Summary of the invention
Technical matters to be solved by this invention, be to provide a kind of automatic control test macro and method thereof of motherboard, in test process, a plurality of motherboards to be measured are tested by coming in conjunction with network system, reaching less hardware cost demand and to reduce the required time of test, and then improve the efficient of test.
In order to solve the problems of the technologies described above, according to a kind of scheme of the present invention, provide a kind of automatic control test macro of motherboard, be used for testing simultaneously a plurality of motherboards to be measured, comprising: a network system; A plurality of Testing apparatus that are connected with network system respectively, and in these Testing apparatus, have a test procedure respectively, Testing apparatus can be tested these motherboard to be measured respectively by carrying out test procedure; A main control system that is connected with network system, main control system has a control program, and the execution of control program can be used to control and monitors these Testing apparatus and carry out automatic test; A test signal generation unit that is connected with main control system can be used to output test signal and gives these motherboards to be measured; One switch control unit can will be given that of these motherboards to be measured with the test signal of selecting test signal generation unit to be exported according to the execution of control program.Therefore these test procedures a plurality of test results of carrying out gained can return to main control system by network system, and allow main control system these test results of can filing.
In order to solve the problems of the technologies described above, according to another kind of scheme of the present invention, a kind of automatic control method of testing of motherboard is provided, be used for testing simultaneously a plurality of motherboards to be measured, the step that comprises is: set up a network system of linking up transmission between a plurality of Testing apparatus and a main control system; Main control system is controlled these Testing apparatus starts to test by carrying out a control program; These Testing apparatus indivedual test procedures of carrying out after start come respectively these host board testings to be measured; These Testing apparatus are also carried out the test result of gained to main control system by network system passback test procedure respectively; And main control system can file the test result that receives.
Adopt the automatic control test macro and the method thereof of motherboard of the present invention, allow one main control system can control many Testing apparatus simultaneously by network system, so, the present invention finishes the test of a plurality of motherboards to be measured in can be at one time, and do not need expensive hardware cost expenditure, also improved testing efficiency simultaneously.
Embodiment
See also Fig. 1, it is the system architecture diagram of one of preferred embodiment of the present invention.A kind of automatic control test macro of motherboard is provided in the present embodiment, can be used to test simultaneously a plurality of motherboards to be measured 70, include: a main control system 10, a network system 30, a plurality of Testing apparatus 50, a test signal generation unit 80 and a switch control unit 90.
Wherein main control system 10 has a control program, and main control system 10 controls and monitor the test that each Testing apparatus 50 is finished robotization by executive control program, and the test result of each Testing apparatus 50 that can file.
Network system 30 is connected between main control system 10 and each Testing apparatus 50, and the transmission communication platform between main control system 10 and each Testing apparatus 50 is provided.The network system 30 of present embodiment can be Ethernet system (Ethernet network), can pass through a hub (figure slightly) and be connected with the network port of main control system 10 and the network port of each Testing apparatus 50.
Testing apparatus 50 is used for motherboard 70 to be measured is tested, and motherboard 70 to be measured of each Testing apparatus 50 corresponding installation is tested.See also Fig. 2, Testing apparatus 50 includes: a tunnel interface module 501, one control module 503 and a storage element 505, the tunnel interface module 501 of Testing apparatus 50 can be used to be connected with the I/O port of motherboard 70 to be measured, storage element 505 is used for storing a test procedure 5051, these test procedure 5051 usefulness decide will be to the content measurement of motherboard 70 to be measured, control module 503 is connected between tunnel interface module 501 and the storage element 505, control module 503 can be carried out the test procedure 5051 in the storage element 505, and gives motherboard 70 to be measured by tunnel interface module 501 test transmission signals.
80 of test signal generation units provide main control system 10 to test and to measure motherboard 70 to be measured in response to the test request of Testing apparatus 50 propositions.Test signal generation unit 80 is connected in main control system 10, and can export the test signal and give motherboard 70 to be measured under the control of main control system 10.The test signal generation unit 80 of present embodiment can be I/O control card and measuring instrument, wherein the I/O control card can be connected with the I/O port of main control system 10, as RS-232 port, USB port, LPT port, and allow main control system 10 test for motherboard 70 to be measured by control I/O control card output I/O test signal.Measuring instrument then is and GPIB (the General Purpose Instrument Bus) card connection of main control system 10, and allow main control system 10 control measuring instrument by control GPIB card motherboard 70 to be measured is carried out the signal measurement.
It is receive for that Testing apparatus 50 that 90 execution according to control program of switch control unit are used for controlling the signal that test signal generation unit 80 exported.Therefore the switch that provides by this switch control unit 90 switches selection, the signal that test signal generation unit 80 is exported can be switched to for some Testing apparatus 50 receptions, and allow main control system 10 assign the test control of wanting any Testing apparatus 50.
Present embodiment is by the connection of network system 30, and can allow main control system 10 and each Testing apparatus 50 form a LAN framework, and main control system 10 also can provide a storage area (as Winchester disk drive) of sharing to use for each Testing apparatus 50 by the execution of control program, and the pattern of utilizing archives to share allows communication between main control system 10 and the Testing apparatus 50, so just can allow each Testing apparatus 50 passback test result file in the main control system 10.
See also Fig. 3, it is the process flow diagram of one of preferred embodiment of the present invention.At first each motherboard 70 to be measured is installed to each Testing apparatus 50, allows Testing apparatus 50 go into signal and test for motherboard 70 to be measured, therefore when main control system 10 beginning executive control programs (S301) by tunnel interface module 501 outputs; Each Testing apparatus 50 starts (S303) of main control system 10 controls, and the mode of main control system 10 control Testing apparatus 50 starts is to export I/O test signal (as the switch signal) by the I/O control card, and select a Testing apparatus 50 to receive this I/O by switch control unit 90 and test signal, finish the start of this Testing apparatus 50, and come in the same way other Testing apparatus of not starting shooting 50 is started shooting.And after each Testing apparatus 50 is all started shooting, can carry out the test procedure 5051 of oneself and respectively each motherboard 70 to be measured be tested (S305); Each Testing apparatus 50 can return the test result of carrying out test procedure 5051 gained respectively by network system 30 and give main control system 10 (S307) afterwards.
Then, main control system 10 equally receives the test result of each Testing apparatus 50 passback and upgrades the last state (S309) of the test result in main control system 10 before by network system 30; Next main control system 10 checks whether the test request (S311) of receiving each Testing apparatus 50 passback is arranged; If check result is for being, main control system 10 is tested (S313) according to the test request of each Testing apparatus 50 passback by test signal generation unit 80, for example when Testing apparatus 50 is wanted the execute key looping test, Testing apparatus 50 can first transfer key looping test requirement give main control system 10, and main control system 10 receives that this test request will come the instruction of run-out key looping test by the I/O control card, and the Testing apparatus 50 of passback test request can be tested motherboard 70 to be measured according to this keyboard test instruction.
Next after the step of (S313) or step (S311) when not being judged as not, main control system 10 is judged whether end of test (EOT) (S315) of each Testing apparatus 50; If judged result for otherwise the step of getting back to (S307) continue to carry out; And if judged result is for being the test result (S317) of each Testing apparatus 50 passback of main control system 10 files; Main control system 10 and control 50 shutdown (S319) of each Testing apparatus afterwards, and finish automatic test to these motherboards 70 to be measured.And when need next organizing the motherboard to be measured 70 of quantity in test, the motherboard to be measured 70 that then only needs to be installed in Testing apparatus 50 at present unloads, reinstall one of new group motherboard 70 to be measured, and just can finish the automatic test of motherboard 70 to be measured according to operating process shown in Figure 3.
In sum, the automatic control test macro and the method thereof of motherboard provided by the present invention have following characteristics:
1, simultaneously many Testing apparatus is controlled with a main control system, and each Testing apparatus all is equipped with a motherboard to be measured, therefore can finish the test of a plurality of motherboards to be measured at one time with the less hardware cost, time in the time of so can reducing test, to improve testing efficiency, reach the expenditure that reduces hardware cost.
2, control computer hardware automatically by program implementation, not only can reduce the operation of manpower and reduce artificial operating mistake, more can improve precision of test result.
The above-mentioned accompanying drawing that discloses, explanation only are embodiments of the invention, allly are skillful in this skill person when can doing other all improvement according to above-mentioned explanation, and these change in the claim that still belongs to invention spirit of the present invention and defined.