201209577 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種測試系統及方法,尤其是涉及一種電腦 重啟測試系統及方法。 【先前技術】 [0002] 隨著小型服務電腦技術的快速發展,業界對電腦遠端控 制BMC(Baseboard Management Controller,基板管 理控制器)的操作越來越多而對作業系統的穩定性要求越 來越高,這就對作業系統測試提出了一個更高的要求。 那麼一款功能全面的測試軟體就顯得尤其重要,好的測 試軟體不僅可以縮短測試時間,而且可以保證測試結果 的準確性和全面性,為調試分析提供重要依據。目前還 沒有一類針對電腦遠端喚醒的測試軟體,而在做作業系 統重啟測試時,一般使用的是重啟測試軟體,這類軟體 的缺點是不能通過遠端喚醒測試電腦,不具有完善的重 啟測試功能,不能把作業系統重啟過程中出現的異常狀 況進行跟蹤記錄,進而給調試分析帶來相當大的困難。 【發明内容】 [0003] 鑒於以上内容,有必要提供一種電腦重啟測試系統,可 以遠端喚醒測試電腦,並且把重啟測試過程中出現的異 常狀況進行跟蹤記錄。 [0004] 鑒於以上内容,還有必要提供一種電腦重啟測試方法, 可以遠端喚醒測試電腦,並且把重啟測試過程中出現的 異常狀況進行跟蹤記錄。 [0005] 所述電腦重啟測試系統,運行於本地電腦的基板管理控 099128044 表單編號A0101 第4頁/共20頁 0992049319-0 201209577 制器BMC中,該本地電腦與一個遠端電腦進行遠端通信’ 該遠端電腦包括喚醒模 '组。s亥系統包括.設置模組,用 於設置該本地電腦的重啟次數、休眠延遲時間及測試結 果存儲路徑;所述的設置模組還用於設置該本地電腦的 MAC位址及喚醒延遲時間,並將該設定的MAC地址及喚醒 延遲時間發送給喚醒模組;控制模組,用於當完成設置 後啟動該本地電腦進行測試;記錄模組’用於記錄第一 次讀取的該本地電腦當前的系統硬體資訊;計時模組, 用於判斷設定的休眠延遲時間是否结束’若已經結束則 〇 觸發控制模組關閉該本地電腦的作業系統’該本地電腦 進入休眠狀態,若沒有結束則繼績等待;所述的控制模 組還用於當該本地電腦進入休眠狀態時’觸發喚醒模組 遠端唤醒該本地電腦,使該本地電腦的作業系統重新啟 動;計數模組,用於計算該本地電腦的重啟次數;所述 的記錄模組還用於記錄本次重啟後該本地電腦的系統硬 體資訊;比對模組,用於比對本次重啟後記錄的系統硬 體資訊與第一次記錄的系統硬體資訊戽否一致,如果一 ο 致則將本次測試結果存儲至設定的存儲路徑,如果有錯 誤或丟失則將錯誤代碼或丟失硬體資訊存儲至設定的存 儲路徑;所述的計數模組還用於判斷所計算的重啟次數 數值是否達到所設定的重啟次數,若還未達到則觸發計 時模組繼續判斷設定的休眠延遲時間是否結束,若已經 達到則觸發控制模組停止測試;及顯示模組,用於從設 定的存儲路徑讀取並顯示測試結果。 [0006]所述電腦重啟測試方法,該本地電腦與一個遠端電腦進 099128044 表單編號A0101 第5頁/共20頁 0992049319-0 201209577 行遠端通信,該遠端電腦包括喚醒模組。該方法包括步 驟:設置該本地電腦的重啟次數、休眠延遲時間及測試 結果存儲路徑;設置該本地電腦的MAC位址及喚醒延遲時 間,並將該設定的MAC地址及喚醒延遲時間發送給喚醒模 組;在完成設置後啟動該本地電腦進行測試’記錄第一 次讀取的該本地電腦當前的系統硬體資訊丨判斷設定的 休眠延遲時間是否結束,若沒有結束則繼續等待;若設 定的休眠延遲時間結束,則關閉該本地電腦的作業系統 ,該本地電腦進入休眠狀態;觸發喚醒模組遠端喚醒該 本地電腦,使該本地電腦的作業系統重新啟動;當喚醒 該本地電腦後’計算的重啟次數數值加1 ;記錄本次重啟 後該本地電腦的系統硬體資訊;比對本次重啟後記錄的 系統硬體資訊與第一次記錄的系統硬體資訊是否一致’ 如果一致,則將本次測試結果存儲至設定的存儲路徑; 判斷所計算的重啟次數數值是否達到所設定的該本地電 腦的重啟次數,當還未達到時,返回判斷設定的休眠延 遲時間是否結束的步驟;當所計算的重啟次數數值達到 所設定的重啟次數時,或者t本次重啟後記錄的系統硬 體資訊與第-次記錄的系統硬體資訊相比有錯誤或丢失 並將錯誤代碼或丢失硬體資訊存儲至設定的存儲路徑後 ’停止測試’從q的存儲路徑讀取並顯示測試結果。 [0007] 相較于S知馳本發明所述的電腦重啟測試系統及方 法’能_輕_㈣料_試電腦,並且把重啟 測試過程中出現的異常㈣進行跟蹤記錄,具有完善的 重啟測試功能,提高了職準確度,為調齡析提供方 099128044 表單編號A0101 第6頁/共20 頁 0992049319-0 201209577 便。 [0008] Ο [0009] [0010] ° [0011] [0012] 【實施方式】 如圖1所示,係為本發明電腦重啟測試系統較佳實施例之 架構圖。所述的電腦重啟測試系統10運行於本地電腦1的 BMCCBaseboard Management Control ler,基板管理 控制器)4中。該本地電腦1為家用或辦公電腦、工作站 、伺服器等。該本地電腦1還包括網卡3。該本地電腦1與 /個遠端電腦2進行遠端通信。所述的遠端電腦2包括喚 醛模組20,該喚醒模組20用於遠端喚释該本地電腦1。 如圖2所示,係為本發明電腦重啟測試系統較佳實施例之 功能模組圖。該電腦重啟測試系統10包括設置模組101、 控制模組102、記錄模組103、計時模組1、04、計數模組 105、比對模組106以及顯示模組1〇7。 所述的設置模組101用於設置該本地電腦1的重啟次數、 体眠延遲時間及測試結果存儲路徑。所述的休眠延遲時 間為該本地電腦1從啟動到進入休眠的間隔時間。 所述的設置模組101還用於設置該本地電腦1的MAC位址及 唤醒延遲時間,並將該設定的MAC地址及喚醒延遲時間發 送給喚醒模組20。所述的喚醒延遲時間為該本地電細1從 休眠至被喚醒的間隔時間。 所述的控制模組102用於當完成設置後啟動該本地電腦1 進行測試。 所述的記錄模組103用於記錄第一次讀取的該本地電腦1 當前的系統硬體資訊。所述的系統硬體資訊包括中央處 099128044 表單編號A0101 第7頁/共20頁 0992049319-0 [0013] 201209577 理器、記憶體、硬碟'基本輸入輸出系統資訊等。 [0014] 所述的計時模組1 04用於判斷設定的休眠延遲時間是否結 束。若已經結束’則觸發控制模組丨〇2關閉該本地電腦1 的作業系統,該本地電腦1進入休眠狀態;若沒有結束, 則繼續等待。 [0015] 所述的控制模組102還用於當該本地電腦1進入休眠狀態 時’觸發喚醒模組20遠端唤醒該本地電腦1,使該本地電 腦1的作業系統重新啟動。當該本地電腦1進入休眠狀態 時,控制模組102向喚醒模組20發送一個計時的信號。該 唤醒模組20收到該計時信號後開始計時,當計時到達設 定的喚醒延遲時間後,該喚醒模組20向網卡3發送包括設 定的MAC位址的資料幀。網卡3比對收到的資料鴨中的 MAC位址是否與自身的MAC位址一致’如果一致,則向 BMC4發送一個重啟的信號。該BMC4收到該重啟信號後控 制該本地電腦1的作業系統丨重新镓動。. Γ ’: ΐ .. + .丨 [0016] 所述的計數模組105用於計算叙本地電腦1的重啟次數。 當喚醒該本地電腦1後,該計數模組105所計算的重啟次 數數值加1。 [0017] 所述的記錄模組103還用於記錄本次重啟後該本地電腦1 的系統硬體資訊。 [0018] 所述的比對模組1 〇 6用於比對本次重啟後記錄的系統硬體 資訊與第一次記錄的系統硬體資訊是否一致。如果一致 ,則將本次測試結果存儲至設定的存儲路徑;如果有錯 誤或丟失,則將錯誤代碼或去失硬體資訊存儲至設定的 099128044 表單編號Α0101 第8頁/共20頁 0992049319-0 201209577 [0019] [0020] Ο [0021] [0022] [0023] Ο [0024] [0025] 存儲路徑。 所述的計數模餌105還用於判斷所計算的重啟次數數值β 否達到所設定的該本地電腦1的重啟次數。若還未達到* 定的重啟次數,則觸發計時模組1〇4繼續判斷設定的休眠 延遲時間是否結束;若已經達到設定的重啟次數,則觸 發控制模組102控制該本地電腦1停止測試。 所述的顯示模餌107用於從設定的存儲路徑讀取並顯示測 試結果。 如圖3所示,係為本發明電腦重啟測試方法較佳實施例之 流程圖。 步驟sio,所述的設置模組1〇ι設置該本地電腦1的重啟次 數、休眠延遲時間及測試結果存儲路徑。所述的休眠延 遲時間為該本地電腦1從啟動到進入休眠的間隔時間。 步驟S12,所述的設置模組101設置該本地i電腦1的MAC位 址及喚醒延遲時間’旅將該設,定的M地址及喚醒延遲時 間發送給喚醒模組20。所述的喚醒延遲時間為該本地電 腦1從休眠至被喚_間隔時間。 少驟S14 ’所述的控制模組102在完成設置後啟動該本地 電腦1進行測試,所述的記錄模組1(33記錄第—次讀取的 該本地電腦1當前的系統硬體資訊。所述的系統硬體資訊 包括中央處理器、犯憶體 '硬碟、基本輸入輸出系統資 訊等。 步驟S16,所述的計時模組1〇4判斷設定的休眠延遲時間 0992049319-0 099128044 表單編號Α0101 201209577 [0026] [0027] [0028] [0029] [0030] 疋否結束。若已經結束,則執行步驟SI 8 ;若沒有結束, 則繼續等待。 步驟Sl8,所述的控制模組1〇2關閉該本地電腦1的作業系 & ’該本地電腦1進入休眠狀態。 步驟S2〇,所述的控制模組1〇2觸發喚醒模組20遠端喚醒 5亥本地電腦1,使該本地電腦1的作業系統重新啟動。具 而言’當該本地電腦1進入休眠狀態時,控制模組1〇2 向喚醒模組20發送一個計時的信號。該喚醒模組2〇在收 該。十時信號後開始計時’當計時到達設定的喚醒延遲 1後,s玄喚醒模組20向網卡3發送包括設定的位址 的資料幢。網卡3比對收到的該資料幢中的MAC位址是否 、自身的MAC位址一致,如果一致,則向BMC4發送一個重 的4號。該BMC4收到該重啟信號後控制該本地電腦j的 作業系統重新啟動。 ,驟S22 ,當喚醒該本地電腦1後,所述的計數模組所 #算的重啟次數數值加1。 步驟S24,所述的記錄模組1〇3記錄本次重啟後該本地電 腦1的系統硬體資訊。 步驟S26,所述的比對模組106比對本次重啟後記錄的系 硬體資訊與第一次記錄的系統硬體資訊是否一致。如 果有錯誤或丟失,則執行步驟S28 ;如致則執行步 驟S3〇。 ,驟S28 ’所述的比對模組1Q6將錯誤代碼或去失硬體資 訊存儲至設定的存儲路徑。 099128044 表單編號A0101 第ίο頁/共20頁 0992049319-0 [0031] 201209577 [0032] 步驟S3〇,所述的 定的存儲路徑。 比對模組1 Q 6將本:欠測試結果存儲至設 闕纟购2 ’所述的計數模組m判斷所計算的重啟次數數 值疋否達到所設定的該本地電腦j的重啟次數。若還未達 到設定的重啟次數,則返回步驟S16 ;若已經達到設定值 ,Θ)Ι -4ί» -ί- »fc- ατν· ο n i _]步驟S34 ’所述的控制模組1〇2控制該本地電职停止測試 ’所述的顯示模組1 〇 7從設定的存儲路徑讀取並顯示測試 結果。 [0035] 綜上所述,本發明符合發明專利要件’爰依法提出專利 申請。惟,以上所述者僅爲本發明之’較佳實施例,本發 明之範圍並不以上述實施例爲限,舉凡熟悉本案技藝之 人士援依本發明之精神所作之等效修飾或變化,皆應涵 蓋於以下申請專利範圍内。 【圖式簡單說明】 [0036] 圖1係為本發明電腦重啟測試系統較佳實施例之架構圖。 [0037] 圖2係為本發明電腦重啟測試系統較佳實施例之功能模組 [0038] 圖3係為本發明電腦重啟測試方法較佳實施例之流程圖。 【主要元件符號說明】 [0039] 本地電腦1 [0040] 遠端電腦2 [0041] 網卡 3 099128044 表單編號Α0101 第11頁/共20頁 0992049319-0 201209577 [0042] BMC 4 [0043] 電腦重啟測試系統1 0 [0044] 喚醒模組2 0 [0045] 設置模組1 0 1 [0046] 控制模組102 [0047] 記錄模組103 [0048] 計時模組104 [0049] 計數模組105 [0050] 比對模組106 [0051] 顯示模組107 [0052] 設置重啟次數、休眠延遲時間以及測試結果存儲路徑 [0053] S1 0 [0054] 設置該本地電腦的MAC位址及喚醒延遲時間,並發送給喚 醒模組S12 [0055] 啟動測試,記錄第一次系統硬體資訊S1 4 [0056] 判斷休眠延遲時間是否結束S1 6 [0057] 關閉該本地電腦的作業系統S18 [0058] 觸發喚醒模組遠端喚醒該本地電腦S20 [0059] 計算的重啟次數數值加1 S22 [0060] 記錄本次重啟後的系統硬體資訊S24 099128044 表單編號A0101 第12頁/共20頁 0992049319-0 201209577 [0061] [0062] [0063] [0064] [0065] ❹ 比對本次記錄與第一次記錄是否一致S26 將錯誤代碼或丟失硬體資訊存儲至設定路徑S28 將本次測試結果存儲至設定路徑S3〇 判斷計算的數值是否達到設定的重啟次數S32 停止測試,顯示測試結果S34 ο201209577 VI. Description of the Invention: [Technical Field] [0001] The present invention relates to a test system and method, and more particularly to a computer restart test system and method. [Prior Art] [0002] With the rapid development of small-service computer technology, the industry has more and more operations on the BMC (Baseboard Management Controller), and the stability requirements of the operating system are increasing. The higher, this puts a higher requirement on the operating system test. Then a comprehensive test software is especially important. A good test software can not only shorten the test time, but also ensure the accuracy and comprehensiveness of the test results, providing an important basis for debugging analysis. At present, there is no test software for remote wake-up of the computer. When the test system is restarted, the test software is generally used. The shortcoming of this kind of software is that the test computer cannot be woken up by remote, and there is no perfect restart test. The function can not track and record the abnormal conditions that occur during the restart of the operating system, which brings considerable difficulties to the debugging analysis. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide a computer restart test system that can wake up the test computer remotely and record the abnormal conditions that occur during the restart test. [0004] In view of the above, it is also necessary to provide a computer restart test method, which can remotely wake up the test computer and record the abnormal conditions occurring during the restart test. [0005] The computer restarts the test system, and the baseboard management control running on the local computer is 099128044. Form No. A0101 Page 4/20 pages 0992049319-0 201209577 In the BMC, the local computer performs remote communication with a remote computer. 'The remote computer includes the wake mode' group. The system includes a setting module for setting the number of restarts of the local computer, a sleep delay time, and a storage path of the test result; the setting module is further configured to set a MAC address and a wake-up delay time of the local computer, And sending the set MAC address and the wake-up delay time to the wake-up module; the control module is configured to start the local computer for testing when the setting is completed; the recording module is configured to record the local computer that is read for the first time The current system hardware information; the timing module is used to determine whether the set sleep delay time is over. 'If it is over, the trigger control module closes the local computer's operating system'. The local computer enters a sleep state, if not, then The control module is further configured to: when the local computer enters a sleep state, 'trigger the wake-up module to wake up the local computer to restart the local computer operating system; the counting module is used for calculating The number of restarts of the local computer; the recording module is further configured to record system hardware information of the local computer after the restart; For the module, it is used to compare the system hardware information recorded after the restart and the system hardware information recorded for the first time, and if so, store the test result to the set storage path, if If there is an error or a loss, the error code or the lost hardware information is stored in the set storage path; the counting module is further configured to determine whether the calculated number of restart times reaches the set number of restarts, and if not, triggers The timing module continues to determine whether the set sleep delay time is over. If it has been reached, the trigger control module stops testing; and the display module is configured to read and display the test result from the set storage path. [0006] The computer restarts the test method, the local computer and a remote computer enter 099128044 Form No. A0101 Page 5 / Total 20 pages 0992049319-0 201209577 Line remote communication, the remote computer includes a wake-up module. The method includes the steps of: setting a restart time of the local computer, a sleep delay time, and a test result storage path; setting a MAC address and a wakeup delay time of the local computer, and sending the set MAC address and wakeup delay time to the wake mode Group; start the local computer after the setup is completed to test 'record the current system hardware information of the local computer read for the first time 丨 to determine whether the set sleep delay time is over, if not finished, continue to wait; if the sleep is set When the delay time is over, the operating system of the local computer is turned off, and the local computer enters a sleep state; the wake-up module is triggered to remotely wake up the local computer, and the operating system of the local computer is restarted; when the local computer is woken up, the calculation is performed. The number of restarts is increased by 1; the system hardware information of the local computer after the restart is recorded; whether the system hardware information recorded after the restart is consistent with the system hardware information recorded for the first time is the same. The test result is stored in the set storage path; the number of restarts determined is determined. Whether the value reaches the set number of restarts of the local computer, and when it has not been reached, returns a step of determining whether the set sleep delay time is over; when the calculated number of restart times reaches the set number of restarts, or t this time After the restart, the system hardware information recorded is incorrect or lost compared with the first-recorded system hardware information, and the error code or lost hardware information is stored in the set storage path, and then 'stop test' is read from the storage path of q. Take and display the test results. [0007] Compared with the computer restart test system and method described in the present invention, the computer can test and record the abnormality (4) that occurs during the restart test, and has a complete restart test. Function, improve the job accuracy, provide the party for the age analysis 099128044 Form No. A0101 Page 6 / Total 20 Page 0992049319-0 201209577. [0008] [0012] [Embodiment] As shown in FIG. 1, it is an architectural diagram of a preferred embodiment of a computer restart test system of the present invention. The computer restart test system 10 runs in the BMCCBaseboard Management Controller of the local computer 1, and the baseboard management controller. The local computer 1 is a home or office computer, a workstation, a server, and the like. The local computer 1 also includes a network card 3. The local computer 1 and the remote computer 2 perform remote communication. The remote computer 2 includes an aldehyde module 20 for remotely releasing the local computer 1. 2 is a functional module diagram of a preferred embodiment of the computer restart test system of the present invention. The computer restart test system 10 includes a setting module 101, a control module 102, a recording module 103, a timing module 1, 04, a counting module 105, a comparison module 106, and a display module 1〇7. The setting module 101 is configured to set the number of restarts of the local computer 1, the sleep delay time, and the test result storage path. The sleep delay time is the interval between the start of the local computer 1 and the sleep. The setting module 101 is further configured to set a MAC address and a wake-up delay time of the local computer 1, and send the set MAC address and wake-up delay time to the wake-up module 20. The wake-up delay time is an interval time from the sleep to the wake-up of the local power thin 1 . The control module 102 is configured to start the local computer 1 for testing when the setting is completed. The recording module 103 is configured to record the current system hardware information of the local computer 1 read for the first time. The system hardware information includes the central office 099128044 Form No. A0101 Page 7 / Total 20 pages 0992049319-0 [0013] 201209577 Processor, memory, hard disk 'Basic input and output system information. [0014] The timing module 104 is configured to determine whether the set sleep delay time is over. If it has ended, the trigger control module 丨〇2 closes the operating system of the local computer 1, and the local computer 1 enters a sleep state; if not, it continues to wait. [0015] The control module 102 is further configured to: when the local computer 1 enters a sleep state, the trigger wake-up module 20 remotely wakes up the local computer 1 to restart the local computer 1 operating system. When the local computer 1 enters a sleep state, the control module 102 sends a timing signal to the wake-up module 20. The wake-up module 20 starts timing after receiving the timing signal. After the timing reaches the set wake-up delay time, the wake-up module 20 transmits a data frame including the set MAC address to the network card 3. The network card 3 compares whether the MAC address in the duck received is consistent with its own MAC address. If it is consistent, a restart signal is sent to the BMC4. After receiving the restart signal, the BMC4 controls the operating system of the local computer 1 to re-galvanize. Γ ': ΐ .. + .丨 [0016] The counting module 105 is configured to calculate the number of restarts of the local computer 1 . When the local computer 1 is woken up, the number of restarts calculated by the counting module 105 is incremented by one. [0017] The recording module 103 is further configured to record system hardware information of the local computer 1 after the restart. [0018] The comparison module 1 〇 6 is configured to compare whether the system hardware information recorded after the restart is consistent with the system hardware information recorded for the first time. If they are consistent, store the test result to the set storage path; if there is an error or loss, store the error code or lost hardware information to the set 099128044 Form No. 1010101 Page 8 / Total 20 Page 0992049319-0 201209577 [0020] [0020] [0023] [0024] [0025] [0025] Storage path. The counting model bait 105 is further configured to determine whether the calculated restart number value β reaches the set number of restarts of the local computer 1 . If the number of restarts has not been reached, the trigger timing module 1〇4 continues to determine whether the set sleep delay time has ended; if the set number of restarts has been reached, the trigger control module 102 controls the local computer 1 to stop testing. The display die pad 107 is used to read from the set storage path and display the test result. 3 is a flow chart of a preferred embodiment of the computer restart test method of the present invention. Step sio, the setting module 1 〇 ι sets the number of restarts of the local computer 1, the sleep delay time, and the test result storage path. The sleep delay time is the interval between the start of the local computer 1 and the sleep. In step S12, the setting module 101 sets the MAC address and wake-up delay time of the local i computer 1 to send the set, the fixed M address and the wake-up delay time to the wake-up module 20. The wake-up delay time is from the sleep to the called_interval time of the local computer 1. The control module 102 described in the step S14 is started to test the local computer 1 after the setting is completed. The recording module 1 (33 records the current system hardware information of the local computer 1 read first time. The system hardware information includes a central processing unit, a memory medium hard disk, a basic input/output system information, etc. Step S16, the timing module 1〇4 determines the set sleep delay time 0992049319-0 099128044 form number Α0101 201209577 [0026] [0028] [0029] [0030] 疋 No end. If it has ended, execute step SI 8; if not, continue to wait. Step S18, the control module 1〇 2 Turn off the operation of the local computer 1 & 'The local computer 1 enters the sleep state. Step S2〇, the control module 1〇2 triggers the wake-up module 20 to remotely wake up the local computer 1 to make the local The operating system of the computer 1 is restarted. In the following, when the local computer 1 enters the sleep state, the control module 1〇2 sends a timing signal to the wake-up module 20. The wake-up module 2 is now receiving the ten. Time signal starts timing After the set wakeup delay 1 is reached, the snull wakeup module 20 sends the data structure including the set address to the network card 3. The network card 3 compares whether the received MAC address in the data frame and its own MAC address are compared. Consistently, if they are consistent, send a heavy number 4 to the BMC 4. After receiving the restart signal, the BMC4 controls the operating system of the local computer j to restart. Step S22, when the local computer 1 is woken up, the counting is performed. The number of restarts calculated by the module is incremented by 1. In step S24, the recording module 1〇3 records the system hardware information of the local computer 1 after the restart. Step S26, the comparison module 106 Comparing whether the hardware information recorded after the restart is consistent with the system hardware information recorded for the first time. If there is an error or loss, step S28 is performed; if yes, step S3 is performed, step S28' The comparison module 1Q6 stores the error code or the lost hardware information to the set storage path. 099128044 Form No. A0101 Page 395/Total 20 Page 0992049319-0 [0031] 201209577 [0032] Step S3〇, described Fixed storage path. Comparison module 1 Q 6 stores the under-test result to the counting module m described in the setup 2' to determine whether the calculated number of restart times has reached the set number of restarts of the local computer j. If the setting has not been reached yet If the number of restarts is returned, the process returns to step S16; if the set value has been reached, Θ)Ι -4ί» -ί- »fc- ατν· ο ni _] the control module 1〇2 described in step S34' controls the local electric service stop The display module 1 测试 7 described in the test reads from the set storage path and displays the test result. [0035] In summary, the present invention complies with the invention patent requirement 爰 提出 patent application. However, the above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and those skilled in the art will be able to make equivalent modifications or variations in accordance with the spirit of the present invention. All should be covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS [0036] FIG. 1 is a block diagram of a preferred embodiment of a computer restart test system of the present invention. 2 is a functional module of a computer restart test system according to a preferred embodiment of the present invention. [0038] FIG. 3 is a flow chart of a preferred embodiment of the computer restart test method of the present invention. [Main component symbol description] [0039] Local computer 1 [0040] Remote computer 2 [0041] Network card 3 099128044 Form number Α 0101 Page 11 / Total 20 pages 0992049319-0 201209577 [0042] BMC 4 [0043] Computer restart test System 1 0 [0044] Wake-up Module 2 [0045] Setting Module 1 0 1 [0046] Control Module 102 [0047] Recording Module 103 [0048] Timing Module 104 [0049] Counting Module 105 [0050] The comparison module 106 [0051] The display module 107 [0052] sets the number of restarts, the sleep delay time, and the test result storage path [0053] S1 0 [0054] sets the MAC address and wake-up delay time of the local computer, and Send to wake-up module S12 [0055] Start test, record the first system hardware information S1 4 [0056] Determine whether the sleep delay time ends S1 6 [0057] Turn off the local computer's operating system S18 [0058] Trigger wake-up mode Group remote wakes up the local computer S20 [0059] Calculated restart number value plus 1 S22 [0060] Record system hardware information after this restart S24 099128044 Form number A0101 Page 12 / Total 20 pages 0992049319-0 201209577 [0061 [0065] [0065] ❹ comparison book Whether the record is consistent with the first record S26 Store the error code or missing hardware information to the set path S28. Store the test result to the set path S3. Determine whether the calculated value reaches the set number of restarts. S32 Stop the test and display the test result. S34 ο
099128044 表單編號A0101 第13頁/共20頁 0992049319-0099128044 Form No. A0101 Page 13 of 20 0992049319-0