Nothing Special   »   [go: up one dir, main page]

TWI757932B - Controlling system for switching dynamic load and method thereof - Google Patents

Controlling system for switching dynamic load and method thereof Download PDF

Info

Publication number
TWI757932B
TWI757932B TW109137258A TW109137258A TWI757932B TW I757932 B TWI757932 B TW I757932B TW 109137258 A TW109137258 A TW 109137258A TW 109137258 A TW109137258 A TW 109137258A TW I757932 B TWI757932 B TW I757932B
Authority
TW
Taiwan
Prior art keywords
load
test
idle
full
module
Prior art date
Application number
TW109137258A
Other languages
Chinese (zh)
Other versions
TW202217566A (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 TW109137258A priority Critical patent/TWI757932B/en
Application granted granted Critical
Publication of TWI757932B publication Critical patent/TWI757932B/en
Publication of TW202217566A publication Critical patent/TW202217566A/en

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A controlling system for switching dynamic load is disclosed in the present invention. The controlling system includes a main controlling module, and a plurality of load controlling modules. The main controlling module is utilized to operate a testing script and generate a plurality of full load testing signals and idle load testing signal. The load controlling modules is utilized to control a plurality of loading modules in a server to operate with a full load and an idle load periodically. A controlling method for switching dynamic load is also disclosed in the present invention.

Description

動態負載切換控制系統及其方法Dynamic load switching control system and method thereof

本發明係有關於一種系統及方法,尤其是指一種動態負載切換控制系統及其方法。The present invention relates to a system and method, in particular to a dynamic load switching control system and method.

先前技術中,單一測試工具無法對伺服器中的負載模組,如風扇、中央處理器、固態硬碟、記憶體等,做到週期性的動態負載切換。然而,隨著科技的發展,各廠商對於伺服器中的負載模組的測試需求越來越多元,也會因為不同的廠商而有不同的測試需求與測試標準。因此,先前技術中的測試工具有改善的空間。In the prior art, a single testing tool cannot perform periodic dynamic load switching for load modules in the server, such as fans, central processing units, solid-state drives, and memory. However, with the development of technology, various manufacturers have more and more diverse test requirements for load modules in servers, and different manufacturers have different test requirements and test standards. Therefore, the testing tools in the prior art have room for improvement.

有鑒於在先前技術中,單一測試工具所能達到的測試效果有限所造成及其衍生出的種種問題。本發明之一主要目的係提供一種動態負載切換控制系統,用以解決先前技術中的至少一個問題。In view of the fact that in the prior art, the testing effect that a single testing tool can achieve is limited and various problems arising therefrom. One of the main objectives of the present invention is to provide a dynamic load switching control system for solving at least one problem in the prior art.

本發明為解決先前技術之問題,所採用之必要技術手段為提供一種動態負載切換控制系統,係通信連結一伺服器,用以控制伺服器中之複數個負載模組在複數個測試週期下同步性切換變更負載,並且包含一主控制模組與複數個負載控制模組。In order to solve the problem of the prior art, the necessary technical means adopted by the present invention is to provide a dynamic load switching control system, which is connected to a server in communication, and is used to control the synchronization of a plurality of load modules in the server under a plurality of test cycles. The load can be switched and changed randomly, and includes a main control module and a plurality of load control modules.

主控制模組儲存有一測試腳本程式,在執行測試腳本程式時,係在每一測試週期中之一滿載測試階段開始時間發送出複數個對應於負載模組之滿載測試信號,並在每一測試週期中之一閒置測試階段開始時間發送出複數個對應於負載模組之閒置測試信號。負載控制模組電性連接於主控制模組,每一負載控制模組分別對應地電性連接於負載模組之一者,藉以對應地在滿載測試階段開始時間接收滿載測試信號,並在閒置測試階段開始時間接收閒置測試信號,每一負載控制模組係在接收到滿載測試信號中所對應之一者時,係將一滿載控制信號傳送至所對應之負載模組,使所對應之負載模組以一滿負載值運作,每一負載控制模組係在接收到閒置測試信號中所對應之一者時,係將一閒置控制信號傳送至所對應之負載模組,使所對應之負載模組切換為以一閒置負載值運作。The main control module stores a test script program. When the test script program is executed, it sends out a plurality of full-load test signals corresponding to the load module at the start time of a full-load test phase in each test cycle. A plurality of idle test signals corresponding to the load modules are sent out at the start time of an idle test phase in the cycle. The load control module is electrically connected to the main control module, and each load control module is electrically connected to one of the load modules correspondingly, so as to receive the full-load test signal correspondingly at the start time of the full-load test phase, and to idle The idle test signal is received at the beginning of the test phase. When each load control module receives the corresponding one of the full load test signals, it transmits a full load control signal to the corresponding load module, so that the corresponding load The modules operate at a full load value. When each load control module receives the corresponding one of the idle test signals, it transmits an idle control signal to the corresponding load module to make the corresponding load The module switches to operate at an idle load value.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制系統中之主控制模組包含一運行時間設定單元,運行時間設定單元用以設定每一測試週期之一滿負載運行時間與一閒置負載運行時間。On the basis of the above necessary technical means, an auxiliary technical means derived from the present invention is that the main control module in the dynamic load switching control system includes a running time setting unit, and the running time setting unit is used to set the time of each test cycle. A full load run time and an idle load run time.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制系統,更包含一顯示模組,且顯示模組通信連結負載模組,用以在每一測試週期顯示每一負載模組之滿負載值、閒置負載值、滿負載運行時間與閒置負載運行時間。On the basis of the above necessary technical means, an auxiliary technical means derived from the present invention is to make the dynamic load switching control system further include a display module, and the display module is connected to the load module in communication for each test cycle. Displays the full load value, idle load value, full load running time and idle load running time of each load module.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制系統,更包含一警示模組,警示模組電性連接顯示模組,用以在滿載測試階段開始時間後偵測到負載模組中之任一者並未到達以滿負載值運作時,產生一警示資訊。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the dynamic load switching control system further include a warning module. The warning module is electrically connected to the display module for starting the full-load test stage. When it is detected that any one of the load modules has not reached the full load value after time, a warning message is generated.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制系統中之主控制模組,包含一週期數量設定單元,週期數量設定單元用以設定所有測試週期之一週期總數量,藉以設定出每一負載模組之一總運行時間。On the basis of the above necessary technical means, an auxiliary technical means derived from the present invention is that the main control module in the dynamic load switching control system includes a cycle quantity setting unit, and the cycle quantity setting unit is used to set the number of all test cycles. A total number of cycles, thereby setting a total running time of each load module.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制系統中之負載控制模組,包含一風扇負載控制模組、一中央處理器負載控制模組、一固態硬碟負載控制模組與一記憶體負載控制模組中之至少一者。On the basis of the above necessary technical means, an auxiliary technical means derived from the present invention is to make the load control module in the dynamic load switching control system, including a fan load control module, a central processing unit load control module, a At least one of the solid state disk load control module and a memory load control module.

本發明為解決先前技術之問題,所採用之必要技術手段為另外提供一種動態負載切換控制方法,係利用上述之動態負載切換控制系統加以實施,並包含以下步驟:利用主控制模組執行測試腳本程式,並在每一測試週期中之滿載測試階段開始時間發送出滿載測試信號,並在每一測試週期中之閒置測試階段開始時間發送出閒置測試信號;利用負載控制模組在滿載測試階段開始時間對應地接收滿載測試信號,在閒置測試階段開始時間對應地接收閒置測試信號;利用每一負載控制模組在滿載測試階段開始時間將滿載控制信號傳送至所對應之負載模組,使所對應之負載模組以滿負載值運作,並在閒置測試階段開始時間將閒置控制信號傳送至所對應之負載模組,使所對應之負載模組切換為以閒置負載值運作。In order to solve the problem of the prior art, the necessary technical means adopted by the present invention is to provide a dynamic load switching control method, which is implemented by using the above-mentioned dynamic load switching control system, and includes the following steps: using the main control module to execute the test script program, and send a full load test signal at the start time of the full load test phase in each test cycle, and send an idle test signal at the start time of the idle test phase in each test cycle; use the load control module to start the full load test phase. Receive the full load test signal corresponding to the time, and receive the idle test signal correspondingly at the start time of the idle test phase; use each load control module to transmit the full load control signal to the corresponding load module at the start time of the full load test phase, so that the corresponding The load module operates at the full load value, and transmits the idle control signal to the corresponding load module at the start time of the idle test phase, so that the corresponding load module switches to operate at the idle load value.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制方法中之步驟,更包含以下步驟:利用主控制模組中之一運行時間設定單元設定每一測試週期之一滿負載運行時間與一閒置負載運行時間。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is a step in the dynamic load switching control method, further comprising the following steps: using a running time setting unit in the main control module to set each test One cycle is full load run time and one idle load run time.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制方法中之步驟,更包含以下步驟:利用主控制模組中之一週期數量設定單元設定所有測試週期之一週期總數量,藉以設定出每一負載模組之一總運行時間。On the basis of the above necessary technical means, an auxiliary technical means derived from the present invention is a step in the dynamic load switching control method, further comprising the following steps: using a cycle quantity setting unit in the main control module to set all test cycles A total number of cycles to set a total running time of each load module.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使動態負載切換控制方法,更包含以下步驟:利用一顯示模組在每一測試週期顯示每一負載模組之滿負載值、閒置負載值、滿負載運行時間與閒置負載運行時間。On the basis of the above necessary technical means, an auxiliary technical means derived from the present invention is a dynamic load switching control method, further comprising the following steps: using a display module to display the full load of each load module in each test cycle value, idle load value, full load run time and idle load run time.

承上所述,本發明所提供之動態負載切換控制系統及其方法,係利用主控制模組執行測試腳本程式,並利用負載控制模組在滿載測試階段開始時間使所對應之負載模組以滿負載值運作,並在閒置測試階段開始時間使所對應之負載模組以閒置負載值運作,藉以使負載模組達到同步性切換變更負載,並運行完總運行時間的功效。此外,運行時間設定單元也可以供測試者靈活地設定測試週期的滿負載運行時間與閒置負載運行時間以達到不同的測試需求。Continuing from the above, in the dynamic load switching control system and method provided by the present invention, the main control module is used to execute the test script program, and the load control module is used to make the corresponding load module run at the start time of the full load test phase. The full load value is operated, and the corresponding load module is operated at the idle load value at the start time of the idle test phase, so that the load module can achieve the effect of synchronously switching the load and running the total running time. In addition, the running time setting unit can also allow the tester to flexibly set the full load running time and the idle load running time of the test cycle to meet different test requirements.

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

請參閱第一圖至第三圖,其中,第一圖係顯示本發明較佳實施例所提供之動態負載切換控制系統之方塊圖;第二圖係顯示本發明較佳實施例所提供之動態負載切換控制系統之負載示意圖;以及,第三圖係顯示本發明較佳實施例所提供之動態負載切換控制方法之流程圖。如圖所示,一種動態負載切換控制系統1通信連結一伺服器2。伺服器2包含複數個負載模組,在本實施例中,複數個負載模組以一風扇21a、一中央處理器21b、一固態硬碟21c與一記憶體21d舉例說明,但不以此為限。Please refer to the first figure to the third figure, wherein, the first figure shows the block diagram of the dynamic load switching control system provided by the preferred embodiment of the present invention; the second figure shows the dynamic load switching control system provided by the preferred embodiment of the present invention. The load schematic diagram of the load switching control system; and the third figure is a flow chart showing the dynamic load switching control method provided by the preferred embodiment of the present invention. As shown in the figure, a dynamic load switching control system 1 is communicatively connected to a server 2 . The server 2 includes a plurality of load modules. In this embodiment, the plurality of load modules are exemplified by a fan 21a, a central processing unit 21b, a solid state hard disk 21c and a memory 21d, but this is not the case. limit.

動態負載切換控制系統1用以控制伺服器2中的負載模組在複數個測試週期PT1、PT2(圖式標示兩個示意)下同步性切換變更負載,並且包含主控制模組11與複數個負載控制模組。在本實施例中,複數個負載控制模組以一風扇負載控制模組12a、一中央處理器負載控制模組12b、一固態硬碟負載控制模組12c與一記憶體負載控制模組12d舉例說明,但不以此為限。The dynamic load switching control system 1 is used to control the load modules in the server 2 to switch and change the load synchronously under a plurality of test cycles PT1 and PT2 (two diagrams are indicated in the figure), and includes a main control module 11 and a plurality of Load control module. In this embodiment, the plurality of load control modules are exemplified by a fan load control module 12a, a CPU load control module 12b, a solid-state disk load control module 12c, and a memory load control module 12d description, but not limited to.

主控制模組11,儲存有一測試腳本程式111。主控制模組11在執行測試腳本程式111時,會在每個測試週期中的一滿載測試階段開始時間發送出複數個對應於負載模組的滿載測試信號,並在每個測試週期中的一閒置測試階段開始時間發送出複數個對應於負載模組的閒置測試信號。在本實施例中,主控制模組11更包含一運行時間設定單元112與一週期數量設定單元113。The main control module 11 stores a test script program 111 . When the main control module 11 executes the test script program 111, it will send a plurality of full-load test signals corresponding to the load modules at the start time of a full-load test phase in each test cycle, and at one of the test cycles in each test cycle. At the start time of the idle test phase, a plurality of idle test signals corresponding to the load modules are sent out. In this embodiment, the main control module 11 further includes a running time setting unit 112 and a cycle quantity setting unit 113 .

舉例說明,主控制模組11在執行測試腳本程式111時,會在測試週期PT1中的滿載測試階段開始時間T1發送出滿載測試信號,並在測試週期PT1中的閒置測試階段開始時間T2發送出閒置測試信號。For example, when the main control module 11 executes the test script program 111, it will send a full load test signal at the start time T1 of the full load test phase in the test period PT1, and send out the full load test signal at the start time T2 of the idle test phase in the test period PT1. Idle test signal.

運行時間設定單元112用以設定測試週期PT1的一滿負載運行時間P1與測試週期PT1的一閒置負載運行時間P2。在本實施例中,運行時間設定單元112設定滿負載運行時間P1與閒置負載運行時間P2相等,例如各60秒,也可以視為占空比為50%。雖然運行時間設定單元112是設定滿負載運行時間P1與閒置負載運行時間P2,但是也可以視為是設定滿負載運行時間P1與閒置負載運行時間P2的比例、比值,或是設定滿負載運行時間P1與測試週期PT1的週期運行時間(滿負載運行時間P1與閒置負載運行時間P2的總和)的比例、比值。另外,運行時間設定單元112也可以依照測試者的測試需求而設定。The running time setting unit 112 is used for setting a full load running time P1 of the test period PT1 and an idle load running time P2 of the test period PT1. In this embodiment, the operation time setting unit 112 sets the full load operation time P1 and the idle load operation time P2 to be equal, for example, 60 seconds each, which can also be regarded as a duty cycle of 50%. Although the running time setting unit 112 sets the full load running time P1 and the idle load running time P2, it can also be regarded as setting the ratio or ratio of the full load running time P1 and the idle load running time P2, or setting the full load running time The ratio and ratio of P1 to the cycle running time of the test period PT1 (the sum of the full load running time P1 and the idle load running time P2). In addition, the running time setting unit 112 can also be set according to the test requirements of the tester.

週期數量設定單元113用以設定所有該些測試週期的一週期總數量,藉以設定出每一負載模組的一總運行時間。總運行時間可以供測試者設定,例如100小時、120小時、140小時等。The cycle number setting unit 113 is used for setting a total cycle number of all the test cycles, thereby setting a total running time of each load module. The total running time can be set by the tester, such as 100 hours, 120 hours, 140 hours, etc.

風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d都會電性連接主控制模組11,用以在滿載測試階段開始時間T1、T3接收滿載測試信號與在閒置測試階段開始時間T2、T4接收閒置測試信號。The fan load control module 12a, the CPU load control module 12b, the solid state hard disk load control module 12c and the memory load control module 12d are all electrically connected to the main control module 11 to start the time during the full load test phase T1 and T3 receive the full load test signal and receive the idle test signal at the start time T2 and T4 of the idle test phase.

風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d還會各別對應地電性連接風扇21a、中央處理器21b、固態硬碟21c與記憶體21d,用以在接收到滿載測試信號時各自將一滿載控制信號傳送至所對應的負載模組,並在接收到閒置測試信號時各自將一閒置控制信號傳送至所對應的負載模組。The fan load control module 12a, the CPU load control module 12b, the solid-state hard disk load control module 12c, and the memory load control module 12d are also correspondingly electrically connected to the fan 21a, the CPU 21b, the solid state drive The hard disk 21c and the memory 21d are used for respectively transmitting a full-load control signal to the corresponding load module when receiving the full-load test signal, and respectively transmitting an idle control signal to the corresponding load module when receiving the idle test signal load module.

以測試週期PT1舉例說明,風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d會在滿載測試階段開始時間T1各自傳送滿載控制信號至風扇21a、中央處理器21b、固態硬碟21c與記憶體21d,使風扇21a、中央處理器21b、固態硬碟21c與記憶體21d切換為以一滿負載值LH運作。實務上來說,滿負載值LH等於100%。Taking the test period PT1 as an example, the fan load control module 12a, the CPU load control module 12b, the SSD load control module 12c and the memory load control module 12d will each transmit full load at the start time T1 of the full load test phase. The control signals are sent to the fan 21a, the CPU 21b, the solid state hard disk 21c and the memory 21d, so that the fan 21a, the CPU 21b, the solid state hard disk 21c and the memory 21d are switched to operate at a full load value LH. Practically speaking, the full load value LH is equal to 100%.

當風扇21a、中央處理器21b、固態硬碟21c與記憶體21d以滿負載值LH運作滿負載運行時間P1後,會到達閒置測試階段開始時間T2。此時,風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d會各自傳送閒置控制信號至風扇21a、中央處理器21b、固態硬碟21c與記憶體21d,使得風扇21a、中央處理器21b、固態硬碟21c與記憶體21d同步性切換變更負載,而以一閒置負載值LI運作。一般來說,閒置負載值LI是指負載模組處於一閒置(idle)狀態,也就是說,閒置負載值LI是指負載模組在什麼事情都沒做的情況下所需要的負載。閒置負載值LI通常是依照各家廠商或是各個負載模組而定,可能為20%-30%不等,也可能更低。When the fan 21a, the central processing unit 21b, the solid state hard disk 21c and the memory 21d operate at the full load value LH for the full load operation time P1, the idle test phase start time T2 will be reached. At this time, the fan load control module 12a, the CPU load control module 12b, the SSD load control module 12c and the memory load control module 12d will respectively transmit idle control signals to the fan 21a, the CPU 21b, The solid-state hard disk 21c and the memory 21d enable the fan 21a, the central processing unit 21b, the solid-state hard disk 21c and the memory 21d to switch and change the load synchronously, and operate at an idle load value LI. Generally speaking, the idle load value LI means that the load module is in an idle state, that is, the idle load value LI means the load required by the load module when nothing is done. The idle load value LI is usually determined by each manufacturer or each load module, which may vary from 20% to 30%, or may be lower.

當風扇21a、中央處理器21b、固態硬碟21c與記憶體21d以閒置負載值LI運作閒置負載運行時間P2後,便運作完測試週期PT1。測試週期PT2會接續在測試週期PT1之後,而測試週期PT2與測試週期PT1相同,具有一滿載測試階段開始時間T3、一閒置測試階段開始時間T4、一滿負載運行時間P3與一閒置負載運行時間P4。另外,滿載測試階段開始時間T5則屬於接續於測試週期PT2後的測試週期。When the fan 21a, the central processing unit 21b, the solid-state hard disk 21c and the memory 21d operate the idle load running time P2 with the idle load value LI, the test period PT1 is completed. The test period PT2 will continue after the test period PT1, and the test period PT2 is the same as the test period PT1, and has a full load test phase start time T3, an idle test phase start time T4, a full load operation time P3 and an idle load operation time P4. In addition, the start time T5 of the full load test phase belongs to the test period following the test period PT2.

因此,可以將測試週期PT2視為另一個測試週期PT1,也就是說,主控制模組11會週期性地發送出滿載測試信號與閒置測試信號。風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d會週期性地接收滿載測試信號與閒置測試信號,並且週期性地產生滿載控制信號與閒置控制信號,使得風扇21a、中央處理器21b、固態硬碟21c與記憶體21d會週期性地切換以滿負載值LH與閒置負載值LI運作,直到風扇21a、中央處理器21b、固態硬碟21c與記憶體21d運行完所有測試週期的總運行時間。Therefore, the test period PT2 can be regarded as another test period PT1, that is to say, the main control module 11 will periodically send the full load test signal and the idle test signal. The fan load control module 12a, the CPU load control module 12b, the SSD load control module 12c and the memory load control module 12d periodically receive the full load test signal and the idle test signal, and periodically generate The full load control signal and the idle control signal make the fan 21a, the CPU 21b, the solid state hard disk 21c and the memory 21d periodically switch to operate at the full load value LH and the idle load value LI until the fan 21a, the CPU 21b , the total running time of the solid-state hard disk 21c and the memory 21d to complete all test cycles.

因為主控制模組11同時利用複數個負載控制模組控制負載模組,故可以使各負載模組更迅速地在滿負載值LH與閒置負載值LI之間進行切換,藉以減少切換時間所帶來的影響。而負載控制模組可以為現有的腳本、工具、或是其他具有控制功能的模組。Because the main control module 11 uses a plurality of load control modules to control the load modules at the same time, each load module can be switched between the full load value LH and the idle load value LI more quickly, so as to reduce the switching time. impact to come. The load control module can be an existing script, tool, or other modules with control functions.

在本實施例中,動態負載切換控制系統1更包含一顯示模組13與一警示模組14。顯示模組13電性連接主控制模組11並通信連結負載模組(風扇21a、中央處理器21b、固態硬碟21c與記憶體21d),用以在每個測試週期PT1、PT2顯示每個負載模組的滿負載值LH、閒置負載值LI、滿負載運行時間P1、P3與閒置負載運行時間P2、P4,如第二圖所示意。In this embodiment, the dynamic load switching control system 1 further includes a display module 13 and a warning module 14 . The display module 13 is electrically connected to the main control module 11 and communicatively connected to the load module (the fan 21a, the central processing unit 21b, the solid-state hard disk 21c and the memory 21d) for displaying each test cycle PT1 and PT2. The full load value LH, the idle load value LI, the full load operation time P1, P3 and the idle load operation time P2, P4 of the load module are as shown in the second figure.

警示模組14電性連接顯示模組13與主控制模組11,用以在滿載測試階段開始時間T1、T3偵測到負載模組(風扇21a、中央處理器21b、固態硬碟21c與記憶體21d)中的任一者並未到達以滿負載值LH運作時,產生一警示資訊。因此,測試者可以在看到警示資訊進行相對應的作為,例如暫時執行測試腳本程式111、調整測試腳本程式111、或是產出相對應的報告等。The warning module 14 is electrically connected to the display module 13 and the main control module 11 to detect the load modules (the fan 21a, the central processing unit 21b, the solid-state hard disk 21c and the memory) at the start times T1 and T3 of the full-load test phase. When any one of the bodies 21d) has not reached the full load value LH, a warning message is generated. Therefore, the tester can take corresponding actions after seeing the warning information, such as temporarily executing the test script program 111, adjusting the test script program 111, or generating a corresponding report.

一種動態負載切換控制方法利用如第一圖中之動態負載切換控制系統1加以實施,並包含以下步驟S101至步驟S106。A dynamic load switching control method is implemented using the dynamic load switching control system 1 as shown in the first figure, and includes the following steps S101 to S106.

步驟S101:利用主控制模組中之運行時間設定單元設定每一測試週期之滿負載運行時間與閒置負載運行時間。Step S101 : Use the running time setting unit in the main control module to set the full load running time and the idle load running time of each test cycle.

步驟S102:利用主控制模組中之週期數量設定單元設定所有測試週期之週期總數量,藉以設定出負載模組之總運行時間。Step S102: Using the cycle quantity setting unit in the main control module to set the total number of cycles of all test cycles, thereby setting the total running time of the load module.

步驟S101與步驟S102利用如第一圖中的運行時間設定單元112與週期數量設定單元113設定如第二圖中的滿負載運行時間P1、P3、閒置負載運行時間P2、P4與總運行時間。Steps S101 and S102 use the running time setting unit 112 and the cycle number setting unit 113 as shown in the first figure to set the full load running time P1, P3, the idle load running time P2, P4 and the total running time as shown in the second figure.

步驟S103:利用主控制模組執行測試腳本程式。Step S103 : use the main control module to execute the test script program.

步驟S103利用如第一圖中的主控制模組11執行測試腳本程式111,並在每個測試週期PT1、PT2中的滿載測試階段開始時間T1、T3發送出複數個對應於負載模組(如第一圖中的風扇21a、中央處理器21b、固態硬碟21c與記憶體21d)之滿載測試信號,並在每個測試週期中之一閒置測試階段開始時間T2、T4發送出複數個對應於負載模組之閒置測試信號。Step S103 uses the main control module 11 as shown in the first figure to execute the test script program 111, and sends out a plurality of corresponding load modules (such as The full load test signal of the fan 21a, the central processing unit 21b, the solid-state hard disk 21c and the memory 21d) in the first figure is sent out at the start time T2 and T4 of an idle test phase in each test cycle. Idle test signal of the load module.

步驟S104:利用負載控制模組在測試週期中之滿載測試階段開始時間接收滿載測試信號,在測試週期中之閒置測試階段開始時間接收閒置測試信號。Step S104 : using the load control module to receive the full load test signal at the start time of the full load test phase in the test cycle, and to receive the idle test signal at the start time of the idle test phase in the test cycle.

步驟S105:利用負載控制模組在滿載測試階段開始時間使所對應之負載模組以滿負載值運作,並在閒置測試階段開始時間使負載模組切換為以閒置負載值運作。Step S105: Use the load control module to operate the corresponding load module at the full load value at the start time of the full load test phase, and switch the load module to operate at the idle load value at the start time of the idle test phase.

步驟S104與步驟S105利用如第一圖中的風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d接收滿載測試信號與閒置測試信號,並使對應的風扇21a、中央處理器21b、固態硬碟21c與記憶體21d在滿負載值LH與閒置負載值LI之間切換運作。Steps S104 and S105 utilize the fan load control module 12a, the CPU load control module 12b, the SSD load control module 12c and the memory load control module 12d as shown in the first figure to receive the full load test signal and idle The test signal is performed, and the corresponding fan 21a, CPU 21b, solid state hard disk 21c and memory 21d are switched between the full load value LH and the idle load value LI.

步驟S106:利用顯示模組在測試週期顯示負載模組之滿負載值、閒置負載值、滿負載運行時間與閒置負載運行時間。Step S106: Use the display module to display the full load value, idle load value, full load running time and idle load running time of the load module during the test period.

步驟S106利用如第一圖中的顯示模組13顯示。較佳者,還可以利用如第一圖中的警示模組14產生警示資訊。Step S106 is displayed using the display module 13 as shown in the first figure. Preferably, the warning information can also be generated by the warning module 14 as shown in the first figure.

步驟S107:利用負載控制模組控制負載模組在測試週期下同步性切換變更負載,並運作完總運行時間。Step S107 : use the load control module to control the load module to switch and change the load synchronously under the test period, and complete the total running time.

步驟S107利用如第一圖中的風扇負載控制模組12a、中央處理器負載控制模組12b、固態硬碟負載控制模組12c與記憶體負載控制模組12d控制風扇21a、中央處理器21b、固態硬碟21c與記憶體21d同步性切換變更負載,並運行完所有測試週期的總運行時間。Step S107 utilizes the fan load control module 12a, the CPU load control module 12b, the SSD load control module 12c and the memory load control module 12d as shown in the first figure to control the fan 21a, the CPU 21b, The solid-state hard disk 21c and the memory 21d switch and change the load synchronously, and run the total running time of all the test cycles.

綜上所述,本發明所提供之動態負載切換控制系統及其方法,利用主控制模組執行測試腳本程式,並利用負載控制模組控制伺服器所對應的負載模組。使得負載模組在滿載測試階段開始時間以滿負載值運行,並在閒置測試階段開始時間以閒置負載值運行。達到切換快速、可以動態控制滿負載運行時間與一閒置負載運行時間以及達到在一總運行時間,尤其是指長時間,運行的功效。To sum up, in the dynamic load switching control system and method provided by the present invention, the main control module is used to execute the test script program, and the load control module is used to control the load module corresponding to the server. The load module is made to run at the full load value at the start time of the full load test phase, and run at the idle load value at the start time of the idle test phase. To achieve fast switching, can dynamically control the full load running time and an idle load running time and achieve a total running time, especially for a long time, the effect of running.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。Through the detailed description of the preferred embodiments above, it is hoped that the features 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 modifications and equivalent arrangements within the scope of the claimed scope of the present invention.

1:動態負載切換控制系統 11:主控制模組 111:測試腳本程式 112:運行時間設定單元 113:週期數量設定單元 12a:風扇負載控制模組 12b:中央處理器負載控制模組 12c:固態硬碟負載控制模組 12d:記憶體負載控制模組 13:顯示模組 14:警示模組 2:伺服器 21a:風扇 21b:中央處理器 21c:固態硬碟 21d:記憶體 LH:滿負載值 LI:閒置負載值 PT1,PT2:測試週期 P1,P3:滿負載運行時間 P2,P4:閒置負載運行時間 T1,T3,T5:滿載測試階段開始時間 T2,T4:閒置測試階段開始時間1: Dynamic load switching control system 11: Main control module 111: Test scripts 112: Running time setting unit 113: Cycle number setting unit 12a: Fan load control module 12b: CPU load control module 12c: SSD Load Control Module 12d: Memory Load Control Module 13: Display module 14: Warning module 2: Server 21a: Fan 21b: CPU 21c: Solid State Drive 21d: Memory LH: full load value LI: idle load value PT1, PT2: Test period P1, P3: full load running time P2, P4: idle load running time T1, T3, T5: start time of full load test phase T2, T4: Start time of idle test phase

第一圖係顯示本發明較佳實施例所提供之動態負載切換控制系統之方塊圖; 第二圖係顯示本發明較佳實施例所提供之動態負載切換控制系統之負載示意圖;以及 第三圖係顯示本發明較佳實施例所提供之動態負載切換控制方法之流程圖。 The first figure is a block diagram showing the dynamic load switching control system provided by the preferred embodiment of the present invention; The second figure is a schematic diagram showing the load of the dynamic load switching control system provided by the preferred embodiment of the present invention; and Figure 3 is a flow chart showing the dynamic load switching control method provided by the preferred embodiment of the present invention.

1:動態負載切換控制系統 1: Dynamic load switching control system

11:主控制模組 11: Main control module

111:測試腳本程式 111: Test scripts

112:運行時間設定單元 112: Running time setting unit

113:週期數量設定單元 113: Cycle number setting unit

12a:風扇負載控制模組 12a: Fan load control module

12b:中央處理器負載控制模組 12b: CPU load control module

12c:固態硬碟負載控制模組 12c: SSD Load Control Module

12d:記憶體負載控制模組 12d: Memory Load Control Module

13:顯示模組 13: Display module

14:警示模組 14: Warning module

2:伺服器 2: Server

21a:風扇 21a: Fan

21b:中央處理器 21b: CPU

21c:固態硬碟 21c: Solid State Drive

21d:記憶體 21d: Memory

Claims (10)

一種動態負載切換控制系統,係通信連結一伺服器,用以控制該伺服器中之複數個負載模組在複數個測試週期下同步性切換變更負載,並且包含: 一主控制模組,儲存有一測試腳本程式,在執行該測試腳本程式時,係在每一該些測試週期中之一滿載測試階段開始時間發送出複數個對應於該些負載模組之滿載測試信號,並在每一該些測試週期中之一閒置測試階段開始時間發送出複數個對應於該些負載模組之閒置測試信號;以及 複數個負載控制模組,係電性連接於該主控制模組,每一該些負載控制模組分別對應地電性連接於該些負載模組之一者,藉以對應地在該滿載測試階段開始時間接收該些滿載測試信號,並在該閒置測試階段開始時間接收該些閒置測試信號,每一該些負載控制模組係在接收到該些滿載測試信號中所對應之一者時,係將一滿載控制信號傳送至所對應之負載模組,使所對應之負載模組以一滿負載值運作,每一該些負載控制模組係在接收到該些閒置測試信號中所對應之一者時,係將一閒置控制信號傳送至所對應之負載模組,使所對應之負載模組切換為以一閒置負載值運作。 A dynamic load switching control system is communicatively connected to a server for controlling a plurality of load modules in the server to switch and change loads synchronously under a plurality of test cycles, and includes: A main control module stores a test script program, when executing the test script program, at the start time of a full load test phase in each of the test cycles, a plurality of full load tests corresponding to the load modules are sent out and sending a plurality of idle test signals corresponding to the load modules at the start time of an idle test phase in each of the test cycles; and A plurality of load control modules are electrically connected to the main control module, and each of the load control modules is correspondingly electrically connected to one of the load modules, so as to correspond to the full load test stage The full load test signals are received at the start time, and the idle test signals are received at the start time of the idle test phase. When each of the load control modules receives a corresponding one of the full load test signals, the Send a full-load control signal to the corresponding load module, so that the corresponding load module operates at a full-load value, each of the load control modules receives a corresponding one of the idle test signals At the time of the above, an idle control signal is sent to the corresponding load module, so that the corresponding load module is switched to operate with an idle load value. 如請求項1所述之動態負載切換控制系統,其中,該主控制模組包含一運行時間設定單元,該運行時間設定單元用以設定每一該些測試週期之一滿負載運行時間與一閒置負載運行時間。The dynamic load switching control system as claimed in claim 1, wherein the main control module comprises a running time setting unit, and the running time setting unit is used for setting a full load running time and an idle time in each of the test cycles load runtime. 如請求項2所述之動態負載切換控制系統,更包含一顯示模組,且該顯示模組係通信連結該些負載模組,用以在每一該些測試週期顯示每一該些負載模組之該滿負載值、該閒置負載值、該滿負載運行時間與該閒置負載運行時間。The dynamic load switching control system according to claim 2, further comprising a display module, and the display module is communicatively connected to the load modules for displaying each of the load modules in each of the test periods The full load value, the idle load value, the full load running time and the idle load running time of the group. 如請求項3所述之動態負載切換控制系統,更包含一警示模組,該警示模組係電性連接該顯示模組,用以在該滿載測試階段開始時間後偵測到該些負載模組中之任一者並未到達以該滿負載值運作時,產生一警示資訊。The dynamic load switching control system according to claim 3, further comprising a warning module, the warning module is electrically connected to the display module for detecting the load modes after the start time of the full load test phase A warning message is generated when any one of the groups has not reached the full load value. 如請求項1所述之動態負載切換控制系統,其中,該主控制模組包含一週期數量設定單元,該週期數量設定單元係用以設定所有該些測試週期之一週期總數量,藉以設定出每一該些負載模組之一總運行時間。The dynamic load switching control system according to claim 1, wherein the main control module comprises a cycle quantity setting unit, and the cycle quantity setting unit is used to set a total number of cycles of all the test cycles, thereby setting the The total runtime of one of each of the load modules. 如請求項1所述之動態負載切換控制系統,其中,該些負載控制模組中包含一風扇負載控制模組、一中央處理器負載控制模組、一固態硬碟負載控制模組與一記憶體負載控制模組中之至少一者。The dynamic load switching control system according to claim 1, wherein the load control modules include a fan load control module, a CPU load control module, a solid state hard disk load control module and a memory At least one of the body load control modules. 一種動態負載切換控制方法,係利用如請求項1所述之動態負載切換控制系統加以實施,並包含以下步驟: (a) 利用該主控制模組執行該測試腳本程式,並在每一該些測試週期中之該滿載測試階段開始時間發送出該些滿載測試信號,並在每一該些測試週期中之該閒置測試階段開始時間發送出該些閒置測試信號; (b) 利用該些負載控制模組在該滿載測試階段開始時間對應地接收該些滿載測試信號,在該閒置測試階段開始時間對應地接收該些閒置測試信號;以及 (c) 利用每一該些負載控制模組在該滿載測試階段開始時間將該滿載控制信號傳送至所對應之負載模組,使所對應之負載模組以該滿負載值運作,並在該閒置測試階段開始時間將該閒置控制信號傳送至所對應之負載模組,使所對應之負載模組切換為以該閒置負載值運作。 A dynamic load switching control method is implemented using the dynamic load switching control system as described in claim 1, and includes the following steps: (a) use the main control module to execute the test script program, and send the full-load test signals at the start time of the full-load test phase in each of the test cycles, and the full-load test signal in each of the test cycles The idle test signals are sent out at the start time of the idle test phase; (b) utilizing the load control modules to correspondingly receive the full load test signals at the start time of the full load test phase, and to receive the idle test signals correspondingly at the start time of the idle test phase; and (c) using each of the load control modules to transmit the full load control signal to the corresponding load module at the start time of the full load test phase, so that the corresponding load module operates at the full load value, and at the The idle test phase start time transmits the idle control signal to the corresponding load module, so that the corresponding load module is switched to operate with the idle load value. 如請求項7所述之動態負載切換控制方法,其中,該步驟(a)中,更包含以下步驟: (a1) 利用該主控制模組中之一運行時間設定單元設定每一測試週期之一滿負載運行時間與一閒置負載運行時間。 The dynamic load switching control method according to claim 7, wherein, in the step (a), the following steps are further included: (a1) Using an operation time setting unit in the main control module to set a full load operation time and an idle load operation time in each test cycle. 如請求項8所述之動態負載切換控制方法,其中,該步驟(a)中,更包含以下步驟: (a2) 利用該主控制模組中之一週期數量設定單元設定所有該些測試週期之一週期總數量,藉以設定出每一該些負載模組之一總運行時間。 The dynamic load switching control method according to claim 8, wherein in the step (a), the following steps are further included: (a2) Using a cycle number setting unit in the main control module to set a total cycle number of all the test cycles, thereby setting a total running time of each of the load modules. 如請求項9所述之動態負載切換控制方法,更包含以下步驟: (d) 利用一顯示模組在每一該些測試週期顯示每一該些負載模組之該滿負載值、該閒置負載值、該滿負載運行時間與該閒置負載運行時間。 The dynamic load switching control method as described in claim 9 further comprises the following steps: (d) using a display module to display the full load value, the idle load value, the full load running time and the idle load running time of each of the load modules in each of the test periods.
TW109137258A 2020-10-27 2020-10-27 Controlling system for switching dynamic load and method thereof TWI757932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109137258A TWI757932B (en) 2020-10-27 2020-10-27 Controlling system for switching dynamic load and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109137258A TWI757932B (en) 2020-10-27 2020-10-27 Controlling system for switching dynamic load and method thereof

Publications (2)

Publication Number Publication Date
TWI757932B true TWI757932B (en) 2022-03-11
TW202217566A TW202217566A (en) 2022-05-01

Family

ID=81710620

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109137258A TWI757932B (en) 2020-10-27 2020-10-27 Controlling system for switching dynamic load and method thereof

Country Status (1)

Country Link
TW (1) TWI757932B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040075343A1 (en) * 2002-09-05 2004-04-22 Paul Wareham System and method for power load management
US20060095164A1 (en) * 2003-06-13 2006-05-04 Donnelly Matthew K Electrical appliance energy consumption control methods and electrical energy consumption systems
US20060229768A1 (en) * 2003-06-13 2006-10-12 Chassin David P Electrical power distribution control methods, electrical energy demand monitoring methods, and power management devices
US20110138198A1 (en) * 2009-12-07 2011-06-09 International Business Machines Corporation Power management method and system
US8103563B2 (en) * 2006-06-29 2012-01-24 Carina Technology, Inc. System and method for monitoring, controlling, and displaying utility information
US20130268135A1 (en) * 2010-12-28 2013-10-10 Istituto Superiore Mario Boella Sulle Tecnologie Dell' Informazione E Delle Telecomunicazioni Method and device for managing electric energy consumption and/or production
TWI579790B (en) * 2013-09-18 2017-04-21 Zhong-Zi Wang Floating Adjustment of Energy Distribution and Controlled Energy Supply System and Its Implementation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040075343A1 (en) * 2002-09-05 2004-04-22 Paul Wareham System and method for power load management
US20060095164A1 (en) * 2003-06-13 2006-05-04 Donnelly Matthew K Electrical appliance energy consumption control methods and electrical energy consumption systems
US20060229768A1 (en) * 2003-06-13 2006-10-12 Chassin David P Electrical power distribution control methods, electrical energy demand monitoring methods, and power management devices
US8103563B2 (en) * 2006-06-29 2012-01-24 Carina Technology, Inc. System and method for monitoring, controlling, and displaying utility information
US20110138198A1 (en) * 2009-12-07 2011-06-09 International Business Machines Corporation Power management method and system
US20130268135A1 (en) * 2010-12-28 2013-10-10 Istituto Superiore Mario Boella Sulle Tecnologie Dell' Informazione E Delle Telecomunicazioni Method and device for managing electric energy consumption and/or production
TWI579790B (en) * 2013-09-18 2017-04-21 Zhong-Zi Wang Floating Adjustment of Energy Distribution and Controlled Energy Supply System and Its Implementation

Also Published As

Publication number Publication date
TW202217566A (en) 2022-05-01

Similar Documents

Publication Publication Date Title
CN102185738B (en) Communication equipment hardware host testing system and testing method
JP4763807B2 (en) Method and circuit configuration for simulating controller fault conditions
CN111063386A (en) DDR chip testing method and device
CN111930031B (en) Relay protection single board debugging system and implementation method thereof
KR20180050733A (en) System and method for systematic detection of display errors
US20120011355A1 (en) Server system
CN101738550A (en) Electronic device test device and test method
JP4722221B2 (en) Test apparatus, synchronization module, and synchronization method
CN103136081A (en) Testing device and testing method of data center server stability
WO2018188238A1 (en) Display device and testing method for display panel
TWI757932B (en) Controlling system for switching dynamic load and method thereof
US20090276615A1 (en) Servo device auto-booted upon power supply recovery and method thereof
JP2006268310A (en) Failure monitor, method, and program
CN112865996B (en) Equipment testing method and system based on simulation card and simulation card
US11457374B2 (en) Hub device with diagnostic function and diagnostic method using the same
CN110469529A (en) Server fan control system
CN112214368B (en) Dynamic load control system and method thereof
CN111459768A (en) Hard disk management method, device, equipment and machine readable storage medium
CN102819474A (en) Test method and device for system operation
CN107966975B (en) Fan control panel testing system and method
CN115792585A (en) Integrated circuit aging test method and device and readable storage medium
CN113742185A (en) Server and server debugging state monitoring method
CN113671932A (en) ECU offline testing device and method
CN106441914A (en) Display control combination testing system based on gas turbine engine application
TWI233494B (en) Backboard diagnostic system and method