TWI694452B - Method for computer testing - Google Patents
Method for computer testing Download PDFInfo
- Publication number
- TWI694452B TWI694452B TW108132705A TW108132705A TWI694452B TW I694452 B TWI694452 B TW I694452B TW 108132705 A TW108132705 A TW 108132705A TW 108132705 A TW108132705 A TW 108132705A TW I694452 B TWI694452 B TW I694452B
- Authority
- TW
- Taiwan
- Prior art keywords
- test
- firmware
- computer
- version information
- update
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本發明涉及一種電腦測試方法,特別涉及更新多個不同版本的基本輸入輸出系統(Basic Input Output System,BIOS)的電腦測試方法。 The invention relates to a computer testing method, in particular to a computer testing method for updating multiple different versions of Basic Input Output System (Basic Input Output System, BIOS).
基本輸入輸出系統(Basic Input Output System,BIOS)在電腦系統中,是在通電啟動階段,執行硬體初始化,以及為作業系統和程式提供運行時服務的韌體。BIOS是電腦系統在載入過程中最基本的韌體,其主要功能是在開機時進行開機自我測試(Power On Self Test,POST),以初始化電腦系統內的硬體裝置,測試硬體元件的狀態是否正常,以及從大容量儲存裝置如硬碟,載入啟動程式,並由啟動程式載入作業系統。BIOS的程式碼通常保存在電腦系統之主機板的非揮發性記憶體(Nonvolatile Memory)中。 Basic Input Output System (BIOS) is a firmware in a computer system that performs hardware initialization and provides runtime services for operating systems and programs during the power-on phase. The BIOS is the most basic firmware of the computer system during the loading process. Its main function is to perform a Power On Self Test (POST) at startup to initialize the hardware device in the computer system and test the hardware components. Whether the status is normal, and the startup program is loaded from a mass storage device such as a hard disk, and the startup program is loaded into the operating system. The BIOS code is usually stored in the nonvolatile memory of the motherboard of the computer system.
電腦會因為不同客戶的需求而進行硬體裝置初始化的變更,需要對BIOS韌體碼進行修改,而衍生出許多不同版本的BIOS韌體碼。此外,電腦系統生產廠商為了電腦系統的效能需求及穩定度,時常進行BIOS的版本調整,而且進行BIOS版本的升級/降級壓力測試。若測試人員必須以手動方式進行不同版本BIOS的循環更新及開機驗證,才能從中判斷此版本的BIOS韌體碼是否穩定,且在不同版本BIOS的更新過程中,不斷驗證BIOS韌體,則將耗費大量的人力資源。 因此,如何讓電腦系統可自行執行不同版本BIOS的更新,自行執行不同版本BIOS的測試,並可在出現錯誤時能夠即時告知系統管理者,便是在BIOS更新技術中所欲解決的問題。 The computer will change the initialization of the hardware device according to the needs of different customers. The BIOS firmware code needs to be modified, and many different versions of the BIOS firmware code are derived. In addition, computer system manufacturers often adjust the BIOS version for the performance requirements and stability of the computer system, and also perform BIOS upgrade/downgrade stress tests. If the tester has to manually perform the cyclic update and boot verification of different versions of the BIOS, it can determine whether the BIOS firmware code of this version is stable, and continuously verify the BIOS firmware during the update process of different versions of the BIOS, it will cost A lot of human resources. Therefore, how to enable the computer system to perform the update of different versions of the BIOS and the test of the different versions of the BIOS on its own, and to promptly notify the system administrator when an error occurs, is the problem to be solved in the BIOS update technology.
實施例提供一種電腦測試方法,包括設定測試電腦的基本輸入輸出系統更新所包含的第一組韌體及第一組韌體的版本資訊,測試電腦使用第一組韌體進行基本輸入輸出系統的第一更新,其於第一更新成功時會將第一組韌體的版本資訊寫入測試電腦之非揮發性記憶體,測試電腦將第一組韌體的版本資訊與儲存於非揮發性記憶體之對應韌體的版本資訊進行第一資訊比對,測試電腦執行預啟動執行環境程序,測試電腦使用由執行預啟動執行環境程序取得之第二組韌體進行基本輸入輸出系統的第二更新,其於第二更新成功時會將第二組韌體的版本資訊寫入非揮發性記憶體,及測試電腦將第二組韌體的版本資訊與儲存於非揮發性記憶體之對應韌體的版本資訊進行第二資訊比對。 The embodiment provides a computer testing method, including setting the basic input and output system of the test computer to update the included first set of firmware and the version information of the first set of firmware. The test computer uses the first set of firmware for the basic input and output system. The first update, which writes the version information of the first set of firmware to the non-volatile memory of the test computer when the first update is successful, the test computer stores the version information of the first set of firmware in the non-volatile memory The first version of the information of the corresponding firmware of the firmware is compared, the test computer executes the pre-boot execution environment program, and the test computer uses the second set of firmware obtained by executing the pre-boot execution environment program for the second update of the basic input and output system. , When the second update is successful, the version information of the second set of firmware is written to the non-volatile memory, and the test computer stores the version information of the second set of firmware and the corresponding firmware stored in the non-volatile memory Version information for the second information comparison.
1:電腦測試系統 1: computer test system
101至103:測試電腦 101 to 103: test computer
104:區域網路 104: LAN
105:伺服器 105: server
106至108:非揮發性記憶體 106 to 108: Non-volatile memory
110:系統管理者 110: System administrator
201:軟體介面程式 201: software interface program
202至209:韌體名稱 202 to 209: Firmware name
212至219:韌體版本號碼 212 to 219: Firmware version number
220:測試電腦名稱 220: Test computer name
230:BIOS版本資訊 230: BIOS version information
231:BIOS軟體 231: BIOS software
300:電腦測試方法 300: Computer test method
S302至S316:步驟 S302 to S316: steps
401:第一請求 401: First request
402:DHCP伺服器 402: DHCP server
403:第一回應 403: First response
404:第二請求 404: second request
405:TFTP伺服器 405: TFTP server
406:第二回應 406: Second response
500:BIOS自動測試流程 500: BIOS automatic test process
502:外接電源系統正常供電模式 502: Normal power supply mode of external power supply system
504:外接電源系統低電源模式 504: Low power mode of external power supply system
506:外接電源系統待機模式 506: Standby mode for external power supply system
508:外接電源系統休眠模式 508: Sleep mode for external power system
510:內接電池系統正常供電模式 510: Normal power supply mode of internal battery system
512:內接電池系統低電源模式 512: Internal battery system low power mode
514:內接電池系統待機模式 514: Internal battery system standby mode
517:內接電池系統休眠模式 517: Internal battery system sleep mode
602:檔案 602: Archive
604:診斷程式的預設測試項目 604: Default test items of diagnostic program
606:安全更新的預設測試項目 606: Default test items for security updates
608:管理引擎的預設測試項目 608: Management engine default test items
620:批次檔 620: batch file
630:BIOS自動測試項目 630: BIOS automatic test items
SVN:子版本管理系統 SVN: Subversion Management System
第1圖為實施例電腦測試方法的系統架構圖。 FIG. 1 is a system architecture diagram of a computer testing method according to an embodiment.
第2圖為實施例軟體介面程式的示意圖。 FIG. 2 is a schematic diagram of the software interface program of the embodiment.
第3圖為實施例電腦測試方法的流程圖。 FIG. 3 is a flowchart of the computer testing method of the embodiment.
第4圖為實施例預啟動執行環境的示意圖。 FIG. 4 is a schematic diagram of the pre-start execution environment of the embodiment.
第5圖為實施例BIOS自動測試的流程圖。 FIG. 5 is a flowchart of the BIOS automatic test of the embodiment.
第6圖為實施例批次檔產生BIOS自動測試項目的示意圖。 FIG. 6 is a schematic diagram of generating batch automatic BIOS test items according to an embodiment.
第1圖為本發明實施例電腦測試系統1的系統架構圖。測試電腦101至103可透過區域網路104連接至伺服器105。測試電腦101至103可依據設定其基本輸入輸出系統(Basic Input Output System,BIOS)更新及/或執行預啟動執行環境(Preboot Execution Environment,PXE)程序而自行執行不同版本BIOS的更新及不同版本BIOS的測試,並可在出現錯誤時能透過區域網路104及伺服器105即時告知系統管理者110。
FIG. 1 is a system architecture diagram of a
測試電腦101至103可分別包含非揮發性記憶體106至108。非揮發性記憶體106至108可以是唯讀記憶體(Read Only Memory,ROM)、可程式化唯讀記憶體(Programmable Read Only Memory,PROM)、電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、或快閃記憶體(Flash Memory)。伺服器105可包含程式碼管理系統(例如子版本管理系統(subversion control system,SVN))。伺服器105及/或測試電腦101至103可包含軟體介面程式(User Interface Application)。系統管理者110可於軟體介面程式201上個別設定測試電腦101至103的對應第一組韌體的版本資訊,第一組韌體的版本資訊包含韌體名稱及對應的韌體版本號碼。在一個實施例中,系統管理者110使用軟體介面程式201輸入測試電腦101以及韌體名稱及韌體版本號碼。如第2圖所示,軟體介面程式201可接收更新的測試電腦名稱220,韌體名稱202至209,以及對應的韌體版本號碼212至219。軟體介面程式201可產生BIOS版本資訊230,其可包含所產生BIOS所含的韌體名稱202至209及韌體版本號碼212至219。軟體介面程式201可使用程式碼管理系統,及根據BIOS版本資訊230來產生BIOS軟體231。在一個實施例中,軟體介面程式201送出包含BIOS版本資訊230之指令至程式碼管理系統,程式碼管理系統再根據BIOS版本資訊230產生BIOS軟體231及將BIOS軟體231
傳送至對應的測試電腦101至103。BIOS軟體231包含第一組韌體,對應韌體名稱202至209及各自之韌體版本號碼212至219。
The
測試電腦101至103可使用各自之第一組韌體進行BIOS的第一更新,之後伺服器105可接收測試電腦101至103的第一更新的結果並通知系統管理者110。在測試電腦101至103根據各自之第一組韌體執行BIOS的第一更新時,測試電腦101至103可將各自之第一組韌體更新至非揮發性記憶體106至108內。當測試電腦101、102、103各自之第一組韌體全部都成功更新至非揮發性記憶體106、107、108時,測試電腦101、102、103之第一更新即成功,第一更新成功之測試電腦101、102、103可將各自之第一組韌體的版本資訊寫入非揮發性記憶體106、107、108。當測試電腦101至103各自之第一組韌體中至少一者未成功更新至非揮發性記憶體106至108時,其對應之第一更新即失敗,第一更新失敗之測試電腦101、102、103不會將其第一組韌體的版本資訊中更新失敗之韌體的版本資訊寫入非揮發性記憶體106、107、108,僅會將更新成功之韌體的版本資訊寫入非揮發性記憶體106、107、108,因此非揮發性記憶體106、107、108仍保留先前BIOS之BIOS版本資訊之至少一部分。例如,若測試電腦101的第一組韌體包含5個韌體,且5個韌體中之3個韌體更新成功,2個韌體更新失敗,測試電腦101可將更新成功之3個韌體的版本資訊寫入非揮發性記憶體106而不將更新失敗之2個韌體的版本資訊寫入非揮發性記憶體106。測試電腦101至103可將各自之第一組韌體的版本資訊與儲存於非揮發性記憶體106至108之對應韌體的版本資訊進行第一資訊比對,若不完全相符,則第一資訊比對失敗,且對應之測試電腦101至103發出第一通知訊息給伺服器105。若測試電腦101至103各自之第一組韌體的版本資訊與儲存於非揮發性記憶體106至108之對應韌體的版本資訊完全相符,則第一資訊比對成功。
The
接著,測試電腦101至103可使用預啟動執行環境(Preboot Execution Environment,PXE)執行電腦啟動。PXE是工作於用戶端以及伺服器(Client/Server)的網路模式,提供了一種使用網路介面(Network Interface),用戶端電腦可由PXE伺服器下載開機影像檔案,啟動電腦的機制。這種機制讓電腦的啟動可以不依賴本地資料儲存裝置(如硬碟)或本機已安裝的作業系統。
Then, the
測試電腦101至103可下載各自之開機影像檔案後再使用各自之開機影像檔案執行BIOS的第二更新,並執行第二資訊比對。開機影像檔案包含第二組韌體,可與第一組韌體全部相同、部分相同,或全部不同。在測試電腦101至103根據各自之第二組韌體執行BIOS的第二更新時,測試電腦101至103可將各自之第二組韌體更新至非揮發性記憶體106至108內。當測試電腦101、102、103各自之第二組韌體全部都成功更新至非揮發性記憶體106、107、108時,測試電腦101、102、103各自之第二更新即成功,第二更新成功之測試電腦101、102、103可將各自之第二組韌體的版本資訊寫入非揮發性記憶體106、107、108。當測試電腦106、107、108各自之第二組韌體中至少一者未成功更新至非揮發性記憶體106、107、108時,其對應之第二更新即失敗,第二更新失敗之測試電腦101、102、103不會將各自之第二組韌體的版本資訊中更新失敗之韌體的版本資訊寫入非揮發性記憶體106、107、108,僅會將更新成功之韌體的版本資訊寫入非揮發性記憶體106、107、108,因此非揮發性記憶體106、107、108仍保留先前BIOS之BIOS版本資訊之至少一部分。在一個實施例中,測試電腦101使用PXE執行BIOS更新,由PXE伺服器下載開機影像檔案,因此測試電腦101須執行第二資訊比對。測試電腦101至103可將各自之第二組韌體的版本資訊與儲存於非揮發性記憶體106至108之對應韌體的版本資訊進行第二資訊比對,若不完全相符,則第二資訊比對
失敗,且對應之測試電腦101至103發出第二通知訊息給伺服器105。若測試電腦101至103各自之第二組韌體的版本資訊與儲存於非揮發性記憶體106至108之對應韌體的版本資訊完全相符,則第二資訊比對成功。
The
在一些實施例中,測試電腦101至103可於進行第一資訊比對之後執行預啟動執行環境程序。在另一些實施例中,測試電腦101至103可於第一資訊比對成功之後執行該預啟動執行環境程序,及於第一資訊比對失敗之後停止BIOS之更新。在另一些實施例中,測試電腦101至103可於進行第二資訊比對之後進行第一更新。在另一些實施例中,測試電腦101至103可於第二資訊比對成功之後進行第一更新,及於第二資訊比對失敗之後停止BIOS之更新。
In some embodiments, the
若第二資訊比對成功,測試電腦101至103可開始執行BIOS自動測試。BIOS自動測試包含數個項目,以及不同的工作模式如系統正常供電模式、系統低電源模式、系統待機模式、系統休眠模式等。在測試過程中若發生測試錯誤,測試電腦101至103可自動發出通知訊息到伺服器105,伺服器105再通知通知系統管理者110,如使用電子郵件(EMAIL)通知系統管理者110。測試電腦101至103執行完BIOS自動測試後,將測試結果檔案上傳至伺服器105,且由伺服器105通知系統管理者110。
If the second information comparison is successful, the
測試電腦101至103可根據需求,個別執行相同,或個別執行不同的BIOS更新。用戶端電腦101至103上同時執行客戶A的BIOS版本2.1之系統測試、壓力測試,或分別在用戶端電腦101至103執行客戶A的BIOS的版本2.1.0、版本2.1.1、版本2.1.2之系統測試,目的為不同版本的可靠度測試。
The
第3圖為實施例電腦測試方法300的流程圖,適用於電腦測試系統1之測試電腦101至103,以下以測試電腦101為例進行說明。第3圖的方法包括以下步驟:步驟S302:設定測試電腦101的BIOS更新所包含的第一組韌體及第一組韌體的版本資訊;步驟S304:測試電腦101使用第一組韌體進行BIOS的第一更新,其於第一更新成功時會將第一組韌體的版本資訊寫入非揮發性記憶體106;步驟S306:測試電腦101將第一組韌體的版本資訊與儲存於非揮發性記憶體106之對應韌體的版本資訊進行第一資訊比對,若第一資訊比對錯誤則發出第一通知訊息給伺服器105;步驟S308:測試電腦101執行預啟動執行環境程序;步驟S310:測試電腦101使用由執行預啟動執行環境程序取得之第二組韌體進行BIOS的第二更新,其於第二更新成功時會將第二組韌體的版本資訊寫入非揮發性記憶體106;步驟S312:測試電腦101將第二組韌體的版本資訊與儲存於非揮發性記憶體106之對應韌體的版本資訊進行第二資訊比對,若第二資訊比對錯誤則發出第二通知訊息給伺服器105;步驟S314:測試電腦101執行BIOS自動測試;以及步驟S316:測試電腦101將測試結果檔案上傳至伺服器105,且伺服器105通知系統管理者110。
FIG. 3 is a flowchart of the
在步驟S302,系統管理者110可使用軟體介面程式(user interface application),設定BIOS更新所包含的第一組韌體的版本資訊,包含至少一韌體和至少一韌體版本號碼、以及設定管理引擎(Intel Management Engine)和管理引擎版
本號碼。舉例說明,系統管理者110欲更新測試電腦101的BIOS,系統管理者110使用軟體介面程式201輸入:測試電腦101,以及更新韌體包含,診斷程式和版本3.10、安全更新和版本2.1.0、以及管理引擎(Intel Management Engine)和版本2.2.0。接著軟體介面程式201根據第一組韌體的版本資訊產生BIOS更新的第一組韌體,第一組韌體包含:診斷程式使用版本3.10、安全更新使用版本2.1.0、以及Intel ME使用版本2.2.0,且軟體介面程式將產生BIOS版本資訊230包含:診斷程式3.10、安全更新2.1.0、Intel ME 2.2.0。
In step S302, the
在步驟S304,測試電腦101使用第一組韌體進行BIOS的第一更新,將第一組韌體更新至測試電腦101的非揮發性記憶體106上,並於第一更新成功後在非揮發性記憶體106儲存第一組韌體的版本資訊。在第一更新之過程有至少一韌體版本更新失敗時,測試電腦101發出第三通知訊息經由伺服器105給系統管理者110。舉例說明,更新第一組韌體至測試電腦101,其中安全更新版本2.1.0、以及Intel ME版本2.2.0成功更新至非揮發性記憶體106中,但診斷程式版本3.10的更新卻失敗,測試電腦101則發出第三通知訊息經由伺服器105給系統管理者110,由系統管理者110再至測試電腦101解決問題。在本例子中,由於安全更新版本2.1.0以及Intel ME版本2.2.0更新成功,因此測試電腦101的非揮發性記憶體106(例如快閃記憶體)上儲存安全更新版本2.1.0以及Intel ME版本2.2.0。因此無須再重新更新已成功更新之韌體,僅需更新失敗的診斷程式版本3.10。
In step S304, the
步驟S306,測試電腦101將第一組韌體的版本資訊與儲存於非揮發性記憶體106之對應韌體的版本資訊進行第一資訊比對。若第一資訊比對失敗,即韌體版本有所不同,則發出第一通知訊息經由伺服器105給系統管理者110。承以上所舉之例子,測試電腦101由非揮發性記憶體106讀取對應韌體的韌體版本資
訊,並與第一組韌體的版本資訊,例如與診斷程式3.10、安全更新2.1.0、Intel ME 2.2.0的版本資訊相比。當診斷程式、安全更新、Intel ME的版本皆與非揮發性記憶體106所讀取的對應韌體的韌體版本號碼相同,則執行下一步驟S308。若否,則發出第一通知訊息經由伺服器105給系統管理者110,第一通知訊息內容包含比對失敗的韌體名稱以及對應的版本號碼。
In step S306, the
步驟S308,測試電腦101測試區域網路連接埠(LAN Port),區域網路連接埠之測試成功後,連接網路,並執行預啟動執行環境程序。預啟動執行環境提供了一種使用網路介面啟動電腦的機制,這種機制讓電腦的啟動可以不依賴本地資料儲存裝置(如硬碟)或已安裝的作業系統。如第4圖所示,測試電腦101向動態主機配置協定(Dynamic Host Configuration Protocol,DHCP)伺服器402提出請求,DHCP伺服器402收到測試電腦101的第一請求401後,即送出第一回應403,包含IP資訊以及簡易檔案傳送協定(Trivial File Transfer Protocol,TFTP)伺服器405的IP位址,測試電腦101收到第一回應403後,則使用TFTP伺服器405的IP位址以及向TFTP伺服器405送出第二請求404。TFTP伺服器405收到第二請求404後,送出第二回應406,包含開機影像檔案以及遠端版本資訊,測試電腦101將開機影像檔案及遠端版本資訊儲存至測試電腦101的隨機存取記憶體(random access memory,RAM)上。開機影像檔案可包含第二組韌體。遠端版本資訊可包含韌體版本號碼以及管理引擎版本號碼。在本實施例中,開機影像檔案可以是BIOS相關的韌體以及管理引擎、和/或包含作業系統的軟體。DHCP伺服器402及TFTP伺服器405可為分開或整合之伺服器,例如整合於PXE伺服器內。
In step S308, the
步驟S310中,測試電腦101使用由執行預啟動執行環境程序取得之第二組韌體進行BIOS的第二更新以將第二組韌體更新至非揮發性記憶體106上,其
於第二更新成功時會將第二組韌體的版本資訊寫入非揮發性記憶體106。當更新過程中,有至少一韌體版本更新失敗時,測試電腦101發出第四通知訊息經由伺服器105給系統管理者110。
In step S310, the
步驟S312,測試電腦101將第二組韌體的版本資訊與儲存於非揮發性記憶體106之對應韌體的版本資訊進行第二資訊比對。若第二資訊比對錯誤,即韌體版本有所不同,則發出第二通知訊息給伺服器105,再由伺服器105通知系統管理者110。
In step S312, the
步驟S314,倘若測試電腦101已經完成BIOS更新,即可開始執行BIOS自動測試,在本實施例中,測試電腦101定義不同模式執行BIOS測試,該模式包含:系統正常供電模式、系統低電源模式、系統待機模式及系統休眠模式。BIOS執行自動測試另包括,測試電腦101使用外接電源執行不同模式的BIOS自動測試項目,以及測試電腦101使用內接電池執行不同模式的BIOS自動測試項目。在一個實施例中,如第5圖所示,第5圖為實施例BIOS自動測試的流程圖。BIOS自動測試流程500可包括:外接電源系統正常供電模式502、外接電源系統低電源模式504、外接電源系統待機模式506、外接電源系統休眠模式508、內接電池系統正常供電模式510、內接電池系統低電源模式512、內接電池系統待機模式514及/或內接電池系統休眠模式516。
Step S314, if the
在本實施例中,BIOS自動測試,由測試電腦101讀取批次檔(batch),並根據批次檔產生BIOS自動測試項目。批次檔根據第一組韌體的版本資訊及/或第二組韌體的版本資訊,由其中的韌體名稱以及版本號碼,產生BIOS自動測試項目。在一個例子中,系統管理者110可輸入BIOS個別韌體的預設測試項目,如
診斷程式的預設測試項目,安全更新的預設測試項目等。當測試電腦101的BIOS更新成功後,批次檔根據第一組韌體的版本資訊及/或第二組韌體的版本資訊,得到本次BIOS更新包含診斷程式的更新以及管理引擎的更新,因此,批次檔自動載入診斷程式的預設測試項目以及管理引擎的預設測試項目以產生BIOS自動測試項目。如第6圖所示,檔案602為系統管理者110所儲存BIOS個別韌體的數個預設測試項目,包含診斷程式的預設測試項目604、安全更新的預設測試項目606、管理引擎的預設測試項目608等。批次檔620根據第一組韌體的版本資訊及/或第二組韌體的版本資訊,得到此次更新包含:診斷程式的更新以及管理引擎的更新。批次檔620再由檔案602讀取BIOS個別韌體的預設測試項目,由批次檔620產生BIOS自動測試項目630包含診斷程式的預設測試項目604以及管理引擎的預設測試項目608。
In this embodiment, in the BIOS automatic test, the
步驟S316,測試電腦101執行BIOS自動測試完成後,將測試結果檔案上傳至伺服器105,且伺服器105通知系統管理者110。在一個實施例中,測試電腦101在BIOS自動測試過程中,若發生系統錯誤,測試電腦101可將發生錯誤之測試結果即時回報至伺服器105。伺服器105可定義不同的嚴重程度(severity)。若系統錯誤為不影響後續的系統測試,則定義為低嚴重程度,如檔案不存在等,此時發生系統錯誤的測試電腦101將發生錯誤之測試結果即時回報至伺服器105後,還可以繼續執行後續的BIOS自動測試。若系統錯誤為高嚴重程度,如藍白當機畫面(Blue Screen Of Death)時,則發生系統錯誤的測試電腦101停止BIOS自動測試,且將測試結果即時回報至伺服器105。伺服器105將發生錯誤之測試結果即時通知系統管理者110,以幫助系統管理者110快速排除測試電腦101的問題。當測試電腦101執行BIOS自動測試成功完成後,伺服器105亦可算出測試電腦101的執行時間,再將執行時間一起跟測試結果通知系統管理者110。
In step S316, the
實施例提供一種電腦測試方法,包括設定測試電腦的BIOS更新所包含的至少一韌體版本並儲存BIOS版本資訊。多個測試電腦可根據需求,個別執行相同,或個別執行不同的BIOS更新。測試電腦執行第一版本更新BIOS。測試電腦執行第一資訊比對,比對BIOS是否成功更新,錯誤則發出第一通知訊息給系統管理者。測試電腦並可以執行預啟動執行環境程序來達成BIOS更新。預啟動執行環境可同時更新數個測試電腦的BIOS。個別的測試電腦並執行第二資訊比對,比對BIOS是否成功更新。成功後,測試電腦開始執行BIOS自動測試,並將測試結果檔案上傳至伺服器,伺服器再通知系統管理者。系統管理者可即時得知數個測試電腦的BIOS更新以及BIOS自動測試結果。若測試電腦在BIOS自動測試時遇到嚴重之系統錯誤問題,導致測試停止,系統管理者也可即時得知即時處裡。 The embodiment provides a computer testing method, including setting at least one firmware version included in the BIOS update of the testing computer and storing the BIOS version information. Multiple test computers can execute the same individually or perform different BIOS updates individually as required. The test computer executes the first version to update the BIOS. Test the computer to perform the first information comparison, check whether the BIOS is successfully updated, and send a first notification message to the system administrator if there is an error. Test the computer and execute the pre-boot execution environment program to achieve the BIOS update. The pre-boot execution environment can simultaneously update the BIOS of several test computers. Test the computer individually and perform the second information comparison to check whether the BIOS has been successfully updated. After success, the test computer starts to perform automatic BIOS test and upload the test result file to the server, and the server notifies the system administrator. System administrators can instantly know the BIOS updates and automatic BIOS test results of several test computers. If the test computer encounters a serious system error during the BIOS automatic test, which causes the test to stop, the system administrator can also immediately know the immediate location.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.
1:電腦測試系統 1: computer test system
101至103:測試電腦 101 to 103: test computer
104:區域網路 104: LAN
105:伺服器 105: server
106至108:非揮發性記憶體 106 to 108: Non-volatile memory
110:系統管理者 110: System administrator
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108132705A TWI694452B (en) | 2019-09-11 | 2019-09-11 | Method for computer testing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108132705A TWI694452B (en) | 2019-09-11 | 2019-09-11 | Method for computer testing |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI694452B true TWI694452B (en) | 2020-05-21 |
TW202111720A TW202111720A (en) | 2021-03-16 |
Family
ID=71896251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108132705A TWI694452B (en) | 2019-09-11 | 2019-09-11 | Method for computer testing |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI694452B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6658489B1 (en) * | 2000-03-29 | 2003-12-02 | International Business Machines Corporation | Method for replacing a device driver during system operation |
US6950962B2 (en) * | 2001-10-12 | 2005-09-27 | Hewlett-Packard Development Company, L.P. | Method and apparatus for kernel module testing |
TW201106155A (en) * | 2009-08-12 | 2011-02-16 | Inventec Corp | Examining method of switching firmwares and computer program product thereof |
TW201702929A (en) * | 2015-07-01 | 2017-01-16 | 廣達電腦股份有限公司 | System, method and computer readable storage medium for updating computer firmware |
US9805200B2 (en) * | 2016-02-01 | 2017-10-31 | Quanta Computer, Inc. | System and method for firmware verification |
-
2019
- 2019-09-11 TW TW108132705A patent/TWI694452B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6658489B1 (en) * | 2000-03-29 | 2003-12-02 | International Business Machines Corporation | Method for replacing a device driver during system operation |
US6950962B2 (en) * | 2001-10-12 | 2005-09-27 | Hewlett-Packard Development Company, L.P. | Method and apparatus for kernel module testing |
TW201106155A (en) * | 2009-08-12 | 2011-02-16 | Inventec Corp | Examining method of switching firmwares and computer program product thereof |
TW201702929A (en) * | 2015-07-01 | 2017-01-16 | 廣達電腦股份有限公司 | System, method and computer readable storage medium for updating computer firmware |
US9805200B2 (en) * | 2016-02-01 | 2017-10-31 | Quanta Computer, Inc. | System and method for firmware verification |
Also Published As
Publication number | Publication date |
---|---|
TW202111720A (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10114653B2 (en) | Multiple-stage bootloader and firmware for baseboard manager controller and primary processing subsystem of computing device | |
US9858066B2 (en) | Updating firmware of a hardware component | |
TWI578233B (en) | Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment | |
TWI576764B (en) | A computer system | |
TWI754317B (en) | Method and system for optimal boot path for a network device | |
TWI571800B (en) | Booting method and computer system | |
US6950964B1 (en) | Driver protection | |
US10216936B2 (en) | Method of preventing computer malfunction, computer program, and computer | |
US20040255106A1 (en) | Recovery of operating system configuration data by firmware of computer system | |
TW201729123A (en) | Method and server for remote launching deployment utility | |
US20150074386A1 (en) | Boot method and boot system | |
JP2008112433A (en) | System and method for installing operation system in disk-less computing platform | |
JP2019204488A (en) | Update of firmware by remote utility | |
CN112463466B (en) | Computer testing method | |
US11030047B2 (en) | Information handling system and method to restore system firmware to a selected restore point | |
US11403113B2 (en) | Server with system setting data synchronization function | |
US10268822B2 (en) | Firmware module execution privilege | |
TWI813887B (en) | Method and system for booting from a split bios image | |
TWI743480B (en) | Computer system and a booting method for the same | |
TWI694452B (en) | Method for computer testing | |
US7428635B2 (en) | Method of writing non-volatile memory that avoids corrupting the vital initialization code | |
US20080201572A1 (en) | Method and system for uniformizing product data embedded in a computer platform | |
US20150212866A1 (en) | Management system for service of multiple operating environments, and methods thereof | |
CN109684134B (en) | Method and server for rapidly deploying firmware settings among multiple devices | |
US8245021B2 (en) | System and method for re-imaging computers |