TW201015295A - Turn on/off testing method and turn on/off testing system using the same - Google Patents

Turn on/off testing method and turn on/off testing system using the same Download PDF

Info

Publication number
TW201015295A
TW201015295A TW97138944A TW97138944A TW201015295A TW 201015295 A TW201015295 A TW 201015295A TW 97138944 A TW97138944 A TW 97138944A TW 97138944 A TW97138944 A TW 97138944A TW 201015295 A TW201015295 A TW 201015295A
Authority
TW
Taiwan
Prior art keywords
test
under test
successfully
device under
tested
Prior art date
Application number
TW97138944A
Other languages
Chinese (zh)
Inventor
Kuo-Tai Chen
Ta-Hua Lin
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to TW97138944A priority Critical patent/TW201015295A/en
Publication of TW201015295A publication Critical patent/TW201015295A/en

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A turn on/off testing method for testing a tested device having a Baseboard Management Controller (BMC) and an Operation System (OS) through a network and a remote power control (RPC) device by a remote host is provided. The method includes controlling the RPC device to transmit alternating current (AC) via a power core between the RPC device and the tested device and initiating the BMC of the tested device. The method also includes turning on the tested device and performing a booting procedure of the OS through the BMC thereof. The method further includes controlling the tested device to perform a shutdown procedure of the OS of the tested host after the boosting procedure is finished and controlling the RPC device to break the AC between the RPC device and the tested device. Accordingly, it is possible to efficiently test the tested device through a remote operation.

Description

201015295 υ»υο^4.ι v/ 29095twf.doc/n 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種開關機測試方法及使用此方法 的開關機測試系統’且特別是有關於一種用於測試具有基 板官理控制器的待測農置是否可正常開關機的開關機測試 方法及使用此方法的開關機測試系統。 ^ 【先前技術】 隨著電腦科技的進步’人們逐漸使用資訊設備來取代 傳統^工的作業。在日常或工作事務皆已資訊化時,人們 對於資訊設備已呈現高度依賴的狀態 。因此,一旦資訊設 備無法正常運作時將會產生嚴重的影響。特別是,對於講 求時間效率的工業社會,一旦生產廠商的生產線無法正常 運作而準時交貨給客戶時,對於薇商的商譽與信用將造成 無法彌補的傷害,甚至需面對鉅額的賠償。因此在大量使 用資訊設備的現代,對於資訊設備的可靠度是使用或購買 ❹ 此資訊設備的使用者相當關注的問題。 為了能夠提供可靠與穩定的資訊設備給客戶,在完成 資訊設備的生產之後,資訊設備的生產廠商會對此些資訊 δ又備會進行一屢力測試。例如,測試員會對此些資訊設備 反覆執行作業系統的開機程序與關機程序,並且反覆執行 24小時以上。此外,為了能夠確定在測試讀過程中資訊設 備是從完全的關閉狀態中啟動,測試員必須在資訊設備的 作業系統關閉後移除電源線一段時間,並且再次連接電源 5 201015295 uouozh. 1 29095twf.doc/n 線=進行下-次的開機程序,因此目前上述測試程是以人 工操作方式。然而’上述測試程序必須反覆執行—段時間, 因此以人工方式操作是非常耗費人力與時間。因此,有曰盆 需要發展一套能夠有效率地執行上述測試程序的方法/、 [發明内容】 有鑑於此,本發明提供一種開關機測試方法,1 φ 有效地提升開關機測試的效率。 八b 本發明提供-期關機測試祕,其能細有效 方式執行開關機測試。 、 本發明提出-種開關機測試方法,適用於由遠端主 透過網路與遠端電源控制裝置來測試至少—待測,並 Z此待測以具有基板管理控㈣器伽s—d controller, BMC) ^ ^1 ^ ^ (〇perati- 二此開關機測試方法包括··(a)控制遠端電源控 • m ^連接於遠端電源控制裝置與待測裝置之間的電源 路狀態;(b)初始化基板管理控制器;⑷透過基板 二=1:測裝置並且執行待職置的作業系統的 66 _(d)在完朗機程序之後控制待職置執行作業 制穿詈j i程序以關閉待測裝置以及⑷控制遠端電源控 釗裝置使電源線成為斷路狀態。 括刻之—實施例中,上述之開關機測試方法更包 程序盈程序是否正常地完成’其中當開機 序…、法正吊地元成日守輸出錯誤訊號。 6 201015295 .V 29095twf.doc/n 在本發明之一實施例中,上述之開關機測試方法更包 括判斷基板官理控制器是否成功地初始化,其中當基板管 理控制盗無法成功地初始化時輸出錯誤訊號。 在本發明之一實施例中,上述之開關機測試方法更包 括判斷待測裝置是否成功地啟動,其中當待測装置無法成 功地啟動%重新啟動待測裝置,並且倘若待測裝置無法在 預定重新啟動次數内成功地啟動時輸出錯誤訊號。 φ 在本發明之一實施例中,上述之開關機測試方法更包 括判斷待測裝置是否成功地關閉,其中當待測裝置無法成 功地關閉時重新執行關機程序,並且偶若待測裝置無法在 預定重新關閉次數内成功地關閉時輸出錯誤訊號。 在本發明之一實施例中,上述之判斷開機程序是否正 常地完成的步驟是藉由對待測裝置執行作業系統的讀取系 統資訊(Get System Info)指令來完成。 在本發明之一實施例中,上述之判斷基板管理控制器 疋否成功地初始化的步驟是藉由對基板管理控制器執行基 ❼ 板官理控制器.的項取裝置識別碼(Get Device ID)指令來完 成。 在本發明之一實施例中,上述之判斷待測裝置是否成 功地啟動的步驟是藉由對基板管理控制器執行基板管理控 制器的讀取底板狀態(Get Chassis Status)指令來完成。 在本發明之一實施例中’上述之判斷待測裝置是否成 功地關閉的步驟是精由對基板管理控制器執行基板管理控 制器的讀取底板狀態指令來完成。 7 901〇1 v v 1 „ -V 29095twf.d〇c/n 在本發明之—實施例中,上述 業系統的關機程序的步驟是 ^待測裝置執行作 的關機指令或錢彳池=行作業系統 括在預定時間内自之開關_試方法更包 (C)、步驟⑷與步驟(e)。 仃乂驟⑻、步驟(b)、步驟 ❹ 括當ίί發中’上述之開關機測試方法更包 置執行步驟⑻:忒fb)多置時同時對此些待測裝 本發明提出驟⑷。 裝置、遠端電源控制裝置以及遠端主機了^^、—待剩 透過電源線連接至待測裝置業電源控制裝置是 接至待職置與遠端電源控制裝置= 路連 ===動待測裝置並且==開 統的關機程序以關閉待測裝置。此外夺 狀態下基板管理控制器會進行初始化的動^線為上述通路 成時遠端主機會輸出錯誤峨。 “*正吊地元 基板例中’上述之遠端主機更用以判斷 里控―疋否成功地初始化,並且當基板管理控制201015295 υ»υο^4.ι v/ 29095twf.doc/n IX. Description of the Invention: [Technical Field] The present invention relates to a switching machine testing method and a switching machine testing system using the same, and in particular The invention relates to a switch test method for testing whether a farm to be tested with a substrate management controller can normally switch on and off, and a switch test system using the same. ^ [Prior Art] With the advancement of computer technology, people are gradually using information equipment to replace the traditional work. When the daily or work affairs are informationized, people have a highly dependent state of information equipment. Therefore, once the information device is not working properly, it will have a serious impact. In particular, for an industrial society that emphasizes time efficiency, once the production line of the manufacturer cannot be operated normally and delivered to the customer on time, it will cause irreparable damage to the goodwill and credit of Weishang, and even face huge compensation. Therefore, in the modern use of a large number of information devices, the reliability of information devices is a problem that users of the information device use or purchase. In order to provide reliable and stable information equipment to customers, after the completion of the production of information equipment, the information equipment manufacturers will have a thorough test of this information. For example, the tester will repeatedly execute the booting and shutdown procedures of the operating system for these information devices and execute it for more than 24 hours. In addition, in order to be able to determine that the information device is booted from a fully closed state during the test read, the tester must remove the power cord for a period of time after the operating system of the information device is turned off, and reconnect the power supply 5 201015295 uouozh. 1 29095twf. Doc/n line = the next-time boot process, so the above test process is currently manual. However, the above test procedure must be repeated over a period of time, so manual operation is very labor intensive and time consuming. Therefore, there is a need to develop a method for efficiently performing the above test procedure. [Invention] In view of the above, the present invention provides a test method for a switchgear, which effectively improves the efficiency of the test of the switch. Eight b The present invention provides a shutdown test secret that can perform a switch test in a fine and efficient manner. The invention proposes a switching machine test method, which is suitable for testing at least by the remote main transmission network and the remote power control device, and to be tested, and to have a substrate management control (four) device s-d controller , BMC) ^ ^1 ^ ^ (〇perati- The second test method of the switch includes: (a) controlling the remote power control • m ^ connected to the power supply state between the remote power control device and the device under test; (b) initializing the substrate management controller; (4) transmitting the substrate through the substrate 2 = 1: measuring device and executing the operating system 66_(d) after the completion of the remote program Turning off the device to be tested and (4) controlling the remote power supply control device to make the power line become an open circuit state. In the embodiment, the above-mentioned test method of the switch machine further includes whether the program is successfully completed. In the embodiment of the invention, the above-mentioned switching machine testing method further comprises determining whether the substrate controller is successfully initialized, wherein Substrate tube In an embodiment of the invention, the method for testing the switch is further included to determine whether the device under test successfully starts, wherein the device to be tested cannot successfully initiate a % restart. Measuring device, and outputting an error signal if the device under test cannot be successfully started within a predetermined number of restarts. φ In an embodiment of the invention, the method for testing the switch further includes determining whether the device to be tested is successfully turned off, Wherein the shutdown procedure is re-executed when the device under test cannot be successfully shut down, and the error signal is output even if the device under test cannot be successfully shut down within the predetermined number of re-shutdowns. In one embodiment of the invention, the above-described determination of the startup procedure Whether the step is normally completed is performed by executing a Get System Info command of the operating system by the device under test. In an embodiment of the present invention, the above determining whether the substrate management controller is successfully initialized The steps are performed by the baseboard management controller on the baseboard management controller. In the embodiment of the present invention, the step of determining whether the device under test is successfully started is performed by performing a substrate management controller on the substrate management controller. In the embodiment of the present invention, the step of determining whether the device under test is successfully turned off is performed by performing a reading of the substrate management controller on the substrate management controller. The bottom board status command is completed. 7 901〇1 vv 1 „ -V 29095twf.d〇c/n In the embodiment of the present invention, the step of the shutdown procedure of the above system is to perform a shutdown command or Qian Qianchi = line operation system is included in the switch within a predetermined time _ test method package (C), step (4) and step (e). Step (8), step (b), and step ❹ 当 ί ’ ’ 上述 ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ 。 。 。 。 。 。 。 。 。 The device, the remote power control device, and the remote host are connected to the device to be tested. The power control device is connected to the standby power supply and the remote power control device = Continuity === Test the device and == turn off the shutdown program to turn off the device under test. In addition, the base controller that initializes the board management controller will be the above-mentioned path, and the remote host will output an error. The "* positive hanging element in the substrate example" is used to determine whether the remote control is successfully initialized, and when the substrate management control

S 201015295 A YV 29095twf.doc/n 器無法成功地初始化時遠端主機會輪出錯誤訊號。 在本《明之s知例中,上述之遠端主機更用以判斷 待測裝置是科功地啟動,並且#待職置無法成功地啟 動時遠端主機會重新啟動待測裝置,並且偶若待測裝置無 法在預定重新啟動次數内成功地啟動時遠端主機會輸出該 錯誤訊號。 在本發明之-實施例中,上述之遠端主機更用以判斷 _ 待測裝置是否成功地關閉’其中當待測裝置無法成功地關 閉時遠端主機會重新執行關機程序,並且倘若待測裝置無 法在預定重新關閉次數内成功地關閉時遠端主機會輸出^ 誤訊號。 在本發明之一實施例中,上述之遠端主機會藉由對待 測裝置執行作業系統的讀取系統資訊指令來判斷開機程序 疋否正常地完成。 在本發明之一實施例中,上述之遠端主機會藉由對基 板官理控制器執行基板管理控制器的讀取裝置識別碼指令 ® 來判斷基板管理控制器是否成功地初始化。 在本發明之一實施例中,上述之遠端主機會藉由對基 板管理控制器執行基板管理控制器的讀取底板狀態指令來 判斷待測裝置是否成功地啟動。 在本發明之一實施例中’上述之遠端主機會藉由對基 板管理控制器執行基板管理控制器的讀取底板狀態指令來 判斷待測裝置是否成功地關閉。 在本發明之一實施例中,上述之遠端主機會藉由對待 9 29095twf.doc/n 201015295 測裝置執仃作業系統的關機指令或者執行ps_s祕罐指 令來控制待測裝置執行作業系統的關機程序。 g在本發明之一實施例中,上述之遠端主機與待測裝置 疋配置在相同網段中或配置於多個不同網段中。 本發明因採用遠端電源控制控制,因此可於遠端對待 測裝置進行開關機測試,由此提升執行開關機測試的效率。 上為讓本發明之上述特徵和優點能更明顯易懂,下文特 舉較佳實施例’並配合所附圖式,作詳細說明如下。 【實施方式】 圖1根據本發明實施例繪示開關機測試系統的方塊 圖。 ^山請參照圖1,開關機測試系統100包括遠端主機1〇2、 而電源控制(Remote Power Control)裝置104、第一待測 裝置106、第一待測裝置1〇8、網路11〇。在根據本發明實 施例的,機測試系統刚中遠端主機搬可透過網路 • 110與遠端電源控制裝置1〇4對第一待測裝置106與第二 待測裝置108進行開關機測試,特別是測試第一待測裝置 撕與第二待測裝£⑽的作業系統是否能正常地開機與 關機。 、 、在本實施例中’遠端主機1〇2具有中央處理單元(未繪 ,)以及儲存單元(未纟會^)。特別是,此儲存單元上儲存有 =個機械才曰令並且此些機械指令可由中央處理器單元來執 行以完成根據本發明實施例的開關機測試步驟,也就是 201015295 / 29095twf.doc/n 說,遠端主機102可執行根據本發明實施例的開關機測試 步驟來對第一待測裝置1〇6與第二待測裝置108的作業系 統進行測試。 參 在本發明一實施例中,遠端主機102是一伺服器主 機。然而,本發明不限於此,遠端主機1〇2可以是任何可 執行完成根據本發明實施例的開關機測試步驟的機械指令 的計算機裝置,例如一般個人電腦。雖然本發明未詳細繪 示遠端主機102的詳細結構,本此領域技術人員應可輕易 地瞭解遠端主機102可包括一般伺服器主機所應具有的功 旎,例如輸入裝置(例如,滑鼠、鍵盤等)、顯示裝置等。 遠端電源控制裝置1〇4是透過網路11〇與遠端主機 102建立連結,並且可接收遠端主機1〇2的控制指令來開 ,與關閉連接於其上之電子設備的電源。在本實施例中, 遇端電源控制裝置1〇4是分別地透過第一電源線132與第 二電源線134連接至對第一待測裝置觸與第二待測^置 1〇1’並且遠端主機1〇2可控制遠端電源控制襞置1〇4來控 =-電源線132與第二電源線134為一通路狀態戒斷ς 狀L以導通或切斷連接至第一待測裝置1〇6與第二待測裝 置 的父流電源(Alternating Current,AC)。 制裝置與第二制裝置⑽是欲接受測試 ,電子裳置。例如,第—待測裝置1G6與第二待測裝置⑽ 腦或飼服器主機。第一待測裝置106與第二待測 裒罝08是透過網路110與遠端主機102建立連結。 在本實施例中,在第一待測裝置106與第二待測裝置 11 201015295 0 w 29095twf.doc/n 108中分別地具有作業系統152與作業系統154,作業系統 152與作業系統154是用以控制第一待測裝置1〇6與第二 待測裝置108的軟體。在本實施例中,作業系統152與作 業系統154為視窗(Windows)作業系統,然而必須瞭解的是 本發明是可應用於使用其他作業系統的待測裝置,例如 Linux作業系統、Unix作業系統、Mac作業系統等。特別 是,在本實施例中第一待測裝置1〇6與第二待測裝置ι〇8 參 分別地具有基板管理控制器(Baseboard Management Controller,BMC)162與基板管理控制器164。基板管理控 制器是一種藉由各種界面來管理整個系統(例如,待測裝 置)。例如’對系統進行狀態偵測及事件過濾、電源管理、 記錄事件發生時間及系統回復控制,並且透過網路或序列 埠將所偵測的事件傳送給控制主機。在本實施例中,基板 管理控制器162與基板管理控制器164為此領域技術人員 可輕易瞭解的技術’在此不詳細描述。 在本實施例中,當第一電源線132為通路狀態時基板 籲 管理控制器162會進行初始化並且待命接收遠端主機1〇2 的控制指令以開啟第一待測裝置1〇6的直流電源(Direct Current,DC),由此啟動第一待測裝置1〇6並且使作業系統 152執行開機程序。此外,基板管理控制器162亦可接收 遠端主機102的控制指令來執行作業系統152的關機程序 並且關閉第一待測裝置106及其直流電源。 類似地,當第二電源線134為通路狀態時基板管理控 制器164會進行初始化並且待命接收遠端主機1〇2的控制 12 iV 29095twf.doc/n 201015295 指令以開啟第二待測裝置108的直流電源,由此啟動第二 待測裝置108並且使作業系統154執行開機程序。此外, 基板管理控制器164亦可接收遠端主機102的控制指令來 執行作業系統154的關機程序並且關閉第二待測裝置ι〇8 及其直流電源。 網路110是用以連接遠端主機102與遠端電源控制裝 置104以及連接遠端主機1〇2、第一待測裝置1〇6與第二 — 待測裝置。在本實施例中,網路1 ίο是使用傳輸控制/ 網際網路協定(Transmission Control Protocol/IntemetS 201015295 A YV 29095twf.doc/n The remote host will turn off the error signal when it cannot be successfully initialized. In the case of the Mingzhi s, the above-mentioned remote host is used to judge that the device under test is activated, and the remote host restarts the device to be tested when the standby device cannot be successfully started, and even if The remote host will output the error signal when the device under test cannot be successfully started within the predetermined number of restarts. In the embodiment of the present invention, the remote host is further used to determine whether the device under test successfully shuts down, wherein the remote host re-executes the shutdown process when the device under test cannot be successfully shut down, and if it is to be tested The remote host will output a false signal when the device cannot be successfully shut down within the predetermined number of recloses. In an embodiment of the present invention, the remote host may determine whether the booting process is normally completed by executing a read system information command of the operating system by the device under test. In an embodiment of the invention, the remote host determines whether the baseboard management controller is successfully initialized by executing a read device identification code command ® of the baseboard management controller on the baseboard controller. In an embodiment of the invention, the remote host determines whether the device under test successfully starts by executing a read backplane status command of the baseboard management controller on the baseboard management controller. In an embodiment of the present invention, the remote host described above determines whether the device under test is successfully turned off by executing a read backplane state command of the baseboard management controller to the baseboard management controller. In an embodiment of the present invention, the remote host may control the shutdown of the operating system by the device to be tested by executing the shutdown command of the operating system of the 9 29095 twf.doc/n 201015295 device or executing the ps_s secret canister command. program. In one embodiment of the present invention, the remote host and the device under test are configured in the same network segment or in multiple different network segments. The invention adopts the remote power control control, so that the switch test can be performed on the remote device to be tested, thereby improving the efficiency of performing the switch test. The above features and advantages of the present invention will become more apparent from the following description. [Embodiment] FIG. 1 is a block diagram showing a test system of a switch machine according to an embodiment of the invention. Please refer to FIG. 1. The switch test system 100 includes a remote host 1〇2, and a power control device 104, a first device under test 106, a first device under test 1, and a network 11. Hey. In the machine test system according to the embodiment of the present invention, the remote test unit can perform the on/off test of the first device under test 106 and the second device under test through the network 110 and the remote power control device 1〇4. In particular, it is tested whether the operating system of the first device under test and the second device to be tested (10) can be normally turned on and off. In the present embodiment, the remote host 1〇2 has a central processing unit (not shown) and a storage unit (not shown). In particular, the storage unit stores a mechanical command and the mechanical commands can be executed by the central processing unit to complete the power on/off test step according to an embodiment of the present invention, that is, 201015295 / 29095twf.doc/n The remote host 102 can perform a test procedure of the switch in accordance with an embodiment of the present invention to test the operating systems of the first device under test 1〇6 and the second device under test 108. In an embodiment of the invention, the remote host 102 is a server host. However, the present invention is not limited thereto, and the remote host 1 2 may be any computer device that can execute mechanical instructions for completing the power-on test procedure according to an embodiment of the present invention, such as a general personal computer. Although the present invention does not detail the detailed structure of the remote host 102, those skilled in the art should readily understand that the remote host 102 can include functions that a general server host should have, such as an input device (eg, a mouse). , keyboard, etc.), display device, etc. The remote power control device 1〇4 establishes a connection with the remote host 102 through the network 11 and can receive the control command of the remote host 1〇2 to turn on and off the power of the electronic device connected thereto. In this embodiment, the power supply control device 1〇4 is connected to the second power line 134 through the first power line 132 and the second power line 134, respectively, and touches the second device to be tested to the first device to be tested. The remote host 1 〇 2 can control the remote power control device 1 〇 4 to control = - the power line 132 and the second power line 134 are in a path state ς L to turn on or off to connect to the first to be tested The device 1〇6 and the second device under test (Alternating Current, AC). The device and the second device (10) are intended to be tested and electronically placed. For example, the first device to be tested 1G6 and the second device to be tested (10) are brain or a feeder host. The first device under test 106 and the second device to be tested 08 are connected to the remote host 102 via the network 110. In the present embodiment, the first device under test 106 and the second device under test 11 201015295 0 w 29095 twf.doc/n 108 respectively have an operating system 152 and an operating system 154, and the operating system 152 and the operating system 154 are used. To control the software of the first device under test 1〇6 and the second device under test 108. In the present embodiment, the operating system 152 and the operating system 154 are Windows operating systems. However, it must be understood that the present invention is applicable to a device under test using other operating systems, such as a Linux operating system, a Unix operating system, Mac operating system, etc. In particular, in the present embodiment, the first device under test 1〇6 and the second device under test 〇8 have a baseboard management controller (BMC) 162 and a substrate management controller 164, respectively. The substrate management controller is a system that manages the entire system (for example, the device to be tested) through various interfaces. For example, 'state detection and event filtering of the system, power management, recording event occurrence time and system response control, and transmitting the detected event to the control host through the network or serial port. In the present embodiment, the substrate management controller 162 and the substrate management controller 164, which are easily understood by those skilled in the art, will not be described in detail herein. In this embodiment, when the first power line 132 is in the path state, the board appeal management controller 162 initializes and stands by to receive the control command of the remote host 1〇2 to turn on the DC power of the first device under test 1〇6. (Direct Current, DC), thereby starting the first device under test 1〇6 and causing the operating system 152 to execute the booting process. In addition, the substrate management controller 162 can also receive control commands from the remote host 102 to perform a shutdown procedure of the operating system 152 and turn off the first device under test 106 and its DC power. Similarly, the baseboard management controller 164 initializes when the second power line 134 is in the path state and stands by to receive the control 12 iV 29095twf.doc/n 201015295 command of the remote host 1〇2 to turn on the second device under test 108. The DC power source thereby activates the second device under test 108 and causes the operating system 154 to perform a boot process. In addition, the baseboard management controller 164 can also receive control commands from the remote host 102 to perform the shutdown procedure of the operating system 154 and turn off the second device under test ι8 and its DC power. The network 110 is used to connect the remote host 102 with the remote power control device 104 and the remote host 1, 2, the first device under test 1 and the second device to be tested. In this embodiment, the network 1 ίο is using the Transmission Control Protocol/Internet Protocol (Transmission Control Protocol/Intemet).

Protocol,TCP/IP)的網路。然而,必須瞭解的是本發明不限 於此,本發明亦可應用於使用其他傳輸協定的網路中。 此外,在本實施例中遠端主機102、遠端電源控制裂 置104、第一待測裝置1〇6與第二待測裝置1〇8是位於^ 路110的同一網段(segment)上。然而,在本發明另—實施 例中遠端主機102、遠端電源控制裝置104、第一待測裝置 106與第二待測裝置ι〇8亦可位於不同網段上,並且透過 ❿ 路由器⑽uter)與交換機(Switch Hub)來建立連結。 圖2是根據本發明實施例繪示開關機測試步驟的流程 圖。 L王 以下將以測試第一待測裝置1〇6為例來說明圖2所繪 不的步驟。然而,測試第一待測裝置1〇6與第二待測裝置 1〇8的方法是相同的,因此同樣的步驟亦可應用於測^第 二待測裳置108。此外’值得一提的是’遠端主機1〇2可 以多執行緒(multi-threading)技術來同步地對第一待測襞置 13 201015295 w 29095twf.doc/n 106與第二待測裝置i〇8執行下述測試步驟。 請參照圖2,在開關機測試程序200開始時,在步驟 S201中遠端主機1〇2可藉由控制遠端電源控制裝置1〇4使 連接於遠端電源控制裝置1〇4與第一待測裝置1〇6之間的 第一電源線132成為通路狀態,也就是說遠端電源控制裝 置104會導通連接至第一待測裝置1〇6的交流電源。 接著’在等候一基板管理控制器初始化時間(步驟 _ S203)後,在步驟S205中遠端主機102會確認基板管理控 制器162是否完成初始化。在本發明一實施例中,在步驟 S2〇5中遠端主機102會對基板管理控制器162下達讀取裝 置識別碼指令(Get Device ID)並且藉由基板管理控制器 162的回應訊息而判斷基板管理控制器是否已完成初 始化。此外,在步驟S203的步驟是為了等候基板管理控 制器162執行初始化,並且基板管理控制器初始化時間可 依據基板管理控制器162的特性來設定。例如,在本實施 例中基板管理控制器初始化時間是設定為6〇秒。 • 倘若在步驟S205中判斷基板管理控制器162無法初 始化時,則在步驟S207中會輸出錯誤訊息並且結束開關 機測試程序200。 倘若在步驟S205中判斷基板管理控制器162成功地 初始化時,則在步驟S209中遠端主機102會啟動第一待 測襞置106的電源(即,直流電源)並且執行作業系統152 的開機程序。在本發明一實施例中,遠端主機1〇2可藉由 對基板管理控制器162下達底板控制(Chassis control)指令 14 201015295 w 29095twf. doc/n 來開啟第一待測裝置106及其作業系統152的開機程序。 接著’在步驟S211中遠端主機1〇2會確認第一待測 裝置106疋否成功地啟動。具體來說,遠端主機巧*透 過對基板管理控制器162下達讀取底板Tit Chlis Status)指令來獲取第一待測裝置1〇6的目前狀態以判斷第 一待測裝置106是否成功地啟動。 倘若在步驟S211中判斷第一待測裝置1〇6無法成功 參 地啟動時,則在步驟S213中會判斷第一待測裝置1〇6啟 動失敗的次數是否已超過預定重新啟動次數。倘若在步驟 S213中判斷第一待測裝置1〇6啟動失敗的次數未超過預定 重新啟動次數時,則會再次執行步驟S2〇9。倘若在步驟 S213中判斷第一待測裝置1〇6啟動失敗的次數已超過預定 重新啟動次數時’則會執行步驟S2〇7來輸出錯誤訊息並 且結束開關機測試程序200。例如,在本實施例中預定重 新啟動次數為3。具體來說,遠端主機1〇2會記錄一個啟 數值來满啟動失敗的:欠數是^已超過駭重新啟動 广數’其中當待測裝置無法正常啟動時此遠端主機1〇2會 什數此啟树數值(例如,將此啟树數值加丨),且當待測 裝置可正常啟動時此遠端主機1〇2會重置此啟動計數值 (例如,將此啟動計數值歸零)。 士偶若在步驟S211中判斷第—待測裝置⑽成功地啟 動’則會在等候—作業系統開機時間(步驟⑵5)後在步 驟S217中確認作業系統I52是否正常地完成開機程序。 在本發明-實施例中,在步驟S217中遠端主機1〇2會以 15 W 29095twf.doc/n 201015295 乍業系統内建的讀取系統資訊_ System inf0)指令 步:°sti是否正常地完成賴程序。此外,在 床# ッ驟疋為了等候作業系統152執行開機程 J二作業系統開機時間可依據作業系統152的特性來 。例如’在本實施例中作業系統開機時間是設定為9〇Protocol, TCP/IP) network. However, it must be understood that the present invention is not limited thereto, and the present invention is also applicable to networks using other transmission protocols. In addition, in the embodiment, the remote host 102, the remote power control split 104, the first device under test 1〇6, and the second device under test 1〇8 are located on the same segment of the channel 110. . However, in another embodiment of the present invention, the remote host 102, the remote power control device 104, the first device under test 106, and the second device under test ι 8 may also be located on different network segments, and through the router (10) uter ) Establish a link with the switch (Switch Hub). 2 is a flow chart showing a test procedure of a switch machine according to an embodiment of the invention. L King The following steps will be described with reference to the first device under test 1〇6 as an example. However, the method of testing the first device under test 1〇6 and the second device under test 1〇8 is the same, so the same steps can also be applied to the measurement of the second device 108 to be tested. In addition, it is worth mentioning that 'the remote host 1〇2 can multi-threading the technology to synchronously the first device 13 to be tested. 201015295 w 29095twf.doc/n 106 and the second device under test i 〇8 Perform the following test steps. Referring to FIG. 2, at the beginning of the switch test program 200, the remote host 1〇2 can be connected to the remote power control device 1〇4 by controlling the remote power control device 1〇4 in step S201. The first power line 132 between the devices under test 1〇6 becomes a path state, that is, the remote power source control device 104 turns on the AC power source connected to the first device under test 1〇6. Then, after waiting for a substrate management controller initialization time (step S203), the remote host 102 confirms whether the substrate management controller 162 has completed initialization in step S205. In an embodiment of the present invention, the remote host 102 issues a read device identification code command (Get Device ID) to the baseboard management controller 162 in step S2, and is determined by the response message of the baseboard management controller 162. Whether the baseboard management controller has completed initialization. Further, the step at step S203 is to wait for the substrate management controller 162 to perform initialization, and the substrate management controller initialization time can be set in accordance with the characteristics of the substrate management controller 162. For example, in the present embodiment, the substrate management controller initialization time is set to 6 sec. • If it is determined in step S205 that the substrate management controller 162 cannot be initialized, an error message is output in step S207 and the power-on test program 200 is ended. If it is determined in step S205 that the substrate management controller 162 is successfully initialized, the remote host 102 activates the power of the first to-be-tested device 106 (ie, DC power) and executes the booting process of the operating system 152 in step S209. . In an embodiment of the present invention, the remote host 1〇2 can open the first device under test 106 and its operation by issuing a chassis control command 14 201015295 w 29095 twf. doc/n to the substrate management controller 162. The boot process of system 152. Then, in step S211, the remote host 1〇2 confirms whether the first device under test 106 is successfully started. Specifically, the remote host obtains the current state of the first device under test 1 to 6 through the command to the base management controller 162 to determine whether the first device to be tested 106 is successfully activated. . If it is determined in step S211 that the first device under test 1 〇 6 cannot be successfully activated, then it is determined in step S213 whether the number of times the first device under test 1 启 6 failed to start has exceeded the predetermined number of restarts. If it is judged in step S213 that the number of times the first device under test 1 启动 6 has failed to start does not exceed the predetermined number of restarts, step S2 〇 9 is executed again. If it is determined in step S213 that the number of times the first device under test 1 启动 6 has failed to start has exceeded the predetermined number of restarts, then step S2 〇 7 is executed to output an error message and the power-on test program 200 is ended. For example, in the present embodiment, the predetermined number of restarts is three. Specifically, the remote host 1〇2 will record a threshold value to fully fail the startup: the number of the number is ^ exceeds the number of restarts. The remote host 1〇2 will be used when the device under test fails to start normally. The number of this tree is increased (for example, the value of the tree is added), and the remote host 1〇2 resets the start count value when the device under test can be started normally (for example, the start count value is returned). zero). If the judger determines in step S211 that the device under test (10) is successfully activated, it will confirm whether the operating system I52 normally completes the booting process in step S217 after waiting for the operating system booting time (step (2) 5). In the embodiment of the present invention, in step S217, the remote host 1〇2 will read the system information _ System inf0 built in the system of 15 W 29095 twf.doc/n 201015295: whether the sti is normal or not Complete the Lai program. In addition, in the bed #ッッ, in order to wait for the operating system 152 to perform the startup process, the second operating system startup time may be based on the characteristics of the operating system 152. For example, in the present embodiment, the operating system boot time is set to 9〇.

㈣ίΐίΓ咖中判斷作業系統152無法正常地完 ^機私序時,則會執行步驟S207來輸出錯誤訊息並且 、.-吉束開關機測試程序2〇〇。 偶若在步驟S217中判斷作業系統152正常地完成開 機程序時,則在步驟S219中遠端主機102會指示第一待 測,置執行關機程序。在本發明一實施例中,遠端主機舰 可藉由視S作㈣制建的關指令耗料—待測裝置 1〇6執行關機程序。此外,在本發明另一實施例中遠端主 機102亦可藉由PS shutdown指令來指示第一待測裝置執 行關機程序。 接著’在等候一作業系統關機時間(步驟S221)後在步 驟S223中會確認第一待測裝置1〇6是否正常地關閉。具 體來說,遠端主機102可透過對基板管理控制器162下達 5賣取底板狀態指令來獲取第一待測裝置1〇6的目前狀態以 判斷第—待測裝置106是否成功地關閉。此外,在步驟S221 的步驟是為了等候第一待測裝置1〇6完成關機所需的動 作’並且作業系統關機時間可依據第一待測裝置1〇6與作 業糸統152的特性來設定。例如,在本實施例中作業系統 16 29095twf.doc/n 201015295 關機時間是設定為90秒。 倘若在步驟S223中判斷第-待測U 1G6备法成功 ==^驟S225中會判斷第—待測裝置⑽關 閉失敗的-人數疋否已超過預定重新關閉次數。倘 置1〇6關閉失敗的次數未超過預定 姨關讀料再錄 S225中判斷第一待測裝置1〇6關閉 ❹;、__則試程序2。〇。例如,在4== 新關閉次數為3。類似地,遠 :數次數是否已超過=新= 數;關閉,,如,將此計數值加:當== :二,閉時此遂端主機102會重置此值例: 此關閉計數值歸零)。 例如,將 偶若在步驟S223中去丨邮哲 β、Β丨壯π • 閉時,則在步驟S227中會1〇6成功地關 使連接於遠端電源控端f原控制袭置收 的第一電源線132成==與收之間 裝置104會域連接^魏1、,也叙响端絲控制 在本實:裝置__源。 第一待測裝置m是102,步驟S229中判斷 試還未達24小㈣,冑彳二、24小8,賴力贱’倘若測 時間(例如,5秒)後步驟S231中等候—切斷電源 W後再:欠對第-待測裝置1〇6執行步驟 17 201015295 ...... Y 29〇95twf.doc/n S201。值得一提的是,測試待測裝置的時間可依據使用者 欲進行的壓力測試來設定,例如48小時,以測試待測裝置 的穩定度與可靠度。 必須瞭解的是,圖2所述的開關機測試步驟不限於圖 2所示的轉,此躺技術人M可林達#本發明精神下 $上述的順序。再者,圖2中所述的開關機測試步驟並 例如若當使用者執行開關機測試程序時可 基板管理㈣11是否完成初始化或者省略判斷待 =置疋否成功啟動的步驟,而僅判斷待測裝置的作: 、、充疋否成功開機來判斷待測裝置是否正常。 /、’、 化地述’本發明透過使用遠端電源控難置來自動 程序的Γ率’則力測試’由此有效提升開關機測試 源的:二::亩於使Γ遠端電源控制震置來進行電 再者,透過多執行緒置上的電源。 ❹ 置執行開關機測試,===:多個待測裝 效率。 由此更了大恤楗升開關機測試程序的 限定,_並非用以 脫離本發明之精中具有通常知識者’在不 因此本發明之3和關内’當可作些許之更動與潤飾’ 為準。 瘦範圍 當視後附之申請專利範圍所界定者 圖式簡單說明】 18 201015295 … ________ 29095twf.doc/n 圖1根據本發明實施例繪示開關機測試系統的方塊 圖。 圖2是根據本發明實施例繪示開關機測試步驟的流程 圖。 【主要元件符號說明】 102 运端主機 104 遠端電源控制裝置 106 第一待測裝置 108 第二待測裝置 110 網路 132 第一電源線 134 第二電源線 152、154 :作業系統 162、164 :基板管理控制器 200 :開關機測試程序 φ S2(H、S203、S205、S207、S209、S21 卜 S213、S215、 S217、S219、S221、S223、S225、S227、S229 :開關機測 試步驟 19(4) When it is judged that the operating system 152 cannot complete the private sequence of the machine, the step S207 is executed to output an error message, and the .-Jig bundle switch test program 2〇〇. Even if it is judged in step S217 that the operating system 152 normally completes the power-on procedure, the remote host 102 instructs the first to-be-tested in step S219 to execute the shutdown procedure. In an embodiment of the invention, the remote host ship can perform the shutdown procedure by means of the shutdown command material manufactured by the S (4). In addition, in another embodiment of the present invention, the remote host 102 can also instruct the first device under test to perform a shutdown procedure by using a PS shutdown command. Then, after waiting for a work system shutdown time (step S221), it is confirmed in step S223 whether or not the first device under test 1 〇 6 is normally turned off. Specifically, the remote host 102 can obtain the current state of the first device under test 1 to 6 by issuing a floor state command to the baseboard management controller 162 to determine whether the first device to be tested 106 is successfully turned off. Further, the step S221 is to wait for the operation required for the first device under test 1 to complete the shutdown, and the operating system shutdown time can be set according to the characteristics of the first device under test 1〇6 and the work system 152. For example, in the present embodiment, the operating system 16 29095twf.doc/n 201015295 shutdown time is set to 90 seconds. If it is determined in step S223 that the first-to-be-tested U 1G6 preparation is successful ==^ in step S225, it is judged whether or not the number of times the device under test (10) has failed to be turned off has exceeded the predetermined number of re-shutdowns. If the number of failed failures of 1〇6 is not exceeded, the reading will be recorded again. In S225, the first device under test 1〇6 is closed. 、; __ is the trial 2. Hey. For example, at 4== the number of new closes is 3. Similarly, far: whether the number of times has exceeded = new = number; off, for example, add this count value: When == : 2, the terminal host 102 will reset this value when closed: This closes the count value Return to zero). For example, if, in step S223, the message is 闭 Β丨 Β丨 Β丨 Β丨 Β丨 Β丨 Β丨 • , , , , , , , , , , , , 成功 成功 成功 成功 成功 成功 成功 成功 成功 成功 成功 成功 成功 连接 连接 连接 连接 连接 连接 连接 连接 连接 连接The first power line 132 is connected to the device 104 in the vicinity of the device 104, and is also controlled by the device: __ source. The first device under test m is 102. In step S229, it is determined that the test has not yet reached 24 small (four), and the second test is 24 hours. The second test is performed in step S231 after the measurement time (for example, 5 seconds). After the power supply W: owe the first-to-be-tested device 1〇6 to perform step 17 201015295 ...... Y 29〇95twf.doc/n S201. It is worth mentioning that the time for testing the device under test can be set according to the stress test that the user wants to perform, for example, 48 hours to test the stability and reliability of the device under test. It must be understood that the test procedure of the power switch described in FIG. 2 is not limited to the one shown in FIG. 2, and the present invention is in the spirit of the present invention. Furthermore, the switch test procedure described in FIG. 2 and, for example, if the user performs the power switch test procedure, can the substrate management (4) 11 complete the initialization or omit the step of determining whether the device is successfully set to start, and only judges the test to be tested. The device's work: , , or not, is successfully turned on to determine whether the device under test is normal. /, ', the description of the 'the invention through the use of remote power control difficult to set the rate of the automatic program 'force test' thus effectively improve the test source of the switch: two:: acres in the remote control of the power supply Set the power to the power, and then set the power through the multi-thread.执行 Perform the switch test, ===: multiple test efficiency. Therefore, the limitation of the test procedure of the big-selling switch is not limited, and it is not used to deviate from the essence of the present invention. In the case of the invention, it is not necessary to make some changes and refinements. Prevail. Thin Ranges As defined by the scope of the appended claims, a brief description of the drawings] 18 201015295 ... ________ 29095 twf.doc/n FIG. 1 is a block diagram showing a test system for a switch machine according to an embodiment of the invention. 2 is a flow chart showing a test procedure of a switch machine according to an embodiment of the invention. [Main component symbol description] 102 terminal host 104 remote power control device 106 first device under test 108 second device under test 110 network 132 first power line 134 second power line 152, 154: operating system 162, 164 : Substrate management controller 200: On/off test program φ S2 (H, S203, S205, S207, S209, S21, S213, S215, S217, S219, S221, S223, S225, S227, S229: switch test step 19

Claims (1)

29〇95twf.doc/n 201015295 卞、甲請專利範圍: 1.—種開關機測試方法’適用於由—遠端主機透過— 網路與一遠端電源控制裝置來測試至少—待測裝置,其中 該待測裝置具有-基板管理控制ϋ與—作靠統,該開關 機測試方法包括: (a) 控制該遠端電源控制裝置使連接於該遠端電源押 制裝置與該待測裝置之間的一電源線成為—通路狀態;二 (b) 初始化該基板管理控制器;. (c) 透過該基板管理控制器啟動該待測裝置並且執行 該作業系統的一開機程序; (d) 在完成該開機程序之後控制該待測裝置執行該作 業系統的一關機程序以關閉該待測裝置;以及 (e) 控制該遠端電源控制裝置使該電源線成為一斷路 狀態。 、* 2. 如申請專利範圍第1項所述之開關機測試方法,更 包括: 判斷該開機程序是否正常地完成,其中當該開機程序 無法正常地完成時輸出一錯誤訊號。 3. 如申請專利範圍第2項所述之開關機測試方法,更 包括: 判斷該基板管理控制器是否成功地初始化,其中當該 基板营理控制益無法成功地初始化時輸出該錯誤訊號。 4. 如申請專利範圍第3項所述之開關機測試方法,更 包括: 20 rr 29095twf.doc/n 判斷該待測裝置是否成功地啟動,其中當該待測裝置 無法成功地啟動時重新啟動該待測裝置,並且倘若該彳^測 裝置無法在一預定重新啟動次數内成功地啟動時輪出該錯 誤訊號。 5.如申請專利範圍第4項所述之開關機測試方法, 包括: ^ Ο 判斷該待測裝置是否成功地關閉,其中當該待測裝置 無法成功地關閉時重新執行該關機程序,並且倘若該彳^蜊 裝置無法在一預定重新關閉次數内成功地關閉時輸出該錯 誤訊號。 曰 6. 如申請專利範圍第2項所述之開關機測試方法,其 中判斷該開機程序是否正常地完成的步驟是藉由對該待測 裝置執行該作業系統的—讀取系統資訊指令來完成。 7. 如申請專利範圍第3項所述之開關機測試方法,其 該基板管理㈣H是否成功地初始化的步驟是藉^ 識::2:=器執行該基板管理控制器的-讀取裝置 中二it,第4項所述之開關機測試方法,其 管」,地啟動的步驟是藉由對該基板 來完^1。°行忒基板官理控制器的一讀取底板狀態指令 中二==!所述之開關機測試方法,其 管理控制關閉的步驟是藉由對該基板 執仃邊基板官理控制器的—讀取底板狀態指令 21 29095twfdoc/n 201015295 來完成。 10. 如申請專利範囹筮 中控制該待測裝置執行該作所述之開關機測試方法,其 由對該待測展置執行作章、、,的關機程序的步驟是藉 PS-shutdown指令來完^乍業系統的關機指令或一 11. 如申請專利範圍笫 m % 包括在-預定時_自動複戦方法,更 驟⑹、步驟⑷與步驟(e)。職仃步驟(a)、步驟(b)、步 12. 如申請專利範圍第所 包括當該至少-待測裝置為多個關f測試方法,更 測震置執行步驟⑷、步驟⑻驟=裝=㈣時對該些待 1種_機測試、步驟⑷與步驟⑻。 至J 一待测裝置,每—兮技'§|| $ 制器與-作業系統; …,禮置具有-基板管理控 置;=端電_齡置,透過—電源線連接至該待測襄 電源機’透過—網路連接至該待職置與該遠端 電遠端主機用以控制該遠端電源控制裝置使該 制器啟動該待測裝置、執行透過該基板管理控 控制該待測裝置執行該作業系統的 關機私序以關閉該待測裝置,並且 其中該電源線為該通路狀態下該基板管理控制器會 22 201015295./29095twf,oc/n 進行初始化。 14·如申凊專利範圍第〗3項所述之開關機測試系統, 其中該遠端主機更用以判斷該開機程序是否正常地完成, 並且當該開機程序無法正常地完成時該遠端主機輸出一錯 誤訊號。 15. 如申請專利範圍第14項所述之開關機測試系統, 其中該遠端主機更用以判斷該基板管理控制器是否成功地 鲁 =始化,並且當該基板管理控制器無法成功地初始化時該 遠端主機輸出該錯誤訊號。 16. 如申請專利範圍第15項所述之開關機測試系統, 其中該遠端主機更用以判斷該待測裝置是否成功地啟動, 並且當該待測裝置無法成功地啟動時該遠端主機重新啟動 該待測袭置’並且倘若該待測裝置無法在一預定重新啟動 二人數内成功地啟動時該遠端主機輸出該錯誤訊號。 17. 如申請專利範圍第π項所述之開關機測試系統, _ 其中,遠端主機更用以判斷該待測裝置是否成功地關閉, 其中虽該待測裝置無法成功地關閉時該遠端主機重新執行 該關機私序,並且倘若該待測裝置無法在一預定重新關閉 人數内成功地關閉時該遠端主機輸出該錯誤訊號。 18. 如申請專利範圍第Μ項所述之開關機測試系統, f中該遠端主機是藉由對該待測裝置執行該作業系統的一 讀取系統資訊指令來判斷該開機程序是否正常地完成。 19·如申請專利範圍第15項所述之開關機測試系統, 其中該遠端主機是藉由對該基板管理控制器執行該基板管 23 201015295 29095twfdoc/a 理控制器的一讀取裝置識別碼指令來 器是否成功地初始化。^斷職板管理控制 20. 如申請專利範圍第16項所述 其中該遠端主機是藉由對該基板管理控;二 ==的一讀取底板狀態指令來判斷該待測裝置:否: 21. 如申請專利範圍第17項所述之開關 Ο 其中該遠端錢是藉由_基板管理控制亍=总 ::器广-讀取底板狀態指令來判斷該待測;°置= 22. 如申請專利範圍第13項所述之開關 其中該遠端主機是藉由對該待測裝置執行該作業系=、·'先丄 關機指令或一 PS-shutdown指令來控制該待、、則=^乱的 作業系統的關機程序。 N衣置執行該 23. 如申請專利範圍第13項所述之開關機測 其中該遠端主機與該待測裝置是配置在—相 ^洗, ❹ 個不同網段中。 中或多 2429〇95twf.doc/n 201015295 卞, A please patent scope: 1. - Switching machine test method 'applicable to - remote host through - network and a remote power control device to test at least - the device under test, Wherein the device under test has a substrate management control system, and the switch machine test method comprises: (a) controlling the remote power control device to be connected to the remote power supply device and the device to be tested a power line between the two becomes a path state; and (b) initializes the baseboard management controller; (c) activates the device under test through the baseboard management controller and executes a boot process of the operating system; (d) After the booting process is completed, the device under test is controlled to execute a shutdown process of the operating system to turn off the device to be tested; and (e) controlling the remote power control device to make the power line become an open state. 2. The method of testing the switch as described in claim 1 further includes: determining whether the booting process is completed normally, wherein an error signal is output when the booting process cannot be completed normally. 3. The method of testing a switch according to claim 2, further comprising: determining whether the baseboard management controller is successfully initialized, wherein the error signal is output when the baseboard control control cannot be successfully initialized. 4. The test method for the switch machine described in claim 3, further comprising: 20 rr 29095twf.doc/n determining whether the device under test is successfully started, wherein the device to be tested cannot be restarted when it cannot be successfully started. The device to be tested, and if the device cannot be successfully activated within a predetermined number of restarts, the error signal is rotated. 5. The method of testing the power switch according to claim 4, comprising: ^ 判断 determining whether the device under test is successfully shut down, wherein the shutdown procedure is re-executed when the device under test cannot be successfully shut down, and if The device cannot output the error signal when it is successfully turned off within a predetermined number of re-shutdowns.曰6. The method of testing a switch according to claim 2, wherein the step of determining whether the booting process is normally completed is performed by executing a read system information command of the operating system of the device under test . 7. The method for testing the switchgear according to item 3 of the patent application, the step of whether the substrate management (4) H is successfully initialized is by using: 2:= to execute the substrate management controller-reading device In the second, the switch test method described in the fourth item, the step of starting the ground is performed by the substrate. The step of reading the backplane state command of the substrate controller of the substrate 二==! The switching machine test method, the step of managing the control off is performed by the substrate controller of the substrate. Read the backplane status command 21 29095twfdoc/n 201015295 to complete. 10. In the patent application specification, the method for controlling the device to be tested is executed by the device under test, and the step of performing the shutdown process on the exhibition to be tested is by the PS-shutdown command. The shutdown command of the system is completed or 11. The scope of the patent application 笫m % is included in the - scheduled time _ automatic retracement method, more (6), step (4) and step (e). Steps (a), (b), and step 12. If the scope of the patent application is included, when the at least the device to be tested is a plurality of test methods, the test device performs the step (4) and the step (8). = (4) When to wait for 1 kind of machine test, step (4) and step (8). To J a device to be tested, each - technology '§|| $ device and - operating system; ..., the device has - substrate management control; = terminal power _ age, through - power line connected to the test The power supply is connected to the standby device and the remote remote host to control the remote power control device to enable the device to start the device under test, and to perform control through the substrate management control. The measuring device performs a shutdown private sequence of the operating system to turn off the device under test, and wherein the power line is initialized by the baseboard management controller 22 201015295./29095 twf, oc/n. 14. The switch test system of claim 3, wherein the remote host is further configured to determine whether the boot process is completed normally, and the remote host is not completed when the boot process cannot be completed normally. An error signal is output. 15. The power switch test system of claim 14, wherein the remote host is further configured to determine whether the baseboard management controller is successfully initialized, and when the baseboard management controller cannot successfully initialize The remote host outputs the error signal. 16. The switch test system of claim 15, wherein the remote host is further configured to determine whether the device under test successfully starts, and when the device under test cannot be successfully started, the remote host The pending test is restarted and the remote host outputs the error signal if the device under test cannot be successfully started within a predetermined number of restarts. 17. The switch test system as described in claim π, wherein the remote host is further configured to determine whether the device under test is successfully turned off, wherein the remote device is not successfully closed when the device to be tested cannot be successfully turned off. The host re-executes the shutdown private sequence, and the remote host outputs the error signal if the device under test cannot be successfully turned off within a predetermined number of re-shutdowns. 18. The switching machine test system of claim 5, wherein the remote host determines whether the booting process is normal by executing a read system information command of the operating system for the device under test. carry out. The switch test system of claim 15, wherein the remote host performs a read device identification code by the substrate management controller by executing the substrate tube 23 201015295 29095twfdoc/a controller Whether the instruction is successfully initialized. ^ 断板 management control 20. As described in claim 16 of the patent scope, wherein the remote host is controlled by the substrate; a === a read backplane state command to determine the device to be tested: No: 21. The switch as described in claim 17 of the patent application, wherein the remote money is judged by the _substrate management control 亍=total:-wide-reading floor state command; °== 22. The switch according to claim 13 wherein the remote host controls the standby by executing the operating system =, · 'prior shutdown command or a PS-shutdown command on the device to be tested. The shutdown program of the messy operating system. The N device performs the operation. 23. The switch machine according to claim 13 is wherein the remote host and the device to be tested are disposed in a different network segment. Medium or more 24
TW97138944A 2008-10-09 2008-10-09 Turn on/off testing method and turn on/off testing system using the same TW201015295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97138944A TW201015295A (en) 2008-10-09 2008-10-09 Turn on/off testing method and turn on/off testing system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97138944A TW201015295A (en) 2008-10-09 2008-10-09 Turn on/off testing method and turn on/off testing system using the same

Publications (1)

Publication Number Publication Date
TW201015295A true TW201015295A (en) 2010-04-16

Family

ID=44829967

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97138944A TW201015295A (en) 2008-10-09 2008-10-09 Turn on/off testing method and turn on/off testing system using the same

Country Status (1)

Country Link
TW (1) TW201015295A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478943A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 Industrial computer system unit
TWI711922B (en) * 2019-04-17 2020-12-01 上銀科技股份有限公司 System function test device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478943A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 Industrial computer system unit
TWI711922B (en) * 2019-04-17 2020-12-01 上銀科技股份有限公司 System function test device

Similar Documents

Publication Publication Date Title
CN106648958B (en) Basic input output system replys management system and its method and program product
WO2017000843A1 (en) Automatic test method and device for board card
TWI386672B (en) Method for power cycle testing
US9152492B2 (en) Performing recovery of a headless computer
TW201113697A (en) Test device
CN101727368A (en) On/off test method and on/off test system
TW201117095A (en) Electronic device capable of automatically setting up operating systems and related method and system
CN106909479B (en) Startup and shutdown test fixture
CN102609356B (en) Terminal product driver loading stability testing method
CN102087625A (en) Boot test system and test method
WO2012149756A1 (en) Method, apparatus and system for detecting motherboard device
TW201133269A (en) Setting method of power lock-up and electronic apparatus thereof
JP2008225528A (en) Computer and display device
US20100205420A1 (en) System and method for realizing remote test on computer apparatus without storage device
WO2015176388A1 (en) Hard disk health status processing method and apparatus
TWI360077B (en) Update method of basic input output system and upd
US10678739B1 (en) Electronic system, host device and control method
US10872046B2 (en) Remote power cycling of computing device via network packet
TW201015295A (en) Turn on/off testing method and turn on/off testing system using the same
CN102467427A (en) Method for entering basic output and input system setting
CN105786659A (en) Remote debugging method and server
TW201126332A (en) External device having low power detection and protection and method thereof
US20190163595A1 (en) System and method for providing network access in the event of a computer system failure
TW201114219A (en) Network connection test method
KR101583557B1 (en) Power control pci card of computer and power contol method thereof