[go: up one dir, main page]

CN1223942C - Automatic test system and method for power switch cycle of computer equipment - Google Patents

Automatic test system and method for power switch cycle of computer equipment Download PDF

Info

Publication number
CN1223942C
CN1223942C CN 02118902 CN02118902A CN1223942C CN 1223942 C CN1223942 C CN 1223942C CN 02118902 CN02118902 CN 02118902 CN 02118902 A CN02118902 A CN 02118902A CN 1223942 C CN1223942 C CN 1223942C
Authority
CN
China
Prior art keywords
computer
test
data
power
tested
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.)
Expired - Fee Related
Application number
CN 02118902
Other languages
Chinese (zh)
Other versions
CN1453708A (en
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.)
Mitac International Corp
Original Assignee
Mitac International Corp
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CN 02118902 priority Critical patent/CN1223942C/en
Publication of CN1453708A publication Critical patent/CN1453708A/en
Application granted granted Critical
Publication of CN1223942C publication Critical patent/CN1223942C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a power switch period automatic test system of computer equipment, which comprises a remote main control computer, a data collecting circuit, a plurality of data acquisition and transmission circuits, a plurality of data transmission lines and a power switch period switching unit. The computer machine to be tested sends the generated starting-up test error code to the data input port of the data collecting circuit through the connected data capturing and transmitting circuit in the switching period of the power switching period test power supply, and then the data capturing and transmitting circuit transmits and records the starting-up test error code transmitted by each computer machine to be tested in the remote main control computer.

Description

计算机设备的电源开关周期自动测试系统及其方法Automatic test system and method for power switch cycle of computer equipment

技术领域technical field

本发明是关于一种计算机设备的测试技术,特别是指一种计算机设备的电源开关周期自动测试系统及其测试方法。The invention relates to a testing technology of computer equipment, in particular to a computer equipment power switch cycle automatic testing system and a testing method thereof.

背景技术Background technique

一般新研发设计的计算机装置于试产阶段时,会对该计算机装置做各方面的测试,藉以确保其产品品质。例如在产品可靠度项目的测试中,电源开关周期测试(Power On-off Cycles Test)乃为相当重要的产品可靠度测试项目之一。Generally, when a newly developed computer device is in the trial production stage, all aspects of the computer device will be tested to ensure its product quality. For example, in the testing of product reliability items, the power on-off cycle test (Power On-off Cycles Test) is one of the very important product reliability testing items.

在计算机系统的设计中,每当计算机激活时,计算机的基本输出入系统(BIOS)会对系统硬件进行一系列的测试,例如对连接于该计算机系统的显示器、键盘、内存、硬盘…等进行测试,此一开机时所进行的系统自我测试程序(Power On SelfTest)一般简称为POST。当在计算机系统的开机自我测试程序中,如果检测到有任一装置存在着错误时,即会产生相对应的开机测试错误码(POST Code)。例如当内存测试检测到错误时,即会在计算机屏幕上显示内存测试错误的讯息、或是发出警示声响。目前所广泛使用的个人计算机系统大都遵循IBM标准错误码的定义,例如错误码201系表示内存测试错误(Memory Test Failed)。使用者、技术人员即可依据此一错误码的定义,而查询出系统错误处。而对于计算机制造厂商、组装厂商或维修厂商而言,该开机测试错误码更是重要的测试讯息。In the design of a computer system, whenever the computer is activated, the basic input-output system (BIOS) of the computer will conduct a series of tests on the system hardware, such as the display, keyboard, memory, hard disk, etc. connected to the computer system. Test, the system self-test program (Power On SelfTest) that is carried out when starting up is generally referred to as POST. When in the power-on self-test program of the computer system, if an error is detected in any device, a corresponding power-on test error code (POST Code) will be generated. For example, when the memory test detects an error, a memory test error message will be displayed on the computer screen, or a warning sound will be issued. Most of the currently widely used personal computer systems follow the definition of IBM standard error codes. For example, error code 201 represents a memory test error (Memory Test Failed). Users and technicians can check out the error of the system according to the definition of this error code. For computer manufacturers, assemblers or repairers, the power-on test error code is even more important test information.

在进行该电源开关周期的测试时,目前的测试方式,往往须要对该电源开关连续测试约2000次以上或者3天以上的时间,且每一受测计算机机台必须通过测试,在没有错误或发生当机现象下,方能确保该计算机设备的产品可靠度,然后才考虑大量生产。When carrying out the test of the power switch cycle, the current test method often needs to continuously test the power switch for more than 2000 times or more than 3 days, and each computer machine under test must pass the test. When a crash occurs, the product reliability of the computer equipment can be ensured, and then mass production can be considered.

然而,以目前的电源开关周期测试技术或方法中,在测试期间如果有一两次或者多次错误发生时,往往无法实时将其不良现象完整记录下来。由于当受测计算机机台电源重新开机时、而又无法正常激活系统时,其错误讯息或错误码将随着关机而不复存在,而难以进行错误的追踪、分析。在目前的测试技术中,仅能记录每一次电源开启使系统激活(System Boot)之后执行一特定档案,而将其计数值(Counter)加1,并存在软盘或硬盘的测试结果数据文件(Report File)内、或者由专人在旁随时记录每一受测计算机机台及每一次开关计算机电路的电源执行结果及不良现象。然而此种传统的测试方法既不完善亦不符效率。However, in the current power switching cycle testing technology or method, if one or two or more errors occur during the test, it is often impossible to record the adverse phenomena in real time. Because when the power of the computer under test is restarted and the system cannot be activated normally, its error message or error code will disappear along with the shutdown, making it difficult to trace and analyze errors. In the current test technology, it can only record the execution of a specific file after each power-on to activate the system (System Boot), and add 1 to its count value (Counter), and store the test result data file (Report) on the floppy disk or hard disk. File) or by a special person at any time to record the power execution results and bad phenomena of each computer machine under test and each switch of the computer circuit. However, this traditional testing method is neither perfect nor efficient.

发明内容Contents of the invention

缘此,本发明的主要目的即是针对前述常用技术的缺失及实际的需求,而研发出一种计算机电源开关周期测试系统,以达到节省人力又能够完整记录测试过程中每一受测计算机机台及每一次受测计算机机台的电源开关周期的执行状况。For this reason, the main purpose of the present invention is to develop a computer power switch cycle test system for the lack of the aforementioned commonly used technologies and actual needs, so as to save manpower and fully record each computer under test during the test process. The execution status of the power switch cycle of the computer platform and each computer platform under test.

本发明的另一目的是提供一种计算机电源开关周期自动测试系统,其利用一远程主控计算机同时监控数台受测计算机机台,并将每一受测计算机机台在执行电源开启自我测试程序时所发生的执行状况记录下来、并可将该电源开启自我测试程序中所产生的开机测试错误码传送至远程主控计算机中,以作比较或产生测试结果报表。Another object of the present invention is to provide a computer power switch cycle automatic test system, which utilizes a remote main control computer to simultaneously monitor several tested computer machines, and each tested computer machine performs a power-on self-test The execution status of the program is recorded, and the power-on test error code generated in the power-on self-test program can be sent to the remote host computer for comparison or to generate a test result report.

本发明的另一目的是提供一种便于执行后续错误追踪及分析的计算机电源开关周期测试系统,测试工程人员只需在测试时间结束时,检视远程主控计算机及受测计算机机台上的特定档案的记录结果,便可轻易得知每一受测计算机机台每一次开关电源的详细执行结果。Another object of the present invention is to provide a computer power switch cycle test system that facilitates follow-up error tracking and analysis. The test engineer only needs to check the remote control computer and the specific information on the computer under test when the test time is over. With the recorded results of the file, it is easy to know the detailed execution results of each power switch of each tested computer machine.

本发明的另一目的是提供一种计算机设备的电源开关周期自动测试方法,其以一远程主控计算机对多台受测计算机机台进行电源开关周期的测试,当各个受测计算机机台在进行电源开启自我测试程序、并产生开机测试错误码时,可由数据撷取传送电路将该开机测试错误码予以撷取,再由一数据汇集电路将各个数据撷取传送电路中所撷取到的开机测试错误码予以读取,并汇集传送至远程主控计算机中。Another object of the present invention is to provide a method for automatically testing the power switch cycle of computer equipment, which uses a remote master computer to test the power switch cycle of multiple tested computer machines. When the power-on self-test program is performed and a power-on test error code is generated, the power-on test error code can be captured by the data acquisition transmission circuit, and then a data collection circuit can collect the data captured by each data acquisition transmission circuit. The error codes of the power-on test are read and collected and sent to the remote master computer.

为了要达到上述的目的,本发明提供一种计算机设备的电源开关周期自动测试系统,包括有:In order to achieve the above-mentioned purpose, the present invention provides a power switch cycle automatic test system for computer equipment, including:

一远程主控计算机;a remote master computer;

一数据汇集电路,包括有多个数据缓冲器,每一个数据缓冲器的数据总线连接至远程主控计算机的总线,该数据缓冲器是由该远程主控计算机所产生的致能信号所控制;A data collection circuit, including a plurality of data buffers, the data bus of each data buffer is connected to the bus of the remote master computer, and the data buffer is controlled by an enabling signal generated by the remote master computer;

多个数据撷取传送电路,每一个数据撷取传送电路中包括有一数据栓锁器,其数据总线连接至受测计算机机台的总线,其数据输出端口连接于该数据汇集电路中的其中一个数据缓冲器的数据输入端口,该数据栓锁器系由该受测计算机机台所产生的致能信号所控制;A plurality of data acquisition and transmission circuits, each data acquisition and transmission circuit includes a data latch, its data bus is connected to the bus of the computer machine under test, and its data output port is connected to one of the data collection circuits a data input port of a data buffer, the data latch being controlled by an enable signal generated by the computer machine under test;

一电源开关周期切换单元,由一交流电源取得交流电源后,由其电源输出端输出开关周期测试电源,并供应至各个受测计算机机台;A power switching cycle switching unit, after obtaining AC power from an AC power supply, outputs switching cycle test power from its power output end, and supplies it to each tested computer machine;

该远程主控计算机在执行测试时,会经由该数据汇集电路及数据撷取传送电路读取每一受测计算机机台在执行电源开启自我测试程序时所发生的执行状况,并记录每一台受测计算机机台的开机测试错误码;When performing the test, the remote master computer will read the execution status of each tested computer machine when executing the power-on self-test program through the data collection circuit and the data acquisition transmission circuit, and record each The power-on test error code of the computer under test;

该数据汇集电路中包括有数个与门,每一个与门的其中一输入端系连接至远程主控计算机的总线所产生的输出入装置读取信号,而另一输入端则分别连接至远程主控计算机中选定的输出入端口地址,利用该输出入装置读取信号及输出入端口地址信号,使与门的输出端产生致能信号送至各对应数据缓冲器的致能端;该数据撷取传送电路中包括有一与门,每一个与门的其中一输入端系连接至受测计算机机的总线所产生的输出入装置写入信号,而另一输入端则连接至受测计算机机台中选定的输出入端口地址,利用该输出入装置写入信号及输出入端口地址信号,使与门的输出端产生致能信号送至该数据栓锁器的致能端。The data collection circuit includes several AND gates, and one of the input terminals of each AND gate is connected to the I/O device reading signal generated by the bus of the remote host computer, while the other input terminal is connected to the remote host computer respectively. The selected I/O port address in the control computer, use the I/O device to read the signal and the I/O port address signal, so that the output end of the AND gate generates an enable signal and sends it to the enable end of each corresponding data buffer; the data The capture and transmission circuit includes an AND gate, one of the inputs of each AND gate is connected to the I/O device write signal generated by the bus of the computer under test, and the other input is connected to the computer under test The I/O port address selected in the stage uses the write signal of the I/O device and the I/O port address signal to make the output end of the AND gate generate an enable signal and send it to the enable end of the data latch.

本发明还提供一种计算机设备的电源开关周期自动测试方法,是以一远程主控计算机对多台受测计算机机台进行电源开关周期的测试,该远程主控计算机连接有一数据汇集电路,而每一台受测计算机机台中连接有一数据撷取传送电路,该测试方法包括下列步骤:The present invention also provides a method for automatically testing the power switch cycle of computer equipment. A remote main control computer is used to test the power switch cycle of a plurality of tested computer machines. The remote main control computer is connected with a data collection circuit, and A data acquisition and transmission circuit is connected to each tested computer machine, and the test method includes the following steps:

供应一开关周期测试电源至各个受测计算机机台;supplying a switching cycle test power supply to each tested computer machine;

在该开关周期测试电源供电期间,各个受测计算机机台进行电源开启自我测试程序、并产生开机测试错误码;During the switching cycle test power supply period, each computer machine under test performs a power-on self-test program and generates a power-on test error code;

由各个数据撷取传送电路将连接的受测计算机机台于执行电源开启自我测试程序时所送出的开机测试错误码予以撷取,并存于各个数据撷取传送电路的数据栓锁器中;及The power-on test error code sent by the connected computer machine under test when executing the power-on self-test program is retrieved by each data retrieval transmission circuit, and stored in the data latch of each data retrieval transmission circuit; and

该数据汇集电路将各个数据撷取传送电路中所撷取到的受测计算机机台的开机测试错误码予以读取,并汇集传送至远程主控计算机中。The data collection circuit reads the boot test error codes of the tested computer machines captured by each data collection and transmission circuit, and collects and transmits them to the remote main control computer.

为进一步说明本发明的上述目的、结构特点和效果,以下将结合附图对本发明进行详细的描述。In order to further illustrate the above-mentioned purpose, structural features and effects of the present invention, the present invention will be described in detail below in conjunction with the accompanying drawings.

附图说明Description of drawings

图1是显示本发明计算机电源开关周期自动测试系统的连接示意图;Fig. 1 is the connection schematic diagram showing the computer power switch cycle automatic test system of the present invention;

图2是显示本发明中所使用的开关周期测试电源的输出波形图;Fig. 2 is the output waveform diagram showing the switching cycle test power supply used in the present invention;

图3是显示本发明的数据汇集电路的进一步电路方块图、以及该数据汇集电路与远程主控计算机、受测计算机机台间的连接关系图;Fig. 3 is a further circuit block diagram showing the data collection circuit of the present invention, and the connection relationship diagram between the data collection circuit and the remote main control computer and the computer under test;

图4是显示本发明的数据撷取传送电路的进一步电路方块图、以及该数据撷取传送电路与受测计算机机台、数据汇集电路间的连接关系图;Fig. 4 is a further circuit block diagram showing the data acquisition and transmission circuit of the present invention, and a connection relationship diagram between the data acquisition and transmission circuit, the computer machine under test, and the data collection circuit;

图5是显示本发明的控制流程图。Fig. 5 is a control flow diagram showing the present invention.

具体实施方式Detailed ways

首先参阅图1所示,其显示了本发明计算机设备的电源开关周期自动测试系统的连接示意图,该测试系统包括有一远程主控计算机(Remote ControlPC)1、一数据汇集电路(Data Acquisition Device)2、多个数据撷取传送电路(Data Port Capture Device)3a、3b…3n、多条数据传输线(Data TransferCable)4a、4b…4n、一电源开关周期切换单元5(Power On-off Cycles SwitchUnit),利用上述的电路安排,可对多台受测计算机机台6a、6b…6n进行电源开关周期的自动测试。First referring to shown in Fig. 1, it has shown the connection schematic diagram of the power switch cycle automatic test system of computer equipment of the present invention, and this test system comprises a remote main control computer (Remote ControlPC) 1, a data collection circuit (Data Acquisition Device) 2 , multiple data capture transmission circuits (Data Port Capture Device) 3a, 3b...3n, multiple data transmission lines (Data TransferCable) 4a, 4b...4n, a power switch cycle switching unit 5 (Power On-off Cycles SwitchUnit), Using the above circuit arrangement, the automatic test of the power switch cycle can be performed on multiple tested computer machines 6a, 6b...6n.

该数据汇集电路2系可制成插卡型式,可插置在该远程主控计算机1的总线,例如PCI总线槽(PCI Bus Slot)。数据汇集电路2具有数个数据端口(DataPort)或数据信道,各个数据端口分别经由数据传输线4a、4b…4n而分别连接数据撷取传送电路3a、3b…3n。该数据撷取传送电路3a、3b…3n亦可制成插卡型式,可插置在受测计算机机台6a、6b…6n上的总线,例如PCI总线槽(PCIBus Slot)。The data collection circuit 2 can be made into a plug-in card type, which can be inserted into the bus of the remote host computer 1, such as a PCI bus slot (PCI Bus Slot). The data collection circuit 2 has several data ports (DataPort) or data channels, and each data port is respectively connected to the data acquisition and transmission circuits 3a, 3b...3n via data transmission lines 4a, 4b...4n. The data acquisition and transmission circuits 3a, 3b...3n can also be made into a plug-in card type, which can be inserted into a bus on the tested computer machine 6a, 6b...6n, such as a PCI bus slot (PCIBus Slot).

每一台受测计算机机台6a、6b…6n的开关周期测试电源ACV’是由电源开关周期切换单元5所提供。在本实施例中,该电源开关周期切换单元5由一交流电源ACV取得交流电源后,由其电源输出端输出该开关周期测试电源ACV’(参图2所示),例如其电源开启(Power On)时间为50秒(T1),而电源关闭(PowerOff)时间为5秒(T2)。如此周期性地供应该开关周期测试电源ACV’至各个受测计算机机台6a、6b…6n,藉此而可以仿真该计算机机台在日后实际使用时的电源开关操作的次数。The switching cycle test power ACV' of each tested computer machine 6a, 6b...6n is provided by the power switching cycle switching unit 5. In this embodiment, after the power switching cycle switching unit 5 obtains the AC power from an AC power source ACV, it outputs the switching cycle test power source ACV' (shown in FIG. On) time is 50 seconds (T1), and power off (PowerOff) time is 5 seconds (T2). In this way, the switching cycle test power supply ACV' is periodically supplied to each tested computer machine 6a, 6b...6n, whereby the number of power switch operations of the computer machine in actual use in the future can be simulated.

图3所示,显示了本发明的数据汇集电路2的进一步电路方块图、以及该数据汇集电路2与远程主控计算机、受测计算机机台间的连接关系图。在远程主控计算机1包括有中央处理器11、主存储器12、数据总线13、地址总线14、控制总线15、PCI桥接器16、以及PCI总线17等习知构件。而该数据汇集电路2中包括有数个数据缓冲器(Data Buffer)21a、21b…21n,每一个数据缓冲器21a、21b…21n的数据总线(AD Bus)是连接至远程主控计算机的PCI总线17。As shown in FIG. 3 , it shows a further circuit block diagram of the data collection circuit 2 of the present invention, and a connection relationship diagram between the data collection circuit 2 and the remote main control computer and the computer under test. The remote host computer 1 includes conventional components such as a central processing unit 11 , a main memory 12 , a data bus 13 , an address bus 14 , a control bus 15 , a PCI bridge 16 , and a PCI bus 17 . The data collection circuit 2 includes several data buffers (Data Buffer) 21a, 21b...21n, and the data bus (AD Bus) of each data buffer 21a, 21b...21n is connected to the PCI bus of the remote host computer. 17.

此外,该数据汇集电路2中包括有数个与门22a、22b…22n,每一个与门22a、22b…22n的其中一输入端是连接至PCI总线所产生的输出入装置读取信号IOR,而另一输入端则分别连接至远程主控计算机1中选定的输出入端口地址(例如380H~39CH)。利用该输出入装置读取信号IOR及输出入端口地址信号,使与门22a、22b…22n的输出端可分别产生致能信号送至该数据缓冲器21a、21b…21n的致能端G,而可选择致能该数据缓冲器。In addition, the data collection circuit 2 includes several AND gates 22a, 22b...22n, one of the input ends of each AND gate 22a, 22b...22n is connected to the I/O device read signal IOR generated by the PCI bus, and The other input end is respectively connected to the selected I/O port address (for example, 380H~39CH) in the remote host computer 1 . Using the I/O device to read the signal IOR and the I/O port address signal, the output terminals of the AND gates 22a, 22b...22n can respectively generate enable signals and send them to the enable terminals G of the data buffers 21a, 21b...21n, Instead, the data buffer can be optionally enabled.

各个数据缓冲器21a、21b…21n的数据输入端口P1、P2…Pn是经由数据传输线4a、4b…4n而连接至受测计算机机台6a、6b…6n的数据撷取传送电路3a、3b…3n。该数据传输线4a、4b…4n可采用一般9线的信号传输缆线,其中8线为连接到开机测试错误码数据的八个位数据信号线,另外一条线为连接到受测计算机机台上电子组件的工作电源Vcc,藉以判断该受测计算机机台是否在开机(Power On)期间。当然该信号数据传输线亦可采用其它型态的信号数据传输线。The data input ports P1, P2...Pn of each data buffer 21a, 21b...21n are connected to the data acquisition and transmission circuits 3a, 3b...6n of the computer machine under test 6a, 6b...6n via the data transmission lines 4a, 4b...4n 3n. The data transmission lines 4a, 4b...4n can use general 9-wire signal transmission cables, of which 8 wires are eight-bit data signal lines connected to the power-on test error code data, and the other line is connected to the computer machine under test. The working power supply Vcc of the electronic components is used to determine whether the computer under test is in the Power On period. Certainly, the signal data transmission line can also adopt other types of signal data transmission lines.

图4是显示本发明的数据撷取传送电路的进一步电路方块图、以及该数据撷取传送电路与受测计算机机台、数据汇集电路间的连接关系图。在受测计算机机台,例如第一部受测计算机机台6a中,包括有中央处理器61、主存储器62、数据总线63、地址总线64、控制总线65、PCI桥接器66、以及PCI总线67等已知构件。而该数据撷取传送电路3a中包括有一数据栓锁器31,其数据总线(AD Bus)是连接至该受测计算机机台6a的PCI总线67。FIG. 4 is a further circuit block diagram showing the data acquisition and transmission circuit of the present invention, and a connection relationship diagram between the data acquisition and transmission circuit, the computer machine under test, and the data collection circuit. In the tested computer machine, for example, the first tested computer machine 6a includes a central processing unit 61, a main memory 62, a data bus 63, an address bus 64, a control bus 65, a PCI bridge 66, and a PCI bus 67 and other known components. And the data acquisition transmission circuit 3a includes a data latch 31, and its data bus (AD Bus) is connected to the PCI bus 67 of the tested computer machine 6a.

此外,该数据撷取传送电路3a中包括有一与门32,其中一输入端连接至该受测计算机机台6a的PCI总线67所产生的输出入装置写入信号IOW,而另一输入端则连接至受测计算机机台6a的其中一输出入端口地址(例如08XH)。利用该输出入装置写入信号IOW及输出入端口地址信号,使与门32的输出端可产生致能信号送至该数据栓锁器31的致能端G,而可选择致能该数据栓锁器。该数据栓锁器31的数据输出端口D0-D7即是经由数据传输线4a而连接至数据汇集电路2的第一个数据输入端口P1。如此,即可将受测计算机机台在开机测试过程中所产生的开机测试错误码(POST Code)透过该数据栓锁器、数据传输线、及数据缓冲器而送到远程主控计算机中。In addition, the data acquisition transmission circuit 3a includes an AND gate 32, one of which is connected to the I/O device write signal IOW generated by the PCI bus 67 of the tested computer machine 6a, and the other input is Connect to one of the I/O port addresses (eg 08XH) of the tested computer machine 6a. Utilize this I/O device to write signal IOW and I/O port address signal, make the output end of AND gate 32 can produce enable signal and send to enable terminal G of this data latch device 31, and can selectively enable this data latch locker. The data output ports D0-D7 of the data latch 31 are connected to the first data input port P1 of the data collection circuit 2 via the data transmission line 4a. In this way, the power-on test error code (POST Code) generated during the power-on test of the computer under test can be sent to the remote master computer through the data latch, data transmission line, and data buffer.

当远程主控计算机在开始执行测试时,首先执行各个输出入端口的读取程序(I/O Ports Read Program),并开始读取数据汇集电路上的每一受测计算机机台所连接到的固定输出端口地址的数据,并记录每一固定时间读取到的每一台受测计算机机台上的开机测试错误码(POST Code),此开机测试错误码可储存在该远程主控计算机的内存或磁盘中。而在各个受测计算机机台在进行测试时,该受测计算机机台亦可实时显示出每一受测计算机机台的开机测试错误码,亦可将该开机测试错误码储存在该受测计算机机台的内存或磁盘中。When the remote main control computer starts to execute the test, it first executes the reading program (I/O Ports Read Program) of each input and output port, and starts to read the fixed ports connected to each computer under test on the data collection circuit. Output the data of the port address, and record the power-on test error code (POST Code) on each computer machine under test read at a fixed time. This power-on test error code can be stored in the memory of the remote master computer or on disk. And when each tested computer machine is testing, the tested computer machine can also display the power-on test error code of each tested computer machine in real time, and can also store the power-on test error code in the tested computer machine. computer memory or disk.

图5显示了本发明的具体实施例的控制流程图,兹配合图1至图4所示的架构将本发明的处理步骤说明如后。本发明的步骤主要包括由电源开关周期切换单元5供应一开关周期测试电源ACV’至各个受测计算机机台6a、6b…6n(步骤101)。在该开关周期测试电源ACV’供电期间,各个受测计算机机台6a、6b…6n进行电源开启自我测试程序(步骤102),并在该电源开启自我测试程序中产生开机测试错误码(POST Code)。此时,各个受测计算机机台6a、6b…6n可将该开机测试错误码予以储存在内存或磁盘中的特定档案中(步骤103),亦可将该开机测试错误码显示在其显示器上。FIG. 5 shows a control flow diagram of a specific embodiment of the present invention, and the processing steps of the present invention will be described as follows in conjunction with the architecture shown in FIGS. 1 to 4 . The steps of the present invention mainly include supplying a switching cycle test power supply ACV' from the power switching cycle switching unit 5 to each tested computer machine 6a, 6b...6n (step 101). During the power supply period of the switching cycle test power supply ACV ', each tested computer machine base 6a, 6b ... 6n performs a power-on self-test program (step 102), and generates a power-on test error code (POST Code) in the power-on self-test program. ). Now, each tested computer machine 6a, 6b...6n can store the power-on test error code in a specific file in the memory or disk (step 103), and can also display the power-on test error code on its display .

步骤104中,由各个数据撷取传送电路3a、3b…3n将连接的受测计算机机台6a、6b…6n于执行电源开启自我测试程序时所送出的开机测试错误码予以撷取,并存于各个数据撷取传送电路的数据栓锁器中。In step 104, each data capture transmission circuit 3a, 3b...3n retrieves the power-on test error codes sent by the connected tested computer machines 6a, 6b...6n when executing the power-on self-test program, and stores them in the In the data latches of each data acquisition and transmission circuit.

步骤105中,由数据汇集电路2将各个数据撷取传送电路3a、3b…3n中所撷取到的受测计算机机台6a、6b…6n的开机测试错误码予以读取,并汇集传送至远程主控计算机1中。此时,各个远程主控计算机1可将该开机测试错误码予以储存在内存或磁盘中的特定档案中(步骤106),亦可将该开机测试错误码显示在其显示器上。In step 105, the power-on test error codes of the tested computer machines 6a, 6b...6n captured by the data collection and transmission circuits 3a, 3b...3n are read by the data collection circuit 2, and collected and sent to Remote host computer 1. At this point, each remote master computer 1 can store the power-on test error code in a specific file in the internal memory or disk (step 106), and can also display the power-on test error code on its display.

利用上述说明可知,本发明的测试系统利用一远程主控计算机同时监控数台(例如8-16台)受测计算机机台,并将每一受测计算机机台在执行电源开启自我测试程序时所发生的执行状况记录下来、并可将该电源开启自我测试程序中所产生的开机测试错误码传送至远程主控计算机中,以作比较或产生测试结果报表。故测试工程人员只需在测试时间结束时,再检视远程主控计算机及受测计算机机台上的特定档案的记录结果,便可轻易得知每一受测计算机机台每一次开关电源的详细执行结果。因此,本发明确具高度的产业利用价值。Utilize above-mentioned description to know, test system of the present invention utilizes a remote main control computer to simultaneously monitor several (for example 8-16) computer machines under test, and when each computer machine under test executes the self-testing program of power on The execution status that occurs is recorded, and the power-on test error code generated in the power-on self-test program can be sent to the remote host computer for comparison or to generate a test result report. Therefore, the test engineer only needs to check the record results of the specific files on the remote master computer and the computer under test at the end of the test time, and can easily know the details of each power switch of each computer under test. Results of the. Therefore, the present invention clearly has high industrial application value.

当然,本技术领域中的普通技术人员应当认识到,以上的实施例仅是用来说明本发明,而并非用作为对本发明的限定,只要在本发明的实质精神范围内,对以上所述实施例的变化、变型都将落在本发明权利要求书的范围内。Of course, those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the present invention, rather than as a limitation to the present invention, as long as within the scope of the spirit of the present invention, the implementation of the above Changes and modifications of the examples will fall within the scope of the claims of the present invention.

Claims (11)

1.一种计算机设备的电源开关周期自动测试系统,包括有:1. A power switch cycle automatic test system for computer equipment, comprising: 一远程主控计算机;a remote master computer; 一数据汇集电路,包括有多个数据缓冲器,每一个数据缓冲器的数据总线连接至远程主控计算机的总线,该数据缓冲器是由该远程主控计算机所产生的致能信号所控制;A data collection circuit, including a plurality of data buffers, the data bus of each data buffer is connected to the bus of the remote master computer, and the data buffer is controlled by an enabling signal generated by the remote master computer; 多个数据撷取传送电路,每一个数据撷取传送电路中包括有一数据栓锁器,其数据总线连接至受测计算机机台的总线,其数据输出端口连接于该数据汇集电路中的其中一个数据缓冲器的数据输入端口,该数据栓锁器系由该受测计算机机台所产生的致能信号所控制;A plurality of data acquisition and transmission circuits, each data acquisition and transmission circuit includes a data latch, its data bus is connected to the bus of the computer machine under test, and its data output port is connected to one of the data collection circuits a data input port of a data buffer, the data latch being controlled by an enable signal generated by the computer machine under test; 一电源开关周期切换单元,由一交流电源取得交流电源后,由其电源输出端输出开关周期测试电源,并供应至各个受测计算机机台;A power switching cycle switching unit, after obtaining AC power from an AC power supply, outputs switching cycle test power from its power output end, and supplies it to each tested computer machine; 该远程主控计算机在执行测试时,会经由该数据汇集电路及数据撷取传送电路读取每一受测计算机机台在执行电源开启自我测试程序时所发生的执行状况,并记录每一台受测计算机机台的开机测试错误码;When performing the test, the remote master computer will read the execution status of each tested computer machine when executing the power-on self-test program through the data collection circuit and the data acquisition transmission circuit, and record each The power-on test error code of the computer under test; 该数据汇集电路中包括有数个与门,每一个与门的其中一输入端系连接至远程主控计算机的总线所产生的输出入装置读取信号,而另一输入端则分别连接至远程主控计算机中选定的输出入端口地址,利用该输出入装置读取信号及输出入端口地址信号,使与门的输出端产生致能信号送至各对应数据缓冲器的致能端;该数据撷取传送电路中包括有一与门,每一个与门的其中一输入端系连接至受测计算机机的总线所产生的输出入装置写入信号,而另一输入端则连接至受测计算机机台中选定的输出入端口地址,利用该输出入装置写入信号及输出入端口地址信号,使与门的输出端产生致能信号送至该数据栓锁器的致能端。The data collection circuit includes several AND gates, and one of the input terminals of each AND gate is connected to the I/O device reading signal generated by the bus of the remote host computer, while the other input terminal is connected to the remote host computer respectively. The selected I/O port address in the control computer, use the I/O device to read the signal and the I/O port address signal, so that the output end of the AND gate generates an enable signal and sends it to the enable end of each corresponding data buffer; the data The capture and transmission circuit includes an AND gate, one of the inputs of each AND gate is connected to the I/O device write signal generated by the bus of the computer under test, and the other input is connected to the computer under test The I/O port address selected in the stage uses the write signal of the I/O device and the I/O port address signal to make the output end of the AND gate generate an enable signal and send it to the enable end of the data latch. 2.如权利要求1所述的计算机设备的电源开关周期自动测试系统,其特征在于,该数据汇集电路系制成插卡型式,可插置在该远程主控计算机的PCI总线槽。2. The automatic test system for power switch cycle of computer equipment as claimed in claim 1, characterized in that, the data collection circuit is made into a plug-in card type, which can be inserted into the PCI bus slot of the remote host computer. 3.如权利要求1所述的计算机设备的电源开关周期自动测试系统,其特征在于,该数据撷取传送电路系制成插卡型式,可插置在该受测计算机机台的PCI总线槽。3. The power switch cycle automatic test system of computer equipment as claimed in claim 1, wherein the data acquisition and transmission circuit is made into a plug-in card type, which can be inserted into the PCI bus slot of the computer machine under test . 4.如权利要求1所述的计算机设备的电源开关周期自动测试系统,其特征在于,该数据撷取传送电路与数据汇集电路间是以一数据传输线予以连接,以将该数据撷取传送电路所撷取到受测计算机机台所送出的开机测试错误码,经由该数据传输线送至数据汇集电路中。4. The power switch cycle automatic test system of computer equipment as claimed in claim 1, characterized in that, the data acquisition and transmission circuit is connected with the data collection circuit with a data transmission line, so that the data acquisition and transmission circuit The retrieved startup test error code sent by the tested computer machine is sent to the data collection circuit through the data transmission line. 5.如权利要求4所述的计算机设备的电源开关周期自动测试系统,其特征在于,该数据传输线包括有多条信号数据传输线作为数据信号线,另包括有一线系连接到受测计算机机台上的工作电源,藉以判断该受测计算机机台是否在开机期间。5. The power switch cycle automatic test system of computer equipment as claimed in claim 4, is characterized in that, this data transmission line comprises a plurality of signal data transmission lines as data signal line, also comprises that a line is connected to the computer machine under test The working power on the computer is used to judge whether the computer machine under test is in the power-on period. 6.如权利要求1所述的计算机设备的电源开关周期自动测试系统,其特征在于,该受测计算机机台所产生的开机测试错误码亦实时显示在该受测计算机机台、以及将该开机测试错误码储存在该受测计算机机台中。6. The power switch cycle automatic test system of computer equipment as claimed in claim 1, it is characterized in that, the power-on test error code that this tested computer machine produces is also displayed in this tested computer machine in real time, and the power-on The test error code is stored in the tested computer machine. 7.一种计算机设备的电源开关周期自动测试方法,是以一远程主控计算机对多台受测计算机机台进行电源开关周期的测试,该远程主控计算机连接有一数据汇集电路,而每一台受测计算机机台中连接有一数据撷取传送电路,该测试方法包括下列步骤:7. A method for automatically testing the power switch cycle of computer equipment is to carry out the test of the power switch cycle of a plurality of tested computer machines with a remote master control computer, the remote master control computer is connected with a data collection circuit, and each A data acquisition transmission circuit is connected to a computer machine under test, and the test method includes the following steps: 供应一开关周期测试电源至各个受测计算机机台;supplying a switching cycle test power supply to each tested computer machine; 在该开关周期测试电源供电期间,各个受测计算机机台进行电源开启自我测试程序、并产生开机测试错误码;During the switching cycle test power supply period, each computer machine under test performs a power-on self-test program and generates a power-on test error code; 由各个数据撷取传送电路将连接的受测计算机机台于执行电源开启自我测试程序时所送出的开机测试错误码予以撷取,并存于各个数据撷取传送电路的数据栓锁器中;及The power-on test error code sent by the connected computer machine under test when executing the power-on self-test program is retrieved by each data retrieval transmission circuit, and stored in the data latch of each data retrieval transmission circuit; and 该数据汇集电路将各个数据撷取传送电路中所撷取到的受测计算机机台的开机测试错误码予以读取,并汇集传送至远程主控计算机中。The data collection circuit reads the boot test error codes of the tested computer machines captured by each data collection and transmission circuit, and collects and transmits them to the remote main control computer. 8.如权利要求7所述的计算机设备的电源开关周期自动测试方法,其特征在于,还包括将各个受测计算机机台所产生的开机测试错误码储存在受测计算机机台的内存或磁盘中的步骤。8. the automatic test method of the power switch cycle of computer equipment as claimed in claim 7, is characterized in that, also comprises the power-on test error code that each tested computer machine produces is stored in the internal memory of the tested computer machine or in the magnetic disk A step of. 9.如权利要求7所述的计算机设备的电源开关周期自动测试方法,其特征在于,还包括将各个受测计算机机台所产生的开机测试错误码显示在受测计算机机台显示器上的步骤。9. The automatic test method of the power switch cycle of computer equipment as claimed in claim 7, further comprising the step of displaying the error codes of the power-on test produced by each computer under test on the display of the computer under test. 10.如权利要求7所述的计算机设备之电源开关周期自动测试方法,其特征在于,还包括将各个受测计算机机台所产生的开机测试错误码储存在该远程主控计算机的内存或磁盘中的步骤。10. The method for automatically testing the power switch cycle of computer equipment as claimed in claim 7, further comprising storing the error codes of the power-on test generated by each tested computer machine in the memory or disk of the remote master computer A step of. 11.如权利要求7所述的计算机设备的电源开关周期自动测试方法,其特征在于,还包括将各个受测计算机机台所产生的开机测试错误码显示在该远程主控计算机显示器上的步骤。11. The automatic test method of the power switch cycle of computer equipment as claimed in claim 7, further comprising the step of displaying the error codes of the power-on test produced by each tested computer machine on the display of the remote master computer.
CN 02118902 2002-04-27 2002-04-27 Automatic test system and method for power switch cycle of computer equipment Expired - Fee Related CN1223942C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02118902 CN1223942C (en) 2002-04-27 2002-04-27 Automatic test system and method for power switch cycle of computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02118902 CN1223942C (en) 2002-04-27 2002-04-27 Automatic test system and method for power switch cycle of computer equipment

Publications (2)

Publication Number Publication Date
CN1453708A CN1453708A (en) 2003-11-05
CN1223942C true CN1223942C (en) 2005-10-19

Family

ID=29257467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02118902 Expired - Fee Related CN1223942C (en) 2002-04-27 2002-04-27 Automatic test system and method for power switch cycle of computer equipment

Country Status (1)

Country Link
CN (1) CN1223942C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100529775C (en) * 2005-01-10 2009-08-19 鸿富锦精密工业(深圳)有限公司 Power supply switch controller
CN100399291C (en) * 2005-01-25 2008-07-02 英业达股份有限公司 Method for displaying complete information of BIOS error detection code
CN1983810B (en) * 2006-04-03 2010-04-21 华为技术有限公司 Method and device for repeated switching cell-phone
US7725742B2 (en) * 2006-08-15 2010-05-25 Mitac International Corp. Remote monitor module for power initialization of computer system
CN101482842B (en) * 2008-01-09 2011-11-30 鸿富锦精密工业(深圳)有限公司 Computer power on/off test device
CN107729204B (en) * 2017-11-09 2020-10-27 英业达科技有限公司 Test equipment and test method
TWI711922B (en) * 2019-04-17 2020-12-01 上銀科技股份有限公司 System function test device

Also Published As

Publication number Publication date
CN1453708A (en) 2003-11-05

Similar Documents

Publication Publication Date Title
CN101093462B (en) Automatization method for testing schooling pressure on database application
CN104518924B (en) Automatic testing and result comparison method and system
CN101738550A (en) Electronic device test device and test method
CN117421217B (en) Automatic software function test method, system, terminal and medium
CN104407951A (en) Method for automatically testing complete server
US20120254662A1 (en) Automated test system and automated test method
CN109119124A (en) The production method and solid state hard disk of solid state hard disk
CN112631848A (en) Intelligent diagnosis method and system for mechanical hard disk faults
US20130111268A1 (en) Testing device capable of simulating plugging and unplugging operations and method thereof
CN109032887A (en) A kind of faulty hard disk method for rapidly positioning and system
CN111400154A (en) Performance test method and related device for solid state disk
CN1223942C (en) Automatic test system and method for power switch cycle of computer equipment
CN101114249A (en) I2C bus testing apparatus of mainboard and method thereof
CN114325316A (en) Board card testing method and device, electronic equipment and storage medium
CN114780317A (en) Hard disk plug-in and pull-out test method, system and related components
CN114996127A (en) Intelligent test method and system for solid state disk firmware module
CN1797357A (en) Circuit board for testing function of main board
CN109444570B (en) Electronic product fault diagnosis module and method based on memory
CN102541705A (en) Testing method for computer and tooling plate
CN103018617B (en) Circuit board detection method and detection system thereof
CN109032827A (en) It is a kind of to track the test macro and method for leading to memory overflow exception
CN222545726U (en) Server board and monitoring system thereof, server and monitoring system thereof
CN113760696A (en) Program problem positioning method and device, electronic equipment and storage medium
CN102789406B (en) Mainboard test aided diagnosis method and system
CN108760120A (en) A kind of method and device of testing hard disk backboard adaptability to changes

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20051019