TWI416320B - System and method for testing computer - Google Patents
System and method for testing computer Download PDFInfo
- Publication number
- TWI416320B TWI416320B TW95114406A TW95114406A TWI416320B TW I416320 B TWI416320 B TW I416320B TW 95114406 A TW95114406 A TW 95114406A TW 95114406 A TW95114406 A TW 95114406A TW I416320 B TWI416320 B TW I416320B
- Authority
- TW
- Taiwan
- Prior art keywords
- computer
- server
- tested
- test
- module
- Prior art date
Links
Description
本發明涉及一種測試系統及方法,尤指一種適用於測試電腦之系統及方法。 The present invention relates to a test system and method, and more particularly to a system and method suitable for testing a computer.
生產線上成批之產品,通常係按照一定之測試流程來作業,以提高測試效率,並且保證產品之質量。以前測試電腦產品(如個人電腦、伺服器等)之方法係採用PXE(Pre-boot Execution Environment,先啟動執行環境)啟動,從PXE伺服器下載測試鏡像文件到待測電腦之硬碟機,然後待測電腦啟動並運行測試模組,其具體步驟如下:1.建立一台PXE伺服器;2.建立一台測試資料存儲伺服器;3.伺服器管理人員根據不同待測電腦之硬體配置製作不同之測試鏡像文件;4.建立一台DHCP(Dynamic Host Configure Protocol,動態主機組態協議)伺服器;5.從PXE伺服器下載測試鏡像文件至待測電腦之硬碟機,運行測試模組,對待測產品之UUT(unit under test,在測試單元)進行測試;6.上傳測試結果至測試資料存儲伺服器;7.清空測試鏡像文件所在之硬碟機之內容。 Batch products on the production line are usually operated according to certain test procedures to improve test efficiency and ensure product quality. Previously, the method of testing computer products (such as personal computer, server, etc.) was started by PXE (Pre-boot Execution Environment), and the test image file was downloaded from the PXE server to the hard disk drive of the computer to be tested. The test computer starts and runs the test module. The specific steps are as follows: 1. Establish a PXE server; 2. Establish a test data storage server; 3. Server management personnel according to different hardware configurations of the computer to be tested Create a different test image file; 4. Create a DHCP (Dynamic Host Configure Protocol) server; 5. Download the test image file from the PXE server to the hard disk drive of the computer to be tested, run the test mode Group, the UUT (unit under test, test unit) of the product to be tested; 6. upload the test result to the test data storage server; 7. clear the contents of the hard disk drive where the test image file is located.
由於出貨機型之千差萬別,部分機型在出貨時沒有硬碟機或光碟機等存儲設備,對於沒有存儲設備之機型,由於無法安裝任何之 系統或軟件,所以無法進行傳統測試。 Due to the wide variety of shipping models, some models do not have storage devices such as hard disk drives or CD players when shipping. For models without storage devices, it is impossible to install any models. System or software, so traditional testing is not possible.
鑒於以上內容,有必要提供一種無硬碟機之電腦測試系統及方法。 In view of the above, it is necessary to provide a computer test system and method without a hard disk drive.
一種電腦測試系統,包括一待測電腦及與該待測電腦分別藉由網絡相連之一DHCP伺服器及一PXE伺服器。該待測電腦具有支持PXE之網絡設備,該DHCP伺服器用於將網絡中之IP地址自動分配給待測電腦,以使網絡管理員可以集中管理一個網絡系統,該PXE伺服器存儲有啟動待測電腦之啟動模組及一鏡像文件,該鏡像文件包含有測試系統及測試模組,以使得該待測電腦啟動並執行測試模組。 A computer test system includes a computer to be tested and a DHCP server and a PXE server connected to the computer to be tested by a network. The computer to be tested has a network device supporting PXE, and the DHCP server is used for automatically assigning an IP address in the network to the computer to be tested, so that the network administrator can centrally manage a network system, and the PXE server stores the startup. The computer startup module and an image file, the image file includes a test system and a test module, so that the computer to be tested starts and executes the test module.
一種電腦測試方法,用於測試至少一待測電腦,該電腦測試方法包括以下步驟:該待測電腦之網絡設備藉由DHCP伺服器得到IP地址,然後該待測電腦從PXE伺服器上得到啟動模組,並下載啟動模組至該待測電腦,該待測電腦直接訪問PXE伺服器中之鏡像文件,並啟動鏡像文件中之測試系統與測試模組開始測試。 A computer test method for testing at least one computer to be tested, the computer test method comprising the following steps: the network device of the computer to be tested obtains an IP address by using a DHCP server, and then the computer to be tested is started from the PXE server. Module, and download the boot module to the computer to be tested, the computer to be tested directly accesses the image file in the PXE server, and starts the test system and the test module in the image file to start testing.
相對習知技術,本發明以PXE為基礎,使用網絡設備測試,省去了下載測試模組或系統之時間,適用範圍廣,運行速度快。 Compared with the prior art, the invention is based on PXE and uses network equipment testing, which saves time for downloading test modules or systems, wide application range and fast running speed.
10‧‧‧待測電腦 10‧‧‧Computer under test
20‧‧‧DHCP伺服器 20‧‧‧DHCP server
30‧‧‧PXE伺服器 30‧‧‧PXE server
40‧‧‧網絡 40‧‧‧Network
圖1為本發明電腦測試系統較佳實施方式之硬體構成圖。 1 is a hardware structural diagram of a preferred embodiment of a computer test system of the present invention.
圖2為本發明電腦測試方法較佳實施方式之流程圖。 2 is a flow chart of a preferred embodiment of a computer testing method of the present invention.
請參閱圖1,本發明電腦測試系統較佳實施方式包括一待測電腦10、一DHCP伺服器20及一PXE伺服器30。該待測電腦10具有支持PXE之網絡設備。本實施例中,該網絡設備為一網卡。該DHCP伺服器20用於對網絡中之IP地址進行自動分配以使網絡管理員可以集中管理一個網絡系統。該PXE伺服器30中存儲有啟動該待測電腦10之啟動模組及一鏡像文件,該鏡像文件包含有測試系統及測試模組,該待測電腦10可藉由該啟動模組與鏡像文件啟動系統並執行測試模組。該待測電腦10分別與該DHCP伺服器20及PXE伺服器30之間藉由網絡40相連。在實施過程中,該DHCP伺服器20及PXE伺服器30也可以整合為一台伺服器,同時提供DHCP伺服器20及PXE伺服器30之功能。該PXE伺服器30上設有伺服器端通訊模組,該PXE伺服器30之啟動模組中設有客戶端通訊模組,將該啟動模組下載至待測電腦10,該啟動模組之客戶端通訊模組用於與該伺服器端通訊模組通訊,實現該待測電腦10與該PXE伺服器30之間之通訊。 Referring to FIG. 1, a preferred embodiment of the computer test system of the present invention includes a computer 10 to be tested, a DHCP server 20, and a PXE server 30. The computer 10 to be tested has a network device supporting PXE. In this embodiment, the network device is a network card. The DHCP server 20 is used to automatically assign IP addresses in the network so that the network administrator can centrally manage one network system. The PXE server 30 stores a booting module and an image file for starting the computer 10 to be tested. The image file includes a test system and a test module. The computer 10 to be tested can use the boot module and the image file. Start the system and execute the test module. The computer 10 to be tested is connected to the DHCP server 20 and the PXE server 30 via a network 40. In the implementation process, the DHCP server 20 and the PXE server 30 can also be integrated into one server, and the functions of the DHCP server 20 and the PXE server 30 are provided. The PXE server 30 is provided with a server-side communication module, and the startup module of the PXE server 30 is provided with a client communication module, and the startup module is downloaded to the computer 10 to be tested, and the startup module is The client communication module is configured to communicate with the server-side communication module to implement communication between the computer 10 to be tested and the PXE server 30.
在對該待測電腦10測試前,先在PXE伺服器30上放置測試系統與測試模組之鏡像文件。該待測電腦10從PXE伺服器30上得到啟動模組,並通過該啟動模組啟動待測電腦10,使該待測電腦10與PXE伺服器30上之通訊模組通訊,該待測電腦10直接訪問存儲於PXE伺服器30上之遠程鏡像文件,從而啟動測試系統與測試模組開始測試,並將測試結果上傳到該PXE伺服器30或DHCP伺服器20之資料存儲中心。 Before testing the computer 10 to be tested, an image file of the test system and the test module is placed on the PXE server 30. The computer 10 to be tested obtains a startup module from the PXE server 30, and starts the computer 10 to be tested through the startup module, so that the computer 10 to be tested communicates with the communication module on the PXE server 30, and the computer to be tested 10 directly accessing the remote image file stored on the PXE server 30, thereby starting the test system and the test module to start the test, and uploading the test result to the data storage center of the PXE server 30 or the DHCP server 20.
請參閱圖2,利用上述測試系統測試待測電腦10之方法包括以下 步驟: Referring to FIG. 2, the method for testing the computer 10 to be tested by using the above test system includes the following step:
S10:待測電腦10藉由DHCP伺服器20得到IP地址。 S10: The computer under test 10 obtains an IP address by the DHCP server 20.
S20:該待測電腦10藉由網卡從PXE伺服器30上得到啟動模組,並下載該啟動模組至該待測電腦10。 S20: The computer under test 10 obtains a boot module from the PXE server 30 by using a network card, and downloads the boot module to the computer 10 to be tested.
S30:該待測電腦10執行該啟動模組,從而啟動該待測電腦10,使該待測電腦10與PXE伺服器30上之通訊模組進行通訊,該待測電腦10直接訪問PXE伺服器30中之遠程鏡像文件,實現無硬碟機啟動。 S30: The computer 10 to be tested executes the startup module, thereby starting the computer 10 to be tested, and the computer 10 to be tested communicates with the communication module on the PXE server 30, and the computer 10 to be tested directly accesses the PXE server. 30 remote mirror files, no hard drive boot.
S40:啟動鏡像文件中之測試系統與測試模組,並開始對待側電腦10測試。 S40: Start the test system and test module in the image file, and start to treat the side computer 10 test.
S50:將測試結果上傳到該PXE伺服器30或DHCP伺服器20之資料存儲中心。 S50: Upload the test result to the data storage center of the PXE server 30 or the DHCP server 20.
測試結束。 The test is over.
本發明電腦測試系統及方法相較於傳統之測試系統及方法具有以下優點:1.因為現有技術都配有支持PXE之網絡設備,所以此發明適用範圍廣。2.對被測機型安裝之設備要求低,無需資料存儲設備。3.由於其從網絡上之存儲設備直接運行測試模組,故而省去了下載測試模組或系統之時間,運行速度快。 The computer test system and method of the present invention has the following advantages over the conventional test system and method: 1. Since the prior art is equipped with a network device supporting PXE, the invention has a wide application range. 2. The equipment required for the installed model is low, no data storage equipment is required. 3. Since it runs the test module directly from the storage device on the network, the time for downloading the test module or system is saved, and the running speed is fast.
10‧‧‧待測電腦 10‧‧‧Computer under test
20‧‧‧DHCP伺服器 20‧‧‧DHCP server
30‧‧‧PXE伺服器 30‧‧‧PXE server
40‧‧‧網絡 40‧‧‧Network
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW95114406A TWI416320B (en) | 2006-04-21 | 2006-04-21 | System and method for testing computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW95114406A TWI416320B (en) | 2006-04-21 | 2006-04-21 | System and method for testing computer |
Publications (2)
Publication Number | Publication Date |
---|---|
TW200741232A TW200741232A (en) | 2007-11-01 |
TWI416320B true TWI416320B (en) | 2013-11-21 |
Family
ID=49990916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW95114406A TWI416320B (en) | 2006-04-21 | 2006-04-21 | System and method for testing computer |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI416320B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189416A (en) * | 2018-09-10 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of serial ports visualization system installation method and device based on PXE |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6871210B1 (en) * | 2000-09-05 | 2005-03-22 | International Business Machines Corporation | Automatic allocation of least loaded boot server to PXE client on a network VIA DHCP server |
TW200522583A (en) * | 2003-12-31 | 2005-07-01 | Jade Quantum Technologies Inc | IP-based method and apparatus for booting computers remotely in wide-area-network environment |
TW200533118A (en) * | 2004-03-26 | 2005-10-01 | Quanta Comp Inc | Deployment method and system for multiple remote computers |
US6954852B2 (en) * | 2002-04-18 | 2005-10-11 | Ardence, Inc. | System for and method of network booting of an operating system to a client computer using hibernation |
-
2006
- 2006-04-21 TW TW95114406A patent/TWI416320B/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6871210B1 (en) * | 2000-09-05 | 2005-03-22 | International Business Machines Corporation | Automatic allocation of least loaded boot server to PXE client on a network VIA DHCP server |
US6954852B2 (en) * | 2002-04-18 | 2005-10-11 | Ardence, Inc. | System for and method of network booting of an operating system to a client computer using hibernation |
TW200522583A (en) * | 2003-12-31 | 2005-07-01 | Jade Quantum Technologies Inc | IP-based method and apparatus for booting computers remotely in wide-area-network environment |
TW200533118A (en) * | 2004-03-26 | 2005-10-01 | Quanta Comp Inc | Deployment method and system for multiple remote computers |
Also Published As
Publication number | Publication date |
---|---|
TW200741232A (en) | 2007-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7490267B2 (en) | System and method for testing computer | |
JP4647192B2 (en) | System and method for custom installation of an operating system on a remote client | |
WO2016112825A1 (en) | Remote control method, terminal device, management server, and remote control system | |
US7895424B1 (en) | System for automated boot from disk image | |
TW201729123A (en) | Method and server for remote launching deployment utility | |
CN101055539A (en) | Computer test system and method | |
US8874953B2 (en) | System and method of cloud testing and remote monitoring for integrated circuit components in system validation | |
US10884759B2 (en) | Remote deployment of operating systems | |
US20040034763A1 (en) | Method and apparatus for booting with remote configuration data | |
US20060155838A1 (en) | Program installation system and method using the same | |
CN110879712A (en) | Cloud data center physical host installation method and related device | |
US20070168905A1 (en) | Networked linux machine and windows software development system | |
US7631054B2 (en) | Method and system for generating list of operating systems for a target device | |
US20190205109A1 (en) | Computer system, baseboard management controller, and os installation method | |
CN111078305A (en) | Information acquisition method and device, server and information management system | |
CN110556155B (en) | Method and device for testing diskless started SSD product and computer equipment | |
TWI416320B (en) | System and method for testing computer | |
CN107659621B (en) | RAID control card configuration method and device | |
JP4503413B2 (en) | Use of storage devices from external terminals in network systems | |
CN106452890A (en) | PXE server automatic configuration method under Ubuntu system | |
TW201315175A (en) | Method and system for balancing the load of servers | |
CN106487524A (en) | The method of remote opening | |
TW201508469A (en) | Test controlling system and method | |
TW201351128A (en) | A pre-boot execute environment device and method and system for testing pre-boot execute environment | |
TWI385404B (en) | Method for testing computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |