1. Technical Field
The present disclosure relates to a computer testing system and method.
2. Description of Related Art
After a computer is produced, quality tests are required. One of the tests is for testing stability of the computer when the computer is turned on or turned off. In testing, the computer is powered on and off repeatedly.
A test device for testing stability of a computer includes a single chip microcontroller (SCM) connected to the computer. The SCM sends control signals to repeatedly switch the computer on and off and detects whether the computer powers on and off according to the control signals. However, the test device cannot test the computer under various environmental conditions, which means problems may go undetected.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation. In the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may also comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
Referring to
Referring to
Referring to
In block S01, the system is initialized.
In block S02, the control device 40 sends instructions to adjust the temperature and humidity in the environmental test chamber 10 according to the preset parameters. In this block, the test process control module 43 sends instructions to the environmental test chamber control module 45 according to the parameters set by the parameter setting module 41. The environmental test chamber control module 45 controls the temperature and humidity in the environmental test chamber 10 according to the instructions sent from the test process control module 43.
In block S03, the temperature sensor 71 and the humidity sensor 72 sense the temperature and the humidity in the environmental test chamber 10 and sends the sensed temperature and humidity to the SCM 60. The SCM 60 sends the sensed temperature and humidity to the GPIB communication card 30. The GPIB communication card 30 sends the sensed temperature and humidity to the control device 40.
In block S04, the control device 40 sends an instruction to switch on the power supply 50 when the temperature and humidity in the environmental test chamber 10 reach predetermined values. In this block, the test process control module 43 sends the instruction to the power supply control module 46. The power supply control module 46 controls the power supply 50 to be switched on according to the instruction.
In block 505, the SCM 60 repeatedly switches the computer 20 on and off according to the predetermined frequency.
In block S06, the voltage meter 73 detects the voltages at the test points of the computer 20 and sends the voltage values to the data receiving module 44.
The data receiving module 44 sends the data sent from the data gathering card 70 and the SCM 60 to the test process control module 43. The test process control module 43 controls the test report generating module 42 to generate test reports.
While the present disclosure has been illustrated by the description of preferred embodiments thereof, and while the preferred embodiments have been described in considerable detail, it is not intended to restrict or in any way limit the scope of the appended claims to such details. Additional advantages and modifications within the spirit and scope of the present disclosure will readily appear to those skilled in the art. Therefore, the present disclosure is not limited to the specific details and illustrative examples shown and described.
Depending on the embodiment, certain of the steps of methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
201010614589.6 | Dec 2010 | CN | national |