TWI783666B - Intelligent test configuration and download system and method thereof - Google Patents

Intelligent test configuration and download system and method thereof Download PDF

Info

Publication number
TWI783666B
TWI783666B TW110132838A TW110132838A TWI783666B TW I783666 B TWI783666 B TW I783666B TW 110132838 A TW110132838 A TW 110132838A TW 110132838 A TW110132838 A TW 110132838A TW I783666 B TWI783666 B TW I783666B
Authority
TW
Taiwan
Prior art keywords
module
server
power
command
power supply
Prior art date
Application number
TW110132838A
Other languages
Chinese (zh)
Other versions
TW202311959A (en
Inventor
宋寶棟
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW110132838A priority Critical patent/TWI783666B/en
Application granted granted Critical
Publication of TWI783666B publication Critical patent/TWI783666B/en
Publication of TW202311959A publication Critical patent/TW202311959A/en

Links

Images

Abstract

An intelligent test configuration and download system is disclosed in the present invention. The intelligent test configuration and download system includes an acquiring module, a controlling module, and a monitoring module. The acquiring module is utilized to acquire information of a power supplying module and a server. The controlling module is utilized to transmit a power-off command and a power-on command to the power supplying module. The monitoring module is utilized to transmit a request command to the server. The monitoring module generates a first abnormal signal when the server responses a response command in a power-off state. The monitoring module generates a second abnormal signal when the server does not response the response command in a power-on state. An intelligent test configuration and download method is also disclosed in the present invention.

Description

智能自動化測試系統及其方法Intelligent automated test system and its method

本發明係有關於一種系統及方法,尤其是指一種智能自動化測試系統及其方法。The present invention relates to a system and a method, in particular to an intelligent automatic testing system and a method thereof.

智能自動化測試系統(Intelligent Test Configuration and Download;ITCnD)係用以對伺服器進行測試作業。一般來說,測試作業包含將伺服器斷電與上電等步驟。請參閱第一圖,第一圖係顯示先前技術之測試系統對待測伺服器進行測試之示意圖。如圖所示,一種測試系統PA1係用以對一待測伺服器PA2進行測試作業。The intelligent automated test system (Intelligent Test Configuration and Download; ITCnD) is used to test the server. Generally speaking, the test operation includes steps such as powering off and powering on the server. Please refer to the first figure. The first figure is a schematic diagram showing the test system of the prior art to test the server to be tested. As shown in the figure, a testing system PA1 is used for testing a server PA2 to be tested.

測試系統PA1對待測伺服器PA2進行測試作業時,待測伺服器PA2會對一功能模組PA3發出測試請求後,便會回覆測試系統PA1已發出測試請求。功能模組PA3接收到測試請求後,便會利用內部的功能單元,例如控制服務(Control service)單元、功率循環服務(Power cycle service)單元等,使一電源供應模組PA4中斷供電與啟動供電至待測伺服器PA2。When the test system PA1 performs a test operation on the server under test PA2, the server under test PA2 sends a test request to a functional module PA3, and then replies that the test system PA1 has sent the test request. After the functional module PA3 receives the test request, it will use the internal functional units, such as the control service (Control service) unit, the power cycle service (Power cycle service) unit, etc., to make a power supply module PA4 interrupt the power supply and start the power supply to the server PA2 to be tested.

然而,在待測伺服器PA2回覆測試系統PA1已發出測試請求後,測試系統PA1無法得知測試過程,無法得知是否確實中斷電源供應模組PA4供電至待測伺服器PA2,也無法得知是否確實重新啟動電源供應模組PA4供電至待測伺服器PA2。而且,在待測伺服器PA2得知測試結果失敗後,且無法得知測試過程中哪個步驟失敗,故需要重新再進行一次測試作業,耗費測試的時間與人力。因此,先前技術存在改善的空間。However, after the server PA2 to be tested replies that the test system PA1 has sent the test request, the test system PA1 cannot know the test process, whether it is true to interrupt the power supply module PA4 to the server PA2 to be tested, nor can it know Whether to restart the power supply module PA4 to supply power to the server under test PA2. Moreover, after the test server PA2 learns that the test result has failed, and it is impossible to know which step in the test process failed, it is necessary to perform the test operation again, which consumes time and manpower for the test. Therefore, there is room for improvement in the prior art.

有鑒於在先前技術中,測試系統對待測伺服器進行測試作業時,無法得知電源供應模組是否確實中斷以及啟動供電至待測伺服器,且測試結果失敗後又因為無法得知測試過程中哪個步驟失敗而需要重新進行一次測試作業及其衍生出的種種問題。本發明之一主要目的係提供智能自動化測試系統,用以解決先前技術中的至少一個問題。In view of the fact that in the prior art, when the test system is testing the server to be tested, it is impossible to know whether the power supply module is indeed interrupted and whether the power supply is started to supply power to the server to be tested. Which step fails and needs to be re-tested and the various problems derived from it. One of the main objectives of the present invention is to provide an intelligent automated testing system to solve at least one problem in the prior art.

本發明為解決先前技術之問題,所採用之必要技術手段為提供一種智能自動化測試系統,係用以控制一電源供應模組對一待測伺服器進行一測試作業,並包含一獲取模組、一控制模組與一監控模組。獲取模組用以獲取電源供應模組之一模組資訊與待測伺服器之一伺服器資訊。控制模組電性連接獲取模組,通信連結電源供應模組,用以在進行測試作業時,將一斷電指令或一上電指令傳送至電源供應模組,據以使電源供應模組中斷對待測伺服器供電或啟動電源供應模組對待測伺服器供電,而使待測伺服器對應地進入一應斷電狀態或一應上電狀態。監控模組電性連接控制模組,通信連結待測伺服器,用以傳送一確認指令至待測伺服器,確認是否接收到待測伺服器所回傳之一回覆指令,在應上電狀態未收到待測伺服器所回傳之該回覆指令時,產生一第一異常信號;並在應斷電狀態收到待測伺服器所回傳之回覆指令時,產生一第二異常信號。In order to solve the problems of the prior art, the necessary technical means adopted by the present invention is to provide an intelligent automatic test system, which is used to control a power supply module to perform a test operation on a server to be tested, and includes an acquisition module, A control module and a monitoring module. The obtaining module is used for obtaining module information of the power supply module and server information of the server to be tested. The control module is electrically connected to the acquisition module and communicated with the power supply module to transmit a power-off command or a power-on command to the power supply module during the test operation, so as to interrupt the power supply module Powering the server to be tested or starting the power supply module to supply power to the server to be tested, so that the server to be tested enters a corresponding power-off state or a power-on state. The monitoring module is electrically connected to the control module and communicated with the server to be tested to send a confirmation command to the server to be tested to confirm whether it has received a reply command from the server to be tested and is in the power-on state When the reply command returned by the server to be tested is not received, a first abnormal signal is generated; and when the reply command returned by the server to be tested is received in the power-off state, a second abnormal signal is generated.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統中之獲取模組,更包含一定位單元,定位單元係用以定位待測伺服器。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the acquisition module in the intelligent automatic test system further include a positioning unit, which is used to locate the server to be tested.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統中之獲取模組,更包含一讀取單元,讀取單元係用以在定位單元定位待測伺服器後,讀取待測伺服器之伺服器資訊。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the acquisition module in the intelligent automatic test system further include a reading unit, which is used to locate the servo to be tested in the positioning unit. After the server, read the server information of the server to be tested.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統,更包含一顯示模組,顯示模組係電性連接監控模組,用以顯示模組資訊、伺服器資訊、應斷電狀態、應上電狀態、回覆指令、第一異常信號所代表之一第一異常資訊、第二異常信號所代表之一第二異常資訊中之至少一者。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the intelligent automatic test system further include a display module, which is electrically connected to the monitoring module for displaying module information, At least one of server information, status to be powered off, status to be powered on, reply command, first abnormal information represented by the first abnormal signal, and second abnormal information represented by the second abnormal signal.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統,更包含一告警模組,告警模組電性連接監控模組,用以在接收到第一異常信號時,據以產生一第一異常資訊;並在接收到第二異常信號時,據以產生一第二異常資訊。On the basis of the above-mentioned necessary technical means, one of the auxiliary technical means derived from the present invention is to make the intelligent automatic test system further include an alarm module, which is electrically connected to the monitoring module, for receiving the first abnormality When the signal is received, first abnormal information is generated according to it; and when the second abnormal signal is received, second abnormal information is generated accordingly.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統,更包含一儲存模組,儲存模組電性連接監控模組,用以儲存模組資訊、伺服器資訊、應斷電狀態、應上電狀態、回覆指令、第一異常信號所代表之一第一異常資訊、第二異常信號所代表之一第二異常資訊中之至少一者。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the intelligent automatic test system further include a storage module, which is electrically connected to the monitoring module for storing module information, servo at least one of device information, power off status, power on status, reply command, first abnormal information represented by the first abnormal signal, and second abnormal information represented by the second abnormal signal.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統中之控制模組,更包含一第一傳送單元,第一傳送單元係以一插座(Socket)介面將斷電指令與上電指令傳送出。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the control module in the intelligent automatic test system further include a first transmission unit, and the first transmission unit uses a socket (Socket) interface Send out the power-off command and power-on command.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試系統中之監控模組,更包含一第二傳送單元,第二傳送單元係以一超本文傳輸協定將確認指令傳送出。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the monitoring module in the intelligent automatic test system further include a second transmission unit, and the second transmission unit uses a hypertext transfer protocol to transmit Confirmation command sent.

本發明為解決先前技術之問題,所採用之必要技術手段為另外提供一種智能自動化測試方法,係利用如上述之智能自動化測試系統加以實施,並包含以下步驟:利用獲取模組獲取電源供應模組之模組資訊與待測伺服器之伺服器資訊;利用控制模組將斷電指令或上電指令傳送至電源供應模組,據以使電源供應模組中斷對待測伺服器供電或啟動電源供應模組對待測伺服器供電;利用監控模組傳送確認指令至待測伺服器;利用監控模組在應上電狀態未收到待測伺服器所回傳之回覆指令時,產生第一異常信號;在應斷電狀態收到待測伺服器所回傳之回覆指令時,產生第二異常信號。In order to solve the problems of the prior art, the necessary technical means adopted by the present invention is to provide another intelligent automatic test method, which is implemented by using the above-mentioned intelligent automatic test system, and includes the following steps: using the acquisition module to obtain the power supply module The module information of the server under test and the server information of the server under test; use the control module to send the power-off command or power-on command to the power supply module, so that the power supply module interrupts the power supply of the server under test or starts the power supply The module supplies power to the server to be tested; uses the monitoring module to send confirmation commands to the server to be tested; uses the monitoring module to generate the first abnormal signal when the reply command returned by the server to be tested is not received in the power-on state ; When receiving a response command from the server under test in the power-off state, a second abnormal signal is generated.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使智能自動化測試方法,更包含以下步驟:利用一告警模組,在接收到第一異常信號時,據以產生一第一異常資訊;並在接收到第二異常信號時,據以產生一第二異常資訊。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is an intelligent automatic test method, which further includes the following steps: using an alarm module to generate a first abnormal signal when receiving the first abnormal signal An abnormal information; and when receiving the second abnormal signal, generate a second abnormal information accordingly.

承上所述,本發明所提供之智能自動化測試系統及其方法,利用獲取模組、控制模組與監控模組,控制電源供應模組對待測伺服器進行測試作業,相較於先前技術,本發明利用監控模組在控制模組將斷電指令或上電指令傳送至電源供應模組後,傳送確認指令至待測伺服器,藉以依據是否接收到待測伺服器所回傳的回覆指令,而相對應的產生第一異常信號或第二異常信號。因此,本發明可以確認電源供應模組是否有確實中斷供電以及是否確實啟動供電,也可以確認測試作業目前處於哪個步驟過程。Based on the above, the intelligent automated testing system and method provided by the present invention use the acquisition module, the control module and the monitoring module to control the power supply module to test the server to be tested. Compared with the prior art, The present invention utilizes the monitoring module to transmit the confirmation command to the server under test after the control module transmits the power-off command or the power-on command to the power supply module, so as to determine whether the reply command returned by the server under test is received , and correspondingly generate a first abnormal signal or a second abnormal signal. Therefore, the present invention can confirm whether the power supply module has indeed interrupted the power supply and whether it has indeed started the power supply, and can also confirm which step the test operation is currently in.

下面將結合示意圖對本發明的具體實施方式進行更詳細的描述。根據下列描述和申請專利範圍,本發明的優點和特徵將更清楚。需說明的是,圖式均採用非常簡化的形式且均使用非精準的比例,僅用以方便、明晰地輔助說明本發明實施例的目的。The specific implementation manner of the present invention will be described in more detail below with reference to schematic diagrams. The advantages and features of the present invention will be more clear from the following description and claims. It should be noted that all the drawings are in very simplified form and use imprecise scales, which are only used to facilitate and clearly assist the purpose of illustrating the embodiments of the present invention.

請一併參閱第二圖,第二圖係顯示本發明較佳實施例所提供之智能自動化測試系統之方塊圖。如圖所示,一種智能自動化測試系統1用以對一待測伺服器2進行一測試作業,並包含一獲取模組11、一控制模組12與一監控模組13。更詳細的說明,智能自動化測試系統1系用以控制一電源供應模組3對待測伺服器2進行測試作業。Please also refer to the second figure, the second figure is a block diagram showing the intelligent automated testing system provided by the preferred embodiment of the present invention. As shown in the figure, an intelligent automated test system 1 is used to perform a test operation on a server 2 to be tested, and includes an acquisition module 11 , a control module 12 and a monitoring module 13 . In more detail, the intelligent automated testing system 1 is used to control a power supply module 3 to perform testing on the server 2 to be tested.

獲取模組11用以獲取電源供應模組3的一模組資訊與待測伺服器2的一伺服器資訊。在本實施例中,獲取模組11更包含一定位單元111與一讀取單元112。定位單元111用以定位出待測伺服器2。讀取單元112則是在定位單元111定位出待測伺服器2,讀取並獲取待測伺服器2的伺服器資訊。The obtaining module 11 is used for obtaining a piece of module information of the power supply module 3 and a piece of server information of the server 2 to be tested. In this embodiment, the acquiring module 11 further includes a positioning unit 111 and a reading unit 112 . The positioning unit 111 is used for locating the server 2 to be tested. The reading unit 112 locates the server 2 to be tested in the positioning unit 111 , and reads and obtains server information of the server 2 to be tested.

控制模組12電性連接獲取模組11,並通信連結電源供應模組3,用以在進行該測試作業時,將一斷電指令或一上電指令傳送至該電源供應模組,據以使該電源供應模組中斷對該待測伺服器供電或啟動該電源供應模組對該待測伺服器供電,而使該待測伺服器對應地進入一應斷電狀態或一應上電狀態。在本實施例中,控制模組12更包含一第一傳送單元121,第一傳送單元121係以一插座(Socket)介面將斷電指令與上電指令傳送至電源供應模組3。The control module 12 is electrically connected to the acquisition module 11, and communicated with the power supply module 3, so as to transmit a power-off command or a power-on command to the power supply module when performing the test operation. Make the power supply module interrupt the power supply to the server under test or start the power supply module to supply power to the server under test, so that the server under test enters a corresponding power-off state or a power-on state . In this embodiment, the control module 12 further includes a first transmission unit 121 , and the first transmission unit 121 transmits the power-off command and the power-on command to the power supply module 3 through a socket interface.

監控模組13電性連接控制模組12,通信連結待測伺服器2,用以傳送一確認指令至待測伺服器2,確認是否接收到待測伺服器2所回傳之一回覆指令,在該應上電狀態未收到待測伺服器2所回傳之該回覆指令時,產生一第一異常信號;並在應斷電狀態收到待測伺服器2所回傳之該回覆指令時,產生一第二異常信號。在本實施例中,監控模組13更包含一第二傳送單元131,第二傳送單元131係以一超本文傳輸協定(Hypertext Transfer Protocol;HTTP)將該確認指令傳送出。The monitoring module 13 is electrically connected to the control module 12, communicates with the server 2 to be tested, and is used to send a confirmation command to the server 2 to be tested, to confirm whether a reply command sent back by the server 2 to be tested is received, When the reply command returned by the server 2 to be tested is not received in the power-on state, a first abnormal signal is generated; and the reply command returned by the server 2 to be tested is received in the power-off state When , a second abnormal signal is generated. In this embodiment, the monitoring module 13 further includes a second transmission unit 131, and the second transmission unit 131 transmits the confirmation command through a Hypertext Transfer Protocol (HTTP).

在本實施例中,智能自動化測試系統1更包含一顯示模組14、一告警模組15與一儲存模組16。In this embodiment, the intelligent automated testing system 1 further includes a display module 14 , an alarm module 15 and a storage module 16 .

顯示模組14電性連接監控模組13,用以顯示模組資訊、伺服器資訊、應斷電狀態、應斷電狀態、回覆指令、第一異常信號所代表之一第一異常資訊、第二異常信號所代表之一第二異常資訊中之至少一者。The display module 14 is electrically connected to the monitoring module 13 for displaying module information, server information, power off status, power off status, reply command, one of the first abnormal information represented by the first abnormal signal, the second At least one of the second abnormal information represented by the two abnormal signals.

告警模組15電性連接監控模組13,用以在接收到第一異常信號時,據以產生一第一異常資訊;並在接收到第二異常信號時,據以產生一第二異常資訊。The alarm module 15 is electrically connected to the monitoring module 13 for generating a first abnormal information when receiving the first abnormal signal; and generating a second abnormal information when receiving the second abnormal signal .

儲存模組16電性連接監控模組13,用以儲存模組資訊、伺服器資訊、應斷電狀態、應斷電狀態、回覆指令、第一異常信號所代表之一第一異常資訊、第二異常信號所代表之一第二異常資訊中之至少一者。The storage module 16 is electrically connected to the monitoring module 13, and is used to store module information, server information, power-off status, power-off status, reply command, one of the first abnormal information represented by the first abnormal signal, the second At least one of the second abnormal information represented by the two abnormal signals.

接著,請一併第二圖至第五圖,其中,第三圖係顯示本發明較佳實施例所提供之智能自動化測試方法之流程圖;以及,第四圖與第五圖係顯示本發明較佳實施例所提供之智能自動化測試方法之顯示模組之示意圖。如圖所示,一種智能自動化測試方法係利用如第二圖所示的智能自動化測試系統1加以實施,用以控制電源供應模組3對待測伺服器2進行測試作業,並包含以下步驟S101至步驟S109。Next, please combine the second figure to the fifth figure, wherein, the third figure shows the flow chart of the intelligent automated testing method provided by the preferred embodiment of the present invention; and, the fourth figure and the fifth figure show the flow chart of the present invention A schematic diagram of the display module of the intelligent automated testing method provided by the preferred embodiment. As shown in the figure, an intelligent automated testing method is implemented by using the intelligent automated testing system 1 shown in the second figure to control the power supply module 3 to perform testing on the server 2 to be tested, and includes the following steps S101 to Step S109.

步驟S101:利用獲取模組獲取模組資訊與伺服器資訊。Step S101: Obtain module information and server information by using the acquisition module.

在步驟S101中,獲取模組11會獲取電源供應模組3的模組資訊與待測伺服器2的伺服器資訊,用以確保接受測試的待測伺服器2以及供電至待測伺服器2的電源供應模組3。實務上,伺服器資訊通常包含待測伺服器2的IP、埠(Port)數、機架(Rack)數、插槽(Slot)數、槽(Bay)數等資訊。In step S101, the obtaining module 11 will obtain the module information of the power supply module 3 and the server information of the server under test 2, so as to ensure that the server under test 2 under test and supply power to the server under test 2 The power supply module 3. In practice, the server information usually includes information such as IP, number of ports, number of racks, number of slots, and number of bays of the server 2 to be tested.

步驟S102:利用控制模組將斷電指令傳送至電源供應模組,使電源供應模組中斷對待測伺服器供電。Step S102: Utilize the control module to transmit a power-off command to the power supply module, so that the power supply module interrupts the power supply of the server under test.

在步驟S102中,控制模組12會將斷電指令傳送至電源供應模組3。電源供應模組3便會中斷供電至待測伺服器2,而使待測伺服器2對應地進入應斷電狀態。在本實施例中,控制模組12的第一傳送單元121係以插座(Socket)介面將斷電指令傳送至電源供應模組3。In step S102 , the control module 12 sends a power-off command to the power supply module 3 . The power supply module 3 will interrupt the power supply to the server under test 2, so that the server under test 2 will correspondingly enter the power-off state. In this embodiment, the first transmission unit 121 of the control module 12 transmits the power-off command to the power supply module 3 through a socket (Socket) interface.

步驟S103:利用監控模組傳送確認指令至待測伺服器。Step S103: Utilize the monitoring module to send a confirmation command to the server to be tested.

在步驟S103中,監控模組13會傳送確認指令至待測伺服器2。在本實施例中,第二傳送單元131係以超本文傳輸協定(Hypertext Transfer Protocol;HTTP)將確認指令傳送出。In step S103 , the monitoring module 13 sends a confirmation command to the server 2 to be tested. In this embodiment, the second transmission unit 131 transmits the confirmation command by using Hypertext Transfer Protocol (HTTP).

步驟S104:是否接收到待測伺服器所回傳之回覆指令。Step S104: Whether the response command returned by the server to be tested is received.

在在步驟S103中監控模組13會確認是否接收到待測伺服器2所回傳的回覆指令,並在接收到回覆指令時,進入步驟S105;在沒接收到回覆指令時,進入步驟S106。In step S103, the monitoring module 13 will confirm whether the reply command sent back by the server 2 to be tested is received, and if the reply command is received, enter step S105; if no reply command is received, proceed to step S106.

步驟S105:利用監控模組產生第一異常信號。Step S105: Utilize the monitoring module to generate a first abnormal signal.

在步驟S105中,因為待測伺服器2進入應斷電狀態,因此,監控模組13應該不會接收到回覆指令。而監控模組13卻在此時接收到回覆指令,表示待測伺服器2實際並未斷電,故據以產生第一異常信號,並結束智能自動化測試方法。待測伺服器2可以回傳回覆指令,有可能是待測伺服器2發生異常狀況,也可能是電源供應模組3未確實中斷供電。In step S105 , since the server under test 2 enters the power-off state, the monitoring module 13 should not receive the reply command. However, the monitoring module 13 receives a reply command at this time, indicating that the server 2 to be tested is not actually powered off, so the first abnormal signal is generated accordingly, and the intelligent automatic testing method is ended. The server under test 2 may send back a reply command. It may be that the server under test 2 has an abnormal situation, or the power supply module 3 has not interrupted the power supply.

步驟S106:利用控制模組將上電指令傳送至電源供應模組,啟動電源供應模組對待測伺服器供電。Step S106: Utilize the control module to transmit the power-on command to the power supply module, and start the power supply module to supply power to the server under test.

在步驟S106中,控制模組12會將上電指令傳送至電源供應模組3。電源供應模組3便會啟動供電至待測伺服器2,而使待測伺服器2對應地進入應上電狀態。In step S106 , the control module 12 sends a power-on command to the power supply module 3 . The power supply module 3 will start to supply power to the server under test 2, so that the server under test 2 will correspondingly enter the power-on state.

步驟S107:利用監控模組傳送確認指令至待測伺服器。Step S107: Utilize the monitoring module to send a confirmation command to the server to be tested.

在步驟S107中,監控模組13會傳送確認指令至待測伺服器2。In step S107, the monitoring module 13 sends a confirmation command to the server 2 to be tested.

步驟S108:是否接收到待測伺服器所回傳之回覆指令。Step S108 : Whether the response command returned by the server to be tested is received.

在步驟S108中監控模組13會確認是否接收到待測伺服器2所回傳的回覆指令,並在接收到回覆指令時,結束智能自動化測試方法;在沒接收到回覆指令時,進入步驟S109。In step S108, the monitoring module 13 will confirm whether the reply instruction received from the server 2 to be tested is received, and when the reply instruction is received, the intelligent automated testing method is terminated; when the reply instruction is not received, it enters step S109 .

因為待測伺服器2進入應上電狀態,表示監控模組13應該會接收到待測伺服器2所回傳的回覆指令,因此,在監控模組13接收到回覆指令後,表示待測伺服器2已經實際上電,故完成測試作業,而結束智能自動化測試方法。Because the server under test 2 enters the power-on state, it means that the monitoring module 13 should receive the reply command returned by the server under test 2. Therefore, after the monitor module 13 receives the reply command, it indicates that the server under test The device 2 has actually been powered on, so the test operation is completed, and the intelligent automated test method is ended.

步驟S109:利用監控模組產生第二異常信號。Step S109: Utilize the monitoring module to generate a second abnormal signal.

若監控模組13沒有收到待測伺服器2所回傳的回覆指令,表示待測伺服器2實際並未上電,故據以產生第二異常信號,並結束智能自動化測試方法。待測伺服器2沒有回傳回覆指令,有可能是待測伺服器2發生異常狀況,也可能是電源供應模組3未確實啟動供電。If the monitoring module 13 does not receive the reply command sent back by the server 2 to be tested, it means that the server 2 to be tested is not actually powered on, so a second abnormal signal is generated accordingly, and the intelligent automatic testing method ends. If the server under test 2 does not send back a reply command, it may be that the server under test 2 has an abnormal situation, or the power supply module 3 may not start the power supply.

在本實施例中,顯示模組14、告警模組15與儲存模組16都可以針對上述情形進行作動。顯示模組14可以顯示所有上述的相關資訊,如第四圖與第五圖所示。告警模組15可以在接收到第一異常信號與第二異常信號時據以分別產生第一異常資訊與第二異常資訊。In this embodiment, the display module 14 , the alarm module 15 and the storage module 16 can all act on the above situation. The display module 14 can display all the above-mentioned related information, as shown in the fourth and fifth figures. The alarm module 15 can respectively generate the first abnormal information and the second abnormal information when receiving the first abnormal signal and the second abnormal signal.

更詳細的說明,顯示模組14在測試作業的過程中,可以顯示出智能自動化測試系統1與智能自動化測試方法目前的步驟。如第四圖所示,顯示模組14顯示目前已進行步驟S101至S104,並在等待是否會接收到回覆指令,圖中的「UUT」表示待測伺服器2,「power off」表示斷電指令,「wait 60s」表示等待60秒看是否會接收到回覆指令。而在第五圖中,顯示模組14顯示目前已進行步驟S101至S105,且因為在應斷電狀態接收到回覆指令,因此產生第一異常信號,並且結束智能自動化測試方法,圖中的「get UUT response」表示接收到回覆指令。In more detail, the display module 14 can display the current steps of the intelligent automated testing system 1 and the intelligent automated testing method during the testing operation. As shown in the fourth figure, the display module 14 shows that steps S101 to S104 have been carried out, and is waiting for whether a reply command will be received. "UUT" in the figure means the server under test 2, and "power off" means power off command, "wait 60s" means waiting for 60 seconds to see if a reply command will be received. In the fifth figure, the display module 14 shows that steps S101 to S105 have been carried out at present, and because the reply command is received in the power-off state, the first abnormal signal is generated, and the intelligent automatic test method is ended, the " in the figure" get UUT response” indicates that a reply command has been received.

而告警模組15與儲存模組16可以針對上述資訊產生相對應的異常資訊或是儲存所以上述的資訊,異常資訊可為燈號、震動、聲音或是其他可以告警的資訊。The alarm module 15 and the storage module 16 can generate corresponding abnormal information for the above information or store all the above information. The abnormal information can be lights, vibrations, sounds or other alarming information.

綜上所述,本發明所提供之智能自動化測試系統及其方法,利用獲取模組、控制模組與監控模組,控制電源供應模組對待測伺服器進行測試作業,相較於先前技術,本發明利用監控模組在控制模組將斷電指令或上電指令傳送至電源供應模組後,傳送確認指令至待測伺服器,藉以依據是否接收到待測伺服器所回傳的回覆指令,而相對應的產生第一異常信號或第二異常信號。因此,本發明可以確認電源供應模組是否有確實中斷供電以及是否確實啟動供電,也可以確認測試作業目前處於哪個步驟過程。To sum up, the intelligent automated testing system and method provided by the present invention use the acquisition module, the control module and the monitoring module to control the power supply module to test the server to be tested. Compared with the prior art, The present invention utilizes the monitoring module to transmit the confirmation command to the server under test after the control module transmits the power-off command or the power-on command to the power supply module, so as to determine whether the reply command returned by the server under test is received , and correspondingly generate a first abnormal signal or a second abnormal signal. Therefore, the present invention can confirm whether the power supply module has indeed interrupted the power supply and whether it has indeed started the power supply, and can also confirm which step the test operation is currently in.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。Through the above detailed description of the preferred embodiments, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the scope of the present invention is not limited by the preferred embodiments disclosed above. On the contrary, the intention is to cover various changes and equivalent arrangements within the scope of the patent application for the present invention.

PA1:測試系統 PA2:待測伺服器 PA3:功能模組 PA4:電源供應模組 1:智能自動化測試系統 11:獲取模組 111:定位單元 112:讀取單元 12:控制模組 121:第一傳送單元 13:監控模組 131:第二傳送單元 14:顯示模組 15:告警模組 16:儲存模組 2:待測伺服器 3:電源供應模組 S101~S109:步驟PA1: Test System PA2: Server to be tested PA3: Functional module PA4: Power supply module 1: Intelligent automated test system 11: Get the module 111: positioning unit 112: read unit 12: Control module 121: the first transmission unit 13:Monitoring module 131: the second transmission unit 14: Display module 15:Alarm module 16: Storage module 2: The server to be tested 3: Power supply module S101~S109: steps

第一圖係顯示先前技術之測試系統對待測伺服器進行測試之示意圖; 第二圖係顯示本發明較佳實施例所提供之智能自動化測試系統之方塊圖; 第三圖係顯示本發明較佳實施例所提供之智能自動化測試方法之流程圖;以及 第四圖與第五圖係顯示本發明較佳實施例所提供之智能自動化測試方法之顯示模組之示意圖。 The first figure is a schematic diagram showing the test system of the prior art to test the server to be tested; The second figure shows the block diagram of the intelligent automated test system provided by the preferred embodiment of the present invention; The third figure shows the flow chart of the intelligent automated testing method provided by the preferred embodiment of the present invention; and Figure 4 and Figure 5 are schematic diagrams showing the display module of the intelligent automated testing method provided by the preferred embodiment of the present invention.

1:智能自動化測試系統 1: Intelligent automated test system

11:獲取模組 11: Get the module

111:定位單元 111: positioning unit

112:讀取單元 112: read unit

12:控制模組 12: Control module

121:第一傳送單元 121: the first transmission unit

13:監控模組 13:Monitoring module

131:第二傳送單元 131: the second transmission unit

14:顯示模組 14: Display module

15:告警模組 15:Alarm module

16:儲存模組 16: Storage module

2:待測伺服器 2: The server to be tested

3:電源供應模組 3: Power supply module

Claims (10)

一種智能自動化測試系統,係用以控制一電源供應模組對一待測伺服器進行一測試作業,並包含: 一獲取模組,係用以獲取該電源供應模組之一模組資訊與該待測伺服器之一伺服器資訊; 一控制模組,係電性連接該獲取模組,通信連結該電源供應模組,用以在進行該測試作業時,將一斷電指令或一上電指令傳送至該電源供應模組,據以使該電源供應模組中斷對該待測伺服器供電或啟動該電源供應模組對該待測伺服器供電,而使該待測伺服器對應地進入一應斷電狀態或一應上電狀態;以及 一監控模組,係電性連接該控制模組,通信連結該待測伺服器,用以傳送一確認指令至該待測伺服器,確認是否接收到該待測伺服器所回傳之一回覆指令,在該應上電狀態未收到該待測伺服器所回傳之該回覆指令時,產生一第一異常信號;並在該應斷電狀態收到該待測伺服器所回傳之該回覆指令時,產生一第二異常信號。 An intelligent automated test system is used to control a power supply module to perform a test operation on a server to be tested, and includes: An acquisition module, which is used to acquire module information of the power supply module and server information of the server to be tested; A control module is electrically connected to the acquisition module and communicated with the power supply module, and is used to transmit a power-off command or a power-on command to the power supply module when performing the test operation. Make the power supply module interrupt the power supply to the server under test or start the power supply module to supply power to the server under test, so that the server under test enters a corresponding power-off state or a power-on state status; and A monitoring module, which is electrically connected to the control module, communicates with the server to be tested, and is used to send a confirmation command to the server to be tested to confirm whether a reply from the server to be tested is received Instruction, when the response instruction returned by the server under test is not received in the state to be powered on, a first abnormal signal is generated; When the command is replied, a second abnormal signal is generated. 如請求項1所述之智能自動化測試系統,其中,該獲取模組更包含一定位單元,該定位單元係用以定位該待測伺服器。In the intelligent automated testing system as described in Claim 1, wherein the acquisition module further includes a positioning unit, the positioning unit is used to locate the server to be tested. 如請求項2所述之智能自動化測試系統,其中,該獲取模組更包含一讀取單元,該讀取單元係用以在該定位單元定位該待測伺服器後,讀取該待測伺服器之該伺服器資訊。The intelligent automated test system as described in claim 2, wherein the acquisition module further includes a reading unit, which is used to read the server under test after the positioning unit locates the server under test The server information of the device. 如請求項1所述之智能自動化測試系統,更包含一顯示模組,該顯示模組係電性連接該監控模組,用以顯示該模組資訊、該伺服器資訊、該應斷電狀態、該應上電狀態、該回覆指令、該第一異常信號所代表之一第一異常資訊、該第二異常信號所代表之一第二異常資訊中之至少一者。The intelligent automated test system as described in claim 1 further includes a display module, which is electrically connected to the monitoring module to display the module information, the server information, and the power-off status , at least one of the state to be powered on, the reply command, the first abnormal information represented by the first abnormal signal, and the second abnormal information represented by the second abnormal signal. 如請求項1所述之智能自動化測試系統,更包含一告警模組,該告警模組係電性連接該監控模組,用以在接收到該第一異常信號時,據以產生一第一異常資訊;並在接收到該第二異常信號時,據以產生一第二異常資訊。The intelligent automated test system as described in claim 1 further includes an alarm module, which is electrically connected to the monitoring module, and is used to generate a first abnormal signal when receiving the first abnormal signal. Abnormal information; and when receiving the second abnormal signal, according to generate a second abnormal information. 如請求項1所述之智能自動化測試系統,更包含一儲存模組,該儲存模組係電性連接該監控模組,用以儲存該模組資訊、該伺服器資訊、該應斷電狀態、該應上電狀態、該回覆指令、該第一異常信號所代表之一第一異常資訊、該第二異常信號所代表之一第二異常資訊中之至少一者。The intelligent automated test system as described in claim 1 further includes a storage module, which is electrically connected to the monitoring module for storing the module information, the server information, and the power-off status , at least one of the state to be powered on, the reply command, the first abnormal information represented by the first abnormal signal, and the second abnormal information represented by the second abnormal signal. 如請求項1所述之智能自動化測試系統,其中,該控制模組更包含一第一傳送單元,該第一傳送單元係以一插座(Socket)介面將該斷電指令與該上電指令傳送出。The intelligent automated test system as described in claim 1, wherein the control module further includes a first transmission unit, and the first transmission unit transmits the power-off command and the power-on command through a socket (Socket) interface out. 如請求項1所述之智能自動化測試系統,其中,該監控模組更包含一第二傳送單元,該第二傳送單元係以一超本文傳輸協定將該確認指令傳送出。The intelligent automated testing system as described in Claim 1, wherein the monitoring module further includes a second transmission unit, and the second transmission unit transmits the confirmation command through a hypertext transfer protocol. 一種智能自動化測試方法,係利用如請求項1所述之智能自動化測試系統加以實施,並包含以下步驟: (a) 利用該獲取模組獲取該電源供應模組之該模組資訊與該待測伺服器之該伺服器資訊; (b) 利用該控制模組將該斷電指令或該上電指令傳送至該電源供應模組,據以使該電源供應模組中斷對該待測伺服器供電或啟動該電源供應模組對該待測伺服器供電; (c) 利用該監控模組傳送該確認指令至該待測伺服器;以及 (d) 利用該監控模組在該應上電狀態未收到該待測伺服器所回傳之該回覆指令時,產生該第一異常信號;在該應斷電狀態收到該待測伺服器所回傳之該回覆指令時,產生該第二異常信號。 An intelligent automated testing method is implemented using the intelligent automated testing system described in claim 1, and includes the following steps: (a) using the obtaining module to obtain the module information of the power supply module and the server information of the server under test; (b) Utilize the control module to transmit the power-off command or the power-on command to the power supply module, so that the power supply module interrupts the power supply to the server under test or starts the power supply module to The server under test is powered; (c) using the monitoring module to send the confirmation command to the server under test; and (d) Use the monitoring module to generate the first abnormal signal when the reply command from the server under test is not received in the state that should be powered on; When the response command returned by the device, the second abnormal signal is generated. 如請求項9所述之智能自動化測試方法,更包含以下步驟: (e) 利用一告警模組,在接收到該第一異常信號時,據以產生一第一異常資訊;並在接收到該第二異常信號時,據以產生一第二異常資訊。 The intelligent automated testing method as described in claim item 9 further includes the following steps: (e) using an alarm module to generate first abnormal information when receiving the first abnormal signal; and generate second abnormal information when receiving the second abnormal signal.
TW110132838A 2021-09-03 2021-09-03 Intelligent test configuration and download system and method thereof TWI783666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110132838A TWI783666B (en) 2021-09-03 2021-09-03 Intelligent test configuration and download system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110132838A TWI783666B (en) 2021-09-03 2021-09-03 Intelligent test configuration and download system and method thereof

Publications (2)

Publication Number Publication Date
TWI783666B true TWI783666B (en) 2022-11-11
TW202311959A TW202311959A (en) 2023-03-16

Family

ID=85794444

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110132838A TWI783666B (en) 2021-09-03 2021-09-03 Intelligent test configuration and download system and method thereof

Country Status (1)

Country Link
TW (1) TWI783666B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201514686A (en) * 2013-10-03 2015-04-16 Wistron Corp Method and system for automated test and result comparison
US20150234737A1 (en) * 2014-02-14 2015-08-20 Samsung Electronics Co., Ltd. Test system of system on chip and test method thereof
TW201923576A (en) * 2017-11-15 2019-06-16 英業達股份有限公司 Testing equipment and testing method
CN111752776A (en) * 2020-05-29 2020-10-09 苏州浪潮智能科技有限公司 Cyclic power-on and power-off test method and system for server
CN112199244A (en) * 2020-10-16 2021-01-08 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting power failure of server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201514686A (en) * 2013-10-03 2015-04-16 Wistron Corp Method and system for automated test and result comparison
US20150234737A1 (en) * 2014-02-14 2015-08-20 Samsung Electronics Co., Ltd. Test system of system on chip and test method thereof
TW201923576A (en) * 2017-11-15 2019-06-16 英業達股份有限公司 Testing equipment and testing method
CN111752776A (en) * 2020-05-29 2020-10-09 苏州浪潮智能科技有限公司 Cyclic power-on and power-off test method and system for server
CN112199244A (en) * 2020-10-16 2021-01-08 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting power failure of server

Also Published As

Publication number Publication date
TW202311959A (en) 2023-03-16

Similar Documents

Publication Publication Date Title
CN106055438B (en) The method and system of memory bar exception on a kind of quick positioning mainboard
US20110314322A1 (en) Time synchronization system and server using same
JP3063708B2 (en) Non-stop power supply system, backup target device used therefor, and recording medium recording program for operating computer as backup target device
JP2010183705A (en) Method of testing power transmission apparatus or power receiving apparatus, power transmission apparatus, power receiving apparatus and non-contact power transmission system
US20120137027A1 (en) System and method for monitoring input/output port status of peripheral devices
CN102799504A (en) Power supply testing system and method
US10079499B2 (en) Type-C factory and special operating mode support
WO2014169645A1 (en) Method for detecting fault of intelligent terminal, and intelligent terminal
CN111831495A (en) Production automation test method and system
CN103546586A (en) Internet Protocol (IP) address matching system and method
TWI783666B (en) Intelligent test configuration and download system and method thereof
CN112255563A (en) Uninterruptible power supply testing method, device, system, equipment and storage medium
WO2016040143A1 (en) Smart plug and play automatic obd-ii system tester
CN112416678B (en) Fan in-place detection device and method
CN113125938B (en) Aging test monitoring method and system
CN210155240U (en) System for testing high-low temperature power-off restart of Internet of things gateway
CN111208363A (en) Test method and electronic device
US7313732B2 (en) Memory arrangement in a computer system
CN104660418A (en) Network awakening control system and method
CN220671580U (en) Test platform, jig and system for server board card
US11132043B2 (en) Power failure detecting system and method for dual central processing unit
JP2002002419A (en) Electronic control unit for vehicle
US20120049654A1 (en) Electronic device and powering off method for the electronic device
JPH11259403A (en) Communication right deciding method, information processor used for the same and record medium storing program
CN114414996A (en) Automatic circuit detection method and device